@livechat/developer-studio-api 5.11.2 → 6.0.0
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/chunk-MWQIJSSO.mjs +10358 -0
- package/dist/{chunk-3I7N2WOU.mjs → chunk-OA7BKSZP.mjs} +108 -42
- package/dist/contracts-BEh-tWhD.d.mts +5480 -0
- package/dist/contracts-BEh-tWhD.d.ts +5480 -0
- package/dist/events-CJ8UHYDf.d.mts +5480 -0
- package/dist/events-CJ8UHYDf.d.ts +5480 -0
- package/dist/index.d.mts +140 -1376
- package/dist/index.d.ts +140 -1376
- package/dist/index.js +111 -42
- package/dist/index.mjs +7 -1
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +63 -42
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +4 -4
- package/dist/events-C52EVACK.d.mts +0 -13654
- package/dist/events-C52EVACK.d.ts +0 -13654
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ export { PaginatedResponse, Pagination, PagingQuery, mergeDeep } from 'utils';
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import * as axios from 'axios';
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
|
-
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, g as TextCustomerSegmentType, W as WorkflowDto, h as AccountDto, S as SubscribeToIntegrationEventPayload,
|
|
9
|
-
export { H as AccountRoleDto, J as AiAgentSkillsCountDto, K as ApiError, L as ApiErrorKind, M as ApiErrorName, N as ApiPagination, O as AwaitTaskCallback, P as BigCommerceEvent, Q as BigCommerceEventNames, R as BigCommerceOauthCredential, V as Credential, X as CredentialCore, Y as CredentialInjection, Z as CredentialStatus, _ as CredentialType, $ as CredentialTypeDisplayNameMapping, a0 as CustomerLeftChatReason, a1 as Filter, a2 as FilterGroup, a3 as FilterOperator, a4 as FilterValue, a5 as Filters, a6 as FunctionSchema, a7 as GitHubAppCredential, a8 as GitHubOauthCredential, a9 as HubSpotOauthCredential, aa as HubspotEvent, ab as HubspotEventNames, ac as Identity, ad as IdentityField, ae as IdentitySpec, af as IntegrationDisplayNameToNameMap, ag as IntegrationDisplayNames, ah as IntegrationEvent, ai as IntegrationEventProviderName, aj as IntegrationEventSource, ak as IntegrationEventSourceName, al as IntegrationKey, am as IntegrationNameToDisplayMap, an as MailchimpEvent, ao as MailchimpEventNames, ap as MailchimpOauthCredential, aq as NeonOauthCredential, ar as NetlifyOauthCredential, as as OAuthCredential, at as OauthCredentialGrantType, au as OpenaiCredential, av as PlanetScaleOauthCredential, aw as PureHttpRequest, ax as SalesforceOauthCredential, ay as ShopifyEvent, az as ShopifyEventNames, aA as ShopifyOauthCredential, aB as SlackEvent, aC as SlackEventNames, aD as SlackOauthCredential, aE as SortBy, aF as SortOrder, aG as Sorting, aH as SubscribeToBigCommerceEventPayload, aI as SubscribeToHubspotEventPayload, aJ as SubscribeToMailchimpEventPayload, aK as SubscribeToShopifyEventPayload, aL as SubscribeToSlackEventPayload, aM as SubscribeToTextCustomerEventPayload, aN as SubscribeToTextHelpDeskEventPayload, aO as SubscribeToTextLivechatEventPayload, aP as TRIGGER_REFERENCE_NAME, aQ as TextApiError, aR as TextAuthCredential, aS as TextClientOptions, aT as TextCustomerEvent, aU as TextHelpDeskEvent, aV as TextHelpDeskEventBaseFilters, aW as TextHelpDeskEventNames, aX as TextLiveChatEvent, aY as TextLivechatEventNames, aZ as TextLivechatProductCardEventType, a_ as TextOAuthCredential, a$ as UnsubscribeFromBigCommerceEventPayload, b0 as UnsubscribeFromHubspotEventPayload, b1 as UnsubscribeFromMailchimpEventPayload, b2 as UnsubscribeFromShopifyEventPayload, b3 as UnsubscribeFromSlackEventPayload, b4 as UnsubscribeFromTextCustomerEventPayload, b5 as UnsubscribeFromTextHelpDeskEventPayload, b6 as UnsubscribeFromTextLivechatEventPayload, b7 as VercelOauthCredential, b8 as Workflow, b9 as WorkflowActionTask, ba as WorkflowActionTaskCore, bb as WorkflowActionTaskErrorOutput, bc as WorkflowActionTaskInput, bd as WorkflowActionTaskInputParameters, be as WorkflowActionTaskSuccessOutput, bf as WorkflowAgentTrigger, bg as WorkflowAgentTriggerConfiguration, bh as WorkflowAgentTriggerCore, bi as WorkflowAgentTriggerInput, bj as WorkflowAgentTriggerSubType, bk as WorkflowAggregate, bl as WorkflowAwaitTask, bm as WorkflowAwaitTaskCore, bn as WorkflowAwaitTaskInput, bo as WorkflowBaseHttpTaskCore, bp as WorkflowBranch, bq as WorkflowBundle, br as WorkflowConditionTask, bs as WorkflowConditionTaskCondition, bt as WorkflowConditionTaskCore, bu as WorkflowConditionTaskFieldType, bv as WorkflowConditionTaskInput, bw as WorkflowConditionTaskLogic, bx as WorkflowConditionTaskOperator, by as WorkflowConditionTaskOperatorGroup, bz as WorkflowConditionTaskOperatorValueType, bA as WorkflowConstructArrayItem, bB as WorkflowConstructObjectField, bC as WorkflowConstructOutputType, bD as WorkflowConstructTask, bE as WorkflowConstructTaskCore, bF as WorkflowConstructTaskDefinitionInputParameters, bG as WorkflowConstructTaskInput, bH as WorkflowConstructTaskInputArray, bI as WorkflowConstructTaskInputObject, bJ as WorkflowConvertTask, bK as WorkflowConvertTaskCore, bL as WorkflowConvertTaskDefinitionInputParameters, bM as WorkflowConvertTaskInput, bN as WorkflowConvertTaskInputAffix, bO as WorkflowConvertTaskInputFilter, bP as WorkflowConvertTaskInputJoin, bQ as WorkflowConvertTaskInputMath, bR as WorkflowConvertTaskInputPickOmit, bS as WorkflowConvertTaskInputPluck, bT as WorkflowConvertTaskInputReducer, bU as WorkflowConvertTaskInputReplace, bV as WorkflowConvertTaskInputRound, bW as WorkflowConvertTaskInputSimple, bX as WorkflowConvertTaskInputSort, bY as WorkflowConvertTaskInputSplit, bZ as WorkflowConvertTaskInputSum, b_ as WorkflowConvertTaskMathOperation, b$ as WorkflowConvertTaskTransformer, c0 as WorkflowCustomHttpTaskCore, c1 as WorkflowCustomTaskName, c2 as WorkflowDefinitionDto, c3 as WorkflowDoWhileBaseTask, c4 as WorkflowDoWhileBaseTaskCore, c5 as WorkflowDoWhileBaseTaskInput, c6 as WorkflowDoWhileTask, c7 as WorkflowDoWhileTaskCore, c8 as WorkflowElement, c9 as WorkflowElementCore, ca as WorkflowElementIdentity, cb as WorkflowElementRef, cc as WorkflowExecutionActionTaskData, cd as WorkflowExecutionAwaitTaskData, ce as WorkflowExecutionChatContext, cf as WorkflowExecutionConditionTask, cg as WorkflowExecutionConstructTask, ch as WorkflowExecutionContext, ci as WorkflowExecutionConvertTask, cj as WorkflowExecutionData, ck as WorkflowExecutionDefinitionStatus, cl as WorkflowExecutionDoWhileIterationOutput, cm as WorkflowExecutionDoWhileTaskData, cn as WorkflowExecutionForkJoinTaskData, co as WorkflowExecutionHttpTaskData, cp as WorkflowExecutionInlineBaseTask, cq as WorkflowExecutionInlineTaskData, cr as WorkflowExecutionJoinTaskData, cs as WorkflowExecutionLookupTask, ct as WorkflowExecutionNotifyAiAgentTaskData, cu as WorkflowExecutionReasoningTaskData, cv as WorkflowExecutionScriptTask, cw as WorkflowExecutionSimpleBaseTaskData, cx as WorkflowExecutionSimpleTaskData, cy as WorkflowExecutionStatus, cz as WorkflowExecutionSwitchBaseTask, cA as WorkflowExecutionSwitchCaseTask, cB as WorkflowExecutionSwitchTaskData, cC as WorkflowExecutionTaskBase, cD as WorkflowExecutionTaskData, cE as WorkflowExecutionTaskStatus, cF as WorkflowExecutionTerminateTaskData, cG as WorkflowExecutionTicketContext, cH as WorkflowExecutionTransformBaseTask, cI as WorkflowExecutionTransformTaskData, cJ as WorkflowExecutionTriggerData, cK as WorkflowExecutionTriggerDataBase, cL as WorkflowExecutionType, cM as WorkflowExecutionWaitTaskData, cN as WorkflowForEachTask, cO as WorkflowForEachTaskCore, cP as WorkflowForEachTaskInput, cQ as WorkflowForkJoinTask, cR as WorkflowForkJoinTaskCore, cS as WorkflowForkJoinTaskInput, cT as WorkflowFunctionErrorResponseBody, cU as WorkflowGraph, cV as WorkflowHttpRequest, cW as WorkflowHttpTask, cX as WorkflowHttpTaskCore, cY as WorkflowHttpTaskErrorResponseBody, cZ as WorkflowHttpTaskFunctionErrorResponseBody, c_ as WorkflowHttpTaskHeaders, c$ as WorkflowHttpTaskInput, d0 as WorkflowHttpTaskProviderErrorResponseBody, d1 as WorkflowInactivityReason, d2 as WorkflowInlineBaseTask, d3 as WorkflowInlineBaseTaskCore, d4 as WorkflowInlineBaseTaskInput, d5 as WorkflowInlineTask, d6 as WorkflowInlineTaskCore, d7 as WorkflowItemKind, d8 as WorkflowJoinTask, d9 as WorkflowJoinTaskCore, da as WorkflowJoinTaskInput, db as WorkflowLookupTask, dc as WorkflowLookupTaskCore, dd as WorkflowLookupTaskDefinitionInputParameters, de as WorkflowLookupTaskInput, df as WorkflowLoopTask, dg as WorkflowLoopTaskCore, dh as WorkflowLoopTaskInput, di as WorkflowManualTrigger, dj as WorkflowManualTriggerCore, dk as WorkflowManualTriggerParameter, dl as WorkflowManualTriggerSubType, dm as WorkflowManualTriggerSubTypeName, dn as WorkflowNode, dp as WorkflowNotifyAiAgentTask, dq as WorkflowNotifyAiAgentTaskCore, dr as WorkflowNotifyAiAgentTaskInput, ds as WorkflowNotifyAiAgentTaskObjectiveInput, dt as WorkflowNotifyAiAgentTaskStrictInput, du as WorkflowOneTimeTrigger, dv as WorkflowOneTimeTriggerCore, dw as WorkflowOneTimeTriggerInput, dx as WorkflowParentRef, dy as WorkflowPlan, dz as WorkflowReasoningOption, dA as WorkflowReasoningOptionAgent, dB as WorkflowReasoningOptionCustomer, dC as WorkflowReasoningTask, dD as WorkflowReasoningTaskCore, dE as WorkflowReasoningTaskInput, dF as WorkflowRecurringTrigger, dG as WorkflowRecurringTriggerCore, dH as WorkflowRecurringTriggerInput, dI as WorkflowResourceBucket, dJ as WorkflowResourceRow, dK as WorkflowResources, dL as WorkflowScriptTask, dM as WorkflowScriptTaskCore, dN as WorkflowScriptTaskInput, dO as WorkflowSimpleBaseTask, dP as WorkflowSimpleBaseTaskCore, dQ as WorkflowSimpleTask, dR as WorkflowSimpleTaskCore, dS as WorkflowSwitchBaseTask, dT as WorkflowSwitchBaseTaskCore, dU as WorkflowSwitchCaseTask, dV as WorkflowSwitchCaseTaskCore, dW as WorkflowSwitchCaseTaskInput, dX as WorkflowSwitchTask, dY as WorkflowSwitchTaskCore, dZ as WorkflowSwitchTaskInput, d_ as WorkflowTask, d$ as WorkflowTaskBase, e0 as WorkflowTaskCore, e1 as WorkflowTaskIdentity, e2 as WorkflowTaskIntrospection, e3 as WorkflowTaskOf, e4 as WorkflowTaskPlan, e5 as WorkflowTaskType, e6 as WorkflowTemplateCategory, e7 as WorkflowTemplateMetadataItem, e8 as WorkflowTerminateTask, e9 as WorkflowTerminateTaskCore, ea as WorkflowTerminateTaskInput, eb as WorkflowTransformBaseTask, ec as WorkflowTransformBaseTaskCore, ed as WorkflowTransformBaseTaskInput, ee as WorkflowTransformTask, ef as WorkflowTransformTaskCore, eg as WorkflowTrigger, eh as WorkflowTriggerBase, ei as WorkflowTriggerCore, ej as WorkflowTriggerDto, ek as WorkflowTriggerIdentity, el as WorkflowTriggerOf, em as WorkflowTriggerPlan, en as WorkflowTriggerType, eo as WorkflowWaitTask, ep as WorkflowWaitTaskCore, eq as WorkflowWaitTaskInput, er as WorkflowWebhook, es as WorkflowWebhookInput, et as WorkflowWebhookManualTrigger, eu as WorkflowWebhookManualTriggerCore, ev as WorkflowWebhookTrigger, ew as WorkflowWebhookTriggerCore, ex as WorkflowWebhookTriggerPure, ey as bigcommerceEventsZods, ez as getTextClientAuthorization, eA as getTextClientConfig, eB as getWorkflowApiCrmConfig, eC as hubspotEventsZods, eD as initTextClient, eE as integrationEventBase, eF as integrationEventsCoreZods, eG as integrationEventsZods, eH as isFilter, eI as isFilterGroup, eJ as isWorkflowBaseHttpTaskCore, eK as mailchimpEventsZods, eL as serializeFilters, eM as shopifyEventsZods, eN as slackEventsZods, eO as textClientInstance, eP as textCustomerEventsZods, eQ as textHelpDeskEventsZods, eR as textLivechatEventsZods } from './events-C52EVACK.mjs';
|
|
8
|
+
import { A as ApiErrorBase, U as UnauthorizeApiError, a as ApiErrorSource, G as GlobalAccountsClientAuthorization, T as TicketPriority, b as TicketStatus, I as IntegrationEventAuthorization, c as IntegrationNames, d as InternalServiceClientAuthorization, e as TextClientAuthorization, f as TextCustomerEventNames, g as TextCustomerSegmentType, W as WorkflowDto, h as AccountDto, L as LivechatWebhookDto, i as LivechatWebhook, S as SubscribeToIntegrationEventPayload, j as UnsubscribeFromIntegrationEventPayload, k as WorkflowCore, l as ApiPaginatedListQueryParams, m as WorkflowCrmOrganizationsOrderBy, n as WorkflowApiCrmAuthorization, o as ApiPaginatedResult, p as WorkflowCrmOrganization, q as WorkflowCrmWorkflowsOrderBy, r as WorkflowListItemDto, s as WorkflowExecutionListItem, t as WorkflowExecution, u as WorkflowIntrospection, v as AiAgentSkillsSummaryDto, w as UpsertWorkflowPayload, x as IntrospectWorkflowTaskPayload, y as WorkflowTaskIntrospectResponse, C as CredentialDto, z as CreateCredentialPayload, B as UpdateCredentialPayload, F as FunctionDto, D as WorkflowTemplateOrderBy, E as WorkflowTemplateListEntry, H as WorkflowTemplate } from './events-CJ8UHYDf.mjs';
|
|
9
|
+
export { J as AccountRoleDto, K as AiAgentSkillsCountDto, M as ApiError, N as ApiErrorKind, O as ApiErrorName, P as ApiPagination, Q as AwaitTaskCallback, R as BigCommerceEvent, V as BigCommerceEventNames, X as BigCommerceOauthCredential, Y as ChatDeactivatedLivechatWebhookData, Z as ChatTransferredLivechatWebhookData, _ as Credential, $ as CredentialCore, a0 as CredentialInjection, a1 as CredentialStatus, a2 as CredentialType, a3 as CredentialTypeDisplayNameMapping, a4 as CustomerLeftChatReason, a5 as DefaultLivechatSourceProperties, a6 as Filter, a7 as FilterGroup, a8 as FilterOperator, a9 as FilterValue, aa as Filters, ab as FunctionSchema, ac as GitHubAppCredential, ad as GitHubOauthCredential, ae as HubSpotOauthCredential, af as HubspotEvent, ag as HubspotEventNames, ah as Identity, ai as IdentityField, aj as IdentitySpec, ak as IncomingChatLivechatWebhookData, al as IncomingEventLivechatWebhookData, am as IncomingRichMessagePostbackLivechatWebhookData, an as IntegrationDisplayNameToNameMap, ao as IntegrationDisplayNames, ap as IntegrationEvent, aq as IntegrationEventProviderName, ar as IntegrationEventSource, as as IntegrationEventSourceName, at as IntegrationKey, au as IntegrationNameToDisplayMap, av as LivechatWebhookActions, aw as LivechatWebhookBaseEvent, ax as LivechatWebhookChat, ay as LivechatWebhookCustomEvent, az as LivechatWebhookData, aA as LivechatWebhookDataBase, aB as LivechatWebhookEvent, aC as LivechatWebhookEvents, aD as LivechatWebhookFileEvent, aE as LivechatWebhookFilledFormEvent, aF as LivechatWebhookFilledFormField, aG as LivechatWebhookFormEvent, aH as LivechatWebhookFormField, aI as LivechatWebhookMessageEvent, aJ as LivechatWebhookPostbackEcommerce, aK as LivechatWebhookRichMessageElement, aL as LivechatWebhookRichMessageEvent, aM as LivechatWebhookRichMessagePostback, aN as LivechatWebhookSystemEvent, aO as LivechatWebhookSystemMessageEvent, aP as LivechatWebhookSystemMessages, aQ as LivechatWebhookUser, aR as MailchimpEvent, aS as MailchimpEventNames, aT as MailchimpOauthCredential, aU as NeonOauthCredential, aV as NetlifyOauthCredential, aW as OAuthCredential, aX as OauthCredentialGrantType, aY as OpenaiCredential, aZ as PlanetScaleOauthCredential, a_ as PureHttpRequest, a$ as SalesforceOauthCredential, b0 as ShopifyEvent, b1 as ShopifyEventNames, b2 as ShopifyOauthCredential, b3 as SlackEvent, b4 as SlackEventNames, b5 as SlackOauthCredential, b6 as SortBy, b7 as SortOrder, b8 as Sorting, b9 as SubscribeToBigCommerceEventPayload, ba as SubscribeToHubspotEventPayload, bb as SubscribeToMailchimpEventPayload, bc as SubscribeToShopifyEventPayload, bd as SubscribeToSlackEventPayload, be as SubscribeToTextCustomerEventPayload, bf as SubscribeToTextHelpDeskEventPayload, bg as SubscribeToTextLivechatEventPayload, bh as TRIGGER_REFERENCE_NAME, bi as TextApiError, bj as TextAuthCredential, bk as TextClientOptions, bl as TextCustomerEvent, bm as TextHelpDeskEvent, bn as TextHelpDeskEventBaseFilters, bo as TextHelpDeskEventNames, bp as TextLiveChatEvent, bq as TextLivechatChatContext, br as TextLivechatEventContext, bs as TextLivechatEventNames, bt as TextLivechatProductCardEventType, bu as TextLivechatRichMessagePostbackEvent, bv as TextLivechatRichMessagePostbackResult, bw as TextOAuthCredential, bx as ThreadTaggedLivechatWebhookData, by as ThreadUntaggedLivechatWebhookData, bz as UnsubscribeFromBigCommerceEventPayload, bA as UnsubscribeFromHubspotEventPayload, bB as UnsubscribeFromMailchimpEventPayload, bC as UnsubscribeFromShopifyEventPayload, bD as UnsubscribeFromSlackEventPayload, bE as UnsubscribeFromTextCustomerEventPayload, bF as UnsubscribeFromTextHelpDeskEventPayload, bG as UnsubscribeFromTextLivechatEventPayload, bH as UserAddedToChatLivechatWebhookData, bI as UserRemovedFromChatWebhookData, bJ as VercelOauthCredential, bK as Workflow, bL as WorkflowActionTask, bM as WorkflowActionTaskCore, bN as WorkflowActionTaskErrorOutput, bO as WorkflowActionTaskInput, bP as WorkflowActionTaskInputParameters, bQ as WorkflowActionTaskSuccessOutput, bR as WorkflowAgentTrigger, bS as WorkflowAgentTriggerConfiguration, bT as WorkflowAgentTriggerCore, bU as WorkflowAgentTriggerInput, bV as WorkflowAgentTriggerSubType, bW as WorkflowAggregate, bX as WorkflowAwaitTask, bY as WorkflowAwaitTaskCore, bZ as WorkflowAwaitTaskInput, b_ as WorkflowBaseHttpTaskCore, b$ as WorkflowBranch, c0 as WorkflowBundle, c1 as WorkflowConditionTask, c2 as WorkflowConditionTaskCondition, c3 as WorkflowConditionTaskCore, c4 as WorkflowConditionTaskFieldType, c5 as WorkflowConditionTaskInput, c6 as WorkflowConditionTaskLogic, c7 as WorkflowConditionTaskOperator, c8 as WorkflowConditionTaskOperatorGroup, c9 as WorkflowConditionTaskOperatorValueType, ca as WorkflowConstructArrayItem, cb as WorkflowConstructObjectField, cc as WorkflowConstructOutputType, cd as WorkflowConstructTask, ce as WorkflowConstructTaskCore, cf as WorkflowConstructTaskDefinitionInputParameters, cg as WorkflowConstructTaskInput, ch as WorkflowConstructTaskInputArray, ci as WorkflowConstructTaskInputObject, cj as WorkflowConvertTask, ck as WorkflowConvertTaskCore, cl as WorkflowConvertTaskDefinitionInputParameters, cm as WorkflowConvertTaskInput, cn as WorkflowConvertTaskInputAffix, co as WorkflowConvertTaskInputFilter, cp as WorkflowConvertTaskInputJoin, cq as WorkflowConvertTaskInputMath, cr as WorkflowConvertTaskInputPickOmit, cs as WorkflowConvertTaskInputPluck, ct as WorkflowConvertTaskInputReducer, cu as WorkflowConvertTaskInputReplace, cv as WorkflowConvertTaskInputRound, cw as WorkflowConvertTaskInputSimple, cx as WorkflowConvertTaskInputSort, cy as WorkflowConvertTaskInputSplit, cz as WorkflowConvertTaskInputSum, cA as WorkflowConvertTaskMathOperation, cB as WorkflowConvertTaskTransformer, cC as WorkflowCustomHttpTaskCore, cD as WorkflowCustomTaskName, cE as WorkflowDefinitionDto, cF as WorkflowDoWhileBaseTask, cG as WorkflowDoWhileBaseTaskCore, cH as WorkflowDoWhileBaseTaskInput, cI as WorkflowDoWhileTask, cJ as WorkflowDoWhileTaskCore, cK as WorkflowElement, cL as WorkflowElementCore, cM as WorkflowElementIdentity, cN as WorkflowElementRef, cO as WorkflowExecutionActionTaskData, cP as WorkflowExecutionAwaitTaskData, cQ as WorkflowExecutionChatContext, cR as WorkflowExecutionConditionTask, cS as WorkflowExecutionConstructTask, cT as WorkflowExecutionContext, cU as WorkflowExecutionConvertTask, cV as WorkflowExecutionData, cW as WorkflowExecutionDefinitionStatus, cX as WorkflowExecutionDoWhileIterationOutput, cY as WorkflowExecutionDoWhileTaskData, cZ as WorkflowExecutionForkJoinTaskData, c_ as WorkflowExecutionHttpTaskData, c$ as WorkflowExecutionInlineBaseTask, d0 as WorkflowExecutionInlineTaskData, d1 as WorkflowExecutionJoinTaskData, d2 as WorkflowExecutionLookupTask, d3 as WorkflowExecutionNotifyAiAgentTaskData, d4 as WorkflowExecutionReasoningTaskData, d5 as WorkflowExecutionScriptTask, d6 as WorkflowExecutionSimpleBaseTaskData, d7 as WorkflowExecutionSimpleTaskData, d8 as WorkflowExecutionStatus, d9 as WorkflowExecutionSwitchBaseTask, da as WorkflowExecutionSwitchCaseTask, db as WorkflowExecutionSwitchTaskData, dc as WorkflowExecutionTaskBase, dd as WorkflowExecutionTaskData, de as WorkflowExecutionTaskStatus, df as WorkflowExecutionTerminateTaskData, dg as WorkflowExecutionTicketContext, dh as WorkflowExecutionTransformBaseTask, di as WorkflowExecutionTransformTaskData, dj as WorkflowExecutionTriggerData, dk as WorkflowExecutionTriggerDataBase, dl as WorkflowExecutionType, dm as WorkflowExecutionWaitTaskData, dn as WorkflowForEachTask, dp as WorkflowForEachTaskCore, dq as WorkflowForEachTaskInput, dr as WorkflowForkJoinTask, ds as WorkflowForkJoinTaskCore, dt as WorkflowForkJoinTaskInput, du as WorkflowFunctionErrorResponseBody, dv as WorkflowGraph, dw as WorkflowHttpRequest, dx as WorkflowHttpTask, dy as WorkflowHttpTaskCore, dz as WorkflowHttpTaskErrorResponseBody, dA as WorkflowHttpTaskFunctionErrorResponseBody, dB as WorkflowHttpTaskHeaders, dC as WorkflowHttpTaskInput, dD as WorkflowHttpTaskProviderErrorResponseBody, dE as WorkflowInactivityReason, dF as WorkflowInlineBaseTask, dG as WorkflowInlineBaseTaskCore, dH as WorkflowInlineBaseTaskInput, dI as WorkflowInlineTask, dJ as WorkflowInlineTaskCore, dK as WorkflowItemKind, dL as WorkflowJoinTask, dM as WorkflowJoinTaskCore, dN as WorkflowJoinTaskInput, dO as WorkflowLookupTask, dP as WorkflowLookupTaskCore, dQ as WorkflowLookupTaskDefinitionInputParameters, dR as WorkflowLookupTaskInput, dS as WorkflowLoopTask, dT as WorkflowLoopTaskCore, dU as WorkflowLoopTaskInput, dV as WorkflowManualTrigger, dW as WorkflowManualTriggerCore, dX as WorkflowManualTriggerParameter, dY as WorkflowManualTriggerSubType, dZ as WorkflowManualTriggerSubTypeName, d_ as WorkflowNode, d$ as WorkflowNotifyAiAgentTask, e0 as WorkflowNotifyAiAgentTaskCore, e1 as WorkflowNotifyAiAgentTaskInput, e2 as WorkflowNotifyAiAgentTaskObjectiveInput, e3 as WorkflowNotifyAiAgentTaskStrictInput, e4 as WorkflowOneTimeTrigger, e5 as WorkflowOneTimeTriggerCore, e6 as WorkflowOneTimeTriggerInput, e7 as WorkflowParentRef, e8 as WorkflowPlan, e9 as WorkflowReasoningOption, ea as WorkflowReasoningOptionAgent, eb as WorkflowReasoningOptionCustomer, ec as WorkflowReasoningTask, ed as WorkflowReasoningTaskCore, ee as WorkflowReasoningTaskInput, ef as WorkflowRecurringTrigger, eg as WorkflowRecurringTriggerCore, eh as WorkflowRecurringTriggerInput, ei as WorkflowResourceBucket, ej as WorkflowResourceRow, ek as WorkflowResources, el as WorkflowScriptTask, em as WorkflowScriptTaskCore, en as WorkflowScriptTaskInput, eo as WorkflowSimpleBaseTask, ep as WorkflowSimpleBaseTaskCore, eq as WorkflowSimpleTask, er as WorkflowSimpleTaskCore, es as WorkflowSwitchBaseTask, et as WorkflowSwitchBaseTaskCore, eu as WorkflowSwitchCaseTask, ev as WorkflowSwitchCaseTaskCore, ew as WorkflowSwitchCaseTaskInput, ex as WorkflowSwitchTask, ey as WorkflowSwitchTaskCore, ez as WorkflowSwitchTaskInput, eA as WorkflowTask, eB as WorkflowTaskBase, eC as WorkflowTaskCore, eD as WorkflowTaskIdentity, eE as WorkflowTaskIntrospection, eF as WorkflowTaskOf, eG as WorkflowTaskPlan, eH as WorkflowTaskType, eI as WorkflowTemplateCategory, eJ as WorkflowTemplateMetadataItem, eK as WorkflowTerminateTask, eL as WorkflowTerminateTaskCore, eM as WorkflowTerminateTaskInput, eN as WorkflowTransformBaseTask, eO as WorkflowTransformBaseTaskCore, eP as WorkflowTransformBaseTaskInput, eQ as WorkflowTransformTask, eR as WorkflowTransformTaskCore, eS as WorkflowTrigger, eT as WorkflowTriggerBase, eU as WorkflowTriggerCore, eV as WorkflowTriggerDto, eW as WorkflowTriggerIdentity, eX as WorkflowTriggerOf, eY as WorkflowTriggerPlan, eZ as WorkflowTriggerType, e_ as WorkflowWaitTask, e$ as WorkflowWaitTaskCore, f0 as WorkflowWaitTaskInput, f1 as WorkflowWebhook, f2 as WorkflowWebhookInput, f3 as WorkflowWebhookManualTrigger, f4 as WorkflowWebhookManualTriggerCore, f5 as WorkflowWebhookTrigger, f6 as WorkflowWebhookTriggerCore, f7 as WorkflowWebhookTriggerPure, f8 as bigcommerceEventsZods, f9 as getTextClientAuthorization, fa as getTextClientConfig, fb as getWorkflowApiCrmConfig, fc as hubspotEventsZods, fd as initTextClient, fe as integrationEventBase, ff as integrationEventsCoreZods, fg as integrationEventsZods, fh as isFilter, fi as isFilterGroup, fj as isWorkflowBaseHttpTaskCore, fk as livechatChatContext, fl as livechatEventContext, fm as mailchimpEventsZods, fn as serializeFilters, fo as shopifyEventsZods, fp as slackEventsZods, fq as textClientInstance, fr as textCustomerEventsZods, fs as textHelpDeskEventsZods, ft as textLivechatEventsZods } from './events-CJ8UHYDf.mjs';
|
|
10
10
|
import { JSONSchema7 } from 'json-schema';
|
|
11
11
|
|
|
12
12
|
interface GitHubUser {
|
|
@@ -63,43 +63,7 @@ declare const integrationNotificationZods: {
|
|
|
63
63
|
error: z.ZodNullable<z.ZodString>;
|
|
64
64
|
enqueuedAt: z.ZodString;
|
|
65
65
|
completedAt: z.ZodString;
|
|
66
|
-
},
|
|
67
|
-
error: string | null;
|
|
68
|
-
status: string;
|
|
69
|
-
sourceKey: string | null;
|
|
70
|
-
callback: string;
|
|
71
|
-
id: string;
|
|
72
|
-
target: string;
|
|
73
|
-
eventName: string;
|
|
74
|
-
completedAt: string;
|
|
75
|
-
organization_id: string;
|
|
76
|
-
user_id: string | null;
|
|
77
|
-
source: string | null;
|
|
78
|
-
jobId: string | null;
|
|
79
|
-
subscription_id: string;
|
|
80
|
-
targetKey: string;
|
|
81
|
-
statusCode: number | null;
|
|
82
|
-
attempts: number;
|
|
83
|
-
enqueuedAt: string;
|
|
84
|
-
}, {
|
|
85
|
-
error: string | null;
|
|
86
|
-
status: string;
|
|
87
|
-
sourceKey: string | null;
|
|
88
|
-
callback: string;
|
|
89
|
-
id: string;
|
|
90
|
-
target: string;
|
|
91
|
-
eventName: string;
|
|
92
|
-
completedAt: string;
|
|
93
|
-
organization_id: string;
|
|
94
|
-
user_id: string | null;
|
|
95
|
-
source: string | null;
|
|
96
|
-
jobId: string | null;
|
|
97
|
-
subscription_id: string;
|
|
98
|
-
targetKey: string;
|
|
99
|
-
statusCode: number | null;
|
|
100
|
-
attempts: number;
|
|
101
|
-
enqueuedAt: string;
|
|
102
|
-
}>;
|
|
66
|
+
}, z.core.$strip>;
|
|
103
67
|
};
|
|
104
68
|
type IntegrationNotification = z.infer<typeof integrationNotificationZods.notification>;
|
|
105
69
|
|
|
@@ -111,27 +75,20 @@ declare const integrationNotificationRequestZods: {
|
|
|
111
75
|
search: z.ZodOptional<z.ZodString>;
|
|
112
76
|
page: z.ZodOptional<z.ZodNumber>;
|
|
113
77
|
size: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
order_by: z.ZodOptional<z.ZodEnum<
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
size?: number | undefined;
|
|
129
|
-
order_by?: "status" | "id" | "target" | "eventName" | "completedAt" | "organization_id" | "user_id" | undefined;
|
|
130
|
-
order?: "asc" | "desc" | undefined;
|
|
131
|
-
search?: string | undefined;
|
|
132
|
-
target?: string | undefined;
|
|
133
|
-
eventName?: string | undefined;
|
|
134
|
-
}>;
|
|
78
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
status: "status";
|
|
80
|
+
target: "target";
|
|
81
|
+
id: "id";
|
|
82
|
+
eventName: "eventName";
|
|
83
|
+
completedAt: "completedAt";
|
|
84
|
+
organization_id: "organization_id";
|
|
85
|
+
user_id: "user_id";
|
|
86
|
+
}>>;
|
|
87
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
asc: "asc";
|
|
89
|
+
desc: "desc";
|
|
90
|
+
}>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
135
92
|
};
|
|
136
93
|
type GetIntegrationNotificationsPayload = z.infer<typeof integrationNotificationRequestZods.getNotifications>;
|
|
137
94
|
|
|
@@ -148,57 +105,13 @@ declare const integrationSubscriptionZods: {
|
|
|
148
105
|
id: z.ZodString;
|
|
149
106
|
target: z.ZodString;
|
|
150
107
|
targetKey: z.ZodString;
|
|
151
|
-
},
|
|
152
|
-
id: string;
|
|
153
|
-
target: string;
|
|
154
|
-
targetKey: string;
|
|
155
|
-
}, {
|
|
156
|
-
id: string;
|
|
157
|
-
target: string;
|
|
158
|
-
targetKey: string;
|
|
159
|
-
}>, "many">>;
|
|
108
|
+
}, z.core.$strip>>>;
|
|
160
109
|
event: z.ZodUnknown;
|
|
161
110
|
orphaned_at: z.ZodNullable<z.ZodString>;
|
|
162
111
|
orphaned_reason: z.ZodNullable<z.ZodString>;
|
|
163
112
|
orphaned_last_hit: z.ZodNullable<z.ZodString>;
|
|
164
113
|
orphaned_hit_count: z.ZodNumber;
|
|
165
|
-
},
|
|
166
|
-
sourceKey: string;
|
|
167
|
-
callback: string;
|
|
168
|
-
id: string;
|
|
169
|
-
target: string;
|
|
170
|
-
organization_id: string;
|
|
171
|
-
user_id: string;
|
|
172
|
-
source: string;
|
|
173
|
-
orphaned_at: string | null;
|
|
174
|
-
orphaned_reason: string | null;
|
|
175
|
-
orphaned_last_hit: string | null;
|
|
176
|
-
orphaned_hit_count: number;
|
|
177
|
-
event?: unknown;
|
|
178
|
-
targets?: {
|
|
179
|
-
id: string;
|
|
180
|
-
target: string;
|
|
181
|
-
targetKey: string;
|
|
182
|
-
}[] | undefined;
|
|
183
|
-
}, {
|
|
184
|
-
sourceKey: string;
|
|
185
|
-
callback: string;
|
|
186
|
-
id: string;
|
|
187
|
-
target: string;
|
|
188
|
-
organization_id: string;
|
|
189
|
-
user_id: string;
|
|
190
|
-
source: string;
|
|
191
|
-
orphaned_at: string | null;
|
|
192
|
-
orphaned_reason: string | null;
|
|
193
|
-
orphaned_last_hit: string | null;
|
|
194
|
-
orphaned_hit_count: number;
|
|
195
|
-
event?: unknown;
|
|
196
|
-
targets?: {
|
|
197
|
-
id: string;
|
|
198
|
-
target: string;
|
|
199
|
-
targetKey: string;
|
|
200
|
-
}[] | undefined;
|
|
201
|
-
}>;
|
|
114
|
+
}, z.core.$strip>;
|
|
202
115
|
stats: z.ZodObject<{
|
|
203
116
|
totalSubscriptions: z.ZodNumber;
|
|
204
117
|
uniqueOrganizations: z.ZodNumber;
|
|
@@ -206,84 +119,20 @@ declare const integrationSubscriptionZods: {
|
|
|
206
119
|
byTarget: z.ZodArray<z.ZodObject<{
|
|
207
120
|
target: z.ZodString;
|
|
208
121
|
count: z.ZodNumber;
|
|
209
|
-
},
|
|
210
|
-
count: number;
|
|
211
|
-
target: string;
|
|
212
|
-
}, {
|
|
213
|
-
count: number;
|
|
214
|
-
target: string;
|
|
215
|
-
}>, "many">;
|
|
122
|
+
}, z.core.$strip>>;
|
|
216
123
|
bySource: z.ZodArray<z.ZodObject<{
|
|
217
124
|
source: z.ZodString;
|
|
218
125
|
count: z.ZodNumber;
|
|
219
|
-
},
|
|
220
|
-
count: number;
|
|
221
|
-
source: string;
|
|
222
|
-
}, {
|
|
223
|
-
count: number;
|
|
224
|
-
source: string;
|
|
225
|
-
}>, "many">;
|
|
126
|
+
}, z.core.$strip>>;
|
|
226
127
|
topOrganizations: z.ZodArray<z.ZodObject<{
|
|
227
128
|
organizationId: z.ZodString;
|
|
228
129
|
count: z.ZodNumber;
|
|
229
|
-
},
|
|
230
|
-
count: number;
|
|
231
|
-
organizationId: string;
|
|
232
|
-
}, {
|
|
233
|
-
count: number;
|
|
234
|
-
organizationId: string;
|
|
235
|
-
}>, "many">;
|
|
130
|
+
}, z.core.$strip>>;
|
|
236
131
|
topCallbackDomains: z.ZodArray<z.ZodObject<{
|
|
237
132
|
domain: z.ZodString;
|
|
238
133
|
count: z.ZodNumber;
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
domain: string;
|
|
242
|
-
}, {
|
|
243
|
-
count: number;
|
|
244
|
-
domain: string;
|
|
245
|
-
}>, "many">;
|
|
246
|
-
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
totalSubscriptions: number;
|
|
248
|
-
uniqueOrganizations: number;
|
|
249
|
-
uniqueUsers: number;
|
|
250
|
-
byTarget: {
|
|
251
|
-
count: number;
|
|
252
|
-
target: string;
|
|
253
|
-
}[];
|
|
254
|
-
bySource: {
|
|
255
|
-
count: number;
|
|
256
|
-
source: string;
|
|
257
|
-
}[];
|
|
258
|
-
topOrganizations: {
|
|
259
|
-
count: number;
|
|
260
|
-
organizationId: string;
|
|
261
|
-
}[];
|
|
262
|
-
topCallbackDomains: {
|
|
263
|
-
count: number;
|
|
264
|
-
domain: string;
|
|
265
|
-
}[];
|
|
266
|
-
}, {
|
|
267
|
-
totalSubscriptions: number;
|
|
268
|
-
uniqueOrganizations: number;
|
|
269
|
-
uniqueUsers: number;
|
|
270
|
-
byTarget: {
|
|
271
|
-
count: number;
|
|
272
|
-
target: string;
|
|
273
|
-
}[];
|
|
274
|
-
bySource: {
|
|
275
|
-
count: number;
|
|
276
|
-
source: string;
|
|
277
|
-
}[];
|
|
278
|
-
topOrganizations: {
|
|
279
|
-
count: number;
|
|
280
|
-
organizationId: string;
|
|
281
|
-
}[];
|
|
282
|
-
topCallbackDomains: {
|
|
283
|
-
count: number;
|
|
284
|
-
domain: string;
|
|
285
|
-
}[];
|
|
286
|
-
}>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
287
136
|
};
|
|
288
137
|
type IntegrationSubscription = z.infer<typeof integrationSubscriptionZods.subscription>;
|
|
289
138
|
type IntegrationSubscriptionStats = z.infer<typeof integrationSubscriptionZods.stats>;
|
|
@@ -296,27 +145,19 @@ declare const integrationSubscriptionRequestZods: {
|
|
|
296
145
|
orphaned: z.ZodOptional<z.ZodBoolean>;
|
|
297
146
|
page: z.ZodOptional<z.ZodNumber>;
|
|
298
147
|
size: z.ZodOptional<z.ZodNumber>;
|
|
299
|
-
order_by: z.ZodOptional<z.ZodEnum<
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
size?: number | undefined;
|
|
313
|
-
order_by?: "id" | "target" | "organization_id" | "user_id" | "source" | "orphaned_at" | undefined;
|
|
314
|
-
order?: "asc" | "desc" | undefined;
|
|
315
|
-
search?: string | undefined;
|
|
316
|
-
target?: string | undefined;
|
|
317
|
-
source?: string | undefined;
|
|
318
|
-
orphaned?: boolean | undefined;
|
|
319
|
-
}>;
|
|
148
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
source: "source";
|
|
150
|
+
target: "target";
|
|
151
|
+
id: "id";
|
|
152
|
+
organization_id: "organization_id";
|
|
153
|
+
user_id: "user_id";
|
|
154
|
+
orphaned_at: "orphaned_at";
|
|
155
|
+
}>>;
|
|
156
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
asc: "asc";
|
|
158
|
+
desc: "desc";
|
|
159
|
+
}>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
320
161
|
};
|
|
321
162
|
type GetIntegrationSubscriptionsPayload = z.infer<typeof integrationSubscriptionRequestZods.getSubscriptions>;
|
|
322
163
|
|
|
@@ -672,334 +513,60 @@ type CdpCustomerEvent = CustomerEmailSetEvent | CustomerPropertiesValuesUpdatedE
|
|
|
672
513
|
* Runtime gate for `CdpCustomerEvent` messages — parses only the fields
|
|
673
514
|
* consumers use; `data` passes unknown fields through.
|
|
674
515
|
*/
|
|
675
|
-
declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<
|
|
516
|
+
declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
676
517
|
id: z.ZodString;
|
|
677
518
|
type: z.ZodLiteral<CdpCustomerEventType.EmailSet>;
|
|
678
|
-
data: z.ZodObject<
|
|
679
|
-
organization_id: z.ZodString;
|
|
680
|
-
customer_id: z.ZodString;
|
|
681
|
-
master_id: z.ZodString;
|
|
682
|
-
}, {
|
|
683
|
-
email: z.ZodString;
|
|
684
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
685
|
-
organization_id: z.ZodString;
|
|
686
|
-
customer_id: z.ZodString;
|
|
687
|
-
master_id: z.ZodString;
|
|
688
|
-
}, {
|
|
689
|
-
email: z.ZodString;
|
|
690
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
519
|
+
data: z.ZodObject<{
|
|
691
520
|
organization_id: z.ZodString;
|
|
692
521
|
customer_id: z.ZodString;
|
|
693
522
|
master_id: z.ZodString;
|
|
694
|
-
}, {
|
|
695
523
|
email: z.ZodString;
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
data: {
|
|
699
|
-
organization_id: string;
|
|
700
|
-
customer_id: string;
|
|
701
|
-
master_id: string;
|
|
702
|
-
email: string;
|
|
703
|
-
} & {
|
|
704
|
-
[k: string]: unknown;
|
|
705
|
-
};
|
|
706
|
-
type: CdpCustomerEventType.EmailSet;
|
|
707
|
-
id: string;
|
|
708
|
-
}, {
|
|
709
|
-
data: {
|
|
710
|
-
organization_id: string;
|
|
711
|
-
customer_id: string;
|
|
712
|
-
master_id: string;
|
|
713
|
-
email: string;
|
|
714
|
-
} & {
|
|
715
|
-
[k: string]: unknown;
|
|
716
|
-
};
|
|
717
|
-
type: CdpCustomerEventType.EmailSet;
|
|
718
|
-
id: string;
|
|
719
|
-
}>, z.ZodObject<{
|
|
524
|
+
}, z.core.$loose>;
|
|
525
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
720
526
|
id: z.ZodString;
|
|
721
527
|
type: z.ZodLiteral<CdpCustomerEventType.PropertiesValuesUpdated>;
|
|
722
|
-
data: z.ZodObject<
|
|
723
|
-
organization_id: z.ZodString;
|
|
724
|
-
customer_id: z.ZodString;
|
|
725
|
-
master_id: z.ZodString;
|
|
726
|
-
}, {
|
|
727
|
-
customer_properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
728
|
-
value: z.ZodUnknown;
|
|
729
|
-
last_updated_at: z.ZodString;
|
|
730
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
731
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
732
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
733
|
-
value: z.ZodUnknown;
|
|
734
|
-
last_updated_at: z.ZodString;
|
|
735
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
736
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
737
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
738
|
-
value: z.ZodUnknown;
|
|
739
|
-
last_updated_at: z.ZodString;
|
|
740
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
741
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
742
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
743
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
528
|
+
data: z.ZodObject<{
|
|
744
529
|
organization_id: z.ZodString;
|
|
745
530
|
customer_id: z.ZodString;
|
|
746
531
|
master_id: z.ZodString;
|
|
747
|
-
}, {
|
|
748
532
|
customer_properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
749
533
|
value: z.ZodUnknown;
|
|
750
534
|
last_updated_at: z.ZodString;
|
|
751
535
|
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
752
536
|
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
753
|
-
},
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
757
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
758
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
759
|
-
value: z.ZodUnknown;
|
|
760
|
-
last_updated_at: z.ZodString;
|
|
761
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
762
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
763
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
764
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
765
|
-
organization_id: z.ZodString;
|
|
766
|
-
customer_id: z.ZodString;
|
|
767
|
-
master_id: z.ZodString;
|
|
768
|
-
}, {
|
|
769
|
-
customer_properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
770
|
-
value: z.ZodUnknown;
|
|
771
|
-
last_updated_at: z.ZodString;
|
|
772
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
773
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
774
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
775
|
-
value: z.ZodUnknown;
|
|
776
|
-
last_updated_at: z.ZodString;
|
|
777
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
778
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
779
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
780
|
-
value: z.ZodUnknown;
|
|
781
|
-
last_updated_at: z.ZodString;
|
|
782
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
783
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
784
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
785
|
-
}>, z.ZodTypeAny, "passthrough">>;
|
|
786
|
-
}, "strip", z.ZodTypeAny, {
|
|
787
|
-
data: {
|
|
788
|
-
organization_id: string;
|
|
789
|
-
customer_id: string;
|
|
790
|
-
master_id: string;
|
|
791
|
-
customer_properties: Record<string, z.objectOutputType<{
|
|
792
|
-
value: z.ZodUnknown;
|
|
793
|
-
last_updated_at: z.ZodString;
|
|
794
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
795
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
796
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
797
|
-
} & {
|
|
798
|
-
[k: string]: unknown;
|
|
799
|
-
};
|
|
800
|
-
type: CdpCustomerEventType.PropertiesValuesUpdated;
|
|
801
|
-
id: string;
|
|
802
|
-
}, {
|
|
803
|
-
data: {
|
|
804
|
-
organization_id: string;
|
|
805
|
-
customer_id: string;
|
|
806
|
-
master_id: string;
|
|
807
|
-
customer_properties: Record<string, z.objectInputType<{
|
|
808
|
-
value: z.ZodUnknown;
|
|
809
|
-
last_updated_at: z.ZodString;
|
|
810
|
-
last_updated_agent_account_id: z.ZodOptional<z.ZodString>;
|
|
811
|
-
last_updated_agent_client_id: z.ZodOptional<z.ZodString>;
|
|
812
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
813
|
-
} & {
|
|
814
|
-
[k: string]: unknown;
|
|
815
|
-
};
|
|
816
|
-
type: CdpCustomerEventType.PropertiesValuesUpdated;
|
|
817
|
-
id: string;
|
|
818
|
-
}>, z.ZodObject<{
|
|
537
|
+
}, z.core.$loose>>;
|
|
538
|
+
}, z.core.$loose>;
|
|
539
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
819
540
|
id: z.ZodString;
|
|
820
541
|
type: z.ZodLiteral<CdpCustomerEventType.SegmentAdded>;
|
|
821
|
-
data: z.ZodObject<
|
|
822
|
-
organization_id: z.ZodString;
|
|
823
|
-
customer_id: z.ZodString;
|
|
824
|
-
master_id: z.ZodString;
|
|
825
|
-
}, {
|
|
826
|
-
segment_id: z.ZodNumber;
|
|
827
|
-
segment_type: z.ZodString;
|
|
828
|
-
membership_last_updated_at: z.ZodString;
|
|
829
|
-
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
830
|
-
email: z.ZodOptional<z.ZodString>;
|
|
831
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
832
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
833
|
-
email: z.ZodOptional<z.ZodString>;
|
|
834
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
835
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
836
|
-
email: z.ZodOptional<z.ZodString>;
|
|
837
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
838
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
839
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
840
|
-
organization_id: z.ZodString;
|
|
841
|
-
customer_id: z.ZodString;
|
|
842
|
-
master_id: z.ZodString;
|
|
843
|
-
}, {
|
|
844
|
-
segment_id: z.ZodNumber;
|
|
845
|
-
segment_type: z.ZodString;
|
|
846
|
-
membership_last_updated_at: z.ZodString;
|
|
847
|
-
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
848
|
-
email: z.ZodOptional<z.ZodString>;
|
|
849
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
850
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
851
|
-
email: z.ZodOptional<z.ZodString>;
|
|
852
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
853
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
854
|
-
email: z.ZodOptional<z.ZodString>;
|
|
855
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
856
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
857
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
542
|
+
data: z.ZodObject<{
|
|
858
543
|
organization_id: z.ZodString;
|
|
859
544
|
customer_id: z.ZodString;
|
|
860
545
|
master_id: z.ZodString;
|
|
861
|
-
}, {
|
|
862
546
|
segment_id: z.ZodNumber;
|
|
863
547
|
segment_type: z.ZodString;
|
|
864
548
|
membership_last_updated_at: z.ZodString;
|
|
865
549
|
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
866
550
|
email: z.ZodOptional<z.ZodString>;
|
|
867
551
|
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
868
|
-
},
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
872
|
-
email: z.ZodOptional<z.ZodString>;
|
|
873
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
874
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
875
|
-
}>, z.ZodTypeAny, "passthrough">>;
|
|
876
|
-
}, "strip", z.ZodTypeAny, {
|
|
877
|
-
data: {
|
|
878
|
-
segment_type: string;
|
|
879
|
-
organization_id: string;
|
|
880
|
-
customer_id: string;
|
|
881
|
-
master_id: string;
|
|
882
|
-
segment_id: number;
|
|
883
|
-
membership_last_updated_at: string;
|
|
884
|
-
segment_fields?: z.objectOutputType<{
|
|
885
|
-
email: z.ZodOptional<z.ZodString>;
|
|
886
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
887
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
888
|
-
} & {
|
|
889
|
-
[k: string]: unknown;
|
|
890
|
-
};
|
|
891
|
-
type: CdpCustomerEventType.SegmentAdded;
|
|
892
|
-
id: string;
|
|
893
|
-
}, {
|
|
894
|
-
data: {
|
|
895
|
-
segment_type: string;
|
|
896
|
-
organization_id: string;
|
|
897
|
-
customer_id: string;
|
|
898
|
-
master_id: string;
|
|
899
|
-
segment_id: number;
|
|
900
|
-
membership_last_updated_at: string;
|
|
901
|
-
segment_fields?: z.objectInputType<{
|
|
902
|
-
email: z.ZodOptional<z.ZodString>;
|
|
903
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
904
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
905
|
-
} & {
|
|
906
|
-
[k: string]: unknown;
|
|
907
|
-
};
|
|
908
|
-
type: CdpCustomerEventType.SegmentAdded;
|
|
909
|
-
id: string;
|
|
910
|
-
}>, z.ZodObject<{
|
|
552
|
+
}, z.core.$loose>>;
|
|
553
|
+
}, z.core.$loose>;
|
|
554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
911
555
|
id: z.ZodString;
|
|
912
556
|
type: z.ZodLiteral<CdpCustomerEventType.SegmentRemoved>;
|
|
913
|
-
data: z.ZodObject<
|
|
557
|
+
data: z.ZodObject<{
|
|
914
558
|
organization_id: z.ZodString;
|
|
915
559
|
customer_id: z.ZodString;
|
|
916
560
|
master_id: z.ZodString;
|
|
917
|
-
}, {
|
|
918
561
|
segment_id: z.ZodNumber;
|
|
919
562
|
segment_type: z.ZodString;
|
|
920
563
|
membership_last_updated_at: z.ZodString;
|
|
921
564
|
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
922
565
|
email: z.ZodOptional<z.ZodString>;
|
|
923
566
|
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
924
|
-
},
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
928
|
-
email: z.ZodOptional<z.ZodString>;
|
|
929
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
930
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
931
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
932
|
-
organization_id: z.ZodString;
|
|
933
|
-
customer_id: z.ZodString;
|
|
934
|
-
master_id: z.ZodString;
|
|
935
|
-
}, {
|
|
936
|
-
segment_id: z.ZodNumber;
|
|
937
|
-
segment_type: z.ZodString;
|
|
938
|
-
membership_last_updated_at: z.ZodString;
|
|
939
|
-
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
940
|
-
email: z.ZodOptional<z.ZodString>;
|
|
941
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
942
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
943
|
-
email: z.ZodOptional<z.ZodString>;
|
|
944
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
945
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
946
|
-
email: z.ZodOptional<z.ZodString>;
|
|
947
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
948
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
949
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
950
|
-
organization_id: z.ZodString;
|
|
951
|
-
customer_id: z.ZodString;
|
|
952
|
-
master_id: z.ZodString;
|
|
953
|
-
}, {
|
|
954
|
-
segment_id: z.ZodNumber;
|
|
955
|
-
segment_type: z.ZodString;
|
|
956
|
-
membership_last_updated_at: z.ZodString;
|
|
957
|
-
segment_fields: z.ZodOptional<z.ZodObject<{
|
|
958
|
-
email: z.ZodOptional<z.ZodString>;
|
|
959
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
960
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
961
|
-
email: z.ZodOptional<z.ZodString>;
|
|
962
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
963
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
964
|
-
email: z.ZodOptional<z.ZodString>;
|
|
965
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
966
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
967
|
-
}>, z.ZodTypeAny, "passthrough">>;
|
|
968
|
-
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
data: {
|
|
970
|
-
segment_type: string;
|
|
971
|
-
organization_id: string;
|
|
972
|
-
customer_id: string;
|
|
973
|
-
master_id: string;
|
|
974
|
-
segment_id: number;
|
|
975
|
-
membership_last_updated_at: string;
|
|
976
|
-
segment_fields?: z.objectOutputType<{
|
|
977
|
-
email: z.ZodOptional<z.ZodString>;
|
|
978
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
979
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
980
|
-
} & {
|
|
981
|
-
[k: string]: unknown;
|
|
982
|
-
};
|
|
983
|
-
type: CdpCustomerEventType.SegmentRemoved;
|
|
984
|
-
id: string;
|
|
985
|
-
}, {
|
|
986
|
-
data: {
|
|
987
|
-
segment_type: string;
|
|
988
|
-
organization_id: string;
|
|
989
|
-
customer_id: string;
|
|
990
|
-
master_id: string;
|
|
991
|
-
segment_id: number;
|
|
992
|
-
membership_last_updated_at: string;
|
|
993
|
-
segment_fields?: z.objectInputType<{
|
|
994
|
-
email: z.ZodOptional<z.ZodString>;
|
|
995
|
-
customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
996
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
997
|
-
} & {
|
|
998
|
-
[k: string]: unknown;
|
|
999
|
-
};
|
|
1000
|
-
type: CdpCustomerEventType.SegmentRemoved;
|
|
1001
|
-
id: string;
|
|
1002
|
-
}>]>;
|
|
567
|
+
}, z.core.$loose>>;
|
|
568
|
+
}, z.core.$loose>;
|
|
569
|
+
}, z.core.$strip>], "type">;
|
|
1003
570
|
type CdpCustomerEventMessage = z.infer<typeof cdpCustomerEventMessageZod>;
|
|
1004
571
|
|
|
1005
572
|
interface AppBaseData {
|
|
@@ -2704,365 +2271,6 @@ interface Property extends PropertyDto {
|
|
|
2704
2271
|
}
|
|
2705
2272
|
type LicenseProperty = Record<string, string | number | boolean>;
|
|
2706
2273
|
|
|
2707
|
-
interface LivechatWebhookDto {
|
|
2708
|
-
id: string;
|
|
2709
|
-
api_version: string;
|
|
2710
|
-
action: string;
|
|
2711
|
-
description: string;
|
|
2712
|
-
owner_client_id: string;
|
|
2713
|
-
type: 'bot' | 'license';
|
|
2714
|
-
filters?: {
|
|
2715
|
-
author_type?: 'agent' | 'customer';
|
|
2716
|
-
only_my_chats?: boolean;
|
|
2717
|
-
chat_presence: {
|
|
2718
|
-
user_ids?: {
|
|
2719
|
-
values?: string[];
|
|
2720
|
-
exclude_values?: string[];
|
|
2721
|
-
};
|
|
2722
|
-
my_bots?: boolean;
|
|
2723
|
-
};
|
|
2724
|
-
source_type?: string[];
|
|
2725
|
-
};
|
|
2726
|
-
url: string;
|
|
2727
|
-
additional_data?: string[];
|
|
2728
|
-
}
|
|
2729
|
-
interface LivechatWebhook {
|
|
2730
|
-
url: string;
|
|
2731
|
-
api_version?: string;
|
|
2732
|
-
action: string;
|
|
2733
|
-
description?: string;
|
|
2734
|
-
secret_key: string;
|
|
2735
|
-
owner_client_id?: string;
|
|
2736
|
-
type: 'bot' | 'license';
|
|
2737
|
-
filters?: {
|
|
2738
|
-
author_type?: 'agent' | 'customer';
|
|
2739
|
-
only_my_chats?: boolean;
|
|
2740
|
-
chat_presence: {
|
|
2741
|
-
user_ids?: {
|
|
2742
|
-
values?: string[];
|
|
2743
|
-
exclude_values?: string[];
|
|
2744
|
-
};
|
|
2745
|
-
my_bots?: boolean;
|
|
2746
|
-
};
|
|
2747
|
-
source_type?: string[];
|
|
2748
|
-
};
|
|
2749
|
-
additional_data?: string[];
|
|
2750
|
-
}
|
|
2751
|
-
declare enum LivechatWebhookActions {
|
|
2752
|
-
IncomingChat = "incoming_chat",
|
|
2753
|
-
ChatDeactivated = "chat_deactivated",
|
|
2754
|
-
ChatAccessUpdated = "chat_access_updated",
|
|
2755
|
-
ChatTransferred = "chat_transferred",
|
|
2756
|
-
UserAddedToChat = "user_added_to_chat",
|
|
2757
|
-
UserRemovedFromChat = "user_removed_from_chat",
|
|
2758
|
-
IncomingEvent = "incoming_event",
|
|
2759
|
-
IncomingRichMessagePostback = "incoming_rich_message_postback",
|
|
2760
|
-
ThreadTagged = "thread_tagged",
|
|
2761
|
-
ThreadUntagged = "thread_untagged",
|
|
2762
|
-
IncomingCustomer = "incoming_customer"
|
|
2763
|
-
}
|
|
2764
|
-
type LivechatWebhookUser = {
|
|
2765
|
-
id: string;
|
|
2766
|
-
name: string;
|
|
2767
|
-
events_seen_up_to: '2020-05-12T12:31:46.463000Z';
|
|
2768
|
-
type: 'customer';
|
|
2769
|
-
present: boolean;
|
|
2770
|
-
created_at: string;
|
|
2771
|
-
last_visit: {
|
|
2772
|
-
started_at: '2020-05-12T11:32:03.497479Z';
|
|
2773
|
-
ended_at: '2020-05-12T11:33:33.497000Z';
|
|
2774
|
-
ip: '<customer_ip>';
|
|
2775
|
-
user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36';
|
|
2776
|
-
geolocation: {
|
|
2777
|
-
country: 'Poland';
|
|
2778
|
-
country_code: 'PL';
|
|
2779
|
-
region: 'Dolnoslaskie';
|
|
2780
|
-
city: 'Wroclaw';
|
|
2781
|
-
timezone: 'Europe/Warsaw';
|
|
2782
|
-
latitude: '51.1043015';
|
|
2783
|
-
longitude: '17.0335007';
|
|
2784
|
-
};
|
|
2785
|
-
last_pages: [
|
|
2786
|
-
{
|
|
2787
|
-
opened_at: '2020-05-12T11:32:03.497479Z';
|
|
2788
|
-
url: 'https://cdn.livechatinc.com/preview/11442778';
|
|
2789
|
-
title: 'Sample Page | Preview your chat window';
|
|
2790
|
-
}
|
|
2791
|
-
];
|
|
2792
|
-
};
|
|
2793
|
-
statistics: {
|
|
2794
|
-
chats_count: 1;
|
|
2795
|
-
threads_count: 3;
|
|
2796
|
-
visits_count: 6;
|
|
2797
|
-
page_views_count: 2;
|
|
2798
|
-
greetings_shown_count: 2;
|
|
2799
|
-
greetings_accepted_count: 1;
|
|
2800
|
-
};
|
|
2801
|
-
agent_last_event_created_at: '2020-05-12T11:42:47.393002Z';
|
|
2802
|
-
customer_last_event_created_at: '2020-05-12T12:31:46.463000Z';
|
|
2803
|
-
} | {
|
|
2804
|
-
id: string;
|
|
2805
|
-
name: string;
|
|
2806
|
-
email: string;
|
|
2807
|
-
events_seen_up_to: string;
|
|
2808
|
-
type: 'agent';
|
|
2809
|
-
present: boolean;
|
|
2810
|
-
avatar: string;
|
|
2811
|
-
visibility: 'all' | 'agents';
|
|
2812
|
-
};
|
|
2813
|
-
interface LivechatWebhookChat {
|
|
2814
|
-
id: string;
|
|
2815
|
-
thread: {
|
|
2816
|
-
id: string;
|
|
2817
|
-
created_at: string;
|
|
2818
|
-
active: boolean;
|
|
2819
|
-
user_ids: string[];
|
|
2820
|
-
events: LivechatWebhookEvent[];
|
|
2821
|
-
properties: Record<string, Record<string, string>>;
|
|
2822
|
-
access: {
|
|
2823
|
-
group_ids: [0];
|
|
2824
|
-
};
|
|
2825
|
-
tags: string[];
|
|
2826
|
-
previous_thread_id: string;
|
|
2827
|
-
};
|
|
2828
|
-
users: LivechatWebhookUser[];
|
|
2829
|
-
properties: Record<string, Record<string, string>>;
|
|
2830
|
-
access: {
|
|
2831
|
-
group_ids: number[];
|
|
2832
|
-
};
|
|
2833
|
-
is_followed: boolean;
|
|
2834
|
-
}
|
|
2835
|
-
declare enum LivechatWebhookEvents {
|
|
2836
|
-
Message = "message",
|
|
2837
|
-
File = "file",
|
|
2838
|
-
RichMessage = "rich_message",
|
|
2839
|
-
Form = "form",
|
|
2840
|
-
FilledForm = "filled_form",
|
|
2841
|
-
Custom = "custom",
|
|
2842
|
-
SystemMessage = "system_message",
|
|
2843
|
-
System = "system"
|
|
2844
|
-
}
|
|
2845
|
-
declare enum LivechatWebhookSystemMessages {
|
|
2846
|
-
ChatRated = "rating.chat_rated",
|
|
2847
|
-
ChatCommented = "rating.chat_commented",
|
|
2848
|
-
ChatArchivedCustomerManual = "manual_archived_customer",
|
|
2849
|
-
ChatArchivedCustomerDisconnected = "archived_customer_disconnected",
|
|
2850
|
-
ChatArchivedInactive = "routing.archived_inactive",
|
|
2851
|
-
ChatIdle = "routing.idle"
|
|
2852
|
-
}
|
|
2853
|
-
interface DefaultLivechatSourceProperties {
|
|
2854
|
-
source?: {
|
|
2855
|
-
client_id: string;
|
|
2856
|
-
customer_client_id: string;
|
|
2857
|
-
};
|
|
2858
|
-
}
|
|
2859
|
-
interface LivechatWebhookBaseEvent {
|
|
2860
|
-
id: string;
|
|
2861
|
-
created_at: string;
|
|
2862
|
-
author_id: string;
|
|
2863
|
-
visibility: 'all' | 'agents';
|
|
2864
|
-
custom_id?: string;
|
|
2865
|
-
properties?: Record<string, Record<string, string>> & DefaultLivechatSourceProperties;
|
|
2866
|
-
}
|
|
2867
|
-
interface LivechatWebhookMessageEvent extends LivechatWebhookBaseEvent {
|
|
2868
|
-
type: LivechatWebhookEvents.Message;
|
|
2869
|
-
text: string;
|
|
2870
|
-
postback?: {
|
|
2871
|
-
id: string;
|
|
2872
|
-
thread_id: string;
|
|
2873
|
-
event_id: string;
|
|
2874
|
-
type?: string;
|
|
2875
|
-
value?: string;
|
|
2876
|
-
};
|
|
2877
|
-
deleted?: boolean;
|
|
2878
|
-
}
|
|
2879
|
-
interface LivechatWebhookFileEvent extends LivechatWebhookBaseEvent {
|
|
2880
|
-
type: LivechatWebhookEvents.File;
|
|
2881
|
-
name: string;
|
|
2882
|
-
url: string;
|
|
2883
|
-
content_type: string;
|
|
2884
|
-
size?: number;
|
|
2885
|
-
width?: number;
|
|
2886
|
-
height?: number;
|
|
2887
|
-
thumbnail_url?: string;
|
|
2888
|
-
thumbnail2x_url?: string;
|
|
2889
|
-
alternative_text?: string;
|
|
2890
|
-
deleted?: boolean;
|
|
2891
|
-
}
|
|
2892
|
-
interface LivechatWebhookRichMessageElement {
|
|
2893
|
-
title: string;
|
|
2894
|
-
subtitle: string;
|
|
2895
|
-
image?: {
|
|
2896
|
-
url: string;
|
|
2897
|
-
name?: string;
|
|
2898
|
-
content_type?: string;
|
|
2899
|
-
size?: number;
|
|
2900
|
-
width?: number;
|
|
2901
|
-
height?: number;
|
|
2902
|
-
alternative_text?: string;
|
|
2903
|
-
};
|
|
2904
|
-
buttons?: {
|
|
2905
|
-
text: string;
|
|
2906
|
-
type: string;
|
|
2907
|
-
value: string;
|
|
2908
|
-
postback_id: string;
|
|
2909
|
-
user_ids: string[];
|
|
2910
|
-
webview_height?: string;
|
|
2911
|
-
target?: 'new' | 'current';
|
|
2912
|
-
}[];
|
|
2913
|
-
}
|
|
2914
|
-
interface LivechatWebhookRichMessageEvent extends LivechatWebhookBaseEvent {
|
|
2915
|
-
type: LivechatWebhookEvents.RichMessage;
|
|
2916
|
-
template_id: string;
|
|
2917
|
-
elements?: LivechatWebhookRichMessageElement[];
|
|
2918
|
-
deleted?: boolean;
|
|
2919
|
-
}
|
|
2920
|
-
interface LivechatWebhookFormField {
|
|
2921
|
-
id: string;
|
|
2922
|
-
type: string;
|
|
2923
|
-
label: string;
|
|
2924
|
-
required?: boolean;
|
|
2925
|
-
options?: {
|
|
2926
|
-
id: string;
|
|
2927
|
-
label: string;
|
|
2928
|
-
}[];
|
|
2929
|
-
}
|
|
2930
|
-
interface LivechatWebhookFormEvent extends LivechatWebhookBaseEvent {
|
|
2931
|
-
type: LivechatWebhookEvents.Form;
|
|
2932
|
-
form_id: string;
|
|
2933
|
-
form_type?: string;
|
|
2934
|
-
fields: LivechatWebhookFormField[];
|
|
2935
|
-
deleted?: boolean;
|
|
2936
|
-
}
|
|
2937
|
-
interface LivechatWebhookFilledFormField {
|
|
2938
|
-
id: string;
|
|
2939
|
-
type: string;
|
|
2940
|
-
label: string;
|
|
2941
|
-
answer?: string | {
|
|
2942
|
-
id: string;
|
|
2943
|
-
label: string;
|
|
2944
|
-
group_id?: number;
|
|
2945
|
-
};
|
|
2946
|
-
answers?: {
|
|
2947
|
-
id: string;
|
|
2948
|
-
label: string;
|
|
2949
|
-
}[];
|
|
2950
|
-
options?: {
|
|
2951
|
-
id: string | number;
|
|
2952
|
-
value: string;
|
|
2953
|
-
}[];
|
|
2954
|
-
}
|
|
2955
|
-
interface LivechatWebhookFilledFormEvent extends LivechatWebhookBaseEvent {
|
|
2956
|
-
type: LivechatWebhookEvents.FilledForm;
|
|
2957
|
-
form_id: string;
|
|
2958
|
-
form_type?: string;
|
|
2959
|
-
fields: LivechatWebhookFilledFormField[];
|
|
2960
|
-
deleted?: boolean;
|
|
2961
|
-
}
|
|
2962
|
-
interface LivechatWebhookCustomEvent extends LivechatWebhookBaseEvent {
|
|
2963
|
-
type: LivechatWebhookEvents.Custom;
|
|
2964
|
-
content?: Record<string, unknown>;
|
|
2965
|
-
deleted?: boolean;
|
|
2966
|
-
}
|
|
2967
|
-
interface LivechatWebhookSystemMessageEvent extends Omit<LivechatWebhookBaseEvent, 'author_id'> {
|
|
2968
|
-
type: LivechatWebhookEvents.SystemMessage;
|
|
2969
|
-
text?: string;
|
|
2970
|
-
system_message_type: LivechatWebhookSystemMessages;
|
|
2971
|
-
text_vars?: Record<string, string>;
|
|
2972
|
-
}
|
|
2973
|
-
interface LivechatWebhookSystemEvent extends Omit<LivechatWebhookBaseEvent, 'author_id'> {
|
|
2974
|
-
type: LivechatWebhookEvents.System;
|
|
2975
|
-
source: string;
|
|
2976
|
-
subtype: string;
|
|
2977
|
-
version: number;
|
|
2978
|
-
details: string;
|
|
2979
|
-
}
|
|
2980
|
-
type LivechatWebhookEvent = LivechatWebhookMessageEvent | LivechatWebhookFileEvent | LivechatWebhookRichMessageEvent | LivechatWebhookFormEvent | LivechatWebhookFilledFormEvent | LivechatWebhookCustomEvent | LivechatWebhookSystemMessageEvent | LivechatWebhookSystemEvent;
|
|
2981
|
-
|
|
2982
|
-
interface LivechatWebhookDataBase<TAction extends LivechatWebhookActions, TPayload> {
|
|
2983
|
-
webhookId: string;
|
|
2984
|
-
secret_key: string;
|
|
2985
|
-
organization_id: string;
|
|
2986
|
-
additional_data: {
|
|
2987
|
-
chat_properties: Record<string, string>;
|
|
2988
|
-
chat_presence_user_ids: string[];
|
|
2989
|
-
};
|
|
2990
|
-
payload: TPayload;
|
|
2991
|
-
action: TAction;
|
|
2992
|
-
}
|
|
2993
|
-
type IncomingChatLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.IncomingChat, {
|
|
2994
|
-
chat: LivechatWebhookChat;
|
|
2995
|
-
}>;
|
|
2996
|
-
type ChatDeactivatedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ChatDeactivated, {
|
|
2997
|
-
chat_id: string;
|
|
2998
|
-
thread_id: string;
|
|
2999
|
-
user_id: string;
|
|
3000
|
-
}>;
|
|
3001
|
-
type ChatTransferredLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ChatTransferred, {
|
|
3002
|
-
chat_id: string;
|
|
3003
|
-
thread_id: string;
|
|
3004
|
-
requester_id: string;
|
|
3005
|
-
reason: string;
|
|
3006
|
-
transferred_to?: {
|
|
3007
|
-
group_ids?: number[];
|
|
3008
|
-
agent_ids?: string[];
|
|
3009
|
-
};
|
|
3010
|
-
queue?: {
|
|
3011
|
-
position: number;
|
|
3012
|
-
wait_time: number;
|
|
3013
|
-
queue_at_us: string;
|
|
3014
|
-
};
|
|
3015
|
-
}>;
|
|
3016
|
-
type UserAddedToChatLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.UserAddedToChat, {
|
|
3017
|
-
chat_id: string;
|
|
3018
|
-
thread_id: string;
|
|
3019
|
-
requester_id: string;
|
|
3020
|
-
reason: string;
|
|
3021
|
-
user: LivechatWebhookUser;
|
|
3022
|
-
}>;
|
|
3023
|
-
type UserRemovedFromChatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.UserRemovedFromChat, {
|
|
3024
|
-
chat_id: string;
|
|
3025
|
-
thread_id: string;
|
|
3026
|
-
requester_id: string;
|
|
3027
|
-
reason: string;
|
|
3028
|
-
user_id: string;
|
|
3029
|
-
}>;
|
|
3030
|
-
type IncomingEventLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.IncomingEvent, {
|
|
3031
|
-
chat_id: string;
|
|
3032
|
-
thread_id: string;
|
|
3033
|
-
event: LivechatWebhookEvent;
|
|
3034
|
-
}>;
|
|
3035
|
-
interface LivechatWebhookPostbackEcommerce {
|
|
3036
|
-
product_id: string;
|
|
3037
|
-
option_id?: string;
|
|
3038
|
-
quantity?: number;
|
|
3039
|
-
}
|
|
3040
|
-
interface LivechatWebhookRichMessagePostback {
|
|
3041
|
-
id: string;
|
|
3042
|
-
toggled: boolean;
|
|
3043
|
-
button_type?: string;
|
|
3044
|
-
button_value?: string;
|
|
3045
|
-
ecommerce?: LivechatWebhookPostbackEcommerce;
|
|
3046
|
-
}
|
|
3047
|
-
type IncomingRichMessagePostbackLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.IncomingRichMessagePostback, {
|
|
3048
|
-
user_id: string;
|
|
3049
|
-
chat_id: string;
|
|
3050
|
-
thread_id: string;
|
|
3051
|
-
event_id: string;
|
|
3052
|
-
postback: LivechatWebhookRichMessagePostback;
|
|
3053
|
-
}>;
|
|
3054
|
-
type ThreadTaggedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ThreadTagged, {
|
|
3055
|
-
chat_id: string;
|
|
3056
|
-
thread_id: string;
|
|
3057
|
-
tag: string;
|
|
3058
|
-
}>;
|
|
3059
|
-
type ThreadUntaggedLivechatWebhookData = LivechatWebhookDataBase<LivechatWebhookActions.ThreadUntagged, {
|
|
3060
|
-
chat_id: string;
|
|
3061
|
-
thread_id: string;
|
|
3062
|
-
tag: string;
|
|
3063
|
-
}>;
|
|
3064
|
-
type LivechatWebhookData = IncomingChatLivechatWebhookData | ChatDeactivatedLivechatWebhookData | ThreadTaggedLivechatWebhookData | ThreadUntaggedLivechatWebhookData | ChatTransferredLivechatWebhookData | UserAddedToChatLivechatWebhookData | UserRemovedFromChatWebhookData | IncomingEventLivechatWebhookData | IncomingRichMessagePostbackLivechatWebhookData;
|
|
3065
|
-
|
|
3066
2274
|
interface LiveChatConfigurationApiError {
|
|
3067
2275
|
type: string;
|
|
3068
2276
|
message: string;
|
|
@@ -3843,6 +3051,23 @@ interface GenerateResponseResponse {
|
|
|
3843
3051
|
trace_id: string;
|
|
3844
3052
|
response: string;
|
|
3845
3053
|
}
|
|
3054
|
+
interface RegenerateIntentPayload {
|
|
3055
|
+
workflow_id: string;
|
|
3056
|
+
current_intent_summary: string;
|
|
3057
|
+
request: string;
|
|
3058
|
+
}
|
|
3059
|
+
interface RegenerateIntentResponse {
|
|
3060
|
+
title: string;
|
|
3061
|
+
intent_summary: string;
|
|
3062
|
+
intent_description: string;
|
|
3063
|
+
}
|
|
3064
|
+
interface RegenerateIntentRejection {
|
|
3065
|
+
message: string;
|
|
3066
|
+
suggestion: string;
|
|
3067
|
+
}
|
|
3068
|
+
declare class RegenerateIntentRejectionError extends ApiErrorBase<RegenerateIntentRejection> {
|
|
3069
|
+
name: "text";
|
|
3070
|
+
}
|
|
3846
3071
|
|
|
3847
3072
|
interface TextBillingFeatureDto {
|
|
3848
3073
|
name: string;
|
|
@@ -4157,604 +3382,142 @@ interface AuthorizeActionResult {
|
|
|
4157
3382
|
|
|
4158
3383
|
declare const textEventsZods: {
|
|
4159
3384
|
provider: z.ZodLiteral<IntegrationNames.Text>;
|
|
4160
|
-
readonly event: z.ZodDiscriminatedUnion<
|
|
3385
|
+
readonly event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4161
3386
|
version: z.ZodOptional<z.ZodString>;
|
|
4162
|
-
}, {
|
|
4163
3387
|
name: z.ZodLiteral<TextCustomerEventNames.EmailSet>;
|
|
4164
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString
|
|
4165
|
-
}
|
|
4166
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4167
|
-
version?: string | undefined;
|
|
4168
|
-
filters?: string[] | undefined;
|
|
4169
|
-
}, {
|
|
4170
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4171
|
-
version?: string | undefined;
|
|
4172
|
-
filters?: string[] | undefined;
|
|
4173
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3388
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4174
3390
|
version: z.ZodOptional<z.ZodString>;
|
|
4175
|
-
}, {
|
|
4176
3391
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4177
3392
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4178
3393
|
id: z.ZodString;
|
|
4179
|
-
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4180
|
-
},
|
|
4181
|
-
|
|
4182
|
-
to?: string | number | boolean | null | undefined;
|
|
4183
|
-
}, {
|
|
4184
|
-
id: string;
|
|
4185
|
-
to?: string | number | boolean | null | undefined;
|
|
4186
|
-
}>, "many">>;
|
|
4187
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4188
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4189
|
-
version?: string | undefined;
|
|
4190
|
-
properties?: {
|
|
4191
|
-
id: string;
|
|
4192
|
-
to?: string | number | boolean | null | undefined;
|
|
4193
|
-
}[] | undefined;
|
|
4194
|
-
}, {
|
|
4195
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4196
|
-
version?: string | undefined;
|
|
4197
|
-
properties?: {
|
|
4198
|
-
id: string;
|
|
4199
|
-
to?: string | number | boolean | null | undefined;
|
|
4200
|
-
}[] | undefined;
|
|
4201
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3394
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3395
|
+
}, z.core.$strip>>>;
|
|
3396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4202
3397
|
version: z.ZodOptional<z.ZodString>;
|
|
4203
|
-
}, {
|
|
4204
3398
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentAdded>;
|
|
4205
|
-
segment_type: z.
|
|
4206
|
-
}
|
|
4207
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4208
|
-
segment_type: TextCustomerSegmentType;
|
|
4209
|
-
version?: string | undefined;
|
|
4210
|
-
}, {
|
|
4211
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4212
|
-
segment_type: TextCustomerSegmentType;
|
|
4213
|
-
version?: string | undefined;
|
|
4214
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3399
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4215
3401
|
version: z.ZodOptional<z.ZodString>;
|
|
4216
|
-
}, {
|
|
4217
3402
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentRemoved>;
|
|
4218
|
-
segment_type: z.
|
|
4219
|
-
}
|
|
4220
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4221
|
-
segment_type: TextCustomerSegmentType;
|
|
4222
|
-
version?: string | undefined;
|
|
4223
|
-
}, {
|
|
4224
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4225
|
-
segment_type: TextCustomerSegmentType;
|
|
4226
|
-
version?: string | undefined;
|
|
4227
|
-
}>]>;
|
|
3403
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3404
|
+
}, z.core.$strip>], "name">;
|
|
4228
3405
|
readonly subscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
4229
|
-
sourceName: z.ZodEnum<
|
|
3406
|
+
sourceName: z.ZodEnum<{
|
|
3407
|
+
workflows: "workflows";
|
|
3408
|
+
apps: "apps";
|
|
3409
|
+
}>;
|
|
4230
3410
|
sourceKey: z.ZodString;
|
|
4231
|
-
},
|
|
4232
|
-
|
|
4233
|
-
sourceKey: string;
|
|
4234
|
-
}, {
|
|
4235
|
-
sourceName: "workflows" | "apps";
|
|
4236
|
-
sourceKey: string;
|
|
4237
|
-
}>, z.ZodObject<{
|
|
4238
|
-
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<z.objectUtil.extendShape<{
|
|
3411
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3412
|
+
event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4239
3413
|
version: z.ZodOptional<z.ZodString>;
|
|
4240
|
-
}, {
|
|
4241
3414
|
name: z.ZodLiteral<TextCustomerEventNames.EmailSet>;
|
|
4242
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString
|
|
4243
|
-
}
|
|
4244
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4245
|
-
version?: string | undefined;
|
|
4246
|
-
filters?: string[] | undefined;
|
|
4247
|
-
}, {
|
|
4248
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4249
|
-
version?: string | undefined;
|
|
4250
|
-
filters?: string[] | undefined;
|
|
4251
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3415
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4252
3417
|
version: z.ZodOptional<z.ZodString>;
|
|
4253
|
-
}, {
|
|
4254
3418
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4255
3419
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4256
3420
|
id: z.ZodString;
|
|
4257
|
-
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4258
|
-
},
|
|
4259
|
-
|
|
4260
|
-
to?: string | number | boolean | null | undefined;
|
|
4261
|
-
}, {
|
|
4262
|
-
id: string;
|
|
4263
|
-
to?: string | number | boolean | null | undefined;
|
|
4264
|
-
}>, "many">>;
|
|
4265
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4266
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4267
|
-
version?: string | undefined;
|
|
4268
|
-
properties?: {
|
|
4269
|
-
id: string;
|
|
4270
|
-
to?: string | number | boolean | null | undefined;
|
|
4271
|
-
}[] | undefined;
|
|
4272
|
-
}, {
|
|
4273
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4274
|
-
version?: string | undefined;
|
|
4275
|
-
properties?: {
|
|
4276
|
-
id: string;
|
|
4277
|
-
to?: string | number | boolean | null | undefined;
|
|
4278
|
-
}[] | undefined;
|
|
4279
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3421
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3422
|
+
}, z.core.$strip>>>;
|
|
3423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4280
3424
|
version: z.ZodOptional<z.ZodString>;
|
|
4281
|
-
}, {
|
|
4282
3425
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentAdded>;
|
|
4283
|
-
segment_type: z.
|
|
4284
|
-
}
|
|
4285
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4286
|
-
segment_type: TextCustomerSegmentType;
|
|
4287
|
-
version?: string | undefined;
|
|
4288
|
-
}, {
|
|
4289
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4290
|
-
segment_type: TextCustomerSegmentType;
|
|
4291
|
-
version?: string | undefined;
|
|
4292
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3426
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3427
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4293
3428
|
version: z.ZodOptional<z.ZodString>;
|
|
4294
|
-
}, {
|
|
4295
3429
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentRemoved>;
|
|
4296
|
-
segment_type: z.
|
|
4297
|
-
}
|
|
4298
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4299
|
-
segment_type: TextCustomerSegmentType;
|
|
4300
|
-
version?: string | undefined;
|
|
4301
|
-
}, {
|
|
4302
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4303
|
-
segment_type: TextCustomerSegmentType;
|
|
4304
|
-
version?: string | undefined;
|
|
4305
|
-
}>]>;
|
|
3430
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3431
|
+
}, z.core.$strip>], "name">;
|
|
4306
3432
|
callback: z.ZodString;
|
|
4307
|
-
},
|
|
4308
|
-
event: {
|
|
4309
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4310
|
-
version?: string | undefined;
|
|
4311
|
-
filters?: string[] | undefined;
|
|
4312
|
-
} | {
|
|
4313
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4314
|
-
version?: string | undefined;
|
|
4315
|
-
properties?: {
|
|
4316
|
-
id: string;
|
|
4317
|
-
to?: string | number | boolean | null | undefined;
|
|
4318
|
-
}[] | undefined;
|
|
4319
|
-
} | {
|
|
4320
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4321
|
-
segment_type: TextCustomerSegmentType;
|
|
4322
|
-
version?: string | undefined;
|
|
4323
|
-
} | {
|
|
4324
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4325
|
-
segment_type: TextCustomerSegmentType;
|
|
4326
|
-
version?: string | undefined;
|
|
4327
|
-
};
|
|
4328
|
-
callback: string;
|
|
4329
|
-
}, {
|
|
4330
|
-
event: {
|
|
4331
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4332
|
-
version?: string | undefined;
|
|
4333
|
-
filters?: string[] | undefined;
|
|
4334
|
-
} | {
|
|
4335
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4336
|
-
version?: string | undefined;
|
|
4337
|
-
properties?: {
|
|
4338
|
-
id: string;
|
|
4339
|
-
to?: string | number | boolean | null | undefined;
|
|
4340
|
-
}[] | undefined;
|
|
4341
|
-
} | {
|
|
4342
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4343
|
-
segment_type: TextCustomerSegmentType;
|
|
4344
|
-
version?: string | undefined;
|
|
4345
|
-
} | {
|
|
4346
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4347
|
-
segment_type: TextCustomerSegmentType;
|
|
4348
|
-
version?: string | undefined;
|
|
4349
|
-
};
|
|
4350
|
-
callback: string;
|
|
4351
|
-
}>>, z.ZodObject<{
|
|
3433
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
4352
3434
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
4353
3435
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4354
3436
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4355
3437
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4356
|
-
},
|
|
4357
|
-
|
|
4358
|
-
headers?: Record<string, string> | undefined;
|
|
4359
|
-
query_params?: Record<string, string> | undefined;
|
|
4360
|
-
}, {
|
|
4361
|
-
data?: Record<string, string> | undefined;
|
|
4362
|
-
headers?: Record<string, string> | undefined;
|
|
4363
|
-
query_params?: Record<string, string> | undefined;
|
|
4364
|
-
}>>;
|
|
4365
|
-
}, "strip", z.ZodTypeAny, {
|
|
4366
|
-
authorization?: {
|
|
4367
|
-
data?: Record<string, string> | undefined;
|
|
4368
|
-
headers?: Record<string, string> | undefined;
|
|
4369
|
-
query_params?: Record<string, string> | undefined;
|
|
4370
|
-
} | undefined;
|
|
4371
|
-
}, {
|
|
4372
|
-
authorization?: {
|
|
4373
|
-
data?: Record<string, string> | undefined;
|
|
4374
|
-
headers?: Record<string, string> | undefined;
|
|
4375
|
-
query_params?: Record<string, string> | undefined;
|
|
4376
|
-
} | undefined;
|
|
4377
|
-
}>>;
|
|
3438
|
+
}, z.core.$strip>>;
|
|
3439
|
+
}, z.core.$strip>>;
|
|
4378
3440
|
readonly subscribeContent: z.ZodObject<{
|
|
4379
3441
|
provider: z.ZodLiteral<IntegrationNames.Text>;
|
|
4380
|
-
event: z.ZodDiscriminatedUnion<
|
|
3442
|
+
event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4381
3443
|
version: z.ZodOptional<z.ZodString>;
|
|
4382
|
-
}, {
|
|
4383
3444
|
name: z.ZodLiteral<TextCustomerEventNames.EmailSet>;
|
|
4384
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString
|
|
4385
|
-
}
|
|
4386
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4387
|
-
version?: string | undefined;
|
|
4388
|
-
filters?: string[] | undefined;
|
|
4389
|
-
}, {
|
|
4390
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4391
|
-
version?: string | undefined;
|
|
4392
|
-
filters?: string[] | undefined;
|
|
4393
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3445
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4394
3447
|
version: z.ZodOptional<z.ZodString>;
|
|
4395
|
-
}, {
|
|
4396
3448
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4397
3449
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4398
3450
|
id: z.ZodString;
|
|
4399
|
-
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4400
|
-
},
|
|
4401
|
-
|
|
4402
|
-
to?: string | number | boolean | null | undefined;
|
|
4403
|
-
}, {
|
|
4404
|
-
id: string;
|
|
4405
|
-
to?: string | number | boolean | null | undefined;
|
|
4406
|
-
}>, "many">>;
|
|
4407
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4408
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4409
|
-
version?: string | undefined;
|
|
4410
|
-
properties?: {
|
|
4411
|
-
id: string;
|
|
4412
|
-
to?: string | number | boolean | null | undefined;
|
|
4413
|
-
}[] | undefined;
|
|
4414
|
-
}, {
|
|
4415
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4416
|
-
version?: string | undefined;
|
|
4417
|
-
properties?: {
|
|
4418
|
-
id: string;
|
|
4419
|
-
to?: string | number | boolean | null | undefined;
|
|
4420
|
-
}[] | undefined;
|
|
4421
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3451
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3452
|
+
}, z.core.$strip>>>;
|
|
3453
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4422
3454
|
version: z.ZodOptional<z.ZodString>;
|
|
4423
|
-
}, {
|
|
4424
3455
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentAdded>;
|
|
4425
|
-
segment_type: z.
|
|
4426
|
-
}
|
|
4427
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4428
|
-
segment_type: TextCustomerSegmentType;
|
|
4429
|
-
version?: string | undefined;
|
|
4430
|
-
}, {
|
|
4431
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4432
|
-
segment_type: TextCustomerSegmentType;
|
|
4433
|
-
version?: string | undefined;
|
|
4434
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3456
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4435
3458
|
version: z.ZodOptional<z.ZodString>;
|
|
4436
|
-
}, {
|
|
4437
3459
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentRemoved>;
|
|
4438
|
-
segment_type: z.
|
|
4439
|
-
}
|
|
4440
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4441
|
-
segment_type: TextCustomerSegmentType;
|
|
4442
|
-
version?: string | undefined;
|
|
4443
|
-
}, {
|
|
4444
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4445
|
-
segment_type: TextCustomerSegmentType;
|
|
4446
|
-
version?: string | undefined;
|
|
4447
|
-
}>]>;
|
|
3460
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3461
|
+
}, z.core.$strip>], "name">;
|
|
4448
3462
|
callback: z.ZodString;
|
|
4449
|
-
},
|
|
4450
|
-
event: {
|
|
4451
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4452
|
-
version?: string | undefined;
|
|
4453
|
-
filters?: string[] | undefined;
|
|
4454
|
-
} | {
|
|
4455
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4456
|
-
version?: string | undefined;
|
|
4457
|
-
properties?: {
|
|
4458
|
-
id: string;
|
|
4459
|
-
to?: string | number | boolean | null | undefined;
|
|
4460
|
-
}[] | undefined;
|
|
4461
|
-
} | {
|
|
4462
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4463
|
-
segment_type: TextCustomerSegmentType;
|
|
4464
|
-
version?: string | undefined;
|
|
4465
|
-
} | {
|
|
4466
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4467
|
-
segment_type: TextCustomerSegmentType;
|
|
4468
|
-
version?: string | undefined;
|
|
4469
|
-
};
|
|
4470
|
-
callback: string;
|
|
4471
|
-
provider: IntegrationNames.Text;
|
|
4472
|
-
}, {
|
|
4473
|
-
event: {
|
|
4474
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4475
|
-
version?: string | undefined;
|
|
4476
|
-
filters?: string[] | undefined;
|
|
4477
|
-
} | {
|
|
4478
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4479
|
-
version?: string | undefined;
|
|
4480
|
-
properties?: {
|
|
4481
|
-
id: string;
|
|
4482
|
-
to?: string | number | boolean | null | undefined;
|
|
4483
|
-
}[] | undefined;
|
|
4484
|
-
} | {
|
|
4485
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4486
|
-
segment_type: TextCustomerSegmentType;
|
|
4487
|
-
version?: string | undefined;
|
|
4488
|
-
} | {
|
|
4489
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4490
|
-
segment_type: TextCustomerSegmentType;
|
|
4491
|
-
version?: string | undefined;
|
|
4492
|
-
};
|
|
4493
|
-
callback: string;
|
|
4494
|
-
provider: IntegrationNames.Text;
|
|
4495
|
-
}>;
|
|
3463
|
+
}, z.core.$strip>;
|
|
4496
3464
|
readonly unsubscribe: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
4497
|
-
sourceName: z.ZodEnum<
|
|
3465
|
+
sourceName: z.ZodEnum<{
|
|
3466
|
+
workflows: "workflows";
|
|
3467
|
+
apps: "apps";
|
|
3468
|
+
}>;
|
|
4498
3469
|
sourceKey: z.ZodString;
|
|
4499
|
-
},
|
|
4500
|
-
|
|
4501
|
-
sourceKey: string;
|
|
4502
|
-
}, {
|
|
4503
|
-
sourceName: "workflows" | "apps";
|
|
4504
|
-
sourceKey: string;
|
|
4505
|
-
}>, z.ZodObject<{
|
|
4506
|
-
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<z.objectUtil.extendShape<{
|
|
3470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3471
|
+
event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4507
3472
|
version: z.ZodOptional<z.ZodString>;
|
|
4508
|
-
}, {
|
|
4509
3473
|
name: z.ZodLiteral<TextCustomerEventNames.EmailSet>;
|
|
4510
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString
|
|
4511
|
-
}
|
|
4512
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4513
|
-
version?: string | undefined;
|
|
4514
|
-
filters?: string[] | undefined;
|
|
4515
|
-
}, {
|
|
4516
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4517
|
-
version?: string | undefined;
|
|
4518
|
-
filters?: string[] | undefined;
|
|
4519
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3474
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4520
3476
|
version: z.ZodOptional<z.ZodString>;
|
|
4521
|
-
}, {
|
|
4522
3477
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4523
3478
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4524
3479
|
id: z.ZodString;
|
|
4525
|
-
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4526
|
-
},
|
|
4527
|
-
|
|
4528
|
-
to?: string | number | boolean | null | undefined;
|
|
4529
|
-
}, {
|
|
4530
|
-
id: string;
|
|
4531
|
-
to?: string | number | boolean | null | undefined;
|
|
4532
|
-
}>, "many">>;
|
|
4533
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4534
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4535
|
-
version?: string | undefined;
|
|
4536
|
-
properties?: {
|
|
4537
|
-
id: string;
|
|
4538
|
-
to?: string | number | boolean | null | undefined;
|
|
4539
|
-
}[] | undefined;
|
|
4540
|
-
}, {
|
|
4541
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4542
|
-
version?: string | undefined;
|
|
4543
|
-
properties?: {
|
|
4544
|
-
id: string;
|
|
4545
|
-
to?: string | number | boolean | null | undefined;
|
|
4546
|
-
}[] | undefined;
|
|
4547
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3480
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3481
|
+
}, z.core.$strip>>>;
|
|
3482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4548
3483
|
version: z.ZodOptional<z.ZodString>;
|
|
4549
|
-
}, {
|
|
4550
3484
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentAdded>;
|
|
4551
|
-
segment_type: z.
|
|
4552
|
-
}
|
|
4553
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4554
|
-
segment_type: TextCustomerSegmentType;
|
|
4555
|
-
version?: string | undefined;
|
|
4556
|
-
}, {
|
|
4557
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4558
|
-
segment_type: TextCustomerSegmentType;
|
|
4559
|
-
version?: string | undefined;
|
|
4560
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3485
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4561
3487
|
version: z.ZodOptional<z.ZodString>;
|
|
4562
|
-
}, {
|
|
4563
3488
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentRemoved>;
|
|
4564
|
-
segment_type: z.
|
|
4565
|
-
}
|
|
4566
|
-
|
|
4567
|
-
segment_type: TextCustomerSegmentType;
|
|
4568
|
-
version?: string | undefined;
|
|
4569
|
-
}, {
|
|
4570
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4571
|
-
segment_type: TextCustomerSegmentType;
|
|
4572
|
-
version?: string | undefined;
|
|
4573
|
-
}>]>;
|
|
4574
|
-
}, "strip", z.ZodTypeAny, {
|
|
4575
|
-
event: {
|
|
4576
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4577
|
-
version?: string | undefined;
|
|
4578
|
-
filters?: string[] | undefined;
|
|
4579
|
-
} | {
|
|
4580
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4581
|
-
version?: string | undefined;
|
|
4582
|
-
properties?: {
|
|
4583
|
-
id: string;
|
|
4584
|
-
to?: string | number | boolean | null | undefined;
|
|
4585
|
-
}[] | undefined;
|
|
4586
|
-
} | {
|
|
4587
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4588
|
-
segment_type: TextCustomerSegmentType;
|
|
4589
|
-
version?: string | undefined;
|
|
4590
|
-
} | {
|
|
4591
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4592
|
-
segment_type: TextCustomerSegmentType;
|
|
4593
|
-
version?: string | undefined;
|
|
4594
|
-
};
|
|
4595
|
-
}, {
|
|
4596
|
-
event: {
|
|
4597
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4598
|
-
version?: string | undefined;
|
|
4599
|
-
filters?: string[] | undefined;
|
|
4600
|
-
} | {
|
|
4601
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4602
|
-
version?: string | undefined;
|
|
4603
|
-
properties?: {
|
|
4604
|
-
id: string;
|
|
4605
|
-
to?: string | number | boolean | null | undefined;
|
|
4606
|
-
}[] | undefined;
|
|
4607
|
-
} | {
|
|
4608
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4609
|
-
segment_type: TextCustomerSegmentType;
|
|
4610
|
-
version?: string | undefined;
|
|
4611
|
-
} | {
|
|
4612
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4613
|
-
segment_type: TextCustomerSegmentType;
|
|
4614
|
-
version?: string | undefined;
|
|
4615
|
-
};
|
|
4616
|
-
}>>, z.ZodObject<{
|
|
3489
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3490
|
+
}, z.core.$strip>], "name">;
|
|
3491
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
4617
3492
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
4618
3493
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4619
3494
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4620
3495
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4621
|
-
},
|
|
4622
|
-
|
|
4623
|
-
headers?: Record<string, string> | undefined;
|
|
4624
|
-
query_params?: Record<string, string> | undefined;
|
|
4625
|
-
}, {
|
|
4626
|
-
data?: Record<string, string> | undefined;
|
|
4627
|
-
headers?: Record<string, string> | undefined;
|
|
4628
|
-
query_params?: Record<string, string> | undefined;
|
|
4629
|
-
}>>;
|
|
4630
|
-
}, "strip", z.ZodTypeAny, {
|
|
4631
|
-
authorization?: {
|
|
4632
|
-
data?: Record<string, string> | undefined;
|
|
4633
|
-
headers?: Record<string, string> | undefined;
|
|
4634
|
-
query_params?: Record<string, string> | undefined;
|
|
4635
|
-
} | undefined;
|
|
4636
|
-
}, {
|
|
4637
|
-
authorization?: {
|
|
4638
|
-
data?: Record<string, string> | undefined;
|
|
4639
|
-
headers?: Record<string, string> | undefined;
|
|
4640
|
-
query_params?: Record<string, string> | undefined;
|
|
4641
|
-
} | undefined;
|
|
4642
|
-
}>>;
|
|
3496
|
+
}, z.core.$strip>>;
|
|
3497
|
+
}, z.core.$strip>>;
|
|
4643
3498
|
readonly unsubscribeContent: z.ZodObject<{
|
|
4644
3499
|
provider: z.ZodLiteral<IntegrationNames.Text>;
|
|
4645
|
-
event: z.ZodDiscriminatedUnion<
|
|
3500
|
+
event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4646
3501
|
version: z.ZodOptional<z.ZodString>;
|
|
4647
|
-
}, {
|
|
4648
3502
|
name: z.ZodLiteral<TextCustomerEventNames.EmailSet>;
|
|
4649
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodString
|
|
4650
|
-
}
|
|
4651
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4652
|
-
version?: string | undefined;
|
|
4653
|
-
filters?: string[] | undefined;
|
|
4654
|
-
}, {
|
|
4655
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4656
|
-
version?: string | undefined;
|
|
4657
|
-
filters?: string[] | undefined;
|
|
4658
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3503
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3504
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4659
3505
|
version: z.ZodOptional<z.ZodString>;
|
|
4660
|
-
}, {
|
|
4661
3506
|
name: z.ZodLiteral<TextCustomerEventNames.PropertiesValuesUpdated>;
|
|
4662
3507
|
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4663
3508
|
id: z.ZodString;
|
|
4664
|
-
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4665
|
-
},
|
|
4666
|
-
|
|
4667
|
-
to?: string | number | boolean | null | undefined;
|
|
4668
|
-
}, {
|
|
4669
|
-
id: string;
|
|
4670
|
-
to?: string | number | boolean | null | undefined;
|
|
4671
|
-
}>, "many">>;
|
|
4672
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4673
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4674
|
-
version?: string | undefined;
|
|
4675
|
-
properties?: {
|
|
4676
|
-
id: string;
|
|
4677
|
-
to?: string | number | boolean | null | undefined;
|
|
4678
|
-
}[] | undefined;
|
|
4679
|
-
}, {
|
|
4680
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4681
|
-
version?: string | undefined;
|
|
4682
|
-
properties?: {
|
|
4683
|
-
id: string;
|
|
4684
|
-
to?: string | number | boolean | null | undefined;
|
|
4685
|
-
}[] | undefined;
|
|
4686
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3509
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3510
|
+
}, z.core.$strip>>>;
|
|
3511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4687
3512
|
version: z.ZodOptional<z.ZodString>;
|
|
4688
|
-
}, {
|
|
4689
3513
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentAdded>;
|
|
4690
|
-
segment_type: z.
|
|
4691
|
-
}
|
|
4692
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4693
|
-
segment_type: TextCustomerSegmentType;
|
|
4694
|
-
version?: string | undefined;
|
|
4695
|
-
}, {
|
|
4696
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4697
|
-
segment_type: TextCustomerSegmentType;
|
|
4698
|
-
version?: string | undefined;
|
|
4699
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3514
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4700
3516
|
version: z.ZodOptional<z.ZodString>;
|
|
4701
|
-
}, {
|
|
4702
3517
|
name: z.ZodLiteral<TextCustomerEventNames.SegmentRemoved>;
|
|
4703
|
-
segment_type: z.
|
|
4704
|
-
}
|
|
4705
|
-
|
|
4706
|
-
segment_type: TextCustomerSegmentType;
|
|
4707
|
-
version?: string | undefined;
|
|
4708
|
-
}, {
|
|
4709
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4710
|
-
segment_type: TextCustomerSegmentType;
|
|
4711
|
-
version?: string | undefined;
|
|
4712
|
-
}>]>;
|
|
4713
|
-
}, "strip", z.ZodTypeAny, {
|
|
4714
|
-
event: {
|
|
4715
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4716
|
-
version?: string | undefined;
|
|
4717
|
-
filters?: string[] | undefined;
|
|
4718
|
-
} | {
|
|
4719
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4720
|
-
version?: string | undefined;
|
|
4721
|
-
properties?: {
|
|
4722
|
-
id: string;
|
|
4723
|
-
to?: string | number | boolean | null | undefined;
|
|
4724
|
-
}[] | undefined;
|
|
4725
|
-
} | {
|
|
4726
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4727
|
-
segment_type: TextCustomerSegmentType;
|
|
4728
|
-
version?: string | undefined;
|
|
4729
|
-
} | {
|
|
4730
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4731
|
-
segment_type: TextCustomerSegmentType;
|
|
4732
|
-
version?: string | undefined;
|
|
4733
|
-
};
|
|
4734
|
-
provider: IntegrationNames.Text;
|
|
4735
|
-
}, {
|
|
4736
|
-
event: {
|
|
4737
|
-
name: TextCustomerEventNames.EmailSet;
|
|
4738
|
-
version?: string | undefined;
|
|
4739
|
-
filters?: string[] | undefined;
|
|
4740
|
-
} | {
|
|
4741
|
-
name: TextCustomerEventNames.PropertiesValuesUpdated;
|
|
4742
|
-
version?: string | undefined;
|
|
4743
|
-
properties?: {
|
|
4744
|
-
id: string;
|
|
4745
|
-
to?: string | number | boolean | null | undefined;
|
|
4746
|
-
}[] | undefined;
|
|
4747
|
-
} | {
|
|
4748
|
-
name: TextCustomerEventNames.SegmentAdded;
|
|
4749
|
-
segment_type: TextCustomerSegmentType;
|
|
4750
|
-
version?: string | undefined;
|
|
4751
|
-
} | {
|
|
4752
|
-
name: TextCustomerEventNames.SegmentRemoved;
|
|
4753
|
-
segment_type: TextCustomerSegmentType;
|
|
4754
|
-
version?: string | undefined;
|
|
4755
|
-
};
|
|
4756
|
-
provider: IntegrationNames.Text;
|
|
4757
|
-
}>;
|
|
3518
|
+
segment_type: z.ZodEnum<typeof TextCustomerSegmentType>;
|
|
3519
|
+
}, z.core.$strip>], "name">;
|
|
3520
|
+
}, z.core.$strip>;
|
|
4758
3521
|
};
|
|
4759
3522
|
type TextEvent = z.infer<typeof textEventsZods.event>;
|
|
4760
3523
|
type SubscribeToTextEventPayload = z.infer<typeof textEventsZods.subscribe>;
|
|
@@ -5839,6 +4602,7 @@ declare const api: {
|
|
|
5839
4602
|
};
|
|
5840
4603
|
ai: {
|
|
5841
4604
|
generateResponses(payload: GenerateResponsePayload, authorization?: TextClientAuthorization): Promise<GenerateResponseResponse>;
|
|
4605
|
+
regenerateIntent(payload: RegenerateIntentPayload, authorization?: TextClientAuthorization): Promise<RegenerateIntentResponse>;
|
|
5842
4606
|
};
|
|
5843
4607
|
billing: {
|
|
5844
4608
|
readonly meta: {
|
|
@@ -6011,4 +4775,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
6011
4775
|
|
|
6012
4776
|
declare const buildUrlFromSegments: (segments: string[], basePath: string, baseUrl?: string) => string;
|
|
6013
4777
|
|
|
6014
|
-
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, AiAgentSkillsSummaryDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateResourcePayload, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type CustomerSegmentAddedEvent, type CustomerSegmentMembershipData, type CustomerSegmentRemovedEvent, type DeepPartial, type DefaultLivechatSourceProperties, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, type IncomingRichMessagePostbackLivechatWebhookData, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookBaseEvent, type LivechatWebhookChat, type LivechatWebhookCustomEvent, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookFileEvent, type LivechatWebhookFilledFormEvent, type LivechatWebhookFilledFormField, type LivechatWebhookFormEvent, type LivechatWebhookFormField, type LivechatWebhookMessageEvent, type LivechatWebhookPostbackEcommerce, type LivechatWebhookRichMessageElement, type LivechatWebhookRichMessageEvent, type LivechatWebhookRichMessagePostback, type LivechatWebhookSystemEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type Resource, type ResourceRecord, type ResourceResourceSchema, type ResourceSchemaListResponse, type ResourceSchemaResponse, type ResourcerProvider, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, TextCustomerSegmentType, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|
|
4778
|
+
export { ACCOUNT_ID_HEADER, API_NOTIFICATIONS, AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, AiAgentSkillsSummaryDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, ApiErrorBase, ApiErrorSource, ApiPaginatedListQueryParams, ApiPaginatedResult, type ApiTokens, type ApiUrls, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeActionResult, type AuthorizeData, type AuthorizeFlowResult, BigCommerceApiError, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type BuildWorkflowResponse, type Category, type CdpCloudEvent, type CdpCustomerEvent, type CdpCustomerEventMessage, CdpCustomerEventType, type Charge, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, ConsoleApiError, type ConsoleClientAuthorization, type ConsoleClientOptions, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateChargePayload, type CreateChargeResponse, type CreateClientPayload, CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateResourcePayload, type CreateWebhookPayload, CredentialDto, type CustomerEmailSetData, type CustomerEmailSetEvent, type CustomerMetadata, type CustomerPropertiesValuesUpdatedData, type CustomerPropertiesValuesUpdatedEvent, type CustomerPropertyValue, type CustomerSegmentAddedEvent, type CustomerSegmentMembershipData, type CustomerSegmentRemovedEvent, type DeepPartial, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type ExternalAccount, FunctionDto, type GenerateResponsePayload, type GenerateResponseResponse, type GenerateWorkflowPayload, type GetIntegrationNotificationsPayload, type GetIntegrationSubscriptionsPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubDeleteWebhookData, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GitHubUnknownWebhookData, GitHubWebhookActions, type GitHubWebhookConcreteData, type GitHubWebhookData, type GitHubWebhookDataBase, type GithubClientAuthorization, type GithubClientOptions, GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, type HelpDeskWebhookDataWithId, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotClientAuthorization, type HubspotClientInstanceOptions, IntegrationEventAuthorization, type IntegrationFlowContext, type IntegrationFlowCredentialContext, type IntegrationFlowOutput, type IntegrationFlows, IntegrationModes, IntegrationNames, type IntegrationNotification, type IntegrationSubscription, type IntegrationSubscriptionStats, InternalServiceClientAuthorization, IntrospectWorkflowTaskPayload, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, LivechatWebhook, LivechatWebhookDto, MailchimpApiError, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpListWebhook, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type NeonClientAuthorization, type NeonClientOptions, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifySite, ORGANIZATION_ID_HEADER, type OrganizationDto, PROXY_AUTHORIZATION_HEADER, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegenerateIntentPayload, type RegenerateIntentRejection, RegenerateIntentRejectionError, type RegenerateIntentResponse, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type Resource, type ResourceRecord, type ResourceResourceSchema, type ResourceSchemaListResponse, type ResourceSchemaResponse, type ResourcerProvider, SERVICE_ACCOUNT_ID_HEADER, SERVICE_ORGANIZATION_ID_HEADER, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type SalesforceAuthorizeActionResult, type SalesforceAuthorizeFlowResult, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, type SlackEventPayloadData, type SlackEventReactionAddedData, type SlackEventReactionAddedPayload, SlackEventTypes, SlackMessageEventSubTypes, SubscribeToIntegrationEventPayload, type SubscribeToTextEventPayload, type SyncAppVariablePayload, TextBillingApiError, type TextBillingClientAuthorization, type TextBillingFeatureDto, type TextBillingPendingChangeDto, type TextBillingPlanDto, type TextBillingProfileDto, type TextBillingSubscriptionDto, TextClientAuthorization, TextCustomerEventNames, TextCustomerSegmentType, type TextEvent, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type TicketAssignment, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketCustomFieldsChangedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, TicketPriority, type TicketPriorityChangedHelpDeskWebhookData, TicketStatus, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, UnauthorizeTextBillingApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromTextEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWebhookResult, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, UpdateCredentialPayload, type UpdateIntegrationFlowStatusPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, UpsertWorkflowPayload, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookEventAuthorDto, type WebhookEventAuthorType, type WebhookEventBaseDto, type WebhookTicketDto, type WebhookTicketEntityDto, type WebhookTicketMessageDto, type WebhookTicketSource, WorkflowApiCrmAuthorization, WorkflowCore, WorkflowCrmOrganization, WorkflowCrmOrganizationsOrderBy, WorkflowCrmWorkflowsOrderBy, WorkflowDto, WorkflowExecution, WorkflowExecutionListItem, WorkflowIntrospection, WorkflowListItemDto, WorkflowTaskIntrospectResponse, WorkflowTemplate, WorkflowTemplateListEntry, WorkflowTemplateOrderBy, type WorkflowValidationResponse, WorkflowsApiError, type WorkflowsClientAuthorization, type WorkflowsClientOptions, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, billingClientInstance, buildUrlFromSegments, cdpCustomerEventMessageZod, consoleClientInstance, dpsClientInstance, extractTokenFromAuthorizationHeader, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientAuthorization, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getConsoleClientConfig, getConsoleClientDefaultConfig, getDpsClientConfig, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientAuthorization, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getSlackClientAuthorization, getSlackClientConfig, getVercelClientAuthorization, getVercelClientConfig, getWorkflowsClientConfig, getWorkflowsClientDefaultConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initConsoleClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextBillingClient, initVercelClient, initWorkflowsClient, integrationNotificationRequestZods, integrationNotificationZods, integrationSubscriptionRequestZods, integrationSubscriptionZods, livechatClientInstance, mailchimpClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, slackClientInstance, textBillingClientInstance, textEventsZods, updateAdapterClient, updateBigCommerceClient, updateConsoleClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, updateWorkflowsClient, vercelClientInstance, workflowsClientInstance };
|