@livechat/developer-studio-api 5.10.1 → 5.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -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, i as UnsubscribeFromIntegrationEventPayload, j as WorkflowCore, k as ApiPaginatedListQueryParams, l as WorkflowCrmOrganizationsOrderBy, m as WorkflowApiCrmAuthorization, n as ApiPaginatedResult, o as WorkflowCrmOrganization, p as WorkflowCrmWorkflowsOrderBy, q as WorkflowListItemDto, r as WorkflowExecutionListItem, s as WorkflowExecution, t as WorkflowIntrospection, u as AiAgentSkillsSummaryDto, v as UpsertWorkflowPayload, w as IntrospectWorkflowTaskPayload, x as WorkflowTaskIntrospectResponse, C as CredentialDto, y as CreateCredentialPayload, z as UpdateCredentialPayload, F as FunctionDto, B as WorkflowTemplateOrderBy, D as WorkflowTemplateListEntry, E as WorkflowTemplate } from './events-00ZFjf-6.mjs';
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 WorkflowConvertTaskInputFilter, bO as WorkflowConvertTaskInputJoin, bP as WorkflowConvertTaskInputLookup, bQ as WorkflowConvertTaskInputPickOmit, bR as WorkflowConvertTaskInputPluck, bS as WorkflowConvertTaskInputReducer, bT as WorkflowConvertTaskInputReplace, bU as WorkflowConvertTaskInputSimple, bV as WorkflowConvertTaskInputSort, bW as WorkflowConvertTaskInputSplit, bX as WorkflowConvertTaskInputSum, bY as WorkflowConvertTaskTransformer, bZ as WorkflowCustomHttpTaskCore, b_ as WorkflowCustomTaskName, b$ as WorkflowDefinitionDto, c0 as WorkflowDoWhileBaseTask, c1 as WorkflowDoWhileBaseTaskCore, c2 as WorkflowDoWhileBaseTaskInput, c3 as WorkflowDoWhileTask, c4 as WorkflowDoWhileTaskCore, c5 as WorkflowElement, c6 as WorkflowElementCore, c7 as WorkflowElementIdentity, c8 as WorkflowElementRef, c9 as WorkflowExecutionActionTaskData, ca as WorkflowExecutionAwaitTaskData, cb as WorkflowExecutionChatContext, cc as WorkflowExecutionConditionTask, cd as WorkflowExecutionConstructTask, ce as WorkflowExecutionContext, cf as WorkflowExecutionConvertTask, cg as WorkflowExecutionData, ch as WorkflowExecutionDefinitionStatus, ci as WorkflowExecutionDoWhileIterationOutput, cj as WorkflowExecutionDoWhileTaskData, ck as WorkflowExecutionForkJoinTaskData, cl as WorkflowExecutionHttpTaskData, cm as WorkflowExecutionInlineBaseTask, cn as WorkflowExecutionInlineTaskData, co as WorkflowExecutionJoinTaskData, cp as WorkflowExecutionNotifyAiAgentTaskData, cq as WorkflowExecutionReasoningTaskData, cr as WorkflowExecutionScriptTask, cs as WorkflowExecutionSimpleBaseTaskData, ct as WorkflowExecutionSimpleTaskData, cu as WorkflowExecutionStatus, cv as WorkflowExecutionSwitchBaseTask, cw as WorkflowExecutionSwitchCaseTask, cx as WorkflowExecutionSwitchTaskData, cy as WorkflowExecutionTaskBase, cz as WorkflowExecutionTaskData, cA as WorkflowExecutionTaskStatus, cB as WorkflowExecutionTerminateTaskData, cC as WorkflowExecutionTicketContext, cD as WorkflowExecutionTransformBaseTask, cE as WorkflowExecutionTransformTaskData, cF as WorkflowExecutionTriggerData, cG as WorkflowExecutionTriggerDataBase, cH as WorkflowExecutionType, cI as WorkflowExecutionWaitTaskData, cJ as WorkflowForEachTask, cK as WorkflowForEachTaskCore, cL as WorkflowForEachTaskInput, cM as WorkflowForkJoinTask, cN as WorkflowForkJoinTaskCore, cO as WorkflowForkJoinTaskInput, cP as WorkflowFunctionErrorResponseBody, cQ as WorkflowGraph, cR as WorkflowHttpRequest, cS as WorkflowHttpTask, cT as WorkflowHttpTaskCore, cU as WorkflowHttpTaskErrorResponseBody, cV as WorkflowHttpTaskFunctionErrorResponseBody, cW as WorkflowHttpTaskHeaders, cX as WorkflowHttpTaskInput, cY as WorkflowHttpTaskProviderErrorResponseBody, cZ as WorkflowInactivityReason, c_ as WorkflowInlineBaseTask, c$ as WorkflowInlineBaseTaskCore, d0 as WorkflowInlineBaseTaskInput, d1 as WorkflowInlineTask, d2 as WorkflowInlineTaskCore, d3 as WorkflowItemKind, d4 as WorkflowJoinTask, d5 as WorkflowJoinTaskCore, d6 as WorkflowJoinTaskInput, d7 as WorkflowLoopTask, d8 as WorkflowLoopTaskCore, d9 as WorkflowLoopTaskInput, da as WorkflowManualTrigger, db as WorkflowManualTriggerCore, dc as WorkflowManualTriggerParameter, dd as WorkflowManualTriggerSubType, de as WorkflowManualTriggerSubTypeName, df as WorkflowNode, dg as WorkflowNotifyAiAgentTask, dh as WorkflowNotifyAiAgentTaskCore, di as WorkflowNotifyAiAgentTaskInput, dj as WorkflowNotifyAiAgentTaskObjectiveInput, dk as WorkflowNotifyAiAgentTaskStrictInput, dl as WorkflowOneTimeTrigger, dm as WorkflowOneTimeTriggerCore, dn as WorkflowOneTimeTriggerInput, dp as WorkflowParentRef, dq as WorkflowPlan, dr as WorkflowReasoningOption, ds as WorkflowReasoningOptionAgent, dt as WorkflowReasoningOptionCustomer, du as WorkflowReasoningTask, dv as WorkflowReasoningTaskCore, dw as WorkflowReasoningTaskInput, dx as WorkflowRecurringTrigger, dy as WorkflowRecurringTriggerCore, dz as WorkflowRecurringTriggerInput, dA as WorkflowScriptTask, dB as WorkflowScriptTaskCore, dC as WorkflowScriptTaskInput, dD as WorkflowSimpleBaseTask, dE as WorkflowSimpleBaseTaskCore, dF as WorkflowSimpleTask, dG as WorkflowSimpleTaskCore, dH as WorkflowSwitchBaseTask, dI as WorkflowSwitchBaseTaskCore, dJ as WorkflowSwitchCaseTask, dK as WorkflowSwitchCaseTaskCore, dL as WorkflowSwitchCaseTaskInput, dM as WorkflowSwitchTask, dN as WorkflowSwitchTaskCore, dO as WorkflowSwitchTaskInput, dP as WorkflowTask, dQ as WorkflowTaskBase, dR as WorkflowTaskCore, dS as WorkflowTaskIdentity, dT as WorkflowTaskIntrospection, dU as WorkflowTaskOf, dV as WorkflowTaskPlan, dW as WorkflowTaskType, dX as WorkflowTemplateCategory, dY as WorkflowTemplateMetadataItem, dZ as WorkflowTerminateTask, d_ as WorkflowTerminateTaskCore, d$ as WorkflowTerminateTaskInput, e0 as WorkflowTransformBaseTask, e1 as WorkflowTransformBaseTaskCore, e2 as WorkflowTransformBaseTaskInput, e3 as WorkflowTransformTask, e4 as WorkflowTransformTaskCore, e5 as WorkflowTrigger, e6 as WorkflowTriggerBase, e7 as WorkflowTriggerCore, e8 as WorkflowTriggerDto, e9 as WorkflowTriggerIdentity, ea as WorkflowTriggerOf, eb as WorkflowTriggerPlan, ec as WorkflowTriggerType, ed as WorkflowWaitTask, ee as WorkflowWaitTaskCore, ef as WorkflowWaitTaskInput, eg as WorkflowWebhook, eh as WorkflowWebhookInput, ei as WorkflowWebhookManualTrigger, ej as WorkflowWebhookManualTriggerCore, ek as WorkflowWebhookTrigger, el as WorkflowWebhookTriggerCore, em as WorkflowWebhookTriggerPure, en as bigcommerceEventsZods, eo as getTextClientAuthorization, ep as getTextClientConfig, eq as getWorkflowApiCrmConfig, er as hubspotEventsZods, es as initTextClient, et as integrationEventBase, eu as integrationEventsCoreZods, ev as integrationEventsZods, ew as isFilter, ex as isFilterGroup, ey as isWorkflowBaseHttpTaskCore, ez as mailchimpEventsZods, eA as serializeFilters, eB as shopifyEventsZods, eC as slackEventsZods, eD as textClientInstance, eE as textCustomerEventsZods, eF as textHelpDeskEventsZods, eG as textLivechatEventsZods } from './events-00ZFjf-6.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, S as SubscribeToIntegrationEventPayload, i as UnsubscribeFromIntegrationEventPayload, j as WorkflowCore, k as ApiPaginatedListQueryParams, l as WorkflowCrmOrganizationsOrderBy, m as WorkflowApiCrmAuthorization, n as ApiPaginatedResult, o as WorkflowCrmOrganization, p as WorkflowCrmWorkflowsOrderBy, q as WorkflowListItemDto, r as WorkflowExecutionListItem, s as WorkflowExecution, t as WorkflowIntrospection, u as AiAgentSkillsSummaryDto, v as UpsertWorkflowPayload, w as IntrospectWorkflowTaskPayload, x as WorkflowTaskIntrospectResponse, C as CredentialDto, y as CreateCredentialPayload, z as UpdateCredentialPayload, F as FunctionDto, B as WorkflowTemplateOrderBy, D as WorkflowTemplateListEntry, E as WorkflowTemplate } from './events-Cbu2KbXk.mjs';
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-Cbu2KbXk.mjs';
10
10
  import { JSONSchema7 } from 'json-schema';
11
11
 
12
12
  interface GitHubUser {
@@ -207,31 +207,31 @@ declare const integrationSubscriptionZods: {
207
207
  target: z.ZodString;
208
208
  count: z.ZodNumber;
209
209
  }, "strip", z.ZodTypeAny, {
210
- target: string;
211
210
  count: number;
212
- }, {
213
211
  target: string;
212
+ }, {
214
213
  count: number;
214
+ target: string;
215
215
  }>, "many">;
216
216
  bySource: z.ZodArray<z.ZodObject<{
217
217
  source: z.ZodString;
218
218
  count: z.ZodNumber;
219
219
  }, "strip", z.ZodTypeAny, {
220
- source: string;
221
220
  count: number;
222
- }, {
223
221
  source: string;
222
+ }, {
224
223
  count: number;
224
+ source: string;
225
225
  }>, "many">;
226
226
  topOrganizations: z.ZodArray<z.ZodObject<{
227
227
  organizationId: z.ZodString;
228
228
  count: z.ZodNumber;
229
229
  }, "strip", z.ZodTypeAny, {
230
- organizationId: string;
231
230
  count: number;
232
- }, {
233
231
  organizationId: string;
232
+ }, {
234
233
  count: number;
234
+ organizationId: string;
235
235
  }>, "many">;
236
236
  topCallbackDomains: z.ZodArray<z.ZodObject<{
237
237
  domain: z.ZodString;
@@ -248,16 +248,16 @@ declare const integrationSubscriptionZods: {
248
248
  uniqueOrganizations: number;
249
249
  uniqueUsers: number;
250
250
  byTarget: {
251
- target: string;
252
251
  count: number;
252
+ target: string;
253
253
  }[];
254
254
  bySource: {
255
- source: string;
256
255
  count: number;
256
+ source: string;
257
257
  }[];
258
258
  topOrganizations: {
259
- organizationId: string;
260
259
  count: number;
260
+ organizationId: string;
261
261
  }[];
262
262
  topCallbackDomains: {
263
263
  count: number;
@@ -268,16 +268,16 @@ declare const integrationSubscriptionZods: {
268
268
  uniqueOrganizations: number;
269
269
  uniqueUsers: number;
270
270
  byTarget: {
271
- target: string;
272
271
  count: number;
272
+ target: string;
273
273
  }[];
274
274
  bySource: {
275
- source: string;
276
275
  count: number;
276
+ source: string;
277
277
  }[];
278
278
  topOrganizations: {
279
- organizationId: string;
280
279
  count: number;
280
+ organizationId: string;
281
281
  }[];
282
282
  topCallbackDomains: {
283
283
  count: number;
@@ -651,13 +651,22 @@ interface CustomerPropertiesValuesUpdatedData extends CustomerMetadata {
651
651
  customer_properties: Record<string, CustomerPropertyValue>;
652
652
  }
653
653
  type CustomerPropertiesValuesUpdatedEvent = CdpCloudEvent<CdpCustomerEventType.PropertiesValuesUpdated, CustomerPropertiesValuesUpdatedData>;
654
+ interface CustomerSegmentMembershipData extends CustomerMetadata {
655
+ segment_id: number;
656
+ segment_type: string;
657
+ membership_last_updated_at: string;
658
+ segment_fields?: {
659
+ email?: string;
660
+ customer_properties?: Record<string, string | number | boolean>;
661
+ };
662
+ }
654
663
  interface CustomerSegmentMembershipData extends CustomerMetadata {
655
664
  segment_id: number;
656
665
  segment_type: string;
657
666
  membership_last_updated_at: string;
658
667
  }
659
- type CustomerSegmentAddedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentAdded, CustomerSegmentMembershipData>;
660
668
  type CustomerSegmentRemovedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentRemoved, CustomerSegmentMembershipData>;
669
+ type CustomerSegmentAddedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentAdded, CustomerSegmentMembershipData>;
661
670
  type CdpCustomerEvent = CustomerEmailSetEvent | CustomerPropertiesValuesUpdatedEvent | CustomerSegmentAddedEvent | CustomerSegmentRemovedEvent;
662
671
  /**
663
672
  * Runtime gate for `CdpCustomerEvent` messages — parses only the fields
@@ -817,6 +826,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
817
826
  segment_id: z.ZodNumber;
818
827
  segment_type: z.ZodString;
819
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">>>;
820
839
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
821
840
  organization_id: z.ZodString;
822
841
  customer_id: z.ZodString;
@@ -825,6 +844,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
825
844
  segment_id: z.ZodNumber;
826
845
  segment_type: z.ZodString;
827
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">>>;
828
857
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
829
858
  organization_id: z.ZodString;
830
859
  customer_id: z.ZodString;
@@ -833,6 +862,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
833
862
  segment_id: z.ZodNumber;
834
863
  segment_type: z.ZodString;
835
864
  membership_last_updated_at: z.ZodString;
865
+ segment_fields: z.ZodOptional<z.ZodObject<{
866
+ email: z.ZodOptional<z.ZodString>;
867
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
868
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
869
+ email: z.ZodOptional<z.ZodString>;
870
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
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">>>;
836
875
  }>, z.ZodTypeAny, "passthrough">>;
837
876
  }, "strip", z.ZodTypeAny, {
838
877
  data: {
@@ -842,6 +881,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
842
881
  master_id: string;
843
882
  segment_id: number;
844
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;
845
888
  } & {
846
889
  [k: string]: unknown;
847
890
  };
@@ -855,6 +898,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
855
898
  master_id: string;
856
899
  segment_id: number;
857
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;
858
905
  } & {
859
906
  [k: string]: unknown;
860
907
  };
@@ -871,6 +918,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
871
918
  segment_id: z.ZodNumber;
872
919
  segment_type: z.ZodString;
873
920
  membership_last_updated_at: z.ZodString;
921
+ segment_fields: z.ZodOptional<z.ZodObject<{
922
+ email: z.ZodOptional<z.ZodString>;
923
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
924
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
925
+ email: z.ZodOptional<z.ZodString>;
926
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
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">>>;
874
931
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
875
932
  organization_id: z.ZodString;
876
933
  customer_id: z.ZodString;
@@ -879,6 +936,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
879
936
  segment_id: z.ZodNumber;
880
937
  segment_type: z.ZodString;
881
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">>>;
882
949
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
883
950
  organization_id: z.ZodString;
884
951
  customer_id: z.ZodString;
@@ -887,6 +954,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
887
954
  segment_id: z.ZodNumber;
888
955
  segment_type: z.ZodString;
889
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">>>;
890
967
  }>, z.ZodTypeAny, "passthrough">>;
891
968
  }, "strip", z.ZodTypeAny, {
892
969
  data: {
@@ -896,6 +973,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
896
973
  master_id: string;
897
974
  segment_id: number;
898
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;
899
980
  } & {
900
981
  [k: string]: unknown;
901
982
  };
@@ -909,6 +990,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
909
990
  master_id: string;
910
991
  segment_id: number;
911
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;
912
997
  } & {
913
998
  [k: string]: unknown;
914
999
  };
@@ -2862,6 +2947,10 @@ interface LivechatWebhookFilledFormField {
2862
2947
  id: string;
2863
2948
  label: string;
2864
2949
  }[];
2950
+ options?: {
2951
+ id: string | number;
2952
+ value: string;
2953
+ }[];
2865
2954
  }
2866
2955
  interface LivechatWebhookFilledFormEvent extends LivechatWebhookBaseEvent {
2867
2956
  type: LivechatWebhookEvents.FilledForm;
package/dist/index.d.ts 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, i as UnsubscribeFromIntegrationEventPayload, j as WorkflowCore, k as ApiPaginatedListQueryParams, l as WorkflowCrmOrganizationsOrderBy, m as WorkflowApiCrmAuthorization, n as ApiPaginatedResult, o as WorkflowCrmOrganization, p as WorkflowCrmWorkflowsOrderBy, q as WorkflowListItemDto, r as WorkflowExecutionListItem, s as WorkflowExecution, t as WorkflowIntrospection, u as AiAgentSkillsSummaryDto, v as UpsertWorkflowPayload, w as IntrospectWorkflowTaskPayload, x as WorkflowTaskIntrospectResponse, C as CredentialDto, y as CreateCredentialPayload, z as UpdateCredentialPayload, F as FunctionDto, B as WorkflowTemplateOrderBy, D as WorkflowTemplateListEntry, E as WorkflowTemplate } from './events-00ZFjf-6.js';
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 WorkflowConvertTaskInputFilter, bO as WorkflowConvertTaskInputJoin, bP as WorkflowConvertTaskInputLookup, bQ as WorkflowConvertTaskInputPickOmit, bR as WorkflowConvertTaskInputPluck, bS as WorkflowConvertTaskInputReducer, bT as WorkflowConvertTaskInputReplace, bU as WorkflowConvertTaskInputSimple, bV as WorkflowConvertTaskInputSort, bW as WorkflowConvertTaskInputSplit, bX as WorkflowConvertTaskInputSum, bY as WorkflowConvertTaskTransformer, bZ as WorkflowCustomHttpTaskCore, b_ as WorkflowCustomTaskName, b$ as WorkflowDefinitionDto, c0 as WorkflowDoWhileBaseTask, c1 as WorkflowDoWhileBaseTaskCore, c2 as WorkflowDoWhileBaseTaskInput, c3 as WorkflowDoWhileTask, c4 as WorkflowDoWhileTaskCore, c5 as WorkflowElement, c6 as WorkflowElementCore, c7 as WorkflowElementIdentity, c8 as WorkflowElementRef, c9 as WorkflowExecutionActionTaskData, ca as WorkflowExecutionAwaitTaskData, cb as WorkflowExecutionChatContext, cc as WorkflowExecutionConditionTask, cd as WorkflowExecutionConstructTask, ce as WorkflowExecutionContext, cf as WorkflowExecutionConvertTask, cg as WorkflowExecutionData, ch as WorkflowExecutionDefinitionStatus, ci as WorkflowExecutionDoWhileIterationOutput, cj as WorkflowExecutionDoWhileTaskData, ck as WorkflowExecutionForkJoinTaskData, cl as WorkflowExecutionHttpTaskData, cm as WorkflowExecutionInlineBaseTask, cn as WorkflowExecutionInlineTaskData, co as WorkflowExecutionJoinTaskData, cp as WorkflowExecutionNotifyAiAgentTaskData, cq as WorkflowExecutionReasoningTaskData, cr as WorkflowExecutionScriptTask, cs as WorkflowExecutionSimpleBaseTaskData, ct as WorkflowExecutionSimpleTaskData, cu as WorkflowExecutionStatus, cv as WorkflowExecutionSwitchBaseTask, cw as WorkflowExecutionSwitchCaseTask, cx as WorkflowExecutionSwitchTaskData, cy as WorkflowExecutionTaskBase, cz as WorkflowExecutionTaskData, cA as WorkflowExecutionTaskStatus, cB as WorkflowExecutionTerminateTaskData, cC as WorkflowExecutionTicketContext, cD as WorkflowExecutionTransformBaseTask, cE as WorkflowExecutionTransformTaskData, cF as WorkflowExecutionTriggerData, cG as WorkflowExecutionTriggerDataBase, cH as WorkflowExecutionType, cI as WorkflowExecutionWaitTaskData, cJ as WorkflowForEachTask, cK as WorkflowForEachTaskCore, cL as WorkflowForEachTaskInput, cM as WorkflowForkJoinTask, cN as WorkflowForkJoinTaskCore, cO as WorkflowForkJoinTaskInput, cP as WorkflowFunctionErrorResponseBody, cQ as WorkflowGraph, cR as WorkflowHttpRequest, cS as WorkflowHttpTask, cT as WorkflowHttpTaskCore, cU as WorkflowHttpTaskErrorResponseBody, cV as WorkflowHttpTaskFunctionErrorResponseBody, cW as WorkflowHttpTaskHeaders, cX as WorkflowHttpTaskInput, cY as WorkflowHttpTaskProviderErrorResponseBody, cZ as WorkflowInactivityReason, c_ as WorkflowInlineBaseTask, c$ as WorkflowInlineBaseTaskCore, d0 as WorkflowInlineBaseTaskInput, d1 as WorkflowInlineTask, d2 as WorkflowInlineTaskCore, d3 as WorkflowItemKind, d4 as WorkflowJoinTask, d5 as WorkflowJoinTaskCore, d6 as WorkflowJoinTaskInput, d7 as WorkflowLoopTask, d8 as WorkflowLoopTaskCore, d9 as WorkflowLoopTaskInput, da as WorkflowManualTrigger, db as WorkflowManualTriggerCore, dc as WorkflowManualTriggerParameter, dd as WorkflowManualTriggerSubType, de as WorkflowManualTriggerSubTypeName, df as WorkflowNode, dg as WorkflowNotifyAiAgentTask, dh as WorkflowNotifyAiAgentTaskCore, di as WorkflowNotifyAiAgentTaskInput, dj as WorkflowNotifyAiAgentTaskObjectiveInput, dk as WorkflowNotifyAiAgentTaskStrictInput, dl as WorkflowOneTimeTrigger, dm as WorkflowOneTimeTriggerCore, dn as WorkflowOneTimeTriggerInput, dp as WorkflowParentRef, dq as WorkflowPlan, dr as WorkflowReasoningOption, ds as WorkflowReasoningOptionAgent, dt as WorkflowReasoningOptionCustomer, du as WorkflowReasoningTask, dv as WorkflowReasoningTaskCore, dw as WorkflowReasoningTaskInput, dx as WorkflowRecurringTrigger, dy as WorkflowRecurringTriggerCore, dz as WorkflowRecurringTriggerInput, dA as WorkflowScriptTask, dB as WorkflowScriptTaskCore, dC as WorkflowScriptTaskInput, dD as WorkflowSimpleBaseTask, dE as WorkflowSimpleBaseTaskCore, dF as WorkflowSimpleTask, dG as WorkflowSimpleTaskCore, dH as WorkflowSwitchBaseTask, dI as WorkflowSwitchBaseTaskCore, dJ as WorkflowSwitchCaseTask, dK as WorkflowSwitchCaseTaskCore, dL as WorkflowSwitchCaseTaskInput, dM as WorkflowSwitchTask, dN as WorkflowSwitchTaskCore, dO as WorkflowSwitchTaskInput, dP as WorkflowTask, dQ as WorkflowTaskBase, dR as WorkflowTaskCore, dS as WorkflowTaskIdentity, dT as WorkflowTaskIntrospection, dU as WorkflowTaskOf, dV as WorkflowTaskPlan, dW as WorkflowTaskType, dX as WorkflowTemplateCategory, dY as WorkflowTemplateMetadataItem, dZ as WorkflowTerminateTask, d_ as WorkflowTerminateTaskCore, d$ as WorkflowTerminateTaskInput, e0 as WorkflowTransformBaseTask, e1 as WorkflowTransformBaseTaskCore, e2 as WorkflowTransformBaseTaskInput, e3 as WorkflowTransformTask, e4 as WorkflowTransformTaskCore, e5 as WorkflowTrigger, e6 as WorkflowTriggerBase, e7 as WorkflowTriggerCore, e8 as WorkflowTriggerDto, e9 as WorkflowTriggerIdentity, ea as WorkflowTriggerOf, eb as WorkflowTriggerPlan, ec as WorkflowTriggerType, ed as WorkflowWaitTask, ee as WorkflowWaitTaskCore, ef as WorkflowWaitTaskInput, eg as WorkflowWebhook, eh as WorkflowWebhookInput, ei as WorkflowWebhookManualTrigger, ej as WorkflowWebhookManualTriggerCore, ek as WorkflowWebhookTrigger, el as WorkflowWebhookTriggerCore, em as WorkflowWebhookTriggerPure, en as bigcommerceEventsZods, eo as getTextClientAuthorization, ep as getTextClientConfig, eq as getWorkflowApiCrmConfig, er as hubspotEventsZods, es as initTextClient, et as integrationEventBase, eu as integrationEventsCoreZods, ev as integrationEventsZods, ew as isFilter, ex as isFilterGroup, ey as isWorkflowBaseHttpTaskCore, ez as mailchimpEventsZods, eA as serializeFilters, eB as shopifyEventsZods, eC as slackEventsZods, eD as textClientInstance, eE as textCustomerEventsZods, eF as textHelpDeskEventsZods, eG as textLivechatEventsZods } from './events-00ZFjf-6.js';
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, i as UnsubscribeFromIntegrationEventPayload, j as WorkflowCore, k as ApiPaginatedListQueryParams, l as WorkflowCrmOrganizationsOrderBy, m as WorkflowApiCrmAuthorization, n as ApiPaginatedResult, o as WorkflowCrmOrganization, p as WorkflowCrmWorkflowsOrderBy, q as WorkflowListItemDto, r as WorkflowExecutionListItem, s as WorkflowExecution, t as WorkflowIntrospection, u as AiAgentSkillsSummaryDto, v as UpsertWorkflowPayload, w as IntrospectWorkflowTaskPayload, x as WorkflowTaskIntrospectResponse, C as CredentialDto, y as CreateCredentialPayload, z as UpdateCredentialPayload, F as FunctionDto, B as WorkflowTemplateOrderBy, D as WorkflowTemplateListEntry, E as WorkflowTemplate } from './events-Cbu2KbXk.js';
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-Cbu2KbXk.js';
10
10
  import { JSONSchema7 } from 'json-schema';
11
11
 
12
12
  interface GitHubUser {
@@ -207,31 +207,31 @@ declare const integrationSubscriptionZods: {
207
207
  target: z.ZodString;
208
208
  count: z.ZodNumber;
209
209
  }, "strip", z.ZodTypeAny, {
210
- target: string;
211
210
  count: number;
212
- }, {
213
211
  target: string;
212
+ }, {
214
213
  count: number;
214
+ target: string;
215
215
  }>, "many">;
216
216
  bySource: z.ZodArray<z.ZodObject<{
217
217
  source: z.ZodString;
218
218
  count: z.ZodNumber;
219
219
  }, "strip", z.ZodTypeAny, {
220
- source: string;
221
220
  count: number;
222
- }, {
223
221
  source: string;
222
+ }, {
224
223
  count: number;
224
+ source: string;
225
225
  }>, "many">;
226
226
  topOrganizations: z.ZodArray<z.ZodObject<{
227
227
  organizationId: z.ZodString;
228
228
  count: z.ZodNumber;
229
229
  }, "strip", z.ZodTypeAny, {
230
- organizationId: string;
231
230
  count: number;
232
- }, {
233
231
  organizationId: string;
232
+ }, {
234
233
  count: number;
234
+ organizationId: string;
235
235
  }>, "many">;
236
236
  topCallbackDomains: z.ZodArray<z.ZodObject<{
237
237
  domain: z.ZodString;
@@ -248,16 +248,16 @@ declare const integrationSubscriptionZods: {
248
248
  uniqueOrganizations: number;
249
249
  uniqueUsers: number;
250
250
  byTarget: {
251
- target: string;
252
251
  count: number;
252
+ target: string;
253
253
  }[];
254
254
  bySource: {
255
- source: string;
256
255
  count: number;
256
+ source: string;
257
257
  }[];
258
258
  topOrganizations: {
259
- organizationId: string;
260
259
  count: number;
260
+ organizationId: string;
261
261
  }[];
262
262
  topCallbackDomains: {
263
263
  count: number;
@@ -268,16 +268,16 @@ declare const integrationSubscriptionZods: {
268
268
  uniqueOrganizations: number;
269
269
  uniqueUsers: number;
270
270
  byTarget: {
271
- target: string;
272
271
  count: number;
272
+ target: string;
273
273
  }[];
274
274
  bySource: {
275
- source: string;
276
275
  count: number;
276
+ source: string;
277
277
  }[];
278
278
  topOrganizations: {
279
- organizationId: string;
280
279
  count: number;
280
+ organizationId: string;
281
281
  }[];
282
282
  topCallbackDomains: {
283
283
  count: number;
@@ -651,13 +651,22 @@ interface CustomerPropertiesValuesUpdatedData extends CustomerMetadata {
651
651
  customer_properties: Record<string, CustomerPropertyValue>;
652
652
  }
653
653
  type CustomerPropertiesValuesUpdatedEvent = CdpCloudEvent<CdpCustomerEventType.PropertiesValuesUpdated, CustomerPropertiesValuesUpdatedData>;
654
+ interface CustomerSegmentMembershipData extends CustomerMetadata {
655
+ segment_id: number;
656
+ segment_type: string;
657
+ membership_last_updated_at: string;
658
+ segment_fields?: {
659
+ email?: string;
660
+ customer_properties?: Record<string, string | number | boolean>;
661
+ };
662
+ }
654
663
  interface CustomerSegmentMembershipData extends CustomerMetadata {
655
664
  segment_id: number;
656
665
  segment_type: string;
657
666
  membership_last_updated_at: string;
658
667
  }
659
- type CustomerSegmentAddedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentAdded, CustomerSegmentMembershipData>;
660
668
  type CustomerSegmentRemovedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentRemoved, CustomerSegmentMembershipData>;
669
+ type CustomerSegmentAddedEvent = CdpCloudEvent<CdpCustomerEventType.SegmentAdded, CustomerSegmentMembershipData>;
661
670
  type CdpCustomerEvent = CustomerEmailSetEvent | CustomerPropertiesValuesUpdatedEvent | CustomerSegmentAddedEvent | CustomerSegmentRemovedEvent;
662
671
  /**
663
672
  * Runtime gate for `CdpCustomerEvent` messages — parses only the fields
@@ -817,6 +826,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
817
826
  segment_id: z.ZodNumber;
818
827
  segment_type: z.ZodString;
819
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">>>;
820
839
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
821
840
  organization_id: z.ZodString;
822
841
  customer_id: z.ZodString;
@@ -825,6 +844,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
825
844
  segment_id: z.ZodNumber;
826
845
  segment_type: z.ZodString;
827
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">>>;
828
857
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
829
858
  organization_id: z.ZodString;
830
859
  customer_id: z.ZodString;
@@ -833,6 +862,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
833
862
  segment_id: z.ZodNumber;
834
863
  segment_type: z.ZodString;
835
864
  membership_last_updated_at: z.ZodString;
865
+ segment_fields: z.ZodOptional<z.ZodObject<{
866
+ email: z.ZodOptional<z.ZodString>;
867
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
868
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
869
+ email: z.ZodOptional<z.ZodString>;
870
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
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">>>;
836
875
  }>, z.ZodTypeAny, "passthrough">>;
837
876
  }, "strip", z.ZodTypeAny, {
838
877
  data: {
@@ -842,6 +881,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
842
881
  master_id: string;
843
882
  segment_id: number;
844
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;
845
888
  } & {
846
889
  [k: string]: unknown;
847
890
  };
@@ -855,6 +898,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
855
898
  master_id: string;
856
899
  segment_id: number;
857
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;
858
905
  } & {
859
906
  [k: string]: unknown;
860
907
  };
@@ -871,6 +918,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
871
918
  segment_id: z.ZodNumber;
872
919
  segment_type: z.ZodString;
873
920
  membership_last_updated_at: z.ZodString;
921
+ segment_fields: z.ZodOptional<z.ZodObject<{
922
+ email: z.ZodOptional<z.ZodString>;
923
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
924
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
925
+ email: z.ZodOptional<z.ZodString>;
926
+ customer_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
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">>>;
874
931
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
875
932
  organization_id: z.ZodString;
876
933
  customer_id: z.ZodString;
@@ -879,6 +936,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
879
936
  segment_id: z.ZodNumber;
880
937
  segment_type: z.ZodString;
881
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">>>;
882
949
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
883
950
  organization_id: z.ZodString;
884
951
  customer_id: z.ZodString;
@@ -887,6 +954,16 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
887
954
  segment_id: z.ZodNumber;
888
955
  segment_type: z.ZodString;
889
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">>>;
890
967
  }>, z.ZodTypeAny, "passthrough">>;
891
968
  }, "strip", z.ZodTypeAny, {
892
969
  data: {
@@ -896,6 +973,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
896
973
  master_id: string;
897
974
  segment_id: number;
898
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;
899
980
  } & {
900
981
  [k: string]: unknown;
901
982
  };
@@ -909,6 +990,10 @@ declare const cdpCustomerEventMessageZod: z.ZodDiscriminatedUnion<"type", [z.Zod
909
990
  master_id: string;
910
991
  segment_id: number;
911
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;
912
997
  } & {
913
998
  [k: string]: unknown;
914
999
  };
@@ -2862,6 +2947,10 @@ interface LivechatWebhookFilledFormField {
2862
2947
  id: string;
2863
2948
  label: string;
2864
2949
  }[];
2950
+ options?: {
2951
+ id: string | number;
2952
+ value: string;
2953
+ }[];
2865
2954
  }
2866
2955
  interface LivechatWebhookFilledFormEvent extends LivechatWebhookBaseEvent {
2867
2956
  type: LivechatWebhookEvents.FilledForm;