@livechat/developer-studio-api 5.3.5-beta.generator.8 → 5.4.0-beta.generator.13

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.
@@ -241,6 +241,16 @@ var WorkflowConditionTaskFieldType = /* @__PURE__ */ ((WorkflowConditionTaskFiel
241
241
  return WorkflowConditionTaskFieldType2;
242
242
  })(WorkflowConditionTaskFieldType || {});
243
243
 
244
+ // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/agent.ts
245
+ var WorkflowAgentTriggerSubType = {
246
+ chat: "chat"
247
+ };
248
+ var WorkflowExecutionType = {
249
+ conversational: "conversational",
250
+ background: "background",
251
+ hybrid: "hybrid"
252
+ };
253
+
244
254
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/base.ts
245
255
  var WorkflowTriggerType = {
246
256
  manual: "manual_only",
@@ -253,10 +263,12 @@ var WorkflowTriggerType = {
253
263
 
254
264
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/manual.ts
255
265
  var WorkflowManualTriggerSubType = {
256
- forSelectedChat: "for_selected_chat"
266
+ forSelectedChat: "for_selected_chat",
267
+ forSelectedTicket: "for_selected_ticket"
257
268
  };
258
269
  var WorkflowManualTriggerSubTypeName = {
259
- [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual"
270
+ [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual",
271
+ [WorkflowManualTriggerSubType.forSelectedTicket]: "text-helpdesk-manual"
260
272
  };
261
273
 
262
274
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/workflowElement.ts
@@ -5607,7 +5619,7 @@ var enrichWorkflowTrigger = (workflow) => {
5607
5619
  trigger.name = "webhook_manual";
5608
5620
  }
5609
5621
  if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.manual) {
5610
- trigger.name = trigger.sub_type === WorkflowManualTriggerSubType.forSelectedChat ? WorkflowManualTriggerSubTypeName[WorkflowManualTriggerSubType.forSelectedChat] : "manual";
5622
+ trigger.name = trigger.sub_type ? WorkflowManualTriggerSubTypeName[trigger.sub_type] : "manual";
5611
5623
  }
5612
5624
  if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.agent) {
5613
5625
  trigger.name = "ai_agent";
@@ -9774,6 +9786,8 @@ export {
9774
9786
  WorkflowConditionTaskOperatorValueType,
9775
9787
  WorkflowConditionTaskOperatorGroup,
9776
9788
  WorkflowConditionTaskFieldType,
9789
+ WorkflowAgentTriggerSubType,
9790
+ WorkflowExecutionType,
9777
9791
  WorkflowTriggerType,
9778
9792
  WorkflowManualTriggerSubType,
9779
9793
  WorkflowManualTriggerSubTypeName,
@@ -331,10 +331,12 @@ type ExternalResourceConfig = ExternalResourceReference & {
331
331
 
332
332
  declare const WorkflowManualTriggerSubType: {
333
333
  readonly forSelectedChat: "for_selected_chat";
334
+ readonly forSelectedTicket: "for_selected_ticket";
334
335
  };
335
336
  type WorkflowManualTriggerSubType = (typeof WorkflowManualTriggerSubType)[keyof typeof WorkflowManualTriggerSubType];
336
337
  declare const WorkflowManualTriggerSubTypeName: {
337
338
  readonly for_selected_chat: "text-livechat-manual";
339
+ readonly for_selected_ticket: "text-helpdesk-manual";
338
340
  };
339
341
  type WorkflowManualTriggerParameter = {
340
342
  name: string;
@@ -348,7 +350,7 @@ type WorkflowManualTriggerCore = WorkflowTriggerIdentity & {
348
350
  type WorkflowManualTrigger = WorkflowTriggerBase & {
349
351
  type: typeof WorkflowTriggerType.manual;
350
352
  } & ({
351
- sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat;
353
+ sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat | typeof WorkflowManualTriggerSubType.forSelectedTicket;
352
354
  parameters?: JSONSchema7;
353
355
  } | {
354
356
  sub_type?: undefined;
@@ -451,14 +453,37 @@ type WorkflowTrigger = WorkflowManualTrigger | WorkflowAgentTrigger | WorkflowRe
451
453
  type WorkflowTriggerDto = Record<string, never> | WorkflowTrigger;
452
454
 
453
455
  type WorkflowAgentTriggerInput = JSONSchema7;
456
+ declare const WorkflowAgentTriggerSubType: {
457
+ readonly chat: "chat";
458
+ };
459
+ type WorkflowAgentTriggerSubType = (typeof WorkflowAgentTriggerSubType)[keyof typeof WorkflowAgentTriggerSubType];
460
+ declare const WorkflowExecutionType: {
461
+ readonly conversational: "conversational";
462
+ readonly background: "background";
463
+ readonly hybrid: "hybrid";
464
+ };
465
+ type WorkflowExecutionType = (typeof WorkflowExecutionType)[keyof typeof WorkflowExecutionType];
466
+ type WorkflowAgentTriggerConfiguration = {
467
+ ai_agent_id?: string;
468
+ intent_description?: string;
469
+ execution_type?: WorkflowExecutionType;
470
+ };
454
471
  type WorkflowAgentTriggerCore = WorkflowTriggerIdentity & {
455
472
  type: typeof WorkflowTriggerType.agent;
456
473
  input: WorkflowAgentTriggerInput;
457
- };
474
+ } & ({
475
+ sub_type?: undefined;
476
+ } | ({
477
+ sub_type: typeof WorkflowAgentTriggerSubType.chat;
478
+ } & WorkflowAgentTriggerConfiguration));
458
479
  type WorkflowAgentTrigger = WorkflowTriggerBase & {
459
480
  type: typeof WorkflowTriggerType.agent;
460
481
  parameters?: WorkflowAgentTriggerInput;
461
- };
482
+ } & ({
483
+ sub_type?: undefined;
484
+ } | ({
485
+ sub_type: typeof WorkflowAgentTriggerSubType.chat;
486
+ } & WorkflowAgentTriggerConfiguration));
462
487
 
463
488
  declare enum WorkflowItemKind {
464
489
  Task = "task",
@@ -13066,4 +13091,4 @@ interface IntegrationEventAuthorization {
13066
13091
  data?: Record<string, string>;
13067
13092
  }
13068
13093
 
13069
- export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowDoWhileTaskCore as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type Workflow as b5, type WorkflowActionTask as b6, type WorkflowActionTaskCore as b7, type WorkflowActionTaskErrorOutput as b8, type WorkflowActionTaskInput as b9, type WorkflowConstructTaskDefinitionInputParameters as bA, type WorkflowConstructTaskInput as bB, type WorkflowConstructTaskInputArray as bC, type WorkflowConstructTaskInputObject as bD, type WorkflowConvertTask as bE, type WorkflowConvertTaskCore as bF, type WorkflowConvertTaskDefinitionInputParameters as bG, type WorkflowConvertTaskInput as bH, type WorkflowConvertTaskInputFilter as bI, type WorkflowConvertTaskInputJoin as bJ, type WorkflowConvertTaskInputLookup as bK, type WorkflowConvertTaskInputPickOmit as bL, type WorkflowConvertTaskInputPluck as bM, type WorkflowConvertTaskInputReducer as bN, type WorkflowConvertTaskInputReplace as bO, type WorkflowConvertTaskInputSimple as bP, type WorkflowConvertTaskInputSort as bQ, type WorkflowConvertTaskInputSplit as bR, type WorkflowConvertTaskInputSum as bS, type WorkflowConvertTaskTransformer as bT, type WorkflowCustomHttpTaskCore as bU, WorkflowCustomTaskName as bV, type WorkflowDefinitionDto as bW, type WorkflowDoWhileBaseTask as bX, type WorkflowDoWhileBaseTaskCore as bY, type WorkflowDoWhileBaseTaskInput as bZ, type WorkflowDoWhileTask as b_, type WorkflowActionTaskInputParameters as ba, type WorkflowActionTaskSuccessOutput as bb, type WorkflowAgentTrigger as bc, type WorkflowAgentTriggerCore as bd, type WorkflowAgentTriggerInput as be, type WorkflowAggregate as bf, type WorkflowAwaitTask as bg, type WorkflowAwaitTaskCore as bh, type WorkflowAwaitTaskInput as bi, type WorkflowBaseHttpTaskCore as bj, type WorkflowBranch as bk, type WorkflowBundle as bl, type WorkflowConditionTask as bm, type WorkflowConditionTaskCondition as bn, type WorkflowConditionTaskCore as bo, WorkflowConditionTaskFieldType as bp, type WorkflowConditionTaskInput as bq, WorkflowConditionTaskLogic as br, WorkflowConditionTaskOperator as bs, WorkflowConditionTaskOperatorGroup as bt, WorkflowConditionTaskOperatorValueType as bu, type WorkflowConstructArrayItem as bv, type WorkflowConstructObjectField as bw, type WorkflowConstructOutputType as bx, type WorkflowConstructTask as by, type WorkflowConstructTaskCore as bz, IntegrationNames as c, type WorkflowJoinTaskInput as c$, type WorkflowElement as c0, type WorkflowElementCore as c1, type WorkflowElementIdentity as c2, type WorkflowElementRef as c3, type WorkflowExecutionActionTaskData as c4, type WorkflowExecutionAwaitTaskData as c5, type WorkflowExecutionChatContext as c6, type WorkflowExecutionConditionTask as c7, type WorkflowExecutionConstructTask as c8, type WorkflowExecutionContext as c9, type WorkflowExecutionTriggerData as cA, type WorkflowExecutionTriggerDataBase as cB, type WorkflowExecutionWaitTaskData as cC, type WorkflowForEachTask as cD, type WorkflowForEachTaskCore as cE, type WorkflowForEachTaskInput as cF, type WorkflowForkJoinTask as cG, type WorkflowForkJoinTaskCore as cH, type WorkflowForkJoinTaskInput as cI, type WorkflowFunctionErrorResponseBody as cJ, type WorkflowGraph as cK, type WorkflowHttpRequest as cL, type WorkflowHttpTask as cM, type WorkflowHttpTaskCore as cN, type WorkflowHttpTaskErrorResponseBody as cO, type WorkflowHttpTaskFunctionErrorResponseBody as cP, type WorkflowHttpTaskHeaders as cQ, type WorkflowHttpTaskInput as cR, type WorkflowHttpTaskProviderErrorResponseBody as cS, type WorkflowInlineBaseTask as cT, type WorkflowInlineBaseTaskCore as cU, type WorkflowInlineBaseTaskInput as cV, type WorkflowInlineTask as cW, type WorkflowInlineTaskCore as cX, WorkflowItemKind as cY, type WorkflowJoinTask as cZ, type WorkflowJoinTaskCore as c_, type WorkflowExecutionConvertTask as ca, type WorkflowExecutionData as cb, WorkflowExecutionDefinitionStatus as cc, type WorkflowExecutionDoWhileIterationOutput as cd, type WorkflowExecutionDoWhileTaskData as ce, type WorkflowExecutionForkJoinTaskData as cf, type WorkflowExecutionHttpTaskData as cg, type WorkflowExecutionInlineBaseTask as ch, type WorkflowExecutionInlineTaskData as ci, type WorkflowExecutionJoinTaskData as cj, type WorkflowExecutionNotifyAiAgentTaskData as ck, type WorkflowExecutionReasoningTaskData as cl, type WorkflowExecutionScriptTask as cm, type WorkflowExecutionSimpleBaseTaskData as cn, type WorkflowExecutionSimpleTaskData as co, WorkflowExecutionStatus as cp, type WorkflowExecutionSwitchBaseTask as cq, type WorkflowExecutionSwitchCaseTask as cr, type WorkflowExecutionSwitchTaskData as cs, type WorkflowExecutionTaskBase as ct, type WorkflowExecutionTaskData as cu, WorkflowExecutionTaskStatus as cv, type WorkflowExecutionTerminateTaskData as cw, type WorkflowExecutionTicketContext as cx, type WorkflowExecutionTransformBaseTask as cy, type WorkflowExecutionTransformTaskData as cz, type InternalServiceClientAuthorization as d, type WorkflowTrigger as d$, type WorkflowLoopTask as d0, type WorkflowLoopTaskCore as d1, type WorkflowLoopTaskInput as d2, type WorkflowManualTrigger as d3, type WorkflowManualTriggerCore as d4, type WorkflowManualTriggerParameter as d5, WorkflowManualTriggerSubType as d6, WorkflowManualTriggerSubTypeName as d7, type WorkflowNode as d8, type WorkflowNotifyAiAgentTask as d9, type WorkflowSimpleTask as dA, type WorkflowSimpleTaskCore as dB, type WorkflowSwitchBaseTask as dC, type WorkflowSwitchBaseTaskCore as dD, type WorkflowSwitchCaseTask as dE, type WorkflowSwitchCaseTaskCore as dF, type WorkflowSwitchCaseTaskInput as dG, type WorkflowSwitchTask as dH, type WorkflowSwitchTaskCore as dI, type WorkflowSwitchTaskInput as dJ, type WorkflowTask as dK, type WorkflowTaskBase as dL, type WorkflowTaskCore as dM, type WorkflowTaskIdentity as dN, type WorkflowTaskIntrospection as dO, type WorkflowTaskOf as dP, WorkflowTaskType as dQ, WorkflowTemplateCategory as dR, type WorkflowTemplateMetadataItem as dS, type WorkflowTerminateTask as dT, type WorkflowTerminateTaskCore as dU, type WorkflowTerminateTaskInput as dV, type WorkflowTransformBaseTask as dW, type WorkflowTransformBaseTaskCore as dX, type WorkflowTransformBaseTaskInput as dY, type WorkflowTransformTask as dZ, type WorkflowTransformTaskCore as d_, type WorkflowNotifyAiAgentTaskCore as da, type WorkflowNotifyAiAgentTaskInput as db, type WorkflowNotifyAiAgentTaskObjectiveInput as dc, type WorkflowNotifyAiAgentTaskStrictInput as dd, type WorkflowOneTimeTrigger as de, type WorkflowOneTimeTriggerCore as df, type WorkflowOneTimeTriggerInput as dg, type WorkflowParentRef as dh, type WorkflowPlan as di, type WorkflowPlanTask as dj, type WorkflowPlanTrigger as dk, type WorkflowReasoningOption as dl, type WorkflowReasoningOptionAgent as dm, type WorkflowReasoningOptionCustomer as dn, type WorkflowReasoningTask as dp, type WorkflowReasoningTaskCore as dq, type WorkflowReasoningTaskInput as dr, type WorkflowRecurringTrigger as ds, type WorkflowRecurringTriggerCore as dt, type WorkflowRecurringTriggerInput as du, type WorkflowScriptTask as dv, type WorkflowScriptTaskCore as dw, type WorkflowScriptTaskInput as dx, type WorkflowSimpleBaseTask as dy, type WorkflowSimpleBaseTaskCore as dz, type TextClientAuthorization as e, type WorkflowTriggerBase as e0, type WorkflowTriggerCore as e1, type WorkflowTriggerDto as e2, type WorkflowTriggerIdentity as e3, type WorkflowTriggerOf as e4, WorkflowTriggerType as e5, type WorkflowWaitTask as e6, type WorkflowWaitTaskCore as e7, type WorkflowWaitTaskInput as e8, type WorkflowWebhook as e9, type WorkflowWebhookInput as ea, type WorkflowWebhookManualTrigger as eb, type WorkflowWebhookManualTriggerCore as ec, type WorkflowWebhookTrigger as ed, type WorkflowWebhookTriggerCore as ee, type WorkflowWebhookTriggerPure as ef, bigcommerceEventsZods as eg, getTextClientAuthorization as eh, getTextClientConfig as ei, getWorkflowApiCrmConfig as ej, hubspotEventsZods as ek, initTextClient as el, integrationEventBase as em, integrationEventsCoreZods as en, integrationEventsZods as eo, isFilter as ep, isFilterGroup as eq, isWorkflowBaseHttpTaskCore as er, mailchimpEventsZods as es, serializeFilters as et, shopifyEventsZods as eu, slackEventsZods as ev, textClientInstance as ew, textCustomerEventsZods as ex, textHelpDeskEventsZods as ey, textLivechatEventsZods as ez, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };
13094
+ export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowDoWhileBaseTaskInput as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type Workflow as b5, type WorkflowActionTask as b6, type WorkflowActionTaskCore as b7, type WorkflowActionTaskErrorOutput as b8, type WorkflowActionTaskInput as b9, type WorkflowConstructTask as bA, type WorkflowConstructTaskCore as bB, type WorkflowConstructTaskDefinitionInputParameters as bC, type WorkflowConstructTaskInput as bD, type WorkflowConstructTaskInputArray as bE, type WorkflowConstructTaskInputObject as bF, type WorkflowConvertTask as bG, type WorkflowConvertTaskCore as bH, type WorkflowConvertTaskDefinitionInputParameters as bI, type WorkflowConvertTaskInput as bJ, type WorkflowConvertTaskInputFilter as bK, type WorkflowConvertTaskInputJoin as bL, type WorkflowConvertTaskInputLookup as bM, type WorkflowConvertTaskInputPickOmit as bN, type WorkflowConvertTaskInputPluck as bO, type WorkflowConvertTaskInputReducer as bP, type WorkflowConvertTaskInputReplace as bQ, type WorkflowConvertTaskInputSimple as bR, type WorkflowConvertTaskInputSort as bS, type WorkflowConvertTaskInputSplit as bT, type WorkflowConvertTaskInputSum as bU, type WorkflowConvertTaskTransformer as bV, type WorkflowCustomHttpTaskCore as bW, WorkflowCustomTaskName as bX, type WorkflowDefinitionDto as bY, type WorkflowDoWhileBaseTask as bZ, type WorkflowDoWhileBaseTaskCore as b_, type WorkflowActionTaskInputParameters as ba, type WorkflowActionTaskSuccessOutput as bb, type WorkflowAgentTrigger as bc, type WorkflowAgentTriggerConfiguration as bd, type WorkflowAgentTriggerCore as be, type WorkflowAgentTriggerInput as bf, WorkflowAgentTriggerSubType as bg, type WorkflowAggregate as bh, type WorkflowAwaitTask as bi, type WorkflowAwaitTaskCore as bj, type WorkflowAwaitTaskInput as bk, type WorkflowBaseHttpTaskCore as bl, type WorkflowBranch as bm, type WorkflowBundle as bn, type WorkflowConditionTask as bo, type WorkflowConditionTaskCondition as bp, type WorkflowConditionTaskCore as bq, WorkflowConditionTaskFieldType as br, type WorkflowConditionTaskInput as bs, WorkflowConditionTaskLogic as bt, WorkflowConditionTaskOperator as bu, WorkflowConditionTaskOperatorGroup as bv, WorkflowConditionTaskOperatorValueType as bw, type WorkflowConstructArrayItem as bx, type WorkflowConstructObjectField as by, type WorkflowConstructOutputType as bz, IntegrationNames as c, WorkflowItemKind as c$, type WorkflowDoWhileTask as c0, type WorkflowDoWhileTaskCore as c1, type WorkflowElement as c2, type WorkflowElementCore as c3, type WorkflowElementIdentity as c4, type WorkflowElementRef as c5, type WorkflowExecutionActionTaskData as c6, type WorkflowExecutionAwaitTaskData as c7, type WorkflowExecutionChatContext as c8, type WorkflowExecutionConditionTask as c9, type WorkflowExecutionTransformBaseTask as cA, type WorkflowExecutionTransformTaskData as cB, type WorkflowExecutionTriggerData as cC, type WorkflowExecutionTriggerDataBase as cD, WorkflowExecutionType as cE, type WorkflowExecutionWaitTaskData as cF, type WorkflowForEachTask as cG, type WorkflowForEachTaskCore as cH, type WorkflowForEachTaskInput as cI, type WorkflowForkJoinTask as cJ, type WorkflowForkJoinTaskCore as cK, type WorkflowForkJoinTaskInput as cL, type WorkflowFunctionErrorResponseBody as cM, type WorkflowGraph as cN, type WorkflowHttpRequest as cO, type WorkflowHttpTask as cP, type WorkflowHttpTaskCore as cQ, type WorkflowHttpTaskErrorResponseBody as cR, type WorkflowHttpTaskFunctionErrorResponseBody as cS, type WorkflowHttpTaskHeaders as cT, type WorkflowHttpTaskInput as cU, type WorkflowHttpTaskProviderErrorResponseBody as cV, type WorkflowInlineBaseTask as cW, type WorkflowInlineBaseTaskCore as cX, type WorkflowInlineBaseTaskInput as cY, type WorkflowInlineTask as cZ, type WorkflowInlineTaskCore as c_, type WorkflowExecutionConstructTask as ca, type WorkflowExecutionContext as cb, type WorkflowExecutionConvertTask as cc, type WorkflowExecutionData as cd, WorkflowExecutionDefinitionStatus as ce, type WorkflowExecutionDoWhileIterationOutput as cf, type WorkflowExecutionDoWhileTaskData as cg, type WorkflowExecutionForkJoinTaskData as ch, type WorkflowExecutionHttpTaskData as ci, type WorkflowExecutionInlineBaseTask as cj, type WorkflowExecutionInlineTaskData as ck, type WorkflowExecutionJoinTaskData as cl, type WorkflowExecutionNotifyAiAgentTaskData as cm, type WorkflowExecutionReasoningTaskData as cn, type WorkflowExecutionScriptTask as co, type WorkflowExecutionSimpleBaseTaskData as cp, type WorkflowExecutionSimpleTaskData as cq, WorkflowExecutionStatus as cr, type WorkflowExecutionSwitchBaseTask as cs, type WorkflowExecutionSwitchCaseTask as ct, type WorkflowExecutionSwitchTaskData as cu, type WorkflowExecutionTaskBase as cv, type WorkflowExecutionTaskData as cw, WorkflowExecutionTaskStatus as cx, type WorkflowExecutionTerminateTaskData as cy, type WorkflowExecutionTicketContext as cz, type InternalServiceClientAuthorization as d, type WorkflowTransformBaseTaskInput as d$, type WorkflowJoinTask as d0, type WorkflowJoinTaskCore as d1, type WorkflowJoinTaskInput as d2, type WorkflowLoopTask as d3, type WorkflowLoopTaskCore as d4, type WorkflowLoopTaskInput as d5, type WorkflowManualTrigger as d6, type WorkflowManualTriggerCore as d7, type WorkflowManualTriggerParameter as d8, WorkflowManualTriggerSubType as d9, type WorkflowScriptTaskInput as dA, type WorkflowSimpleBaseTask as dB, type WorkflowSimpleBaseTaskCore as dC, type WorkflowSimpleTask as dD, type WorkflowSimpleTaskCore as dE, type WorkflowSwitchBaseTask as dF, type WorkflowSwitchBaseTaskCore as dG, type WorkflowSwitchCaseTask as dH, type WorkflowSwitchCaseTaskCore as dI, type WorkflowSwitchCaseTaskInput as dJ, type WorkflowSwitchTask as dK, type WorkflowSwitchTaskCore as dL, type WorkflowSwitchTaskInput as dM, type WorkflowTask as dN, type WorkflowTaskBase as dO, type WorkflowTaskCore as dP, type WorkflowTaskIdentity as dQ, type WorkflowTaskIntrospection as dR, type WorkflowTaskOf as dS, WorkflowTaskType as dT, WorkflowTemplateCategory as dU, type WorkflowTemplateMetadataItem as dV, type WorkflowTerminateTask as dW, type WorkflowTerminateTaskCore as dX, type WorkflowTerminateTaskInput as dY, type WorkflowTransformBaseTask as dZ, type WorkflowTransformBaseTaskCore as d_, WorkflowManualTriggerSubTypeName as da, type WorkflowNode as db, type WorkflowNotifyAiAgentTask as dc, type WorkflowNotifyAiAgentTaskCore as dd, type WorkflowNotifyAiAgentTaskInput as de, type WorkflowNotifyAiAgentTaskObjectiveInput as df, type WorkflowNotifyAiAgentTaskStrictInput as dg, type WorkflowOneTimeTrigger as dh, type WorkflowOneTimeTriggerCore as di, type WorkflowOneTimeTriggerInput as dj, type WorkflowParentRef as dk, type WorkflowPlan as dl, type WorkflowPlanTask as dm, type WorkflowPlanTrigger as dn, type WorkflowReasoningOption as dp, type WorkflowReasoningOptionAgent as dq, type WorkflowReasoningOptionCustomer as dr, type WorkflowReasoningTask as ds, type WorkflowReasoningTaskCore as dt, type WorkflowReasoningTaskInput as du, type WorkflowRecurringTrigger as dv, type WorkflowRecurringTriggerCore as dw, type WorkflowRecurringTriggerInput as dx, type WorkflowScriptTask as dy, type WorkflowScriptTaskCore as dz, type TextClientAuthorization as e, type WorkflowTransformTask as e0, type WorkflowTransformTaskCore as e1, type WorkflowTrigger as e2, type WorkflowTriggerBase as e3, type WorkflowTriggerCore as e4, type WorkflowTriggerDto as e5, type WorkflowTriggerIdentity as e6, type WorkflowTriggerOf as e7, WorkflowTriggerType as e8, type WorkflowWaitTask as e9, textCustomerEventsZods as eA, textHelpDeskEventsZods as eB, textLivechatEventsZods as eC, type WorkflowWaitTaskCore as ea, type WorkflowWaitTaskInput as eb, type WorkflowWebhook as ec, type WorkflowWebhookInput as ed, type WorkflowWebhookManualTrigger as ee, type WorkflowWebhookManualTriggerCore as ef, type WorkflowWebhookTrigger as eg, type WorkflowWebhookTriggerCore as eh, type WorkflowWebhookTriggerPure as ei, bigcommerceEventsZods as ej, getTextClientAuthorization as ek, getTextClientConfig as el, getWorkflowApiCrmConfig as em, hubspotEventsZods as en, initTextClient as eo, integrationEventBase as ep, integrationEventsCoreZods as eq, integrationEventsZods as er, isFilter as es, isFilterGroup as et, isWorkflowBaseHttpTaskCore as eu, mailchimpEventsZods as ev, serializeFilters as ew, shopifyEventsZods as ex, slackEventsZods as ey, textClientInstance as ez, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };
@@ -331,10 +331,12 @@ type ExternalResourceConfig = ExternalResourceReference & {
331
331
 
332
332
  declare const WorkflowManualTriggerSubType: {
333
333
  readonly forSelectedChat: "for_selected_chat";
334
+ readonly forSelectedTicket: "for_selected_ticket";
334
335
  };
335
336
  type WorkflowManualTriggerSubType = (typeof WorkflowManualTriggerSubType)[keyof typeof WorkflowManualTriggerSubType];
336
337
  declare const WorkflowManualTriggerSubTypeName: {
337
338
  readonly for_selected_chat: "text-livechat-manual";
339
+ readonly for_selected_ticket: "text-helpdesk-manual";
338
340
  };
339
341
  type WorkflowManualTriggerParameter = {
340
342
  name: string;
@@ -348,7 +350,7 @@ type WorkflowManualTriggerCore = WorkflowTriggerIdentity & {
348
350
  type WorkflowManualTrigger = WorkflowTriggerBase & {
349
351
  type: typeof WorkflowTriggerType.manual;
350
352
  } & ({
351
- sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat;
353
+ sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat | typeof WorkflowManualTriggerSubType.forSelectedTicket;
352
354
  parameters?: JSONSchema7;
353
355
  } | {
354
356
  sub_type?: undefined;
@@ -451,14 +453,37 @@ type WorkflowTrigger = WorkflowManualTrigger | WorkflowAgentTrigger | WorkflowRe
451
453
  type WorkflowTriggerDto = Record<string, never> | WorkflowTrigger;
452
454
 
453
455
  type WorkflowAgentTriggerInput = JSONSchema7;
456
+ declare const WorkflowAgentTriggerSubType: {
457
+ readonly chat: "chat";
458
+ };
459
+ type WorkflowAgentTriggerSubType = (typeof WorkflowAgentTriggerSubType)[keyof typeof WorkflowAgentTriggerSubType];
460
+ declare const WorkflowExecutionType: {
461
+ readonly conversational: "conversational";
462
+ readonly background: "background";
463
+ readonly hybrid: "hybrid";
464
+ };
465
+ type WorkflowExecutionType = (typeof WorkflowExecutionType)[keyof typeof WorkflowExecutionType];
466
+ type WorkflowAgentTriggerConfiguration = {
467
+ ai_agent_id?: string;
468
+ intent_description?: string;
469
+ execution_type?: WorkflowExecutionType;
470
+ };
454
471
  type WorkflowAgentTriggerCore = WorkflowTriggerIdentity & {
455
472
  type: typeof WorkflowTriggerType.agent;
456
473
  input: WorkflowAgentTriggerInput;
457
- };
474
+ } & ({
475
+ sub_type?: undefined;
476
+ } | ({
477
+ sub_type: typeof WorkflowAgentTriggerSubType.chat;
478
+ } & WorkflowAgentTriggerConfiguration));
458
479
  type WorkflowAgentTrigger = WorkflowTriggerBase & {
459
480
  type: typeof WorkflowTriggerType.agent;
460
481
  parameters?: WorkflowAgentTriggerInput;
461
- };
482
+ } & ({
483
+ sub_type?: undefined;
484
+ } | ({
485
+ sub_type: typeof WorkflowAgentTriggerSubType.chat;
486
+ } & WorkflowAgentTriggerConfiguration));
462
487
 
463
488
  declare enum WorkflowItemKind {
464
489
  Task = "task",
@@ -13066,4 +13091,4 @@ interface IntegrationEventAuthorization {
13066
13091
  data?: Record<string, string>;
13067
13092
  }
13068
13093
 
13069
- export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowDoWhileTaskCore as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type Workflow as b5, type WorkflowActionTask as b6, type WorkflowActionTaskCore as b7, type WorkflowActionTaskErrorOutput as b8, type WorkflowActionTaskInput as b9, type WorkflowConstructTaskDefinitionInputParameters as bA, type WorkflowConstructTaskInput as bB, type WorkflowConstructTaskInputArray as bC, type WorkflowConstructTaskInputObject as bD, type WorkflowConvertTask as bE, type WorkflowConvertTaskCore as bF, type WorkflowConvertTaskDefinitionInputParameters as bG, type WorkflowConvertTaskInput as bH, type WorkflowConvertTaskInputFilter as bI, type WorkflowConvertTaskInputJoin as bJ, type WorkflowConvertTaskInputLookup as bK, type WorkflowConvertTaskInputPickOmit as bL, type WorkflowConvertTaskInputPluck as bM, type WorkflowConvertTaskInputReducer as bN, type WorkflowConvertTaskInputReplace as bO, type WorkflowConvertTaskInputSimple as bP, type WorkflowConvertTaskInputSort as bQ, type WorkflowConvertTaskInputSplit as bR, type WorkflowConvertTaskInputSum as bS, type WorkflowConvertTaskTransformer as bT, type WorkflowCustomHttpTaskCore as bU, WorkflowCustomTaskName as bV, type WorkflowDefinitionDto as bW, type WorkflowDoWhileBaseTask as bX, type WorkflowDoWhileBaseTaskCore as bY, type WorkflowDoWhileBaseTaskInput as bZ, type WorkflowDoWhileTask as b_, type WorkflowActionTaskInputParameters as ba, type WorkflowActionTaskSuccessOutput as bb, type WorkflowAgentTrigger as bc, type WorkflowAgentTriggerCore as bd, type WorkflowAgentTriggerInput as be, type WorkflowAggregate as bf, type WorkflowAwaitTask as bg, type WorkflowAwaitTaskCore as bh, type WorkflowAwaitTaskInput as bi, type WorkflowBaseHttpTaskCore as bj, type WorkflowBranch as bk, type WorkflowBundle as bl, type WorkflowConditionTask as bm, type WorkflowConditionTaskCondition as bn, type WorkflowConditionTaskCore as bo, WorkflowConditionTaskFieldType as bp, type WorkflowConditionTaskInput as bq, WorkflowConditionTaskLogic as br, WorkflowConditionTaskOperator as bs, WorkflowConditionTaskOperatorGroup as bt, WorkflowConditionTaskOperatorValueType as bu, type WorkflowConstructArrayItem as bv, type WorkflowConstructObjectField as bw, type WorkflowConstructOutputType as bx, type WorkflowConstructTask as by, type WorkflowConstructTaskCore as bz, IntegrationNames as c, type WorkflowJoinTaskInput as c$, type WorkflowElement as c0, type WorkflowElementCore as c1, type WorkflowElementIdentity as c2, type WorkflowElementRef as c3, type WorkflowExecutionActionTaskData as c4, type WorkflowExecutionAwaitTaskData as c5, type WorkflowExecutionChatContext as c6, type WorkflowExecutionConditionTask as c7, type WorkflowExecutionConstructTask as c8, type WorkflowExecutionContext as c9, type WorkflowExecutionTriggerData as cA, type WorkflowExecutionTriggerDataBase as cB, type WorkflowExecutionWaitTaskData as cC, type WorkflowForEachTask as cD, type WorkflowForEachTaskCore as cE, type WorkflowForEachTaskInput as cF, type WorkflowForkJoinTask as cG, type WorkflowForkJoinTaskCore as cH, type WorkflowForkJoinTaskInput as cI, type WorkflowFunctionErrorResponseBody as cJ, type WorkflowGraph as cK, type WorkflowHttpRequest as cL, type WorkflowHttpTask as cM, type WorkflowHttpTaskCore as cN, type WorkflowHttpTaskErrorResponseBody as cO, type WorkflowHttpTaskFunctionErrorResponseBody as cP, type WorkflowHttpTaskHeaders as cQ, type WorkflowHttpTaskInput as cR, type WorkflowHttpTaskProviderErrorResponseBody as cS, type WorkflowInlineBaseTask as cT, type WorkflowInlineBaseTaskCore as cU, type WorkflowInlineBaseTaskInput as cV, type WorkflowInlineTask as cW, type WorkflowInlineTaskCore as cX, WorkflowItemKind as cY, type WorkflowJoinTask as cZ, type WorkflowJoinTaskCore as c_, type WorkflowExecutionConvertTask as ca, type WorkflowExecutionData as cb, WorkflowExecutionDefinitionStatus as cc, type WorkflowExecutionDoWhileIterationOutput as cd, type WorkflowExecutionDoWhileTaskData as ce, type WorkflowExecutionForkJoinTaskData as cf, type WorkflowExecutionHttpTaskData as cg, type WorkflowExecutionInlineBaseTask as ch, type WorkflowExecutionInlineTaskData as ci, type WorkflowExecutionJoinTaskData as cj, type WorkflowExecutionNotifyAiAgentTaskData as ck, type WorkflowExecutionReasoningTaskData as cl, type WorkflowExecutionScriptTask as cm, type WorkflowExecutionSimpleBaseTaskData as cn, type WorkflowExecutionSimpleTaskData as co, WorkflowExecutionStatus as cp, type WorkflowExecutionSwitchBaseTask as cq, type WorkflowExecutionSwitchCaseTask as cr, type WorkflowExecutionSwitchTaskData as cs, type WorkflowExecutionTaskBase as ct, type WorkflowExecutionTaskData as cu, WorkflowExecutionTaskStatus as cv, type WorkflowExecutionTerminateTaskData as cw, type WorkflowExecutionTicketContext as cx, type WorkflowExecutionTransformBaseTask as cy, type WorkflowExecutionTransformTaskData as cz, type InternalServiceClientAuthorization as d, type WorkflowTrigger as d$, type WorkflowLoopTask as d0, type WorkflowLoopTaskCore as d1, type WorkflowLoopTaskInput as d2, type WorkflowManualTrigger as d3, type WorkflowManualTriggerCore as d4, type WorkflowManualTriggerParameter as d5, WorkflowManualTriggerSubType as d6, WorkflowManualTriggerSubTypeName as d7, type WorkflowNode as d8, type WorkflowNotifyAiAgentTask as d9, type WorkflowSimpleTask as dA, type WorkflowSimpleTaskCore as dB, type WorkflowSwitchBaseTask as dC, type WorkflowSwitchBaseTaskCore as dD, type WorkflowSwitchCaseTask as dE, type WorkflowSwitchCaseTaskCore as dF, type WorkflowSwitchCaseTaskInput as dG, type WorkflowSwitchTask as dH, type WorkflowSwitchTaskCore as dI, type WorkflowSwitchTaskInput as dJ, type WorkflowTask as dK, type WorkflowTaskBase as dL, type WorkflowTaskCore as dM, type WorkflowTaskIdentity as dN, type WorkflowTaskIntrospection as dO, type WorkflowTaskOf as dP, WorkflowTaskType as dQ, WorkflowTemplateCategory as dR, type WorkflowTemplateMetadataItem as dS, type WorkflowTerminateTask as dT, type WorkflowTerminateTaskCore as dU, type WorkflowTerminateTaskInput as dV, type WorkflowTransformBaseTask as dW, type WorkflowTransformBaseTaskCore as dX, type WorkflowTransformBaseTaskInput as dY, type WorkflowTransformTask as dZ, type WorkflowTransformTaskCore as d_, type WorkflowNotifyAiAgentTaskCore as da, type WorkflowNotifyAiAgentTaskInput as db, type WorkflowNotifyAiAgentTaskObjectiveInput as dc, type WorkflowNotifyAiAgentTaskStrictInput as dd, type WorkflowOneTimeTrigger as de, type WorkflowOneTimeTriggerCore as df, type WorkflowOneTimeTriggerInput as dg, type WorkflowParentRef as dh, type WorkflowPlan as di, type WorkflowPlanTask as dj, type WorkflowPlanTrigger as dk, type WorkflowReasoningOption as dl, type WorkflowReasoningOptionAgent as dm, type WorkflowReasoningOptionCustomer as dn, type WorkflowReasoningTask as dp, type WorkflowReasoningTaskCore as dq, type WorkflowReasoningTaskInput as dr, type WorkflowRecurringTrigger as ds, type WorkflowRecurringTriggerCore as dt, type WorkflowRecurringTriggerInput as du, type WorkflowScriptTask as dv, type WorkflowScriptTaskCore as dw, type WorkflowScriptTaskInput as dx, type WorkflowSimpleBaseTask as dy, type WorkflowSimpleBaseTaskCore as dz, type TextClientAuthorization as e, type WorkflowTriggerBase as e0, type WorkflowTriggerCore as e1, type WorkflowTriggerDto as e2, type WorkflowTriggerIdentity as e3, type WorkflowTriggerOf as e4, WorkflowTriggerType as e5, type WorkflowWaitTask as e6, type WorkflowWaitTaskCore as e7, type WorkflowWaitTaskInput as e8, type WorkflowWebhook as e9, type WorkflowWebhookInput as ea, type WorkflowWebhookManualTrigger as eb, type WorkflowWebhookManualTriggerCore as ec, type WorkflowWebhookTrigger as ed, type WorkflowWebhookTriggerCore as ee, type WorkflowWebhookTriggerPure as ef, bigcommerceEventsZods as eg, getTextClientAuthorization as eh, getTextClientConfig as ei, getWorkflowApiCrmConfig as ej, hubspotEventsZods as ek, initTextClient as el, integrationEventBase as em, integrationEventsCoreZods as en, integrationEventsZods as eo, isFilter as ep, isFilterGroup as eq, isWorkflowBaseHttpTaskCore as er, mailchimpEventsZods as es, serializeFilters as et, shopifyEventsZods as eu, slackEventsZods as ev, textClientInstance as ew, textCustomerEventsZods as ex, textHelpDeskEventsZods as ey, textLivechatEventsZods as ez, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };
13094
+ export { type Filter as $, ApiErrorBase as A, type ApiError as B, type CredentialDto as C, type ApiErrorKind as D, type ExternalResourceReference as E, type FunctionDto as F, type GlobalAccountsClientAuthorization as G, type ApiErrorName as H, type IntegrationEventAuthorization as I, type ApiPagination as J, type AwaitTaskCallback as K, type BigCommerceEvent as L, BigCommerceEventNames as M, type BigCommerceOauthCredential as N, type Credential as O, type CredentialCore as P, type CredentialInjection as Q, CredentialStatus as R, type SubscribeToIntegrationEventPayload as S, TicketPriority as T, UnauthorizeApiError as U, CredentialType as V, type WorkflowDto as W, CredentialTypeDisplayNameMapping as X, CustomerLeftChatReason as Y, type ExternalResourceConfig as Z, type ExternalResourceDependency as _, type ApiErrorSource as a, type UnsubscribeFromShopifyEventPayload as a$, type FilterGroup as a0, type FilterOperator as a1, type FilterValue as a2, type Filters as a3, type FunctionSchema as a4, type GitHubAppCredential as a5, type GitHubOauthCredential as a6, type HubSpotOauthCredential as a7, type HubspotEvent as a8, HubspotEventNames as a9, type SlackOauthCredential as aA, SortBy as aB, SortOrder as aC, type Sorting as aD, type SubscribeToBigCommerceEventPayload as aE, type SubscribeToHubspotEventPayload as aF, type SubscribeToMailchimpEventPayload as aG, type SubscribeToShopifyEventPayload as aH, type SubscribeToSlackEventPayload as aI, type SubscribeToTextCustomerEventPayload as aJ, type SubscribeToTextHelpDeskEventPayload as aK, type SubscribeToTextLivechatEventPayload as aL, TRIGGER_REFERENCE_NAME as aM, TextApiError as aN, type TextAuthCredential as aO, type TextClientOptions as aP, type TextCustomerEvent as aQ, type TextHelpDeskEvent as aR, type TextHelpDeskEventBaseFilters as aS, TextHelpDeskEventNames as aT, type TextLiveChatEvent as aU, TextLivechatEventNames as aV, TextLivechatProductCardEventType as aW, type TextOAuthCredential as aX, type UnsubscribeFromBigCommerceEventPayload as aY, type UnsubscribeFromHubspotEventPayload as aZ, type UnsubscribeFromMailchimpEventPayload as a_, type Identity as aa, type IdentityField as ab, type IdentitySpec as ac, IntegrationDisplayNameToNameMap as ad, IntegrationDisplayNames as ae, type IntegrationEvent as af, type IntegrationEventProviderName as ag, type IntegrationEventSource as ah, type IntegrationEventSourceName as ai, type IntegrationKey as aj, IntegrationNameToDisplayMap as ak, type MailchimpEvent as al, MailchimpEventNames as am, type MailchimpOauthCredential as an, type NeonOauthCredential as ao, type NetlifyOauthCredential as ap, type OAuthCredential as aq, OauthCredentialGrantType as ar, type OpenaiCredential as as, type PlanetScaleOauthCredential as at, type SalesforceOauthCredential as au, type ShopifyEvent as av, ShopifyEventNames as aw, type ShopifyOauthCredential as ax, type SlackEvent as ay, SlackEventNames as az, TicketStatus as b, type WorkflowDoWhileBaseTaskInput as b$, type UnsubscribeFromSlackEventPayload as b0, type UnsubscribeFromTextCustomerEventPayload as b1, type UnsubscribeFromTextHelpDeskEventPayload as b2, type UnsubscribeFromTextLivechatEventPayload as b3, type VercelOauthCredential as b4, type Workflow as b5, type WorkflowActionTask as b6, type WorkflowActionTaskCore as b7, type WorkflowActionTaskErrorOutput as b8, type WorkflowActionTaskInput as b9, type WorkflowConstructTask as bA, type WorkflowConstructTaskCore as bB, type WorkflowConstructTaskDefinitionInputParameters as bC, type WorkflowConstructTaskInput as bD, type WorkflowConstructTaskInputArray as bE, type WorkflowConstructTaskInputObject as bF, type WorkflowConvertTask as bG, type WorkflowConvertTaskCore as bH, type WorkflowConvertTaskDefinitionInputParameters as bI, type WorkflowConvertTaskInput as bJ, type WorkflowConvertTaskInputFilter as bK, type WorkflowConvertTaskInputJoin as bL, type WorkflowConvertTaskInputLookup as bM, type WorkflowConvertTaskInputPickOmit as bN, type WorkflowConvertTaskInputPluck as bO, type WorkflowConvertTaskInputReducer as bP, type WorkflowConvertTaskInputReplace as bQ, type WorkflowConvertTaskInputSimple as bR, type WorkflowConvertTaskInputSort as bS, type WorkflowConvertTaskInputSplit as bT, type WorkflowConvertTaskInputSum as bU, type WorkflowConvertTaskTransformer as bV, type WorkflowCustomHttpTaskCore as bW, WorkflowCustomTaskName as bX, type WorkflowDefinitionDto as bY, type WorkflowDoWhileBaseTask as bZ, type WorkflowDoWhileBaseTaskCore as b_, type WorkflowActionTaskInputParameters as ba, type WorkflowActionTaskSuccessOutput as bb, type WorkflowAgentTrigger as bc, type WorkflowAgentTriggerConfiguration as bd, type WorkflowAgentTriggerCore as be, type WorkflowAgentTriggerInput as bf, WorkflowAgentTriggerSubType as bg, type WorkflowAggregate as bh, type WorkflowAwaitTask as bi, type WorkflowAwaitTaskCore as bj, type WorkflowAwaitTaskInput as bk, type WorkflowBaseHttpTaskCore as bl, type WorkflowBranch as bm, type WorkflowBundle as bn, type WorkflowConditionTask as bo, type WorkflowConditionTaskCondition as bp, type WorkflowConditionTaskCore as bq, WorkflowConditionTaskFieldType as br, type WorkflowConditionTaskInput as bs, WorkflowConditionTaskLogic as bt, WorkflowConditionTaskOperator as bu, WorkflowConditionTaskOperatorGroup as bv, WorkflowConditionTaskOperatorValueType as bw, type WorkflowConstructArrayItem as bx, type WorkflowConstructObjectField as by, type WorkflowConstructOutputType as bz, IntegrationNames as c, WorkflowItemKind as c$, type WorkflowDoWhileTask as c0, type WorkflowDoWhileTaskCore as c1, type WorkflowElement as c2, type WorkflowElementCore as c3, type WorkflowElementIdentity as c4, type WorkflowElementRef as c5, type WorkflowExecutionActionTaskData as c6, type WorkflowExecutionAwaitTaskData as c7, type WorkflowExecutionChatContext as c8, type WorkflowExecutionConditionTask as c9, type WorkflowExecutionTransformBaseTask as cA, type WorkflowExecutionTransformTaskData as cB, type WorkflowExecutionTriggerData as cC, type WorkflowExecutionTriggerDataBase as cD, WorkflowExecutionType as cE, type WorkflowExecutionWaitTaskData as cF, type WorkflowForEachTask as cG, type WorkflowForEachTaskCore as cH, type WorkflowForEachTaskInput as cI, type WorkflowForkJoinTask as cJ, type WorkflowForkJoinTaskCore as cK, type WorkflowForkJoinTaskInput as cL, type WorkflowFunctionErrorResponseBody as cM, type WorkflowGraph as cN, type WorkflowHttpRequest as cO, type WorkflowHttpTask as cP, type WorkflowHttpTaskCore as cQ, type WorkflowHttpTaskErrorResponseBody as cR, type WorkflowHttpTaskFunctionErrorResponseBody as cS, type WorkflowHttpTaskHeaders as cT, type WorkflowHttpTaskInput as cU, type WorkflowHttpTaskProviderErrorResponseBody as cV, type WorkflowInlineBaseTask as cW, type WorkflowInlineBaseTaskCore as cX, type WorkflowInlineBaseTaskInput as cY, type WorkflowInlineTask as cZ, type WorkflowInlineTaskCore as c_, type WorkflowExecutionConstructTask as ca, type WorkflowExecutionContext as cb, type WorkflowExecutionConvertTask as cc, type WorkflowExecutionData as cd, WorkflowExecutionDefinitionStatus as ce, type WorkflowExecutionDoWhileIterationOutput as cf, type WorkflowExecutionDoWhileTaskData as cg, type WorkflowExecutionForkJoinTaskData as ch, type WorkflowExecutionHttpTaskData as ci, type WorkflowExecutionInlineBaseTask as cj, type WorkflowExecutionInlineTaskData as ck, type WorkflowExecutionJoinTaskData as cl, type WorkflowExecutionNotifyAiAgentTaskData as cm, type WorkflowExecutionReasoningTaskData as cn, type WorkflowExecutionScriptTask as co, type WorkflowExecutionSimpleBaseTaskData as cp, type WorkflowExecutionSimpleTaskData as cq, WorkflowExecutionStatus as cr, type WorkflowExecutionSwitchBaseTask as cs, type WorkflowExecutionSwitchCaseTask as ct, type WorkflowExecutionSwitchTaskData as cu, type WorkflowExecutionTaskBase as cv, type WorkflowExecutionTaskData as cw, WorkflowExecutionTaskStatus as cx, type WorkflowExecutionTerminateTaskData as cy, type WorkflowExecutionTicketContext as cz, type InternalServiceClientAuthorization as d, type WorkflowTransformBaseTaskInput as d$, type WorkflowJoinTask as d0, type WorkflowJoinTaskCore as d1, type WorkflowJoinTaskInput as d2, type WorkflowLoopTask as d3, type WorkflowLoopTaskCore as d4, type WorkflowLoopTaskInput as d5, type WorkflowManualTrigger as d6, type WorkflowManualTriggerCore as d7, type WorkflowManualTriggerParameter as d8, WorkflowManualTriggerSubType as d9, type WorkflowScriptTaskInput as dA, type WorkflowSimpleBaseTask as dB, type WorkflowSimpleBaseTaskCore as dC, type WorkflowSimpleTask as dD, type WorkflowSimpleTaskCore as dE, type WorkflowSwitchBaseTask as dF, type WorkflowSwitchBaseTaskCore as dG, type WorkflowSwitchCaseTask as dH, type WorkflowSwitchCaseTaskCore as dI, type WorkflowSwitchCaseTaskInput as dJ, type WorkflowSwitchTask as dK, type WorkflowSwitchTaskCore as dL, type WorkflowSwitchTaskInput as dM, type WorkflowTask as dN, type WorkflowTaskBase as dO, type WorkflowTaskCore as dP, type WorkflowTaskIdentity as dQ, type WorkflowTaskIntrospection as dR, type WorkflowTaskOf as dS, WorkflowTaskType as dT, WorkflowTemplateCategory as dU, type WorkflowTemplateMetadataItem as dV, type WorkflowTerminateTask as dW, type WorkflowTerminateTaskCore as dX, type WorkflowTerminateTaskInput as dY, type WorkflowTransformBaseTask as dZ, type WorkflowTransformBaseTaskCore as d_, WorkflowManualTriggerSubTypeName as da, type WorkflowNode as db, type WorkflowNotifyAiAgentTask as dc, type WorkflowNotifyAiAgentTaskCore as dd, type WorkflowNotifyAiAgentTaskInput as de, type WorkflowNotifyAiAgentTaskObjectiveInput as df, type WorkflowNotifyAiAgentTaskStrictInput as dg, type WorkflowOneTimeTrigger as dh, type WorkflowOneTimeTriggerCore as di, type WorkflowOneTimeTriggerInput as dj, type WorkflowParentRef as dk, type WorkflowPlan as dl, type WorkflowPlanTask as dm, type WorkflowPlanTrigger as dn, type WorkflowReasoningOption as dp, type WorkflowReasoningOptionAgent as dq, type WorkflowReasoningOptionCustomer as dr, type WorkflowReasoningTask as ds, type WorkflowReasoningTaskCore as dt, type WorkflowReasoningTaskInput as du, type WorkflowRecurringTrigger as dv, type WorkflowRecurringTriggerCore as dw, type WorkflowRecurringTriggerInput as dx, type WorkflowScriptTask as dy, type WorkflowScriptTaskCore as dz, type TextClientAuthorization as e, type WorkflowTransformTask as e0, type WorkflowTransformTaskCore as e1, type WorkflowTrigger as e2, type WorkflowTriggerBase as e3, type WorkflowTriggerCore as e4, type WorkflowTriggerDto as e5, type WorkflowTriggerIdentity as e6, type WorkflowTriggerOf as e7, WorkflowTriggerType as e8, type WorkflowWaitTask as e9, textCustomerEventsZods as eA, textHelpDeskEventsZods as eB, textLivechatEventsZods as eC, type WorkflowWaitTaskCore as ea, type WorkflowWaitTaskInput as eb, type WorkflowWebhook as ec, type WorkflowWebhookInput as ed, type WorkflowWebhookManualTrigger as ee, type WorkflowWebhookManualTriggerCore as ef, type WorkflowWebhookTrigger as eg, type WorkflowWebhookTriggerCore as eh, type WorkflowWebhookTriggerPure as ei, bigcommerceEventsZods as ej, getTextClientAuthorization as ek, getTextClientConfig as el, getWorkflowApiCrmConfig as em, hubspotEventsZods as en, initTextClient as eo, integrationEventBase as ep, integrationEventsCoreZods as eq, integrationEventsZods as er, isFilter as es, isFilterGroup as et, isWorkflowBaseHttpTaskCore as eu, mailchimpEventsZods as ev, serializeFilters as ew, shopifyEventsZods as ex, slackEventsZods as ey, textClientInstance as ez, TextCustomerEventNames as f, type AccountDto as g, type UnsubscribeFromIntegrationEventPayload as h, type WorkflowCore as i, type ApiPaginatedListQueryParams as j, type WorkflowCrmOrganizationsOrderBy as k, type WorkflowApiCrmAuthorization as l, type ApiPaginatedResult as m, type WorkflowCrmOrganization as n, type WorkflowCrmWorkflowsOrderBy as o, type WorkflowExecutionListItem as p, type WorkflowExecution as q, type WorkflowIntrospection as r, type UpsertWorkflowPayload as s, type IntrospectWorkflowTaskPayload as t, type WorkflowTaskIntrospectResponse as u, type CreateCredentialPayload as v, type UpdateCredentialPayload as w, type WorkflowTemplateOrderBy as x, type WorkflowTemplateListEntry as y, type WorkflowTemplate as z };
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, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-Bp2V0TTp.mjs';
9
- export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBaseHttpTaskCore, bk as WorkflowBranch, bl as WorkflowBundle, bm as WorkflowConditionTask, bn as WorkflowConditionTaskCondition, bo as WorkflowConditionTaskCore, bp as WorkflowConditionTaskFieldType, bq as WorkflowConditionTaskInput, br as WorkflowConditionTaskLogic, bs as WorkflowConditionTaskOperator, bt as WorkflowConditionTaskOperatorGroup, bu as WorkflowConditionTaskOperatorValueType, bv as WorkflowConstructArrayItem, bw as WorkflowConstructObjectField, bx as WorkflowConstructOutputType, by as WorkflowConstructTask, bz as WorkflowConstructTaskCore, bA as WorkflowConstructTaskDefinitionInputParameters, bB as WorkflowConstructTaskInput, bC as WorkflowConstructTaskInputArray, bD as WorkflowConstructTaskInputObject, bE as WorkflowConvertTask, bF as WorkflowConvertTaskCore, bG as WorkflowConvertTaskDefinitionInputParameters, bH as WorkflowConvertTaskInput, bI as WorkflowConvertTaskInputFilter, bJ as WorkflowConvertTaskInputJoin, bK as WorkflowConvertTaskInputLookup, bL as WorkflowConvertTaskInputPickOmit, bM as WorkflowConvertTaskInputPluck, bN as WorkflowConvertTaskInputReducer, bO as WorkflowConvertTaskInputReplace, bP as WorkflowConvertTaskInputSimple, bQ as WorkflowConvertTaskInputSort, bR as WorkflowConvertTaskInputSplit, bS as WorkflowConvertTaskInputSum, bT as WorkflowConvertTaskTransformer, bU as WorkflowCustomHttpTaskCore, bV as WorkflowCustomTaskName, bW as WorkflowDefinitionDto, bX as WorkflowDoWhileBaseTask, bY as WorkflowDoWhileBaseTaskCore, bZ as WorkflowDoWhileBaseTaskInput, b_ as WorkflowDoWhileTask, b$ as WorkflowDoWhileTaskCore, c0 as WorkflowElement, c1 as WorkflowElementCore, c2 as WorkflowElementIdentity, c3 as WorkflowElementRef, c4 as WorkflowExecutionActionTaskData, c5 as WorkflowExecutionAwaitTaskData, c6 as WorkflowExecutionChatContext, c7 as WorkflowExecutionConditionTask, c8 as WorkflowExecutionConstructTask, c9 as WorkflowExecutionContext, ca as WorkflowExecutionConvertTask, cb as WorkflowExecutionData, cc as WorkflowExecutionDefinitionStatus, cd as WorkflowExecutionDoWhileIterationOutput, ce as WorkflowExecutionDoWhileTaskData, cf as WorkflowExecutionForkJoinTaskData, cg as WorkflowExecutionHttpTaskData, ch as WorkflowExecutionInlineBaseTask, ci as WorkflowExecutionInlineTaskData, cj as WorkflowExecutionJoinTaskData, ck as WorkflowExecutionNotifyAiAgentTaskData, cl as WorkflowExecutionReasoningTaskData, cm as WorkflowExecutionScriptTask, cn as WorkflowExecutionSimpleBaseTaskData, co as WorkflowExecutionSimpleTaskData, cp as WorkflowExecutionStatus, cq as WorkflowExecutionSwitchBaseTask, cr as WorkflowExecutionSwitchCaseTask, cs as WorkflowExecutionSwitchTaskData, ct as WorkflowExecutionTaskBase, cu as WorkflowExecutionTaskData, cv as WorkflowExecutionTaskStatus, cw as WorkflowExecutionTerminateTaskData, cx as WorkflowExecutionTicketContext, cy as WorkflowExecutionTransformBaseTask, cz as WorkflowExecutionTransformTaskData, cA as WorkflowExecutionTriggerData, cB as WorkflowExecutionTriggerDataBase, cC as WorkflowExecutionWaitTaskData, cD as WorkflowForEachTask, cE as WorkflowForEachTaskCore, cF as WorkflowForEachTaskInput, cG as WorkflowForkJoinTask, cH as WorkflowForkJoinTaskCore, cI as WorkflowForkJoinTaskInput, cJ as WorkflowFunctionErrorResponseBody, cK as WorkflowGraph, cL as WorkflowHttpRequest, cM as WorkflowHttpTask, cN as WorkflowHttpTaskCore, cO as WorkflowHttpTaskErrorResponseBody, cP as WorkflowHttpTaskFunctionErrorResponseBody, cQ as WorkflowHttpTaskHeaders, cR as WorkflowHttpTaskInput, cS as WorkflowHttpTaskProviderErrorResponseBody, cT as WorkflowInlineBaseTask, cU as WorkflowInlineBaseTaskCore, cV as WorkflowInlineBaseTaskInput, cW as WorkflowInlineTask, cX as WorkflowInlineTaskCore, cY as WorkflowItemKind, cZ as WorkflowJoinTask, c_ as WorkflowJoinTaskCore, c$ as WorkflowJoinTaskInput, d0 as WorkflowLoopTask, d1 as WorkflowLoopTaskCore, d2 as WorkflowLoopTaskInput, d3 as WorkflowManualTrigger, d4 as WorkflowManualTriggerCore, d5 as WorkflowManualTriggerParameter, d6 as WorkflowManualTriggerSubType, d7 as WorkflowManualTriggerSubTypeName, d8 as WorkflowNode, d9 as WorkflowNotifyAiAgentTask, da as WorkflowNotifyAiAgentTaskCore, db as WorkflowNotifyAiAgentTaskInput, dc as WorkflowNotifyAiAgentTaskObjectiveInput, dd as WorkflowNotifyAiAgentTaskStrictInput, de as WorkflowOneTimeTrigger, df as WorkflowOneTimeTriggerCore, dg as WorkflowOneTimeTriggerInput, dh as WorkflowParentRef, di as WorkflowPlan, dj as WorkflowPlanTask, dk as WorkflowPlanTrigger, dl as WorkflowReasoningOption, dm as WorkflowReasoningOptionAgent, dn as WorkflowReasoningOptionCustomer, dp as WorkflowReasoningTask, dq as WorkflowReasoningTaskCore, dr as WorkflowReasoningTaskInput, ds as WorkflowRecurringTrigger, dt as WorkflowRecurringTriggerCore, du as WorkflowRecurringTriggerInput, dv as WorkflowScriptTask, dw as WorkflowScriptTaskCore, dx as WorkflowScriptTaskInput, dy as WorkflowSimpleBaseTask, dz as WorkflowSimpleBaseTaskCore, dA as WorkflowSimpleTask, dB as WorkflowSimpleTaskCore, dC as WorkflowSwitchBaseTask, dD as WorkflowSwitchBaseTaskCore, dE as WorkflowSwitchCaseTask, dF as WorkflowSwitchCaseTaskCore, dG as WorkflowSwitchCaseTaskInput, dH as WorkflowSwitchTask, dI as WorkflowSwitchTaskCore, dJ as WorkflowSwitchTaskInput, dK as WorkflowTask, dL as WorkflowTaskBase, dM as WorkflowTaskCore, dN as WorkflowTaskIdentity, dO as WorkflowTaskIntrospection, dP as WorkflowTaskOf, dQ as WorkflowTaskType, dR as WorkflowTemplateCategory, dS as WorkflowTemplateMetadataItem, dT as WorkflowTerminateTask, dU as WorkflowTerminateTaskCore, dV as WorkflowTerminateTaskInput, dW as WorkflowTransformBaseTask, dX as WorkflowTransformBaseTaskCore, dY as WorkflowTransformBaseTaskInput, dZ as WorkflowTransformTask, d_ as WorkflowTransformTaskCore, d$ as WorkflowTrigger, e0 as WorkflowTriggerBase, e1 as WorkflowTriggerCore, e2 as WorkflowTriggerDto, e3 as WorkflowTriggerIdentity, e4 as WorkflowTriggerOf, e5 as WorkflowTriggerType, e6 as WorkflowWaitTask, e7 as WorkflowWaitTaskCore, e8 as WorkflowWaitTaskInput, e9 as WorkflowWebhook, ea as WorkflowWebhookInput, eb as WorkflowWebhookManualTrigger, ec as WorkflowWebhookManualTriggerCore, ed as WorkflowWebhookTrigger, ee as WorkflowWebhookTriggerCore, ef as WorkflowWebhookTriggerPure, eg as bigcommerceEventsZods, eh as getTextClientAuthorization, ei as getTextClientConfig, ej as getWorkflowApiCrmConfig, ek as hubspotEventsZods, el as initTextClient, em as integrationEventBase, en as integrationEventsCoreZods, eo as integrationEventsZods, ep as isFilter, eq as isFilterGroup, er as isWorkflowBaseHttpTaskCore, es as mailchimpEventsZods, et as serializeFilters, eu as shopifyEventsZods, ev as slackEventsZods, ew as textClientInstance, ex as textCustomerEventsZods, ey as textHelpDeskEventsZods, ez as textLivechatEventsZods } from './events-Bp2V0TTp.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, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-DbCzl1U5.mjs';
9
+ export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerConfiguration, be as WorkflowAgentTriggerCore, bf as WorkflowAgentTriggerInput, bg as WorkflowAgentTriggerSubType, bh as WorkflowAggregate, bi as WorkflowAwaitTask, bj as WorkflowAwaitTaskCore, bk as WorkflowAwaitTaskInput, bl as WorkflowBaseHttpTaskCore, bm as WorkflowBranch, bn as WorkflowBundle, bo as WorkflowConditionTask, bp as WorkflowConditionTaskCondition, bq as WorkflowConditionTaskCore, br as WorkflowConditionTaskFieldType, bs as WorkflowConditionTaskInput, bt as WorkflowConditionTaskLogic, bu as WorkflowConditionTaskOperator, bv as WorkflowConditionTaskOperatorGroup, bw as WorkflowConditionTaskOperatorValueType, bx as WorkflowConstructArrayItem, by as WorkflowConstructObjectField, bz as WorkflowConstructOutputType, bA as WorkflowConstructTask, bB as WorkflowConstructTaskCore, bC as WorkflowConstructTaskDefinitionInputParameters, bD as WorkflowConstructTaskInput, bE as WorkflowConstructTaskInputArray, bF as WorkflowConstructTaskInputObject, bG as WorkflowConvertTask, bH as WorkflowConvertTaskCore, bI as WorkflowConvertTaskDefinitionInputParameters, bJ as WorkflowConvertTaskInput, bK as WorkflowConvertTaskInputFilter, bL as WorkflowConvertTaskInputJoin, bM as WorkflowConvertTaskInputLookup, bN as WorkflowConvertTaskInputPickOmit, bO as WorkflowConvertTaskInputPluck, bP as WorkflowConvertTaskInputReducer, bQ as WorkflowConvertTaskInputReplace, bR as WorkflowConvertTaskInputSimple, bS as WorkflowConvertTaskInputSort, bT as WorkflowConvertTaskInputSplit, bU as WorkflowConvertTaskInputSum, bV as WorkflowConvertTaskTransformer, bW as WorkflowCustomHttpTaskCore, bX as WorkflowCustomTaskName, bY as WorkflowDefinitionDto, bZ as WorkflowDoWhileBaseTask, b_ as WorkflowDoWhileBaseTaskCore, b$ as WorkflowDoWhileBaseTaskInput, c0 as WorkflowDoWhileTask, c1 as WorkflowDoWhileTaskCore, c2 as WorkflowElement, c3 as WorkflowElementCore, c4 as WorkflowElementIdentity, c5 as WorkflowElementRef, c6 as WorkflowExecutionActionTaskData, c7 as WorkflowExecutionAwaitTaskData, c8 as WorkflowExecutionChatContext, c9 as WorkflowExecutionConditionTask, ca as WorkflowExecutionConstructTask, cb as WorkflowExecutionContext, cc as WorkflowExecutionConvertTask, cd as WorkflowExecutionData, ce as WorkflowExecutionDefinitionStatus, cf as WorkflowExecutionDoWhileIterationOutput, cg as WorkflowExecutionDoWhileTaskData, ch as WorkflowExecutionForkJoinTaskData, ci as WorkflowExecutionHttpTaskData, cj as WorkflowExecutionInlineBaseTask, ck as WorkflowExecutionInlineTaskData, cl as WorkflowExecutionJoinTaskData, cm as WorkflowExecutionNotifyAiAgentTaskData, cn as WorkflowExecutionReasoningTaskData, co as WorkflowExecutionScriptTask, cp as WorkflowExecutionSimpleBaseTaskData, cq as WorkflowExecutionSimpleTaskData, cr as WorkflowExecutionStatus, cs as WorkflowExecutionSwitchBaseTask, ct as WorkflowExecutionSwitchCaseTask, cu as WorkflowExecutionSwitchTaskData, cv as WorkflowExecutionTaskBase, cw as WorkflowExecutionTaskData, cx as WorkflowExecutionTaskStatus, cy as WorkflowExecutionTerminateTaskData, cz as WorkflowExecutionTicketContext, cA as WorkflowExecutionTransformBaseTask, cB as WorkflowExecutionTransformTaskData, cC as WorkflowExecutionTriggerData, cD as WorkflowExecutionTriggerDataBase, cE as WorkflowExecutionType, cF as WorkflowExecutionWaitTaskData, cG as WorkflowForEachTask, cH as WorkflowForEachTaskCore, cI as WorkflowForEachTaskInput, cJ as WorkflowForkJoinTask, cK as WorkflowForkJoinTaskCore, cL as WorkflowForkJoinTaskInput, cM as WorkflowFunctionErrorResponseBody, cN as WorkflowGraph, cO as WorkflowHttpRequest, cP as WorkflowHttpTask, cQ as WorkflowHttpTaskCore, cR as WorkflowHttpTaskErrorResponseBody, cS as WorkflowHttpTaskFunctionErrorResponseBody, cT as WorkflowHttpTaskHeaders, cU as WorkflowHttpTaskInput, cV as WorkflowHttpTaskProviderErrorResponseBody, cW as WorkflowInlineBaseTask, cX as WorkflowInlineBaseTaskCore, cY as WorkflowInlineBaseTaskInput, cZ as WorkflowInlineTask, c_ as WorkflowInlineTaskCore, c$ as WorkflowItemKind, d0 as WorkflowJoinTask, d1 as WorkflowJoinTaskCore, d2 as WorkflowJoinTaskInput, d3 as WorkflowLoopTask, d4 as WorkflowLoopTaskCore, d5 as WorkflowLoopTaskInput, d6 as WorkflowManualTrigger, d7 as WorkflowManualTriggerCore, d8 as WorkflowManualTriggerParameter, d9 as WorkflowManualTriggerSubType, da as WorkflowManualTriggerSubTypeName, db as WorkflowNode, dc as WorkflowNotifyAiAgentTask, dd as WorkflowNotifyAiAgentTaskCore, de as WorkflowNotifyAiAgentTaskInput, df as WorkflowNotifyAiAgentTaskObjectiveInput, dg as WorkflowNotifyAiAgentTaskStrictInput, dh as WorkflowOneTimeTrigger, di as WorkflowOneTimeTriggerCore, dj as WorkflowOneTimeTriggerInput, dk as WorkflowParentRef, dl as WorkflowPlan, dm as WorkflowPlanTask, dn as WorkflowPlanTrigger, dp as WorkflowReasoningOption, dq as WorkflowReasoningOptionAgent, dr as WorkflowReasoningOptionCustomer, ds as WorkflowReasoningTask, dt as WorkflowReasoningTaskCore, du as WorkflowReasoningTaskInput, dv as WorkflowRecurringTrigger, dw as WorkflowRecurringTriggerCore, dx as WorkflowRecurringTriggerInput, dy as WorkflowScriptTask, dz as WorkflowScriptTaskCore, dA as WorkflowScriptTaskInput, dB as WorkflowSimpleBaseTask, dC as WorkflowSimpleBaseTaskCore, dD as WorkflowSimpleTask, dE as WorkflowSimpleTaskCore, dF as WorkflowSwitchBaseTask, dG as WorkflowSwitchBaseTaskCore, dH as WorkflowSwitchCaseTask, dI as WorkflowSwitchCaseTaskCore, dJ as WorkflowSwitchCaseTaskInput, dK as WorkflowSwitchTask, dL as WorkflowSwitchTaskCore, dM as WorkflowSwitchTaskInput, dN as WorkflowTask, dO as WorkflowTaskBase, dP as WorkflowTaskCore, dQ as WorkflowTaskIdentity, dR as WorkflowTaskIntrospection, dS as WorkflowTaskOf, dT as WorkflowTaskType, dU as WorkflowTemplateCategory, dV as WorkflowTemplateMetadataItem, dW as WorkflowTerminateTask, dX as WorkflowTerminateTaskCore, dY as WorkflowTerminateTaskInput, dZ as WorkflowTransformBaseTask, d_ as WorkflowTransformBaseTaskCore, d$ as WorkflowTransformBaseTaskInput, e0 as WorkflowTransformTask, e1 as WorkflowTransformTaskCore, e2 as WorkflowTrigger, e3 as WorkflowTriggerBase, e4 as WorkflowTriggerCore, e5 as WorkflowTriggerDto, e6 as WorkflowTriggerIdentity, e7 as WorkflowTriggerOf, e8 as WorkflowTriggerType, e9 as WorkflowWaitTask, ea as WorkflowWaitTaskCore, eb as WorkflowWaitTaskInput, ec as WorkflowWebhook, ed as WorkflowWebhookInput, ee as WorkflowWebhookManualTrigger, ef as WorkflowWebhookManualTriggerCore, eg as WorkflowWebhookTrigger, eh as WorkflowWebhookTriggerCore, ei as WorkflowWebhookTriggerPure, ej as bigcommerceEventsZods, ek as getTextClientAuthorization, el as getTextClientConfig, em as getWorkflowApiCrmConfig, en as hubspotEventsZods, eo as initTextClient, ep as integrationEventBase, eq as integrationEventsCoreZods, er as integrationEventsZods, es as isFilter, et as isFilterGroup, eu as isWorkflowBaseHttpTaskCore, ev as mailchimpEventsZods, ew as serializeFilters, ex as shopifyEventsZods, ey as slackEventsZods, ez as textClientInstance, eA as textCustomerEventsZods, eB as textHelpDeskEventsZods, eC as textLivechatEventsZods } from './events-DbCzl1U5.mjs';
10
10
  import { JSONSchema7 } from 'json-schema';
11
11
 
12
12
  interface GitHubUser {
@@ -66,7 +66,6 @@ declare const integrationNotificationZods: {
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  error: string | null;
68
68
  status: string;
69
- source: string | null;
70
69
  sourceKey: string | null;
71
70
  callback: string;
72
71
  id: string;
@@ -75,6 +74,7 @@ declare const integrationNotificationZods: {
75
74
  completedAt: string;
76
75
  organization_id: string;
77
76
  user_id: string | null;
77
+ source: string | null;
78
78
  jobId: string | null;
79
79
  subscription_id: string;
80
80
  targetKey: string;
@@ -84,7 +84,6 @@ declare const integrationNotificationZods: {
84
84
  }, {
85
85
  error: string | null;
86
86
  status: string;
87
- source: string | null;
88
87
  sourceKey: string | null;
89
88
  callback: string;
90
89
  id: string;
@@ -93,6 +92,7 @@ declare const integrationNotificationZods: {
93
92
  completedAt: string;
94
93
  organization_id: string;
95
94
  user_id: string | null;
95
+ source: string | null;
96
96
  jobId: string | null;
97
97
  subscription_id: string;
98
98
  targetKey: string;
@@ -115,20 +115,20 @@ declare const integrationNotificationRequestZods: {
115
115
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  status?: string | undefined;
118
- search?: string | undefined;
119
118
  page?: number | undefined;
120
119
  size?: number | undefined;
121
120
  order_by?: "status" | "id" | "target" | "eventName" | "completedAt" | "organization_id" | "user_id" | undefined;
122
121
  order?: "asc" | "desc" | undefined;
122
+ search?: string | undefined;
123
123
  target?: string | undefined;
124
124
  eventName?: string | undefined;
125
125
  }, {
126
126
  status?: string | undefined;
127
- search?: string | undefined;
128
127
  page?: number | undefined;
129
128
  size?: number | undefined;
130
129
  order_by?: "status" | "id" | "target" | "eventName" | "completedAt" | "organization_id" | "user_id" | undefined;
131
130
  order?: "asc" | "desc" | undefined;
131
+ search?: string | undefined;
132
132
  target?: string | undefined;
133
133
  eventName?: string | undefined;
134
134
  }>;
@@ -163,13 +163,13 @@ declare const integrationSubscriptionZods: {
163
163
  orphaned_last_hit: z.ZodNullable<z.ZodString>;
164
164
  orphaned_hit_count: z.ZodNumber;
165
165
  }, "strip", z.ZodTypeAny, {
166
- source: string;
167
166
  sourceKey: string;
168
167
  callback: string;
169
168
  id: string;
170
169
  target: string;
171
170
  organization_id: string;
172
171
  user_id: string;
172
+ source: string;
173
173
  orphaned_at: string | null;
174
174
  orphaned_reason: string | null;
175
175
  orphaned_last_hit: string | null;
@@ -181,13 +181,13 @@ declare const integrationSubscriptionZods: {
181
181
  targetKey: string;
182
182
  }[] | undefined;
183
183
  }, {
184
- source: string;
185
184
  sourceKey: string;
186
185
  callback: string;
187
186
  id: string;
188
187
  target: string;
189
188
  organization_id: string;
190
189
  user_id: string;
190
+ source: string;
191
191
  orphaned_at: string | null;
192
192
  orphaned_reason: string | null;
193
193
  orphaned_last_hit: string | null;
@@ -299,22 +299,22 @@ declare const integrationSubscriptionRequestZods: {
299
299
  order_by: z.ZodOptional<z.ZodEnum<["id", "source", "target", "organization_id", "user_id", "orphaned_at"]>>;
300
300
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
301
301
  }, "strip", z.ZodTypeAny, {
302
- search?: string | undefined;
303
- source?: string | undefined;
304
302
  page?: number | undefined;
305
303
  size?: number | undefined;
306
- order_by?: "source" | "id" | "target" | "organization_id" | "user_id" | "orphaned_at" | undefined;
304
+ order_by?: "id" | "target" | "organization_id" | "user_id" | "source" | "orphaned_at" | undefined;
307
305
  order?: "asc" | "desc" | undefined;
306
+ search?: string | undefined;
308
307
  target?: string | undefined;
308
+ source?: string | undefined;
309
309
  orphaned?: boolean | undefined;
310
310
  }, {
311
- search?: string | undefined;
312
- source?: string | undefined;
313
311
  page?: number | undefined;
314
312
  size?: number | undefined;
315
- order_by?: "source" | "id" | "target" | "organization_id" | "user_id" | "orphaned_at" | undefined;
313
+ order_by?: "id" | "target" | "organization_id" | "user_id" | "source" | "orphaned_at" | undefined;
316
314
  order?: "asc" | "desc" | undefined;
315
+ search?: string | undefined;
317
316
  target?: string | undefined;
317
+ source?: string | undefined;
318
318
  orphaned?: boolean | undefined;
319
319
  }>;
320
320
  };
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, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-Bp2V0TTp.js';
9
- export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBaseHttpTaskCore, bk as WorkflowBranch, bl as WorkflowBundle, bm as WorkflowConditionTask, bn as WorkflowConditionTaskCondition, bo as WorkflowConditionTaskCore, bp as WorkflowConditionTaskFieldType, bq as WorkflowConditionTaskInput, br as WorkflowConditionTaskLogic, bs as WorkflowConditionTaskOperator, bt as WorkflowConditionTaskOperatorGroup, bu as WorkflowConditionTaskOperatorValueType, bv as WorkflowConstructArrayItem, bw as WorkflowConstructObjectField, bx as WorkflowConstructOutputType, by as WorkflowConstructTask, bz as WorkflowConstructTaskCore, bA as WorkflowConstructTaskDefinitionInputParameters, bB as WorkflowConstructTaskInput, bC as WorkflowConstructTaskInputArray, bD as WorkflowConstructTaskInputObject, bE as WorkflowConvertTask, bF as WorkflowConvertTaskCore, bG as WorkflowConvertTaskDefinitionInputParameters, bH as WorkflowConvertTaskInput, bI as WorkflowConvertTaskInputFilter, bJ as WorkflowConvertTaskInputJoin, bK as WorkflowConvertTaskInputLookup, bL as WorkflowConvertTaskInputPickOmit, bM as WorkflowConvertTaskInputPluck, bN as WorkflowConvertTaskInputReducer, bO as WorkflowConvertTaskInputReplace, bP as WorkflowConvertTaskInputSimple, bQ as WorkflowConvertTaskInputSort, bR as WorkflowConvertTaskInputSplit, bS as WorkflowConvertTaskInputSum, bT as WorkflowConvertTaskTransformer, bU as WorkflowCustomHttpTaskCore, bV as WorkflowCustomTaskName, bW as WorkflowDefinitionDto, bX as WorkflowDoWhileBaseTask, bY as WorkflowDoWhileBaseTaskCore, bZ as WorkflowDoWhileBaseTaskInput, b_ as WorkflowDoWhileTask, b$ as WorkflowDoWhileTaskCore, c0 as WorkflowElement, c1 as WorkflowElementCore, c2 as WorkflowElementIdentity, c3 as WorkflowElementRef, c4 as WorkflowExecutionActionTaskData, c5 as WorkflowExecutionAwaitTaskData, c6 as WorkflowExecutionChatContext, c7 as WorkflowExecutionConditionTask, c8 as WorkflowExecutionConstructTask, c9 as WorkflowExecutionContext, ca as WorkflowExecutionConvertTask, cb as WorkflowExecutionData, cc as WorkflowExecutionDefinitionStatus, cd as WorkflowExecutionDoWhileIterationOutput, ce as WorkflowExecutionDoWhileTaskData, cf as WorkflowExecutionForkJoinTaskData, cg as WorkflowExecutionHttpTaskData, ch as WorkflowExecutionInlineBaseTask, ci as WorkflowExecutionInlineTaskData, cj as WorkflowExecutionJoinTaskData, ck as WorkflowExecutionNotifyAiAgentTaskData, cl as WorkflowExecutionReasoningTaskData, cm as WorkflowExecutionScriptTask, cn as WorkflowExecutionSimpleBaseTaskData, co as WorkflowExecutionSimpleTaskData, cp as WorkflowExecutionStatus, cq as WorkflowExecutionSwitchBaseTask, cr as WorkflowExecutionSwitchCaseTask, cs as WorkflowExecutionSwitchTaskData, ct as WorkflowExecutionTaskBase, cu as WorkflowExecutionTaskData, cv as WorkflowExecutionTaskStatus, cw as WorkflowExecutionTerminateTaskData, cx as WorkflowExecutionTicketContext, cy as WorkflowExecutionTransformBaseTask, cz as WorkflowExecutionTransformTaskData, cA as WorkflowExecutionTriggerData, cB as WorkflowExecutionTriggerDataBase, cC as WorkflowExecutionWaitTaskData, cD as WorkflowForEachTask, cE as WorkflowForEachTaskCore, cF as WorkflowForEachTaskInput, cG as WorkflowForkJoinTask, cH as WorkflowForkJoinTaskCore, cI as WorkflowForkJoinTaskInput, cJ as WorkflowFunctionErrorResponseBody, cK as WorkflowGraph, cL as WorkflowHttpRequest, cM as WorkflowHttpTask, cN as WorkflowHttpTaskCore, cO as WorkflowHttpTaskErrorResponseBody, cP as WorkflowHttpTaskFunctionErrorResponseBody, cQ as WorkflowHttpTaskHeaders, cR as WorkflowHttpTaskInput, cS as WorkflowHttpTaskProviderErrorResponseBody, cT as WorkflowInlineBaseTask, cU as WorkflowInlineBaseTaskCore, cV as WorkflowInlineBaseTaskInput, cW as WorkflowInlineTask, cX as WorkflowInlineTaskCore, cY as WorkflowItemKind, cZ as WorkflowJoinTask, c_ as WorkflowJoinTaskCore, c$ as WorkflowJoinTaskInput, d0 as WorkflowLoopTask, d1 as WorkflowLoopTaskCore, d2 as WorkflowLoopTaskInput, d3 as WorkflowManualTrigger, d4 as WorkflowManualTriggerCore, d5 as WorkflowManualTriggerParameter, d6 as WorkflowManualTriggerSubType, d7 as WorkflowManualTriggerSubTypeName, d8 as WorkflowNode, d9 as WorkflowNotifyAiAgentTask, da as WorkflowNotifyAiAgentTaskCore, db as WorkflowNotifyAiAgentTaskInput, dc as WorkflowNotifyAiAgentTaskObjectiveInput, dd as WorkflowNotifyAiAgentTaskStrictInput, de as WorkflowOneTimeTrigger, df as WorkflowOneTimeTriggerCore, dg as WorkflowOneTimeTriggerInput, dh as WorkflowParentRef, di as WorkflowPlan, dj as WorkflowPlanTask, dk as WorkflowPlanTrigger, dl as WorkflowReasoningOption, dm as WorkflowReasoningOptionAgent, dn as WorkflowReasoningOptionCustomer, dp as WorkflowReasoningTask, dq as WorkflowReasoningTaskCore, dr as WorkflowReasoningTaskInput, ds as WorkflowRecurringTrigger, dt as WorkflowRecurringTriggerCore, du as WorkflowRecurringTriggerInput, dv as WorkflowScriptTask, dw as WorkflowScriptTaskCore, dx as WorkflowScriptTaskInput, dy as WorkflowSimpleBaseTask, dz as WorkflowSimpleBaseTaskCore, dA as WorkflowSimpleTask, dB as WorkflowSimpleTaskCore, dC as WorkflowSwitchBaseTask, dD as WorkflowSwitchBaseTaskCore, dE as WorkflowSwitchCaseTask, dF as WorkflowSwitchCaseTaskCore, dG as WorkflowSwitchCaseTaskInput, dH as WorkflowSwitchTask, dI as WorkflowSwitchTaskCore, dJ as WorkflowSwitchTaskInput, dK as WorkflowTask, dL as WorkflowTaskBase, dM as WorkflowTaskCore, dN as WorkflowTaskIdentity, dO as WorkflowTaskIntrospection, dP as WorkflowTaskOf, dQ as WorkflowTaskType, dR as WorkflowTemplateCategory, dS as WorkflowTemplateMetadataItem, dT as WorkflowTerminateTask, dU as WorkflowTerminateTaskCore, dV as WorkflowTerminateTaskInput, dW as WorkflowTransformBaseTask, dX as WorkflowTransformBaseTaskCore, dY as WorkflowTransformBaseTaskInput, dZ as WorkflowTransformTask, d_ as WorkflowTransformTaskCore, d$ as WorkflowTrigger, e0 as WorkflowTriggerBase, e1 as WorkflowTriggerCore, e2 as WorkflowTriggerDto, e3 as WorkflowTriggerIdentity, e4 as WorkflowTriggerOf, e5 as WorkflowTriggerType, e6 as WorkflowWaitTask, e7 as WorkflowWaitTaskCore, e8 as WorkflowWaitTaskInput, e9 as WorkflowWebhook, ea as WorkflowWebhookInput, eb as WorkflowWebhookManualTrigger, ec as WorkflowWebhookManualTriggerCore, ed as WorkflowWebhookTrigger, ee as WorkflowWebhookTriggerCore, ef as WorkflowWebhookTriggerPure, eg as bigcommerceEventsZods, eh as getTextClientAuthorization, ei as getTextClientConfig, ej as getWorkflowApiCrmConfig, ek as hubspotEventsZods, el as initTextClient, em as integrationEventBase, en as integrationEventsCoreZods, eo as integrationEventsZods, ep as isFilter, eq as isFilterGroup, er as isWorkflowBaseHttpTaskCore, es as mailchimpEventsZods, et as serializeFilters, eu as shopifyEventsZods, ev as slackEventsZods, ew as textClientInstance, ex as textCustomerEventsZods, ey as textHelpDeskEventsZods, ez as textLivechatEventsZods } from './events-Bp2V0TTp.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, W as WorkflowDto, g as AccountDto, S as SubscribeToIntegrationEventPayload, h as UnsubscribeFromIntegrationEventPayload, i as WorkflowCore, j as ApiPaginatedListQueryParams, k as WorkflowCrmOrganizationsOrderBy, l as WorkflowApiCrmAuthorization, m as ApiPaginatedResult, n as WorkflowCrmOrganization, o as WorkflowCrmWorkflowsOrderBy, p as WorkflowExecutionListItem, q as WorkflowExecution, r as WorkflowIntrospection, s as UpsertWorkflowPayload, t as IntrospectWorkflowTaskPayload, u as WorkflowTaskIntrospectResponse, C as CredentialDto, v as CreateCredentialPayload, w as UpdateCredentialPayload, F as FunctionDto, E as ExternalResourceReference, x as WorkflowTemplateOrderBy, y as WorkflowTemplateListEntry, z as WorkflowTemplate } from './events-DbCzl1U5.js';
9
+ export { B as ApiError, D as ApiErrorKind, H as ApiErrorName, J as ApiPagination, K as AwaitTaskCallback, L as BigCommerceEvent, M as BigCommerceEventNames, N as BigCommerceOauthCredential, O as Credential, P as CredentialCore, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Y as CustomerLeftChatReason, Z as ExternalResourceConfig, _ as ExternalResourceDependency, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, a8 as HubspotEvent, a9 as HubspotEventNames, aa as Identity, ab as IdentityField, ac as IdentitySpec, ad as IntegrationDisplayNameToNameMap, ae as IntegrationDisplayNames, af as IntegrationEvent, ag as IntegrationEventProviderName, ah as IntegrationEventSource, ai as IntegrationEventSourceName, aj as IntegrationKey, ak as IntegrationNameToDisplayMap, al as MailchimpEvent, am as MailchimpEventNames, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, av as ShopifyEvent, aw as ShopifyEventNames, ax as ShopifyOauthCredential, ay as SlackEvent, az as SlackEventNames, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aE as SubscribeToBigCommerceEventPayload, aF as SubscribeToHubspotEventPayload, aG as SubscribeToMailchimpEventPayload, aH as SubscribeToShopifyEventPayload, aI as SubscribeToSlackEventPayload, aJ as SubscribeToTextCustomerEventPayload, aK as SubscribeToTextHelpDeskEventPayload, aL as SubscribeToTextLivechatEventPayload, aM as TRIGGER_REFERENCE_NAME, aN as TextApiError, aO as TextAuthCredential, aP as TextClientOptions, aQ as TextCustomerEvent, aR as TextHelpDeskEvent, aS as TextHelpDeskEventBaseFilters, aT as TextHelpDeskEventNames, aU as TextLiveChatEvent, aV as TextLivechatEventNames, aW as TextLivechatProductCardEventType, aX as TextOAuthCredential, aY as UnsubscribeFromBigCommerceEventPayload, aZ as UnsubscribeFromHubspotEventPayload, a_ as UnsubscribeFromMailchimpEventPayload, a$ as UnsubscribeFromShopifyEventPayload, b0 as UnsubscribeFromSlackEventPayload, b1 as UnsubscribeFromTextCustomerEventPayload, b2 as UnsubscribeFromTextHelpDeskEventPayload, b3 as UnsubscribeFromTextLivechatEventPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerConfiguration, be as WorkflowAgentTriggerCore, bf as WorkflowAgentTriggerInput, bg as WorkflowAgentTriggerSubType, bh as WorkflowAggregate, bi as WorkflowAwaitTask, bj as WorkflowAwaitTaskCore, bk as WorkflowAwaitTaskInput, bl as WorkflowBaseHttpTaskCore, bm as WorkflowBranch, bn as WorkflowBundle, bo as WorkflowConditionTask, bp as WorkflowConditionTaskCondition, bq as WorkflowConditionTaskCore, br as WorkflowConditionTaskFieldType, bs as WorkflowConditionTaskInput, bt as WorkflowConditionTaskLogic, bu as WorkflowConditionTaskOperator, bv as WorkflowConditionTaskOperatorGroup, bw as WorkflowConditionTaskOperatorValueType, bx as WorkflowConstructArrayItem, by as WorkflowConstructObjectField, bz as WorkflowConstructOutputType, bA as WorkflowConstructTask, bB as WorkflowConstructTaskCore, bC as WorkflowConstructTaskDefinitionInputParameters, bD as WorkflowConstructTaskInput, bE as WorkflowConstructTaskInputArray, bF as WorkflowConstructTaskInputObject, bG as WorkflowConvertTask, bH as WorkflowConvertTaskCore, bI as WorkflowConvertTaskDefinitionInputParameters, bJ as WorkflowConvertTaskInput, bK as WorkflowConvertTaskInputFilter, bL as WorkflowConvertTaskInputJoin, bM as WorkflowConvertTaskInputLookup, bN as WorkflowConvertTaskInputPickOmit, bO as WorkflowConvertTaskInputPluck, bP as WorkflowConvertTaskInputReducer, bQ as WorkflowConvertTaskInputReplace, bR as WorkflowConvertTaskInputSimple, bS as WorkflowConvertTaskInputSort, bT as WorkflowConvertTaskInputSplit, bU as WorkflowConvertTaskInputSum, bV as WorkflowConvertTaskTransformer, bW as WorkflowCustomHttpTaskCore, bX as WorkflowCustomTaskName, bY as WorkflowDefinitionDto, bZ as WorkflowDoWhileBaseTask, b_ as WorkflowDoWhileBaseTaskCore, b$ as WorkflowDoWhileBaseTaskInput, c0 as WorkflowDoWhileTask, c1 as WorkflowDoWhileTaskCore, c2 as WorkflowElement, c3 as WorkflowElementCore, c4 as WorkflowElementIdentity, c5 as WorkflowElementRef, c6 as WorkflowExecutionActionTaskData, c7 as WorkflowExecutionAwaitTaskData, c8 as WorkflowExecutionChatContext, c9 as WorkflowExecutionConditionTask, ca as WorkflowExecutionConstructTask, cb as WorkflowExecutionContext, cc as WorkflowExecutionConvertTask, cd as WorkflowExecutionData, ce as WorkflowExecutionDefinitionStatus, cf as WorkflowExecutionDoWhileIterationOutput, cg as WorkflowExecutionDoWhileTaskData, ch as WorkflowExecutionForkJoinTaskData, ci as WorkflowExecutionHttpTaskData, cj as WorkflowExecutionInlineBaseTask, ck as WorkflowExecutionInlineTaskData, cl as WorkflowExecutionJoinTaskData, cm as WorkflowExecutionNotifyAiAgentTaskData, cn as WorkflowExecutionReasoningTaskData, co as WorkflowExecutionScriptTask, cp as WorkflowExecutionSimpleBaseTaskData, cq as WorkflowExecutionSimpleTaskData, cr as WorkflowExecutionStatus, cs as WorkflowExecutionSwitchBaseTask, ct as WorkflowExecutionSwitchCaseTask, cu as WorkflowExecutionSwitchTaskData, cv as WorkflowExecutionTaskBase, cw as WorkflowExecutionTaskData, cx as WorkflowExecutionTaskStatus, cy as WorkflowExecutionTerminateTaskData, cz as WorkflowExecutionTicketContext, cA as WorkflowExecutionTransformBaseTask, cB as WorkflowExecutionTransformTaskData, cC as WorkflowExecutionTriggerData, cD as WorkflowExecutionTriggerDataBase, cE as WorkflowExecutionType, cF as WorkflowExecutionWaitTaskData, cG as WorkflowForEachTask, cH as WorkflowForEachTaskCore, cI as WorkflowForEachTaskInput, cJ as WorkflowForkJoinTask, cK as WorkflowForkJoinTaskCore, cL as WorkflowForkJoinTaskInput, cM as WorkflowFunctionErrorResponseBody, cN as WorkflowGraph, cO as WorkflowHttpRequest, cP as WorkflowHttpTask, cQ as WorkflowHttpTaskCore, cR as WorkflowHttpTaskErrorResponseBody, cS as WorkflowHttpTaskFunctionErrorResponseBody, cT as WorkflowHttpTaskHeaders, cU as WorkflowHttpTaskInput, cV as WorkflowHttpTaskProviderErrorResponseBody, cW as WorkflowInlineBaseTask, cX as WorkflowInlineBaseTaskCore, cY as WorkflowInlineBaseTaskInput, cZ as WorkflowInlineTask, c_ as WorkflowInlineTaskCore, c$ as WorkflowItemKind, d0 as WorkflowJoinTask, d1 as WorkflowJoinTaskCore, d2 as WorkflowJoinTaskInput, d3 as WorkflowLoopTask, d4 as WorkflowLoopTaskCore, d5 as WorkflowLoopTaskInput, d6 as WorkflowManualTrigger, d7 as WorkflowManualTriggerCore, d8 as WorkflowManualTriggerParameter, d9 as WorkflowManualTriggerSubType, da as WorkflowManualTriggerSubTypeName, db as WorkflowNode, dc as WorkflowNotifyAiAgentTask, dd as WorkflowNotifyAiAgentTaskCore, de as WorkflowNotifyAiAgentTaskInput, df as WorkflowNotifyAiAgentTaskObjectiveInput, dg as WorkflowNotifyAiAgentTaskStrictInput, dh as WorkflowOneTimeTrigger, di as WorkflowOneTimeTriggerCore, dj as WorkflowOneTimeTriggerInput, dk as WorkflowParentRef, dl as WorkflowPlan, dm as WorkflowPlanTask, dn as WorkflowPlanTrigger, dp as WorkflowReasoningOption, dq as WorkflowReasoningOptionAgent, dr as WorkflowReasoningOptionCustomer, ds as WorkflowReasoningTask, dt as WorkflowReasoningTaskCore, du as WorkflowReasoningTaskInput, dv as WorkflowRecurringTrigger, dw as WorkflowRecurringTriggerCore, dx as WorkflowRecurringTriggerInput, dy as WorkflowScriptTask, dz as WorkflowScriptTaskCore, dA as WorkflowScriptTaskInput, dB as WorkflowSimpleBaseTask, dC as WorkflowSimpleBaseTaskCore, dD as WorkflowSimpleTask, dE as WorkflowSimpleTaskCore, dF as WorkflowSwitchBaseTask, dG as WorkflowSwitchBaseTaskCore, dH as WorkflowSwitchCaseTask, dI as WorkflowSwitchCaseTaskCore, dJ as WorkflowSwitchCaseTaskInput, dK as WorkflowSwitchTask, dL as WorkflowSwitchTaskCore, dM as WorkflowSwitchTaskInput, dN as WorkflowTask, dO as WorkflowTaskBase, dP as WorkflowTaskCore, dQ as WorkflowTaskIdentity, dR as WorkflowTaskIntrospection, dS as WorkflowTaskOf, dT as WorkflowTaskType, dU as WorkflowTemplateCategory, dV as WorkflowTemplateMetadataItem, dW as WorkflowTerminateTask, dX as WorkflowTerminateTaskCore, dY as WorkflowTerminateTaskInput, dZ as WorkflowTransformBaseTask, d_ as WorkflowTransformBaseTaskCore, d$ as WorkflowTransformBaseTaskInput, e0 as WorkflowTransformTask, e1 as WorkflowTransformTaskCore, e2 as WorkflowTrigger, e3 as WorkflowTriggerBase, e4 as WorkflowTriggerCore, e5 as WorkflowTriggerDto, e6 as WorkflowTriggerIdentity, e7 as WorkflowTriggerOf, e8 as WorkflowTriggerType, e9 as WorkflowWaitTask, ea as WorkflowWaitTaskCore, eb as WorkflowWaitTaskInput, ec as WorkflowWebhook, ed as WorkflowWebhookInput, ee as WorkflowWebhookManualTrigger, ef as WorkflowWebhookManualTriggerCore, eg as WorkflowWebhookTrigger, eh as WorkflowWebhookTriggerCore, ei as WorkflowWebhookTriggerPure, ej as bigcommerceEventsZods, ek as getTextClientAuthorization, el as getTextClientConfig, em as getWorkflowApiCrmConfig, en as hubspotEventsZods, eo as initTextClient, ep as integrationEventBase, eq as integrationEventsCoreZods, er as integrationEventsZods, es as isFilter, et as isFilterGroup, eu as isWorkflowBaseHttpTaskCore, ev as mailchimpEventsZods, ew as serializeFilters, ex as shopifyEventsZods, ey as slackEventsZods, ez as textClientInstance, eA as textCustomerEventsZods, eB as textHelpDeskEventsZods, eC as textLivechatEventsZods } from './events-DbCzl1U5.js';
10
10
  import { JSONSchema7 } from 'json-schema';
11
11
 
12
12
  interface GitHubUser {
@@ -66,7 +66,6 @@ declare const integrationNotificationZods: {
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  error: string | null;
68
68
  status: string;
69
- source: string | null;
70
69
  sourceKey: string | null;
71
70
  callback: string;
72
71
  id: string;
@@ -75,6 +74,7 @@ declare const integrationNotificationZods: {
75
74
  completedAt: string;
76
75
  organization_id: string;
77
76
  user_id: string | null;
77
+ source: string | null;
78
78
  jobId: string | null;
79
79
  subscription_id: string;
80
80
  targetKey: string;
@@ -84,7 +84,6 @@ declare const integrationNotificationZods: {
84
84
  }, {
85
85
  error: string | null;
86
86
  status: string;
87
- source: string | null;
88
87
  sourceKey: string | null;
89
88
  callback: string;
90
89
  id: string;
@@ -93,6 +92,7 @@ declare const integrationNotificationZods: {
93
92
  completedAt: string;
94
93
  organization_id: string;
95
94
  user_id: string | null;
95
+ source: string | null;
96
96
  jobId: string | null;
97
97
  subscription_id: string;
98
98
  targetKey: string;
@@ -115,20 +115,20 @@ declare const integrationNotificationRequestZods: {
115
115
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  status?: string | undefined;
118
- search?: string | undefined;
119
118
  page?: number | undefined;
120
119
  size?: number | undefined;
121
120
  order_by?: "status" | "id" | "target" | "eventName" | "completedAt" | "organization_id" | "user_id" | undefined;
122
121
  order?: "asc" | "desc" | undefined;
122
+ search?: string | undefined;
123
123
  target?: string | undefined;
124
124
  eventName?: string | undefined;
125
125
  }, {
126
126
  status?: string | undefined;
127
- search?: string | undefined;
128
127
  page?: number | undefined;
129
128
  size?: number | undefined;
130
129
  order_by?: "status" | "id" | "target" | "eventName" | "completedAt" | "organization_id" | "user_id" | undefined;
131
130
  order?: "asc" | "desc" | undefined;
131
+ search?: string | undefined;
132
132
  target?: string | undefined;
133
133
  eventName?: string | undefined;
134
134
  }>;
@@ -163,13 +163,13 @@ declare const integrationSubscriptionZods: {
163
163
  orphaned_last_hit: z.ZodNullable<z.ZodString>;
164
164
  orphaned_hit_count: z.ZodNumber;
165
165
  }, "strip", z.ZodTypeAny, {
166
- source: string;
167
166
  sourceKey: string;
168
167
  callback: string;
169
168
  id: string;
170
169
  target: string;
171
170
  organization_id: string;
172
171
  user_id: string;
172
+ source: string;
173
173
  orphaned_at: string | null;
174
174
  orphaned_reason: string | null;
175
175
  orphaned_last_hit: string | null;
@@ -181,13 +181,13 @@ declare const integrationSubscriptionZods: {
181
181
  targetKey: string;
182
182
  }[] | undefined;
183
183
  }, {
184
- source: string;
185
184
  sourceKey: string;
186
185
  callback: string;
187
186
  id: string;
188
187
  target: string;
189
188
  organization_id: string;
190
189
  user_id: string;
190
+ source: string;
191
191
  orphaned_at: string | null;
192
192
  orphaned_reason: string | null;
193
193
  orphaned_last_hit: string | null;
@@ -299,22 +299,22 @@ declare const integrationSubscriptionRequestZods: {
299
299
  order_by: z.ZodOptional<z.ZodEnum<["id", "source", "target", "organization_id", "user_id", "orphaned_at"]>>;
300
300
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
301
301
  }, "strip", z.ZodTypeAny, {
302
- search?: string | undefined;
303
- source?: string | undefined;
304
302
  page?: number | undefined;
305
303
  size?: number | undefined;
306
- order_by?: "source" | "id" | "target" | "organization_id" | "user_id" | "orphaned_at" | undefined;
304
+ order_by?: "id" | "target" | "organization_id" | "user_id" | "source" | "orphaned_at" | undefined;
307
305
  order?: "asc" | "desc" | undefined;
306
+ search?: string | undefined;
308
307
  target?: string | undefined;
308
+ source?: string | undefined;
309
309
  orphaned?: boolean | undefined;
310
310
  }, {
311
- search?: string | undefined;
312
- source?: string | undefined;
313
311
  page?: number | undefined;
314
312
  size?: number | undefined;
315
- order_by?: "source" | "id" | "target" | "organization_id" | "user_id" | "orphaned_at" | undefined;
313
+ order_by?: "id" | "target" | "organization_id" | "user_id" | "source" | "orphaned_at" | undefined;
316
314
  order?: "asc" | "desc" | undefined;
315
+ search?: string | undefined;
317
316
  target?: string | undefined;
317
+ source?: string | undefined;
318
318
  orphaned?: boolean | undefined;
319
319
  }>;
320
320
  };
package/dist/index.js CHANGED
@@ -123,6 +123,7 @@ __export(src_exports, {
123
123
  TicketStatus: () => TicketStatus,
124
124
  UnauthorizeAccountsApiError: () => UnauthorizeAccountsApiError,
125
125
  UnauthorizeApiError: () => UnauthorizeApiError,
126
+ WorkflowAgentTriggerSubType: () => WorkflowAgentTriggerSubType,
126
127
  WorkflowConditionTaskFieldType: () => WorkflowConditionTaskFieldType,
127
128
  WorkflowConditionTaskLogic: () => WorkflowConditionTaskLogic,
128
129
  WorkflowConditionTaskOperator: () => WorkflowConditionTaskOperator,
@@ -132,6 +133,7 @@ __export(src_exports, {
132
133
  WorkflowExecutionDefinitionStatus: () => WorkflowExecutionDefinitionStatus,
133
134
  WorkflowExecutionStatus: () => WorkflowExecutionStatus,
134
135
  WorkflowExecutionTaskStatus: () => WorkflowExecutionTaskStatus,
136
+ WorkflowExecutionType: () => WorkflowExecutionType,
135
137
  WorkflowItemKind: () => WorkflowItemKind,
136
138
  WorkflowManualTriggerSubType: () => WorkflowManualTriggerSubType,
137
139
  WorkflowManualTriggerSubTypeName: () => WorkflowManualTriggerSubTypeName,
@@ -4589,6 +4591,16 @@ var WorkflowConditionTaskFieldType = /* @__PURE__ */ ((WorkflowConditionTaskFiel
4589
4591
  return WorkflowConditionTaskFieldType2;
4590
4592
  })(WorkflowConditionTaskFieldType || {});
4591
4593
 
4594
+ // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/agent.ts
4595
+ var WorkflowAgentTriggerSubType = {
4596
+ chat: "chat"
4597
+ };
4598
+ var WorkflowExecutionType = {
4599
+ conversational: "conversational",
4600
+ background: "background",
4601
+ hybrid: "hybrid"
4602
+ };
4603
+
4592
4604
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/base.ts
4593
4605
  var WorkflowTriggerType = {
4594
4606
  manual: "manual_only",
@@ -4601,10 +4613,12 @@ var WorkflowTriggerType = {
4601
4613
 
4602
4614
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/manual.ts
4603
4615
  var WorkflowManualTriggerSubType = {
4604
- forSelectedChat: "for_selected_chat"
4616
+ forSelectedChat: "for_selected_chat",
4617
+ forSelectedTicket: "for_selected_ticket"
4605
4618
  };
4606
4619
  var WorkflowManualTriggerSubTypeName = {
4607
- [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual"
4620
+ [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual",
4621
+ [WorkflowManualTriggerSubType.forSelectedTicket]: "text-helpdesk-manual"
4608
4622
  };
4609
4623
 
4610
4624
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/workflowElement.ts
@@ -6030,7 +6044,7 @@ var enrichWorkflowTrigger = (workflow) => {
6030
6044
  trigger.name = "webhook_manual";
6031
6045
  }
6032
6046
  if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.manual) {
6033
- trigger.name = trigger.sub_type === WorkflowManualTriggerSubType.forSelectedChat ? WorkflowManualTriggerSubTypeName[WorkflowManualTriggerSubType.forSelectedChat] : "manual";
6047
+ trigger.name = trigger.sub_type ? WorkflowManualTriggerSubTypeName[trigger.sub_type] : "manual";
6034
6048
  }
6035
6049
  if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.agent) {
6036
6050
  trigger.name = "ai_agent";
@@ -9942,6 +9956,7 @@ function initApi(config, tokens) {
9942
9956
  TicketStatus,
9943
9957
  UnauthorizeAccountsApiError,
9944
9958
  UnauthorizeApiError,
9959
+ WorkflowAgentTriggerSubType,
9945
9960
  WorkflowConditionTaskFieldType,
9946
9961
  WorkflowConditionTaskLogic,
9947
9962
  WorkflowConditionTaskOperator,
@@ -9951,6 +9966,7 @@ function initApi(config, tokens) {
9951
9966
  WorkflowExecutionDefinitionStatus,
9952
9967
  WorkflowExecutionStatus,
9953
9968
  WorkflowExecutionTaskStatus,
9969
+ WorkflowExecutionType,
9954
9970
  WorkflowItemKind,
9955
9971
  WorkflowManualTriggerSubType,
9956
9972
  WorkflowManualTriggerSubTypeName,
package/dist/index.mjs CHANGED
@@ -55,6 +55,7 @@ import {
55
55
  TicketStatus,
56
56
  UnauthorizeAccountsApiError,
57
57
  UnauthorizeApiError,
58
+ WorkflowAgentTriggerSubType,
58
59
  WorkflowConditionTaskFieldType,
59
60
  WorkflowConditionTaskLogic,
60
61
  WorkflowConditionTaskOperator,
@@ -64,6 +65,7 @@ import {
64
65
  WorkflowExecutionDefinitionStatus,
65
66
  WorkflowExecutionStatus,
66
67
  WorkflowExecutionTaskStatus,
68
+ WorkflowExecutionType,
67
69
  WorkflowItemKind,
68
70
  WorkflowManualTriggerSubType,
69
71
  WorkflowManualTriggerSubTypeName,
@@ -193,7 +195,7 @@ import {
193
195
  updateWorkflowsClient,
194
196
  vercelClientInstance,
195
197
  workflowsClientInstance
196
- } from "./chunk-LY5BBKGO.mjs";
198
+ } from "./chunk-EUASOAQ3.mjs";
197
199
  export {
198
200
  ACCOUNT_ID_HEADER,
199
201
  API_NOTIFICATIONS,
@@ -251,6 +253,7 @@ export {
251
253
  TicketStatus,
252
254
  UnauthorizeAccountsApiError,
253
255
  UnauthorizeApiError,
256
+ WorkflowAgentTriggerSubType,
254
257
  WorkflowConditionTaskFieldType,
255
258
  WorkflowConditionTaskLogic,
256
259
  WorkflowConditionTaskOperator,
@@ -260,6 +263,7 @@ export {
260
263
  WorkflowExecutionDefinitionStatus,
261
264
  WorkflowExecutionStatus,
262
265
  WorkflowExecutionTaskStatus,
266
+ WorkflowExecutionType,
263
267
  WorkflowItemKind,
264
268
  WorkflowManualTriggerSubType,
265
269
  WorkflowManualTriggerSubTypeName,
@@ -1,4 +1,4 @@
1
- export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBaseHttpTaskCore, bk as WorkflowBranch, bl as WorkflowBundle, bm as WorkflowConditionTask, bn as WorkflowConditionTaskCondition, bo as WorkflowConditionTaskCore, bp as WorkflowConditionTaskFieldType, bq as WorkflowConditionTaskInput, br as WorkflowConditionTaskLogic, bs as WorkflowConditionTaskOperator, bt as WorkflowConditionTaskOperatorGroup, bu as WorkflowConditionTaskOperatorValueType, bv as WorkflowConstructArrayItem, bw as WorkflowConstructObjectField, bx as WorkflowConstructOutputType, by as WorkflowConstructTask, bz as WorkflowConstructTaskCore, bA as WorkflowConstructTaskDefinitionInputParameters, bB as WorkflowConstructTaskInput, bC as WorkflowConstructTaskInputArray, bD as WorkflowConstructTaskInputObject, bE as WorkflowConvertTask, bF as WorkflowConvertTaskCore, bG as WorkflowConvertTaskDefinitionInputParameters, bH as WorkflowConvertTaskInput, bI as WorkflowConvertTaskInputFilter, bJ as WorkflowConvertTaskInputJoin, bK as WorkflowConvertTaskInputLookup, bL as WorkflowConvertTaskInputPickOmit, bM as WorkflowConvertTaskInputPluck, bN as WorkflowConvertTaskInputReducer, bO as WorkflowConvertTaskInputReplace, bP as WorkflowConvertTaskInputSimple, bQ as WorkflowConvertTaskInputSort, bR as WorkflowConvertTaskInputSplit, bS as WorkflowConvertTaskInputSum, bT as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bU as WorkflowCustomHttpTaskCore, bV as WorkflowCustomTaskName, bW as WorkflowDefinitionDto, bX as WorkflowDoWhileBaseTask, bY as WorkflowDoWhileBaseTaskCore, bZ as WorkflowDoWhileBaseTaskInput, b_ as WorkflowDoWhileTask, b$ as WorkflowDoWhileTaskCore, W as WorkflowDto, c0 as WorkflowElement, c1 as WorkflowElementCore, c2 as WorkflowElementIdentity, c3 as WorkflowElementRef, q as WorkflowExecution, c4 as WorkflowExecutionActionTaskData, c5 as WorkflowExecutionAwaitTaskData, c6 as WorkflowExecutionChatContext, c7 as WorkflowExecutionConditionTask, c8 as WorkflowExecutionConstructTask, c9 as WorkflowExecutionContext, ca as WorkflowExecutionConvertTask, cb as WorkflowExecutionData, cc as WorkflowExecutionDefinitionStatus, cd as WorkflowExecutionDoWhileIterationOutput, ce as WorkflowExecutionDoWhileTaskData, cf as WorkflowExecutionForkJoinTaskData, cg as WorkflowExecutionHttpTaskData, ch as WorkflowExecutionInlineBaseTask, ci as WorkflowExecutionInlineTaskData, cj as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, ck as WorkflowExecutionNotifyAiAgentTaskData, cl as WorkflowExecutionReasoningTaskData, cm as WorkflowExecutionScriptTask, cn as WorkflowExecutionSimpleBaseTaskData, co as WorkflowExecutionSimpleTaskData, cp as WorkflowExecutionStatus, cq as WorkflowExecutionSwitchBaseTask, cr as WorkflowExecutionSwitchCaseTask, cs as WorkflowExecutionSwitchTaskData, ct as WorkflowExecutionTaskBase, cu as WorkflowExecutionTaskData, cv as WorkflowExecutionTaskStatus, cw as WorkflowExecutionTerminateTaskData, cx as WorkflowExecutionTicketContext, cy as WorkflowExecutionTransformBaseTask, cz as WorkflowExecutionTransformTaskData, cA as WorkflowExecutionTriggerData, cB as WorkflowExecutionTriggerDataBase, cC as WorkflowExecutionWaitTaskData, cD as WorkflowForEachTask, cE as WorkflowForEachTaskCore, cF as WorkflowForEachTaskInput, cG as WorkflowForkJoinTask, cH as WorkflowForkJoinTaskCore, cI as WorkflowForkJoinTaskInput, cJ as WorkflowFunctionErrorResponseBody, cK as WorkflowGraph, cL as WorkflowHttpRequest, cM as WorkflowHttpTask, cN as WorkflowHttpTaskCore, cO as WorkflowHttpTaskErrorResponseBody, cP as WorkflowHttpTaskFunctionErrorResponseBody, cQ as WorkflowHttpTaskHeaders, cR as WorkflowHttpTaskInput, cS as WorkflowHttpTaskProviderErrorResponseBody, cT as WorkflowInlineBaseTask, cU as WorkflowInlineBaseTaskCore, cV as WorkflowInlineBaseTaskInput, cW as WorkflowInlineTask, cX as WorkflowInlineTaskCore, r as WorkflowIntrospection, cY as WorkflowItemKind, cZ as WorkflowJoinTask, c_ as WorkflowJoinTaskCore, c$ as WorkflowJoinTaskInput, d0 as WorkflowLoopTask, d1 as WorkflowLoopTaskCore, d2 as WorkflowLoopTaskInput, d3 as WorkflowManualTrigger, d4 as WorkflowManualTriggerCore, d5 as WorkflowManualTriggerParameter, d6 as WorkflowManualTriggerSubType, d7 as WorkflowManualTriggerSubTypeName, d8 as WorkflowNode, d9 as WorkflowNotifyAiAgentTask, da as WorkflowNotifyAiAgentTaskCore, db as WorkflowNotifyAiAgentTaskInput, dc as WorkflowNotifyAiAgentTaskObjectiveInput, dd as WorkflowNotifyAiAgentTaskStrictInput, de as WorkflowOneTimeTrigger, df as WorkflowOneTimeTriggerCore, dg as WorkflowOneTimeTriggerInput, dh as WorkflowParentRef, di as WorkflowPlan, dj as WorkflowPlanTask, dk as WorkflowPlanTrigger, dl as WorkflowReasoningOption, dm as WorkflowReasoningOptionAgent, dn as WorkflowReasoningOptionCustomer, dp as WorkflowReasoningTask, dq as WorkflowReasoningTaskCore, dr as WorkflowReasoningTaskInput, ds as WorkflowRecurringTrigger, dt as WorkflowRecurringTriggerCore, du as WorkflowRecurringTriggerInput, dv as WorkflowScriptTask, dw as WorkflowScriptTaskCore, dx as WorkflowScriptTaskInput, dy as WorkflowSimpleBaseTask, dz as WorkflowSimpleBaseTaskCore, dA as WorkflowSimpleTask, dB as WorkflowSimpleTaskCore, dC as WorkflowSwitchBaseTask, dD as WorkflowSwitchBaseTaskCore, dE as WorkflowSwitchCaseTask, dF as WorkflowSwitchCaseTaskCore, dG as WorkflowSwitchCaseTaskInput, dH as WorkflowSwitchTask, dI as WorkflowSwitchTaskCore, dJ as WorkflowSwitchTaskInput, dK as WorkflowTask, dL as WorkflowTaskBase, dM as WorkflowTaskCore, dN as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dO as WorkflowTaskIntrospection, dP as WorkflowTaskOf, dQ as WorkflowTaskType, z as WorkflowTemplate, dR as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dS as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dT as WorkflowTerminateTask, dU as WorkflowTerminateTaskCore, dV as WorkflowTerminateTaskInput, dW as WorkflowTransformBaseTask, dX as WorkflowTransformBaseTaskCore, dY as WorkflowTransformBaseTaskInput, dZ as WorkflowTransformTask, d_ as WorkflowTransformTaskCore, d$ as WorkflowTrigger, e0 as WorkflowTriggerBase, e1 as WorkflowTriggerCore, e2 as WorkflowTriggerDto, e3 as WorkflowTriggerIdentity, e4 as WorkflowTriggerOf, e5 as WorkflowTriggerType, e6 as WorkflowWaitTask, e7 as WorkflowWaitTaskCore, e8 as WorkflowWaitTaskInput, e9 as WorkflowWebhook, ea as WorkflowWebhookInput, eb as WorkflowWebhookManualTrigger, ec as WorkflowWebhookManualTriggerCore, ed as WorkflowWebhookTrigger, ee as WorkflowWebhookTriggerCore, ef as WorkflowWebhookTriggerPure, ej as getWorkflowApiCrmConfig, ep as isFilter, eq as isFilterGroup, er as isWorkflowBaseHttpTaskCore, et as serializeFilters } from './events-Bp2V0TTp.mjs';
1
+ export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerConfiguration, be as WorkflowAgentTriggerCore, bf as WorkflowAgentTriggerInput, bg as WorkflowAgentTriggerSubType, bh as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bi as WorkflowAwaitTask, bj as WorkflowAwaitTaskCore, bk as WorkflowAwaitTaskInput, bl as WorkflowBaseHttpTaskCore, bm as WorkflowBranch, bn as WorkflowBundle, bo as WorkflowConditionTask, bp as WorkflowConditionTaskCondition, bq as WorkflowConditionTaskCore, br as WorkflowConditionTaskFieldType, bs as WorkflowConditionTaskInput, bt as WorkflowConditionTaskLogic, bu as WorkflowConditionTaskOperator, bv as WorkflowConditionTaskOperatorGroup, bw as WorkflowConditionTaskOperatorValueType, bx as WorkflowConstructArrayItem, by as WorkflowConstructObjectField, bz as WorkflowConstructOutputType, bA as WorkflowConstructTask, bB as WorkflowConstructTaskCore, bC as WorkflowConstructTaskDefinitionInputParameters, bD as WorkflowConstructTaskInput, bE as WorkflowConstructTaskInputArray, bF as WorkflowConstructTaskInputObject, bG as WorkflowConvertTask, bH as WorkflowConvertTaskCore, bI as WorkflowConvertTaskDefinitionInputParameters, bJ as WorkflowConvertTaskInput, bK as WorkflowConvertTaskInputFilter, bL as WorkflowConvertTaskInputJoin, bM as WorkflowConvertTaskInputLookup, bN as WorkflowConvertTaskInputPickOmit, bO as WorkflowConvertTaskInputPluck, bP as WorkflowConvertTaskInputReducer, bQ as WorkflowConvertTaskInputReplace, bR as WorkflowConvertTaskInputSimple, bS as WorkflowConvertTaskInputSort, bT as WorkflowConvertTaskInputSplit, bU as WorkflowConvertTaskInputSum, bV as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bW as WorkflowCustomHttpTaskCore, bX as WorkflowCustomTaskName, bY as WorkflowDefinitionDto, bZ as WorkflowDoWhileBaseTask, b_ as WorkflowDoWhileBaseTaskCore, b$ as WorkflowDoWhileBaseTaskInput, c0 as WorkflowDoWhileTask, c1 as WorkflowDoWhileTaskCore, W as WorkflowDto, c2 as WorkflowElement, c3 as WorkflowElementCore, c4 as WorkflowElementIdentity, c5 as WorkflowElementRef, q as WorkflowExecution, c6 as WorkflowExecutionActionTaskData, c7 as WorkflowExecutionAwaitTaskData, c8 as WorkflowExecutionChatContext, c9 as WorkflowExecutionConditionTask, ca as WorkflowExecutionConstructTask, cb as WorkflowExecutionContext, cc as WorkflowExecutionConvertTask, cd as WorkflowExecutionData, ce as WorkflowExecutionDefinitionStatus, cf as WorkflowExecutionDoWhileIterationOutput, cg as WorkflowExecutionDoWhileTaskData, ch as WorkflowExecutionForkJoinTaskData, ci as WorkflowExecutionHttpTaskData, cj as WorkflowExecutionInlineBaseTask, ck as WorkflowExecutionInlineTaskData, cl as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, cm as WorkflowExecutionNotifyAiAgentTaskData, cn as WorkflowExecutionReasoningTaskData, co as WorkflowExecutionScriptTask, cp as WorkflowExecutionSimpleBaseTaskData, cq as WorkflowExecutionSimpleTaskData, cr as WorkflowExecutionStatus, cs as WorkflowExecutionSwitchBaseTask, ct as WorkflowExecutionSwitchCaseTask, cu as WorkflowExecutionSwitchTaskData, cv as WorkflowExecutionTaskBase, cw as WorkflowExecutionTaskData, cx as WorkflowExecutionTaskStatus, cy as WorkflowExecutionTerminateTaskData, cz as WorkflowExecutionTicketContext, cA as WorkflowExecutionTransformBaseTask, cB as WorkflowExecutionTransformTaskData, cC as WorkflowExecutionTriggerData, cD as WorkflowExecutionTriggerDataBase, cE as WorkflowExecutionType, cF as WorkflowExecutionWaitTaskData, cG as WorkflowForEachTask, cH as WorkflowForEachTaskCore, cI as WorkflowForEachTaskInput, cJ as WorkflowForkJoinTask, cK as WorkflowForkJoinTaskCore, cL as WorkflowForkJoinTaskInput, cM as WorkflowFunctionErrorResponseBody, cN as WorkflowGraph, cO as WorkflowHttpRequest, cP as WorkflowHttpTask, cQ as WorkflowHttpTaskCore, cR as WorkflowHttpTaskErrorResponseBody, cS as WorkflowHttpTaskFunctionErrorResponseBody, cT as WorkflowHttpTaskHeaders, cU as WorkflowHttpTaskInput, cV as WorkflowHttpTaskProviderErrorResponseBody, cW as WorkflowInlineBaseTask, cX as WorkflowInlineBaseTaskCore, cY as WorkflowInlineBaseTaskInput, cZ as WorkflowInlineTask, c_ as WorkflowInlineTaskCore, r as WorkflowIntrospection, c$ as WorkflowItemKind, d0 as WorkflowJoinTask, d1 as WorkflowJoinTaskCore, d2 as WorkflowJoinTaskInput, d3 as WorkflowLoopTask, d4 as WorkflowLoopTaskCore, d5 as WorkflowLoopTaskInput, d6 as WorkflowManualTrigger, d7 as WorkflowManualTriggerCore, d8 as WorkflowManualTriggerParameter, d9 as WorkflowManualTriggerSubType, da as WorkflowManualTriggerSubTypeName, db as WorkflowNode, dc as WorkflowNotifyAiAgentTask, dd as WorkflowNotifyAiAgentTaskCore, de as WorkflowNotifyAiAgentTaskInput, df as WorkflowNotifyAiAgentTaskObjectiveInput, dg as WorkflowNotifyAiAgentTaskStrictInput, dh as WorkflowOneTimeTrigger, di as WorkflowOneTimeTriggerCore, dj as WorkflowOneTimeTriggerInput, dk as WorkflowParentRef, dl as WorkflowPlan, dm as WorkflowPlanTask, dn as WorkflowPlanTrigger, dp as WorkflowReasoningOption, dq as WorkflowReasoningOptionAgent, dr as WorkflowReasoningOptionCustomer, ds as WorkflowReasoningTask, dt as WorkflowReasoningTaskCore, du as WorkflowReasoningTaskInput, dv as WorkflowRecurringTrigger, dw as WorkflowRecurringTriggerCore, dx as WorkflowRecurringTriggerInput, dy as WorkflowScriptTask, dz as WorkflowScriptTaskCore, dA as WorkflowScriptTaskInput, dB as WorkflowSimpleBaseTask, dC as WorkflowSimpleBaseTaskCore, dD as WorkflowSimpleTask, dE as WorkflowSimpleTaskCore, dF as WorkflowSwitchBaseTask, dG as WorkflowSwitchBaseTaskCore, dH as WorkflowSwitchCaseTask, dI as WorkflowSwitchCaseTaskCore, dJ as WorkflowSwitchCaseTaskInput, dK as WorkflowSwitchTask, dL as WorkflowSwitchTaskCore, dM as WorkflowSwitchTaskInput, dN as WorkflowTask, dO as WorkflowTaskBase, dP as WorkflowTaskCore, dQ as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dR as WorkflowTaskIntrospection, dS as WorkflowTaskOf, dT as WorkflowTaskType, z as WorkflowTemplate, dU as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dV as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dW as WorkflowTerminateTask, dX as WorkflowTerminateTaskCore, dY as WorkflowTerminateTaskInput, dZ as WorkflowTransformBaseTask, d_ as WorkflowTransformBaseTaskCore, d$ as WorkflowTransformBaseTaskInput, e0 as WorkflowTransformTask, e1 as WorkflowTransformTaskCore, e2 as WorkflowTrigger, e3 as WorkflowTriggerBase, e4 as WorkflowTriggerCore, e5 as WorkflowTriggerDto, e6 as WorkflowTriggerIdentity, e7 as WorkflowTriggerOf, e8 as WorkflowTriggerType, e9 as WorkflowWaitTask, ea as WorkflowWaitTaskCore, eb as WorkflowWaitTaskInput, ec as WorkflowWebhook, ed as WorkflowWebhookInput, ee as WorkflowWebhookManualTrigger, ef as WorkflowWebhookManualTriggerCore, eg as WorkflowWebhookTrigger, eh as WorkflowWebhookTriggerCore, ei as WorkflowWebhookTriggerPure, em as getWorkflowApiCrmConfig, es as isFilter, et as isFilterGroup, eu as isWorkflowBaseHttpTaskCore, ew as serializeFilters } from './events-DbCzl1U5.mjs';
2
2
  import 'utils';
3
3
  import 'json-schema';
4
4
  import 'zod';
@@ -1,4 +1,4 @@
1
- export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBaseHttpTaskCore, bk as WorkflowBranch, bl as WorkflowBundle, bm as WorkflowConditionTask, bn as WorkflowConditionTaskCondition, bo as WorkflowConditionTaskCore, bp as WorkflowConditionTaskFieldType, bq as WorkflowConditionTaskInput, br as WorkflowConditionTaskLogic, bs as WorkflowConditionTaskOperator, bt as WorkflowConditionTaskOperatorGroup, bu as WorkflowConditionTaskOperatorValueType, bv as WorkflowConstructArrayItem, bw as WorkflowConstructObjectField, bx as WorkflowConstructOutputType, by as WorkflowConstructTask, bz as WorkflowConstructTaskCore, bA as WorkflowConstructTaskDefinitionInputParameters, bB as WorkflowConstructTaskInput, bC as WorkflowConstructTaskInputArray, bD as WorkflowConstructTaskInputObject, bE as WorkflowConvertTask, bF as WorkflowConvertTaskCore, bG as WorkflowConvertTaskDefinitionInputParameters, bH as WorkflowConvertTaskInput, bI as WorkflowConvertTaskInputFilter, bJ as WorkflowConvertTaskInputJoin, bK as WorkflowConvertTaskInputLookup, bL as WorkflowConvertTaskInputPickOmit, bM as WorkflowConvertTaskInputPluck, bN as WorkflowConvertTaskInputReducer, bO as WorkflowConvertTaskInputReplace, bP as WorkflowConvertTaskInputSimple, bQ as WorkflowConvertTaskInputSort, bR as WorkflowConvertTaskInputSplit, bS as WorkflowConvertTaskInputSum, bT as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bU as WorkflowCustomHttpTaskCore, bV as WorkflowCustomTaskName, bW as WorkflowDefinitionDto, bX as WorkflowDoWhileBaseTask, bY as WorkflowDoWhileBaseTaskCore, bZ as WorkflowDoWhileBaseTaskInput, b_ as WorkflowDoWhileTask, b$ as WorkflowDoWhileTaskCore, W as WorkflowDto, c0 as WorkflowElement, c1 as WorkflowElementCore, c2 as WorkflowElementIdentity, c3 as WorkflowElementRef, q as WorkflowExecution, c4 as WorkflowExecutionActionTaskData, c5 as WorkflowExecutionAwaitTaskData, c6 as WorkflowExecutionChatContext, c7 as WorkflowExecutionConditionTask, c8 as WorkflowExecutionConstructTask, c9 as WorkflowExecutionContext, ca as WorkflowExecutionConvertTask, cb as WorkflowExecutionData, cc as WorkflowExecutionDefinitionStatus, cd as WorkflowExecutionDoWhileIterationOutput, ce as WorkflowExecutionDoWhileTaskData, cf as WorkflowExecutionForkJoinTaskData, cg as WorkflowExecutionHttpTaskData, ch as WorkflowExecutionInlineBaseTask, ci as WorkflowExecutionInlineTaskData, cj as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, ck as WorkflowExecutionNotifyAiAgentTaskData, cl as WorkflowExecutionReasoningTaskData, cm as WorkflowExecutionScriptTask, cn as WorkflowExecutionSimpleBaseTaskData, co as WorkflowExecutionSimpleTaskData, cp as WorkflowExecutionStatus, cq as WorkflowExecutionSwitchBaseTask, cr as WorkflowExecutionSwitchCaseTask, cs as WorkflowExecutionSwitchTaskData, ct as WorkflowExecutionTaskBase, cu as WorkflowExecutionTaskData, cv as WorkflowExecutionTaskStatus, cw as WorkflowExecutionTerminateTaskData, cx as WorkflowExecutionTicketContext, cy as WorkflowExecutionTransformBaseTask, cz as WorkflowExecutionTransformTaskData, cA as WorkflowExecutionTriggerData, cB as WorkflowExecutionTriggerDataBase, cC as WorkflowExecutionWaitTaskData, cD as WorkflowForEachTask, cE as WorkflowForEachTaskCore, cF as WorkflowForEachTaskInput, cG as WorkflowForkJoinTask, cH as WorkflowForkJoinTaskCore, cI as WorkflowForkJoinTaskInput, cJ as WorkflowFunctionErrorResponseBody, cK as WorkflowGraph, cL as WorkflowHttpRequest, cM as WorkflowHttpTask, cN as WorkflowHttpTaskCore, cO as WorkflowHttpTaskErrorResponseBody, cP as WorkflowHttpTaskFunctionErrorResponseBody, cQ as WorkflowHttpTaskHeaders, cR as WorkflowHttpTaskInput, cS as WorkflowHttpTaskProviderErrorResponseBody, cT as WorkflowInlineBaseTask, cU as WorkflowInlineBaseTaskCore, cV as WorkflowInlineBaseTaskInput, cW as WorkflowInlineTask, cX as WorkflowInlineTaskCore, r as WorkflowIntrospection, cY as WorkflowItemKind, cZ as WorkflowJoinTask, c_ as WorkflowJoinTaskCore, c$ as WorkflowJoinTaskInput, d0 as WorkflowLoopTask, d1 as WorkflowLoopTaskCore, d2 as WorkflowLoopTaskInput, d3 as WorkflowManualTrigger, d4 as WorkflowManualTriggerCore, d5 as WorkflowManualTriggerParameter, d6 as WorkflowManualTriggerSubType, d7 as WorkflowManualTriggerSubTypeName, d8 as WorkflowNode, d9 as WorkflowNotifyAiAgentTask, da as WorkflowNotifyAiAgentTaskCore, db as WorkflowNotifyAiAgentTaskInput, dc as WorkflowNotifyAiAgentTaskObjectiveInput, dd as WorkflowNotifyAiAgentTaskStrictInput, de as WorkflowOneTimeTrigger, df as WorkflowOneTimeTriggerCore, dg as WorkflowOneTimeTriggerInput, dh as WorkflowParentRef, di as WorkflowPlan, dj as WorkflowPlanTask, dk as WorkflowPlanTrigger, dl as WorkflowReasoningOption, dm as WorkflowReasoningOptionAgent, dn as WorkflowReasoningOptionCustomer, dp as WorkflowReasoningTask, dq as WorkflowReasoningTaskCore, dr as WorkflowReasoningTaskInput, ds as WorkflowRecurringTrigger, dt as WorkflowRecurringTriggerCore, du as WorkflowRecurringTriggerInput, dv as WorkflowScriptTask, dw as WorkflowScriptTaskCore, dx as WorkflowScriptTaskInput, dy as WorkflowSimpleBaseTask, dz as WorkflowSimpleBaseTaskCore, dA as WorkflowSimpleTask, dB as WorkflowSimpleTaskCore, dC as WorkflowSwitchBaseTask, dD as WorkflowSwitchBaseTaskCore, dE as WorkflowSwitchCaseTask, dF as WorkflowSwitchCaseTaskCore, dG as WorkflowSwitchCaseTaskInput, dH as WorkflowSwitchTask, dI as WorkflowSwitchTaskCore, dJ as WorkflowSwitchTaskInput, dK as WorkflowTask, dL as WorkflowTaskBase, dM as WorkflowTaskCore, dN as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dO as WorkflowTaskIntrospection, dP as WorkflowTaskOf, dQ as WorkflowTaskType, z as WorkflowTemplate, dR as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dS as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dT as WorkflowTerminateTask, dU as WorkflowTerminateTaskCore, dV as WorkflowTerminateTaskInput, dW as WorkflowTransformBaseTask, dX as WorkflowTransformBaseTaskCore, dY as WorkflowTransformBaseTaskInput, dZ as WorkflowTransformTask, d_ as WorkflowTransformTaskCore, d$ as WorkflowTrigger, e0 as WorkflowTriggerBase, e1 as WorkflowTriggerCore, e2 as WorkflowTriggerDto, e3 as WorkflowTriggerIdentity, e4 as WorkflowTriggerOf, e5 as WorkflowTriggerType, e6 as WorkflowWaitTask, e7 as WorkflowWaitTaskCore, e8 as WorkflowWaitTaskInput, e9 as WorkflowWebhook, ea as WorkflowWebhookInput, eb as WorkflowWebhookManualTrigger, ec as WorkflowWebhookManualTriggerCore, ed as WorkflowWebhookTrigger, ee as WorkflowWebhookTriggerCore, ef as WorkflowWebhookTriggerPure, ej as getWorkflowApiCrmConfig, ep as isFilter, eq as isFilterGroup, er as isWorkflowBaseHttpTaskCore, et as serializeFilters } from './events-Bp2V0TTp.js';
1
+ export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerConfiguration, be as WorkflowAgentTriggerCore, bf as WorkflowAgentTriggerInput, bg as WorkflowAgentTriggerSubType, bh as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bi as WorkflowAwaitTask, bj as WorkflowAwaitTaskCore, bk as WorkflowAwaitTaskInput, bl as WorkflowBaseHttpTaskCore, bm as WorkflowBranch, bn as WorkflowBundle, bo as WorkflowConditionTask, bp as WorkflowConditionTaskCondition, bq as WorkflowConditionTaskCore, br as WorkflowConditionTaskFieldType, bs as WorkflowConditionTaskInput, bt as WorkflowConditionTaskLogic, bu as WorkflowConditionTaskOperator, bv as WorkflowConditionTaskOperatorGroup, bw as WorkflowConditionTaskOperatorValueType, bx as WorkflowConstructArrayItem, by as WorkflowConstructObjectField, bz as WorkflowConstructOutputType, bA as WorkflowConstructTask, bB as WorkflowConstructTaskCore, bC as WorkflowConstructTaskDefinitionInputParameters, bD as WorkflowConstructTaskInput, bE as WorkflowConstructTaskInputArray, bF as WorkflowConstructTaskInputObject, bG as WorkflowConvertTask, bH as WorkflowConvertTaskCore, bI as WorkflowConvertTaskDefinitionInputParameters, bJ as WorkflowConvertTaskInput, bK as WorkflowConvertTaskInputFilter, bL as WorkflowConvertTaskInputJoin, bM as WorkflowConvertTaskInputLookup, bN as WorkflowConvertTaskInputPickOmit, bO as WorkflowConvertTaskInputPluck, bP as WorkflowConvertTaskInputReducer, bQ as WorkflowConvertTaskInputReplace, bR as WorkflowConvertTaskInputSimple, bS as WorkflowConvertTaskInputSort, bT as WorkflowConvertTaskInputSplit, bU as WorkflowConvertTaskInputSum, bV as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bW as WorkflowCustomHttpTaskCore, bX as WorkflowCustomTaskName, bY as WorkflowDefinitionDto, bZ as WorkflowDoWhileBaseTask, b_ as WorkflowDoWhileBaseTaskCore, b$ as WorkflowDoWhileBaseTaskInput, c0 as WorkflowDoWhileTask, c1 as WorkflowDoWhileTaskCore, W as WorkflowDto, c2 as WorkflowElement, c3 as WorkflowElementCore, c4 as WorkflowElementIdentity, c5 as WorkflowElementRef, q as WorkflowExecution, c6 as WorkflowExecutionActionTaskData, c7 as WorkflowExecutionAwaitTaskData, c8 as WorkflowExecutionChatContext, c9 as WorkflowExecutionConditionTask, ca as WorkflowExecutionConstructTask, cb as WorkflowExecutionContext, cc as WorkflowExecutionConvertTask, cd as WorkflowExecutionData, ce as WorkflowExecutionDefinitionStatus, cf as WorkflowExecutionDoWhileIterationOutput, cg as WorkflowExecutionDoWhileTaskData, ch as WorkflowExecutionForkJoinTaskData, ci as WorkflowExecutionHttpTaskData, cj as WorkflowExecutionInlineBaseTask, ck as WorkflowExecutionInlineTaskData, cl as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, cm as WorkflowExecutionNotifyAiAgentTaskData, cn as WorkflowExecutionReasoningTaskData, co as WorkflowExecutionScriptTask, cp as WorkflowExecutionSimpleBaseTaskData, cq as WorkflowExecutionSimpleTaskData, cr as WorkflowExecutionStatus, cs as WorkflowExecutionSwitchBaseTask, ct as WorkflowExecutionSwitchCaseTask, cu as WorkflowExecutionSwitchTaskData, cv as WorkflowExecutionTaskBase, cw as WorkflowExecutionTaskData, cx as WorkflowExecutionTaskStatus, cy as WorkflowExecutionTerminateTaskData, cz as WorkflowExecutionTicketContext, cA as WorkflowExecutionTransformBaseTask, cB as WorkflowExecutionTransformTaskData, cC as WorkflowExecutionTriggerData, cD as WorkflowExecutionTriggerDataBase, cE as WorkflowExecutionType, cF as WorkflowExecutionWaitTaskData, cG as WorkflowForEachTask, cH as WorkflowForEachTaskCore, cI as WorkflowForEachTaskInput, cJ as WorkflowForkJoinTask, cK as WorkflowForkJoinTaskCore, cL as WorkflowForkJoinTaskInput, cM as WorkflowFunctionErrorResponseBody, cN as WorkflowGraph, cO as WorkflowHttpRequest, cP as WorkflowHttpTask, cQ as WorkflowHttpTaskCore, cR as WorkflowHttpTaskErrorResponseBody, cS as WorkflowHttpTaskFunctionErrorResponseBody, cT as WorkflowHttpTaskHeaders, cU as WorkflowHttpTaskInput, cV as WorkflowHttpTaskProviderErrorResponseBody, cW as WorkflowInlineBaseTask, cX as WorkflowInlineBaseTaskCore, cY as WorkflowInlineBaseTaskInput, cZ as WorkflowInlineTask, c_ as WorkflowInlineTaskCore, r as WorkflowIntrospection, c$ as WorkflowItemKind, d0 as WorkflowJoinTask, d1 as WorkflowJoinTaskCore, d2 as WorkflowJoinTaskInput, d3 as WorkflowLoopTask, d4 as WorkflowLoopTaskCore, d5 as WorkflowLoopTaskInput, d6 as WorkflowManualTrigger, d7 as WorkflowManualTriggerCore, d8 as WorkflowManualTriggerParameter, d9 as WorkflowManualTriggerSubType, da as WorkflowManualTriggerSubTypeName, db as WorkflowNode, dc as WorkflowNotifyAiAgentTask, dd as WorkflowNotifyAiAgentTaskCore, de as WorkflowNotifyAiAgentTaskInput, df as WorkflowNotifyAiAgentTaskObjectiveInput, dg as WorkflowNotifyAiAgentTaskStrictInput, dh as WorkflowOneTimeTrigger, di as WorkflowOneTimeTriggerCore, dj as WorkflowOneTimeTriggerInput, dk as WorkflowParentRef, dl as WorkflowPlan, dm as WorkflowPlanTask, dn as WorkflowPlanTrigger, dp as WorkflowReasoningOption, dq as WorkflowReasoningOptionAgent, dr as WorkflowReasoningOptionCustomer, ds as WorkflowReasoningTask, dt as WorkflowReasoningTaskCore, du as WorkflowReasoningTaskInput, dv as WorkflowRecurringTrigger, dw as WorkflowRecurringTriggerCore, dx as WorkflowRecurringTriggerInput, dy as WorkflowScriptTask, dz as WorkflowScriptTaskCore, dA as WorkflowScriptTaskInput, dB as WorkflowSimpleBaseTask, dC as WorkflowSimpleBaseTaskCore, dD as WorkflowSimpleTask, dE as WorkflowSimpleTaskCore, dF as WorkflowSwitchBaseTask, dG as WorkflowSwitchBaseTaskCore, dH as WorkflowSwitchCaseTask, dI as WorkflowSwitchCaseTaskCore, dJ as WorkflowSwitchCaseTaskInput, dK as WorkflowSwitchTask, dL as WorkflowSwitchTaskCore, dM as WorkflowSwitchTaskInput, dN as WorkflowTask, dO as WorkflowTaskBase, dP as WorkflowTaskCore, dQ as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dR as WorkflowTaskIntrospection, dS as WorkflowTaskOf, dT as WorkflowTaskType, z as WorkflowTemplate, dU as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dV as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dW as WorkflowTerminateTask, dX as WorkflowTerminateTaskCore, dY as WorkflowTerminateTaskInput, dZ as WorkflowTransformBaseTask, d_ as WorkflowTransformBaseTaskCore, d$ as WorkflowTransformBaseTaskInput, e0 as WorkflowTransformTask, e1 as WorkflowTransformTaskCore, e2 as WorkflowTrigger, e3 as WorkflowTriggerBase, e4 as WorkflowTriggerCore, e5 as WorkflowTriggerDto, e6 as WorkflowTriggerIdentity, e7 as WorkflowTriggerOf, e8 as WorkflowTriggerType, e9 as WorkflowWaitTask, ea as WorkflowWaitTaskCore, eb as WorkflowWaitTaskInput, ec as WorkflowWebhook, ed as WorkflowWebhookInput, ee as WorkflowWebhookManualTrigger, ef as WorkflowWebhookManualTriggerCore, eg as WorkflowWebhookTrigger, eh as WorkflowWebhookTriggerCore, ei as WorkflowWebhookTriggerPure, em as getWorkflowApiCrmConfig, es as isFilter, et as isFilterGroup, eu as isWorkflowBaseHttpTaskCore, ew as serializeFilters } from './events-DbCzl1U5.js';
2
2
  import 'utils';
3
3
  import 'json-schema';
4
4
  import 'zod';
@@ -74,6 +74,7 @@ __export(contracts_exports, {
74
74
  SortBy: () => SortBy,
75
75
  SortOrder: () => SortOrder,
76
76
  TRIGGER_REFERENCE_NAME: () => TRIGGER_REFERENCE_NAME,
77
+ WorkflowAgentTriggerSubType: () => WorkflowAgentTriggerSubType,
77
78
  WorkflowConditionTaskFieldType: () => WorkflowConditionTaskFieldType,
78
79
  WorkflowConditionTaskLogic: () => WorkflowConditionTaskLogic,
79
80
  WorkflowConditionTaskOperator: () => WorkflowConditionTaskOperator,
@@ -83,6 +84,7 @@ __export(contracts_exports, {
83
84
  WorkflowExecutionDefinitionStatus: () => WorkflowExecutionDefinitionStatus,
84
85
  WorkflowExecutionStatus: () => WorkflowExecutionStatus,
85
86
  WorkflowExecutionTaskStatus: () => WorkflowExecutionTaskStatus,
87
+ WorkflowExecutionType: () => WorkflowExecutionType,
86
88
  WorkflowItemKind: () => WorkflowItemKind,
87
89
  WorkflowManualTriggerSubType: () => WorkflowManualTriggerSubType,
88
90
  WorkflowManualTriggerSubTypeName: () => WorkflowManualTriggerSubTypeName,
@@ -300,6 +302,16 @@ var WorkflowConditionTaskFieldType = /* @__PURE__ */ ((WorkflowConditionTaskFiel
300
302
  return WorkflowConditionTaskFieldType2;
301
303
  })(WorkflowConditionTaskFieldType || {});
302
304
 
305
+ // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/agent.ts
306
+ var WorkflowAgentTriggerSubType = {
307
+ chat: "chat"
308
+ };
309
+ var WorkflowExecutionType = {
310
+ conversational: "conversational",
311
+ background: "background",
312
+ hybrid: "hybrid"
313
+ };
314
+
303
315
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/base.ts
304
316
  var WorkflowTriggerType = {
305
317
  manual: "manual_only",
@@ -312,10 +324,12 @@ var WorkflowTriggerType = {
312
324
 
313
325
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/manual.ts
314
326
  var WorkflowManualTriggerSubType = {
315
- forSelectedChat: "for_selected_chat"
327
+ forSelectedChat: "for_selected_chat",
328
+ forSelectedTicket: "for_selected_ticket"
316
329
  };
317
330
  var WorkflowManualTriggerSubTypeName = {
318
- [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual"
331
+ [WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual",
332
+ [WorkflowManualTriggerSubType.forSelectedTicket]: "text-helpdesk-manual"
319
333
  };
320
334
 
321
335
  // src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/workflowElement.ts
@@ -2273,6 +2287,7 @@ function getWorkflowApiCrmConfig(authorization) {
2273
2287
  SortBy,
2274
2288
  SortOrder,
2275
2289
  TRIGGER_REFERENCE_NAME,
2290
+ WorkflowAgentTriggerSubType,
2276
2291
  WorkflowConditionTaskFieldType,
2277
2292
  WorkflowConditionTaskLogic,
2278
2293
  WorkflowConditionTaskOperator,
@@ -2282,6 +2297,7 @@ function getWorkflowApiCrmConfig(authorization) {
2282
2297
  WorkflowExecutionDefinitionStatus,
2283
2298
  WorkflowExecutionStatus,
2284
2299
  WorkflowExecutionTaskStatus,
2300
+ WorkflowExecutionType,
2285
2301
  WorkflowItemKind,
2286
2302
  WorkflowManualTriggerSubType,
2287
2303
  WorkflowManualTriggerSubTypeName,
@@ -6,6 +6,7 @@ import {
6
6
  SortBy,
7
7
  SortOrder,
8
8
  TRIGGER_REFERENCE_NAME,
9
+ WorkflowAgentTriggerSubType,
9
10
  WorkflowConditionTaskFieldType,
10
11
  WorkflowConditionTaskLogic,
11
12
  WorkflowConditionTaskOperator,
@@ -15,6 +16,7 @@ import {
15
16
  WorkflowExecutionDefinitionStatus,
16
17
  WorkflowExecutionStatus,
17
18
  WorkflowExecutionTaskStatus,
19
+ WorkflowExecutionType,
18
20
  WorkflowItemKind,
19
21
  WorkflowManualTriggerSubType,
20
22
  WorkflowManualTriggerSubTypeName,
@@ -26,7 +28,7 @@ import {
26
28
  isFilterGroup,
27
29
  isWorkflowBaseHttpTaskCore,
28
30
  serializeFilters
29
- } from "./chunk-LY5BBKGO.mjs";
31
+ } from "./chunk-EUASOAQ3.mjs";
30
32
  export {
31
33
  CredentialStatus,
32
34
  CredentialType,
@@ -35,6 +37,7 @@ export {
35
37
  SortBy,
36
38
  SortOrder,
37
39
  TRIGGER_REFERENCE_NAME,
40
+ WorkflowAgentTriggerSubType,
38
41
  WorkflowConditionTaskFieldType,
39
42
  WorkflowConditionTaskLogic,
40
43
  WorkflowConditionTaskOperator,
@@ -44,6 +47,7 @@ export {
44
47
  WorkflowExecutionDefinitionStatus,
45
48
  WorkflowExecutionStatus,
46
49
  WorkflowExecutionTaskStatus,
50
+ WorkflowExecutionType,
47
51
  WorkflowItemKind,
48
52
  WorkflowManualTriggerSubType,
49
53
  WorkflowManualTriggerSubTypeName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "5.3.5-beta.generator.8",
3
+ "version": "5.4.0-beta.generator.13",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "typescript": "^5.1.6",
40
40
  "eslint-config-custom": "0.0.14",
41
41
  "utils": "0.3.2",
42
- "tsconfig": "0.1.0"
42
+ "tsconfig": "0.2.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsup",