@livechat/developer-studio-api 5.3.1-beta.generator.v4 → 5.3.5-beta.generator.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WXTWJG7Z.mjs → chunk-VGUQCDSA.mjs} +39 -14
- package/dist/{events-D6Wj4603.d.mts → events-DbCzl1U5.d.mts} +50 -12
- package/dist/{events-D6Wj4603.d.ts → events-DbCzl1U5.d.ts} +50 -12
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +596 -568
- package/dist/index.mjs +9 -3
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +29 -27
- package/dist/workflow-contracts.mjs +9 -3
- package/package.json +3 -3
|
@@ -49,7 +49,7 @@ var isFilter = (filter) => {
|
|
|
49
49
|
// src/apis/integrations/text/platform/workflow/_contracts/filters/serialize.ts
|
|
50
50
|
var convertValueToString = (value) => {
|
|
51
51
|
if (typeof value === "string") {
|
|
52
|
-
return `"${value}"`;
|
|
52
|
+
return `"${value.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
53
53
|
}
|
|
54
54
|
if (value === null) {
|
|
55
55
|
return "null";
|
|
@@ -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",
|
|
@@ -251,6 +261,16 @@ var WorkflowTriggerType = {
|
|
|
251
261
|
webhookManual: "webhook_manual"
|
|
252
262
|
};
|
|
253
263
|
|
|
264
|
+
// src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/manual.ts
|
|
265
|
+
var WorkflowManualTriggerSubType = {
|
|
266
|
+
forSelectedChat: "for_selected_chat",
|
|
267
|
+
forSelectedTicket: "for_selected_ticket"
|
|
268
|
+
};
|
|
269
|
+
var WorkflowManualTriggerSubTypeName = {
|
|
270
|
+
[WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual",
|
|
271
|
+
[WorkflowManualTriggerSubType.forSelectedTicket]: "text-helpdesk-manual"
|
|
272
|
+
};
|
|
273
|
+
|
|
254
274
|
// src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/workflowElement.ts
|
|
255
275
|
var TRIGGER_REFERENCE_NAME = "trigger";
|
|
256
276
|
|
|
@@ -5589,23 +5609,25 @@ var textPlatformWorkflowsInternalApi = {
|
|
|
5589
5609
|
|
|
5590
5610
|
// src/apis/integrations/text/platform/workflow/workflows/api.ts
|
|
5591
5611
|
var enrichWorkflowTrigger = (workflow) => {
|
|
5592
|
-
var _a, _b, _c
|
|
5593
|
-
|
|
5594
|
-
|
|
5612
|
+
var _a, _b, _c;
|
|
5613
|
+
const trigger = workflow.trigger;
|
|
5614
|
+
if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.webhook && "webhook" in trigger) {
|
|
5615
|
+
const webhookTrigger = trigger;
|
|
5616
|
+
webhookTrigger.name = (_b = webhookTrigger.sub_type) != null ? _b : `${webhookTrigger.webhook.source}-${(_a = webhookTrigger.webhook.event) == null ? void 0 : _a.name}`;
|
|
5595
5617
|
}
|
|
5596
|
-
if ((
|
|
5597
|
-
|
|
5618
|
+
if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.webhookManual) {
|
|
5619
|
+
trigger.name = "webhook_manual";
|
|
5598
5620
|
}
|
|
5599
|
-
if ((
|
|
5600
|
-
|
|
5621
|
+
if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.manual) {
|
|
5622
|
+
trigger.name = trigger.sub_type ? WorkflowManualTriggerSubTypeName[trigger.sub_type] : "manual";
|
|
5601
5623
|
}
|
|
5602
|
-
if ((
|
|
5603
|
-
|
|
5624
|
+
if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.agent) {
|
|
5625
|
+
trigger.name = "ai_agent";
|
|
5604
5626
|
}
|
|
5605
|
-
if ((
|
|
5606
|
-
|
|
5627
|
+
if ((trigger == null ? void 0 : trigger.type) === WorkflowTriggerType.recurring) {
|
|
5628
|
+
trigger.name = "scheduled";
|
|
5607
5629
|
}
|
|
5608
|
-
if (((
|
|
5630
|
+
if (((_c = workflow.trigger) == null ? void 0 : _c.type) === WorkflowTriggerType.oneTime) {
|
|
5609
5631
|
workflow.trigger.name = "one_time";
|
|
5610
5632
|
}
|
|
5611
5633
|
return workflow;
|
|
@@ -9764,7 +9786,11 @@ export {
|
|
|
9764
9786
|
WorkflowConditionTaskOperatorValueType,
|
|
9765
9787
|
WorkflowConditionTaskOperatorGroup,
|
|
9766
9788
|
WorkflowConditionTaskFieldType,
|
|
9789
|
+
WorkflowAgentTriggerSubType,
|
|
9790
|
+
WorkflowExecutionType,
|
|
9767
9791
|
WorkflowTriggerType,
|
|
9792
|
+
WorkflowManualTriggerSubType,
|
|
9793
|
+
WorkflowManualTriggerSubTypeName,
|
|
9768
9794
|
TRIGGER_REFERENCE_NAME,
|
|
9769
9795
|
WorkflowExecutionStatus,
|
|
9770
9796
|
WorkflowExecutionDefinitionStatus,
|
|
@@ -9783,7 +9809,6 @@ export {
|
|
|
9783
9809
|
SERVICE_ORGANIZATION_ID_HEADER,
|
|
9784
9810
|
API_NOTIFICATIONS,
|
|
9785
9811
|
getWorkflowApiCrmConfig,
|
|
9786
|
-
enrichWorkflowTrigger,
|
|
9787
9812
|
getVercelClientAuthorization,
|
|
9788
9813
|
vercelClientInstance,
|
|
9789
9814
|
getVercelClientConfig,
|
|
@@ -329,19 +329,33 @@ type ExternalResourceConfig = ExternalResourceReference & {
|
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
+
declare const WorkflowManualTriggerSubType: {
|
|
333
|
+
readonly forSelectedChat: "for_selected_chat";
|
|
334
|
+
readonly forSelectedTicket: "for_selected_ticket";
|
|
335
|
+
};
|
|
336
|
+
type WorkflowManualTriggerSubType = (typeof WorkflowManualTriggerSubType)[keyof typeof WorkflowManualTriggerSubType];
|
|
337
|
+
declare const WorkflowManualTriggerSubTypeName: {
|
|
338
|
+
readonly for_selected_chat: "text-livechat-manual";
|
|
339
|
+
readonly for_selected_ticket: "text-helpdesk-manual";
|
|
340
|
+
};
|
|
332
341
|
type WorkflowManualTriggerParameter = {
|
|
333
342
|
name: string;
|
|
334
343
|
type: 'string' | 'number' | 'boolean' | 'references/livechat_chat' | 'references/livechat_thread' | 'references/helpdesk_ticket';
|
|
335
344
|
};
|
|
336
|
-
type WorkflowManualTriggerInput = JSONSchema7;
|
|
337
345
|
type WorkflowManualTriggerCore = WorkflowTriggerIdentity & {
|
|
338
346
|
type: typeof WorkflowTriggerType.manual;
|
|
339
|
-
|
|
347
|
+
sub_type?: WorkflowManualTriggerSubType;
|
|
348
|
+
input?: JSONSchema7;
|
|
340
349
|
};
|
|
341
350
|
type WorkflowManualTrigger = WorkflowTriggerBase & {
|
|
342
351
|
type: typeof WorkflowTriggerType.manual;
|
|
352
|
+
} & ({
|
|
353
|
+
sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat | typeof WorkflowManualTriggerSubType.forSelectedTicket;
|
|
354
|
+
parameters?: JSONSchema7;
|
|
355
|
+
} | {
|
|
356
|
+
sub_type?: undefined;
|
|
343
357
|
parameters?: WorkflowManualTriggerParameter[];
|
|
344
|
-
};
|
|
358
|
+
});
|
|
345
359
|
|
|
346
360
|
type WorkflowOneTimeTriggerInput = {
|
|
347
361
|
at: string;
|
|
@@ -376,9 +390,7 @@ interface WorkflowWebhook {
|
|
|
376
390
|
}
|
|
377
391
|
type WorkflowWebhookInput = {
|
|
378
392
|
credentialId?: string;
|
|
379
|
-
|
|
380
|
-
headers?: Record<string, string[]>;
|
|
381
|
-
outputSchemaVersion?: string;
|
|
393
|
+
[filter: string]: unknown;
|
|
382
394
|
};
|
|
383
395
|
type WorkflowWebhookTriggerCore = WorkflowTriggerIdentity & {
|
|
384
396
|
type: typeof WorkflowTriggerType.webhook;
|
|
@@ -420,6 +432,7 @@ interface WorkflowPlanTrigger extends WorkflowTriggerIdentity {
|
|
|
420
432
|
}
|
|
421
433
|
type WorkflowTriggerBase = {
|
|
422
434
|
name: string;
|
|
435
|
+
display_name?: string;
|
|
423
436
|
type: WorkflowTriggerType;
|
|
424
437
|
version?: string;
|
|
425
438
|
};
|
|
@@ -440,14 +453,37 @@ type WorkflowTrigger = WorkflowManualTrigger | WorkflowAgentTrigger | WorkflowRe
|
|
|
440
453
|
type WorkflowTriggerDto = Record<string, never> | WorkflowTrigger;
|
|
441
454
|
|
|
442
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
|
+
};
|
|
443
471
|
type WorkflowAgentTriggerCore = WorkflowTriggerIdentity & {
|
|
444
472
|
type: typeof WorkflowTriggerType.agent;
|
|
445
473
|
input: WorkflowAgentTriggerInput;
|
|
446
|
-
}
|
|
474
|
+
} & ({
|
|
475
|
+
sub_type?: undefined;
|
|
476
|
+
} | ({
|
|
477
|
+
sub_type: typeof WorkflowAgentTriggerSubType.chat;
|
|
478
|
+
} & WorkflowAgentTriggerConfiguration));
|
|
447
479
|
type WorkflowAgentTrigger = WorkflowTriggerBase & {
|
|
448
480
|
type: typeof WorkflowTriggerType.agent;
|
|
449
481
|
parameters?: WorkflowAgentTriggerInput;
|
|
450
|
-
}
|
|
482
|
+
} & ({
|
|
483
|
+
sub_type?: undefined;
|
|
484
|
+
} | ({
|
|
485
|
+
sub_type: typeof WorkflowAgentTriggerSubType.chat;
|
|
486
|
+
} & WorkflowAgentTriggerConfiguration));
|
|
451
487
|
|
|
452
488
|
declare enum WorkflowItemKind {
|
|
453
489
|
Task = "task",
|
|
@@ -457,6 +493,7 @@ declare enum WorkflowItemKind {
|
|
|
457
493
|
interface WorkflowElementIdentity {
|
|
458
494
|
referenceName: string;
|
|
459
495
|
name: string;
|
|
496
|
+
display_name?: string;
|
|
460
497
|
}
|
|
461
498
|
declare const TRIGGER_REFERENCE_NAME = "trigger";
|
|
462
499
|
type WorkflowElement = WorkflowTask | WorkflowTrigger;
|
|
@@ -919,7 +956,7 @@ type WorkflowExecutionActionTaskData = WorkflowExecutionTaskBase & {
|
|
|
919
956
|
} | {
|
|
920
957
|
status: WorkflowExecutionTaskStatus.Failed;
|
|
921
958
|
inputData: WorkflowActionTaskInputParameters;
|
|
922
|
-
outputData: WorkflowActionTaskErrorOutput;
|
|
959
|
+
outputData: WorkflowActionTaskErrorOutput | null;
|
|
923
960
|
} | {
|
|
924
961
|
status: WorkflowExecutionTaskStatus.NotExecuted;
|
|
925
962
|
inputData: Record<string, never>;
|
|
@@ -1335,6 +1372,7 @@ interface WorkflowPlanTask extends WorkflowTaskIdentity {
|
|
|
1335
1372
|
}
|
|
1336
1373
|
interface WorkflowTaskBase {
|
|
1337
1374
|
name: string;
|
|
1375
|
+
display_name?: string;
|
|
1338
1376
|
taskReferenceName: string;
|
|
1339
1377
|
type: WorkflowTaskType;
|
|
1340
1378
|
version?: string;
|
|
@@ -1426,6 +1464,7 @@ interface WorkflowDto extends Workflow {
|
|
|
1426
1464
|
draft: boolean;
|
|
1427
1465
|
related_workflow_id?: string;
|
|
1428
1466
|
tags?: string[];
|
|
1467
|
+
trigger_sub_type?: string;
|
|
1429
1468
|
webhook_url?: string;
|
|
1430
1469
|
executions?: {
|
|
1431
1470
|
completed: number;
|
|
@@ -1524,6 +1563,7 @@ interface WorkflowBundle {
|
|
|
1524
1563
|
|
|
1525
1564
|
interface WorkflowNode<TValue = unknown> extends WorkflowElementRef {
|
|
1526
1565
|
name: string;
|
|
1566
|
+
display_name?: string;
|
|
1527
1567
|
value: TValue;
|
|
1528
1568
|
order: number;
|
|
1529
1569
|
parent: WorkflowParentRef | null;
|
|
@@ -1588,8 +1628,6 @@ type WorkflowCrmOrganization = {
|
|
|
1588
1628
|
draft_workflows_count: number;
|
|
1589
1629
|
};
|
|
1590
1630
|
|
|
1591
|
-
declare const enrichWorkflowTrigger: <T extends WorkflowDto>(workflow: T) => T;
|
|
1592
|
-
|
|
1593
1631
|
declare enum IntegrationNames {
|
|
1594
1632
|
Accounts = "accounts",
|
|
1595
1633
|
GitHub = "github",
|
|
@@ -13053,4 +13091,4 @@ interface IntegrationEventAuthorization {
|
|
|
13053
13091
|
data?: Record<string, string>;
|
|
13054
13092
|
}
|
|
13055
13093
|
|
|
13056
|
-
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 WorkflowTriggerBase as d$, type WorkflowLoopTask as d0, type WorkflowLoopTaskCore as d1, type WorkflowLoopTaskInput as d2, type WorkflowManualTrigger as d3, type WorkflowManualTriggerCore as d4, type WorkflowManualTriggerInput as d5, type WorkflowManualTriggerParameter as d6, type WorkflowNode as d7, type WorkflowNotifyAiAgentTask as d8, type WorkflowNotifyAiAgentTaskCore as d9, type WorkflowSimpleTaskCore as dA, type WorkflowSwitchBaseTask as dB, type WorkflowSwitchBaseTaskCore as dC, type WorkflowSwitchCaseTask as dD, type WorkflowSwitchCaseTaskCore as dE, type WorkflowSwitchCaseTaskInput as dF, type WorkflowSwitchTask as dG, type WorkflowSwitchTaskCore as dH, type WorkflowSwitchTaskInput as dI, type WorkflowTask as dJ, type WorkflowTaskBase as dK, type WorkflowTaskCore as dL, type WorkflowTaskIdentity as dM, type WorkflowTaskIntrospection as dN, type WorkflowTaskOf as dO, WorkflowTaskType as dP, WorkflowTemplateCategory as dQ, type WorkflowTemplateMetadataItem as dR, type WorkflowTerminateTask as dS, type WorkflowTerminateTaskCore as dT, type WorkflowTerminateTaskInput as dU, type WorkflowTransformBaseTask as dV, type WorkflowTransformBaseTaskCore as dW, type WorkflowTransformBaseTaskInput as dX, type WorkflowTransformTask as dY, type WorkflowTransformTaskCore as dZ, type WorkflowTrigger as d_, type WorkflowNotifyAiAgentTaskInput as da, type WorkflowNotifyAiAgentTaskObjectiveInput as db, type WorkflowNotifyAiAgentTaskStrictInput as dc, type WorkflowOneTimeTrigger as dd, type WorkflowOneTimeTriggerCore as de, type WorkflowOneTimeTriggerInput as df, type WorkflowParentRef as dg, type WorkflowPlan as dh, type WorkflowPlanTask as di, type WorkflowPlanTrigger as dj, type WorkflowReasoningOption as dk, type WorkflowReasoningOptionAgent as dl, type WorkflowReasoningOptionCustomer as dm, type WorkflowReasoningTask as dn, type WorkflowReasoningTaskCore as dp, type WorkflowReasoningTaskInput as dq, type WorkflowRecurringTrigger as dr, type WorkflowRecurringTriggerCore as ds, type WorkflowRecurringTriggerInput as dt, type WorkflowScriptTask as du, type WorkflowScriptTaskCore as dv, type WorkflowScriptTaskInput as dw, type WorkflowSimpleBaseTask as dx, type WorkflowSimpleBaseTaskCore as dy, type WorkflowSimpleTask as dz, type TextClientAuthorization as e, type WorkflowTriggerCore as e0, type WorkflowTriggerDto as e1, type WorkflowTriggerIdentity as e2, type WorkflowTriggerOf as e3, WorkflowTriggerType as e4, type WorkflowWaitTask as e5, type WorkflowWaitTaskCore as e6, type WorkflowWaitTaskInput as e7, type WorkflowWebhook as e8, type WorkflowWebhookInput as e9, type WorkflowWebhookManualTrigger as ea, type WorkflowWebhookManualTriggerCore as eb, type WorkflowWebhookTrigger as ec, type WorkflowWebhookTriggerCore as ed, type WorkflowWebhookTriggerPure as ee, bigcommerceEventsZods as ef, enrichWorkflowTrigger 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 };
|
|
@@ -329,19 +329,33 @@ type ExternalResourceConfig = ExternalResourceReference & {
|
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
+
declare const WorkflowManualTriggerSubType: {
|
|
333
|
+
readonly forSelectedChat: "for_selected_chat";
|
|
334
|
+
readonly forSelectedTicket: "for_selected_ticket";
|
|
335
|
+
};
|
|
336
|
+
type WorkflowManualTriggerSubType = (typeof WorkflowManualTriggerSubType)[keyof typeof WorkflowManualTriggerSubType];
|
|
337
|
+
declare const WorkflowManualTriggerSubTypeName: {
|
|
338
|
+
readonly for_selected_chat: "text-livechat-manual";
|
|
339
|
+
readonly for_selected_ticket: "text-helpdesk-manual";
|
|
340
|
+
};
|
|
332
341
|
type WorkflowManualTriggerParameter = {
|
|
333
342
|
name: string;
|
|
334
343
|
type: 'string' | 'number' | 'boolean' | 'references/livechat_chat' | 'references/livechat_thread' | 'references/helpdesk_ticket';
|
|
335
344
|
};
|
|
336
|
-
type WorkflowManualTriggerInput = JSONSchema7;
|
|
337
345
|
type WorkflowManualTriggerCore = WorkflowTriggerIdentity & {
|
|
338
346
|
type: typeof WorkflowTriggerType.manual;
|
|
339
|
-
|
|
347
|
+
sub_type?: WorkflowManualTriggerSubType;
|
|
348
|
+
input?: JSONSchema7;
|
|
340
349
|
};
|
|
341
350
|
type WorkflowManualTrigger = WorkflowTriggerBase & {
|
|
342
351
|
type: typeof WorkflowTriggerType.manual;
|
|
352
|
+
} & ({
|
|
353
|
+
sub_type: typeof WorkflowManualTriggerSubType.forSelectedChat | typeof WorkflowManualTriggerSubType.forSelectedTicket;
|
|
354
|
+
parameters?: JSONSchema7;
|
|
355
|
+
} | {
|
|
356
|
+
sub_type?: undefined;
|
|
343
357
|
parameters?: WorkflowManualTriggerParameter[];
|
|
344
|
-
};
|
|
358
|
+
});
|
|
345
359
|
|
|
346
360
|
type WorkflowOneTimeTriggerInput = {
|
|
347
361
|
at: string;
|
|
@@ -376,9 +390,7 @@ interface WorkflowWebhook {
|
|
|
376
390
|
}
|
|
377
391
|
type WorkflowWebhookInput = {
|
|
378
392
|
credentialId?: string;
|
|
379
|
-
|
|
380
|
-
headers?: Record<string, string[]>;
|
|
381
|
-
outputSchemaVersion?: string;
|
|
393
|
+
[filter: string]: unknown;
|
|
382
394
|
};
|
|
383
395
|
type WorkflowWebhookTriggerCore = WorkflowTriggerIdentity & {
|
|
384
396
|
type: typeof WorkflowTriggerType.webhook;
|
|
@@ -420,6 +432,7 @@ interface WorkflowPlanTrigger extends WorkflowTriggerIdentity {
|
|
|
420
432
|
}
|
|
421
433
|
type WorkflowTriggerBase = {
|
|
422
434
|
name: string;
|
|
435
|
+
display_name?: string;
|
|
423
436
|
type: WorkflowTriggerType;
|
|
424
437
|
version?: string;
|
|
425
438
|
};
|
|
@@ -440,14 +453,37 @@ type WorkflowTrigger = WorkflowManualTrigger | WorkflowAgentTrigger | WorkflowRe
|
|
|
440
453
|
type WorkflowTriggerDto = Record<string, never> | WorkflowTrigger;
|
|
441
454
|
|
|
442
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
|
+
};
|
|
443
471
|
type WorkflowAgentTriggerCore = WorkflowTriggerIdentity & {
|
|
444
472
|
type: typeof WorkflowTriggerType.agent;
|
|
445
473
|
input: WorkflowAgentTriggerInput;
|
|
446
|
-
}
|
|
474
|
+
} & ({
|
|
475
|
+
sub_type?: undefined;
|
|
476
|
+
} | ({
|
|
477
|
+
sub_type: typeof WorkflowAgentTriggerSubType.chat;
|
|
478
|
+
} & WorkflowAgentTriggerConfiguration));
|
|
447
479
|
type WorkflowAgentTrigger = WorkflowTriggerBase & {
|
|
448
480
|
type: typeof WorkflowTriggerType.agent;
|
|
449
481
|
parameters?: WorkflowAgentTriggerInput;
|
|
450
|
-
}
|
|
482
|
+
} & ({
|
|
483
|
+
sub_type?: undefined;
|
|
484
|
+
} | ({
|
|
485
|
+
sub_type: typeof WorkflowAgentTriggerSubType.chat;
|
|
486
|
+
} & WorkflowAgentTriggerConfiguration));
|
|
451
487
|
|
|
452
488
|
declare enum WorkflowItemKind {
|
|
453
489
|
Task = "task",
|
|
@@ -457,6 +493,7 @@ declare enum WorkflowItemKind {
|
|
|
457
493
|
interface WorkflowElementIdentity {
|
|
458
494
|
referenceName: string;
|
|
459
495
|
name: string;
|
|
496
|
+
display_name?: string;
|
|
460
497
|
}
|
|
461
498
|
declare const TRIGGER_REFERENCE_NAME = "trigger";
|
|
462
499
|
type WorkflowElement = WorkflowTask | WorkflowTrigger;
|
|
@@ -919,7 +956,7 @@ type WorkflowExecutionActionTaskData = WorkflowExecutionTaskBase & {
|
|
|
919
956
|
} | {
|
|
920
957
|
status: WorkflowExecutionTaskStatus.Failed;
|
|
921
958
|
inputData: WorkflowActionTaskInputParameters;
|
|
922
|
-
outputData: WorkflowActionTaskErrorOutput;
|
|
959
|
+
outputData: WorkflowActionTaskErrorOutput | null;
|
|
923
960
|
} | {
|
|
924
961
|
status: WorkflowExecutionTaskStatus.NotExecuted;
|
|
925
962
|
inputData: Record<string, never>;
|
|
@@ -1335,6 +1372,7 @@ interface WorkflowPlanTask extends WorkflowTaskIdentity {
|
|
|
1335
1372
|
}
|
|
1336
1373
|
interface WorkflowTaskBase {
|
|
1337
1374
|
name: string;
|
|
1375
|
+
display_name?: string;
|
|
1338
1376
|
taskReferenceName: string;
|
|
1339
1377
|
type: WorkflowTaskType;
|
|
1340
1378
|
version?: string;
|
|
@@ -1426,6 +1464,7 @@ interface WorkflowDto extends Workflow {
|
|
|
1426
1464
|
draft: boolean;
|
|
1427
1465
|
related_workflow_id?: string;
|
|
1428
1466
|
tags?: string[];
|
|
1467
|
+
trigger_sub_type?: string;
|
|
1429
1468
|
webhook_url?: string;
|
|
1430
1469
|
executions?: {
|
|
1431
1470
|
completed: number;
|
|
@@ -1524,6 +1563,7 @@ interface WorkflowBundle {
|
|
|
1524
1563
|
|
|
1525
1564
|
interface WorkflowNode<TValue = unknown> extends WorkflowElementRef {
|
|
1526
1565
|
name: string;
|
|
1566
|
+
display_name?: string;
|
|
1527
1567
|
value: TValue;
|
|
1528
1568
|
order: number;
|
|
1529
1569
|
parent: WorkflowParentRef | null;
|
|
@@ -1588,8 +1628,6 @@ type WorkflowCrmOrganization = {
|
|
|
1588
1628
|
draft_workflows_count: number;
|
|
1589
1629
|
};
|
|
1590
1630
|
|
|
1591
|
-
declare const enrichWorkflowTrigger: <T extends WorkflowDto>(workflow: T) => T;
|
|
1592
|
-
|
|
1593
1631
|
declare enum IntegrationNames {
|
|
1594
1632
|
Accounts = "accounts",
|
|
1595
1633
|
GitHub = "github",
|
|
@@ -13053,4 +13091,4 @@ interface IntegrationEventAuthorization {
|
|
|
13053
13091
|
data?: Record<string, string>;
|
|
13054
13092
|
}
|
|
13055
13093
|
|
|
13056
|
-
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 WorkflowTriggerBase as d$, type WorkflowLoopTask as d0, type WorkflowLoopTaskCore as d1, type WorkflowLoopTaskInput as d2, type WorkflowManualTrigger as d3, type WorkflowManualTriggerCore as d4, type WorkflowManualTriggerInput as d5, type WorkflowManualTriggerParameter as d6, type WorkflowNode as d7, type WorkflowNotifyAiAgentTask as d8, type WorkflowNotifyAiAgentTaskCore as d9, type WorkflowSimpleTaskCore as dA, type WorkflowSwitchBaseTask as dB, type WorkflowSwitchBaseTaskCore as dC, type WorkflowSwitchCaseTask as dD, type WorkflowSwitchCaseTaskCore as dE, type WorkflowSwitchCaseTaskInput as dF, type WorkflowSwitchTask as dG, type WorkflowSwitchTaskCore as dH, type WorkflowSwitchTaskInput as dI, type WorkflowTask as dJ, type WorkflowTaskBase as dK, type WorkflowTaskCore as dL, type WorkflowTaskIdentity as dM, type WorkflowTaskIntrospection as dN, type WorkflowTaskOf as dO, WorkflowTaskType as dP, WorkflowTemplateCategory as dQ, type WorkflowTemplateMetadataItem as dR, type WorkflowTerminateTask as dS, type WorkflowTerminateTaskCore as dT, type WorkflowTerminateTaskInput as dU, type WorkflowTransformBaseTask as dV, type WorkflowTransformBaseTaskCore as dW, type WorkflowTransformBaseTaskInput as dX, type WorkflowTransformTask as dY, type WorkflowTransformTaskCore as dZ, type WorkflowTrigger as d_, type WorkflowNotifyAiAgentTaskInput as da, type WorkflowNotifyAiAgentTaskObjectiveInput as db, type WorkflowNotifyAiAgentTaskStrictInput as dc, type WorkflowOneTimeTrigger as dd, type WorkflowOneTimeTriggerCore as de, type WorkflowOneTimeTriggerInput as df, type WorkflowParentRef as dg, type WorkflowPlan as dh, type WorkflowPlanTask as di, type WorkflowPlanTrigger as dj, type WorkflowReasoningOption as dk, type WorkflowReasoningOptionAgent as dl, type WorkflowReasoningOptionCustomer as dm, type WorkflowReasoningTask as dn, type WorkflowReasoningTaskCore as dp, type WorkflowReasoningTaskInput as dq, type WorkflowRecurringTrigger as dr, type WorkflowRecurringTriggerCore as ds, type WorkflowRecurringTriggerInput as dt, type WorkflowScriptTask as du, type WorkflowScriptTaskCore as dv, type WorkflowScriptTaskInput as dw, type WorkflowSimpleBaseTask as dx, type WorkflowSimpleBaseTaskCore as dy, type WorkflowSimpleTask as dz, type TextClientAuthorization as e, type WorkflowTriggerCore as e0, type WorkflowTriggerDto as e1, type WorkflowTriggerIdentity as e2, type WorkflowTriggerOf as e3, WorkflowTriggerType as e4, type WorkflowWaitTask as e5, type WorkflowWaitTaskCore as e6, type WorkflowWaitTaskInput as e7, type WorkflowWebhook as e8, type WorkflowWebhookInput as e9, type WorkflowWebhookManualTrigger as ea, type WorkflowWebhookManualTriggerCore as eb, type WorkflowWebhookTrigger as ec, type WorkflowWebhookTriggerCore as ed, type WorkflowWebhookTriggerPure as ee, bigcommerceEventsZods as ef, enrichWorkflowTrigger 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-
|
|
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
|
|
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 {
|