@livechat/developer-studio-api 3.1.43 → 3.1.45

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
@@ -386,27 +386,12 @@ interface GetTextPlatformDashboardReportParams {
386
386
  is_source_private?: boolean;
387
387
  }
388
388
 
389
- type TriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
390
- type TriggerPayload = {
391
- type: "manual_only";
392
- } | {
393
- type: "recurring";
394
- schedule: string;
395
- } | {
396
- type: "one_time";
397
- at: string;
398
- } | {
399
- type: "webhook";
400
- webhook_event: string;
401
- webhook_source: string;
402
- webhook_props: Record<string, string>;
403
- };
404
389
  interface WorkflowsDto {
405
390
  active: boolean;
406
391
  name: string;
407
392
  version: number;
408
393
  description: string;
409
- trigger_type: TriggerType;
394
+ trigger_type: WorkflowTriggerType;
410
395
  created_by: string;
411
396
  }
412
397
  interface WorkflowDto {
@@ -414,13 +399,27 @@ interface WorkflowDto {
414
399
  name: string;
415
400
  version: number;
416
401
  description: string;
417
- definition: WorkflowDefinitionDto;
418
402
  created_at: string;
419
403
  updated_at: string;
420
404
  created_by: string;
421
- trigger: TriggerPayload;
422
- third_party_headers: Record<string, string[]>;
405
+ trigger: WorkflowTriggerDto;
406
+ definition: WorkflowDefinitionDto;
423
407
  }
408
+ type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
409
+ type WorkflowTriggerDto = {
410
+ type: "manual_only";
411
+ } | {
412
+ type: "recurring";
413
+ schedule: string;
414
+ } | {
415
+ type: "one_time";
416
+ at: string;
417
+ } | {
418
+ type: "webhook";
419
+ webhook_event: string;
420
+ webhook_source: string;
421
+ webhook_props: Record<string, string>;
422
+ };
424
423
  interface WorkflowDefinitionDto {
425
424
  name: string;
426
425
  version: number;
@@ -504,17 +503,15 @@ interface WorkflowDefinitionsQueryParams {
504
503
  exact?: boolean;
505
504
  };
506
505
  }
507
- interface CreateWorkflowPayload {
506
+ interface UpsertWorkflowPayload {
508
507
  name: string;
509
508
  description: string;
509
+ trigger: WorkflowTriggerDto;
510
510
  definition: WorkflowDefinitionDto;
511
- trigger: TriggerPayload;
512
- third_party_headers: Record<string, string[]>;
513
511
  }
514
512
  interface GetWorkflowPayload {
515
513
  name: string;
516
514
  version?: number;
517
- third_party_headers?: Record<string, string[]>;
518
515
  }
519
516
  interface WorkflowExecution {
520
517
  id: string;
@@ -4670,7 +4667,7 @@ interface Property extends PropertyDto {
4670
4667
  owner_client_id: string;
4671
4668
  }
4672
4669
 
4673
- interface WebhookDto {
4670
+ interface LivechatWebhookDto {
4674
4671
  id: string;
4675
4672
  api_version: string;
4676
4673
  action: string;
@@ -4683,7 +4680,7 @@ interface WebhookDto {
4683
4680
  };
4684
4681
  url: string;
4685
4682
  }
4686
- interface Webhook {
4683
+ interface LivechatWebhook {
4687
4684
  url: string;
4688
4685
  api_version?: string;
4689
4686
  action: string;
@@ -4696,7 +4693,7 @@ interface Webhook {
4696
4693
  only_my_chats?: boolean;
4697
4694
  };
4698
4695
  }
4699
- declare enum WebhookActions {
4696
+ declare enum LivechatWebhookActions {
4700
4697
  IncomingChat = "incoming_chat",
4701
4698
  ChatDeactivated = "chat_deactivated",
4702
4699
  ChatAccessUpdated = "chat_access_updated",
@@ -4706,7 +4703,7 @@ declare enum WebhookActions {
4706
4703
  IncomingEvent = "incoming_event",
4707
4704
  IncomingCustomer = "incoming_customer"
4708
4705
  }
4709
- type WebhookUser = {
4706
+ type LivechatWebhookUser = {
4710
4707
  id: string;
4711
4708
  name: string;
4712
4709
  events_seen_up_to: "2020-05-12T12:31:46.463000Z";
@@ -4755,7 +4752,7 @@ type WebhookUser = {
4755
4752
  avatar: string;
4756
4753
  visibility: "all";
4757
4754
  };
4758
- interface WebhookChat {
4755
+ interface LivechatWebhookChat {
4759
4756
  id: string;
4760
4757
  threads: {
4761
4758
  id: string;
@@ -4785,30 +4782,30 @@ interface WebhookChat {
4785
4782
  tags: string[];
4786
4783
  previous_thread_id: string;
4787
4784
  }[];
4788
- users: WebhookUser[];
4785
+ users: LivechatWebhookUser[];
4789
4786
  properties: Record<string, Record<string, string>>;
4790
4787
  access: {
4791
4788
  group_ids: number[];
4792
4789
  };
4793
4790
  is_followed: boolean;
4794
4791
  }
4795
- declare enum WebhookEvents {
4792
+ declare enum LivechatWebhookEvents {
4796
4793
  Message = "message",
4797
4794
  SystemMessage = "system_message",
4798
4795
  Custom = "custom"
4799
4796
  }
4800
- declare enum WebhookSystemMessages {
4797
+ declare enum LivechatWebhookSystemMessages {
4801
4798
  ChatRated = "rating.chat_rated",
4802
4799
  ChatCommented = "rating.chat_commented"
4803
4800
  }
4804
- interface WebhookSystemMessageEvent {
4801
+ interface LivechatWebhookSystemMessageEvent {
4805
4802
  custom_id: string;
4806
4803
  text: string;
4807
- system_message_type: WebhookSystemMessages;
4804
+ system_message_type: LivechatWebhookSystemMessages;
4808
4805
  visibility: "all" | "agents";
4809
4806
  text_vars: Record<string, object>;
4810
4807
  }
4811
- interface WebhookMessageEvent {
4808
+ interface LivechatWebhookMessageEvent {
4812
4809
  custom_id: string;
4813
4810
  text: string;
4814
4811
  visibility: "all" | "agents";
@@ -4821,35 +4818,35 @@ interface WebhookMessageEvent {
4821
4818
  value?: string;
4822
4819
  };
4823
4820
  }
4824
- type WebhookEvent = ({
4825
- type: WebhookEvents.Message;
4826
- } & WebhookMessageEvent) | ({
4827
- type: WebhookEvents.SystemMessage;
4828
- } & WebhookSystemMessageEvent);
4821
+ type LivechatWebhookEvent = ({
4822
+ type: LivechatWebhookEvents.Message;
4823
+ } & LivechatWebhookMessageEvent) | ({
4824
+ type: LivechatWebhookEvents.SystemMessage;
4825
+ } & LivechatWebhookSystemMessageEvent);
4829
4826
 
4830
- interface WebhookDataBase<TPayload = unknown> {
4827
+ interface LivechatWebhookDataBase<TPayload = unknown> {
4831
4828
  webhookId: string;
4832
4829
  secret_key: string;
4833
4830
  organization_id: string;
4834
- action: WebhookActions;
4831
+ action: LivechatWebhookActions;
4835
4832
  additional_data: {
4836
4833
  chat_properties: Record<string, string>;
4837
4834
  chat_presence_user_ids: string[];
4838
4835
  };
4839
4836
  payload: TPayload;
4840
4837
  }
4841
- type WebhookConcreteData<TAction extends WebhookActions, TPayload> = WebhookDataBase<TPayload> & {
4838
+ type LivechatWebhookConcreteData<TAction extends LivechatWebhookActions, TPayload> = LivechatWebhookDataBase<TPayload> & {
4842
4839
  action: TAction;
4843
4840
  };
4844
- type IncomingChatWebhookData = WebhookConcreteData<WebhookActions.IncomingChat, {
4845
- chat: WebhookChat;
4841
+ type IncomingChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingChat, {
4842
+ chat: LivechatWebhookChat;
4846
4843
  }>;
4847
- type ChatDeactivatedWebhookData = WebhookConcreteData<WebhookActions.ChatDeactivated, {
4844
+ type ChatDeactivatedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatDeactivated, {
4848
4845
  chat_id: string;
4849
4846
  thread_id: string;
4850
4847
  user_id: string;
4851
4848
  }>;
4852
- type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransferred, {
4849
+ type ChatTransferredLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatTransferred, {
4853
4850
  chat_id: string;
4854
4851
  thread_id: string;
4855
4852
  requester_id: string;
@@ -4864,26 +4861,26 @@ type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransfe
4864
4861
  queue_at_us: string;
4865
4862
  };
4866
4863
  }>;
4867
- type UserAddedToChatWebhookData = WebhookConcreteData<WebhookActions.UserAddedToChat, {
4864
+ type UserAddedToChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserAddedToChat, {
4868
4865
  chat_id: string;
4869
4866
  thread_id: string;
4870
4867
  requester_id: string;
4871
4868
  reason: string;
4872
- user: WebhookUser;
4869
+ user: LivechatWebhookUser;
4873
4870
  }>;
4874
- type UserRemovedFromChatWebhookData = WebhookConcreteData<WebhookActions.UserRemovedFromChat, {
4871
+ type UserRemovedFromChatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserRemovedFromChat, {
4875
4872
  chat_id: string;
4876
4873
  thread_id: string;
4877
4874
  requester_id: string;
4878
4875
  reason: string;
4879
4876
  user_id: string;
4880
4877
  }>;
4881
- type IncomingEventWebhookData = WebhookConcreteData<WebhookActions.IncomingEvent, {
4878
+ type IncomingEventLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingEvent, {
4882
4879
  chat_id: string;
4883
4880
  thread_id: string;
4884
- event: WebhookEvent;
4881
+ event: LivechatWebhookEvent;
4885
4882
  }>;
4886
- type WebhookData = IncomingChatWebhookData | ChatDeactivatedWebhookData | ChatTransferredWebhookData | UserAddedToChatWebhookData | UserRemovedFromChatWebhookData | IncomingEventWebhookData;
4883
+ type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
4887
4884
 
4888
4885
  type LiveChatConfigurationApiError = {
4889
4886
  type: string;
@@ -5455,14 +5452,14 @@ declare const api: {
5455
5452
  unregisterProperties(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5456
5453
  };
5457
5454
  webhook: {
5458
- getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
5455
+ getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any>>;
5459
5456
  unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5460
5457
  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[];
5458
+ registerWebhook(webhook: LivechatWebhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5459
+ registerWebhooks(webhooks: LivechatWebhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5460
+ migrateWebhooks(webhooks: LivechatWebhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5461
+ getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any> | {
5462
+ data: LivechatWebhookDto[];
5466
5463
  }>;
5467
5464
  deleteLicenseWebhook(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5468
5465
  getWebhookNamesList(version: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
@@ -5783,12 +5780,18 @@ declare const api: {
5783
5780
  workflow: {
5784
5781
  workflows: {
5785
5782
  getWorkflows(authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowsDto[]>;
5786
- createWorkflow(payload: CreateWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5787
5783
  getWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowDto>;
5788
- updateWorkflow(payload: CreateWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<{
5784
+ createWorkflow(payload: UpsertWorkflowPayload & {
5785
+ third_party_headers: Record<string, string[]>;
5786
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5787
+ updateWorkflow(payload: UpsertWorkflowPayload & {
5788
+ third_party_headers: Record<string, string[]>;
5789
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<{
5789
5790
  version: number;
5790
5791
  }>;
5791
- deleteWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5792
+ deleteWorkflow(payload: GetWorkflowPayload & {
5793
+ third_party_headers: Record<string, string[]>;
5794
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5792
5795
  executeWorkflow(payload: {
5793
5796
  name: string;
5794
5797
  input: unknown;
@@ -5907,4 +5910,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
5907
5910
  };
5908
5911
  }): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
5909
5912
 
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 };
5913
+ 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, 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, 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, WorkflowExecutionPayload, 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
@@ -386,27 +386,12 @@ interface GetTextPlatformDashboardReportParams {
386
386
  is_source_private?: boolean;
387
387
  }
388
388
 
389
- type TriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
390
- type TriggerPayload = {
391
- type: "manual_only";
392
- } | {
393
- type: "recurring";
394
- schedule: string;
395
- } | {
396
- type: "one_time";
397
- at: string;
398
- } | {
399
- type: "webhook";
400
- webhook_event: string;
401
- webhook_source: string;
402
- webhook_props: Record<string, string>;
403
- };
404
389
  interface WorkflowsDto {
405
390
  active: boolean;
406
391
  name: string;
407
392
  version: number;
408
393
  description: string;
409
- trigger_type: TriggerType;
394
+ trigger_type: WorkflowTriggerType;
410
395
  created_by: string;
411
396
  }
412
397
  interface WorkflowDto {
@@ -414,13 +399,27 @@ interface WorkflowDto {
414
399
  name: string;
415
400
  version: number;
416
401
  description: string;
417
- definition: WorkflowDefinitionDto;
418
402
  created_at: string;
419
403
  updated_at: string;
420
404
  created_by: string;
421
- trigger: TriggerPayload;
422
- third_party_headers: Record<string, string[]>;
405
+ trigger: WorkflowTriggerDto;
406
+ definition: WorkflowDefinitionDto;
423
407
  }
408
+ type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
409
+ type WorkflowTriggerDto = {
410
+ type: "manual_only";
411
+ } | {
412
+ type: "recurring";
413
+ schedule: string;
414
+ } | {
415
+ type: "one_time";
416
+ at: string;
417
+ } | {
418
+ type: "webhook";
419
+ webhook_event: string;
420
+ webhook_source: string;
421
+ webhook_props: Record<string, string>;
422
+ };
424
423
  interface WorkflowDefinitionDto {
425
424
  name: string;
426
425
  version: number;
@@ -504,17 +503,15 @@ interface WorkflowDefinitionsQueryParams {
504
503
  exact?: boolean;
505
504
  };
506
505
  }
507
- interface CreateWorkflowPayload {
506
+ interface UpsertWorkflowPayload {
508
507
  name: string;
509
508
  description: string;
509
+ trigger: WorkflowTriggerDto;
510
510
  definition: WorkflowDefinitionDto;
511
- trigger: TriggerPayload;
512
- third_party_headers: Record<string, string[]>;
513
511
  }
514
512
  interface GetWorkflowPayload {
515
513
  name: string;
516
514
  version?: number;
517
- third_party_headers?: Record<string, string[]>;
518
515
  }
519
516
  interface WorkflowExecution {
520
517
  id: string;
@@ -4670,7 +4667,7 @@ interface Property extends PropertyDto {
4670
4667
  owner_client_id: string;
4671
4668
  }
4672
4669
 
4673
- interface WebhookDto {
4670
+ interface LivechatWebhookDto {
4674
4671
  id: string;
4675
4672
  api_version: string;
4676
4673
  action: string;
@@ -4683,7 +4680,7 @@ interface WebhookDto {
4683
4680
  };
4684
4681
  url: string;
4685
4682
  }
4686
- interface Webhook {
4683
+ interface LivechatWebhook {
4687
4684
  url: string;
4688
4685
  api_version?: string;
4689
4686
  action: string;
@@ -4696,7 +4693,7 @@ interface Webhook {
4696
4693
  only_my_chats?: boolean;
4697
4694
  };
4698
4695
  }
4699
- declare enum WebhookActions {
4696
+ declare enum LivechatWebhookActions {
4700
4697
  IncomingChat = "incoming_chat",
4701
4698
  ChatDeactivated = "chat_deactivated",
4702
4699
  ChatAccessUpdated = "chat_access_updated",
@@ -4706,7 +4703,7 @@ declare enum WebhookActions {
4706
4703
  IncomingEvent = "incoming_event",
4707
4704
  IncomingCustomer = "incoming_customer"
4708
4705
  }
4709
- type WebhookUser = {
4706
+ type LivechatWebhookUser = {
4710
4707
  id: string;
4711
4708
  name: string;
4712
4709
  events_seen_up_to: "2020-05-12T12:31:46.463000Z";
@@ -4755,7 +4752,7 @@ type WebhookUser = {
4755
4752
  avatar: string;
4756
4753
  visibility: "all";
4757
4754
  };
4758
- interface WebhookChat {
4755
+ interface LivechatWebhookChat {
4759
4756
  id: string;
4760
4757
  threads: {
4761
4758
  id: string;
@@ -4785,30 +4782,30 @@ interface WebhookChat {
4785
4782
  tags: string[];
4786
4783
  previous_thread_id: string;
4787
4784
  }[];
4788
- users: WebhookUser[];
4785
+ users: LivechatWebhookUser[];
4789
4786
  properties: Record<string, Record<string, string>>;
4790
4787
  access: {
4791
4788
  group_ids: number[];
4792
4789
  };
4793
4790
  is_followed: boolean;
4794
4791
  }
4795
- declare enum WebhookEvents {
4792
+ declare enum LivechatWebhookEvents {
4796
4793
  Message = "message",
4797
4794
  SystemMessage = "system_message",
4798
4795
  Custom = "custom"
4799
4796
  }
4800
- declare enum WebhookSystemMessages {
4797
+ declare enum LivechatWebhookSystemMessages {
4801
4798
  ChatRated = "rating.chat_rated",
4802
4799
  ChatCommented = "rating.chat_commented"
4803
4800
  }
4804
- interface WebhookSystemMessageEvent {
4801
+ interface LivechatWebhookSystemMessageEvent {
4805
4802
  custom_id: string;
4806
4803
  text: string;
4807
- system_message_type: WebhookSystemMessages;
4804
+ system_message_type: LivechatWebhookSystemMessages;
4808
4805
  visibility: "all" | "agents";
4809
4806
  text_vars: Record<string, object>;
4810
4807
  }
4811
- interface WebhookMessageEvent {
4808
+ interface LivechatWebhookMessageEvent {
4812
4809
  custom_id: string;
4813
4810
  text: string;
4814
4811
  visibility: "all" | "agents";
@@ -4821,35 +4818,35 @@ interface WebhookMessageEvent {
4821
4818
  value?: string;
4822
4819
  };
4823
4820
  }
4824
- type WebhookEvent = ({
4825
- type: WebhookEvents.Message;
4826
- } & WebhookMessageEvent) | ({
4827
- type: WebhookEvents.SystemMessage;
4828
- } & WebhookSystemMessageEvent);
4821
+ type LivechatWebhookEvent = ({
4822
+ type: LivechatWebhookEvents.Message;
4823
+ } & LivechatWebhookMessageEvent) | ({
4824
+ type: LivechatWebhookEvents.SystemMessage;
4825
+ } & LivechatWebhookSystemMessageEvent);
4829
4826
 
4830
- interface WebhookDataBase<TPayload = unknown> {
4827
+ interface LivechatWebhookDataBase<TPayload = unknown> {
4831
4828
  webhookId: string;
4832
4829
  secret_key: string;
4833
4830
  organization_id: string;
4834
- action: WebhookActions;
4831
+ action: LivechatWebhookActions;
4835
4832
  additional_data: {
4836
4833
  chat_properties: Record<string, string>;
4837
4834
  chat_presence_user_ids: string[];
4838
4835
  };
4839
4836
  payload: TPayload;
4840
4837
  }
4841
- type WebhookConcreteData<TAction extends WebhookActions, TPayload> = WebhookDataBase<TPayload> & {
4838
+ type LivechatWebhookConcreteData<TAction extends LivechatWebhookActions, TPayload> = LivechatWebhookDataBase<TPayload> & {
4842
4839
  action: TAction;
4843
4840
  };
4844
- type IncomingChatWebhookData = WebhookConcreteData<WebhookActions.IncomingChat, {
4845
- chat: WebhookChat;
4841
+ type IncomingChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingChat, {
4842
+ chat: LivechatWebhookChat;
4846
4843
  }>;
4847
- type ChatDeactivatedWebhookData = WebhookConcreteData<WebhookActions.ChatDeactivated, {
4844
+ type ChatDeactivatedLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatDeactivated, {
4848
4845
  chat_id: string;
4849
4846
  thread_id: string;
4850
4847
  user_id: string;
4851
4848
  }>;
4852
- type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransferred, {
4849
+ type ChatTransferredLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.ChatTransferred, {
4853
4850
  chat_id: string;
4854
4851
  thread_id: string;
4855
4852
  requester_id: string;
@@ -4864,26 +4861,26 @@ type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransfe
4864
4861
  queue_at_us: string;
4865
4862
  };
4866
4863
  }>;
4867
- type UserAddedToChatWebhookData = WebhookConcreteData<WebhookActions.UserAddedToChat, {
4864
+ type UserAddedToChatLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserAddedToChat, {
4868
4865
  chat_id: string;
4869
4866
  thread_id: string;
4870
4867
  requester_id: string;
4871
4868
  reason: string;
4872
- user: WebhookUser;
4869
+ user: LivechatWebhookUser;
4873
4870
  }>;
4874
- type UserRemovedFromChatWebhookData = WebhookConcreteData<WebhookActions.UserRemovedFromChat, {
4871
+ type UserRemovedFromChatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.UserRemovedFromChat, {
4875
4872
  chat_id: string;
4876
4873
  thread_id: string;
4877
4874
  requester_id: string;
4878
4875
  reason: string;
4879
4876
  user_id: string;
4880
4877
  }>;
4881
- type IncomingEventWebhookData = WebhookConcreteData<WebhookActions.IncomingEvent, {
4878
+ type IncomingEventLivechatWebhookData = LivechatWebhookConcreteData<LivechatWebhookActions.IncomingEvent, {
4882
4879
  chat_id: string;
4883
4880
  thread_id: string;
4884
- event: WebhookEvent;
4881
+ event: LivechatWebhookEvent;
4885
4882
  }>;
4886
- type WebhookData = IncomingChatWebhookData | ChatDeactivatedWebhookData | ChatTransferredWebhookData | UserAddedToChatWebhookData | UserRemovedFromChatWebhookData | IncomingEventWebhookData;
4883
+ type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData;
4887
4884
 
4888
4885
  type LiveChatConfigurationApiError = {
4889
4886
  type: string;
@@ -5455,14 +5452,14 @@ declare const api: {
5455
5452
  unregisterProperties(clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5456
5453
  };
5457
5454
  webhook: {
5458
- getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
5455
+ getWebhooks(clientId?: string | undefined, isAgent?: boolean | undefined, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any>>;
5459
5456
  unregisterWebhook(clientId: string | undefined, webhookId: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5460
5457
  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[];
5458
+ registerWebhook(webhook: LivechatWebhook, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5459
+ registerWebhooks(webhooks: LivechatWebhook[], authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5460
+ migrateWebhooks(webhooks: LivechatWebhook[], clientId: string, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5461
+ getLicenseWebhooksList(isAgent: boolean, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<LivechatWebhookDto[], any> | {
5462
+ data: LivechatWebhookDto[];
5466
5463
  }>;
5467
5464
  deleteLicenseWebhook(id: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
5468
5465
  getWebhookNamesList(version: string, authorization?: PlatformClientAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
@@ -5783,12 +5780,18 @@ declare const api: {
5783
5780
  workflow: {
5784
5781
  workflows: {
5785
5782
  getWorkflows(authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowsDto[]>;
5786
- createWorkflow(payload: CreateWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5787
5783
  getWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowDto>;
5788
- updateWorkflow(payload: CreateWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<{
5784
+ createWorkflow(payload: UpsertWorkflowPayload & {
5785
+ third_party_headers: Record<string, string[]>;
5786
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5787
+ updateWorkflow(payload: UpsertWorkflowPayload & {
5788
+ third_party_headers: Record<string, string[]>;
5789
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<{
5789
5790
  version: number;
5790
5791
  }>;
5791
- deleteWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5792
+ deleteWorkflow(payload: GetWorkflowPayload & {
5793
+ third_party_headers: Record<string, string[]>;
5794
+ }, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
5792
5795
  executeWorkflow(payload: {
5793
5796
  name: string;
5794
5797
  input: unknown;
@@ -5907,4 +5910,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
5907
5910
  };
5908
5911
  }): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
5909
5912
 
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 };
5913
+ 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, 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, 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, WorkflowExecutionPayload, 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
@@ -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,
@@ -2119,28 +2119,28 @@ var textPlatformWorkflowsApi = {
2119
2119
  return workflows;
2120
2120
  });
2121
2121
  },
2122
- createWorkflow(payload, authorization) {
2122
+ getWorkflow(payload, authorization) {
2123
2123
  return __async(this, null, function* () {
2124
- yield textClientInstance.post(
2125
- "/workflow_platform/workflows",
2126
- payload,
2124
+ const { data: workflow } = yield textClientInstance.get(
2125
+ `/workflow_platform/workflows/${encodeURIComponent(
2126
+ payload.name
2127
+ )}?version=${payload.version}`,
2127
2128
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
2128
2129
  ensureAuthorizationToken: true
2129
2130
  }))
2130
2131
  );
2132
+ return workflow;
2131
2133
  });
2132
2134
  },
2133
- getWorkflow(payload, authorization) {
2135
+ createWorkflow(payload, authorization) {
2134
2136
  return __async(this, null, function* () {
2135
- const { data: workflow } = yield textClientInstance.get(
2136
- `/workflow_platform/workflows/${encodeURIComponent(
2137
- payload.name
2138
- )}?version=${payload.version}`,
2137
+ yield textClientInstance.post(
2138
+ "/workflow_platform/workflows",
2139
+ payload,
2139
2140
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
2140
2141
  ensureAuthorizationToken: true
2141
2142
  }))
2142
2143
  );
2143
- return workflow;
2144
2144
  });
2145
2145
  },
2146
2146
  updateWorkflow(payload, authorization) {
@@ -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
@@ -1967,28 +1967,28 @@ var textPlatformWorkflowsApi = {
1967
1967
  return workflows;
1968
1968
  });
1969
1969
  },
1970
- createWorkflow(payload, authorization) {
1970
+ getWorkflow(payload, authorization) {
1971
1971
  return __async(this, null, function* () {
1972
- yield textClientInstance.post(
1973
- "/workflow_platform/workflows",
1974
- payload,
1972
+ const { data: workflow } = yield textClientInstance.get(
1973
+ `/workflow_platform/workflows/${encodeURIComponent(
1974
+ payload.name
1975
+ )}?version=${payload.version}`,
1975
1976
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
1976
1977
  ensureAuthorizationToken: true
1977
1978
  }))
1978
1979
  );
1980
+ return workflow;
1979
1981
  });
1980
1982
  },
1981
- getWorkflow(payload, authorization) {
1983
+ createWorkflow(payload, authorization) {
1982
1984
  return __async(this, null, function* () {
1983
- const { data: workflow } = yield textClientInstance.get(
1984
- `/workflow_platform/workflows/${encodeURIComponent(
1985
- payload.name
1986
- )}?version=${payload.version}`,
1985
+ yield textClientInstance.post(
1986
+ "/workflow_platform/workflows",
1987
+ payload,
1987
1988
  getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
1988
1989
  ensureAuthorizationToken: true
1989
1990
  }))
1990
1991
  );
1991
- return workflow;
1992
1992
  });
1993
1993
  },
1994
1994
  updateWorkflow(payload, authorization) {
@@ -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.45",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",