@livechat/developer-studio-api 3.1.19 → 3.1.21

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.ts CHANGED
@@ -562,8 +562,8 @@ type DeepPartial<T> = T extends object ? {
562
562
  type CreateCredentialPayload = Credential;
563
563
  type UpdateCredentialPayload = DeepPartial<Credential>;
564
564
 
565
- type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "text";
566
- type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "text";
565
+ type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "text";
566
+ type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "hubspot" | "text";
567
567
  type ApiErrorKind = "unauthorized" | "error";
568
568
  type ApiError<TData = unknown> = {
569
569
  code: number;
@@ -988,6 +988,26 @@ declare function getShopifyClientConfig(options?: ShopifyClientOptions): AxiosRe
988
988
  declare function initShopifyClient(token?: string, shop?: string): void;
989
989
  declare function updateShopifyClient(token?: string, shop?: string): void;
990
990
 
991
+ interface HubspotClientAuthorization {
992
+ token?: string;
993
+ }
994
+ interface HubspotClientInstanceOptions extends HubspotClientAuthorization {
995
+ ensureAuthorizationToken?: boolean;
996
+ }
997
+ declare class HubspotApiError extends ApiErrorBase<{
998
+ errors: Record<string, string[]>;
999
+ }> {
1000
+ name: "hubspot";
1001
+ }
1002
+ declare const hubspotClientUrl = "https://api.hubapi.com";
1003
+ declare const hubspotClientInstance: axios.AxiosInstance;
1004
+ declare function getHubspotClientAuthorization(req: {
1005
+ headers: Record<string, string | string[] | undefined> | Headers;
1006
+ }): HubspotClientAuthorization;
1007
+ declare function getHubspotClientConfig(options?: HubspotClientInstanceOptions): AxiosRequestConfig;
1008
+ declare function initHubspotClient(token?: string): void;
1009
+ declare function updateHubspotClient(token?: string): void;
1010
+
991
1011
  interface AccountDto {
992
1012
  account_id: string;
993
1013
  avatar: string;
@@ -1783,13 +1803,34 @@ interface AppTemplates {
1783
1803
  saas: AppTemplate;
1784
1804
  }
1785
1805
 
1786
- interface IntegrationFlowContext {
1806
+ declare enum IntegrationNames {
1807
+ Accounts = "accounts",
1808
+ GitHub = "github",
1809
+ Netlify = "netlify",
1810
+ Vercel = "vercel",
1811
+ PlanetScale = "planetscale",
1812
+ Neon = "neon",
1813
+ Mailchimp = "mailchimp",
1814
+ Shopify = "shopify",
1815
+ BigCommerce = "bigcommerce",
1816
+ HubSpot = "hubspot",
1817
+ Text = "text"
1818
+ }
1819
+ declare enum IntegrationModes {
1820
+ Redirect = "redirect",
1821
+ Modal = "modal"
1822
+ }
1823
+ type IntegrationFlowContext = {
1787
1824
  userId: string;
1788
1825
  userToken: string;
1789
- redirectUrl: string;
1790
1826
  state: string;
1791
1827
  credentialId?: string;
1792
- }
1828
+ } & ({
1829
+ mode: IntegrationModes.Modal;
1830
+ } | {
1831
+ mode: IntegrationModes.Redirect;
1832
+ redirectUrl: string;
1833
+ });
1793
1834
  type IntegrationFlowOutput<TFlowResult> = {
1794
1835
  status: "success";
1795
1836
  result: TFlowResult;
@@ -1800,6 +1841,130 @@ type IntegrationFlowOutput<TFlowResult> = {
1800
1841
  status: "cancel";
1801
1842
  };
1802
1843
 
1844
+ interface HubspotAuthorizeActionResult {
1845
+ token: string;
1846
+ }
1847
+ type HubspotAuthorizeFlowContext = IntegrationFlowContext;
1848
+ interface HubspotAuthorizeFlowResult {
1849
+ token: string;
1850
+ }
1851
+
1852
+ declare enum HubspotEventNames {
1853
+ SomeEvent = "some_event"
1854
+ }
1855
+
1856
+ declare const hubspotEventsZods: {
1857
+ provider: z.ZodLiteral<"hubspot">;
1858
+ eventName: z.ZodNativeEnum<typeof HubspotEventNames>;
1859
+ events: {
1860
+ someEvent: z.ZodObject<{
1861
+ name: z.ZodLiteral<HubspotEventNames>;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ name: HubspotEventNames;
1864
+ }, {
1865
+ name: HubspotEventNames;
1866
+ }>;
1867
+ };
1868
+ readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1869
+ name: z.ZodLiteral<HubspotEventNames>;
1870
+ }, "strip", z.ZodTypeAny, {
1871
+ name: HubspotEventNames;
1872
+ }, {
1873
+ name: HubspotEventNames;
1874
+ }>]>;
1875
+ readonly source: z.ZodObject<{
1876
+ sourceName: z.ZodEnum<["apps", "workflows"]>;
1877
+ sourceKey: z.ZodString;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ sourceName: "apps" | "workflows";
1880
+ sourceKey: string;
1881
+ }, {
1882
+ sourceName: "apps" | "workflows";
1883
+ sourceKey: string;
1884
+ }>;
1885
+ readonly subscribe: z.ZodIntersection<z.ZodObject<{
1886
+ sourceName: z.ZodEnum<["apps", "workflows"]>;
1887
+ sourceKey: z.ZodString;
1888
+ }, "strip", z.ZodTypeAny, {
1889
+ sourceName: "apps" | "workflows";
1890
+ sourceKey: string;
1891
+ }, {
1892
+ sourceName: "apps" | "workflows";
1893
+ sourceKey: string;
1894
+ }>, z.ZodObject<{
1895
+ event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1896
+ name: z.ZodLiteral<HubspotEventNames>;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ name: HubspotEventNames;
1899
+ }, {
1900
+ name: HubspotEventNames;
1901
+ }>]>;
1902
+ callback: z.ZodString;
1903
+ }, "strip", z.ZodTypeAny, {
1904
+ event: {
1905
+ name: HubspotEventNames;
1906
+ };
1907
+ callback: string;
1908
+ }, {
1909
+ event: {
1910
+ name: HubspotEventNames;
1911
+ };
1912
+ callback: string;
1913
+ }>>;
1914
+ readonly subscribeContent: z.ZodObject<{
1915
+ provider: z.ZodLiteral<"hubspot">;
1916
+ event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1917
+ name: z.ZodLiteral<HubspotEventNames>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ name: HubspotEventNames;
1920
+ }, {
1921
+ name: HubspotEventNames;
1922
+ }>]>;
1923
+ listId: z.ZodString;
1924
+ }, "strip", z.ZodTypeAny, {
1925
+ event: {
1926
+ name: HubspotEventNames;
1927
+ };
1928
+ provider: "hubspot";
1929
+ listId: string;
1930
+ }, {
1931
+ event: {
1932
+ name: HubspotEventNames;
1933
+ };
1934
+ provider: "hubspot";
1935
+ listId: string;
1936
+ }>;
1937
+ readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
1938
+ sourceName: z.ZodEnum<["apps", "workflows"]>;
1939
+ sourceKey: z.ZodString;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ sourceName: "apps" | "workflows";
1942
+ sourceKey: string;
1943
+ }, {
1944
+ sourceName: "apps" | "workflows";
1945
+ sourceKey: string;
1946
+ }>, z.ZodObject<{
1947
+ event: z.ZodNativeEnum<typeof HubspotEventNames>;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ event: HubspotEventNames;
1950
+ }, {
1951
+ event: HubspotEventNames;
1952
+ }>>;
1953
+ readonly unsubscribeContent: z.ZodObject<{
1954
+ provider: z.ZodLiteral<"hubspot">;
1955
+ event: z.ZodNativeEnum<typeof HubspotEventNames>;
1956
+ }, "strip", z.ZodTypeAny, {
1957
+ event: HubspotEventNames;
1958
+ provider: "hubspot";
1959
+ }, {
1960
+ event: HubspotEventNames;
1961
+ provider: "hubspot";
1962
+ }>;
1963
+ };
1964
+ type HubspotEvent = z.infer<typeof hubspotEventsZods.event>;
1965
+ type SubscribeToHubspotEventPayload = z.infer<typeof hubspotEventsZods.subscribe>;
1966
+ type UnsubscribeFromHubspotEventPayload = z.infer<typeof hubspotEventsZods.unsubscribe>;
1967
+
1803
1968
  interface MailchimpAuthorizeActionResult {
1804
1969
  server: string;
1805
1970
  token: string;
@@ -2499,8 +2664,8 @@ type UnsubscribeFromTextLivechatEventPayload = z.infer<typeof textLivechatEvents
2499
2664
 
2500
2665
  declare const integrationEventsZods: {
2501
2666
  sourceName: z.ZodEnum<["apps", "workflows"]>;
2502
- providerName: z.ZodEnum<["text-livechat", "mailchimp", "shopify"]>;
2503
- readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2667
+ providerName: z.ZodEnum<["text-livechat", "mailchimp", "shopify", "hubspot"]>;
2668
+ readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2504
2669
  name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
2505
2670
  }, "strip", z.ZodTypeAny, {
2506
2671
  name: TextLivechatEventNames.ChatStarted;
@@ -2572,6 +2737,12 @@ declare const integrationEventsZods: {
2572
2737
  name: MailchimpEventNames.Unsubscribed;
2573
2738
  }, {
2574
2739
  name: MailchimpEventNames.Unsubscribed;
2740
+ }>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2741
+ name: z.ZodLiteral<HubspotEventNames>;
2742
+ }, "strip", z.ZodTypeAny, {
2743
+ name: HubspotEventNames;
2744
+ }, {
2745
+ name: HubspotEventNames;
2575
2746
  }>]>]>;
2576
2747
  readonly source: z.ZodObject<{
2577
2748
  sourceName: z.ZodEnum<["apps", "workflows"]>;
@@ -2751,6 +2922,28 @@ declare const integrationEventsZods: {
2751
2922
  callback: string;
2752
2923
  provider: "mailchimp";
2753
2924
  listId: string;
2925
+ }>, z.ZodObject<{
2926
+ provider: z.ZodLiteral<"hubspot">;
2927
+ event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2928
+ name: z.ZodLiteral<HubspotEventNames>;
2929
+ }, "strip", z.ZodTypeAny, {
2930
+ name: HubspotEventNames;
2931
+ }, {
2932
+ name: HubspotEventNames;
2933
+ }>]>;
2934
+ listId: z.ZodString;
2935
+ }, "strip", z.ZodTypeAny, {
2936
+ event: {
2937
+ name: HubspotEventNames;
2938
+ };
2939
+ provider: "hubspot";
2940
+ listId: string;
2941
+ }, {
2942
+ event: {
2943
+ name: HubspotEventNames;
2944
+ };
2945
+ provider: "hubspot";
2946
+ listId: string;
2754
2947
  }>]>>;
2755
2948
  readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
2756
2949
  sourceName: z.ZodEnum<["apps", "workflows"]>;
@@ -2791,6 +2984,15 @@ declare const integrationEventsZods: {
2791
2984
  event: MailchimpEventNames;
2792
2985
  provider: "mailchimp";
2793
2986
  listId: string;
2987
+ }>, z.ZodObject<{
2988
+ provider: z.ZodLiteral<"hubspot">;
2989
+ event: z.ZodNativeEnum<typeof HubspotEventNames>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ event: HubspotEventNames;
2992
+ provider: "hubspot";
2993
+ }, {
2994
+ event: HubspotEventNames;
2995
+ provider: "hubspot";
2794
2996
  }>]>>;
2795
2997
  };
2796
2998
  type IntegrationEventSourceName = z.infer<typeof integrationEventsZods.sourceName>;
@@ -4708,6 +4910,16 @@ declare const api: {
4708
4910
  refreshToken: string;
4709
4911
  }>;
4710
4912
  };
4913
+ hubspot: {
4914
+ getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
4915
+ token: string;
4916
+ }>;
4917
+ getMetadata({ token }: {
4918
+ token: string;
4919
+ }): Promise<{
4920
+ server: string;
4921
+ }>;
4922
+ };
4711
4923
  text: {
4712
4924
  app: {
4713
4925
  monitoring: {
@@ -4834,8 +5046,24 @@ declare const API_NOTIFICATIONS: {
4834
5046
  };
4835
5047
  };
4836
5048
 
4837
- declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext, TData>(provider: string, flow: string, data: TData | string, context: Omit<TContext, "state">, config: {
5049
+ declare function getIntegrationFlowUrlOld<TContext extends Extract<IntegrationFlowContext, {
5050
+ mode: IntegrationModes.Redirect;
5051
+ }>, TData>(provider: string, flow: string, data: TData | string, context: Omit<TContext, "state">, config: {
4838
5052
  adapterUrl: string;
4839
5053
  }): string;
5054
+ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name: IntegrationNames, flow: string, trigger: {
5055
+ mode: IntegrationModes.Redirect;
5056
+ redirectUrl: string;
5057
+ } | {
5058
+ mode: IntegrationModes.Modal;
5059
+ }, context: TFlowContext, state: TState | string, config: {
5060
+ user: {
5061
+ id: string;
5062
+ token: string;
5063
+ };
5064
+ urls: {
5065
+ adapterUrl: string;
5066
+ };
5067
+ }): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
4840
5068
 
4841
- 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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowResult, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, 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, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, 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, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowResult, VercelNamespace, 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, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getIntegrationFlowUrl, 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, initApi, initGithubClient, 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, updateGithubClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
5069
+ 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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, 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, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowResult, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, 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, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, 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, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowResult, VercelNamespace, 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, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, getAppAutoReviewPayload, 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, hubspotClientUrl, hubspotEventsZods, initApi, 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, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };