@livechat/developer-studio-api 3.1.29 → 3.1.31
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 +60 -2
- package/dist/index.d.ts +60 -2
- package/dist/index.js +30 -33
- package/dist/index.mjs +30 -33
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1070,6 +1070,7 @@ declare function initHubspotClient(token?: string): void;
|
|
|
1070
1070
|
declare function updateHubspotClient(token?: string): void;
|
|
1071
1071
|
|
|
1072
1072
|
declare enum BigCommerceWebhookScopes {
|
|
1073
|
+
CardCreated = "store/cart/created",
|
|
1073
1074
|
OrderCreated = "store/order/created",
|
|
1074
1075
|
OrderUpdated = "store/order/updated"
|
|
1075
1076
|
}
|
|
@@ -1094,8 +1095,13 @@ interface BigCommerceWebhookDataBase<TPayload = unknown> {
|
|
|
1094
1095
|
type BigCommerceWebhookConcreteData<TScope extends BigCommerceWebhookScopes, TPayload> = BigCommerceWebhookDataBase<TPayload> & {
|
|
1095
1096
|
scope: TScope;
|
|
1096
1097
|
};
|
|
1098
|
+
type BigCommerceCardCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CardCreated, {
|
|
1099
|
+
type: "card";
|
|
1100
|
+
id: string;
|
|
1101
|
+
}>;
|
|
1102
|
+
type BigCommerceOrderCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderCreated, IOrder>;
|
|
1097
1103
|
type BigCommerceOrderUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderUpdated, IOrder>;
|
|
1098
|
-
type BigCommerceWebhookData = BigCommerceOrderUpdatedWebhookData;
|
|
1104
|
+
type BigCommerceWebhookData = BigCommerceCardCreatedWebhookData | BigCommerceOrderCreatedWebhookData | BigCommerceOrderUpdatedWebhookData;
|
|
1099
1105
|
interface BigCommerceCreateWebhookPayload {
|
|
1100
1106
|
scope: BigCommerceWebhookScopes;
|
|
1101
1107
|
destination: string;
|
|
@@ -1979,6 +1985,7 @@ type BigCommerceFlowContext<TAction extends BigCommerceFlows> = TAction extends
|
|
|
1979
1985
|
type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends "authorize" ? BigCommerceAuthorizeFlowResult : never;
|
|
1980
1986
|
|
|
1981
1987
|
declare enum BigCommerceEventNames {
|
|
1988
|
+
CardCreated = "card_created",
|
|
1982
1989
|
OrderCreated = "order_created",
|
|
1983
1990
|
OrderUpdated = "order_updated"
|
|
1984
1991
|
}
|
|
@@ -1987,6 +1994,13 @@ declare const bigcommerceEventsZods: {
|
|
|
1987
1994
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
1988
1995
|
eventName: z.ZodNativeEnum<typeof BigCommerceEventNames>;
|
|
1989
1996
|
events: {
|
|
1997
|
+
cardCreated: z.ZodObject<{
|
|
1998
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
1999
|
+
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2001
|
+
}, {
|
|
2002
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2003
|
+
}>;
|
|
1990
2004
|
orderCreated: z.ZodObject<{
|
|
1991
2005
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
1992
2006
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2003,6 +2017,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2003
2017
|
}>;
|
|
2004
2018
|
};
|
|
2005
2019
|
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2020
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2023
|
+
}, {
|
|
2024
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2025
|
+
}>, z.ZodObject<{
|
|
2006
2026
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2007
2027
|
}, "strip", z.ZodTypeAny, {
|
|
2008
2028
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2036,6 +2056,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2036
2056
|
sourceKey: string;
|
|
2037
2057
|
}>, z.ZodObject<{
|
|
2038
2058
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2059
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2062
|
+
}, {
|
|
2063
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2064
|
+
}>, z.ZodObject<{
|
|
2039
2065
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2040
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2041
2067
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2051,6 +2077,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2051
2077
|
callback: z.ZodString;
|
|
2052
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2053
2079
|
event: {
|
|
2080
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2081
|
+
} | {
|
|
2054
2082
|
name: BigCommerceEventNames.OrderCreated;
|
|
2055
2083
|
} | {
|
|
2056
2084
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2058,6 +2086,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2058
2086
|
callback: string;
|
|
2059
2087
|
}, {
|
|
2060
2088
|
event: {
|
|
2089
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2090
|
+
} | {
|
|
2061
2091
|
name: BigCommerceEventNames.OrderCreated;
|
|
2062
2092
|
} | {
|
|
2063
2093
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2067,6 +2097,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2067
2097
|
readonly subscribeContent: z.ZodObject<{
|
|
2068
2098
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
2069
2099
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2100
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2103
|
+
}, {
|
|
2104
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2105
|
+
}>, z.ZodObject<{
|
|
2070
2106
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2071
2107
|
}, "strip", z.ZodTypeAny, {
|
|
2072
2108
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2082,6 +2118,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2082
2118
|
callback: z.ZodString;
|
|
2083
2119
|
}, "strip", z.ZodTypeAny, {
|
|
2084
2120
|
event: {
|
|
2121
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2122
|
+
} | {
|
|
2085
2123
|
name: BigCommerceEventNames.OrderCreated;
|
|
2086
2124
|
} | {
|
|
2087
2125
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2090,6 +2128,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2090
2128
|
provider: "bigcommerce";
|
|
2091
2129
|
}, {
|
|
2092
2130
|
event: {
|
|
2131
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2132
|
+
} | {
|
|
2093
2133
|
name: BigCommerceEventNames.OrderCreated;
|
|
2094
2134
|
} | {
|
|
2095
2135
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -3099,6 +3139,12 @@ declare const integrationEventsZods: {
|
|
|
3099
3139
|
}, {
|
|
3100
3140
|
name: HubspotEventNames.ContactDeleted;
|
|
3101
3141
|
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3142
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
3143
|
+
}, "strip", z.ZodTypeAny, {
|
|
3144
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3145
|
+
}, {
|
|
3146
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3147
|
+
}>, z.ZodObject<{
|
|
3102
3148
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3103
3149
|
}, "strip", z.ZodTypeAny, {
|
|
3104
3150
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -3324,6 +3370,12 @@ declare const integrationEventsZods: {
|
|
|
3324
3370
|
}>, z.ZodObject<{
|
|
3325
3371
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
3326
3372
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3373
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
3374
|
+
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3376
|
+
}, {
|
|
3377
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3378
|
+
}>, z.ZodObject<{
|
|
3327
3379
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3328
3380
|
}, "strip", z.ZodTypeAny, {
|
|
3329
3381
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -3339,6 +3391,8 @@ declare const integrationEventsZods: {
|
|
|
3339
3391
|
callback: z.ZodString;
|
|
3340
3392
|
}, "strip", z.ZodTypeAny, {
|
|
3341
3393
|
event: {
|
|
3394
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3395
|
+
} | {
|
|
3342
3396
|
name: BigCommerceEventNames.OrderCreated;
|
|
3343
3397
|
} | {
|
|
3344
3398
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -3347,6 +3401,8 @@ declare const integrationEventsZods: {
|
|
|
3347
3401
|
provider: "bigcommerce";
|
|
3348
3402
|
}, {
|
|
3349
3403
|
event: {
|
|
3404
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3405
|
+
} | {
|
|
3350
3406
|
name: BigCommerceEventNames.OrderCreated;
|
|
3351
3407
|
} | {
|
|
3352
3408
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -4887,6 +4943,8 @@ declare const api: {
|
|
|
4887
4943
|
sourceKey: string;
|
|
4888
4944
|
} & {
|
|
4889
4945
|
event: {
|
|
4946
|
+
name: BigCommerceEventNames.CardCreated;
|
|
4947
|
+
} | {
|
|
4890
4948
|
name: BigCommerceEventNames.OrderCreated;
|
|
4891
4949
|
} | {
|
|
4892
4950
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -5613,4 +5671,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5613
5671
|
};
|
|
5614
5672
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
5615
5673
|
|
|
5616
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
|
5674
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCardCreatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -1070,6 +1070,7 @@ declare function initHubspotClient(token?: string): void;
|
|
|
1070
1070
|
declare function updateHubspotClient(token?: string): void;
|
|
1071
1071
|
|
|
1072
1072
|
declare enum BigCommerceWebhookScopes {
|
|
1073
|
+
CardCreated = "store/cart/created",
|
|
1073
1074
|
OrderCreated = "store/order/created",
|
|
1074
1075
|
OrderUpdated = "store/order/updated"
|
|
1075
1076
|
}
|
|
@@ -1094,8 +1095,13 @@ interface BigCommerceWebhookDataBase<TPayload = unknown> {
|
|
|
1094
1095
|
type BigCommerceWebhookConcreteData<TScope extends BigCommerceWebhookScopes, TPayload> = BigCommerceWebhookDataBase<TPayload> & {
|
|
1095
1096
|
scope: TScope;
|
|
1096
1097
|
};
|
|
1098
|
+
type BigCommerceCardCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.CardCreated, {
|
|
1099
|
+
type: "card";
|
|
1100
|
+
id: string;
|
|
1101
|
+
}>;
|
|
1102
|
+
type BigCommerceOrderCreatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderCreated, IOrder>;
|
|
1097
1103
|
type BigCommerceOrderUpdatedWebhookData = BigCommerceWebhookConcreteData<BigCommerceWebhookScopes.OrderUpdated, IOrder>;
|
|
1098
|
-
type BigCommerceWebhookData = BigCommerceOrderUpdatedWebhookData;
|
|
1104
|
+
type BigCommerceWebhookData = BigCommerceCardCreatedWebhookData | BigCommerceOrderCreatedWebhookData | BigCommerceOrderUpdatedWebhookData;
|
|
1099
1105
|
interface BigCommerceCreateWebhookPayload {
|
|
1100
1106
|
scope: BigCommerceWebhookScopes;
|
|
1101
1107
|
destination: string;
|
|
@@ -1979,6 +1985,7 @@ type BigCommerceFlowContext<TAction extends BigCommerceFlows> = TAction extends
|
|
|
1979
1985
|
type BigCommerceFlowResult<TAction extends BigCommerceFlows> = TAction extends "authorize" ? BigCommerceAuthorizeFlowResult : never;
|
|
1980
1986
|
|
|
1981
1987
|
declare enum BigCommerceEventNames {
|
|
1988
|
+
CardCreated = "card_created",
|
|
1982
1989
|
OrderCreated = "order_created",
|
|
1983
1990
|
OrderUpdated = "order_updated"
|
|
1984
1991
|
}
|
|
@@ -1987,6 +1994,13 @@ declare const bigcommerceEventsZods: {
|
|
|
1987
1994
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
1988
1995
|
eventName: z.ZodNativeEnum<typeof BigCommerceEventNames>;
|
|
1989
1996
|
events: {
|
|
1997
|
+
cardCreated: z.ZodObject<{
|
|
1998
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
1999
|
+
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2001
|
+
}, {
|
|
2002
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2003
|
+
}>;
|
|
1990
2004
|
orderCreated: z.ZodObject<{
|
|
1991
2005
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
1992
2006
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2003,6 +2017,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2003
2017
|
}>;
|
|
2004
2018
|
};
|
|
2005
2019
|
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2020
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2023
|
+
}, {
|
|
2024
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2025
|
+
}>, z.ZodObject<{
|
|
2006
2026
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2007
2027
|
}, "strip", z.ZodTypeAny, {
|
|
2008
2028
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2036,6 +2056,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2036
2056
|
sourceKey: string;
|
|
2037
2057
|
}>, z.ZodObject<{
|
|
2038
2058
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2059
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2062
|
+
}, {
|
|
2063
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2064
|
+
}>, z.ZodObject<{
|
|
2039
2065
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2040
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2041
2067
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2051,6 +2077,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2051
2077
|
callback: z.ZodString;
|
|
2052
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2053
2079
|
event: {
|
|
2080
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2081
|
+
} | {
|
|
2054
2082
|
name: BigCommerceEventNames.OrderCreated;
|
|
2055
2083
|
} | {
|
|
2056
2084
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2058,6 +2086,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2058
2086
|
callback: string;
|
|
2059
2087
|
}, {
|
|
2060
2088
|
event: {
|
|
2089
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2090
|
+
} | {
|
|
2061
2091
|
name: BigCommerceEventNames.OrderCreated;
|
|
2062
2092
|
} | {
|
|
2063
2093
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2067,6 +2097,12 @@ declare const bigcommerceEventsZods: {
|
|
|
2067
2097
|
readonly subscribeContent: z.ZodObject<{
|
|
2068
2098
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
2069
2099
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2100
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2103
|
+
}, {
|
|
2104
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2105
|
+
}>, z.ZodObject<{
|
|
2070
2106
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2071
2107
|
}, "strip", z.ZodTypeAny, {
|
|
2072
2108
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -2082,6 +2118,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2082
2118
|
callback: z.ZodString;
|
|
2083
2119
|
}, "strip", z.ZodTypeAny, {
|
|
2084
2120
|
event: {
|
|
2121
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2122
|
+
} | {
|
|
2085
2123
|
name: BigCommerceEventNames.OrderCreated;
|
|
2086
2124
|
} | {
|
|
2087
2125
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -2090,6 +2128,8 @@ declare const bigcommerceEventsZods: {
|
|
|
2090
2128
|
provider: "bigcommerce";
|
|
2091
2129
|
}, {
|
|
2092
2130
|
event: {
|
|
2131
|
+
name: BigCommerceEventNames.CardCreated;
|
|
2132
|
+
} | {
|
|
2093
2133
|
name: BigCommerceEventNames.OrderCreated;
|
|
2094
2134
|
} | {
|
|
2095
2135
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -3099,6 +3139,12 @@ declare const integrationEventsZods: {
|
|
|
3099
3139
|
}, {
|
|
3100
3140
|
name: HubspotEventNames.ContactDeleted;
|
|
3101
3141
|
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3142
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
3143
|
+
}, "strip", z.ZodTypeAny, {
|
|
3144
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3145
|
+
}, {
|
|
3146
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3147
|
+
}>, z.ZodObject<{
|
|
3102
3148
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3103
3149
|
}, "strip", z.ZodTypeAny, {
|
|
3104
3150
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -3324,6 +3370,12 @@ declare const integrationEventsZods: {
|
|
|
3324
3370
|
}>, z.ZodObject<{
|
|
3325
3371
|
provider: z.ZodLiteral<"bigcommerce">;
|
|
3326
3372
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
3373
|
+
name: z.ZodLiteral<BigCommerceEventNames.CardCreated>;
|
|
3374
|
+
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3376
|
+
}, {
|
|
3377
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3378
|
+
}>, z.ZodObject<{
|
|
3327
3379
|
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
3328
3380
|
}, "strip", z.ZodTypeAny, {
|
|
3329
3381
|
name: BigCommerceEventNames.OrderCreated;
|
|
@@ -3339,6 +3391,8 @@ declare const integrationEventsZods: {
|
|
|
3339
3391
|
callback: z.ZodString;
|
|
3340
3392
|
}, "strip", z.ZodTypeAny, {
|
|
3341
3393
|
event: {
|
|
3394
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3395
|
+
} | {
|
|
3342
3396
|
name: BigCommerceEventNames.OrderCreated;
|
|
3343
3397
|
} | {
|
|
3344
3398
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -3347,6 +3401,8 @@ declare const integrationEventsZods: {
|
|
|
3347
3401
|
provider: "bigcommerce";
|
|
3348
3402
|
}, {
|
|
3349
3403
|
event: {
|
|
3404
|
+
name: BigCommerceEventNames.CardCreated;
|
|
3405
|
+
} | {
|
|
3350
3406
|
name: BigCommerceEventNames.OrderCreated;
|
|
3351
3407
|
} | {
|
|
3352
3408
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -4887,6 +4943,8 @@ declare const api: {
|
|
|
4887
4943
|
sourceKey: string;
|
|
4888
4944
|
} & {
|
|
4889
4945
|
event: {
|
|
4946
|
+
name: BigCommerceEventNames.CardCreated;
|
|
4947
|
+
} | {
|
|
4890
4948
|
name: BigCommerceEventNames.OrderCreated;
|
|
4891
4949
|
} | {
|
|
4892
4950
|
name: BigCommerceEventNames.OrderUpdated;
|
|
@@ -5613,4 +5671,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
5613
5671
|
};
|
|
5614
5672
|
}): Promise<IntegrationFlowOutput<TFlowResult> | undefined>;
|
|
5615
5673
|
|
|
5616
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
|
5674
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCardCreatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateWorkflowPayload, Credential, CredentialDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromBigCommerceEventPayload, UnsubscribeFromHubspotEventPayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateCredentialPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlOld, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, hubspotClientInstance, hubspotEventsZods, initApi, initBigCommerceClient, initGithubClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -411,7 +411,7 @@ var gitHubRepositoryApi = {
|
|
|
411
411
|
getRepository(repositoryName, authorization) {
|
|
412
412
|
return __async(this, null, function* () {
|
|
413
413
|
const response = yield githubClientInstance.get(
|
|
414
|
-
`/repos/${
|
|
414
|
+
`/repos/${repositoryName}`,
|
|
415
415
|
getGithubClientConfig({
|
|
416
416
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
417
417
|
ensureAuthorizationToken: true
|
|
@@ -423,7 +423,7 @@ var gitHubRepositoryApi = {
|
|
|
423
423
|
getRepositoryBranches(repositoryName, authorization) {
|
|
424
424
|
return __async(this, null, function* () {
|
|
425
425
|
const response = yield githubClientInstance.get(
|
|
426
|
-
`/repos/${
|
|
426
|
+
`/repos/${repositoryName}/branches`,
|
|
427
427
|
getGithubClientConfig({
|
|
428
428
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
429
429
|
ensureAuthorizationToken: true
|
|
@@ -435,7 +435,7 @@ var gitHubRepositoryApi = {
|
|
|
435
435
|
getRepositoryBranch(repositoryName, repositoryBranch, authorization) {
|
|
436
436
|
return __async(this, null, function* () {
|
|
437
437
|
const response = yield githubClientInstance.get(
|
|
438
|
-
`/repos/${
|
|
438
|
+
`/repos/${repositoryName}/branches`,
|
|
439
439
|
getGithubClientConfig({
|
|
440
440
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
441
441
|
ensureAuthorizationToken: true
|
|
@@ -453,9 +453,7 @@ var gitHubRepositoryApi = {
|
|
|
453
453
|
getRepositorySeed(repositoryName, authorization) {
|
|
454
454
|
return __async(this, null, function* () {
|
|
455
455
|
const { data } = yield githubClientInstance.get(
|
|
456
|
-
`/repos/${
|
|
457
|
-
repositoryName
|
|
458
|
-
)}/contents/livechat.config.json`,
|
|
456
|
+
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
459
457
|
getGithubClientConfig({
|
|
460
458
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
461
459
|
ensureAuthorizationToken: true
|
|
@@ -470,7 +468,7 @@ var gitHubRepositoryApi = {
|
|
|
470
468
|
let repository;
|
|
471
469
|
if (template) {
|
|
472
470
|
const response2 = yield githubClientInstance.post(
|
|
473
|
-
`/repos/${
|
|
471
|
+
`/repos/${template}/generate`,
|
|
474
472
|
{
|
|
475
473
|
name,
|
|
476
474
|
description: name,
|
|
@@ -501,7 +499,7 @@ var gitHubRepositoryApi = {
|
|
|
501
499
|
repository = response2.data;
|
|
502
500
|
}
|
|
503
501
|
yield githubClientInstance.patch(
|
|
504
|
-
`/repos/${
|
|
502
|
+
`/repos/${repository.full_name}`,
|
|
505
503
|
{
|
|
506
504
|
private: true
|
|
507
505
|
},
|
|
@@ -533,9 +531,7 @@ var gitHubRepositoryApi = {
|
|
|
533
531
|
return __async(this, null, function* () {
|
|
534
532
|
const upsert = (sha) => __async(this, null, function* () {
|
|
535
533
|
const response = yield githubClientInstance.put(
|
|
536
|
-
`/repos/${
|
|
537
|
-
repositoryName
|
|
538
|
-
)}/contents/livechat.config.json`,
|
|
534
|
+
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
539
535
|
{
|
|
540
536
|
message: "Added LiveChat Developer App configuration",
|
|
541
537
|
sha,
|
|
@@ -567,7 +563,7 @@ var gitHubRepositoryApi = {
|
|
|
567
563
|
deleteRepository(repositoryName, authorization) {
|
|
568
564
|
return __async(this, null, function* () {
|
|
569
565
|
return githubClientInstance.delete(
|
|
570
|
-
`/repos/${
|
|
566
|
+
`/repos/${repositoryName}`,
|
|
571
567
|
getGithubClientConfig({
|
|
572
568
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
573
569
|
ensureAuthorizationToken: true
|
|
@@ -578,7 +574,7 @@ var gitHubRepositoryApi = {
|
|
|
578
574
|
createRepositoryDeployKey(repositoryName, deployKey, authorization) {
|
|
579
575
|
return __async(this, null, function* () {
|
|
580
576
|
const response = yield githubClientInstance.post(
|
|
581
|
-
`/repos/${
|
|
577
|
+
`/repos/${repositoryName}/keys`,
|
|
582
578
|
{
|
|
583
579
|
title: "developer-console-to-netlify",
|
|
584
580
|
key: deployKey
|
|
@@ -595,7 +591,7 @@ var gitHubRepositoryApi = {
|
|
|
595
591
|
return __async(this, null, function* () {
|
|
596
592
|
try {
|
|
597
593
|
const response = yield githubClientInstance.post(
|
|
598
|
-
`/repos/${
|
|
594
|
+
`/repos/${repositoryName}/hooks`,
|
|
599
595
|
{
|
|
600
596
|
name: "web",
|
|
601
597
|
active: true,
|
|
@@ -626,7 +622,7 @@ var gitHubRepositoryApi = {
|
|
|
626
622
|
getFile(path, repositoryName, authorization) {
|
|
627
623
|
return __async(this, null, function* () {
|
|
628
624
|
const { data } = yield githubClientInstance.get(
|
|
629
|
-
`/repos/${
|
|
625
|
+
`/repos/${repositoryName}/contents/${path}`,
|
|
630
626
|
getGithubClientConfig({
|
|
631
627
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
632
628
|
ensureAuthorizationToken: true
|
|
@@ -638,7 +634,7 @@ var gitHubRepositoryApi = {
|
|
|
638
634
|
getCommits(repositoryName, authorization) {
|
|
639
635
|
return __async(this, null, function* () {
|
|
640
636
|
const { data: commits } = yield githubClientInstance.get(
|
|
641
|
-
`/repos/${
|
|
637
|
+
`/repos/${repositoryName}/commits`,
|
|
642
638
|
getGithubClientConfig({
|
|
643
639
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
644
640
|
ensureAuthorizationToken: true
|
|
@@ -656,9 +652,9 @@ var gitHubRepositoryApi = {
|
|
|
656
652
|
object: { sha: currentCommitSha }
|
|
657
653
|
}
|
|
658
654
|
} = yield githubClientInstance.get(
|
|
659
|
-
`/repos/${encodeURIComponent(
|
|
660
|
-
data.
|
|
661
|
-
)}
|
|
655
|
+
`/repos/${data.repositoryName}/git/refs/heads/${encodeURIComponent(
|
|
656
|
+
data.repositoryBranch
|
|
657
|
+
)}`,
|
|
662
658
|
getGithubClientConfig({
|
|
663
659
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
664
660
|
ensureAuthorizationToken: true
|
|
@@ -669,9 +665,7 @@ var gitHubRepositoryApi = {
|
|
|
669
665
|
tree: { sha: treeSha }
|
|
670
666
|
}
|
|
671
667
|
} = yield githubClientInstance.get(
|
|
672
|
-
`/repos/${
|
|
673
|
-
data.repositoryName
|
|
674
|
-
)}/git/commits/${currentCommitSha}`,
|
|
668
|
+
`/repos/${data.repositoryName}/git/commits/${currentCommitSha}`,
|
|
675
669
|
getGithubClientConfig({
|
|
676
670
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
677
671
|
ensureAuthorizationToken: true
|
|
@@ -680,7 +674,7 @@ var gitHubRepositoryApi = {
|
|
|
680
674
|
const {
|
|
681
675
|
data: { sha: newTreeSha }
|
|
682
676
|
} = yield githubClientInstance.post(
|
|
683
|
-
`/repos/${
|
|
677
|
+
`/repos/${data.repositoryName}/git/trees`,
|
|
684
678
|
{
|
|
685
679
|
base_tree: treeSha,
|
|
686
680
|
tree: data.files.map(
|
|
@@ -696,7 +690,7 @@ var gitHubRepositoryApi = {
|
|
|
696
690
|
const {
|
|
697
691
|
data: { sha: newCommitSha }
|
|
698
692
|
} = yield githubClientInstance.post(
|
|
699
|
-
`/repos/${
|
|
693
|
+
`/repos/${data.repositoryName}/git/commits`,
|
|
700
694
|
{
|
|
701
695
|
message: data.message,
|
|
702
696
|
tree: newTreeSha,
|
|
@@ -708,7 +702,7 @@ var gitHubRepositoryApi = {
|
|
|
708
702
|
})
|
|
709
703
|
);
|
|
710
704
|
yield githubClientInstance.post(
|
|
711
|
-
`/repos/${
|
|
705
|
+
`/repos/${data.repositoryName}/git/refs/heads/${data.repositoryBranch}`,
|
|
712
706
|
{ sha: newCommitSha },
|
|
713
707
|
getGithubClientConfig({
|
|
714
708
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
@@ -719,19 +713,16 @@ var gitHubRepositoryApi = {
|
|
|
719
713
|
},
|
|
720
714
|
getRepositoryIssues(repositoryName, state) {
|
|
721
715
|
return __async(this, null, function* () {
|
|
722
|
-
const { data: issues } = yield githubClientInstance.get(`/repos/${
|
|
716
|
+
const { data: issues } = yield githubClientInstance.get(`/repos/${repositoryName}/issues?state=${state}`);
|
|
723
717
|
return issues;
|
|
724
718
|
});
|
|
725
719
|
},
|
|
726
720
|
createRepositoryIssue(repositoryName, title, body) {
|
|
727
721
|
return __async(this, null, function* () {
|
|
728
|
-
yield githubClientInstance.post(
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
body
|
|
733
|
-
}
|
|
734
|
-
);
|
|
722
|
+
yield githubClientInstance.post(`/repos/${repositoryName}/issues`, {
|
|
723
|
+
title,
|
|
724
|
+
body
|
|
725
|
+
});
|
|
735
726
|
});
|
|
736
727
|
}
|
|
737
728
|
};
|
|
@@ -6920,6 +6911,7 @@ var HubSpotWebhookEventTypes = /* @__PURE__ */ ((HubSpotWebhookEventTypes2) => {
|
|
|
6920
6911
|
|
|
6921
6912
|
// src/apis/integrations/bigcommerce/webhooks/_contracts/dtos/webhooks.ts
|
|
6922
6913
|
var BigCommerceWebhookScopes = /* @__PURE__ */ ((BigCommerceWebhookScopes2) => {
|
|
6914
|
+
BigCommerceWebhookScopes2["CardCreated"] = "store/cart/created";
|
|
6923
6915
|
BigCommerceWebhookScopes2["OrderCreated"] = "store/order/created";
|
|
6924
6916
|
BigCommerceWebhookScopes2["OrderUpdated"] = "store/order/updated";
|
|
6925
6917
|
return BigCommerceWebhookScopes2;
|
|
@@ -7277,6 +7269,7 @@ var import_zod5 = require("zod");
|
|
|
7277
7269
|
|
|
7278
7270
|
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/dtos/events.ts
|
|
7279
7271
|
var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
7272
|
+
BigCommerceEventNames2["CardCreated"] = "card_created";
|
|
7280
7273
|
BigCommerceEventNames2["OrderCreated"] = "order_created";
|
|
7281
7274
|
BigCommerceEventNames2["OrderUpdated"] = "order_updated";
|
|
7282
7275
|
return BigCommerceEventNames2;
|
|
@@ -7287,6 +7280,9 @@ var bigcommerceEventsZods = {
|
|
|
7287
7280
|
provider: import_zod5.z.literal("bigcommerce"),
|
|
7288
7281
|
eventName: import_zod5.z.nativeEnum(BigCommerceEventNames),
|
|
7289
7282
|
events: {
|
|
7283
|
+
cardCreated: import_zod5.z.object({
|
|
7284
|
+
name: import_zod5.z.literal("card_created" /* CardCreated */)
|
|
7285
|
+
}),
|
|
7290
7286
|
orderCreated: import_zod5.z.object({
|
|
7291
7287
|
name: import_zod5.z.literal("order_created" /* OrderCreated */)
|
|
7292
7288
|
}),
|
|
@@ -7296,6 +7292,7 @@ var bigcommerceEventsZods = {
|
|
|
7296
7292
|
},
|
|
7297
7293
|
get event() {
|
|
7298
7294
|
return import_zod5.z.discriminatedUnion("name", [
|
|
7295
|
+
this.events.cardCreated,
|
|
7299
7296
|
this.events.orderCreated,
|
|
7300
7297
|
this.events.orderUpdated
|
|
7301
7298
|
]);
|
package/dist/index.mjs
CHANGED
|
@@ -258,7 +258,7 @@ var gitHubRepositoryApi = {
|
|
|
258
258
|
getRepository(repositoryName, authorization) {
|
|
259
259
|
return __async(this, null, function* () {
|
|
260
260
|
const response = yield githubClientInstance.get(
|
|
261
|
-
`/repos/${
|
|
261
|
+
`/repos/${repositoryName}`,
|
|
262
262
|
getGithubClientConfig({
|
|
263
263
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
264
264
|
ensureAuthorizationToken: true
|
|
@@ -270,7 +270,7 @@ var gitHubRepositoryApi = {
|
|
|
270
270
|
getRepositoryBranches(repositoryName, authorization) {
|
|
271
271
|
return __async(this, null, function* () {
|
|
272
272
|
const response = yield githubClientInstance.get(
|
|
273
|
-
`/repos/${
|
|
273
|
+
`/repos/${repositoryName}/branches`,
|
|
274
274
|
getGithubClientConfig({
|
|
275
275
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
276
276
|
ensureAuthorizationToken: true
|
|
@@ -282,7 +282,7 @@ var gitHubRepositoryApi = {
|
|
|
282
282
|
getRepositoryBranch(repositoryName, repositoryBranch, authorization) {
|
|
283
283
|
return __async(this, null, function* () {
|
|
284
284
|
const response = yield githubClientInstance.get(
|
|
285
|
-
`/repos/${
|
|
285
|
+
`/repos/${repositoryName}/branches`,
|
|
286
286
|
getGithubClientConfig({
|
|
287
287
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
288
288
|
ensureAuthorizationToken: true
|
|
@@ -300,9 +300,7 @@ var gitHubRepositoryApi = {
|
|
|
300
300
|
getRepositorySeed(repositoryName, authorization) {
|
|
301
301
|
return __async(this, null, function* () {
|
|
302
302
|
const { data } = yield githubClientInstance.get(
|
|
303
|
-
`/repos/${
|
|
304
|
-
repositoryName
|
|
305
|
-
)}/contents/livechat.config.json`,
|
|
303
|
+
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
306
304
|
getGithubClientConfig({
|
|
307
305
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
308
306
|
ensureAuthorizationToken: true
|
|
@@ -317,7 +315,7 @@ var gitHubRepositoryApi = {
|
|
|
317
315
|
let repository;
|
|
318
316
|
if (template) {
|
|
319
317
|
const response2 = yield githubClientInstance.post(
|
|
320
|
-
`/repos/${
|
|
318
|
+
`/repos/${template}/generate`,
|
|
321
319
|
{
|
|
322
320
|
name,
|
|
323
321
|
description: name,
|
|
@@ -348,7 +346,7 @@ var gitHubRepositoryApi = {
|
|
|
348
346
|
repository = response2.data;
|
|
349
347
|
}
|
|
350
348
|
yield githubClientInstance.patch(
|
|
351
|
-
`/repos/${
|
|
349
|
+
`/repos/${repository.full_name}`,
|
|
352
350
|
{
|
|
353
351
|
private: true
|
|
354
352
|
},
|
|
@@ -380,9 +378,7 @@ var gitHubRepositoryApi = {
|
|
|
380
378
|
return __async(this, null, function* () {
|
|
381
379
|
const upsert = (sha) => __async(this, null, function* () {
|
|
382
380
|
const response = yield githubClientInstance.put(
|
|
383
|
-
`/repos/${
|
|
384
|
-
repositoryName
|
|
385
|
-
)}/contents/livechat.config.json`,
|
|
381
|
+
`/repos/${repositoryName}/contents/livechat.config.json`,
|
|
386
382
|
{
|
|
387
383
|
message: "Added LiveChat Developer App configuration",
|
|
388
384
|
sha,
|
|
@@ -414,7 +410,7 @@ var gitHubRepositoryApi = {
|
|
|
414
410
|
deleteRepository(repositoryName, authorization) {
|
|
415
411
|
return __async(this, null, function* () {
|
|
416
412
|
return githubClientInstance.delete(
|
|
417
|
-
`/repos/${
|
|
413
|
+
`/repos/${repositoryName}`,
|
|
418
414
|
getGithubClientConfig({
|
|
419
415
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
420
416
|
ensureAuthorizationToken: true
|
|
@@ -425,7 +421,7 @@ var gitHubRepositoryApi = {
|
|
|
425
421
|
createRepositoryDeployKey(repositoryName, deployKey, authorization) {
|
|
426
422
|
return __async(this, null, function* () {
|
|
427
423
|
const response = yield githubClientInstance.post(
|
|
428
|
-
`/repos/${
|
|
424
|
+
`/repos/${repositoryName}/keys`,
|
|
429
425
|
{
|
|
430
426
|
title: "developer-console-to-netlify",
|
|
431
427
|
key: deployKey
|
|
@@ -442,7 +438,7 @@ var gitHubRepositoryApi = {
|
|
|
442
438
|
return __async(this, null, function* () {
|
|
443
439
|
try {
|
|
444
440
|
const response = yield githubClientInstance.post(
|
|
445
|
-
`/repos/${
|
|
441
|
+
`/repos/${repositoryName}/hooks`,
|
|
446
442
|
{
|
|
447
443
|
name: "web",
|
|
448
444
|
active: true,
|
|
@@ -473,7 +469,7 @@ var gitHubRepositoryApi = {
|
|
|
473
469
|
getFile(path, repositoryName, authorization) {
|
|
474
470
|
return __async(this, null, function* () {
|
|
475
471
|
const { data } = yield githubClientInstance.get(
|
|
476
|
-
`/repos/${
|
|
472
|
+
`/repos/${repositoryName}/contents/${path}`,
|
|
477
473
|
getGithubClientConfig({
|
|
478
474
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
479
475
|
ensureAuthorizationToken: true
|
|
@@ -485,7 +481,7 @@ var gitHubRepositoryApi = {
|
|
|
485
481
|
getCommits(repositoryName, authorization) {
|
|
486
482
|
return __async(this, null, function* () {
|
|
487
483
|
const { data: commits } = yield githubClientInstance.get(
|
|
488
|
-
`/repos/${
|
|
484
|
+
`/repos/${repositoryName}/commits`,
|
|
489
485
|
getGithubClientConfig({
|
|
490
486
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
491
487
|
ensureAuthorizationToken: true
|
|
@@ -503,9 +499,9 @@ var gitHubRepositoryApi = {
|
|
|
503
499
|
object: { sha: currentCommitSha }
|
|
504
500
|
}
|
|
505
501
|
} = yield githubClientInstance.get(
|
|
506
|
-
`/repos/${encodeURIComponent(
|
|
507
|
-
data.
|
|
508
|
-
)}
|
|
502
|
+
`/repos/${data.repositoryName}/git/refs/heads/${encodeURIComponent(
|
|
503
|
+
data.repositoryBranch
|
|
504
|
+
)}`,
|
|
509
505
|
getGithubClientConfig({
|
|
510
506
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
511
507
|
ensureAuthorizationToken: true
|
|
@@ -516,9 +512,7 @@ var gitHubRepositoryApi = {
|
|
|
516
512
|
tree: { sha: treeSha }
|
|
517
513
|
}
|
|
518
514
|
} = yield githubClientInstance.get(
|
|
519
|
-
`/repos/${
|
|
520
|
-
data.repositoryName
|
|
521
|
-
)}/git/commits/${currentCommitSha}`,
|
|
515
|
+
`/repos/${data.repositoryName}/git/commits/${currentCommitSha}`,
|
|
522
516
|
getGithubClientConfig({
|
|
523
517
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
524
518
|
ensureAuthorizationToken: true
|
|
@@ -527,7 +521,7 @@ var gitHubRepositoryApi = {
|
|
|
527
521
|
const {
|
|
528
522
|
data: { sha: newTreeSha }
|
|
529
523
|
} = yield githubClientInstance.post(
|
|
530
|
-
`/repos/${
|
|
524
|
+
`/repos/${data.repositoryName}/git/trees`,
|
|
531
525
|
{
|
|
532
526
|
base_tree: treeSha,
|
|
533
527
|
tree: data.files.map(
|
|
@@ -543,7 +537,7 @@ var gitHubRepositoryApi = {
|
|
|
543
537
|
const {
|
|
544
538
|
data: { sha: newCommitSha }
|
|
545
539
|
} = yield githubClientInstance.post(
|
|
546
|
-
`/repos/${
|
|
540
|
+
`/repos/${data.repositoryName}/git/commits`,
|
|
547
541
|
{
|
|
548
542
|
message: data.message,
|
|
549
543
|
tree: newTreeSha,
|
|
@@ -555,7 +549,7 @@ var gitHubRepositoryApi = {
|
|
|
555
549
|
})
|
|
556
550
|
);
|
|
557
551
|
yield githubClientInstance.post(
|
|
558
|
-
`/repos/${
|
|
552
|
+
`/repos/${data.repositoryName}/git/refs/heads/${data.repositoryBranch}`,
|
|
559
553
|
{ sha: newCommitSha },
|
|
560
554
|
getGithubClientConfig({
|
|
561
555
|
token: authorization == null ? void 0 : authorization.appToken,
|
|
@@ -566,19 +560,16 @@ var gitHubRepositoryApi = {
|
|
|
566
560
|
},
|
|
567
561
|
getRepositoryIssues(repositoryName, state) {
|
|
568
562
|
return __async(this, null, function* () {
|
|
569
|
-
const { data: issues } = yield githubClientInstance.get(`/repos/${
|
|
563
|
+
const { data: issues } = yield githubClientInstance.get(`/repos/${repositoryName}/issues?state=${state}`);
|
|
570
564
|
return issues;
|
|
571
565
|
});
|
|
572
566
|
},
|
|
573
567
|
createRepositoryIssue(repositoryName, title, body) {
|
|
574
568
|
return __async(this, null, function* () {
|
|
575
|
-
yield githubClientInstance.post(
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
body
|
|
580
|
-
}
|
|
581
|
-
);
|
|
569
|
+
yield githubClientInstance.post(`/repos/${repositoryName}/issues`, {
|
|
570
|
+
title,
|
|
571
|
+
body
|
|
572
|
+
});
|
|
582
573
|
});
|
|
583
574
|
}
|
|
584
575
|
};
|
|
@@ -6767,6 +6758,7 @@ var HubSpotWebhookEventTypes = /* @__PURE__ */ ((HubSpotWebhookEventTypes2) => {
|
|
|
6767
6758
|
|
|
6768
6759
|
// src/apis/integrations/bigcommerce/webhooks/_contracts/dtos/webhooks.ts
|
|
6769
6760
|
var BigCommerceWebhookScopes = /* @__PURE__ */ ((BigCommerceWebhookScopes2) => {
|
|
6761
|
+
BigCommerceWebhookScopes2["CardCreated"] = "store/cart/created";
|
|
6770
6762
|
BigCommerceWebhookScopes2["OrderCreated"] = "store/order/created";
|
|
6771
6763
|
BigCommerceWebhookScopes2["OrderUpdated"] = "store/order/updated";
|
|
6772
6764
|
return BigCommerceWebhookScopes2;
|
|
@@ -7124,6 +7116,7 @@ import { z as z5 } from "zod";
|
|
|
7124
7116
|
|
|
7125
7117
|
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/dtos/events.ts
|
|
7126
7118
|
var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
7119
|
+
BigCommerceEventNames2["CardCreated"] = "card_created";
|
|
7127
7120
|
BigCommerceEventNames2["OrderCreated"] = "order_created";
|
|
7128
7121
|
BigCommerceEventNames2["OrderUpdated"] = "order_updated";
|
|
7129
7122
|
return BigCommerceEventNames2;
|
|
@@ -7134,6 +7127,9 @@ var bigcommerceEventsZods = {
|
|
|
7134
7127
|
provider: z5.literal("bigcommerce"),
|
|
7135
7128
|
eventName: z5.nativeEnum(BigCommerceEventNames),
|
|
7136
7129
|
events: {
|
|
7130
|
+
cardCreated: z5.object({
|
|
7131
|
+
name: z5.literal("card_created" /* CardCreated */)
|
|
7132
|
+
}),
|
|
7137
7133
|
orderCreated: z5.object({
|
|
7138
7134
|
name: z5.literal("order_created" /* OrderCreated */)
|
|
7139
7135
|
}),
|
|
@@ -7143,6 +7139,7 @@ var bigcommerceEventsZods = {
|
|
|
7143
7139
|
},
|
|
7144
7140
|
get event() {
|
|
7145
7141
|
return z5.discriminatedUnion("name", [
|
|
7142
|
+
this.events.cardCreated,
|
|
7146
7143
|
this.events.orderCreated,
|
|
7147
7144
|
this.events.orderUpdated
|
|
7148
7145
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.31",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"
|
|
23
|
+
"utils": "0.0.4",
|
|
24
24
|
"tsconfig": "0.0.1",
|
|
25
|
-
"
|
|
25
|
+
"eslint-config-custom": "0.0.8"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|