integrations/review/appstore/dist¶
Interfaces¶
AppStoreAppAttributes¶
Indexable¶
Properties¶
bundleId?¶
name?¶
primaryLocale?¶
sku?¶
AppStoreCredentialStatusInput¶
Properties¶
appId?¶
expiresAt?¶
issuerId?¶
keyId?¶
privateKeyConfigured?¶
responsePolicyConfigured?¶
AppStoreCustomerReviewAttributes¶
Indexable¶
Properties¶
appVersionString?¶
body?¶
createdDate?¶
rating?¶
reviewerNickname?¶
territory?¶
title?¶
AppStoreCustomerReviewRelationships¶
Indexable¶
Properties¶
response?¶
optional response?: {
data?: AppStoreRelationshipData<"customerReviewResponses">;
links?: AppStoreRelationshipLinks;
};
data?¶
links?¶
AppStoreCustomerReviewResponseAttributes¶
Indexable¶
Properties¶
lastModifiedDate?¶
responseBody?¶
state?¶
AppStoreCustomerReviewResponseRelationships¶
Indexable¶
Properties¶
review?¶
optional review?: {
data?: AppStoreRelationshipData<"customerReviews">;
links?: AppStoreRelationshipLinks;
};
data?¶
links?¶
AppStoreJsonApiResource¶
Type Parameters¶
| Type Parameter | Default type |
|---|---|
TType extends string |
string |
TAttributes extends object |
AppStoreReviewsJsonObject |
TRelationships extends object |
AppStoreReviewsJsonObject |
Properties¶
attributes?¶
id¶
links?¶
Type Declaration¶
self?¶
relationships?¶
type¶
AppStoreJwtOptions¶
Properties¶
audience?¶
issuerId¶
jti?¶
keyId¶
now?¶
Returns¶
number
privateKey¶
ttlSeconds?¶
AppStoreListReviewsInput¶
Properties¶
cursor?¶
fields?¶
filter?¶
include?¶
limit?¶
sort?¶
AppStoreLiveCheckOptions¶
Extends¶
Properties¶
accessToken?¶
Inherited from¶
AppStoreReviewsClientOptions.accessToken
appId¶
Inherited from¶
AppStoreReviewsClientOptions.appId
baseUrl?¶
Inherited from¶
AppStoreReviewsClientOptions.baseUrl
client?¶
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
Inherited from¶
AppStoreReviewsClientOptions.fetch
getJwt?¶
Returns¶
string | Promise\<string>
Inherited from¶
AppStoreReviewsClientOptions.getJwt
issuerId?¶
Inherited from¶
AppStoreReviewsClientOptions.issuerId
keyId?¶
Inherited from¶
AppStoreReviewsClientOptions.keyId
privateKey?¶
Inherited from¶
AppStoreReviewsClientOptions.privateKey
providerClient?¶
Inherited from¶
AppStoreReviewsClientOptions.providerClient
retry?¶
Inherited from¶
AppStoreReviewsClientOptions.retry
sdkClient?¶
Inherited from¶
AppStoreReviewsClientOptions.sdkClient
signal?¶
Inherited from¶
AppStoreReviewsClientOptions.signal
timeoutMs?¶
Inherited from¶
AppStoreReviewsClientOptions.timeoutMs
AppStorePagedDocumentLinks¶
Properties¶
first?¶
next?¶
self?¶
AppStoreRawRequestInput¶
Properties¶
body?¶
method¶
path¶
query?¶
AppStoreRelationshipData¶
Type Parameters¶
| Type Parameter | Default type |
|---|---|
TType extends string |
string |
Properties¶
id¶
type¶
AppStoreRelationshipLinks¶
Properties¶
related?¶
self?¶
AppStoreResourceDocument¶
Type Parameters¶
| Type Parameter | Default type |
|---|---|
TData extends AppStoreReviewsProviderExtensionValue |
| AppStoreJsonApiResource | AppStoreJsonApiResource[] | undefined |
TIncluded extends AppStoreReviewsProviderExtensionValue |
AppStoreJsonApiResource |
Indexable¶
Properties¶
data?¶
included?¶
links?¶
meta?¶
AppStoreReviewResponseInput¶
Properties¶
responseBody¶
reviewId¶
AppStoreReviewsClient¶
Extends¶
Properties¶
providerClient¶
Methods¶
createOrUpdateReviewResponse()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
AppStoreReviewResponseInput |
Returns¶
Promise\<AppStoreCustomerReviewResponseDocument>
Inherited from¶
AppStoreReviewsProviderClient.createOrUpdateReviewResponse
deleteReviewResponse()¶
Parameters¶
| Parameter | Type |
|---|---|
responseId |
string |
Returns¶
Promise\<void>
Inherited from¶
AppStoreReviewsProviderClient.deleteReviewResponse
getApp()¶
Returns¶
Promise\<AppStoreAppResponse>
Inherited from¶
AppStoreReviewsProviderClient.getApp
getReview()¶
Parameters¶
| Parameter | Type |
|---|---|
reviewId |
string |
input? |
Pick\<AppStoreListReviewsInput, "include" | "fields"> |
Returns¶
Promise\<AppStoreReviewResponse>
Inherited from¶
AppStoreReviewsProviderClient.getReview
listReviews()¶
Parameters¶
| Parameter | Type |
|---|---|
input? |
AppStoreListReviewsInput |
Returns¶
Promise\<AppStoreReviewsListResponse>
Inherited from¶
AppStoreReviewsProviderClient.listReviews
listReviewsPage()¶
Parameters¶
| Parameter | Type |
|---|---|
pageUrl |
string |
Returns¶
Promise\<AppStoreReviewsListResponse>
Inherited from¶
AppStoreReviewsProviderClient.listReviewsPage
AppStoreReviewsClientOptions¶
Extended by¶
Properties¶
accessToken?¶
appId¶
baseUrl?¶
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
getJwt?¶
Returns¶
string | Promise\<string>
issuerId?¶
keyId?¶
privateKey?¶
providerClient?¶
retry?¶
sdkClient?¶
signal?¶
timeoutMs?¶
AppStoreReviewsJsonObject¶
Indexable¶
AppStoreReviewsProviderClient¶
Extended by¶
Methods¶
createOrUpdateReviewResponse()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
AppStoreReviewResponseInput |
Returns¶
Promise\<AppStoreCustomerReviewResponseDocument>
deleteReviewResponse()¶
Parameters¶
| Parameter | Type |
|---|---|
responseId |
string |
Returns¶
Promise\<void>
getApp()¶
Returns¶
Promise\<AppStoreAppResponse>
getReview()¶
Parameters¶
| Parameter | Type |
|---|---|
reviewId |
string |
input? |
Pick\<AppStoreListReviewsInput, "include" | "fields"> |
Returns¶
Promise\<AppStoreReviewResponse>
listReviews()¶
Parameters¶
| Parameter | Type |
|---|---|
input? |
AppStoreListReviewsInput |
Returns¶
Promise\<AppStoreReviewsListResponse>
listReviewsPage()¶
Parameters¶
| Parameter | Type |
|---|---|
pageUrl |
string |
Returns¶
Promise\<AppStoreReviewsListResponse>
Type Aliases¶
AppStoreAppResource¶
AppStoreAppResponse¶
AppStoreCustomerReviewResource¶
type AppStoreCustomerReviewResource = AppStoreJsonApiResource<"customerReviews", AppStoreCustomerReviewAttributes, AppStoreCustomerReviewRelationships>;
AppStoreCustomerReviewResponseDocument¶
type AppStoreCustomerReviewResponseDocument = AppStoreResourceDocument<AppStoreCustomerReviewResponseResource>;
AppStoreCustomerReviewResponseResource¶
type AppStoreCustomerReviewResponseResource = AppStoreJsonApiResource<"customerReviewResponses", AppStoreCustomerReviewResponseAttributes, AppStoreCustomerReviewResponseRelationships>;
AppStoreHttpMethod¶
AppStoreReviewFieldResource¶
type AppStoreReviewFieldResource =
| "apps"
| "customerReviews"
| "customerReviewResponses"
| string & {
};
AppStoreReviewFilter¶
AppStoreReviewInclude¶
AppStoreReviewResponse¶
type AppStoreReviewResponse = AppStoreResourceDocument<AppStoreCustomerReviewResource, AppStoreCustomerReviewResponseResource>;
AppStoreReviewsJsonPrimitive¶
AppStoreReviewsJsonValue¶
type AppStoreReviewsJsonValue =
| AppStoreReviewsJsonPrimitive
| AppStoreReviewsJsonObject
| readonly AppStoreReviewsJsonValue[];
AppStoreReviewsListResponse¶
type AppStoreReviewsListResponse = AppStoreResourceDocument<AppStoreCustomerReviewResource[], AppStoreCustomerReviewResponseResource>;
AppStoreReviewsProviderExtensionValue¶
AppStoreReviewsProviderPayload¶
AppStoreReviewsProviderQuery¶
Variables¶
appStoreReviewOperations¶
appStoreReviewsIntegration¶
const appStoreReviewsIntegration: {
bindingReport: {
extraHandlerAliases: never[];
invalidExtensionOperationAliases: never[];
missingHandlerAliases: string[];
};
manifest: {
capabilities: {
audiences?: ("customer-facing" | "mixed" | "internal-support")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
label?: string;
metadata?: Record<string, unknown>;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<string, unknown>;
schemaName?: string;
}[];
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
category: string;
channelAudiences: ("customer-facing" | "mixed" | "internal-support")[];
coverage: {
evidence: {
label: string;
url?: string;
}[];
notes: string[];
scope: | "support-workflow-subset"
| "provider-api-subset"
| "connector-required"
| "local-protocol"
| "full-provider-api";
};
credentialRequirements: {
description?: string;
id: string;
label?: string;
metadata?: Record<string, unknown>;
required: boolean;
scopes: string[];
}[];
directions: (
| "receive-only"
| "send-only"
| "bidirectional"
| "inbound-only"
| "outbound-only")[];
id: string;
limitations: string[];
maintainers: {
name: string;
type: "official" | "community" | "unknown" | "partner";
url?: string;
}[];
metadata?: Record<string, unknown>;
name: string;
operations: {
alias: string;
audience?: "customer-facing" | "mixed" | "internal-support";
audiences?: ("customer-facing" | "mixed" | "internal-support")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension: boolean;
externallyVisible?: boolean;
inputSchema?: unknown;
inputSchemaName?: string;
inputSchemaRef?: string;
label?: string;
metadata?: Record<string, unknown>;
outputSchema?: unknown;
outputSchemaName?: string;
outputSchemaRef?: string;
providerObject?: string;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<string, unknown>;
schemaName?: string;
}[];
providerOperation?: string;
requiredPolicyIds?: string[];
requiresApproval?: boolean;
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
packageName: string;
privacyNotes: string[];
provider: string;
trustLevel: "official" | "community" | "verified" | "experimental";
} & {
capabilities: {
audiences?: ("customer-facing" | "mixed" | "internal-support")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
label?: string;
metadata?: Record<string, unknown>;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<string, unknown>;
schemaName?: string;
}[];
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
category: string;
channelAudiences?: ("customer-facing" | "mixed" | "internal-support")[];
coverage?: {
evidence?: {
label: string;
url?: string;
}[];
notes?: string[];
scope?: | "support-workflow-subset"
| "provider-api-subset"
| "connector-required"
| "local-protocol"
| "full-provider-api";
};
credentialRequirements?: {
description?: string;
id: string;
label?: string;
metadata?: Record<string, unknown>;
required?: boolean;
scopes?: string[];
}[];
directions: (
| "receive-only"
| "send-only"
| "bidirectional"
| "inbound-only"
| "outbound-only")[];
id: string;
limitations?: string[];
maintainers?: {
name: string;
type?: "official" | "community" | "unknown" | "partner";
url?: string;
}[];
metadata?: Record<string, unknown>;
name: string;
operations?: {
alias: string;
audience?: "customer-facing" | "mixed" | "internal-support";
audiences?: ("customer-facing" | "mixed" | "internal-support")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
externallyVisible?: boolean;
inputSchema?: unknown;
inputSchemaName?: string;
inputSchemaRef?: string;
label?: string;
metadata?: Record<string, unknown>;
outputSchema?: unknown;
outputSchemaName?: string;
outputSchemaRef?: string;
providerObject?: string;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<..., ...>;
schemaName?: string;
}[];
providerOperation?: string;
requiredPolicyIds?: string[];
requiresApproval?: boolean;
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
packageName: string;
privacyNotes?: string[];
provider: string;
trustLevel?: "official" | "community" | "verified" | "experimental";
};
operationAliases: never[];
operations: {
};
};
Type Declaration¶
Functions¶
applyListQuery()¶
Parameters¶
| Parameter | Type |
|---|---|
url |
URL |
input |
| AppStoreListReviewsInput | Pick\<AppStoreListReviewsInput, "fields" | "include"> |
Returns¶
void
appStoreOperationUrl()¶
Parameters¶
| Parameter | Type |
|---|---|
apiBaseUrl |
string |
path |
string |
pathParams? |
Record\<string, string | number | boolean | undefined> |
query? |
AppStoreReviewsProviderQuery |
Returns¶
string
appStoreReviewsCredentialStatuses()¶
function appStoreReviewsCredentialStatuses(input): {
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[];
Parameters¶
| Parameter | Type |
|---|---|
input |
AppStoreCredentialStatusInput |
Returns¶
{
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[]
createAppStoreConnectJwt()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AppStoreJwtOptions |
Returns¶
string
createAppStoreConnectRestProviderClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
Omit\<AppStoreReviewsClientOptions, "providerClient"> |
Returns¶
createAppStoreReviewsClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
AppStoreReviewsClientOptions |
Returns¶
createAppStoreReviewsIntegration()¶
function createAppStoreReviewsIntegration(options): DefinedIntegration<{
capabilities: {
audiences?: ("customer-facing" | "internal-support" | "mixed")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
label?: string;
metadata?: Record<string, unknown>;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<string, unknown>;
schemaName?: string;
}[];
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
category: string;
channelAudiences?: ("customer-facing" | "internal-support" | "mixed")[];
coverage?: {
evidence?: {
label: string;
url?: string;
}[];
notes?: string[];
scope?: | "support-workflow-subset"
| "provider-api-subset"
| "connector-required"
| "local-protocol"
| "full-provider-api";
};
credentialRequirements?: {
description?: string;
id: string;
label?: string;
metadata?: Record<string, unknown>;
required?: boolean;
scopes?: string[];
}[];
directions: (
| "receive-only"
| "send-only"
| "inbound-only"
| "outbound-only"
| "bidirectional")[];
id: string;
limitations?: string[];
maintainers?: {
name: string;
type?: "community" | "official" | "unknown" | "partner";
url?: string;
}[];
metadata?: Record<string, unknown>;
name: string;
operations?: {
alias: string;
audience?: "customer-facing" | "internal-support" | "mixed";
audiences?: ("customer-facing" | "internal-support" | "mixed")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
externallyVisible?: boolean;
inputSchema?: unknown;
inputSchemaName?: string;
inputSchemaRef?: string;
label?: string;
metadata?: Record<string, unknown>;
outputSchema?: unknown;
outputSchemaName?: string;
outputSchemaRef?: string;
providerObject?: string;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record<string, unknown>;
schemaName?: string;
}[];
providerOperation?: string;
requiredPolicyIds?: string[];
requiresApproval?: boolean;
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
packageName: string;
privacyNotes?: string[];
provider: string;
trustLevel?: "community" | "official" | "verified" | "experimental";
}, unknown, {
appstore.reviewResponses.createOrUpdate: (input) => Promise<AppStoreCustomerReviewResponseDocument>;
appstore.reviewResponses.delete: (input) => Promise<void>;
appstore.reviews.get: (input) => Promise<AppStoreReviewResponse>;
appstore.reviews.list: (input) => Promise<AppStoreReviewsListResponse>;
appstore.reviews.page: (input) => Promise<AppStoreReviewsListResponse>;
}>;
Parameters¶
| Parameter | Type |
|---|---|
options |
AppStoreReviewsClientOptions |
Returns¶
DefinedIntegration\<{
capabilities: {
audiences?: ("customer-facing" | "internal-support" | "mixed")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
label?: string;
metadata?: Record\<string, unknown>;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record\<string, unknown>;
schemaName?: string;
}[];
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
category: string;
channelAudiences?: ("customer-facing" | "internal-support" | "mixed")[];
coverage?: {
evidence?: {
label: string;
url?: string;
}[];
notes?: string[];
scope?: | "support-workflow-subset"
| "provider-api-subset"
| "connector-required"
| "local-protocol"
| "full-provider-api";
};
credentialRequirements?: {
description?: string;
id: string;
label?: string;
metadata?: Record\<string, unknown>;
required?: boolean;
scopes?: string[];
}[];
directions: (
| "receive-only"
| "send-only"
| "inbound-only"
| "outbound-only"
| "bidirectional")[];
id: string;
limitations?: string[];
maintainers?: {
name: string;
type?: "community" | "official" | "unknown" | "partner";
url?: string;
}[];
metadata?: Record\<string, unknown>;
name: string;
operations?: {
alias: string;
audience?: "customer-facing" | "internal-support" | "mixed";
audiences?: ("customer-facing" | "internal-support" | "mixed")[];
capability: string;
changesWorkflow?: boolean;
description?: string;
exposesSensitiveData?: boolean;
extension?: boolean;
externallyVisible?: boolean;
inputSchema?: unknown;
inputSchemaName?: string;
inputSchemaRef?: string;
label?: string;
metadata?: Record\<string, unknown>;
outputSchema?: unknown;
outputSchemaName?: string;
outputSchemaRef?: string;
providerObject?: string;
providerObjects?: {
description?: string;
kind: string;
label?: string;
metadata?: Record\<string, unknown>;
schemaName?: string;
}[];
providerOperation?: string;
requiredPolicyIds?: string[];
requiresApproval?: boolean;
requiresCredential?: boolean;
sideEffect?: boolean;
}[];
packageName: string;
privacyNotes?: string[];
provider: string;
trustLevel?: "community" | "official" | "verified" | "experimental";
}, unknown, {
appstore.reviewResponses.createOrUpdate: (input) => Promise\<AppStoreCustomerReviewResponseDocument>;
appstore.reviewResponses.delete: (input) => Promise\<void>;
appstore.reviews.get: (input) => Promise\<AppStoreReviewResponse>;
appstore.reviews.list: (input) => Promise\<AppStoreReviewsListResponse>;
appstore.reviews.page: (input) => Promise\<AppStoreReviewsListResponse>;
}>
createAppStoreReviewsLiveChecks()¶
function createAppStoreReviewsLiveChecks(options): {
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise<{
details: {
bundleId: string;
id: string;
name: string;
};
}>;
}[];
Parameters¶
| Parameter | Type |
|---|---|
options |
AppStoreLiveCheckOptions |
Returns¶
{
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise\<{
details: {
bundleId: string;
id: string;
name: string;
};
}>;
}[]
createAppStoreReviewsOperationHandlers()¶
function createAppStoreReviewsOperationHandlers(options): {
appstore.reviewResponses.createOrUpdate: (input) => Promise<AppStoreCustomerReviewResponseDocument>;
appstore.reviewResponses.delete: (input) => Promise<void>;
appstore.reviews.get: (input) => Promise<AppStoreReviewResponse>;
appstore.reviews.list: (input) => Promise<AppStoreReviewsListResponse>;
appstore.reviews.page: (input) => Promise<AppStoreReviewsListResponse>;
};
Parameters¶
| Parameter | Type |
|---|---|
options |
AppStoreReviewsClientOptions |
Returns¶
{
appstore.reviewResponses.createOrUpdate: (input) => Promise<AppStoreCustomerReviewResponseDocument>;
appstore.reviewResponses.delete: (input) => Promise<void>;
appstore.reviews.get: (input) => Promise<AppStoreReviewResponse>;
appstore.reviews.list: (input) => Promise<AppStoreReviewsListResponse>;
appstore.reviews.page: (input) => Promise<AppStoreReviewsListResponse>;
}
| Name | Type |
|---|---|
appstore.reviewResponses.createOrUpdate() |
(input) => Promise\<AppStoreCustomerReviewResponseDocument> |
appstore.reviewResponses.delete() |
(input) => Promise\<void> |
appstore.reviews.get() |
(input) => Promise\<AppStoreReviewResponse> |
appstore.reviews.list() |
(input) => Promise\<AppStoreReviewsListResponse> |
appstore.reviews.page() |
(input) => Promise\<AppStoreReviewsListResponse> |
createUnconfiguredAppStoreProviderClient()¶
Returns¶
normalizeAppStoreReviewsPageUrl()¶
Parameters¶
| Parameter | Type |
|---|---|
pageUrl |
string |
apiBaseUrl |
string |
appId |
string |
Returns¶
string
References¶
appStoreConnectReviewedOperationAllowlist¶
Re-exports appStoreConnectReviewedOperationAllowlist
appStoreReviewsProviderManifest¶
Re-exports appStoreReviewsProviderManifest
appStoreReviewsProviderManifestInput¶
Re-exports appStoreReviewsProviderManifestInput