@livechat/developer-studio-api 3.1.61 → 3.1.63
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/index.d.mts +54 -1
- package/dist/index.d.ts +54 -1
- package/dist/index.js +274 -165
- package/dist/index.mjs +274 -165
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -5793,6 +5793,49 @@ type ThreadUntaggedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWeb
|
|
|
5793
5793
|
}>;
|
|
5794
5794
|
type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ThreadTaggedLivechatWebhookData | ThreadUntaggedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
|
|
5795
5795
|
|
|
5796
|
+
type LivechatBotDefaultGroupPriority = "first" | "normal" | "last" | "supervisor";
|
|
5797
|
+
interface CreateLivechatBotTemplateDto {
|
|
5798
|
+
name: string;
|
|
5799
|
+
avatar?: string;
|
|
5800
|
+
max_chats_count?: number;
|
|
5801
|
+
default_group_priority?: LivechatBotDefaultGroupPriority;
|
|
5802
|
+
job_title?: string;
|
|
5803
|
+
owner_client_id: string;
|
|
5804
|
+
affect_existing_installations?: boolean;
|
|
5805
|
+
}
|
|
5806
|
+
interface UpdateLivechatBotTemplateDto {
|
|
5807
|
+
id: string;
|
|
5808
|
+
name?: string;
|
|
5809
|
+
avatar?: string;
|
|
5810
|
+
max_chats_count?: number;
|
|
5811
|
+
default_group_priority?: LivechatBotDefaultGroupPriority;
|
|
5812
|
+
job_title?: string;
|
|
5813
|
+
owner_client_id: string;
|
|
5814
|
+
affect_existing_installations?: boolean;
|
|
5815
|
+
}
|
|
5816
|
+
interface DeleteLivechatBotTemplateDto {
|
|
5817
|
+
id: string;
|
|
5818
|
+
owner_client_id: string;
|
|
5819
|
+
affect_existing_installations?: boolean;
|
|
5820
|
+
}
|
|
5821
|
+
interface ResetLivechatBotTemplateSecretDto {
|
|
5822
|
+
id: string;
|
|
5823
|
+
owner_client_id: string;
|
|
5824
|
+
affect_existing_installations?: boolean;
|
|
5825
|
+
}
|
|
5826
|
+
interface CreateLivechatBotTemplateResponse {
|
|
5827
|
+
id: string;
|
|
5828
|
+
secret: string;
|
|
5829
|
+
}
|
|
5830
|
+
interface LivechatBotTemplate {
|
|
5831
|
+
id: string;
|
|
5832
|
+
avatar: string;
|
|
5833
|
+
name: string;
|
|
5834
|
+
default_group_priority: LivechatBotDefaultGroupPriority;
|
|
5835
|
+
job_title: string;
|
|
5836
|
+
max_chats_count: number;
|
|
5837
|
+
}
|
|
5838
|
+
|
|
5796
5839
|
type LiveChatConfigurationApiError = {
|
|
5797
5840
|
type: string;
|
|
5798
5841
|
message: string;
|
|
@@ -6405,6 +6448,16 @@ declare const api: {
|
|
|
6405
6448
|
agents: {
|
|
6406
6449
|
getAgents(authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[], any>>;
|
|
6407
6450
|
};
|
|
6451
|
+
bots: {
|
|
6452
|
+
createBotTemplate(bot: CreateLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
6453
|
+
getBotTemplates(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatBotTemplate[], any>>;
|
|
6454
|
+
updateBotTemplate(bot: UpdateLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
6455
|
+
deleteBotTemplate(bot: DeleteLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
6456
|
+
resetBotTemplateSecret(bot: ResetLivechatBotTemplateSecretDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<{
|
|
6457
|
+
secret: string;
|
|
6458
|
+
id: string;
|
|
6459
|
+
}, any>>;
|
|
6460
|
+
};
|
|
6408
6461
|
property: {
|
|
6409
6462
|
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto, any>>;
|
|
6410
6463
|
registerProperty(property: Property, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
@@ -6865,4 +6918,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
6865
6918
|
};
|
|
6866
6919
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
6867
6920
|
|
|
6868
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
|
6921
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -5793,6 +5793,49 @@ type ThreadUntaggedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWeb
|
|
|
5793
5793
|
}>;
|
|
5794
5794
|
type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ThreadTaggedLivechatWebhookData | ThreadUntaggedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
|
|
5795
5795
|
|
|
5796
|
+
type LivechatBotDefaultGroupPriority = "first" | "normal" | "last" | "supervisor";
|
|
5797
|
+
interface CreateLivechatBotTemplateDto {
|
|
5798
|
+
name: string;
|
|
5799
|
+
avatar?: string;
|
|
5800
|
+
max_chats_count?: number;
|
|
5801
|
+
default_group_priority?: LivechatBotDefaultGroupPriority;
|
|
5802
|
+
job_title?: string;
|
|
5803
|
+
owner_client_id: string;
|
|
5804
|
+
affect_existing_installations?: boolean;
|
|
5805
|
+
}
|
|
5806
|
+
interface UpdateLivechatBotTemplateDto {
|
|
5807
|
+
id: string;
|
|
5808
|
+
name?: string;
|
|
5809
|
+
avatar?: string;
|
|
5810
|
+
max_chats_count?: number;
|
|
5811
|
+
default_group_priority?: LivechatBotDefaultGroupPriority;
|
|
5812
|
+
job_title?: string;
|
|
5813
|
+
owner_client_id: string;
|
|
5814
|
+
affect_existing_installations?: boolean;
|
|
5815
|
+
}
|
|
5816
|
+
interface DeleteLivechatBotTemplateDto {
|
|
5817
|
+
id: string;
|
|
5818
|
+
owner_client_id: string;
|
|
5819
|
+
affect_existing_installations?: boolean;
|
|
5820
|
+
}
|
|
5821
|
+
interface ResetLivechatBotTemplateSecretDto {
|
|
5822
|
+
id: string;
|
|
5823
|
+
owner_client_id: string;
|
|
5824
|
+
affect_existing_installations?: boolean;
|
|
5825
|
+
}
|
|
5826
|
+
interface CreateLivechatBotTemplateResponse {
|
|
5827
|
+
id: string;
|
|
5828
|
+
secret: string;
|
|
5829
|
+
}
|
|
5830
|
+
interface LivechatBotTemplate {
|
|
5831
|
+
id: string;
|
|
5832
|
+
avatar: string;
|
|
5833
|
+
name: string;
|
|
5834
|
+
default_group_priority: LivechatBotDefaultGroupPriority;
|
|
5835
|
+
job_title: string;
|
|
5836
|
+
max_chats_count: number;
|
|
5837
|
+
}
|
|
5838
|
+
|
|
5796
5839
|
type LiveChatConfigurationApiError = {
|
|
5797
5840
|
type: string;
|
|
5798
5841
|
message: string;
|
|
@@ -6405,6 +6448,16 @@ declare const api: {
|
|
|
6405
6448
|
agents: {
|
|
6406
6449
|
getAgents(authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[], any>>;
|
|
6407
6450
|
};
|
|
6451
|
+
bots: {
|
|
6452
|
+
createBotTemplate(bot: CreateLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
6453
|
+
getBotTemplates(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatBotTemplate[], any>>;
|
|
6454
|
+
updateBotTemplate(bot: UpdateLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<CreateLivechatBotTemplateResponse, any>>;
|
|
6455
|
+
deleteBotTemplate(bot: DeleteLivechatBotTemplateDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
6456
|
+
resetBotTemplateSecret(bot: ResetLivechatBotTemplateSecretDto, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<{
|
|
6457
|
+
secret: string;
|
|
6458
|
+
id: string;
|
|
6459
|
+
}, any>>;
|
|
6460
|
+
};
|
|
6408
6461
|
property: {
|
|
6409
6462
|
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto, any>>;
|
|
6410
6463
|
registerProperty(property: Property, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
@@ -6865,4 +6918,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
6865
6918
|
};
|
|
6866
6919
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
6867
6920
|
|
|
6868
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
|
6921
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -4787,6 +4787,169 @@ var livechatAgentsApi = {
|
|
|
4787
4787
|
}
|
|
4788
4788
|
};
|
|
4789
4789
|
|
|
4790
|
+
// src/constants/app/templates/repository.ts
|
|
4791
|
+
var appRepositoryTemplatesMap = {
|
|
4792
|
+
"livechat/developer-app-template-nextjs": "nextjs",
|
|
4793
|
+
"livechat/developer-app-template-vite": "vite",
|
|
4794
|
+
"livechat/developer-app-template-saas": "saas"
|
|
4795
|
+
};
|
|
4796
|
+
var appRepositoryTemplates = {
|
|
4797
|
+
nextjs: {
|
|
4798
|
+
id: "nextjs",
|
|
4799
|
+
description: "Uses the most popular and versatile features from our SDKs:",
|
|
4800
|
+
tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
|
|
4801
|
+
name: "Fullstack Next.js template",
|
|
4802
|
+
repository: {
|
|
4803
|
+
name: "livechat/developer-app-template-nextjs",
|
|
4804
|
+
target: "nextjs"
|
|
4805
|
+
}
|
|
4806
|
+
},
|
|
4807
|
+
vite: {
|
|
4808
|
+
id: "vite",
|
|
4809
|
+
name: "Vite template",
|
|
4810
|
+
description: "Implements the same base functionalities as the Next.js template except for webhooks:",
|
|
4811
|
+
tags: ["Auth", "Agent App SDK", "Moments"],
|
|
4812
|
+
repository: {
|
|
4813
|
+
name: "livechat/developer-app-template-vite",
|
|
4814
|
+
target: "browser"
|
|
4815
|
+
}
|
|
4816
|
+
},
|
|
4817
|
+
saas: {
|
|
4818
|
+
id: "saas",
|
|
4819
|
+
name: "Nextjs SaaS boilerplate",
|
|
4820
|
+
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
4821
|
+
tags: [],
|
|
4822
|
+
repository: {
|
|
4823
|
+
name: "livechat/developer-app-template-saas",
|
|
4824
|
+
target: "nextjs"
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
};
|
|
4828
|
+
|
|
4829
|
+
// src/constants/app/templates/app.ts
|
|
4830
|
+
var appTemplatesMap = {
|
|
4831
|
+
"livechat/developer-app-template-saas": "saas"
|
|
4832
|
+
};
|
|
4833
|
+
var appBaseTemplates = {
|
|
4834
|
+
"tag-master": {
|
|
4835
|
+
id: "tag-master",
|
|
4836
|
+
name: "Tag Master",
|
|
4837
|
+
category: { name: "Agent App Widget" },
|
|
4838
|
+
description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
|
|
4839
|
+
tags: ["Accounts SDK", "NextJS", "Configuration API"],
|
|
4840
|
+
link: "https://github.com/bstopyra/tag-master-template",
|
|
4841
|
+
icons: {},
|
|
4842
|
+
repository: {
|
|
4843
|
+
name: "bstopyra/tag-master-template",
|
|
4844
|
+
target: "node"
|
|
4845
|
+
}
|
|
4846
|
+
},
|
|
4847
|
+
progress: {
|
|
4848
|
+
id: "progress",
|
|
4849
|
+
name: "Progress",
|
|
4850
|
+
category: { name: "Agent App Widget" },
|
|
4851
|
+
description: "Creates reports based on data from chats: ratings, chatting time, response time.",
|
|
4852
|
+
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
4853
|
+
link: "https://github.com/livechat/progress-app",
|
|
4854
|
+
icons: {},
|
|
4855
|
+
repository: {
|
|
4856
|
+
name: "livechat/progress-app",
|
|
4857
|
+
target: "node"
|
|
4858
|
+
}
|
|
4859
|
+
},
|
|
4860
|
+
supervisor: {
|
|
4861
|
+
id: "supervisor",
|
|
4862
|
+
name: "Supervisor",
|
|
4863
|
+
category: { name: "Agent App Widget" },
|
|
4864
|
+
description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
|
|
4865
|
+
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
4866
|
+
link: "https://github.com/livechat/supervisor-app",
|
|
4867
|
+
icons: {},
|
|
4868
|
+
repository: {
|
|
4869
|
+
name: "livechat/supervisor-app",
|
|
4870
|
+
target: "node"
|
|
4871
|
+
}
|
|
4872
|
+
},
|
|
4873
|
+
popup: {
|
|
4874
|
+
id: "popup",
|
|
4875
|
+
name: "Popup app",
|
|
4876
|
+
category: { name: "Agent App Widget" },
|
|
4877
|
+
description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
|
|
4878
|
+
tags: ["Accounts SDK", "Popup flow", "Widget"],
|
|
4879
|
+
link: "https://github.com/livechat/sample-app-popup-auth",
|
|
4880
|
+
icons: {},
|
|
4881
|
+
repository: {
|
|
4882
|
+
name: "livechat/sample-app-popup-auth",
|
|
4883
|
+
target: "node"
|
|
4884
|
+
}
|
|
4885
|
+
},
|
|
4886
|
+
redirect: {
|
|
4887
|
+
id: "redirect",
|
|
4888
|
+
name: "Redirect app",
|
|
4889
|
+
category: { name: "Agent App Widget" },
|
|
4890
|
+
description: "See how to implement the redirect authorization flow from the Accounts SDK.",
|
|
4891
|
+
tags: ["Accounts SDK", "Redirect flow", "Widget"],
|
|
4892
|
+
link: "https://github.com/livechat/sample-app-redirect-auth",
|
|
4893
|
+
icons: {},
|
|
4894
|
+
repository: {
|
|
4895
|
+
name: "livechat/sample-app-redirect-auth",
|
|
4896
|
+
target: "node"
|
|
4897
|
+
}
|
|
4898
|
+
}
|
|
4899
|
+
};
|
|
4900
|
+
var appTemplates = {
|
|
4901
|
+
saas: {
|
|
4902
|
+
id: "saas",
|
|
4903
|
+
name: "Nextjs SaaS boilerplate",
|
|
4904
|
+
category: { name: "Agent App Widget" },
|
|
4905
|
+
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
4906
|
+
tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
|
|
4907
|
+
template: true,
|
|
4908
|
+
manifest: {
|
|
4909
|
+
name: "Nextjs SaaS boilerplate",
|
|
4910
|
+
product: "livechat",
|
|
4911
|
+
blocks: {
|
|
4912
|
+
repository: {
|
|
4913
|
+
provider: "github",
|
|
4914
|
+
name: "livechat/developer-app-template-saas",
|
|
4915
|
+
branch: "main",
|
|
4916
|
+
target: "nextjs"
|
|
4917
|
+
},
|
|
4918
|
+
deployment: {
|
|
4919
|
+
provider: "vercel",
|
|
4920
|
+
url: ""
|
|
4921
|
+
},
|
|
4922
|
+
storage: {
|
|
4923
|
+
provider: "neon",
|
|
4924
|
+
databaseName: "",
|
|
4925
|
+
isSeeded: true
|
|
4926
|
+
},
|
|
4927
|
+
authorization: {
|
|
4928
|
+
type: "javascript_app",
|
|
4929
|
+
redirectUri: ""
|
|
4930
|
+
},
|
|
4931
|
+
widgets: {
|
|
4932
|
+
"chat-details": {
|
|
4933
|
+
placement: "plugin",
|
|
4934
|
+
url: "/livechat/details"
|
|
4935
|
+
},
|
|
4936
|
+
fullscreen: {
|
|
4937
|
+
placement: "fullscreen",
|
|
4938
|
+
url: "/livechat/fullscreen"
|
|
4939
|
+
}
|
|
4940
|
+
},
|
|
4941
|
+
monetization: {
|
|
4942
|
+
frequency: "monthly",
|
|
4943
|
+
charge: "organization",
|
|
4944
|
+
price: 500,
|
|
4945
|
+
trialDays: 7
|
|
4946
|
+
}
|
|
4947
|
+
}
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
};
|
|
4951
|
+
var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
|
|
4952
|
+
|
|
4790
4953
|
// src/constants/notifications.ts
|
|
4791
4954
|
var API_NOTIFICATIONS = {
|
|
4792
4955
|
BUILDING_BLOCKS: {
|
|
@@ -4803,6 +4966,112 @@ var API_NOTIFICATIONS = {
|
|
|
4803
4966
|
}
|
|
4804
4967
|
};
|
|
4805
4968
|
|
|
4969
|
+
// src/apis/products/livechat/configuration/bots-templates/api.ts
|
|
4970
|
+
var livechatBotsTemplatesApi = {
|
|
4971
|
+
createBotTemplate(bot, authorization) {
|
|
4972
|
+
return __async(this, null, function* () {
|
|
4973
|
+
try {
|
|
4974
|
+
const response = yield livechatClientInstance.post(
|
|
4975
|
+
`v3.5/configuration/action/create_bot_template`,
|
|
4976
|
+
bot,
|
|
4977
|
+
getLiveChatClientConfig(authorization)
|
|
4978
|
+
);
|
|
4979
|
+
return response;
|
|
4980
|
+
} catch (error) {
|
|
4981
|
+
if (error instanceof LivechatApiError) {
|
|
4982
|
+
throw error.withCustomMessage(
|
|
4983
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
4984
|
+
);
|
|
4985
|
+
} else {
|
|
4986
|
+
throw error;
|
|
4987
|
+
}
|
|
4988
|
+
}
|
|
4989
|
+
});
|
|
4990
|
+
},
|
|
4991
|
+
getBotTemplates(clientId, authorization) {
|
|
4992
|
+
return __async(this, null, function* () {
|
|
4993
|
+
try {
|
|
4994
|
+
const response = yield livechatClientInstance.post(
|
|
4995
|
+
`v3.5/configuration/action/list_bot_templates`,
|
|
4996
|
+
{
|
|
4997
|
+
owner_client_id: clientId
|
|
4998
|
+
},
|
|
4999
|
+
getLiveChatClientConfig(authorization)
|
|
5000
|
+
);
|
|
5001
|
+
return response;
|
|
5002
|
+
} catch (error) {
|
|
5003
|
+
if (error instanceof LivechatApiError) {
|
|
5004
|
+
throw error.withCustomMessage(
|
|
5005
|
+
`Bot Templates couldn't be fetched. [${error.message}]`
|
|
5006
|
+
);
|
|
5007
|
+
} else {
|
|
5008
|
+
throw error;
|
|
5009
|
+
}
|
|
5010
|
+
}
|
|
5011
|
+
});
|
|
5012
|
+
},
|
|
5013
|
+
updateBotTemplate(bot, authorization) {
|
|
5014
|
+
return __async(this, null, function* () {
|
|
5015
|
+
try {
|
|
5016
|
+
const response = yield livechatClientInstance.post(
|
|
5017
|
+
`v3.5/configuration/action/update_bot_template`,
|
|
5018
|
+
bot,
|
|
5019
|
+
getLiveChatClientConfig(authorization)
|
|
5020
|
+
);
|
|
5021
|
+
return response;
|
|
5022
|
+
} catch (error) {
|
|
5023
|
+
if (error instanceof LivechatApiError) {
|
|
5024
|
+
throw error.withCustomMessage(
|
|
5025
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
5026
|
+
);
|
|
5027
|
+
} else {
|
|
5028
|
+
throw error;
|
|
5029
|
+
}
|
|
5030
|
+
}
|
|
5031
|
+
});
|
|
5032
|
+
},
|
|
5033
|
+
deleteBotTemplate(bot, authorization) {
|
|
5034
|
+
return __async(this, null, function* () {
|
|
5035
|
+
try {
|
|
5036
|
+
const response = yield livechatClientInstance.post(
|
|
5037
|
+
`v3.5/configuration/action/delete_bot_template`,
|
|
5038
|
+
bot,
|
|
5039
|
+
getLiveChatClientConfig(authorization)
|
|
5040
|
+
);
|
|
5041
|
+
return response;
|
|
5042
|
+
} catch (error) {
|
|
5043
|
+
if (error instanceof LivechatApiError) {
|
|
5044
|
+
throw error.withCustomMessage(
|
|
5045
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
5046
|
+
);
|
|
5047
|
+
} else {
|
|
5048
|
+
throw error;
|
|
5049
|
+
}
|
|
5050
|
+
}
|
|
5051
|
+
});
|
|
5052
|
+
},
|
|
5053
|
+
resetBotTemplateSecret(bot, authorization) {
|
|
5054
|
+
return __async(this, null, function* () {
|
|
5055
|
+
try {
|
|
5056
|
+
const response = yield livechatClientInstance.post(
|
|
5057
|
+
`v3.5/configuration/action/reset_bot_template_secret`,
|
|
5058
|
+
bot,
|
|
5059
|
+
getLiveChatClientConfig(authorization)
|
|
5060
|
+
);
|
|
5061
|
+
return response;
|
|
5062
|
+
} catch (error) {
|
|
5063
|
+
if (error instanceof LivechatApiError) {
|
|
5064
|
+
throw error.withCustomMessage(
|
|
5065
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
5066
|
+
);
|
|
5067
|
+
} else {
|
|
5068
|
+
throw error;
|
|
5069
|
+
}
|
|
5070
|
+
}
|
|
5071
|
+
});
|
|
5072
|
+
}
|
|
5073
|
+
};
|
|
5074
|
+
|
|
4806
5075
|
// src/apis/products/livechat/configuration/properties/api.ts
|
|
4807
5076
|
var livechatPropertyApi = {
|
|
4808
5077
|
getProperties(clientId, isAgent, authorization) {
|
|
@@ -5085,7 +5354,8 @@ var livechatWebhookApi = {
|
|
|
5085
5354
|
owner_client_id: webhook.owner_client_id,
|
|
5086
5355
|
type: webhook.type,
|
|
5087
5356
|
description: webhook.description,
|
|
5088
|
-
filters: webhook.filters
|
|
5357
|
+
filters: webhook.filters,
|
|
5358
|
+
additional_data: webhook.additional_data
|
|
5089
5359
|
},
|
|
5090
5360
|
getLiveChatClientConfig(authorization)
|
|
5091
5361
|
).catch((error) => {
|
|
@@ -5110,7 +5380,8 @@ var livechatWebhookApi = {
|
|
|
5110
5380
|
owner_client_id: webhook.owner_client_id,
|
|
5111
5381
|
type: webhook.type,
|
|
5112
5382
|
description: webhook.description,
|
|
5113
|
-
filters: webhook.filters
|
|
5383
|
+
filters: webhook.filters,
|
|
5384
|
+
additional_data: webhook.additional_data
|
|
5114
5385
|
},
|
|
5115
5386
|
getLiveChatClientConfig(authorization)
|
|
5116
5387
|
);
|
|
@@ -5236,6 +5507,7 @@ var livechatWebhookApi = {
|
|
|
5236
5507
|
// src/apis/products/livechat/configuration/api.ts
|
|
5237
5508
|
var livechatConfigurationApi = {
|
|
5238
5509
|
agents: livechatAgentsApi,
|
|
5510
|
+
bots: livechatBotsTemplatesApi,
|
|
5239
5511
|
property: livechatPropertyApi,
|
|
5240
5512
|
webhook: livechatWebhookApi
|
|
5241
5513
|
};
|
|
@@ -5533,169 +5805,6 @@ var platformAccountsApi = {
|
|
|
5533
5805
|
token: platformAccountsTokenApi
|
|
5534
5806
|
};
|
|
5535
5807
|
|
|
5536
|
-
// src/constants/app/templates/repository.ts
|
|
5537
|
-
var appRepositoryTemplatesMap = {
|
|
5538
|
-
"livechat/developer-app-template-nextjs": "nextjs",
|
|
5539
|
-
"livechat/developer-app-template-vite": "vite",
|
|
5540
|
-
"livechat/developer-app-template-saas": "saas"
|
|
5541
|
-
};
|
|
5542
|
-
var appRepositoryTemplates = {
|
|
5543
|
-
nextjs: {
|
|
5544
|
-
id: "nextjs",
|
|
5545
|
-
description: "Uses the most popular and versatile features from our SDKs:",
|
|
5546
|
-
tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
|
|
5547
|
-
name: "Fullstack Next.js template",
|
|
5548
|
-
repository: {
|
|
5549
|
-
name: "livechat/developer-app-template-nextjs",
|
|
5550
|
-
target: "nextjs"
|
|
5551
|
-
}
|
|
5552
|
-
},
|
|
5553
|
-
vite: {
|
|
5554
|
-
id: "vite",
|
|
5555
|
-
name: "Vite template",
|
|
5556
|
-
description: "Implements the same base functionalities as the Next.js template except for webhooks:",
|
|
5557
|
-
tags: ["Auth", "Agent App SDK", "Moments"],
|
|
5558
|
-
repository: {
|
|
5559
|
-
name: "livechat/developer-app-template-vite",
|
|
5560
|
-
target: "browser"
|
|
5561
|
-
}
|
|
5562
|
-
},
|
|
5563
|
-
saas: {
|
|
5564
|
-
id: "saas",
|
|
5565
|
-
name: "Nextjs SaaS boilerplate",
|
|
5566
|
-
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
5567
|
-
tags: [],
|
|
5568
|
-
repository: {
|
|
5569
|
-
name: "livechat/developer-app-template-saas",
|
|
5570
|
-
target: "nextjs"
|
|
5571
|
-
}
|
|
5572
|
-
}
|
|
5573
|
-
};
|
|
5574
|
-
|
|
5575
|
-
// src/constants/app/templates/app.ts
|
|
5576
|
-
var appTemplatesMap = {
|
|
5577
|
-
"livechat/developer-app-template-saas": "saas"
|
|
5578
|
-
};
|
|
5579
|
-
var appBaseTemplates = {
|
|
5580
|
-
"tag-master": {
|
|
5581
|
-
id: "tag-master",
|
|
5582
|
-
name: "Tag Master",
|
|
5583
|
-
category: { name: "Agent App Widget" },
|
|
5584
|
-
description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
|
|
5585
|
-
tags: ["Accounts SDK", "NextJS", "Configuration API"],
|
|
5586
|
-
link: "https://github.com/bstopyra/tag-master-template",
|
|
5587
|
-
icons: {},
|
|
5588
|
-
repository: {
|
|
5589
|
-
name: "bstopyra/tag-master-template",
|
|
5590
|
-
target: "node"
|
|
5591
|
-
}
|
|
5592
|
-
},
|
|
5593
|
-
progress: {
|
|
5594
|
-
id: "progress",
|
|
5595
|
-
name: "Progress",
|
|
5596
|
-
category: { name: "Agent App Widget" },
|
|
5597
|
-
description: "Creates reports based on data from chats: ratings, chatting time, response time.",
|
|
5598
|
-
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
5599
|
-
link: "https://github.com/livechat/progress-app",
|
|
5600
|
-
icons: {},
|
|
5601
|
-
repository: {
|
|
5602
|
-
name: "livechat/progress-app",
|
|
5603
|
-
target: "node"
|
|
5604
|
-
}
|
|
5605
|
-
},
|
|
5606
|
-
supervisor: {
|
|
5607
|
-
id: "supervisor",
|
|
5608
|
-
name: "Supervisor",
|
|
5609
|
-
category: { name: "Agent App Widget" },
|
|
5610
|
-
description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
|
|
5611
|
-
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
5612
|
-
link: "https://github.com/livechat/supervisor-app",
|
|
5613
|
-
icons: {},
|
|
5614
|
-
repository: {
|
|
5615
|
-
name: "livechat/supervisor-app",
|
|
5616
|
-
target: "node"
|
|
5617
|
-
}
|
|
5618
|
-
},
|
|
5619
|
-
popup: {
|
|
5620
|
-
id: "popup",
|
|
5621
|
-
name: "Popup app",
|
|
5622
|
-
category: { name: "Agent App Widget" },
|
|
5623
|
-
description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
|
|
5624
|
-
tags: ["Accounts SDK", "Popup flow", "Widget"],
|
|
5625
|
-
link: "https://github.com/livechat/sample-app-popup-auth",
|
|
5626
|
-
icons: {},
|
|
5627
|
-
repository: {
|
|
5628
|
-
name: "livechat/sample-app-popup-auth",
|
|
5629
|
-
target: "node"
|
|
5630
|
-
}
|
|
5631
|
-
},
|
|
5632
|
-
redirect: {
|
|
5633
|
-
id: "redirect",
|
|
5634
|
-
name: "Redirect app",
|
|
5635
|
-
category: { name: "Agent App Widget" },
|
|
5636
|
-
description: "See how to implement the redirect authorization flow from the Accounts SDK.",
|
|
5637
|
-
tags: ["Accounts SDK", "Redirect flow", "Widget"],
|
|
5638
|
-
link: "https://github.com/livechat/sample-app-redirect-auth",
|
|
5639
|
-
icons: {},
|
|
5640
|
-
repository: {
|
|
5641
|
-
name: "livechat/sample-app-redirect-auth",
|
|
5642
|
-
target: "node"
|
|
5643
|
-
}
|
|
5644
|
-
}
|
|
5645
|
-
};
|
|
5646
|
-
var appTemplates = {
|
|
5647
|
-
saas: {
|
|
5648
|
-
id: "saas",
|
|
5649
|
-
name: "Nextjs SaaS boilerplate",
|
|
5650
|
-
category: { name: "Agent App Widget" },
|
|
5651
|
-
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
5652
|
-
tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
|
|
5653
|
-
template: true,
|
|
5654
|
-
manifest: {
|
|
5655
|
-
name: "Nextjs SaaS boilerplate",
|
|
5656
|
-
product: "livechat",
|
|
5657
|
-
blocks: {
|
|
5658
|
-
repository: {
|
|
5659
|
-
provider: "github",
|
|
5660
|
-
name: "livechat/developer-app-template-saas",
|
|
5661
|
-
branch: "main",
|
|
5662
|
-
target: "nextjs"
|
|
5663
|
-
},
|
|
5664
|
-
deployment: {
|
|
5665
|
-
provider: "vercel",
|
|
5666
|
-
url: ""
|
|
5667
|
-
},
|
|
5668
|
-
storage: {
|
|
5669
|
-
provider: "neon",
|
|
5670
|
-
databaseName: "",
|
|
5671
|
-
isSeeded: true
|
|
5672
|
-
},
|
|
5673
|
-
authorization: {
|
|
5674
|
-
type: "javascript_app",
|
|
5675
|
-
redirectUri: ""
|
|
5676
|
-
},
|
|
5677
|
-
widgets: {
|
|
5678
|
-
"chat-details": {
|
|
5679
|
-
placement: "plugin",
|
|
5680
|
-
url: "/livechat/details"
|
|
5681
|
-
},
|
|
5682
|
-
fullscreen: {
|
|
5683
|
-
placement: "fullscreen",
|
|
5684
|
-
url: "/livechat/fullscreen"
|
|
5685
|
-
}
|
|
5686
|
-
},
|
|
5687
|
-
monetization: {
|
|
5688
|
-
frequency: "monthly",
|
|
5689
|
-
charge: "organization",
|
|
5690
|
-
price: 500,
|
|
5691
|
-
trialDays: 7
|
|
5692
|
-
}
|
|
5693
|
-
}
|
|
5694
|
-
}
|
|
5695
|
-
}
|
|
5696
|
-
};
|
|
5697
|
-
var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
|
|
5698
|
-
|
|
5699
5808
|
// src/apis/platform/dps/applications/application/authorization/api.ts
|
|
5700
5809
|
var platformDpsApplicationAuthorizationApi = {
|
|
5701
5810
|
createAuth(appId, payload, authorization) {
|
package/dist/index.mjs
CHANGED
|
@@ -4634,6 +4634,169 @@ var livechatAgentsApi = {
|
|
|
4634
4634
|
}
|
|
4635
4635
|
};
|
|
4636
4636
|
|
|
4637
|
+
// src/constants/app/templates/repository.ts
|
|
4638
|
+
var appRepositoryTemplatesMap = {
|
|
4639
|
+
"livechat/developer-app-template-nextjs": "nextjs",
|
|
4640
|
+
"livechat/developer-app-template-vite": "vite",
|
|
4641
|
+
"livechat/developer-app-template-saas": "saas"
|
|
4642
|
+
};
|
|
4643
|
+
var appRepositoryTemplates = {
|
|
4644
|
+
nextjs: {
|
|
4645
|
+
id: "nextjs",
|
|
4646
|
+
description: "Uses the most popular and versatile features from our SDKs:",
|
|
4647
|
+
tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
|
|
4648
|
+
name: "Fullstack Next.js template",
|
|
4649
|
+
repository: {
|
|
4650
|
+
name: "livechat/developer-app-template-nextjs",
|
|
4651
|
+
target: "nextjs"
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4654
|
+
vite: {
|
|
4655
|
+
id: "vite",
|
|
4656
|
+
name: "Vite template",
|
|
4657
|
+
description: "Implements the same base functionalities as the Next.js template except for webhooks:",
|
|
4658
|
+
tags: ["Auth", "Agent App SDK", "Moments"],
|
|
4659
|
+
repository: {
|
|
4660
|
+
name: "livechat/developer-app-template-vite",
|
|
4661
|
+
target: "browser"
|
|
4662
|
+
}
|
|
4663
|
+
},
|
|
4664
|
+
saas: {
|
|
4665
|
+
id: "saas",
|
|
4666
|
+
name: "Nextjs SaaS boilerplate",
|
|
4667
|
+
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
4668
|
+
tags: [],
|
|
4669
|
+
repository: {
|
|
4670
|
+
name: "livechat/developer-app-template-saas",
|
|
4671
|
+
target: "nextjs"
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
};
|
|
4675
|
+
|
|
4676
|
+
// src/constants/app/templates/app.ts
|
|
4677
|
+
var appTemplatesMap = {
|
|
4678
|
+
"livechat/developer-app-template-saas": "saas"
|
|
4679
|
+
};
|
|
4680
|
+
var appBaseTemplates = {
|
|
4681
|
+
"tag-master": {
|
|
4682
|
+
id: "tag-master",
|
|
4683
|
+
name: "Tag Master",
|
|
4684
|
+
category: { name: "Agent App Widget" },
|
|
4685
|
+
description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
|
|
4686
|
+
tags: ["Accounts SDK", "NextJS", "Configuration API"],
|
|
4687
|
+
link: "https://github.com/bstopyra/tag-master-template",
|
|
4688
|
+
icons: {},
|
|
4689
|
+
repository: {
|
|
4690
|
+
name: "bstopyra/tag-master-template",
|
|
4691
|
+
target: "node"
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4694
|
+
progress: {
|
|
4695
|
+
id: "progress",
|
|
4696
|
+
name: "Progress",
|
|
4697
|
+
category: { name: "Agent App Widget" },
|
|
4698
|
+
description: "Creates reports based on data from chats: ratings, chatting time, response time.",
|
|
4699
|
+
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
4700
|
+
link: "https://github.com/livechat/progress-app",
|
|
4701
|
+
icons: {},
|
|
4702
|
+
repository: {
|
|
4703
|
+
name: "livechat/progress-app",
|
|
4704
|
+
target: "node"
|
|
4705
|
+
}
|
|
4706
|
+
},
|
|
4707
|
+
supervisor: {
|
|
4708
|
+
id: "supervisor",
|
|
4709
|
+
name: "Supervisor",
|
|
4710
|
+
category: { name: "Agent App Widget" },
|
|
4711
|
+
description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
|
|
4712
|
+
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
4713
|
+
link: "https://github.com/livechat/supervisor-app",
|
|
4714
|
+
icons: {},
|
|
4715
|
+
repository: {
|
|
4716
|
+
name: "livechat/supervisor-app",
|
|
4717
|
+
target: "node"
|
|
4718
|
+
}
|
|
4719
|
+
},
|
|
4720
|
+
popup: {
|
|
4721
|
+
id: "popup",
|
|
4722
|
+
name: "Popup app",
|
|
4723
|
+
category: { name: "Agent App Widget" },
|
|
4724
|
+
description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
|
|
4725
|
+
tags: ["Accounts SDK", "Popup flow", "Widget"],
|
|
4726
|
+
link: "https://github.com/livechat/sample-app-popup-auth",
|
|
4727
|
+
icons: {},
|
|
4728
|
+
repository: {
|
|
4729
|
+
name: "livechat/sample-app-popup-auth",
|
|
4730
|
+
target: "node"
|
|
4731
|
+
}
|
|
4732
|
+
},
|
|
4733
|
+
redirect: {
|
|
4734
|
+
id: "redirect",
|
|
4735
|
+
name: "Redirect app",
|
|
4736
|
+
category: { name: "Agent App Widget" },
|
|
4737
|
+
description: "See how to implement the redirect authorization flow from the Accounts SDK.",
|
|
4738
|
+
tags: ["Accounts SDK", "Redirect flow", "Widget"],
|
|
4739
|
+
link: "https://github.com/livechat/sample-app-redirect-auth",
|
|
4740
|
+
icons: {},
|
|
4741
|
+
repository: {
|
|
4742
|
+
name: "livechat/sample-app-redirect-auth",
|
|
4743
|
+
target: "node"
|
|
4744
|
+
}
|
|
4745
|
+
}
|
|
4746
|
+
};
|
|
4747
|
+
var appTemplates = {
|
|
4748
|
+
saas: {
|
|
4749
|
+
id: "saas",
|
|
4750
|
+
name: "Nextjs SaaS boilerplate",
|
|
4751
|
+
category: { name: "Agent App Widget" },
|
|
4752
|
+
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
4753
|
+
tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
|
|
4754
|
+
template: true,
|
|
4755
|
+
manifest: {
|
|
4756
|
+
name: "Nextjs SaaS boilerplate",
|
|
4757
|
+
product: "livechat",
|
|
4758
|
+
blocks: {
|
|
4759
|
+
repository: {
|
|
4760
|
+
provider: "github",
|
|
4761
|
+
name: "livechat/developer-app-template-saas",
|
|
4762
|
+
branch: "main",
|
|
4763
|
+
target: "nextjs"
|
|
4764
|
+
},
|
|
4765
|
+
deployment: {
|
|
4766
|
+
provider: "vercel",
|
|
4767
|
+
url: ""
|
|
4768
|
+
},
|
|
4769
|
+
storage: {
|
|
4770
|
+
provider: "neon",
|
|
4771
|
+
databaseName: "",
|
|
4772
|
+
isSeeded: true
|
|
4773
|
+
},
|
|
4774
|
+
authorization: {
|
|
4775
|
+
type: "javascript_app",
|
|
4776
|
+
redirectUri: ""
|
|
4777
|
+
},
|
|
4778
|
+
widgets: {
|
|
4779
|
+
"chat-details": {
|
|
4780
|
+
placement: "plugin",
|
|
4781
|
+
url: "/livechat/details"
|
|
4782
|
+
},
|
|
4783
|
+
fullscreen: {
|
|
4784
|
+
placement: "fullscreen",
|
|
4785
|
+
url: "/livechat/fullscreen"
|
|
4786
|
+
}
|
|
4787
|
+
},
|
|
4788
|
+
monetization: {
|
|
4789
|
+
frequency: "monthly",
|
|
4790
|
+
charge: "organization",
|
|
4791
|
+
price: 500,
|
|
4792
|
+
trialDays: 7
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
}
|
|
4796
|
+
}
|
|
4797
|
+
};
|
|
4798
|
+
var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
|
|
4799
|
+
|
|
4637
4800
|
// src/constants/notifications.ts
|
|
4638
4801
|
var API_NOTIFICATIONS = {
|
|
4639
4802
|
BUILDING_BLOCKS: {
|
|
@@ -4650,6 +4813,112 @@ var API_NOTIFICATIONS = {
|
|
|
4650
4813
|
}
|
|
4651
4814
|
};
|
|
4652
4815
|
|
|
4816
|
+
// src/apis/products/livechat/configuration/bots-templates/api.ts
|
|
4817
|
+
var livechatBotsTemplatesApi = {
|
|
4818
|
+
createBotTemplate(bot, authorization) {
|
|
4819
|
+
return __async(this, null, function* () {
|
|
4820
|
+
try {
|
|
4821
|
+
const response = yield livechatClientInstance.post(
|
|
4822
|
+
`v3.5/configuration/action/create_bot_template`,
|
|
4823
|
+
bot,
|
|
4824
|
+
getLiveChatClientConfig(authorization)
|
|
4825
|
+
);
|
|
4826
|
+
return response;
|
|
4827
|
+
} catch (error) {
|
|
4828
|
+
if (error instanceof LivechatApiError) {
|
|
4829
|
+
throw error.withCustomMessage(
|
|
4830
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
4831
|
+
);
|
|
4832
|
+
} else {
|
|
4833
|
+
throw error;
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
});
|
|
4837
|
+
},
|
|
4838
|
+
getBotTemplates(clientId, authorization) {
|
|
4839
|
+
return __async(this, null, function* () {
|
|
4840
|
+
try {
|
|
4841
|
+
const response = yield livechatClientInstance.post(
|
|
4842
|
+
`v3.5/configuration/action/list_bot_templates`,
|
|
4843
|
+
{
|
|
4844
|
+
owner_client_id: clientId
|
|
4845
|
+
},
|
|
4846
|
+
getLiveChatClientConfig(authorization)
|
|
4847
|
+
);
|
|
4848
|
+
return response;
|
|
4849
|
+
} catch (error) {
|
|
4850
|
+
if (error instanceof LivechatApiError) {
|
|
4851
|
+
throw error.withCustomMessage(
|
|
4852
|
+
`Bot Templates couldn't be fetched. [${error.message}]`
|
|
4853
|
+
);
|
|
4854
|
+
} else {
|
|
4855
|
+
throw error;
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
});
|
|
4859
|
+
},
|
|
4860
|
+
updateBotTemplate(bot, authorization) {
|
|
4861
|
+
return __async(this, null, function* () {
|
|
4862
|
+
try {
|
|
4863
|
+
const response = yield livechatClientInstance.post(
|
|
4864
|
+
`v3.5/configuration/action/update_bot_template`,
|
|
4865
|
+
bot,
|
|
4866
|
+
getLiveChatClientConfig(authorization)
|
|
4867
|
+
);
|
|
4868
|
+
return response;
|
|
4869
|
+
} catch (error) {
|
|
4870
|
+
if (error instanceof LivechatApiError) {
|
|
4871
|
+
throw error.withCustomMessage(
|
|
4872
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
4873
|
+
);
|
|
4874
|
+
} else {
|
|
4875
|
+
throw error;
|
|
4876
|
+
}
|
|
4877
|
+
}
|
|
4878
|
+
});
|
|
4879
|
+
},
|
|
4880
|
+
deleteBotTemplate(bot, authorization) {
|
|
4881
|
+
return __async(this, null, function* () {
|
|
4882
|
+
try {
|
|
4883
|
+
const response = yield livechatClientInstance.post(
|
|
4884
|
+
`v3.5/configuration/action/delete_bot_template`,
|
|
4885
|
+
bot,
|
|
4886
|
+
getLiveChatClientConfig(authorization)
|
|
4887
|
+
);
|
|
4888
|
+
return response;
|
|
4889
|
+
} catch (error) {
|
|
4890
|
+
if (error instanceof LivechatApiError) {
|
|
4891
|
+
throw error.withCustomMessage(
|
|
4892
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
4893
|
+
);
|
|
4894
|
+
} else {
|
|
4895
|
+
throw error;
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
});
|
|
4899
|
+
},
|
|
4900
|
+
resetBotTemplateSecret(bot, authorization) {
|
|
4901
|
+
return __async(this, null, function* () {
|
|
4902
|
+
try {
|
|
4903
|
+
const response = yield livechatClientInstance.post(
|
|
4904
|
+
`v3.5/configuration/action/reset_bot_template_secret`,
|
|
4905
|
+
bot,
|
|
4906
|
+
getLiveChatClientConfig(authorization)
|
|
4907
|
+
);
|
|
4908
|
+
return response;
|
|
4909
|
+
} catch (error) {
|
|
4910
|
+
if (error instanceof LivechatApiError) {
|
|
4911
|
+
throw error.withCustomMessage(
|
|
4912
|
+
`${API_NOTIFICATIONS.BUILDING_BLOCKS.FAILURE.CREATED} [${error.message}]`
|
|
4913
|
+
);
|
|
4914
|
+
} else {
|
|
4915
|
+
throw error;
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
});
|
|
4919
|
+
}
|
|
4920
|
+
};
|
|
4921
|
+
|
|
4653
4922
|
// src/apis/products/livechat/configuration/properties/api.ts
|
|
4654
4923
|
var livechatPropertyApi = {
|
|
4655
4924
|
getProperties(clientId, isAgent, authorization) {
|
|
@@ -4932,7 +5201,8 @@ var livechatWebhookApi = {
|
|
|
4932
5201
|
owner_client_id: webhook.owner_client_id,
|
|
4933
5202
|
type: webhook.type,
|
|
4934
5203
|
description: webhook.description,
|
|
4935
|
-
filters: webhook.filters
|
|
5204
|
+
filters: webhook.filters,
|
|
5205
|
+
additional_data: webhook.additional_data
|
|
4936
5206
|
},
|
|
4937
5207
|
getLiveChatClientConfig(authorization)
|
|
4938
5208
|
).catch((error) => {
|
|
@@ -4957,7 +5227,8 @@ var livechatWebhookApi = {
|
|
|
4957
5227
|
owner_client_id: webhook.owner_client_id,
|
|
4958
5228
|
type: webhook.type,
|
|
4959
5229
|
description: webhook.description,
|
|
4960
|
-
filters: webhook.filters
|
|
5230
|
+
filters: webhook.filters,
|
|
5231
|
+
additional_data: webhook.additional_data
|
|
4961
5232
|
},
|
|
4962
5233
|
getLiveChatClientConfig(authorization)
|
|
4963
5234
|
);
|
|
@@ -5083,6 +5354,7 @@ var livechatWebhookApi = {
|
|
|
5083
5354
|
// src/apis/products/livechat/configuration/api.ts
|
|
5084
5355
|
var livechatConfigurationApi = {
|
|
5085
5356
|
agents: livechatAgentsApi,
|
|
5357
|
+
bots: livechatBotsTemplatesApi,
|
|
5086
5358
|
property: livechatPropertyApi,
|
|
5087
5359
|
webhook: livechatWebhookApi
|
|
5088
5360
|
};
|
|
@@ -5380,169 +5652,6 @@ var platformAccountsApi = {
|
|
|
5380
5652
|
token: platformAccountsTokenApi
|
|
5381
5653
|
};
|
|
5382
5654
|
|
|
5383
|
-
// src/constants/app/templates/repository.ts
|
|
5384
|
-
var appRepositoryTemplatesMap = {
|
|
5385
|
-
"livechat/developer-app-template-nextjs": "nextjs",
|
|
5386
|
-
"livechat/developer-app-template-vite": "vite",
|
|
5387
|
-
"livechat/developer-app-template-saas": "saas"
|
|
5388
|
-
};
|
|
5389
|
-
var appRepositoryTemplates = {
|
|
5390
|
-
nextjs: {
|
|
5391
|
-
id: "nextjs",
|
|
5392
|
-
description: "Uses the most popular and versatile features from our SDKs:",
|
|
5393
|
-
tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
|
|
5394
|
-
name: "Fullstack Next.js template",
|
|
5395
|
-
repository: {
|
|
5396
|
-
name: "livechat/developer-app-template-nextjs",
|
|
5397
|
-
target: "nextjs"
|
|
5398
|
-
}
|
|
5399
|
-
},
|
|
5400
|
-
vite: {
|
|
5401
|
-
id: "vite",
|
|
5402
|
-
name: "Vite template",
|
|
5403
|
-
description: "Implements the same base functionalities as the Next.js template except for webhooks:",
|
|
5404
|
-
tags: ["Auth", "Agent App SDK", "Moments"],
|
|
5405
|
-
repository: {
|
|
5406
|
-
name: "livechat/developer-app-template-vite",
|
|
5407
|
-
target: "browser"
|
|
5408
|
-
}
|
|
5409
|
-
},
|
|
5410
|
-
saas: {
|
|
5411
|
-
id: "saas",
|
|
5412
|
-
name: "Nextjs SaaS boilerplate",
|
|
5413
|
-
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
5414
|
-
tags: [],
|
|
5415
|
-
repository: {
|
|
5416
|
-
name: "livechat/developer-app-template-saas",
|
|
5417
|
-
target: "nextjs"
|
|
5418
|
-
}
|
|
5419
|
-
}
|
|
5420
|
-
};
|
|
5421
|
-
|
|
5422
|
-
// src/constants/app/templates/app.ts
|
|
5423
|
-
var appTemplatesMap = {
|
|
5424
|
-
"livechat/developer-app-template-saas": "saas"
|
|
5425
|
-
};
|
|
5426
|
-
var appBaseTemplates = {
|
|
5427
|
-
"tag-master": {
|
|
5428
|
-
id: "tag-master",
|
|
5429
|
-
name: "Tag Master",
|
|
5430
|
-
category: { name: "Agent App Widget" },
|
|
5431
|
-
description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
|
|
5432
|
-
tags: ["Accounts SDK", "NextJS", "Configuration API"],
|
|
5433
|
-
link: "https://github.com/bstopyra/tag-master-template",
|
|
5434
|
-
icons: {},
|
|
5435
|
-
repository: {
|
|
5436
|
-
name: "bstopyra/tag-master-template",
|
|
5437
|
-
target: "node"
|
|
5438
|
-
}
|
|
5439
|
-
},
|
|
5440
|
-
progress: {
|
|
5441
|
-
id: "progress",
|
|
5442
|
-
name: "Progress",
|
|
5443
|
-
category: { name: "Agent App Widget" },
|
|
5444
|
-
description: "Creates reports based on data from chats: ratings, chatting time, response time.",
|
|
5445
|
-
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
5446
|
-
link: "https://github.com/livechat/progress-app",
|
|
5447
|
-
icons: {},
|
|
5448
|
-
repository: {
|
|
5449
|
-
name: "livechat/progress-app",
|
|
5450
|
-
target: "node"
|
|
5451
|
-
}
|
|
5452
|
-
},
|
|
5453
|
-
supervisor: {
|
|
5454
|
-
id: "supervisor",
|
|
5455
|
-
name: "Supervisor",
|
|
5456
|
-
category: { name: "Agent App Widget" },
|
|
5457
|
-
description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
|
|
5458
|
-
tags: ["Accounts SDK", "NextJS", "Reports API"],
|
|
5459
|
-
link: "https://github.com/livechat/supervisor-app",
|
|
5460
|
-
icons: {},
|
|
5461
|
-
repository: {
|
|
5462
|
-
name: "livechat/supervisor-app",
|
|
5463
|
-
target: "node"
|
|
5464
|
-
}
|
|
5465
|
-
},
|
|
5466
|
-
popup: {
|
|
5467
|
-
id: "popup",
|
|
5468
|
-
name: "Popup app",
|
|
5469
|
-
category: { name: "Agent App Widget" },
|
|
5470
|
-
description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
|
|
5471
|
-
tags: ["Accounts SDK", "Popup flow", "Widget"],
|
|
5472
|
-
link: "https://github.com/livechat/sample-app-popup-auth",
|
|
5473
|
-
icons: {},
|
|
5474
|
-
repository: {
|
|
5475
|
-
name: "livechat/sample-app-popup-auth",
|
|
5476
|
-
target: "node"
|
|
5477
|
-
}
|
|
5478
|
-
},
|
|
5479
|
-
redirect: {
|
|
5480
|
-
id: "redirect",
|
|
5481
|
-
name: "Redirect app",
|
|
5482
|
-
category: { name: "Agent App Widget" },
|
|
5483
|
-
description: "See how to implement the redirect authorization flow from the Accounts SDK.",
|
|
5484
|
-
tags: ["Accounts SDK", "Redirect flow", "Widget"],
|
|
5485
|
-
link: "https://github.com/livechat/sample-app-redirect-auth",
|
|
5486
|
-
icons: {},
|
|
5487
|
-
repository: {
|
|
5488
|
-
name: "livechat/sample-app-redirect-auth",
|
|
5489
|
-
target: "node"
|
|
5490
|
-
}
|
|
5491
|
-
}
|
|
5492
|
-
};
|
|
5493
|
-
var appTemplates = {
|
|
5494
|
-
saas: {
|
|
5495
|
-
id: "saas",
|
|
5496
|
-
name: "Nextjs SaaS boilerplate",
|
|
5497
|
-
category: { name: "Agent App Widget" },
|
|
5498
|
-
description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
|
|
5499
|
-
tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
|
|
5500
|
-
template: true,
|
|
5501
|
-
manifest: {
|
|
5502
|
-
name: "Nextjs SaaS boilerplate",
|
|
5503
|
-
product: "livechat",
|
|
5504
|
-
blocks: {
|
|
5505
|
-
repository: {
|
|
5506
|
-
provider: "github",
|
|
5507
|
-
name: "livechat/developer-app-template-saas",
|
|
5508
|
-
branch: "main",
|
|
5509
|
-
target: "nextjs"
|
|
5510
|
-
},
|
|
5511
|
-
deployment: {
|
|
5512
|
-
provider: "vercel",
|
|
5513
|
-
url: ""
|
|
5514
|
-
},
|
|
5515
|
-
storage: {
|
|
5516
|
-
provider: "neon",
|
|
5517
|
-
databaseName: "",
|
|
5518
|
-
isSeeded: true
|
|
5519
|
-
},
|
|
5520
|
-
authorization: {
|
|
5521
|
-
type: "javascript_app",
|
|
5522
|
-
redirectUri: ""
|
|
5523
|
-
},
|
|
5524
|
-
widgets: {
|
|
5525
|
-
"chat-details": {
|
|
5526
|
-
placement: "plugin",
|
|
5527
|
-
url: "/livechat/details"
|
|
5528
|
-
},
|
|
5529
|
-
fullscreen: {
|
|
5530
|
-
placement: "fullscreen",
|
|
5531
|
-
url: "/livechat/fullscreen"
|
|
5532
|
-
}
|
|
5533
|
-
},
|
|
5534
|
-
monetization: {
|
|
5535
|
-
frequency: "monthly",
|
|
5536
|
-
charge: "organization",
|
|
5537
|
-
price: 500,
|
|
5538
|
-
trialDays: 7
|
|
5539
|
-
}
|
|
5540
|
-
}
|
|
5541
|
-
}
|
|
5542
|
-
}
|
|
5543
|
-
};
|
|
5544
|
-
var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
|
|
5545
|
-
|
|
5546
5655
|
// src/apis/platform/dps/applications/application/authorization/api.ts
|
|
5547
5656
|
var platformDpsApplicationAuthorizationApi = {
|
|
5548
5657
|
createAuth(appId, payload, authorization) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.63",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"
|
|
23
|
+
"eslint-config-custom": "0.0.8",
|
|
24
24
|
"utils": "0.0.4",
|
|
25
|
-
"
|
|
25
|
+
"tsconfig": "0.0.1"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|