@livechat/developer-studio-api 3.1.43 → 3.1.44

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
@@ -4670,7 +4670,7 @@ interface Property extends PropertyDto {
4670
4670
  owner_client_id: string;
4671
4671
  }
4672
4672
 
4673
- interface WebhookDto {
4673
+ interface LivechatWebhookDto {
4674
4674
  id: string;
4675
4675
  api_version: string;
4676
4676
  action: string;
@@ -4683,7 +4683,7 @@ interface WebhookDto {
4683
4683
  };
4684
4684
  url: string;
4685
4685
  }
4686
- interface Webhook {
4686
+ interface LivechatWebhook {
4687
4687
  url: string;
4688
4688
  api_version?: string;
4689
4689
  action: string;
@@ -4696,7 +4696,7 @@ interface Webhook {
4696
4696
  only_my_chats?: boolean;
4697
4697
  };
4698
4698
  }
4699
- declare enum WebhookActions {
4699
+ declare enum LivechatWebhookActions {
4700
4700
  IncomingChat = "incoming_chat",
4701
4701
  ChatDeactivated = "chat_deactivated",
4702
4702
  ChatAccessUpdated = "chat_access_updated",
@@ -4706,7 +4706,7 @@ declare enum WebhookActions {
4706
4706
  IncomingEvent = "incoming_event",
4707
4707
  IncomingCustomer = "incoming_customer"
4708
4708
  }
4709
- type WebhookUser = {
4709
+ type LivechatWebhookUser = {
4710
4710
  id: string;
4711
4711
  name: string;
4712
4712
  events_seen_up_to: "2020-05-12T12:31:46.463000Z";
@@ -4755,7 +4755,7 @@ type WebhookUser = {
4755
4755
  avatar: string;
4756
4756
  visibility: "all";
4757
4757
  };
4758
- interface WebhookChat {
4758
+ interface LivechatWebhookChat {
4759
4759
  id: string;
4760
4760
  threads: {
4761
4761
  id: string;
@@ -4785,30 +4785,30 @@ interface WebhookChat {
4785
4785
  tags: string[];
4786
4786
  previous_thread_id: string;
4787
4787
  }[];
4788
- users: WebhookUser[];
4788
+ users: LivechatWebhookUser[];
4789
4789
  properties: Record<string, Record<string, string>>;
4790
4790
  access: {
4791
4791
  group_ids: number[];
4792
4792
  };
4793
4793
  is_followed: boolean;
4794
4794
  }
4795
- declare enum WebhookEvents {
4795
+ declare enum LivechatWebhookEvents {
4796
4796
  Message = "message",
4797
4797
  SystemMessage = "system_message",
4798
4798
  Custom = "custom"
4799
4799
  }
4800
- declare enum WebhookSystemMessages {
4800
+ declare enum LivechatWebhookSystemMessages {
4801
4801
  ChatRated = "rating.chat_rated",
4802
4802
  ChatCommented = "rating.chat_commented"
4803
4803
  }
4804
- interface WebhookSystemMessageEvent {
4804
+ interface LivechatWebhookSystemMessageEvent {
4805
4805
  custom_id: string;
4806
4806
  text: string;
4807
- system_message_type: WebhookSystemMessages;
4807
+ system_message_type: LivechatWebhookSystemMessages;
4808
4808
  visibility: "all" | "agents";
4809
4809
  text_vars: Record<string, object>;
4810
4810
  }
4811
- interface WebhookMessageEvent {
4811
+ interface LivechatWebhookMessageEvent {
4812
4812
  custom_id: string;
4813
4813
  text: string;
4814
4814
  visibility: "all" | "agents";
@@ -4821,35 +4821,35 @@ interface WebhookMessageEvent {
4821
4821
  value?: string;
4822
4822
  };
4823
4823
  }
4824
- type WebhookEvent = ({
4825
- type: WebhookEvents.Message;
4826
- } & WebhookMessageEvent) | ({
4827
- type: WebhookEvents.SystemMessage;
4828
- } & WebhookSystemMessageEvent);
4824
+ type LivechatWebhookEvent = ({
4825
+ type: LivechatWebhookEvents.Message;
4826
+ } & LivechatWebhookMessageEvent) | ({
4827
+ type: LivechatWebhookEvents.SystemMessage;
4828
+ } & LivechatWebhookSystemMessageEvent);
4829
4829
 
4830
- interface WebhookDataBase<TPayload = unknown> {
4830
+ interface LivechatWebhookDataBase<TPayload = unknown> {
4831
4831
  webhookId: string;
4832
4832
  secret_key: string;
4833
4833
  organization_id: string;
4834
- action: WebhookActions;
4834
+ action: LivechatWebhookActions;
4835
4835
  additional_data: {
4836
4836
  chat_properties: Record<string, string>;
4837
4837
  chat_presence_user_ids: string[];
4838
4838
  };
4839
4839
  payload: TPayload;
4840
4840
  }
4841
- type WebhookConcreteData<TAction extends WebhookActions, TPayload> = WebhookDataBase<TPayload> & {
4841
+ type LivechatWebhookConcreteData<TAction extends LivechatWebhookActions, TPayload> = LivechatWebhookDataBase<TPayload> & {
4842
4842
  action: TAction;
4843
4843
  };
4844
- type IncomingChatWebhookData = WebhookConcreteData<WebhookActions.IncomingChat, {
4845
- chat: WebhookChat;
4844
+ type IncomingChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingChat, {
4845
+ chat: LivechatWebhookChat;
4846
4846
  }>;
4847
- type ChatDeactivatedWebhookData = WebhookConcreteData<WebhookActions.ChatDeactivated, {
4847
+ type ChatDeactivatedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatDeactivated, {
4848
4848
  chat_id: string;
4849
4849
  thread_id: string;
4850
4850
  user_id: string;
4851
4851
  }>;
4852
- type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransferred, {
4852
+ type ChatTransferredLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatTransferred, {
4853
4853
  chat_id: string;
4854
4854
  thread_id: string;
4855
4855
  requester_id: string;
@@ -4864,26 +4864,26 @@ type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransfe
4864
4864
  queue_at_us: string;
4865
4865
  };
4866
4866
  }>;
4867
- type UserAddedToChatWebhookData = WebhookConcreteData<WebhookActions.UserAddedToChat, {
4867
+ type UserAddedToChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserAddedToChat, {
4868
4868
  chat_id: string;
4869
4869
  thread_id: string;
4870
4870
  requester_id: string;
4871
4871
  reason: string;
4872
- user: WebhookUser;
4872
+ user: LivechatWebhookUser;
4873
4873
  }>;
4874
- type UserRemovedFromChatWebhookData = WebhookConcreteData<WebhookActions.UserRemovedFromChat, {
4874
+ type UserRemovedFromChatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserRemovedFromChat, {
4875
4875
  chat_id: string;
4876
4876
  thread_id: string;
4877
4877
  requester_id: string;
4878
4878
  reason: string;
4879
4879
  user_id: string;
4880
4880
  }>;
4881
- type IncomingEventWebhookData = WebhookConcreteData<WebhookActions.IncomingEvent, {
4881
+ type IncomingEventLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingEvent, {
4882
4882
  chat_id: string;
4883
4883
  thread_id: string;
4884
- event: WebhookEvent;
4884
+ event: LivechatWebhookEvent;
4885
4885
  }>;
4886
- type WebhookData = IncomingChatWebhookData | ChatDeactivatedWebhookData | ChatTransferredWebhookData | UserAddedToChatWebhookData | UserRemovedFromChatWebhookData | IncomingEventWebhookData;
4886
+ type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
4887
4887
 
4888
4888
  type LiveChatConfigurationApiError = {
4889
4889
  type: string;
@@ -5455,14 +5455,14 @@ declare const api: {
5455
5455
  unregisterProperties(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5456
5456
  };
5457
5457
  webhook: {
5458
- getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
5458
+ getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any>>;
5459
5459
  unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5460
5460
  unregisterWebhooks(clientId?: string | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5461
- registerWebhook(webhook: Webhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5462
- registerWebhooks(webhooks: Webhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5463
- migrateWebhooks(webhooks: Webhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5464
- getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any> | {
5465
- data: WebhookDto[];
5461
+ registerWebhook(webhook: LivechatWebhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5462
+ registerWebhooks(webhooks: LivechatWebhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5463
+ migrateWebhooks(webhooks: LivechatWebhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5464
+ getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any> | {
5465
+ data: LivechatWebhookDto[];
5466
5466
  }>;
5467
5467
  deleteLicenseWebhook(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5468
5468
  getWebhookNamesList(version: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
@@ -5907,4 +5907,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
5907
5907
  };
5908
5908
  }): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
5909
5909
 
5910
- 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, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, 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, IncomingChatWebhookData, IncomingEventWebhookData, 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, 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, TriggerPayload, TriggerType, 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, UserAddedToChatWebhookData, 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, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, 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 };
5910
+ 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, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, 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, 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, TriggerPayload, TriggerType, 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, 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, WorkflowExecutionPayload, 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
@@ -4670,7 +4670,7 @@ interface Property extends PropertyDto {
4670
4670
  owner_client_id: string;
4671
4671
  }
4672
4672
 
4673
- interface WebhookDto {
4673
+ interface LivechatWebhookDto {
4674
4674
  id: string;
4675
4675
  api_version: string;
4676
4676
  action: string;
@@ -4683,7 +4683,7 @@ interface WebhookDto {
4683
4683
  };
4684
4684
  url: string;
4685
4685
  }
4686
- interface Webhook {
4686
+ interface LivechatWebhook {
4687
4687
  url: string;
4688
4688
  api_version?: string;
4689
4689
  action: string;
@@ -4696,7 +4696,7 @@ interface Webhook {
4696
4696
  only_my_chats?: boolean;
4697
4697
  };
4698
4698
  }
4699
- declare enum WebhookActions {
4699
+ declare enum LivechatWebhookActions {
4700
4700
  IncomingChat = "incoming_chat",
4701
4701
  ChatDeactivated = "chat_deactivated",
4702
4702
  ChatAccessUpdated = "chat_access_updated",
@@ -4706,7 +4706,7 @@ declare enum WebhookActions {
4706
4706
  IncomingEvent = "incoming_event",
4707
4707
  IncomingCustomer = "incoming_customer"
4708
4708
  }
4709
- type WebhookUser = {
4709
+ type LivechatWebhookUser = {
4710
4710
  id: string;
4711
4711
  name: string;
4712
4712
  events_seen_up_to: "2020-05-12T12:31:46.463000Z";
@@ -4755,7 +4755,7 @@ type WebhookUser = {
4755
4755
  avatar: string;
4756
4756
  visibility: "all";
4757
4757
  };
4758
- interface WebhookChat {
4758
+ interface LivechatWebhookChat {
4759
4759
  id: string;
4760
4760
  threads: {
4761
4761
  id: string;
@@ -4785,30 +4785,30 @@ interface WebhookChat {
4785
4785
  tags: string[];
4786
4786
  previous_thread_id: string;
4787
4787
  }[];
4788
- users: WebhookUser[];
4788
+ users: LivechatWebhookUser[];
4789
4789
  properties: Record<string, Record<string, string>>;
4790
4790
  access: {
4791
4791
  group_ids: number[];
4792
4792
  };
4793
4793
  is_followed: boolean;
4794
4794
  }
4795
- declare enum WebhookEvents {
4795
+ declare enum LivechatWebhookEvents {
4796
4796
  Message = "message",
4797
4797
  SystemMessage = "system_message",
4798
4798
  Custom = "custom"
4799
4799
  }
4800
- declare enum WebhookSystemMessages {
4800
+ declare enum LivechatWebhookSystemMessages {
4801
4801
  ChatRated = "rating.chat_rated",
4802
4802
  ChatCommented = "rating.chat_commented"
4803
4803
  }
4804
- interface WebhookSystemMessageEvent {
4804
+ interface LivechatWebhookSystemMessageEvent {
4805
4805
  custom_id: string;
4806
4806
  text: string;
4807
- system_message_type: WebhookSystemMessages;
4807
+ system_message_type: LivechatWebhookSystemMessages;
4808
4808
  visibility: "all" | "agents";
4809
4809
  text_vars: Record<string, object>;
4810
4810
  }
4811
- interface WebhookMessageEvent {
4811
+ interface LivechatWebhookMessageEvent {
4812
4812
  custom_id: string;
4813
4813
  text: string;
4814
4814
  visibility: "all" | "agents";
@@ -4821,35 +4821,35 @@ interface WebhookMessageEvent {
4821
4821
  value?: string;
4822
4822
  };
4823
4823
  }
4824
- type WebhookEvent = ({
4825
- type: WebhookEvents.Message;
4826
- } & WebhookMessageEvent) | ({
4827
- type: WebhookEvents.SystemMessage;
4828
- } & WebhookSystemMessageEvent);
4824
+ type LivechatWebhookEvent = ({
4825
+ type: LivechatWebhookEvents.Message;
4826
+ } & LivechatWebhookMessageEvent) | ({
4827
+ type: LivechatWebhookEvents.SystemMessage;
4828
+ } & LivechatWebhookSystemMessageEvent);
4829
4829
 
4830
- interface WebhookDataBase<TPayload = unknown> {
4830
+ interface LivechatWebhookDataBase<TPayload = unknown> {
4831
4831
  webhookId: string;
4832
4832
  secret_key: string;
4833
4833
  organization_id: string;
4834
- action: WebhookActions;
4834
+ action: LivechatWebhookActions;
4835
4835
  additional_data: {
4836
4836
  chat_properties: Record<string, string>;
4837
4837
  chat_presence_user_ids: string[];
4838
4838
  };
4839
4839
  payload: TPayload;
4840
4840
  }
4841
- type WebhookConcreteData<TAction extends WebhookActions, TPayload> = WebhookDataBase<TPayload> & {
4841
+ type LivechatWebhookConcreteData<TAction extends LivechatWebhookActions, TPayload> = LivechatWebhookDataBase<TPayload> & {
4842
4842
  action: TAction;
4843
4843
  };
4844
- type IncomingChatWebhookData = WebhookConcreteData<WebhookActions.IncomingChat, {
4845
- chat: WebhookChat;
4844
+ type IncomingChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingChat, {
4845
+ chat: LivechatWebhookChat;
4846
4846
  }>;
4847
- type ChatDeactivatedWebhookData = WebhookConcreteData<WebhookActions.ChatDeactivated, {
4847
+ type ChatDeactivatedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatDeactivated, {
4848
4848
  chat_id: string;
4849
4849
  thread_id: string;
4850
4850
  user_id: string;
4851
4851
  }>;
4852
- type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransferred, {
4852
+ type ChatTransferredLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatTransferred, {
4853
4853
  chat_id: string;
4854
4854
  thread_id: string;
4855
4855
  requester_id: string;
@@ -4864,26 +4864,26 @@ type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransfe
4864
4864
  queue_at_us: string;
4865
4865
  };
4866
4866
  }>;
4867
- type UserAddedToChatWebhookData = WebhookConcreteData<WebhookActions.UserAddedToChat, {
4867
+ type UserAddedToChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserAddedToChat, {
4868
4868
  chat_id: string;
4869
4869
  thread_id: string;
4870
4870
  requester_id: string;
4871
4871
  reason: string;
4872
- user: WebhookUser;
4872
+ user: LivechatWebhookUser;
4873
4873
  }>;
4874
- type UserRemovedFromChatWebhookData = WebhookConcreteData<WebhookActions.UserRemovedFromChat, {
4874
+ type UserRemovedFromChatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserRemovedFromChat, {
4875
4875
  chat_id: string;
4876
4876
  thread_id: string;
4877
4877
  requester_id: string;
4878
4878
  reason: string;
4879
4879
  user_id: string;
4880
4880
  }>;
4881
- type IncomingEventWebhookData = WebhookConcreteData<WebhookActions.IncomingEvent, {
4881
+ type IncomingEventLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingEvent, {
4882
4882
  chat_id: string;
4883
4883
  thread_id: string;
4884
- event: WebhookEvent;
4884
+ event: LivechatWebhookEvent;
4885
4885
  }>;
4886
- type WebhookData = IncomingChatWebhookData | ChatDeactivatedWebhookData | ChatTransferredWebhookData | UserAddedToChatWebhookData | UserRemovedFromChatWebhookData | IncomingEventWebhookData;
4886
+ type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
4887
4887
 
4888
4888
  type LiveChatConfigurationApiError = {
4889
4889
  type: string;
@@ -5455,14 +5455,14 @@ declare const api: {
5455
5455
  unregisterProperties(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5456
5456
  };
5457
5457
  webhook: {
5458
- getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
5458
+ getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any>>;
5459
5459
  unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5460
5460
  unregisterWebhooks(clientId?: string | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5461
- registerWebhook(webhook: Webhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5462
- registerWebhooks(webhooks: Webhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5463
- migrateWebhooks(webhooks: Webhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5464
- getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any> | {
5465
- data: WebhookDto[];
5461
+ registerWebhook(webhook: LivechatWebhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5462
+ registerWebhooks(webhooks: LivechatWebhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5463
+ migrateWebhooks(webhooks: LivechatWebhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5464
+ getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any> | {
5465
+ data: LivechatWebhookDto[];
5466
5466
  }>;
5467
5467
  deleteLicenseWebhook(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5468
5468
  getWebhookNamesList(version: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
@@ -5907,4 +5907,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
5907
5907
  };
5908
5908
  }): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
5909
5909
 
5910
- 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, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, 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, IncomingChatWebhookData, IncomingEventWebhookData, 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, 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, TriggerPayload, TriggerType, 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, UserAddedToChatWebhookData, 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, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, 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 };
5910
+ 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, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, 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, 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, TriggerPayload, TriggerType, 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, 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, WorkflowExecutionPayload, 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
@@ -82,6 +82,9 @@ __export(src_exports, {
82
82
  IntegrationModes: () => IntegrationModes,
83
83
  IntegrationNames: () => IntegrationNames,
84
84
  LivechatApiError: () => LivechatApiError,
85
+ LivechatWebhookActions: () => LivechatWebhookActions,
86
+ LivechatWebhookEvents: () => LivechatWebhookEvents,
87
+ LivechatWebhookSystemMessages: () => LivechatWebhookSystemMessages,
85
88
  MailchimpApiError: () => MailchimpApiError,
86
89
  MailchimpEventNames: () => MailchimpEventNames,
87
90
  ShopifyApiError: () => ShopifyApiError,
@@ -90,9 +93,6 @@ __export(src_exports, {
90
93
  TextLivechatEventNames: () => TextLivechatEventNames,
91
94
  UnauthorizeAccountsApiError: () => UnauthorizeAccountsApiError,
92
95
  UnauthorizeApiError: () => UnauthorizeApiError,
93
- WebhookActions: () => WebhookActions,
94
- WebhookEvents: () => WebhookEvents,
95
- WebhookSystemMessages: () => WebhookSystemMessages,
96
96
  WorkflowDefinitionTaskType: () => WorkflowDefinitionTaskType,
97
97
  allAppTemplates: () => allAppTemplates,
98
98
  api: () => api,
@@ -7427,28 +7427,28 @@ var integrationEventsZods = {
7427
7427
  };
7428
7428
 
7429
7429
  // src/apis/products/livechat/configuration/webhooks/_contracts/dtos/webhook.ts
7430
- var WebhookActions = /* @__PURE__ */ ((WebhookActions2) => {
7431
- WebhookActions2["IncomingChat"] = "incoming_chat";
7432
- WebhookActions2["ChatDeactivated"] = "chat_deactivated";
7433
- WebhookActions2["ChatAccessUpdated"] = "chat_access_updated";
7434
- WebhookActions2["ChatTransferred"] = "chat_transferred";
7435
- WebhookActions2["UserAddedToChat"] = "user_added_to_chat";
7436
- WebhookActions2["UserRemovedFromChat"] = "user_removed_from_chat";
7437
- WebhookActions2["IncomingEvent"] = "incoming_event";
7438
- WebhookActions2["IncomingCustomer"] = "incoming_customer";
7439
- return WebhookActions2;
7440
- })(WebhookActions || {});
7441
- var WebhookEvents = /* @__PURE__ */ ((WebhookEvents2) => {
7442
- WebhookEvents2["Message"] = "message";
7443
- WebhookEvents2["SystemMessage"] = "system_message";
7444
- WebhookEvents2["Custom"] = "custom";
7445
- return WebhookEvents2;
7446
- })(WebhookEvents || {});
7447
- var WebhookSystemMessages = /* @__PURE__ */ ((WebhookSystemMessages2) => {
7448
- WebhookSystemMessages2["ChatRated"] = "rating.chat_rated";
7449
- WebhookSystemMessages2["ChatCommented"] = "rating.chat_commented";
7450
- return WebhookSystemMessages2;
7451
- })(WebhookSystemMessages || {});
7430
+ var LivechatWebhookActions = /* @__PURE__ */ ((LivechatWebhookActions2) => {
7431
+ LivechatWebhookActions2["IncomingChat"] = "incoming_chat";
7432
+ LivechatWebhookActions2["ChatDeactivated"] = "chat_deactivated";
7433
+ LivechatWebhookActions2["ChatAccessUpdated"] = "chat_access_updated";
7434
+ LivechatWebhookActions2["ChatTransferred"] = "chat_transferred";
7435
+ LivechatWebhookActions2["UserAddedToChat"] = "user_added_to_chat";
7436
+ LivechatWebhookActions2["UserRemovedFromChat"] = "user_removed_from_chat";
7437
+ LivechatWebhookActions2["IncomingEvent"] = "incoming_event";
7438
+ LivechatWebhookActions2["IncomingCustomer"] = "incoming_customer";
7439
+ return LivechatWebhookActions2;
7440
+ })(LivechatWebhookActions || {});
7441
+ var LivechatWebhookEvents = /* @__PURE__ */ ((LivechatWebhookEvents2) => {
7442
+ LivechatWebhookEvents2["Message"] = "message";
7443
+ LivechatWebhookEvents2["SystemMessage"] = "system_message";
7444
+ LivechatWebhookEvents2["Custom"] = "custom";
7445
+ return LivechatWebhookEvents2;
7446
+ })(LivechatWebhookEvents || {});
7447
+ var LivechatWebhookSystemMessages = /* @__PURE__ */ ((LivechatWebhookSystemMessages2) => {
7448
+ LivechatWebhookSystemMessages2["ChatRated"] = "rating.chat_rated";
7449
+ LivechatWebhookSystemMessages2["ChatCommented"] = "rating.chat_commented";
7450
+ return LivechatWebhookSystemMessages2;
7451
+ })(LivechatWebhookSystemMessages || {});
7452
7452
 
7453
7453
  // src/apis/platform/adapter/integrations/bigcommerce/api.ts
7454
7454
  var platformAdapterBigCommerceApi = {
@@ -7852,6 +7852,9 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
7852
7852
  IntegrationModes,
7853
7853
  IntegrationNames,
7854
7854
  LivechatApiError,
7855
+ LivechatWebhookActions,
7856
+ LivechatWebhookEvents,
7857
+ LivechatWebhookSystemMessages,
7855
7858
  MailchimpApiError,
7856
7859
  MailchimpEventNames,
7857
7860
  ShopifyApiError,
@@ -7860,9 +7863,6 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
7860
7863
  TextLivechatEventNames,
7861
7864
  UnauthorizeAccountsApiError,
7862
7865
  UnauthorizeApiError,
7863
- WebhookActions,
7864
- WebhookEvents,
7865
- WebhookSystemMessages,
7866
7866
  WorkflowDefinitionTaskType,
7867
7867
  allAppTemplates,
7868
7868
  api,
package/dist/index.mjs CHANGED
@@ -7275,28 +7275,28 @@ var integrationEventsZods = {
7275
7275
  };
7276
7276
 
7277
7277
  // src/apis/products/livechat/configuration/webhooks/_contracts/dtos/webhook.ts
7278
- var WebhookActions = /* @__PURE__ */ ((WebhookActions2) => {
7279
- WebhookActions2["IncomingChat"] = "incoming_chat";
7280
- WebhookActions2["ChatDeactivated"] = "chat_deactivated";
7281
- WebhookActions2["ChatAccessUpdated"] = "chat_access_updated";
7282
- WebhookActions2["ChatTransferred"] = "chat_transferred";
7283
- WebhookActions2["UserAddedToChat"] = "user_added_to_chat";
7284
- WebhookActions2["UserRemovedFromChat"] = "user_removed_from_chat";
7285
- WebhookActions2["IncomingEvent"] = "incoming_event";
7286
- WebhookActions2["IncomingCustomer"] = "incoming_customer";
7287
- return WebhookActions2;
7288
- })(WebhookActions || {});
7289
- var WebhookEvents = /* @__PURE__ */ ((WebhookEvents2) => {
7290
- WebhookEvents2["Message"] = "message";
7291
- WebhookEvents2["SystemMessage"] = "system_message";
7292
- WebhookEvents2["Custom"] = "custom";
7293
- return WebhookEvents2;
7294
- })(WebhookEvents || {});
7295
- var WebhookSystemMessages = /* @__PURE__ */ ((WebhookSystemMessages2) => {
7296
- WebhookSystemMessages2["ChatRated"] = "rating.chat_rated";
7297
- WebhookSystemMessages2["ChatCommented"] = "rating.chat_commented";
7298
- return WebhookSystemMessages2;
7299
- })(WebhookSystemMessages || {});
7278
+ var LivechatWebhookActions = /* @__PURE__ */ ((LivechatWebhookActions2) => {
7279
+ LivechatWebhookActions2["IncomingChat"] = "incoming_chat";
7280
+ LivechatWebhookActions2["ChatDeactivated"] = "chat_deactivated";
7281
+ LivechatWebhookActions2["ChatAccessUpdated"] = "chat_access_updated";
7282
+ LivechatWebhookActions2["ChatTransferred"] = "chat_transferred";
7283
+ LivechatWebhookActions2["UserAddedToChat"] = "user_added_to_chat";
7284
+ LivechatWebhookActions2["UserRemovedFromChat"] = "user_removed_from_chat";
7285
+ LivechatWebhookActions2["IncomingEvent"] = "incoming_event";
7286
+ LivechatWebhookActions2["IncomingCustomer"] = "incoming_customer";
7287
+ return LivechatWebhookActions2;
7288
+ })(LivechatWebhookActions || {});
7289
+ var LivechatWebhookEvents = /* @__PURE__ */ ((LivechatWebhookEvents2) => {
7290
+ LivechatWebhookEvents2["Message"] = "message";
7291
+ LivechatWebhookEvents2["SystemMessage"] = "system_message";
7292
+ LivechatWebhookEvents2["Custom"] = "custom";
7293
+ return LivechatWebhookEvents2;
7294
+ })(LivechatWebhookEvents || {});
7295
+ var LivechatWebhookSystemMessages = /* @__PURE__ */ ((LivechatWebhookSystemMessages2) => {
7296
+ LivechatWebhookSystemMessages2["ChatRated"] = "rating.chat_rated";
7297
+ LivechatWebhookSystemMessages2["ChatCommented"] = "rating.chat_commented";
7298
+ return LivechatWebhookSystemMessages2;
7299
+ })(LivechatWebhookSystemMessages || {});
7300
7300
 
7301
7301
  // src/apis/platform/adapter/integrations/bigcommerce/api.ts
7302
7302
  var platformAdapterBigCommerceApi = {
@@ -7699,6 +7699,9 @@ export {
7699
7699
  IntegrationModes,
7700
7700
  IntegrationNames,
7701
7701
  LivechatApiError,
7702
+ LivechatWebhookActions,
7703
+ LivechatWebhookEvents,
7704
+ LivechatWebhookSystemMessages,
7702
7705
  MailchimpApiError,
7703
7706
  MailchimpEventNames,
7704
7707
  ShopifyApiError,
@@ -7707,9 +7710,6 @@ export {
7707
7710
  TextLivechatEventNames,
7708
7711
  UnauthorizeAccountsApiError,
7709
7712
  UnauthorizeApiError,
7710
- WebhookActions,
7711
- WebhookEvents,
7712
- WebhookSystemMessages,
7713
7713
  WorkflowDefinitionTaskType,
7714
7714
  allAppTemplates,
7715
7715
  api,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.1.43",
3
+ "version": "3.1.44",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",