@livechat/developer-studio-api 3.1.18 → 3.1.20
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 +196 -5
- package/dist/index.d.ts +196 -5
- package/dist/index.js +218 -20
- package/dist/index.mjs +209 -20
- package/package.json +1 -1
package/dist/index.d.mts
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;
|
|
@@ -1800,6 +1820,130 @@ type IntegrationFlowOutput<TFlowResult> = {
|
|
|
1800
1820
|
status: "cancel";
|
|
1801
1821
|
};
|
|
1802
1822
|
|
|
1823
|
+
interface HubspotAuthorizeActionResult {
|
|
1824
|
+
token: string;
|
|
1825
|
+
}
|
|
1826
|
+
type HubspotAuthorizeFlowContext = IntegrationFlowContext;
|
|
1827
|
+
interface HubspotAuthorizeFlowResult {
|
|
1828
|
+
token: string;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
declare enum HubspotEventNames {
|
|
1832
|
+
SomeEvent = "some_event"
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
declare const hubspotEventsZods: {
|
|
1836
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
1837
|
+
eventName: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1838
|
+
events: {
|
|
1839
|
+
someEvent: z.ZodObject<{
|
|
1840
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
name: HubspotEventNames;
|
|
1843
|
+
}, {
|
|
1844
|
+
name: HubspotEventNames;
|
|
1845
|
+
}>;
|
|
1846
|
+
};
|
|
1847
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1848
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1849
|
+
}, "strip", z.ZodTypeAny, {
|
|
1850
|
+
name: HubspotEventNames;
|
|
1851
|
+
}, {
|
|
1852
|
+
name: HubspotEventNames;
|
|
1853
|
+
}>]>;
|
|
1854
|
+
readonly source: z.ZodObject<{
|
|
1855
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1856
|
+
sourceKey: z.ZodString;
|
|
1857
|
+
}, "strip", z.ZodTypeAny, {
|
|
1858
|
+
sourceName: "apps" | "workflows";
|
|
1859
|
+
sourceKey: string;
|
|
1860
|
+
}, {
|
|
1861
|
+
sourceName: "apps" | "workflows";
|
|
1862
|
+
sourceKey: string;
|
|
1863
|
+
}>;
|
|
1864
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
1865
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1866
|
+
sourceKey: z.ZodString;
|
|
1867
|
+
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
sourceName: "apps" | "workflows";
|
|
1869
|
+
sourceKey: string;
|
|
1870
|
+
}, {
|
|
1871
|
+
sourceName: "apps" | "workflows";
|
|
1872
|
+
sourceKey: string;
|
|
1873
|
+
}>, z.ZodObject<{
|
|
1874
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1875
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1876
|
+
}, "strip", z.ZodTypeAny, {
|
|
1877
|
+
name: HubspotEventNames;
|
|
1878
|
+
}, {
|
|
1879
|
+
name: HubspotEventNames;
|
|
1880
|
+
}>]>;
|
|
1881
|
+
callback: z.ZodString;
|
|
1882
|
+
}, "strip", z.ZodTypeAny, {
|
|
1883
|
+
event: {
|
|
1884
|
+
name: HubspotEventNames;
|
|
1885
|
+
};
|
|
1886
|
+
callback: string;
|
|
1887
|
+
}, {
|
|
1888
|
+
event: {
|
|
1889
|
+
name: HubspotEventNames;
|
|
1890
|
+
};
|
|
1891
|
+
callback: string;
|
|
1892
|
+
}>>;
|
|
1893
|
+
readonly subscribeContent: z.ZodObject<{
|
|
1894
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
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
|
+
listId: z.ZodString;
|
|
1903
|
+
}, "strip", z.ZodTypeAny, {
|
|
1904
|
+
event: {
|
|
1905
|
+
name: HubspotEventNames;
|
|
1906
|
+
};
|
|
1907
|
+
provider: "hubspot";
|
|
1908
|
+
listId: string;
|
|
1909
|
+
}, {
|
|
1910
|
+
event: {
|
|
1911
|
+
name: HubspotEventNames;
|
|
1912
|
+
};
|
|
1913
|
+
provider: "hubspot";
|
|
1914
|
+
listId: string;
|
|
1915
|
+
}>;
|
|
1916
|
+
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
1917
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1918
|
+
sourceKey: z.ZodString;
|
|
1919
|
+
}, "strip", z.ZodTypeAny, {
|
|
1920
|
+
sourceName: "apps" | "workflows";
|
|
1921
|
+
sourceKey: string;
|
|
1922
|
+
}, {
|
|
1923
|
+
sourceName: "apps" | "workflows";
|
|
1924
|
+
sourceKey: string;
|
|
1925
|
+
}>, z.ZodObject<{
|
|
1926
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1927
|
+
}, "strip", z.ZodTypeAny, {
|
|
1928
|
+
event: HubspotEventNames;
|
|
1929
|
+
}, {
|
|
1930
|
+
event: HubspotEventNames;
|
|
1931
|
+
}>>;
|
|
1932
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
1933
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
1934
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1935
|
+
}, "strip", z.ZodTypeAny, {
|
|
1936
|
+
event: HubspotEventNames;
|
|
1937
|
+
provider: "hubspot";
|
|
1938
|
+
}, {
|
|
1939
|
+
event: HubspotEventNames;
|
|
1940
|
+
provider: "hubspot";
|
|
1941
|
+
}>;
|
|
1942
|
+
};
|
|
1943
|
+
type HubspotEvent = z.infer<typeof hubspotEventsZods.event>;
|
|
1944
|
+
type SubscribeToHubspotEventPayload = z.infer<typeof hubspotEventsZods.subscribe>;
|
|
1945
|
+
type UnsubscribeFromHubspotEventPayload = z.infer<typeof hubspotEventsZods.unsubscribe>;
|
|
1946
|
+
|
|
1803
1947
|
interface MailchimpAuthorizeActionResult {
|
|
1804
1948
|
server: string;
|
|
1805
1949
|
token: string;
|
|
@@ -2499,8 +2643,8 @@ type UnsubscribeFromTextLivechatEventPayload = z.infer<typeof textLivechatEvents
|
|
|
2499
2643
|
|
|
2500
2644
|
declare const integrationEventsZods: {
|
|
2501
2645
|
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<{
|
|
2646
|
+
providerName: z.ZodEnum<["text-livechat", "mailchimp", "shopify", "hubspot"]>;
|
|
2647
|
+
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2504
2648
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2505
2649
|
}, "strip", z.ZodTypeAny, {
|
|
2506
2650
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -2572,6 +2716,12 @@ declare const integrationEventsZods: {
|
|
|
2572
2716
|
name: MailchimpEventNames.Unsubscribed;
|
|
2573
2717
|
}, {
|
|
2574
2718
|
name: MailchimpEventNames.Unsubscribed;
|
|
2719
|
+
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2720
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
2721
|
+
}, "strip", z.ZodTypeAny, {
|
|
2722
|
+
name: HubspotEventNames;
|
|
2723
|
+
}, {
|
|
2724
|
+
name: HubspotEventNames;
|
|
2575
2725
|
}>]>]>;
|
|
2576
2726
|
readonly source: z.ZodObject<{
|
|
2577
2727
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2751,6 +2901,28 @@ declare const integrationEventsZods: {
|
|
|
2751
2901
|
callback: string;
|
|
2752
2902
|
provider: "mailchimp";
|
|
2753
2903
|
listId: string;
|
|
2904
|
+
}>, z.ZodObject<{
|
|
2905
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
2906
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2907
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
2908
|
+
}, "strip", z.ZodTypeAny, {
|
|
2909
|
+
name: HubspotEventNames;
|
|
2910
|
+
}, {
|
|
2911
|
+
name: HubspotEventNames;
|
|
2912
|
+
}>]>;
|
|
2913
|
+
listId: z.ZodString;
|
|
2914
|
+
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
event: {
|
|
2916
|
+
name: HubspotEventNames;
|
|
2917
|
+
};
|
|
2918
|
+
provider: "hubspot";
|
|
2919
|
+
listId: string;
|
|
2920
|
+
}, {
|
|
2921
|
+
event: {
|
|
2922
|
+
name: HubspotEventNames;
|
|
2923
|
+
};
|
|
2924
|
+
provider: "hubspot";
|
|
2925
|
+
listId: string;
|
|
2754
2926
|
}>]>>;
|
|
2755
2927
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2756
2928
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2791,6 +2963,15 @@ declare const integrationEventsZods: {
|
|
|
2791
2963
|
event: MailchimpEventNames;
|
|
2792
2964
|
provider: "mailchimp";
|
|
2793
2965
|
listId: string;
|
|
2966
|
+
}>, z.ZodObject<{
|
|
2967
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
2968
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
2969
|
+
}, "strip", z.ZodTypeAny, {
|
|
2970
|
+
event: HubspotEventNames;
|
|
2971
|
+
provider: "hubspot";
|
|
2972
|
+
}, {
|
|
2973
|
+
event: HubspotEventNames;
|
|
2974
|
+
provider: "hubspot";
|
|
2794
2975
|
}>]>>;
|
|
2795
2976
|
};
|
|
2796
2977
|
type IntegrationEventSourceName = z.infer<typeof integrationEventsZods.sourceName>;
|
|
@@ -4708,6 +4889,16 @@ declare const api: {
|
|
|
4708
4889
|
refreshToken: string;
|
|
4709
4890
|
}>;
|
|
4710
4891
|
};
|
|
4892
|
+
hubspot: {
|
|
4893
|
+
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
4894
|
+
token: string;
|
|
4895
|
+
}>;
|
|
4896
|
+
getMetadata({ token }: {
|
|
4897
|
+
token: string;
|
|
4898
|
+
}): Promise<{
|
|
4899
|
+
server: string;
|
|
4900
|
+
}>;
|
|
4901
|
+
};
|
|
4711
4902
|
text: {
|
|
4712
4903
|
app: {
|
|
4713
4904
|
monitoring: {
|
|
@@ -4838,4 +5029,4 @@ declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext,
|
|
|
4838
5029
|
adapterUrl: string;
|
|
4839
5030
|
}): string;
|
|
4840
5031
|
|
|
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 };
|
|
5032
|
+
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, 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, 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 };
|
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;
|
|
@@ -1800,6 +1820,130 @@ type IntegrationFlowOutput<TFlowResult> = {
|
|
|
1800
1820
|
status: "cancel";
|
|
1801
1821
|
};
|
|
1802
1822
|
|
|
1823
|
+
interface HubspotAuthorizeActionResult {
|
|
1824
|
+
token: string;
|
|
1825
|
+
}
|
|
1826
|
+
type HubspotAuthorizeFlowContext = IntegrationFlowContext;
|
|
1827
|
+
interface HubspotAuthorizeFlowResult {
|
|
1828
|
+
token: string;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
declare enum HubspotEventNames {
|
|
1832
|
+
SomeEvent = "some_event"
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
declare const hubspotEventsZods: {
|
|
1836
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
1837
|
+
eventName: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1838
|
+
events: {
|
|
1839
|
+
someEvent: z.ZodObject<{
|
|
1840
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
name: HubspotEventNames;
|
|
1843
|
+
}, {
|
|
1844
|
+
name: HubspotEventNames;
|
|
1845
|
+
}>;
|
|
1846
|
+
};
|
|
1847
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1848
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1849
|
+
}, "strip", z.ZodTypeAny, {
|
|
1850
|
+
name: HubspotEventNames;
|
|
1851
|
+
}, {
|
|
1852
|
+
name: HubspotEventNames;
|
|
1853
|
+
}>]>;
|
|
1854
|
+
readonly source: z.ZodObject<{
|
|
1855
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1856
|
+
sourceKey: z.ZodString;
|
|
1857
|
+
}, "strip", z.ZodTypeAny, {
|
|
1858
|
+
sourceName: "apps" | "workflows";
|
|
1859
|
+
sourceKey: string;
|
|
1860
|
+
}, {
|
|
1861
|
+
sourceName: "apps" | "workflows";
|
|
1862
|
+
sourceKey: string;
|
|
1863
|
+
}>;
|
|
1864
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
1865
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1866
|
+
sourceKey: z.ZodString;
|
|
1867
|
+
}, "strip", z.ZodTypeAny, {
|
|
1868
|
+
sourceName: "apps" | "workflows";
|
|
1869
|
+
sourceKey: string;
|
|
1870
|
+
}, {
|
|
1871
|
+
sourceName: "apps" | "workflows";
|
|
1872
|
+
sourceKey: string;
|
|
1873
|
+
}>, z.ZodObject<{
|
|
1874
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1875
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
1876
|
+
}, "strip", z.ZodTypeAny, {
|
|
1877
|
+
name: HubspotEventNames;
|
|
1878
|
+
}, {
|
|
1879
|
+
name: HubspotEventNames;
|
|
1880
|
+
}>]>;
|
|
1881
|
+
callback: z.ZodString;
|
|
1882
|
+
}, "strip", z.ZodTypeAny, {
|
|
1883
|
+
event: {
|
|
1884
|
+
name: HubspotEventNames;
|
|
1885
|
+
};
|
|
1886
|
+
callback: string;
|
|
1887
|
+
}, {
|
|
1888
|
+
event: {
|
|
1889
|
+
name: HubspotEventNames;
|
|
1890
|
+
};
|
|
1891
|
+
callback: string;
|
|
1892
|
+
}>>;
|
|
1893
|
+
readonly subscribeContent: z.ZodObject<{
|
|
1894
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
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
|
+
listId: z.ZodString;
|
|
1903
|
+
}, "strip", z.ZodTypeAny, {
|
|
1904
|
+
event: {
|
|
1905
|
+
name: HubspotEventNames;
|
|
1906
|
+
};
|
|
1907
|
+
provider: "hubspot";
|
|
1908
|
+
listId: string;
|
|
1909
|
+
}, {
|
|
1910
|
+
event: {
|
|
1911
|
+
name: HubspotEventNames;
|
|
1912
|
+
};
|
|
1913
|
+
provider: "hubspot";
|
|
1914
|
+
listId: string;
|
|
1915
|
+
}>;
|
|
1916
|
+
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
1917
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1918
|
+
sourceKey: z.ZodString;
|
|
1919
|
+
}, "strip", z.ZodTypeAny, {
|
|
1920
|
+
sourceName: "apps" | "workflows";
|
|
1921
|
+
sourceKey: string;
|
|
1922
|
+
}, {
|
|
1923
|
+
sourceName: "apps" | "workflows";
|
|
1924
|
+
sourceKey: string;
|
|
1925
|
+
}>, z.ZodObject<{
|
|
1926
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1927
|
+
}, "strip", z.ZodTypeAny, {
|
|
1928
|
+
event: HubspotEventNames;
|
|
1929
|
+
}, {
|
|
1930
|
+
event: HubspotEventNames;
|
|
1931
|
+
}>>;
|
|
1932
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
1933
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
1934
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
1935
|
+
}, "strip", z.ZodTypeAny, {
|
|
1936
|
+
event: HubspotEventNames;
|
|
1937
|
+
provider: "hubspot";
|
|
1938
|
+
}, {
|
|
1939
|
+
event: HubspotEventNames;
|
|
1940
|
+
provider: "hubspot";
|
|
1941
|
+
}>;
|
|
1942
|
+
};
|
|
1943
|
+
type HubspotEvent = z.infer<typeof hubspotEventsZods.event>;
|
|
1944
|
+
type SubscribeToHubspotEventPayload = z.infer<typeof hubspotEventsZods.subscribe>;
|
|
1945
|
+
type UnsubscribeFromHubspotEventPayload = z.infer<typeof hubspotEventsZods.unsubscribe>;
|
|
1946
|
+
|
|
1803
1947
|
interface MailchimpAuthorizeActionResult {
|
|
1804
1948
|
server: string;
|
|
1805
1949
|
token: string;
|
|
@@ -2499,8 +2643,8 @@ type UnsubscribeFromTextLivechatEventPayload = z.infer<typeof textLivechatEvents
|
|
|
2499
2643
|
|
|
2500
2644
|
declare const integrationEventsZods: {
|
|
2501
2645
|
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<{
|
|
2646
|
+
providerName: z.ZodEnum<["text-livechat", "mailchimp", "shopify", "hubspot"]>;
|
|
2647
|
+
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2504
2648
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2505
2649
|
}, "strip", z.ZodTypeAny, {
|
|
2506
2650
|
name: TextLivechatEventNames.ChatStarted;
|
|
@@ -2572,6 +2716,12 @@ declare const integrationEventsZods: {
|
|
|
2572
2716
|
name: MailchimpEventNames.Unsubscribed;
|
|
2573
2717
|
}, {
|
|
2574
2718
|
name: MailchimpEventNames.Unsubscribed;
|
|
2719
|
+
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2720
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
2721
|
+
}, "strip", z.ZodTypeAny, {
|
|
2722
|
+
name: HubspotEventNames;
|
|
2723
|
+
}, {
|
|
2724
|
+
name: HubspotEventNames;
|
|
2575
2725
|
}>]>]>;
|
|
2576
2726
|
readonly source: z.ZodObject<{
|
|
2577
2727
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2751,6 +2901,28 @@ declare const integrationEventsZods: {
|
|
|
2751
2901
|
callback: string;
|
|
2752
2902
|
provider: "mailchimp";
|
|
2753
2903
|
listId: string;
|
|
2904
|
+
}>, z.ZodObject<{
|
|
2905
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
2906
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2907
|
+
name: z.ZodLiteral<HubspotEventNames>;
|
|
2908
|
+
}, "strip", z.ZodTypeAny, {
|
|
2909
|
+
name: HubspotEventNames;
|
|
2910
|
+
}, {
|
|
2911
|
+
name: HubspotEventNames;
|
|
2912
|
+
}>]>;
|
|
2913
|
+
listId: z.ZodString;
|
|
2914
|
+
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
event: {
|
|
2916
|
+
name: HubspotEventNames;
|
|
2917
|
+
};
|
|
2918
|
+
provider: "hubspot";
|
|
2919
|
+
listId: string;
|
|
2920
|
+
}, {
|
|
2921
|
+
event: {
|
|
2922
|
+
name: HubspotEventNames;
|
|
2923
|
+
};
|
|
2924
|
+
provider: "hubspot";
|
|
2925
|
+
listId: string;
|
|
2754
2926
|
}>]>>;
|
|
2755
2927
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2756
2928
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -2791,6 +2963,15 @@ declare const integrationEventsZods: {
|
|
|
2791
2963
|
event: MailchimpEventNames;
|
|
2792
2964
|
provider: "mailchimp";
|
|
2793
2965
|
listId: string;
|
|
2966
|
+
}>, z.ZodObject<{
|
|
2967
|
+
provider: z.ZodLiteral<"hubspot">;
|
|
2968
|
+
event: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
2969
|
+
}, "strip", z.ZodTypeAny, {
|
|
2970
|
+
event: HubspotEventNames;
|
|
2971
|
+
provider: "hubspot";
|
|
2972
|
+
}, {
|
|
2973
|
+
event: HubspotEventNames;
|
|
2974
|
+
provider: "hubspot";
|
|
2794
2975
|
}>]>>;
|
|
2795
2976
|
};
|
|
2796
2977
|
type IntegrationEventSourceName = z.infer<typeof integrationEventsZods.sourceName>;
|
|
@@ -4708,6 +4889,16 @@ declare const api: {
|
|
|
4708
4889
|
refreshToken: string;
|
|
4709
4890
|
}>;
|
|
4710
4891
|
};
|
|
4892
|
+
hubspot: {
|
|
4893
|
+
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
4894
|
+
token: string;
|
|
4895
|
+
}>;
|
|
4896
|
+
getMetadata({ token }: {
|
|
4897
|
+
token: string;
|
|
4898
|
+
}): Promise<{
|
|
4899
|
+
server: string;
|
|
4900
|
+
}>;
|
|
4901
|
+
};
|
|
4711
4902
|
text: {
|
|
4712
4903
|
app: {
|
|
4713
4904
|
monitoring: {
|
|
@@ -4838,4 +5029,4 @@ declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext,
|
|
|
4838
5029
|
adapterUrl: string;
|
|
4839
5030
|
}): string;
|
|
4840
5031
|
|
|
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 };
|
|
5032
|
+
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, 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, 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 };
|