@livechat/developer-studio-api 3.1.62 → 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 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) {
@@ -5238,6 +5507,7 @@ var livechatWebhookApi = {
5238
5507
  // src/apis/products/livechat/configuration/api.ts
5239
5508
  var livechatConfigurationApi = {
5240
5509
  agents: livechatAgentsApi,
5510
+ bots: livechatBotsTemplatesApi,
5241
5511
  property: livechatPropertyApi,
5242
5512
  webhook: livechatWebhookApi
5243
5513
  };
@@ -5535,169 +5805,6 @@ var platformAccountsApi = {
5535
5805
  token: platformAccountsTokenApi
5536
5806
  };
5537
5807
 
5538
- // src/constants/app/templates/repository.ts
5539
- var appRepositoryTemplatesMap = {
5540
- "livechat/developer-app-template-nextjs": "nextjs",
5541
- "livechat/developer-app-template-vite": "vite",
5542
- "livechat/developer-app-template-saas": "saas"
5543
- };
5544
- var appRepositoryTemplates = {
5545
- nextjs: {
5546
- id: "nextjs",
5547
- description: "Uses the most popular and versatile features from our SDKs:",
5548
- tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
5549
- name: "Fullstack Next.js template",
5550
- repository: {
5551
- name: "livechat/developer-app-template-nextjs",
5552
- target: "nextjs"
5553
- }
5554
- },
5555
- vite: {
5556
- id: "vite",
5557
- name: "Vite template",
5558
- description: "Implements the same base functionalities as the Next.js template except for webhooks:",
5559
- tags: ["Auth", "Agent App SDK", "Moments"],
5560
- repository: {
5561
- name: "livechat/developer-app-template-vite",
5562
- target: "browser"
5563
- }
5564
- },
5565
- saas: {
5566
- id: "saas",
5567
- name: "Nextjs SaaS boilerplate",
5568
- description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
5569
- tags: [],
5570
- repository: {
5571
- name: "livechat/developer-app-template-saas",
5572
- target: "nextjs"
5573
- }
5574
- }
5575
- };
5576
-
5577
- // src/constants/app/templates/app.ts
5578
- var appTemplatesMap = {
5579
- "livechat/developer-app-template-saas": "saas"
5580
- };
5581
- var appBaseTemplates = {
5582
- "tag-master": {
5583
- id: "tag-master",
5584
- name: "Tag Master",
5585
- category: { name: "Agent App Widget" },
5586
- description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
5587
- tags: ["Accounts SDK", "NextJS", "Configuration API"],
5588
- link: "https://github.com/bstopyra/tag-master-template",
5589
- icons: {},
5590
- repository: {
5591
- name: "bstopyra/tag-master-template",
5592
- target: "node"
5593
- }
5594
- },
5595
- progress: {
5596
- id: "progress",
5597
- name: "Progress",
5598
- category: { name: "Agent App Widget" },
5599
- description: "Creates reports based on data from chats: ratings, chatting time, response time.",
5600
- tags: ["Accounts SDK", "NextJS", "Reports API"],
5601
- link: "https://github.com/livechat/progress-app",
5602
- icons: {},
5603
- repository: {
5604
- name: "livechat/progress-app",
5605
- target: "node"
5606
- }
5607
- },
5608
- supervisor: {
5609
- id: "supervisor",
5610
- name: "Supervisor",
5611
- category: { name: "Agent App Widget" },
5612
- description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
5613
- tags: ["Accounts SDK", "NextJS", "Reports API"],
5614
- link: "https://github.com/livechat/supervisor-app",
5615
- icons: {},
5616
- repository: {
5617
- name: "livechat/supervisor-app",
5618
- target: "node"
5619
- }
5620
- },
5621
- popup: {
5622
- id: "popup",
5623
- name: "Popup app",
5624
- category: { name: "Agent App Widget" },
5625
- description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
5626
- tags: ["Accounts SDK", "Popup flow", "Widget"],
5627
- link: "https://github.com/livechat/sample-app-popup-auth",
5628
- icons: {},
5629
- repository: {
5630
- name: "livechat/sample-app-popup-auth",
5631
- target: "node"
5632
- }
5633
- },
5634
- redirect: {
5635
- id: "redirect",
5636
- name: "Redirect app",
5637
- category: { name: "Agent App Widget" },
5638
- description: "See how to implement the redirect authorization flow from the Accounts SDK.",
5639
- tags: ["Accounts SDK", "Redirect flow", "Widget"],
5640
- link: "https://github.com/livechat/sample-app-redirect-auth",
5641
- icons: {},
5642
- repository: {
5643
- name: "livechat/sample-app-redirect-auth",
5644
- target: "node"
5645
- }
5646
- }
5647
- };
5648
- var appTemplates = {
5649
- saas: {
5650
- id: "saas",
5651
- name: "Nextjs SaaS boilerplate",
5652
- category: { name: "Agent App Widget" },
5653
- description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
5654
- tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
5655
- template: true,
5656
- manifest: {
5657
- name: "Nextjs SaaS boilerplate",
5658
- product: "livechat",
5659
- blocks: {
5660
- repository: {
5661
- provider: "github",
5662
- name: "livechat/developer-app-template-saas",
5663
- branch: "main",
5664
- target: "nextjs"
5665
- },
5666
- deployment: {
5667
- provider: "vercel",
5668
- url: ""
5669
- },
5670
- storage: {
5671
- provider: "neon",
5672
- databaseName: "",
5673
- isSeeded: true
5674
- },
5675
- authorization: {
5676
- type: "javascript_app",
5677
- redirectUri: ""
5678
- },
5679
- widgets: {
5680
- "chat-details": {
5681
- placement: "plugin",
5682
- url: "/livechat/details"
5683
- },
5684
- fullscreen: {
5685
- placement: "fullscreen",
5686
- url: "/livechat/fullscreen"
5687
- }
5688
- },
5689
- monetization: {
5690
- frequency: "monthly",
5691
- charge: "organization",
5692
- price: 500,
5693
- trialDays: 7
5694
- }
5695
- }
5696
- }
5697
- }
5698
- };
5699
- var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
5700
-
5701
5808
  // src/apis/platform/dps/applications/application/authorization/api.ts
5702
5809
  var platformDpsApplicationAuthorizationApi = {
5703
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) {
@@ -5085,6 +5354,7 @@ var livechatWebhookApi = {
5085
5354
  // src/apis/products/livechat/configuration/api.ts
5086
5355
  var livechatConfigurationApi = {
5087
5356
  agents: livechatAgentsApi,
5357
+ bots: livechatBotsTemplatesApi,
5088
5358
  property: livechatPropertyApi,
5089
5359
  webhook: livechatWebhookApi
5090
5360
  };
@@ -5382,169 +5652,6 @@ var platformAccountsApi = {
5382
5652
  token: platformAccountsTokenApi
5383
5653
  };
5384
5654
 
5385
- // src/constants/app/templates/repository.ts
5386
- var appRepositoryTemplatesMap = {
5387
- "livechat/developer-app-template-nextjs": "nextjs",
5388
- "livechat/developer-app-template-vite": "vite",
5389
- "livechat/developer-app-template-saas": "saas"
5390
- };
5391
- var appRepositoryTemplates = {
5392
- nextjs: {
5393
- id: "nextjs",
5394
- description: "Uses the most popular and versatile features from our SDKs:",
5395
- tags: ["Auth", "Webhooks", "Agent App SDK", "Moments"],
5396
- name: "Fullstack Next.js template",
5397
- repository: {
5398
- name: "livechat/developer-app-template-nextjs",
5399
- target: "nextjs"
5400
- }
5401
- },
5402
- vite: {
5403
- id: "vite",
5404
- name: "Vite template",
5405
- description: "Implements the same base functionalities as the Next.js template except for webhooks:",
5406
- tags: ["Auth", "Agent App SDK", "Moments"],
5407
- repository: {
5408
- name: "livechat/developer-app-template-vite",
5409
- target: "browser"
5410
- }
5411
- },
5412
- saas: {
5413
- id: "saas",
5414
- name: "Nextjs SaaS boilerplate",
5415
- description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
5416
- tags: [],
5417
- repository: {
5418
- name: "livechat/developer-app-template-saas",
5419
- target: "nextjs"
5420
- }
5421
- }
5422
- };
5423
-
5424
- // src/constants/app/templates/app.ts
5425
- var appTemplatesMap = {
5426
- "livechat/developer-app-template-saas": "saas"
5427
- };
5428
- var appBaseTemplates = {
5429
- "tag-master": {
5430
- id: "tag-master",
5431
- name: "Tag Master",
5432
- category: { name: "Agent App Widget" },
5433
- description: "Create, view, and delete tags and canned responses in an easy and predictable way.",
5434
- tags: ["Accounts SDK", "NextJS", "Configuration API"],
5435
- link: "https://github.com/bstopyra/tag-master-template",
5436
- icons: {},
5437
- repository: {
5438
- name: "bstopyra/tag-master-template",
5439
- target: "node"
5440
- }
5441
- },
5442
- progress: {
5443
- id: "progress",
5444
- name: "Progress",
5445
- category: { name: "Agent App Widget" },
5446
- description: "Creates reports based on data from chats: ratings, chatting time, response time.",
5447
- tags: ["Accounts SDK", "NextJS", "Reports API"],
5448
- link: "https://github.com/livechat/progress-app",
5449
- icons: {},
5450
- repository: {
5451
- name: "livechat/progress-app",
5452
- target: "node"
5453
- }
5454
- },
5455
- supervisor: {
5456
- id: "supervisor",
5457
- name: "Supervisor",
5458
- category: { name: "Agent App Widget" },
5459
- description: "Monitor statistics of your team, such as chat ratings, response times, and chatting times.",
5460
- tags: ["Accounts SDK", "NextJS", "Reports API"],
5461
- link: "https://github.com/livechat/supervisor-app",
5462
- icons: {},
5463
- repository: {
5464
- name: "livechat/supervisor-app",
5465
- target: "node"
5466
- }
5467
- },
5468
- popup: {
5469
- id: "popup",
5470
- name: "Popup app",
5471
- category: { name: "Agent App Widget" },
5472
- description: "Learn the ropes of the popup authorization flow from the Accounts SDK.",
5473
- tags: ["Accounts SDK", "Popup flow", "Widget"],
5474
- link: "https://github.com/livechat/sample-app-popup-auth",
5475
- icons: {},
5476
- repository: {
5477
- name: "livechat/sample-app-popup-auth",
5478
- target: "node"
5479
- }
5480
- },
5481
- redirect: {
5482
- id: "redirect",
5483
- name: "Redirect app",
5484
- category: { name: "Agent App Widget" },
5485
- description: "See how to implement the redirect authorization flow from the Accounts SDK.",
5486
- tags: ["Accounts SDK", "Redirect flow", "Widget"],
5487
- link: "https://github.com/livechat/sample-app-redirect-auth",
5488
- icons: {},
5489
- repository: {
5490
- name: "livechat/sample-app-redirect-auth",
5491
- target: "node"
5492
- }
5493
- }
5494
- };
5495
- var appTemplates = {
5496
- saas: {
5497
- id: "saas",
5498
- name: "Nextjs SaaS boilerplate",
5499
- category: { name: "Agent App Widget" },
5500
- description: "CRM-like app with key-value storage and simple UI. Authorization and payments fully set up.",
5501
- tags: ["UI", "Auth", "Storage", "Payments", "Analytics"],
5502
- template: true,
5503
- manifest: {
5504
- name: "Nextjs SaaS boilerplate",
5505
- product: "livechat",
5506
- blocks: {
5507
- repository: {
5508
- provider: "github",
5509
- name: "livechat/developer-app-template-saas",
5510
- branch: "main",
5511
- target: "nextjs"
5512
- },
5513
- deployment: {
5514
- provider: "vercel",
5515
- url: ""
5516
- },
5517
- storage: {
5518
- provider: "neon",
5519
- databaseName: "",
5520
- isSeeded: true
5521
- },
5522
- authorization: {
5523
- type: "javascript_app",
5524
- redirectUri: ""
5525
- },
5526
- widgets: {
5527
- "chat-details": {
5528
- placement: "plugin",
5529
- url: "/livechat/details"
5530
- },
5531
- fullscreen: {
5532
- placement: "fullscreen",
5533
- url: "/livechat/fullscreen"
5534
- }
5535
- },
5536
- monetization: {
5537
- frequency: "monthly",
5538
- charge: "organization",
5539
- price: 500,
5540
- trialDays: 7
5541
- }
5542
- }
5543
- }
5544
- }
5545
- };
5546
- var allAppTemplates = __spreadValues(__spreadValues(__spreadValues({}, appRepositoryTemplates), appBaseTemplates), appTemplates);
5547
-
5548
5655
  // src/apis/platform/dps/applications/application/authorization/api.ts
5549
5656
  var platformDpsApplicationAuthorizationApi = {
5550
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.62",
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",
@@ -21,8 +21,8 @@
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
23
  "eslint-config-custom": "0.0.8",
24
- "tsconfig": "0.0.1",
25
- "utils": "0.0.4"
24
+ "utils": "0.0.4",
25
+ "tsconfig": "0.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",