@livechat/developer-studio-api 5.3.1-beta.generator.v4 → 5.3.5-beta.generator.8
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-LY5BBKGO.mjs} +25 -14
- package/dist/{events-D6Wj4603.d.mts → events-Bp2V0TTp.d.mts} +23 -10
- package/dist/{events-D6Wj4603.d.ts → events-Bp2V0TTp.d.ts} +23 -10
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +580 -568
- package/dist/index.mjs +5 -3
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +13 -27
- package/dist/workflow-contracts.mjs +5 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -65,6 +65,8 @@ import {
|
|
|
65
65
|
WorkflowExecutionStatus,
|
|
66
66
|
WorkflowExecutionTaskStatus,
|
|
67
67
|
WorkflowItemKind,
|
|
68
|
+
WorkflowManualTriggerSubType,
|
|
69
|
+
WorkflowManualTriggerSubTypeName,
|
|
68
70
|
WorkflowTaskType,
|
|
69
71
|
WorkflowTemplateCategory,
|
|
70
72
|
WorkflowTriggerType,
|
|
@@ -84,7 +86,6 @@ import {
|
|
|
84
86
|
cdpCustomerEventMessageZod,
|
|
85
87
|
consoleClientInstance,
|
|
86
88
|
dpsClientInstance,
|
|
87
|
-
enrichWorkflowTrigger,
|
|
88
89
|
extractTokenFromAuthorizationHeader,
|
|
89
90
|
getAdapterClientConfig,
|
|
90
91
|
getAdapterClientDefaultConfig,
|
|
@@ -192,7 +193,7 @@ import {
|
|
|
192
193
|
updateWorkflowsClient,
|
|
193
194
|
vercelClientInstance,
|
|
194
195
|
workflowsClientInstance
|
|
195
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-LY5BBKGO.mjs";
|
|
196
197
|
export {
|
|
197
198
|
ACCOUNT_ID_HEADER,
|
|
198
199
|
API_NOTIFICATIONS,
|
|
@@ -260,6 +261,8 @@ export {
|
|
|
260
261
|
WorkflowExecutionStatus,
|
|
261
262
|
WorkflowExecutionTaskStatus,
|
|
262
263
|
WorkflowItemKind,
|
|
264
|
+
WorkflowManualTriggerSubType,
|
|
265
|
+
WorkflowManualTriggerSubTypeName,
|
|
263
266
|
WorkflowTaskType,
|
|
264
267
|
WorkflowTemplateCategory,
|
|
265
268
|
WorkflowTriggerType,
|
|
@@ -279,7 +282,6 @@ export {
|
|
|
279
282
|
cdpCustomerEventMessageZod,
|
|
280
283
|
consoleClientInstance,
|
|
281
284
|
dpsClientInstance,
|
|
282
|
-
enrichWorkflowTrigger,
|
|
283
285
|
extractTokenFromAuthorizationHeader,
|
|
284
286
|
getAdapterClientConfig,
|
|
285
287
|
getAdapterClientDefaultConfig,
|
|
@@ -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
|
|
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';
|
|
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
|
|
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';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|
|
@@ -84,10 +84,11 @@ __export(contracts_exports, {
|
|
|
84
84
|
WorkflowExecutionStatus: () => WorkflowExecutionStatus,
|
|
85
85
|
WorkflowExecutionTaskStatus: () => WorkflowExecutionTaskStatus,
|
|
86
86
|
WorkflowItemKind: () => WorkflowItemKind,
|
|
87
|
+
WorkflowManualTriggerSubType: () => WorkflowManualTriggerSubType,
|
|
88
|
+
WorkflowManualTriggerSubTypeName: () => WorkflowManualTriggerSubTypeName,
|
|
87
89
|
WorkflowTaskType: () => WorkflowTaskType,
|
|
88
90
|
WorkflowTemplateCategory: () => WorkflowTemplateCategory,
|
|
89
91
|
WorkflowTriggerType: () => WorkflowTriggerType,
|
|
90
|
-
enrichWorkflowTrigger: () => enrichWorkflowTrigger,
|
|
91
92
|
getWorkflowApiCrmConfig: () => getWorkflowApiCrmConfig,
|
|
92
93
|
isFilter: () => isFilter,
|
|
93
94
|
isFilterGroup: () => isFilterGroup,
|
|
@@ -107,7 +108,7 @@ var isFilter = (filter) => {
|
|
|
107
108
|
// src/apis/integrations/text/platform/workflow/_contracts/filters/serialize.ts
|
|
108
109
|
var convertValueToString = (value) => {
|
|
109
110
|
if (typeof value === "string") {
|
|
110
|
-
return `"${value}"`;
|
|
111
|
+
return `"${value.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
111
112
|
}
|
|
112
113
|
if (value === null) {
|
|
113
114
|
return "null";
|
|
@@ -309,6 +310,14 @@ var WorkflowTriggerType = {
|
|
|
309
310
|
webhookManual: "webhook_manual"
|
|
310
311
|
};
|
|
311
312
|
|
|
313
|
+
// src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/triggers/manual.ts
|
|
314
|
+
var WorkflowManualTriggerSubType = {
|
|
315
|
+
forSelectedChat: "for_selected_chat"
|
|
316
|
+
};
|
|
317
|
+
var WorkflowManualTriggerSubTypeName = {
|
|
318
|
+
[WorkflowManualTriggerSubType.forSelectedChat]: "text-livechat-manual"
|
|
319
|
+
};
|
|
320
|
+
|
|
312
321
|
// src/apis/integrations/text/platform/workflow/workflows/_contracts/dtos/workflowElement.ts
|
|
313
322
|
var TRIGGER_REFERENCE_NAME = "trigger";
|
|
314
323
|
|
|
@@ -2147,30 +2156,6 @@ var integrationNameToProduct = {
|
|
|
2147
2156
|
["text-livechat" /* LiveChat */]: "livechat"
|
|
2148
2157
|
};
|
|
2149
2158
|
|
|
2150
|
-
// src/apis/integrations/text/platform/workflow/workflows/api.ts
|
|
2151
|
-
var enrichWorkflowTrigger = (workflow) => {
|
|
2152
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2153
|
-
if (((_a = workflow.trigger) == null ? void 0 : _a.type) === WorkflowTriggerType.webhook) {
|
|
2154
|
-
workflow.trigger.name = (_c = workflow.trigger.sub_type) != null ? _c : `${workflow.trigger.webhook.source}-${(_b = workflow.trigger.webhook.event) == null ? void 0 : _b.name}`;
|
|
2155
|
-
}
|
|
2156
|
-
if (((_d = workflow.trigger) == null ? void 0 : _d.type) === WorkflowTriggerType.webhookManual) {
|
|
2157
|
-
workflow.trigger.name = "webhook_manual";
|
|
2158
|
-
}
|
|
2159
|
-
if (((_e = workflow.trigger) == null ? void 0 : _e.type) === WorkflowTriggerType.manual) {
|
|
2160
|
-
workflow.trigger.name = "manual";
|
|
2161
|
-
}
|
|
2162
|
-
if (((_f = workflow.trigger) == null ? void 0 : _f.type) === WorkflowTriggerType.agent) {
|
|
2163
|
-
workflow.trigger.name = "ai_agent";
|
|
2164
|
-
}
|
|
2165
|
-
if (((_g = workflow.trigger) == null ? void 0 : _g.type) === WorkflowTriggerType.recurring) {
|
|
2166
|
-
workflow.trigger.name = "scheduled";
|
|
2167
|
-
}
|
|
2168
|
-
if (((_h = workflow.trigger) == null ? void 0 : _h.type) === WorkflowTriggerType.oneTime) {
|
|
2169
|
-
workflow.trigger.name = "one_time";
|
|
2170
|
-
}
|
|
2171
|
-
return workflow;
|
|
2172
|
-
};
|
|
2173
|
-
|
|
2174
2159
|
// src/apis/integrations/vercel/api.ts
|
|
2175
2160
|
var import_axios30 = __toESM(require("axios"));
|
|
2176
2161
|
|
|
@@ -2298,10 +2283,11 @@ function getWorkflowApiCrmConfig(authorization) {
|
|
|
2298
2283
|
WorkflowExecutionStatus,
|
|
2299
2284
|
WorkflowExecutionTaskStatus,
|
|
2300
2285
|
WorkflowItemKind,
|
|
2286
|
+
WorkflowManualTriggerSubType,
|
|
2287
|
+
WorkflowManualTriggerSubTypeName,
|
|
2301
2288
|
WorkflowTaskType,
|
|
2302
2289
|
WorkflowTemplateCategory,
|
|
2303
2290
|
WorkflowTriggerType,
|
|
2304
|
-
enrichWorkflowTrigger,
|
|
2305
2291
|
getWorkflowApiCrmConfig,
|
|
2306
2292
|
isFilter,
|
|
2307
2293
|
isFilterGroup,
|
|
@@ -16,16 +16,17 @@ import {
|
|
|
16
16
|
WorkflowExecutionStatus,
|
|
17
17
|
WorkflowExecutionTaskStatus,
|
|
18
18
|
WorkflowItemKind,
|
|
19
|
+
WorkflowManualTriggerSubType,
|
|
20
|
+
WorkflowManualTriggerSubTypeName,
|
|
19
21
|
WorkflowTaskType,
|
|
20
22
|
WorkflowTemplateCategory,
|
|
21
23
|
WorkflowTriggerType,
|
|
22
|
-
enrichWorkflowTrigger,
|
|
23
24
|
getWorkflowApiCrmConfig,
|
|
24
25
|
isFilter,
|
|
25
26
|
isFilterGroup,
|
|
26
27
|
isWorkflowBaseHttpTaskCore,
|
|
27
28
|
serializeFilters
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LY5BBKGO.mjs";
|
|
29
30
|
export {
|
|
30
31
|
CredentialStatus,
|
|
31
32
|
CredentialType,
|
|
@@ -44,10 +45,11 @@ export {
|
|
|
44
45
|
WorkflowExecutionStatus,
|
|
45
46
|
WorkflowExecutionTaskStatus,
|
|
46
47
|
WorkflowItemKind,
|
|
48
|
+
WorkflowManualTriggerSubType,
|
|
49
|
+
WorkflowManualTriggerSubTypeName,
|
|
47
50
|
WorkflowTaskType,
|
|
48
51
|
WorkflowTemplateCategory,
|
|
49
52
|
WorkflowTriggerType,
|
|
50
|
-
enrichWorkflowTrigger,
|
|
51
53
|
getWorkflowApiCrmConfig,
|
|
52
54
|
isFilter,
|
|
53
55
|
isFilterGroup,
|
package/package.json
CHANGED