@livechat/developer-studio-api 3.3.8 → 3.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -617,6 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
+ type OpenaiCredential = Extract<Credential, {
621
+ type: "api_key";
622
+ }>;
620
623
  type TextAuthCredential = Extract<Credential, {
621
624
  type: "text_auth";
622
625
  }>;
@@ -2065,8 +2068,6 @@ declare enum IntegrationModes {
2065
2068
  Modal = "modal"
2066
2069
  }
2067
2070
  type IntegrationFlowContext = {
2068
- userId: string;
2069
- userToken: string;
2070
2071
  state: string;
2071
2072
  } & ({
2072
2073
  mode: IntegrationModes.Modal;
@@ -6597,8 +6598,8 @@ declare const api: {
6597
6598
  id: string;
6598
6599
  title: string;
6599
6600
  }[]>;
6600
- createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6601
- createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6601
+ createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6602
+ createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6602
6603
  removeSite(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6603
6604
  triggerSiteBuild(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6604
6605
  addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
@@ -6607,7 +6608,7 @@ declare const api: {
6607
6608
  createDeployKey(authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifyDeployKey>;
6608
6609
  };
6609
6610
  hook: {
6610
- addBuildHooks(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6611
+ addBuildHooks(siteId: string, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6611
6612
  };
6612
6613
  getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
6613
6614
  token: string;
@@ -6974,10 +6975,6 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
6974
6975
  } | {
6975
6976
  mode: IntegrationModes.Modal;
6976
6977
  }, context: TFlowContext, state: TState | string, config: {
6977
- user: {
6978
- id: string;
6979
- token: string;
6980
- };
6981
6978
  urls: {
6982
6979
  adapterUrl: string;
6983
6980
  };
@@ -6987,4 +6984,4 @@ declare function mergeDeep<T extends object, U extends object>(target: T, source
6987
6984
 
6988
6985
  declare const debounce: (func: (...args: unknown[]) => void, wait: number) => (...args: unknown[]) => void;
6989
6986
 
6990
- export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, 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, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, debounce, 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, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
6987
+ export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OpenaiCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, 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, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, debounce, 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, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
package/dist/index.d.ts CHANGED
@@ -617,6 +617,9 @@ type BigCommerceOauthCredential = OAuthCredential<{
617
617
  type HubSpotOauthCredential = OAuthCredential<{
618
618
  appId: string;
619
619
  }, false>;
620
+ type OpenaiCredential = Extract<Credential, {
621
+ type: "api_key";
622
+ }>;
620
623
  type TextAuthCredential = Extract<Credential, {
621
624
  type: "text_auth";
622
625
  }>;
@@ -2065,8 +2068,6 @@ declare enum IntegrationModes {
2065
2068
  Modal = "modal"
2066
2069
  }
2067
2070
  type IntegrationFlowContext = {
2068
- userId: string;
2069
- userToken: string;
2070
2071
  state: string;
2071
2072
  } & ({
2072
2073
  mode: IntegrationModes.Modal;
@@ -6597,8 +6598,8 @@ declare const api: {
6597
6598
  id: string;
6598
6599
  title: string;
6599
6600
  }[]>;
6600
- createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6601
- createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6601
+ createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6602
+ createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifySite>;
6602
6603
  removeSite(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6603
6604
  triggerSiteBuild(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6604
6605
  addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
@@ -6607,7 +6608,7 @@ declare const api: {
6607
6608
  createDeployKey(authorization?: NetlifyClientAuthorization | undefined): Promise<NetlifyDeployKey>;
6608
6609
  };
6609
6610
  hook: {
6610
- addBuildHooks(siteId: string, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6611
+ addBuildHooks(siteId: string, adapterUrl?: string | undefined, authorization?: NetlifyClientAuthorization | undefined): Promise<void>;
6611
6612
  };
6612
6613
  getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
6613
6614
  token: string;
@@ -6974,10 +6975,6 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
6974
6975
  } | {
6975
6976
  mode: IntegrationModes.Modal;
6976
6977
  }, context: TFlowContext, state: TState | string, config: {
6977
- user: {
6978
- id: string;
6979
- token: string;
6980
- };
6981
6978
  urls: {
6982
6979
  adapterUrl: string;
6983
6980
  };
@@ -6987,4 +6984,4 @@ declare function mergeDeep<T extends object, U extends object>(target: T, source
6987
6984
 
6988
6985
  declare const debounce: (func: (...args: unknown[]) => void, wait: number) => (...args: unknown[]) => void;
6989
6986
 
6990
- export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, 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, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, debounce, 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, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
6987
+ export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BigCommerceApiError, BigCommerceAuthorizeActionContext, BigCommerceAuthorizeActionResult, BigCommerceAuthorizeFlowContext, BigCommerceAuthorizeFlowCustomContext, BigCommerceAuthorizeFlowResult, BigCommerceCartCreatedWebhookData, BigCommerceCartUpdatedWebhookData, BigCommerceClientAuthorization, BigCommerceClientOptions, BigCommerceCreateWebhookPayload, BigCommerceEvent, BigCommerceEventNames, BigCommerceFlowContext, BigCommerceFlowResult, BigCommerceFlows, BigCommerceOauthCredential, BigCommerceOrderCreatedWebhookData, BigCommerceOrderUpdatedWebhookData, BigCommerceProductCreatedWebhookData, BigCommerceProductUpdatedWebhookData, BigCommerceWebhook, BigCommerceWebhookConcreteData, BigCommerceWebhookData, BigCommerceWebhookDataBase, BigCommerceWebhookScopes, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, BillingProduct, Category, ChatDeactivatedLivechatWebhookData, ChatTransferredLivechatWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateCredentialPayload, CreateHubSpotWebhookSubscriptionPayload, CreateLivechatBotTemplateDto, CreateLivechatBotTemplateResponse, Credential, CredentialDto, DeepPartial, DeleteLivechatBotTemplateDto, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, FunctionDto, FunctionSchema, GenerateResponsePayload, GenerateResponseResponse, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubAppCredential, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowCustomContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubFlowContext, GitHubFlowResult, GitHubFlows, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowCustomContext, GitHubInstallFlowResult, GitHubInstallation, GitHubOauthCredential, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, HubSpotContactCreationWebhookData, HubSpotContactDeletionWebhookData, HubSpotFlowContext, HubSpotFlowResult, HubSpotFlows, HubSpotOauthCredential, HubSpotWebhookConcreteData, HubSpotWebhookData, HubSpotWebhookDataBase, HubSpotWebhookEventTypes, HubSpotWebhookSettings, HubSpotWebhookSubscription, HubspotApiError, HubspotAuthorizeActionResult, HubspotAuthorizeFlowContext, HubspotAuthorizeFlowCustomContext, HubspotAuthorizeFlowResult, HubspotClientAuthorization, HubspotClientInstanceOptions, HubspotEvent, HubspotEventNames, IncomingChatLivechatWebhookData, IncomingEventLivechatWebhookData, IntegrationDisplayNames, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IntegrationModes, IntegrationNames, IssueLabel, LicenseProperty, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, LivechatBotTemplate, LivechatWebhook, LivechatWebhookActions, LivechatWebhookChat, LivechatWebhookConcreteData, LivechatWebhookData, LivechatWebhookDataBase, LivechatWebhookDto, LivechatWebhookEvent, LivechatWebhookEvents, LivechatWebhookMessageEvent, LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, LivechatWebhookUser, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowCustomContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpFlowContext, MailchimpFlowResult, MailchimpFlows, MailchimpListWebhook, MailchimpOauthCredential, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowCustomContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonFlowContext, NeonFlowResult, NeonFlows, NeonOauthCredential, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowCustomContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyFlowContext, NetlifyFlowResult, NetlifyFlows, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowCustomContext, NetlifyInstallFlowResult, NetlifyOauthCredential, NetlifySite, OAuthCredential, OpenaiCredential, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowCustomContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleFlowContext, PlanetScaleFlowResult, PlanetScaleFlows, PlanetScaleOauthCredential, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ResetLivechatBotTemplateSecretDto, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowCustomContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyFlowContext, ShopifyFlowResult, ShopifyFlows, ShopifyOauthCredential, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToBigCommerceEventPayload, SubscribeToHubspotEventPayload, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextApiError, TextAuthCredential, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowCustomContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextFlowContext, TextFlowResult, TextFlows, TextLiveChatEvent, TextLivechatEventNames, TextOAuthCredential, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, ThreadTaggedLivechatWebhookData, ThreadUntaggedLivechatWebhookData, 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, UpdateLivechatBotTemplateDto, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, UserAddedToChatLivechatWebhookData, UserDto, UserFeaturesDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserSurveyDto, UserVercelIntegrationDto, VercelAuthorizeActionResult, VercelAuthorizeFlowContext, VercelAuthorizeFlowCustomContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelFlowContext, VercelFlowResult, VercelFlows, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowCustomContext, VercelInstallFlowResult, VercelNamespace, VercelOauthCredential, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionTriggerTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowTriggerDto, WorkflowTriggerType, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, debounce, 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, mergeDeep, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateVercelClient, vercelClientInstance };
package/dist/index.js CHANGED
@@ -966,7 +966,7 @@ var netlifyAccountApi = {
966
966
 
967
967
  // src/apis/integrations/netlify/hook/api.ts
968
968
  var netlifyHookApi = {
969
- addBuildHooks(siteId, authorization) {
969
+ addBuildHooks(siteId, adapterUrl, authorization) {
970
970
  return __async(this, null, function* () {
971
971
  try {
972
972
  yield netlifyClientInstance.post(
@@ -976,7 +976,7 @@ var netlifyHookApi = {
976
976
  event: "deploy_created",
977
977
  type: "url",
978
978
  data: {
979
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
979
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
980
980
  }
981
981
  },
982
982
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -993,7 +993,7 @@ var netlifyHookApi = {
993
993
  event: "deploy_failed",
994
994
  type: "url",
995
995
  data: {
996
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
996
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
997
997
  }
998
998
  },
999
999
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -1010,7 +1010,7 @@ var netlifyHookApi = {
1010
1010
  event: "deploy_building",
1011
1011
  type: "url",
1012
1012
  data: {
1013
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
1013
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
1014
1014
  }
1015
1015
  },
1016
1016
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -1106,7 +1106,7 @@ var netlifySiteApi = {
1106
1106
  return snippets;
1107
1107
  });
1108
1108
  },
1109
- createSiteByInstallationId(name, repositoryFullName, target, installationId, branch, authorization) {
1109
+ createSiteByInstallationId(name, repositoryFullName, target, installationId, branch, adapterUrl, authorization) {
1110
1110
  return __async(this, null, function* () {
1111
1111
  const config = target === "nextjs" ? {
1112
1112
  plugins: ["@netlify/plugin-nextjs"],
@@ -1146,11 +1146,15 @@ var netlifySiteApi = {
1146
1146
  ensureAuthorizationToken: true
1147
1147
  }))
1148
1148
  );
1149
- yield netlifyHookApi.addBuildHooks(response.data.id, authorization);
1149
+ yield netlifyHookApi.addBuildHooks(
1150
+ response.data.id,
1151
+ adapterUrl,
1152
+ authorization
1153
+ );
1150
1154
  return response.data;
1151
1155
  });
1152
1156
  },
1153
- createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, authorization) {
1157
+ createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, adapterUrl, authorization) {
1154
1158
  return __async(this, null, function* () {
1155
1159
  const config = target === "nextjs" ? {
1156
1160
  packages: [{ package: "@netlify/plugin-nextjs" }],
@@ -1187,7 +1191,11 @@ var netlifySiteApi = {
1187
1191
  ensureAuthorizationToken: true
1188
1192
  }))
1189
1193
  );
1190
- yield netlifyHookApi.addBuildHooks(response.data.id, authorization);
1194
+ yield netlifyHookApi.addBuildHooks(
1195
+ response.data.id,
1196
+ adapterUrl,
1197
+ authorization
1198
+ );
1191
1199
  return response.data;
1192
1200
  });
1193
1201
  },
@@ -8095,9 +8103,7 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
8095
8103
  return __async(this, null, function* () {
8096
8104
  const serializedState = typeof state === "string" ? state : serializerBase64.serialize(state);
8097
8105
  const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
8098
- state: serializedState,
8099
- userId: config.user.id,
8100
- userToken: config.user.token
8106
+ state: serializedState
8101
8107
  }, trigger), context));
8102
8108
  const url = `${config.urls.adapterUrl}/integrations/${name}/flow?flow=${flow}&context=${serializedContext}`;
8103
8109
  if (trigger.mode === "modal" /* Modal */) {
package/dist/index.mjs CHANGED
@@ -811,7 +811,7 @@ var netlifyAccountApi = {
811
811
 
812
812
  // src/apis/integrations/netlify/hook/api.ts
813
813
  var netlifyHookApi = {
814
- addBuildHooks(siteId, authorization) {
814
+ addBuildHooks(siteId, adapterUrl, authorization) {
815
815
  return __async(this, null, function* () {
816
816
  try {
817
817
  yield netlifyClientInstance.post(
@@ -821,7 +821,7 @@ var netlifyHookApi = {
821
821
  event: "deploy_created",
822
822
  type: "url",
823
823
  data: {
824
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
824
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
825
825
  }
826
826
  },
827
827
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -838,7 +838,7 @@ var netlifyHookApi = {
838
838
  event: "deploy_failed",
839
839
  type: "url",
840
840
  data: {
841
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
841
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
842
842
  }
843
843
  },
844
844
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -855,7 +855,7 @@ var netlifyHookApi = {
855
855
  event: "deploy_building",
856
856
  type: "url",
857
857
  data: {
858
- url: `${process.env.NEXT_PUBLIC_PLATFORM_DEVELOPER_CONSOLE_ADAPTER_APP_URL}/api/integrations/netlify/webhook`
858
+ url: `${adapterUrl}/api/integrations/netlify/webhook`
859
859
  }
860
860
  },
861
861
  getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
@@ -951,7 +951,7 @@ var netlifySiteApi = {
951
951
  return snippets;
952
952
  });
953
953
  },
954
- createSiteByInstallationId(name, repositoryFullName, target, installationId, branch, authorization) {
954
+ createSiteByInstallationId(name, repositoryFullName, target, installationId, branch, adapterUrl, authorization) {
955
955
  return __async(this, null, function* () {
956
956
  const config = target === "nextjs" ? {
957
957
  plugins: ["@netlify/plugin-nextjs"],
@@ -991,11 +991,15 @@ var netlifySiteApi = {
991
991
  ensureAuthorizationToken: true
992
992
  }))
993
993
  );
994
- yield netlifyHookApi.addBuildHooks(response.data.id, authorization);
994
+ yield netlifyHookApi.addBuildHooks(
995
+ response.data.id,
996
+ adapterUrl,
997
+ authorization
998
+ );
995
999
  return response.data;
996
1000
  });
997
1001
  },
998
- createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, authorization) {
1002
+ createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, adapterUrl, authorization) {
999
1003
  return __async(this, null, function* () {
1000
1004
  const config = target === "nextjs" ? {
1001
1005
  packages: [{ package: "@netlify/plugin-nextjs" }],
@@ -1032,7 +1036,11 @@ var netlifySiteApi = {
1032
1036
  ensureAuthorizationToken: true
1033
1037
  }))
1034
1038
  );
1035
- yield netlifyHookApi.addBuildHooks(response.data.id, authorization);
1039
+ yield netlifyHookApi.addBuildHooks(
1040
+ response.data.id,
1041
+ adapterUrl,
1042
+ authorization
1043
+ );
1036
1044
  return response.data;
1037
1045
  });
1038
1046
  },
@@ -7940,9 +7948,7 @@ function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
7940
7948
  return __async(this, null, function* () {
7941
7949
  const serializedState = typeof state === "string" ? state : serializerBase64.serialize(state);
7942
7950
  const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
7943
- state: serializedState,
7944
- userId: config.user.id,
7945
- userToken: config.user.token
7951
+ state: serializedState
7946
7952
  }, trigger), context));
7947
7953
  const url = `${config.urls.adapterUrl}/integrations/${name}/flow?flow=${flow}&context=${serializedContext}`;
7948
7954
  if (trigger.mode === "modal" /* Modal */) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.3.8",
3
+ "version": "3.3.10",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",