@livechat/developer-studio-api 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GND2D76F.mjs → chunk-H3W6SG7M.mjs} +22 -1
- package/dist/index.d.mts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.js +22 -1
- package/dist/index.mjs +1 -1
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +1 -1
|
@@ -4051,6 +4051,25 @@ var textResourcerApi = {
|
|
|
4051
4051
|
});
|
|
4052
4052
|
});
|
|
4053
4053
|
},
|
|
4054
|
+
createResource(resource, credentialId, payload, authorization) {
|
|
4055
|
+
return __async(this, null, function* () {
|
|
4056
|
+
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4057
|
+
ensureAuthorizationToken: true
|
|
4058
|
+
}));
|
|
4059
|
+
return textClientInstance.post(urls8.getResource(resource), payload, __spreadProps(__spreadValues({}, config), {
|
|
4060
|
+
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
4061
|
+
"X-Credential-ID": credentialId
|
|
4062
|
+
})
|
|
4063
|
+
})).catch((error) => {
|
|
4064
|
+
if (error instanceof TextApiError) {
|
|
4065
|
+
throw error.withCustomMessage(
|
|
4066
|
+
`Couldn't create resourcer resource. [${error.message}]`
|
|
4067
|
+
);
|
|
4068
|
+
}
|
|
4069
|
+
throw error;
|
|
4070
|
+
});
|
|
4071
|
+
});
|
|
4072
|
+
},
|
|
4054
4073
|
listSchema(credentialId, authorization) {
|
|
4055
4074
|
return __async(this, null, function* () {
|
|
4056
4075
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
@@ -9562,7 +9581,9 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
|
|
|
9562
9581
|
const serializedState = typeof state === "string" ? state : serializerBase64.serialize(state);
|
|
9563
9582
|
const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
|
|
9564
9583
|
state: serializedState,
|
|
9565
|
-
sessionId
|
|
9584
|
+
sessionId,
|
|
9585
|
+
ds: config.ds,
|
|
9586
|
+
theme: config.theme
|
|
9566
9587
|
}, trigger), context));
|
|
9567
9588
|
const isNotFullySupportedProvider = ["shopify" /* Shopify */].includes(
|
|
9568
9589
|
name
|
package/dist/index.d.mts
CHANGED
|
@@ -3654,6 +3654,7 @@ interface TextBillingSubscriptionDto {
|
|
|
3654
3654
|
current_period_ends_at: string;
|
|
3655
3655
|
billing_profile_id?: string | null;
|
|
3656
3656
|
pending_change?: TextBillingPendingChangeDto;
|
|
3657
|
+
state: string;
|
|
3657
3658
|
}
|
|
3658
3659
|
interface TextBillingPlanDto {
|
|
3659
3660
|
plan_code: string;
|
|
@@ -3729,23 +3730,24 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
3729
3730
|
}
|
|
3730
3731
|
|
|
3731
3732
|
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'klaviyo' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3732
|
-
interface
|
|
3733
|
+
interface Resource {
|
|
3733
3734
|
provider: IntegrationNames | string;
|
|
3734
3735
|
domain?: string | null;
|
|
3735
3736
|
name: string;
|
|
3736
3737
|
}
|
|
3737
|
-
interface
|
|
3738
|
+
interface ResourceSchemaListResponse {
|
|
3738
3739
|
providers: ResourcerProvider[];
|
|
3739
3740
|
}
|
|
3740
|
-
interface
|
|
3741
|
+
interface ResourceResourceSchema {
|
|
3741
3742
|
name: string;
|
|
3742
3743
|
resource_schema: JSONSchema7;
|
|
3743
3744
|
}
|
|
3744
|
-
interface
|
|
3745
|
+
interface ResourceSchemaResponse {
|
|
3745
3746
|
provider: ResourcerProvider;
|
|
3746
|
-
resources: Record<string,
|
|
3747
|
+
resources: Record<string, ResourceResourceSchema>;
|
|
3747
3748
|
}
|
|
3748
|
-
type
|
|
3749
|
+
type ResourceRecord = Record<string, unknown>;
|
|
3750
|
+
type CreateResourcePayload = Record<string, unknown>;
|
|
3749
3751
|
|
|
3750
3752
|
interface VercelDeploy {
|
|
3751
3753
|
id: string;
|
|
@@ -3918,6 +3920,8 @@ declare enum IntegrationModes {
|
|
|
3918
3920
|
type IntegrationFlowContext = {
|
|
3919
3921
|
state: string;
|
|
3920
3922
|
sessionId: string;
|
|
3923
|
+
ds?: string;
|
|
3924
|
+
theme?: string;
|
|
3921
3925
|
} & ({
|
|
3922
3926
|
mode: IntegrationModes.Modal;
|
|
3923
3927
|
} | {
|
|
@@ -5471,9 +5475,10 @@ declare const api: {
|
|
|
5471
5475
|
}>;
|
|
5472
5476
|
};
|
|
5473
5477
|
resourcer: {
|
|
5474
|
-
getResource(resource:
|
|
5475
|
-
|
|
5476
|
-
|
|
5478
|
+
getResource(resource: Resource, credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceRecord[], any, {}, any>>;
|
|
5479
|
+
createResource(resource: Resource, credentialId: string, payload: CreateResourcePayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceRecord, any, {}, any>>;
|
|
5480
|
+
listSchema(credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceSchemaListResponse, any, {}, any>>;
|
|
5481
|
+
getSchema(provider: ResourcerProvider, credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceSchemaResponse, any, {}, any>>;
|
|
5477
5482
|
};
|
|
5478
5483
|
};
|
|
5479
5484
|
slack: {
|
|
@@ -5604,4 +5609,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5604
5609
|
|
|
5605
5610
|
declare const buildUrlFromSegments: (segments: string[], basePath: string, baseUrl?: string) => string;
|
|
5606
5611
|
|
|
5607
|
-
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type DeepPartial, type DefaultLivechatSourceProperties, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, type IncomingRichMessagePostbackLivechatWebhookData, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookBaseEvent, type LivechatWebhookChat, type LivechatWebhookCustomEvent, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookFileEvent, type LivechatWebhookFilledFormEvent, type LivechatWebhookFilledFormField, type LivechatWebhookFormEvent, type LivechatWebhookFormField, type LivechatWebhookMessageEvent, type LivechatWebhookPostbackEcommerce, type LivechatWebhookRichMessageElement, type LivechatWebhookRichMessageEvent, type LivechatWebhookRichMessagePostback, type LivechatWebhookSystemEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type ResourcerProvider, type ResourcerResource, type ResourcerResourceRecord, type ResourcerResourceSchema, type ResourcerSchemaListResponse, type ResourcerSchemaResponse, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|
|
5612
|
+
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateResourcePayload, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type DeepPartial, type DefaultLivechatSourceProperties, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, type IncomingRichMessagePostbackLivechatWebhookData, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookBaseEvent, type LivechatWebhookChat, type LivechatWebhookCustomEvent, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookFileEvent, type LivechatWebhookFilledFormEvent, type LivechatWebhookFilledFormField, type LivechatWebhookFormEvent, type LivechatWebhookFormField, type LivechatWebhookMessageEvent, type LivechatWebhookPostbackEcommerce, type LivechatWebhookRichMessageElement, type LivechatWebhookRichMessageEvent, type LivechatWebhookRichMessagePostback, type LivechatWebhookSystemEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type Resource, type ResourceRecord, type ResourceResourceSchema, type ResourceSchemaListResponse, type ResourceSchemaResponse, type ResourcerProvider, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -3654,6 +3654,7 @@ interface TextBillingSubscriptionDto {
|
|
|
3654
3654
|
current_period_ends_at: string;
|
|
3655
3655
|
billing_profile_id?: string | null;
|
|
3656
3656
|
pending_change?: TextBillingPendingChangeDto;
|
|
3657
|
+
state: string;
|
|
3657
3658
|
}
|
|
3658
3659
|
interface TextBillingPlanDto {
|
|
3659
3660
|
plan_code: string;
|
|
@@ -3729,23 +3730,24 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
3729
3730
|
}
|
|
3730
3731
|
|
|
3731
3732
|
type ResourcerProvider = 'text/chats' | 'text/customers' | 'text/tickets' | 'klaviyo' | 'mailchimp' | 'salesforce' | 'slack';
|
|
3732
|
-
interface
|
|
3733
|
+
interface Resource {
|
|
3733
3734
|
provider: IntegrationNames | string;
|
|
3734
3735
|
domain?: string | null;
|
|
3735
3736
|
name: string;
|
|
3736
3737
|
}
|
|
3737
|
-
interface
|
|
3738
|
+
interface ResourceSchemaListResponse {
|
|
3738
3739
|
providers: ResourcerProvider[];
|
|
3739
3740
|
}
|
|
3740
|
-
interface
|
|
3741
|
+
interface ResourceResourceSchema {
|
|
3741
3742
|
name: string;
|
|
3742
3743
|
resource_schema: JSONSchema7;
|
|
3743
3744
|
}
|
|
3744
|
-
interface
|
|
3745
|
+
interface ResourceSchemaResponse {
|
|
3745
3746
|
provider: ResourcerProvider;
|
|
3746
|
-
resources: Record<string,
|
|
3747
|
+
resources: Record<string, ResourceResourceSchema>;
|
|
3747
3748
|
}
|
|
3748
|
-
type
|
|
3749
|
+
type ResourceRecord = Record<string, unknown>;
|
|
3750
|
+
type CreateResourcePayload = Record<string, unknown>;
|
|
3749
3751
|
|
|
3750
3752
|
interface VercelDeploy {
|
|
3751
3753
|
id: string;
|
|
@@ -3918,6 +3920,8 @@ declare enum IntegrationModes {
|
|
|
3918
3920
|
type IntegrationFlowContext = {
|
|
3919
3921
|
state: string;
|
|
3920
3922
|
sessionId: string;
|
|
3923
|
+
ds?: string;
|
|
3924
|
+
theme?: string;
|
|
3921
3925
|
} & ({
|
|
3922
3926
|
mode: IntegrationModes.Modal;
|
|
3923
3927
|
} | {
|
|
@@ -5471,9 +5475,10 @@ declare const api: {
|
|
|
5471
5475
|
}>;
|
|
5472
5476
|
};
|
|
5473
5477
|
resourcer: {
|
|
5474
|
-
getResource(resource:
|
|
5475
|
-
|
|
5476
|
-
|
|
5478
|
+
getResource(resource: Resource, credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceRecord[], any, {}, any>>;
|
|
5479
|
+
createResource(resource: Resource, credentialId: string, payload: CreateResourcePayload, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceRecord, any, {}, any>>;
|
|
5480
|
+
listSchema(credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceSchemaListResponse, any, {}, any>>;
|
|
5481
|
+
getSchema(provider: ResourcerProvider, credentialId: string, authorization?: TextClientAuthorization): Promise<axios.AxiosResponse<ResourceSchemaResponse, any, {}, any>>;
|
|
5477
5482
|
};
|
|
5478
5483
|
};
|
|
5479
5484
|
slack: {
|
|
@@ -5604,4 +5609,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5604
5609
|
|
|
5605
5610
|
declare const buildUrlFromSegments: (segments: string[], basePath: string, baseUrl?: string) => string;
|
|
5606
5611
|
|
|
5607
|
-
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type DeepPartial, type DefaultLivechatSourceProperties, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, type IncomingRichMessagePostbackLivechatWebhookData, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookBaseEvent, type LivechatWebhookChat, type LivechatWebhookCustomEvent, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookFileEvent, type LivechatWebhookFilledFormEvent, type LivechatWebhookFilledFormField, type LivechatWebhookFormEvent, type LivechatWebhookFormField, type LivechatWebhookMessageEvent, type LivechatWebhookPostbackEcommerce, type LivechatWebhookRichMessageElement, type LivechatWebhookRichMessageEvent, type LivechatWebhookRichMessagePostback, type LivechatWebhookSystemEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type ResourcerProvider, type ResourcerResource, type ResourcerResourceRecord, type ResourcerResourceSchema, type ResourcerSchemaListResponse, type ResourcerSchemaResponse, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|
|
5612
|
+
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateResourcePayload, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type DeepPartial, type DefaultLivechatSourceProperties, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, type IncomingRichMessagePostbackLivechatWebhookData, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookBaseEvent, type LivechatWebhookChat, type LivechatWebhookCustomEvent, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookFileEvent, type LivechatWebhookFilledFormEvent, type LivechatWebhookFilledFormField, type LivechatWebhookFormEvent, type LivechatWebhookFormField, type LivechatWebhookMessageEvent, type LivechatWebhookPostbackEcommerce, type LivechatWebhookRichMessageElement, type LivechatWebhookRichMessageEvent, type LivechatWebhookRichMessagePostback, type LivechatWebhookSystemEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type Resource, type ResourceRecord, type ResourceResourceSchema, type ResourceSchemaListResponse, type ResourceSchemaResponse, type ResourcerProvider, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -1303,7 +1303,9 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
|
|
|
1303
1303
|
const serializedState = typeof state === "string" ? state : serializerBase64.serialize(state);
|
|
1304
1304
|
const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
|
|
1305
1305
|
state: serializedState,
|
|
1306
|
-
sessionId
|
|
1306
|
+
sessionId,
|
|
1307
|
+
ds: config.ds,
|
|
1308
|
+
theme: config.theme
|
|
1307
1309
|
}, trigger), context));
|
|
1308
1310
|
const isNotFullySupportedProvider = ["shopify" /* Shopify */].includes(
|
|
1309
1311
|
name
|
|
@@ -5220,6 +5222,25 @@ var textResourcerApi = {
|
|
|
5220
5222
|
});
|
|
5221
5223
|
});
|
|
5222
5224
|
},
|
|
5225
|
+
createResource(resource, credentialId, payload, authorization) {
|
|
5226
|
+
return __async(this, null, function* () {
|
|
5227
|
+
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
5228
|
+
ensureAuthorizationToken: true
|
|
5229
|
+
}));
|
|
5230
|
+
return textClientInstance.post(urls8.getResource(resource), payload, __spreadProps(__spreadValues({}, config), {
|
|
5231
|
+
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
5232
|
+
"X-Credential-ID": credentialId
|
|
5233
|
+
})
|
|
5234
|
+
})).catch((error) => {
|
|
5235
|
+
if (error instanceof TextApiError) {
|
|
5236
|
+
throw error.withCustomMessage(
|
|
5237
|
+
`Couldn't create resourcer resource. [${error.message}]`
|
|
5238
|
+
);
|
|
5239
|
+
}
|
|
5240
|
+
throw error;
|
|
5241
|
+
});
|
|
5242
|
+
});
|
|
5243
|
+
},
|
|
5223
5244
|
listSchema(credentialId, authorization) {
|
|
5224
5245
|
return __async(this, null, function* () {
|
|
5225
5246
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
package/dist/index.mjs
CHANGED