@livechat/developer-studio-api 5.12.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XVLSQUPO.mjs → chunk-TSDWBTAY.mjs} +47 -26
- package/dist/events-D7N51dRa.d.mts +5480 -0
- package/dist/events-D7N51dRa.d.ts +5480 -0
- package/dist/index.d.mts +122 -1016
- package/dist/index.d.ts +122 -1016
- package/dist/index.js +47 -26
- package/dist/index.mjs +1 -1
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +26 -25
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +3 -3
- package/dist/events-BdPlrYKo.d.mts +0 -16156
- package/dist/events-BdPlrYKo.d.ts +0 -16156
package/dist/index.js
CHANGED
|
@@ -555,9 +555,9 @@ var integrationEventsCoreZods = {
|
|
|
555
555
|
},
|
|
556
556
|
get authorization() {
|
|
557
557
|
return import_zod.z.object({
|
|
558
|
-
headers: import_zod.z.record(import_zod.z.string()).optional(),
|
|
559
|
-
query_params: import_zod.z.record(import_zod.z.string()).optional(),
|
|
560
|
-
data: import_zod.z.record(import_zod.z.string()).optional()
|
|
558
|
+
headers: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional(),
|
|
559
|
+
query_params: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional(),
|
|
560
|
+
data: import_zod.z.record(import_zod.z.string(), import_zod.z.string()).optional()
|
|
561
561
|
});
|
|
562
562
|
},
|
|
563
563
|
withCore(schema) {
|
|
@@ -581,7 +581,7 @@ var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
|
581
581
|
})(BigCommerceEventNames || {});
|
|
582
582
|
var bigcommerceEventsZods = {
|
|
583
583
|
provider: import_zod2.z.literal("bigcommerce" /* BigCommerce */),
|
|
584
|
-
eventName: import_zod2.z.
|
|
584
|
+
eventName: import_zod2.z.enum(BigCommerceEventNames),
|
|
585
585
|
events: {
|
|
586
586
|
cartCreated: integrationEventBase.extend({
|
|
587
587
|
name: import_zod2.z.literal("cart_created" /* CartCreated */)
|
|
@@ -651,7 +651,7 @@ var HubspotEventNames = /* @__PURE__ */ ((HubspotEventNames2) => {
|
|
|
651
651
|
})(HubspotEventNames || {});
|
|
652
652
|
var hubspotEventsZods = {
|
|
653
653
|
provider: import_zod3.z.literal("hubspot" /* HubSpot */),
|
|
654
|
-
eventName: import_zod3.z.
|
|
654
|
+
eventName: import_zod3.z.enum(HubspotEventNames),
|
|
655
655
|
events: {
|
|
656
656
|
contactCreated: integrationEventBase.extend({
|
|
657
657
|
name: import_zod3.z.literal("contact_created" /* ContactCreated */)
|
|
@@ -705,7 +705,7 @@ var MailchimpEventNames = /* @__PURE__ */ ((MailchimpEventNames2) => {
|
|
|
705
705
|
})(MailchimpEventNames || {});
|
|
706
706
|
var mailchimpEventsZods = {
|
|
707
707
|
provider: import_zod4.z.literal("mailchimp" /* Mailchimp */),
|
|
708
|
-
eventName: import_zod4.z.
|
|
708
|
+
eventName: import_zod4.z.enum(MailchimpEventNames),
|
|
709
709
|
events: {
|
|
710
710
|
subscribed: integrationEventBase.extend({
|
|
711
711
|
listId: import_zod4.z.string(),
|
|
@@ -763,7 +763,7 @@ var ShopifyEventNames = /* @__PURE__ */ ((ShopifyEventNames2) => {
|
|
|
763
763
|
})(ShopifyEventNames || {});
|
|
764
764
|
var shopifyEventsZods = {
|
|
765
765
|
provider: import_zod5.z.literal("shopify" /* Shopify */),
|
|
766
|
-
eventName: import_zod5.z.
|
|
766
|
+
eventName: import_zod5.z.enum(ShopifyEventNames),
|
|
767
767
|
events: {
|
|
768
768
|
orderCreated: integrationEventBase.extend({
|
|
769
769
|
name: import_zod5.z.literal("order_created" /* OrderCreated */)
|
|
@@ -814,7 +814,7 @@ var SlackEventNames = /* @__PURE__ */ ((SlackEventNames2) => {
|
|
|
814
814
|
})(SlackEventNames || {});
|
|
815
815
|
var slackEventsZods = {
|
|
816
816
|
provider: import_zod6.z.literal("slack" /* Slack */),
|
|
817
|
-
eventName: import_zod6.z.
|
|
817
|
+
eventName: import_zod6.z.enum(SlackEventNames),
|
|
818
818
|
events: {
|
|
819
819
|
channelNewMessagePosted: integrationEventBase.extend({
|
|
820
820
|
name: import_zod6.z.literal("channel_new_message_posted" /* ChannelNewMessagePosted */),
|
|
@@ -888,7 +888,7 @@ var TextCustomerSegmentType = /* @__PURE__ */ ((TextCustomerSegmentType2) => {
|
|
|
888
888
|
return TextCustomerSegmentType2;
|
|
889
889
|
})(TextCustomerSegmentType || {});
|
|
890
890
|
var textCustomerEventsZods = {
|
|
891
|
-
eventName: import_zod7.z.
|
|
891
|
+
eventName: import_zod7.z.enum(TextCustomerEventNames),
|
|
892
892
|
events: {
|
|
893
893
|
emailSet: integrationEventBase.extend({
|
|
894
894
|
name: import_zod7.z.literal("customer_email_set" /* EmailSet */),
|
|
@@ -905,11 +905,11 @@ var textCustomerEventsZods = {
|
|
|
905
905
|
}),
|
|
906
906
|
segmentAdded: integrationEventBase.extend({
|
|
907
907
|
name: import_zod7.z.literal("segment_added" /* SegmentAdded */),
|
|
908
|
-
segment_type: import_zod7.z.
|
|
908
|
+
segment_type: import_zod7.z.enum(TextCustomerSegmentType)
|
|
909
909
|
}),
|
|
910
910
|
segmentRemoved: integrationEventBase.extend({
|
|
911
911
|
name: import_zod7.z.literal("segment_removed" /* SegmentRemoved */),
|
|
912
|
-
segment_type: import_zod7.z.
|
|
912
|
+
segment_type: import_zod7.z.enum(TextCustomerSegmentType)
|
|
913
913
|
})
|
|
914
914
|
},
|
|
915
915
|
get event() {
|
|
@@ -982,7 +982,7 @@ var baseFiltersZod = import_zod8.z.object({
|
|
|
982
982
|
});
|
|
983
983
|
var textHelpDeskEventsZods = {
|
|
984
984
|
provider: import_zod8.z.literal("text-helpdesk" /* HelpDesk */),
|
|
985
|
-
eventName: import_zod8.z.
|
|
985
|
+
eventName: import_zod8.z.enum(TextHelpDeskEventNames),
|
|
986
986
|
events: {
|
|
987
987
|
ticketCreated: integrationEventBase.extend({
|
|
988
988
|
name: import_zod8.z.literal("ticket_created" /* TicketCreated */)
|
|
@@ -993,15 +993,15 @@ var textHelpDeskEventsZods = {
|
|
|
993
993
|
ticketStatusChanged: integrationEventBase.extend({
|
|
994
994
|
name: import_zod8.z.literal("ticket_status_changed" /* TicketStatusChanged */),
|
|
995
995
|
status: import_zod8.z.object({
|
|
996
|
-
from: import_zod8.z.array(import_zod8.z.
|
|
997
|
-
to: import_zod8.z.array(import_zod8.z.
|
|
996
|
+
from: import_zod8.z.array(import_zod8.z.enum(TicketStatus)).optional(),
|
|
997
|
+
to: import_zod8.z.array(import_zod8.z.enum(TicketStatus)).optional()
|
|
998
998
|
}).optional()
|
|
999
999
|
}).extend(baseFiltersZod.shape),
|
|
1000
1000
|
ticketPriorityChanged: integrationEventBase.extend({
|
|
1001
1001
|
name: import_zod8.z.literal("ticket_priority_changed" /* TicketPriorityChanged */),
|
|
1002
1002
|
priority: import_zod8.z.object({
|
|
1003
|
-
from: import_zod8.z.array(import_zod8.z.
|
|
1004
|
-
to: import_zod8.z.array(import_zod8.z.
|
|
1003
|
+
from: import_zod8.z.array(import_zod8.z.enum(TicketPriority)).optional(),
|
|
1004
|
+
to: import_zod8.z.array(import_zod8.z.enum(TicketPriority)).optional()
|
|
1005
1005
|
}).optional()
|
|
1006
1006
|
}).extend(baseFiltersZod.shape),
|
|
1007
1007
|
ticketTagsChanged: integrationEventBase.extend({
|
|
@@ -1130,7 +1130,7 @@ var livechatEventContext = import_zod9.z.object({
|
|
|
1130
1130
|
});
|
|
1131
1131
|
var textLivechatEventsZods = {
|
|
1132
1132
|
provider: import_zod9.z.literal("text-livechat" /* LiveChat */),
|
|
1133
|
-
eventName: import_zod9.z.
|
|
1133
|
+
eventName: import_zod9.z.enum(TextLivechatEventNames),
|
|
1134
1134
|
events: {
|
|
1135
1135
|
chatStarted: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1136
1136
|
name: import_zod9.z.literal("chat_started" /* ChatStarted */),
|
|
@@ -1181,14 +1181,14 @@ var textLivechatEventsZods = {
|
|
|
1181
1181
|
}),
|
|
1182
1182
|
customerLeftChat: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1183
1183
|
name: import_zod9.z.literal("customer_left_chat" /* CustomerLeftChat */),
|
|
1184
|
-
reasons: import_zod9.z.array(import_zod9.z.
|
|
1184
|
+
reasons: import_zod9.z.array(import_zod9.z.enum(CustomerLeftChatReason)).optional()
|
|
1185
1185
|
}),
|
|
1186
1186
|
chatIdle: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1187
1187
|
name: import_zod9.z.literal("chat_idle" /* ChatIdle */)
|
|
1188
1188
|
}),
|
|
1189
1189
|
productCardEvent: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1190
1190
|
name: import_zod9.z.literal("product_card_event" /* ProductCardEvent */),
|
|
1191
|
-
type: import_zod9.z.
|
|
1191
|
+
type: import_zod9.z.enum(TextLivechatProductCardEventType),
|
|
1192
1192
|
product_id: import_zod9.z.string().optional()
|
|
1193
1193
|
}),
|
|
1194
1194
|
richMessagePostback: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
@@ -5317,7 +5317,8 @@ var textPlatformApi = {
|
|
|
5317
5317
|
var urls8 = {
|
|
5318
5318
|
listSchema: () => "/workflow_resources/schema",
|
|
5319
5319
|
getSchema: (provider) => `/workflow_resources/schema/${provider}`,
|
|
5320
|
-
getResource: (resource) => `/workflow_resources/resources/${[resource.provider, resource.domain, resource.name].filter(notEmpty).join("/")}
|
|
5320
|
+
getResource: (resource) => `/workflow_resources/resources/${[resource.provider, resource.domain, resource.name].filter(notEmpty).join("/")}`,
|
|
5321
|
+
getResourceItem: (resource, id) => `${urls8.getResource(resource)}/${encodeURIComponent(id)}`
|
|
5321
5322
|
};
|
|
5322
5323
|
var textResourcerApi = {
|
|
5323
5324
|
getResource(resource, credentialId, authorization) {
|
|
@@ -5339,6 +5340,25 @@ var textResourcerApi = {
|
|
|
5339
5340
|
});
|
|
5340
5341
|
});
|
|
5341
5342
|
},
|
|
5343
|
+
getResourceItem(resource, credentialId, id, authorization) {
|
|
5344
|
+
return __async(this, null, function* () {
|
|
5345
|
+
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
5346
|
+
ensureAuthorizationToken: true
|
|
5347
|
+
}));
|
|
5348
|
+
return textClientInstance.get(urls8.getResourceItem(resource, id), __spreadProps(__spreadValues({}, config), {
|
|
5349
|
+
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
5350
|
+
"X-Credential-ID": credentialId
|
|
5351
|
+
})
|
|
5352
|
+
})).catch((error) => {
|
|
5353
|
+
if (error instanceof TextApiError) {
|
|
5354
|
+
throw error.withCustomMessage(
|
|
5355
|
+
`Couldn't get resourcer resource item. [${error.message}]`
|
|
5356
|
+
);
|
|
5357
|
+
}
|
|
5358
|
+
throw error;
|
|
5359
|
+
});
|
|
5360
|
+
});
|
|
5361
|
+
},
|
|
5342
5362
|
createResource(resource, credentialId, payload, authorization) {
|
|
5343
5363
|
return __async(this, null, function* () {
|
|
5344
5364
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
@@ -9874,30 +9894,31 @@ var segmentMembershipDataZod = customerMetadataZod.extend({
|
|
|
9874
9894
|
membership_last_updated_at: import_zod12.z.string(),
|
|
9875
9895
|
segment_fields: import_zod12.z.object({
|
|
9876
9896
|
email: import_zod12.z.string().optional(),
|
|
9877
|
-
customer_properties: import_zod12.z.record(import_zod12.z.unknown()).optional()
|
|
9878
|
-
}).
|
|
9879
|
-
}).
|
|
9897
|
+
customer_properties: import_zod12.z.record(import_zod12.z.string(), import_zod12.z.unknown()).optional()
|
|
9898
|
+
}).loose().optional()
|
|
9899
|
+
}).loose();
|
|
9880
9900
|
var cdpCustomerEventMessageZod = import_zod12.z.discriminatedUnion("type", [
|
|
9881
9901
|
import_zod12.z.object({
|
|
9882
9902
|
id: import_zod12.z.string(),
|
|
9883
9903
|
type: import_zod12.z.literal("customer_email_set" /* EmailSet */),
|
|
9884
9904
|
data: customerMetadataZod.extend({
|
|
9885
9905
|
email: import_zod12.z.string()
|
|
9886
|
-
}).
|
|
9906
|
+
}).loose()
|
|
9887
9907
|
}),
|
|
9888
9908
|
import_zod12.z.object({
|
|
9889
9909
|
id: import_zod12.z.string(),
|
|
9890
9910
|
type: import_zod12.z.literal("customer_properties_values_updated" /* PropertiesValuesUpdated */),
|
|
9891
9911
|
data: customerMetadataZod.extend({
|
|
9892
9912
|
customer_properties: import_zod12.z.record(
|
|
9913
|
+
import_zod12.z.string(),
|
|
9893
9914
|
import_zod12.z.object({
|
|
9894
9915
|
value: import_zod12.z.unknown(),
|
|
9895
9916
|
last_updated_at: import_zod12.z.string(),
|
|
9896
9917
|
last_updated_agent_account_id: import_zod12.z.string().optional(),
|
|
9897
9918
|
last_updated_agent_client_id: import_zod12.z.string().optional()
|
|
9898
|
-
}).
|
|
9919
|
+
}).loose()
|
|
9899
9920
|
)
|
|
9900
|
-
}).
|
|
9921
|
+
}).loose()
|
|
9901
9922
|
}),
|
|
9902
9923
|
import_zod12.z.object({
|
|
9903
9924
|
id: import_zod12.z.string(),
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { K as AiAgentSkillsCountDto, v as AiAgentSkillsSummaryDto, l as ApiPaginatedListQueryParams, o as ApiPaginatedResult, P as ApiPagination, Q as AwaitTaskCallback, X as BigCommerceOauthCredential, z as CreateCredentialPayload, _ as Credential, $ as CredentialCore, C as CredentialDto, a0 as CredentialInjection, a1 as CredentialStatus, a2 as CredentialType, a3 as CredentialTypeDisplayNameMapping, a6 as Filter, a7 as FilterGroup, a8 as FilterOperator, a9 as FilterValue, aa as Filters, F as FunctionDto, ab as FunctionSchema, ac as GitHubAppCredential, ad as GitHubOauthCredential, ae as HubSpotOauthCredential, x as IntrospectWorkflowTaskPayload, aT as MailchimpOauthCredential, aU as NeonOauthCredential, aV as NetlifyOauthCredential, aW as OAuthCredential, aX as OauthCredentialGrantType, aY as OpenaiCredential, aZ as PlanetScaleOauthCredential, a_ as PureHttpRequest, a$ as SalesforceOauthCredential, b2 as ShopifyOauthCredential, b5 as SlackOauthCredential, b6 as SortBy, b7 as SortOrder, b8 as Sorting, bh as TRIGGER_REFERENCE_NAME, bj as TextAuthCredential, bw as TextOAuthCredential, B as UpdateCredentialPayload, w as UpsertWorkflowPayload, bJ as VercelOauthCredential, bK as Workflow, bL as WorkflowActionTask, bM as WorkflowActionTaskCore, bN as WorkflowActionTaskErrorOutput, bO as WorkflowActionTaskInput, bP as WorkflowActionTaskInputParameters, bQ as WorkflowActionTaskSuccessOutput, bR as WorkflowAgentTrigger, bS as WorkflowAgentTriggerConfiguration, bT as WorkflowAgentTriggerCore, bU as WorkflowAgentTriggerInput, bV as WorkflowAgentTriggerSubType, bW as WorkflowAggregate, n as WorkflowApiCrmAuthorization, bX as WorkflowAwaitTask, bY as WorkflowAwaitTaskCore, bZ as WorkflowAwaitTaskInput, b_ as WorkflowBaseHttpTaskCore, b$ as WorkflowBranch, c0 as WorkflowBundle, c1 as WorkflowConditionTask, c2 as WorkflowConditionTaskCondition, c3 as WorkflowConditionTaskCore, c4 as WorkflowConditionTaskFieldType, c5 as WorkflowConditionTaskInput, c6 as WorkflowConditionTaskLogic, c7 as WorkflowConditionTaskOperator, c8 as WorkflowConditionTaskOperatorGroup, c9 as WorkflowConditionTaskOperatorValueType, ca as WorkflowConstructArrayItem, cb as WorkflowConstructObjectField, cc as WorkflowConstructOutputType, cd as WorkflowConstructTask, ce as WorkflowConstructTaskCore, cf as WorkflowConstructTaskDefinitionInputParameters, cg as WorkflowConstructTaskInput, ch as WorkflowConstructTaskInputArray, ci as WorkflowConstructTaskInputObject, cj as WorkflowConvertTask, ck as WorkflowConvertTaskCore, cl as WorkflowConvertTaskDefinitionInputParameters, cm as WorkflowConvertTaskInput, cn as WorkflowConvertTaskInputAffix, co as WorkflowConvertTaskInputFilter, cp as WorkflowConvertTaskInputJoin, cq as WorkflowConvertTaskInputMath, cr as WorkflowConvertTaskInputPickOmit, cs as WorkflowConvertTaskInputPluck, ct as WorkflowConvertTaskInputReducer, cu as WorkflowConvertTaskInputReplace, cv as WorkflowConvertTaskInputRound, cw as WorkflowConvertTaskInputSimple, cx as WorkflowConvertTaskInputSort, cy as WorkflowConvertTaskInputSplit, cz as WorkflowConvertTaskInputSum, cA as WorkflowConvertTaskMathOperation, cB as WorkflowConvertTaskTransformer, k as WorkflowCore, p as WorkflowCrmOrganization, m as WorkflowCrmOrganizationsOrderBy, q as WorkflowCrmWorkflowsOrderBy, cC as WorkflowCustomHttpTaskCore, cD as WorkflowCustomTaskName, cE as WorkflowDefinitionDto, cF as WorkflowDoWhileBaseTask, cG as WorkflowDoWhileBaseTaskCore, cH as WorkflowDoWhileBaseTaskInput, cI as WorkflowDoWhileTask, cJ as WorkflowDoWhileTaskCore, W as WorkflowDto, cK as WorkflowElement, cL as WorkflowElementCore, cM as WorkflowElementIdentity, cN as WorkflowElementRef, t as WorkflowExecution, cO as WorkflowExecutionActionTaskData, cP as WorkflowExecutionAwaitTaskData, cQ as WorkflowExecutionChatContext, cR as WorkflowExecutionConditionTask, cS as WorkflowExecutionConstructTask, cT as WorkflowExecutionContext, cU as WorkflowExecutionConvertTask, cV as WorkflowExecutionData, cW as WorkflowExecutionDefinitionStatus, cX as WorkflowExecutionDoWhileIterationOutput, cY as WorkflowExecutionDoWhileTaskData, cZ as WorkflowExecutionForkJoinTaskData, c_ as WorkflowExecutionHttpTaskData, c$ as WorkflowExecutionInlineBaseTask, d0 as WorkflowExecutionInlineTaskData, d1 as WorkflowExecutionJoinTaskData, s as WorkflowExecutionListItem, d2 as WorkflowExecutionLookupTask, d3 as WorkflowExecutionNotifyAiAgentTaskData, d4 as WorkflowExecutionReasoningTaskData, d5 as WorkflowExecutionScriptTask, d6 as WorkflowExecutionSimpleBaseTaskData, d7 as WorkflowExecutionSimpleTaskData, d8 as WorkflowExecutionStatus, d9 as WorkflowExecutionSwitchBaseTask, da as WorkflowExecutionSwitchCaseTask, db as WorkflowExecutionSwitchTaskData, dc as WorkflowExecutionTaskBase, dd as WorkflowExecutionTaskData, de as WorkflowExecutionTaskStatus, df as WorkflowExecutionTerminateTaskData, dg as WorkflowExecutionTicketContext, dh as WorkflowExecutionTransformBaseTask, di as WorkflowExecutionTransformTaskData, dj as WorkflowExecutionTriggerData, dk as WorkflowExecutionTriggerDataBase, dl as WorkflowExecutionType, dm as WorkflowExecutionWaitTaskData, dn as WorkflowForEachTask, dp as WorkflowForEachTaskCore, dq as WorkflowForEachTaskInput, dr as WorkflowForkJoinTask, ds as WorkflowForkJoinTaskCore, dt as WorkflowForkJoinTaskInput, du as WorkflowFunctionErrorResponseBody, dv as WorkflowGraph, dw as WorkflowHttpRequest, dx as WorkflowHttpTask, dy as WorkflowHttpTaskCore, dz as WorkflowHttpTaskErrorResponseBody, dA as WorkflowHttpTaskFunctionErrorResponseBody, dB as WorkflowHttpTaskHeaders, dC as WorkflowHttpTaskInput, dD as WorkflowHttpTaskProviderErrorResponseBody, dE as WorkflowInactivityReason, dF as WorkflowInlineBaseTask, dG as WorkflowInlineBaseTaskCore, dH as WorkflowInlineBaseTaskInput, dI as WorkflowInlineTask, dJ as WorkflowInlineTaskCore, u as WorkflowIntrospection, dK as WorkflowItemKind, dL as WorkflowJoinTask, dM as WorkflowJoinTaskCore, dN as WorkflowJoinTaskInput, r as WorkflowListItemDto, dO as WorkflowLookupTask, dP as WorkflowLookupTaskCore, dQ as WorkflowLookupTaskDefinitionInputParameters, dR as WorkflowLookupTaskInput, dS as WorkflowLoopTask, dT as WorkflowLoopTaskCore, dU as WorkflowLoopTaskInput, dV as WorkflowManualTrigger, dW as WorkflowManualTriggerCore, dX as WorkflowManualTriggerParameter, dY as WorkflowManualTriggerSubType, dZ as WorkflowManualTriggerSubTypeName, d_ as WorkflowNode, d$ as WorkflowNotifyAiAgentTask, e0 as WorkflowNotifyAiAgentTaskCore, e1 as WorkflowNotifyAiAgentTaskInput, e2 as WorkflowNotifyAiAgentTaskObjectiveInput, e3 as WorkflowNotifyAiAgentTaskStrictInput, e4 as WorkflowOneTimeTrigger, e5 as WorkflowOneTimeTriggerCore, e6 as WorkflowOneTimeTriggerInput, e7 as WorkflowParentRef, e8 as WorkflowPlan, e9 as WorkflowReasoningOption, ea as WorkflowReasoningOptionAgent, eb as WorkflowReasoningOptionCustomer, ec as WorkflowReasoningTask, ed as WorkflowReasoningTaskCore, ee as WorkflowReasoningTaskInput, ef as WorkflowRecurringTrigger, eg as WorkflowRecurringTriggerCore, eh as WorkflowRecurringTriggerInput, ei as WorkflowResourceBucket, ej as WorkflowResourceRow, ek as WorkflowResources, el as WorkflowScriptTask, em as WorkflowScriptTaskCore, en as WorkflowScriptTaskInput, eo as WorkflowSimpleBaseTask, ep as WorkflowSimpleBaseTaskCore, eq as WorkflowSimpleTask, er as WorkflowSimpleTaskCore, es as WorkflowSwitchBaseTask, et as WorkflowSwitchBaseTaskCore, eu as WorkflowSwitchCaseTask, ev as WorkflowSwitchCaseTaskCore, ew as WorkflowSwitchCaseTaskInput, ex as WorkflowSwitchTask, ey as WorkflowSwitchTaskCore, ez as WorkflowSwitchTaskInput, eA as WorkflowTask, eB as WorkflowTaskBase, eC as WorkflowTaskCore, eD as WorkflowTaskIdentity, y as WorkflowTaskIntrospectResponse, eE as WorkflowTaskIntrospection, eF as WorkflowTaskOf, eG as WorkflowTaskPlan, eH as WorkflowTaskType, H as WorkflowTemplate, eI as WorkflowTemplateCategory, E as WorkflowTemplateListEntry, eJ as WorkflowTemplateMetadataItem, D as WorkflowTemplateOrderBy, eK as WorkflowTerminateTask, eL as WorkflowTerminateTaskCore, eM as WorkflowTerminateTaskInput, eN as WorkflowTransformBaseTask, eO as WorkflowTransformBaseTaskCore, eP as WorkflowTransformBaseTaskInput, eQ as WorkflowTransformTask, eR as WorkflowTransformTaskCore, eS as WorkflowTrigger, eT as WorkflowTriggerBase, eU as WorkflowTriggerCore, eV as WorkflowTriggerDto, eW as WorkflowTriggerIdentity, eX as WorkflowTriggerOf, eY as WorkflowTriggerPlan, eZ as WorkflowTriggerType, e_ as WorkflowWaitTask, e$ as WorkflowWaitTaskCore, f0 as WorkflowWaitTaskInput, f1 as WorkflowWebhook, f2 as WorkflowWebhookInput, f3 as WorkflowWebhookManualTrigger, f4 as WorkflowWebhookManualTriggerCore, f5 as WorkflowWebhookTrigger, f6 as WorkflowWebhookTriggerCore, f7 as WorkflowWebhookTriggerPure, fb as getWorkflowApiCrmConfig, fh as isFilter, fi as isFilterGroup, fj as isWorkflowBaseHttpTaskCore, fn as serializeFilters } from './events-
|
|
1
|
+
export { K as AiAgentSkillsCountDto, v as AiAgentSkillsSummaryDto, l as ApiPaginatedListQueryParams, o as ApiPaginatedResult, P as ApiPagination, Q as AwaitTaskCallback, X as BigCommerceOauthCredential, z as CreateCredentialPayload, _ as Credential, $ as CredentialCore, C as CredentialDto, a0 as CredentialInjection, a1 as CredentialStatus, a2 as CredentialType, a3 as CredentialTypeDisplayNameMapping, a6 as Filter, a7 as FilterGroup, a8 as FilterOperator, a9 as FilterValue, aa as Filters, F as FunctionDto, ab as FunctionSchema, ac as GitHubAppCredential, ad as GitHubOauthCredential, ae as HubSpotOauthCredential, x as IntrospectWorkflowTaskPayload, aT as MailchimpOauthCredential, aU as NeonOauthCredential, aV as NetlifyOauthCredential, aW as OAuthCredential, aX as OauthCredentialGrantType, aY as OpenaiCredential, aZ as PlanetScaleOauthCredential, a_ as PureHttpRequest, a$ as SalesforceOauthCredential, b2 as ShopifyOauthCredential, b5 as SlackOauthCredential, b6 as SortBy, b7 as SortOrder, b8 as Sorting, bh as TRIGGER_REFERENCE_NAME, bj as TextAuthCredential, bw as TextOAuthCredential, B as UpdateCredentialPayload, w as UpsertWorkflowPayload, bJ as VercelOauthCredential, bK as Workflow, bL as WorkflowActionTask, bM as WorkflowActionTaskCore, bN as WorkflowActionTaskErrorOutput, bO as WorkflowActionTaskInput, bP as WorkflowActionTaskInputParameters, bQ as WorkflowActionTaskSuccessOutput, bR as WorkflowAgentTrigger, bS as WorkflowAgentTriggerConfiguration, bT as WorkflowAgentTriggerCore, bU as WorkflowAgentTriggerInput, bV as WorkflowAgentTriggerSubType, bW as WorkflowAggregate, n as WorkflowApiCrmAuthorization, bX as WorkflowAwaitTask, bY as WorkflowAwaitTaskCore, bZ as WorkflowAwaitTaskInput, b_ as WorkflowBaseHttpTaskCore, b$ as WorkflowBranch, c0 as WorkflowBundle, c1 as WorkflowConditionTask, c2 as WorkflowConditionTaskCondition, c3 as WorkflowConditionTaskCore, c4 as WorkflowConditionTaskFieldType, c5 as WorkflowConditionTaskInput, c6 as WorkflowConditionTaskLogic, c7 as WorkflowConditionTaskOperator, c8 as WorkflowConditionTaskOperatorGroup, c9 as WorkflowConditionTaskOperatorValueType, ca as WorkflowConstructArrayItem, cb as WorkflowConstructObjectField, cc as WorkflowConstructOutputType, cd as WorkflowConstructTask, ce as WorkflowConstructTaskCore, cf as WorkflowConstructTaskDefinitionInputParameters, cg as WorkflowConstructTaskInput, ch as WorkflowConstructTaskInputArray, ci as WorkflowConstructTaskInputObject, cj as WorkflowConvertTask, ck as WorkflowConvertTaskCore, cl as WorkflowConvertTaskDefinitionInputParameters, cm as WorkflowConvertTaskInput, cn as WorkflowConvertTaskInputAffix, co as WorkflowConvertTaskInputFilter, cp as WorkflowConvertTaskInputJoin, cq as WorkflowConvertTaskInputMath, cr as WorkflowConvertTaskInputPickOmit, cs as WorkflowConvertTaskInputPluck, ct as WorkflowConvertTaskInputReducer, cu as WorkflowConvertTaskInputReplace, cv as WorkflowConvertTaskInputRound, cw as WorkflowConvertTaskInputSimple, cx as WorkflowConvertTaskInputSort, cy as WorkflowConvertTaskInputSplit, cz as WorkflowConvertTaskInputSum, cA as WorkflowConvertTaskMathOperation, cB as WorkflowConvertTaskTransformer, k as WorkflowCore, p as WorkflowCrmOrganization, m as WorkflowCrmOrganizationsOrderBy, q as WorkflowCrmWorkflowsOrderBy, cC as WorkflowCustomHttpTaskCore, cD as WorkflowCustomTaskName, cE as WorkflowDefinitionDto, cF as WorkflowDoWhileBaseTask, cG as WorkflowDoWhileBaseTaskCore, cH as WorkflowDoWhileBaseTaskInput, cI as WorkflowDoWhileTask, cJ as WorkflowDoWhileTaskCore, W as WorkflowDto, cK as WorkflowElement, cL as WorkflowElementCore, cM as WorkflowElementIdentity, cN as WorkflowElementRef, t as WorkflowExecution, cO as WorkflowExecutionActionTaskData, cP as WorkflowExecutionAwaitTaskData, cQ as WorkflowExecutionChatContext, cR as WorkflowExecutionConditionTask, cS as WorkflowExecutionConstructTask, cT as WorkflowExecutionContext, cU as WorkflowExecutionConvertTask, cV as WorkflowExecutionData, cW as WorkflowExecutionDefinitionStatus, cX as WorkflowExecutionDoWhileIterationOutput, cY as WorkflowExecutionDoWhileTaskData, cZ as WorkflowExecutionForkJoinTaskData, c_ as WorkflowExecutionHttpTaskData, c$ as WorkflowExecutionInlineBaseTask, d0 as WorkflowExecutionInlineTaskData, d1 as WorkflowExecutionJoinTaskData, s as WorkflowExecutionListItem, d2 as WorkflowExecutionLookupTask, d3 as WorkflowExecutionNotifyAiAgentTaskData, d4 as WorkflowExecutionReasoningTaskData, d5 as WorkflowExecutionScriptTask, d6 as WorkflowExecutionSimpleBaseTaskData, d7 as WorkflowExecutionSimpleTaskData, d8 as WorkflowExecutionStatus, d9 as WorkflowExecutionSwitchBaseTask, da as WorkflowExecutionSwitchCaseTask, db as WorkflowExecutionSwitchTaskData, dc as WorkflowExecutionTaskBase, dd as WorkflowExecutionTaskData, de as WorkflowExecutionTaskStatus, df as WorkflowExecutionTerminateTaskData, dg as WorkflowExecutionTicketContext, dh as WorkflowExecutionTransformBaseTask, di as WorkflowExecutionTransformTaskData, dj as WorkflowExecutionTriggerData, dk as WorkflowExecutionTriggerDataBase, dl as WorkflowExecutionType, dm as WorkflowExecutionWaitTaskData, dn as WorkflowForEachTask, dp as WorkflowForEachTaskCore, dq as WorkflowForEachTaskInput, dr as WorkflowForkJoinTask, ds as WorkflowForkJoinTaskCore, dt as WorkflowForkJoinTaskInput, du as WorkflowFunctionErrorResponseBody, dv as WorkflowGraph, dw as WorkflowHttpRequest, dx as WorkflowHttpTask, dy as WorkflowHttpTaskCore, dz as WorkflowHttpTaskErrorResponseBody, dA as WorkflowHttpTaskFunctionErrorResponseBody, dB as WorkflowHttpTaskHeaders, dC as WorkflowHttpTaskInput, dD as WorkflowHttpTaskProviderErrorResponseBody, dE as WorkflowInactivityReason, dF as WorkflowInlineBaseTask, dG as WorkflowInlineBaseTaskCore, dH as WorkflowInlineBaseTaskInput, dI as WorkflowInlineTask, dJ as WorkflowInlineTaskCore, u as WorkflowIntrospection, dK as WorkflowItemKind, dL as WorkflowJoinTask, dM as WorkflowJoinTaskCore, dN as WorkflowJoinTaskInput, r as WorkflowListItemDto, dO as WorkflowLookupTask, dP as WorkflowLookupTaskCore, dQ as WorkflowLookupTaskDefinitionInputParameters, dR as WorkflowLookupTaskInput, dS as WorkflowLoopTask, dT as WorkflowLoopTaskCore, dU as WorkflowLoopTaskInput, dV as WorkflowManualTrigger, dW as WorkflowManualTriggerCore, dX as WorkflowManualTriggerParameter, dY as WorkflowManualTriggerSubType, dZ as WorkflowManualTriggerSubTypeName, d_ as WorkflowNode, d$ as WorkflowNotifyAiAgentTask, e0 as WorkflowNotifyAiAgentTaskCore, e1 as WorkflowNotifyAiAgentTaskInput, e2 as WorkflowNotifyAiAgentTaskObjectiveInput, e3 as WorkflowNotifyAiAgentTaskStrictInput, e4 as WorkflowOneTimeTrigger, e5 as WorkflowOneTimeTriggerCore, e6 as WorkflowOneTimeTriggerInput, e7 as WorkflowParentRef, e8 as WorkflowPlan, e9 as WorkflowReasoningOption, ea as WorkflowReasoningOptionAgent, eb as WorkflowReasoningOptionCustomer, ec as WorkflowReasoningTask, ed as WorkflowReasoningTaskCore, ee as WorkflowReasoningTaskInput, ef as WorkflowRecurringTrigger, eg as WorkflowRecurringTriggerCore, eh as WorkflowRecurringTriggerInput, ei as WorkflowResourceBucket, ej as WorkflowResourceRow, ek as WorkflowResources, el as WorkflowScriptTask, em as WorkflowScriptTaskCore, en as WorkflowScriptTaskInput, eo as WorkflowSimpleBaseTask, ep as WorkflowSimpleBaseTaskCore, eq as WorkflowSimpleTask, er as WorkflowSimpleTaskCore, es as WorkflowSwitchBaseTask, et as WorkflowSwitchBaseTaskCore, eu as WorkflowSwitchCaseTask, ev as WorkflowSwitchCaseTaskCore, ew as WorkflowSwitchCaseTaskInput, ex as WorkflowSwitchTask, ey as WorkflowSwitchTaskCore, ez as WorkflowSwitchTaskInput, eA as WorkflowTask, eB as WorkflowTaskBase, eC as WorkflowTaskCore, eD as WorkflowTaskIdentity, y as WorkflowTaskIntrospectResponse, eE as WorkflowTaskIntrospection, eF as WorkflowTaskOf, eG as WorkflowTaskPlan, eH as WorkflowTaskType, H as WorkflowTemplate, eI as WorkflowTemplateCategory, E as WorkflowTemplateListEntry, eJ as WorkflowTemplateMetadataItem, D as WorkflowTemplateOrderBy, eK as WorkflowTerminateTask, eL as WorkflowTerminateTaskCore, eM as WorkflowTerminateTaskInput, eN as WorkflowTransformBaseTask, eO as WorkflowTransformBaseTaskCore, eP as WorkflowTransformBaseTaskInput, eQ as WorkflowTransformTask, eR as WorkflowTransformTaskCore, eS as WorkflowTrigger, eT as WorkflowTriggerBase, eU as WorkflowTriggerCore, eV as WorkflowTriggerDto, eW as WorkflowTriggerIdentity, eX as WorkflowTriggerOf, eY as WorkflowTriggerPlan, eZ as WorkflowTriggerType, e_ as WorkflowWaitTask, e$ as WorkflowWaitTaskCore, f0 as WorkflowWaitTaskInput, f1 as WorkflowWebhook, f2 as WorkflowWebhookInput, f3 as WorkflowWebhookManualTrigger, f4 as WorkflowWebhookManualTriggerCore, f5 as WorkflowWebhookTrigger, f6 as WorkflowWebhookTriggerCore, f7 as WorkflowWebhookTriggerPure, fb as getWorkflowApiCrmConfig, fh as isFilter, fi as isFilterGroup, fj as isWorkflowBaseHttpTaskCore, fn as serializeFilters } from './events-D7N51dRa.mjs';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { K as AiAgentSkillsCountDto, v as AiAgentSkillsSummaryDto, l as ApiPaginatedListQueryParams, o as ApiPaginatedResult, P as ApiPagination, Q as AwaitTaskCallback, X as BigCommerceOauthCredential, z as CreateCredentialPayload, _ as Credential, $ as CredentialCore, C as CredentialDto, a0 as CredentialInjection, a1 as CredentialStatus, a2 as CredentialType, a3 as CredentialTypeDisplayNameMapping, a6 as Filter, a7 as FilterGroup, a8 as FilterOperator, a9 as FilterValue, aa as Filters, F as FunctionDto, ab as FunctionSchema, ac as GitHubAppCredential, ad as GitHubOauthCredential, ae as HubSpotOauthCredential, x as IntrospectWorkflowTaskPayload, aT as MailchimpOauthCredential, aU as NeonOauthCredential, aV as NetlifyOauthCredential, aW as OAuthCredential, aX as OauthCredentialGrantType, aY as OpenaiCredential, aZ as PlanetScaleOauthCredential, a_ as PureHttpRequest, a$ as SalesforceOauthCredential, b2 as ShopifyOauthCredential, b5 as SlackOauthCredential, b6 as SortBy, b7 as SortOrder, b8 as Sorting, bh as TRIGGER_REFERENCE_NAME, bj as TextAuthCredential, bw as TextOAuthCredential, B as UpdateCredentialPayload, w as UpsertWorkflowPayload, bJ as VercelOauthCredential, bK as Workflow, bL as WorkflowActionTask, bM as WorkflowActionTaskCore, bN as WorkflowActionTaskErrorOutput, bO as WorkflowActionTaskInput, bP as WorkflowActionTaskInputParameters, bQ as WorkflowActionTaskSuccessOutput, bR as WorkflowAgentTrigger, bS as WorkflowAgentTriggerConfiguration, bT as WorkflowAgentTriggerCore, bU as WorkflowAgentTriggerInput, bV as WorkflowAgentTriggerSubType, bW as WorkflowAggregate, n as WorkflowApiCrmAuthorization, bX as WorkflowAwaitTask, bY as WorkflowAwaitTaskCore, bZ as WorkflowAwaitTaskInput, b_ as WorkflowBaseHttpTaskCore, b$ as WorkflowBranch, c0 as WorkflowBundle, c1 as WorkflowConditionTask, c2 as WorkflowConditionTaskCondition, c3 as WorkflowConditionTaskCore, c4 as WorkflowConditionTaskFieldType, c5 as WorkflowConditionTaskInput, c6 as WorkflowConditionTaskLogic, c7 as WorkflowConditionTaskOperator, c8 as WorkflowConditionTaskOperatorGroup, c9 as WorkflowConditionTaskOperatorValueType, ca as WorkflowConstructArrayItem, cb as WorkflowConstructObjectField, cc as WorkflowConstructOutputType, cd as WorkflowConstructTask, ce as WorkflowConstructTaskCore, cf as WorkflowConstructTaskDefinitionInputParameters, cg as WorkflowConstructTaskInput, ch as WorkflowConstructTaskInputArray, ci as WorkflowConstructTaskInputObject, cj as WorkflowConvertTask, ck as WorkflowConvertTaskCore, cl as WorkflowConvertTaskDefinitionInputParameters, cm as WorkflowConvertTaskInput, cn as WorkflowConvertTaskInputAffix, co as WorkflowConvertTaskInputFilter, cp as WorkflowConvertTaskInputJoin, cq as WorkflowConvertTaskInputMath, cr as WorkflowConvertTaskInputPickOmit, cs as WorkflowConvertTaskInputPluck, ct as WorkflowConvertTaskInputReducer, cu as WorkflowConvertTaskInputReplace, cv as WorkflowConvertTaskInputRound, cw as WorkflowConvertTaskInputSimple, cx as WorkflowConvertTaskInputSort, cy as WorkflowConvertTaskInputSplit, cz as WorkflowConvertTaskInputSum, cA as WorkflowConvertTaskMathOperation, cB as WorkflowConvertTaskTransformer, k as WorkflowCore, p as WorkflowCrmOrganization, m as WorkflowCrmOrganizationsOrderBy, q as WorkflowCrmWorkflowsOrderBy, cC as WorkflowCustomHttpTaskCore, cD as WorkflowCustomTaskName, cE as WorkflowDefinitionDto, cF as WorkflowDoWhileBaseTask, cG as WorkflowDoWhileBaseTaskCore, cH as WorkflowDoWhileBaseTaskInput, cI as WorkflowDoWhileTask, cJ as WorkflowDoWhileTaskCore, W as WorkflowDto, cK as WorkflowElement, cL as WorkflowElementCore, cM as WorkflowElementIdentity, cN as WorkflowElementRef, t as WorkflowExecution, cO as WorkflowExecutionActionTaskData, cP as WorkflowExecutionAwaitTaskData, cQ as WorkflowExecutionChatContext, cR as WorkflowExecutionConditionTask, cS as WorkflowExecutionConstructTask, cT as WorkflowExecutionContext, cU as WorkflowExecutionConvertTask, cV as WorkflowExecutionData, cW as WorkflowExecutionDefinitionStatus, cX as WorkflowExecutionDoWhileIterationOutput, cY as WorkflowExecutionDoWhileTaskData, cZ as WorkflowExecutionForkJoinTaskData, c_ as WorkflowExecutionHttpTaskData, c$ as WorkflowExecutionInlineBaseTask, d0 as WorkflowExecutionInlineTaskData, d1 as WorkflowExecutionJoinTaskData, s as WorkflowExecutionListItem, d2 as WorkflowExecutionLookupTask, d3 as WorkflowExecutionNotifyAiAgentTaskData, d4 as WorkflowExecutionReasoningTaskData, d5 as WorkflowExecutionScriptTask, d6 as WorkflowExecutionSimpleBaseTaskData, d7 as WorkflowExecutionSimpleTaskData, d8 as WorkflowExecutionStatus, d9 as WorkflowExecutionSwitchBaseTask, da as WorkflowExecutionSwitchCaseTask, db as WorkflowExecutionSwitchTaskData, dc as WorkflowExecutionTaskBase, dd as WorkflowExecutionTaskData, de as WorkflowExecutionTaskStatus, df as WorkflowExecutionTerminateTaskData, dg as WorkflowExecutionTicketContext, dh as WorkflowExecutionTransformBaseTask, di as WorkflowExecutionTransformTaskData, dj as WorkflowExecutionTriggerData, dk as WorkflowExecutionTriggerDataBase, dl as WorkflowExecutionType, dm as WorkflowExecutionWaitTaskData, dn as WorkflowForEachTask, dp as WorkflowForEachTaskCore, dq as WorkflowForEachTaskInput, dr as WorkflowForkJoinTask, ds as WorkflowForkJoinTaskCore, dt as WorkflowForkJoinTaskInput, du as WorkflowFunctionErrorResponseBody, dv as WorkflowGraph, dw as WorkflowHttpRequest, dx as WorkflowHttpTask, dy as WorkflowHttpTaskCore, dz as WorkflowHttpTaskErrorResponseBody, dA as WorkflowHttpTaskFunctionErrorResponseBody, dB as WorkflowHttpTaskHeaders, dC as WorkflowHttpTaskInput, dD as WorkflowHttpTaskProviderErrorResponseBody, dE as WorkflowInactivityReason, dF as WorkflowInlineBaseTask, dG as WorkflowInlineBaseTaskCore, dH as WorkflowInlineBaseTaskInput, dI as WorkflowInlineTask, dJ as WorkflowInlineTaskCore, u as WorkflowIntrospection, dK as WorkflowItemKind, dL as WorkflowJoinTask, dM as WorkflowJoinTaskCore, dN as WorkflowJoinTaskInput, r as WorkflowListItemDto, dO as WorkflowLookupTask, dP as WorkflowLookupTaskCore, dQ as WorkflowLookupTaskDefinitionInputParameters, dR as WorkflowLookupTaskInput, dS as WorkflowLoopTask, dT as WorkflowLoopTaskCore, dU as WorkflowLoopTaskInput, dV as WorkflowManualTrigger, dW as WorkflowManualTriggerCore, dX as WorkflowManualTriggerParameter, dY as WorkflowManualTriggerSubType, dZ as WorkflowManualTriggerSubTypeName, d_ as WorkflowNode, d$ as WorkflowNotifyAiAgentTask, e0 as WorkflowNotifyAiAgentTaskCore, e1 as WorkflowNotifyAiAgentTaskInput, e2 as WorkflowNotifyAiAgentTaskObjectiveInput, e3 as WorkflowNotifyAiAgentTaskStrictInput, e4 as WorkflowOneTimeTrigger, e5 as WorkflowOneTimeTriggerCore, e6 as WorkflowOneTimeTriggerInput, e7 as WorkflowParentRef, e8 as WorkflowPlan, e9 as WorkflowReasoningOption, ea as WorkflowReasoningOptionAgent, eb as WorkflowReasoningOptionCustomer, ec as WorkflowReasoningTask, ed as WorkflowReasoningTaskCore, ee as WorkflowReasoningTaskInput, ef as WorkflowRecurringTrigger, eg as WorkflowRecurringTriggerCore, eh as WorkflowRecurringTriggerInput, ei as WorkflowResourceBucket, ej as WorkflowResourceRow, ek as WorkflowResources, el as WorkflowScriptTask, em as WorkflowScriptTaskCore, en as WorkflowScriptTaskInput, eo as WorkflowSimpleBaseTask, ep as WorkflowSimpleBaseTaskCore, eq as WorkflowSimpleTask, er as WorkflowSimpleTaskCore, es as WorkflowSwitchBaseTask, et as WorkflowSwitchBaseTaskCore, eu as WorkflowSwitchCaseTask, ev as WorkflowSwitchCaseTaskCore, ew as WorkflowSwitchCaseTaskInput, ex as WorkflowSwitchTask, ey as WorkflowSwitchTaskCore, ez as WorkflowSwitchTaskInput, eA as WorkflowTask, eB as WorkflowTaskBase, eC as WorkflowTaskCore, eD as WorkflowTaskIdentity, y as WorkflowTaskIntrospectResponse, eE as WorkflowTaskIntrospection, eF as WorkflowTaskOf, eG as WorkflowTaskPlan, eH as WorkflowTaskType, H as WorkflowTemplate, eI as WorkflowTemplateCategory, E as WorkflowTemplateListEntry, eJ as WorkflowTemplateMetadataItem, D as WorkflowTemplateOrderBy, eK as WorkflowTerminateTask, eL as WorkflowTerminateTaskCore, eM as WorkflowTerminateTaskInput, eN as WorkflowTransformBaseTask, eO as WorkflowTransformBaseTaskCore, eP as WorkflowTransformBaseTaskInput, eQ as WorkflowTransformTask, eR as WorkflowTransformTaskCore, eS as WorkflowTrigger, eT as WorkflowTriggerBase, eU as WorkflowTriggerCore, eV as WorkflowTriggerDto, eW as WorkflowTriggerIdentity, eX as WorkflowTriggerOf, eY as WorkflowTriggerPlan, eZ as WorkflowTriggerType, e_ as WorkflowWaitTask, e$ as WorkflowWaitTaskCore, f0 as WorkflowWaitTaskInput, f1 as WorkflowWebhook, f2 as WorkflowWebhookInput, f3 as WorkflowWebhookManualTrigger, f4 as WorkflowWebhookManualTriggerCore, f5 as WorkflowWebhookTrigger, f6 as WorkflowWebhookTriggerCore, f7 as WorkflowWebhookTriggerPure, fb as getWorkflowApiCrmConfig, fh as isFilter, fi as isFilterGroup, fj as isWorkflowBaseHttpTaskCore, fn as serializeFilters } from './events-
|
|
1
|
+
export { K as AiAgentSkillsCountDto, v as AiAgentSkillsSummaryDto, l as ApiPaginatedListQueryParams, o as ApiPaginatedResult, P as ApiPagination, Q as AwaitTaskCallback, X as BigCommerceOauthCredential, z as CreateCredentialPayload, _ as Credential, $ as CredentialCore, C as CredentialDto, a0 as CredentialInjection, a1 as CredentialStatus, a2 as CredentialType, a3 as CredentialTypeDisplayNameMapping, a6 as Filter, a7 as FilterGroup, a8 as FilterOperator, a9 as FilterValue, aa as Filters, F as FunctionDto, ab as FunctionSchema, ac as GitHubAppCredential, ad as GitHubOauthCredential, ae as HubSpotOauthCredential, x as IntrospectWorkflowTaskPayload, aT as MailchimpOauthCredential, aU as NeonOauthCredential, aV as NetlifyOauthCredential, aW as OAuthCredential, aX as OauthCredentialGrantType, aY as OpenaiCredential, aZ as PlanetScaleOauthCredential, a_ as PureHttpRequest, a$ as SalesforceOauthCredential, b2 as ShopifyOauthCredential, b5 as SlackOauthCredential, b6 as SortBy, b7 as SortOrder, b8 as Sorting, bh as TRIGGER_REFERENCE_NAME, bj as TextAuthCredential, bw as TextOAuthCredential, B as UpdateCredentialPayload, w as UpsertWorkflowPayload, bJ as VercelOauthCredential, bK as Workflow, bL as WorkflowActionTask, bM as WorkflowActionTaskCore, bN as WorkflowActionTaskErrorOutput, bO as WorkflowActionTaskInput, bP as WorkflowActionTaskInputParameters, bQ as WorkflowActionTaskSuccessOutput, bR as WorkflowAgentTrigger, bS as WorkflowAgentTriggerConfiguration, bT as WorkflowAgentTriggerCore, bU as WorkflowAgentTriggerInput, bV as WorkflowAgentTriggerSubType, bW as WorkflowAggregate, n as WorkflowApiCrmAuthorization, bX as WorkflowAwaitTask, bY as WorkflowAwaitTaskCore, bZ as WorkflowAwaitTaskInput, b_ as WorkflowBaseHttpTaskCore, b$ as WorkflowBranch, c0 as WorkflowBundle, c1 as WorkflowConditionTask, c2 as WorkflowConditionTaskCondition, c3 as WorkflowConditionTaskCore, c4 as WorkflowConditionTaskFieldType, c5 as WorkflowConditionTaskInput, c6 as WorkflowConditionTaskLogic, c7 as WorkflowConditionTaskOperator, c8 as WorkflowConditionTaskOperatorGroup, c9 as WorkflowConditionTaskOperatorValueType, ca as WorkflowConstructArrayItem, cb as WorkflowConstructObjectField, cc as WorkflowConstructOutputType, cd as WorkflowConstructTask, ce as WorkflowConstructTaskCore, cf as WorkflowConstructTaskDefinitionInputParameters, cg as WorkflowConstructTaskInput, ch as WorkflowConstructTaskInputArray, ci as WorkflowConstructTaskInputObject, cj as WorkflowConvertTask, ck as WorkflowConvertTaskCore, cl as WorkflowConvertTaskDefinitionInputParameters, cm as WorkflowConvertTaskInput, cn as WorkflowConvertTaskInputAffix, co as WorkflowConvertTaskInputFilter, cp as WorkflowConvertTaskInputJoin, cq as WorkflowConvertTaskInputMath, cr as WorkflowConvertTaskInputPickOmit, cs as WorkflowConvertTaskInputPluck, ct as WorkflowConvertTaskInputReducer, cu as WorkflowConvertTaskInputReplace, cv as WorkflowConvertTaskInputRound, cw as WorkflowConvertTaskInputSimple, cx as WorkflowConvertTaskInputSort, cy as WorkflowConvertTaskInputSplit, cz as WorkflowConvertTaskInputSum, cA as WorkflowConvertTaskMathOperation, cB as WorkflowConvertTaskTransformer, k as WorkflowCore, p as WorkflowCrmOrganization, m as WorkflowCrmOrganizationsOrderBy, q as WorkflowCrmWorkflowsOrderBy, cC as WorkflowCustomHttpTaskCore, cD as WorkflowCustomTaskName, cE as WorkflowDefinitionDto, cF as WorkflowDoWhileBaseTask, cG as WorkflowDoWhileBaseTaskCore, cH as WorkflowDoWhileBaseTaskInput, cI as WorkflowDoWhileTask, cJ as WorkflowDoWhileTaskCore, W as WorkflowDto, cK as WorkflowElement, cL as WorkflowElementCore, cM as WorkflowElementIdentity, cN as WorkflowElementRef, t as WorkflowExecution, cO as WorkflowExecutionActionTaskData, cP as WorkflowExecutionAwaitTaskData, cQ as WorkflowExecutionChatContext, cR as WorkflowExecutionConditionTask, cS as WorkflowExecutionConstructTask, cT as WorkflowExecutionContext, cU as WorkflowExecutionConvertTask, cV as WorkflowExecutionData, cW as WorkflowExecutionDefinitionStatus, cX as WorkflowExecutionDoWhileIterationOutput, cY as WorkflowExecutionDoWhileTaskData, cZ as WorkflowExecutionForkJoinTaskData, c_ as WorkflowExecutionHttpTaskData, c$ as WorkflowExecutionInlineBaseTask, d0 as WorkflowExecutionInlineTaskData, d1 as WorkflowExecutionJoinTaskData, s as WorkflowExecutionListItem, d2 as WorkflowExecutionLookupTask, d3 as WorkflowExecutionNotifyAiAgentTaskData, d4 as WorkflowExecutionReasoningTaskData, d5 as WorkflowExecutionScriptTask, d6 as WorkflowExecutionSimpleBaseTaskData, d7 as WorkflowExecutionSimpleTaskData, d8 as WorkflowExecutionStatus, d9 as WorkflowExecutionSwitchBaseTask, da as WorkflowExecutionSwitchCaseTask, db as WorkflowExecutionSwitchTaskData, dc as WorkflowExecutionTaskBase, dd as WorkflowExecutionTaskData, de as WorkflowExecutionTaskStatus, df as WorkflowExecutionTerminateTaskData, dg as WorkflowExecutionTicketContext, dh as WorkflowExecutionTransformBaseTask, di as WorkflowExecutionTransformTaskData, dj as WorkflowExecutionTriggerData, dk as WorkflowExecutionTriggerDataBase, dl as WorkflowExecutionType, dm as WorkflowExecutionWaitTaskData, dn as WorkflowForEachTask, dp as WorkflowForEachTaskCore, dq as WorkflowForEachTaskInput, dr as WorkflowForkJoinTask, ds as WorkflowForkJoinTaskCore, dt as WorkflowForkJoinTaskInput, du as WorkflowFunctionErrorResponseBody, dv as WorkflowGraph, dw as WorkflowHttpRequest, dx as WorkflowHttpTask, dy as WorkflowHttpTaskCore, dz as WorkflowHttpTaskErrorResponseBody, dA as WorkflowHttpTaskFunctionErrorResponseBody, dB as WorkflowHttpTaskHeaders, dC as WorkflowHttpTaskInput, dD as WorkflowHttpTaskProviderErrorResponseBody, dE as WorkflowInactivityReason, dF as WorkflowInlineBaseTask, dG as WorkflowInlineBaseTaskCore, dH as WorkflowInlineBaseTaskInput, dI as WorkflowInlineTask, dJ as WorkflowInlineTaskCore, u as WorkflowIntrospection, dK as WorkflowItemKind, dL as WorkflowJoinTask, dM as WorkflowJoinTaskCore, dN as WorkflowJoinTaskInput, r as WorkflowListItemDto, dO as WorkflowLookupTask, dP as WorkflowLookupTaskCore, dQ as WorkflowLookupTaskDefinitionInputParameters, dR as WorkflowLookupTaskInput, dS as WorkflowLoopTask, dT as WorkflowLoopTaskCore, dU as WorkflowLoopTaskInput, dV as WorkflowManualTrigger, dW as WorkflowManualTriggerCore, dX as WorkflowManualTriggerParameter, dY as WorkflowManualTriggerSubType, dZ as WorkflowManualTriggerSubTypeName, d_ as WorkflowNode, d$ as WorkflowNotifyAiAgentTask, e0 as WorkflowNotifyAiAgentTaskCore, e1 as WorkflowNotifyAiAgentTaskInput, e2 as WorkflowNotifyAiAgentTaskObjectiveInput, e3 as WorkflowNotifyAiAgentTaskStrictInput, e4 as WorkflowOneTimeTrigger, e5 as WorkflowOneTimeTriggerCore, e6 as WorkflowOneTimeTriggerInput, e7 as WorkflowParentRef, e8 as WorkflowPlan, e9 as WorkflowReasoningOption, ea as WorkflowReasoningOptionAgent, eb as WorkflowReasoningOptionCustomer, ec as WorkflowReasoningTask, ed as WorkflowReasoningTaskCore, ee as WorkflowReasoningTaskInput, ef as WorkflowRecurringTrigger, eg as WorkflowRecurringTriggerCore, eh as WorkflowRecurringTriggerInput, ei as WorkflowResourceBucket, ej as WorkflowResourceRow, ek as WorkflowResources, el as WorkflowScriptTask, em as WorkflowScriptTaskCore, en as WorkflowScriptTaskInput, eo as WorkflowSimpleBaseTask, ep as WorkflowSimpleBaseTaskCore, eq as WorkflowSimpleTask, er as WorkflowSimpleTaskCore, es as WorkflowSwitchBaseTask, et as WorkflowSwitchBaseTaskCore, eu as WorkflowSwitchCaseTask, ev as WorkflowSwitchCaseTaskCore, ew as WorkflowSwitchCaseTaskInput, ex as WorkflowSwitchTask, ey as WorkflowSwitchTaskCore, ez as WorkflowSwitchTaskInput, eA as WorkflowTask, eB as WorkflowTaskBase, eC as WorkflowTaskCore, eD as WorkflowTaskIdentity, y as WorkflowTaskIntrospectResponse, eE as WorkflowTaskIntrospection, eF as WorkflowTaskOf, eG as WorkflowTaskPlan, eH as WorkflowTaskType, H as WorkflowTemplate, eI as WorkflowTemplateCategory, E as WorkflowTemplateListEntry, eJ as WorkflowTemplateMetadataItem, D as WorkflowTemplateOrderBy, eK as WorkflowTerminateTask, eL as WorkflowTerminateTaskCore, eM as WorkflowTerminateTaskInput, eN as WorkflowTransformBaseTask, eO as WorkflowTransformBaseTaskCore, eP as WorkflowTransformBaseTaskInput, eQ as WorkflowTransformTask, eR as WorkflowTransformTaskCore, eS as WorkflowTrigger, eT as WorkflowTriggerBase, eU as WorkflowTriggerCore, eV as WorkflowTriggerDto, eW as WorkflowTriggerIdentity, eX as WorkflowTriggerOf, eY as WorkflowTriggerPlan, eZ as WorkflowTriggerType, e_ as WorkflowWaitTask, e$ as WorkflowWaitTaskCore, f0 as WorkflowWaitTaskInput, f1 as WorkflowWebhook, f2 as WorkflowWebhookInput, f3 as WorkflowWebhookManualTrigger, f4 as WorkflowWebhookManualTriggerCore, f5 as WorkflowWebhookTrigger, f6 as WorkflowWebhookTriggerCore, f7 as WorkflowWebhookTriggerPure, fb as getWorkflowApiCrmConfig, fh as isFilter, fi as isFilterGroup, fj as isWorkflowBaseHttpTaskCore, fn as serializeFilters } from './events-D7N51dRa.js';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|
|
@@ -1319,30 +1319,31 @@ var segmentMembershipDataZod = customerMetadataZod.extend({
|
|
|
1319
1319
|
membership_last_updated_at: import_zod.z.string(),
|
|
1320
1320
|
segment_fields: import_zod.z.object({
|
|
1321
1321
|
email: import_zod.z.string().optional(),
|
|
1322
|
-
customer_properties: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
1323
|
-
}).
|
|
1324
|
-
}).
|
|
1322
|
+
customer_properties: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
|
|
1323
|
+
}).loose().optional()
|
|
1324
|
+
}).loose();
|
|
1325
1325
|
var cdpCustomerEventMessageZod = import_zod.z.discriminatedUnion("type", [
|
|
1326
1326
|
import_zod.z.object({
|
|
1327
1327
|
id: import_zod.z.string(),
|
|
1328
1328
|
type: import_zod.z.literal("customer_email_set" /* EmailSet */),
|
|
1329
1329
|
data: customerMetadataZod.extend({
|
|
1330
1330
|
email: import_zod.z.string()
|
|
1331
|
-
}).
|
|
1331
|
+
}).loose()
|
|
1332
1332
|
}),
|
|
1333
1333
|
import_zod.z.object({
|
|
1334
1334
|
id: import_zod.z.string(),
|
|
1335
1335
|
type: import_zod.z.literal("customer_properties_values_updated" /* PropertiesValuesUpdated */),
|
|
1336
1336
|
data: customerMetadataZod.extend({
|
|
1337
1337
|
customer_properties: import_zod.z.record(
|
|
1338
|
+
import_zod.z.string(),
|
|
1338
1339
|
import_zod.z.object({
|
|
1339
1340
|
value: import_zod.z.unknown(),
|
|
1340
1341
|
last_updated_at: import_zod.z.string(),
|
|
1341
1342
|
last_updated_agent_account_id: import_zod.z.string().optional(),
|
|
1342
1343
|
last_updated_agent_client_id: import_zod.z.string().optional()
|
|
1343
|
-
}).
|
|
1344
|
+
}).loose()
|
|
1344
1345
|
)
|
|
1345
|
-
}).
|
|
1346
|
+
}).loose()
|
|
1346
1347
|
}),
|
|
1347
1348
|
import_zod.z.object({
|
|
1348
1349
|
id: import_zod.z.string(),
|
|
@@ -1558,9 +1559,9 @@ var integrationEventsCoreZods = {
|
|
|
1558
1559
|
},
|
|
1559
1560
|
get authorization() {
|
|
1560
1561
|
return import_zod6.z.object({
|
|
1561
|
-
headers: import_zod6.z.record(import_zod6.z.string()).optional(),
|
|
1562
|
-
query_params: import_zod6.z.record(import_zod6.z.string()).optional(),
|
|
1563
|
-
data: import_zod6.z.record(import_zod6.z.string()).optional()
|
|
1562
|
+
headers: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.string()).optional(),
|
|
1563
|
+
query_params: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.string()).optional(),
|
|
1564
|
+
data: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.string()).optional()
|
|
1564
1565
|
});
|
|
1565
1566
|
},
|
|
1566
1567
|
withCore(schema) {
|
|
@@ -1584,7 +1585,7 @@ var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
|
1584
1585
|
})(BigCommerceEventNames || {});
|
|
1585
1586
|
var bigcommerceEventsZods = {
|
|
1586
1587
|
provider: import_zod7.z.literal("bigcommerce" /* BigCommerce */),
|
|
1587
|
-
eventName: import_zod7.z.
|
|
1588
|
+
eventName: import_zod7.z.enum(BigCommerceEventNames),
|
|
1588
1589
|
events: {
|
|
1589
1590
|
cartCreated: integrationEventBase.extend({
|
|
1590
1591
|
name: import_zod7.z.literal("cart_created" /* CartCreated */)
|
|
@@ -1654,7 +1655,7 @@ var HubspotEventNames = /* @__PURE__ */ ((HubspotEventNames2) => {
|
|
|
1654
1655
|
})(HubspotEventNames || {});
|
|
1655
1656
|
var hubspotEventsZods = {
|
|
1656
1657
|
provider: import_zod8.z.literal("hubspot" /* HubSpot */),
|
|
1657
|
-
eventName: import_zod8.z.
|
|
1658
|
+
eventName: import_zod8.z.enum(HubspotEventNames),
|
|
1658
1659
|
events: {
|
|
1659
1660
|
contactCreated: integrationEventBase.extend({
|
|
1660
1661
|
name: import_zod8.z.literal("contact_created" /* ContactCreated */)
|
|
@@ -1708,7 +1709,7 @@ var MailchimpEventNames = /* @__PURE__ */ ((MailchimpEventNames2) => {
|
|
|
1708
1709
|
})(MailchimpEventNames || {});
|
|
1709
1710
|
var mailchimpEventsZods = {
|
|
1710
1711
|
provider: import_zod9.z.literal("mailchimp" /* Mailchimp */),
|
|
1711
|
-
eventName: import_zod9.z.
|
|
1712
|
+
eventName: import_zod9.z.enum(MailchimpEventNames),
|
|
1712
1713
|
events: {
|
|
1713
1714
|
subscribed: integrationEventBase.extend({
|
|
1714
1715
|
listId: import_zod9.z.string(),
|
|
@@ -1766,7 +1767,7 @@ var ShopifyEventNames = /* @__PURE__ */ ((ShopifyEventNames2) => {
|
|
|
1766
1767
|
})(ShopifyEventNames || {});
|
|
1767
1768
|
var shopifyEventsZods = {
|
|
1768
1769
|
provider: import_zod10.z.literal("shopify" /* Shopify */),
|
|
1769
|
-
eventName: import_zod10.z.
|
|
1770
|
+
eventName: import_zod10.z.enum(ShopifyEventNames),
|
|
1770
1771
|
events: {
|
|
1771
1772
|
orderCreated: integrationEventBase.extend({
|
|
1772
1773
|
name: import_zod10.z.literal("order_created" /* OrderCreated */)
|
|
@@ -1817,7 +1818,7 @@ var SlackEventNames = /* @__PURE__ */ ((SlackEventNames2) => {
|
|
|
1817
1818
|
})(SlackEventNames || {});
|
|
1818
1819
|
var slackEventsZods = {
|
|
1819
1820
|
provider: import_zod11.z.literal("slack" /* Slack */),
|
|
1820
|
-
eventName: import_zod11.z.
|
|
1821
|
+
eventName: import_zod11.z.enum(SlackEventNames),
|
|
1821
1822
|
events: {
|
|
1822
1823
|
channelNewMessagePosted: integrationEventBase.extend({
|
|
1823
1824
|
name: import_zod11.z.literal("channel_new_message_posted" /* ChannelNewMessagePosted */),
|
|
@@ -1891,7 +1892,7 @@ var TextCustomerSegmentType = /* @__PURE__ */ ((TextCustomerSegmentType2) => {
|
|
|
1891
1892
|
return TextCustomerSegmentType2;
|
|
1892
1893
|
})(TextCustomerSegmentType || {});
|
|
1893
1894
|
var textCustomerEventsZods = {
|
|
1894
|
-
eventName: import_zod12.z.
|
|
1895
|
+
eventName: import_zod12.z.enum(TextCustomerEventNames),
|
|
1895
1896
|
events: {
|
|
1896
1897
|
emailSet: integrationEventBase.extend({
|
|
1897
1898
|
name: import_zod12.z.literal("customer_email_set" /* EmailSet */),
|
|
@@ -1908,11 +1909,11 @@ var textCustomerEventsZods = {
|
|
|
1908
1909
|
}),
|
|
1909
1910
|
segmentAdded: integrationEventBase.extend({
|
|
1910
1911
|
name: import_zod12.z.literal("segment_added" /* SegmentAdded */),
|
|
1911
|
-
segment_type: import_zod12.z.
|
|
1912
|
+
segment_type: import_zod12.z.enum(TextCustomerSegmentType)
|
|
1912
1913
|
}),
|
|
1913
1914
|
segmentRemoved: integrationEventBase.extend({
|
|
1914
1915
|
name: import_zod12.z.literal("segment_removed" /* SegmentRemoved */),
|
|
1915
|
-
segment_type: import_zod12.z.
|
|
1916
|
+
segment_type: import_zod12.z.enum(TextCustomerSegmentType)
|
|
1916
1917
|
})
|
|
1917
1918
|
},
|
|
1918
1919
|
get event() {
|
|
@@ -1966,7 +1967,7 @@ var baseFiltersZod = import_zod13.z.object({
|
|
|
1966
1967
|
});
|
|
1967
1968
|
var textHelpDeskEventsZods = {
|
|
1968
1969
|
provider: import_zod13.z.literal("text-helpdesk" /* HelpDesk */),
|
|
1969
|
-
eventName: import_zod13.z.
|
|
1970
|
+
eventName: import_zod13.z.enum(TextHelpDeskEventNames),
|
|
1970
1971
|
events: {
|
|
1971
1972
|
ticketCreated: integrationEventBase.extend({
|
|
1972
1973
|
name: import_zod13.z.literal("ticket_created" /* TicketCreated */)
|
|
@@ -1977,15 +1978,15 @@ var textHelpDeskEventsZods = {
|
|
|
1977
1978
|
ticketStatusChanged: integrationEventBase.extend({
|
|
1978
1979
|
name: import_zod13.z.literal("ticket_status_changed" /* TicketStatusChanged */),
|
|
1979
1980
|
status: import_zod13.z.object({
|
|
1980
|
-
from: import_zod13.z.array(import_zod13.z.
|
|
1981
|
-
to: import_zod13.z.array(import_zod13.z.
|
|
1981
|
+
from: import_zod13.z.array(import_zod13.z.enum(TicketStatus)).optional(),
|
|
1982
|
+
to: import_zod13.z.array(import_zod13.z.enum(TicketStatus)).optional()
|
|
1982
1983
|
}).optional()
|
|
1983
1984
|
}).extend(baseFiltersZod.shape),
|
|
1984
1985
|
ticketPriorityChanged: integrationEventBase.extend({
|
|
1985
1986
|
name: import_zod13.z.literal("ticket_priority_changed" /* TicketPriorityChanged */),
|
|
1986
1987
|
priority: import_zod13.z.object({
|
|
1987
|
-
from: import_zod13.z.array(import_zod13.z.
|
|
1988
|
-
to: import_zod13.z.array(import_zod13.z.
|
|
1988
|
+
from: import_zod13.z.array(import_zod13.z.enum(TicketPriority)).optional(),
|
|
1989
|
+
to: import_zod13.z.array(import_zod13.z.enum(TicketPriority)).optional()
|
|
1989
1990
|
}).optional()
|
|
1990
1991
|
}).extend(baseFiltersZod.shape),
|
|
1991
1992
|
ticketTagsChanged: integrationEventBase.extend({
|
|
@@ -2114,7 +2115,7 @@ var livechatEventContext = import_zod14.z.object({
|
|
|
2114
2115
|
});
|
|
2115
2116
|
var textLivechatEventsZods = {
|
|
2116
2117
|
provider: import_zod14.z.literal("text-livechat" /* LiveChat */),
|
|
2117
|
-
eventName: import_zod14.z.
|
|
2118
|
+
eventName: import_zod14.z.enum(TextLivechatEventNames),
|
|
2118
2119
|
events: {
|
|
2119
2120
|
chatStarted: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
2120
2121
|
name: import_zod14.z.literal("chat_started" /* ChatStarted */),
|
|
@@ -2165,14 +2166,14 @@ var textLivechatEventsZods = {
|
|
|
2165
2166
|
}),
|
|
2166
2167
|
customerLeftChat: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
2167
2168
|
name: import_zod14.z.literal("customer_left_chat" /* CustomerLeftChat */),
|
|
2168
|
-
reasons: import_zod14.z.array(import_zod14.z.
|
|
2169
|
+
reasons: import_zod14.z.array(import_zod14.z.enum(CustomerLeftChatReason)).optional()
|
|
2169
2170
|
}),
|
|
2170
2171
|
chatIdle: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
2171
2172
|
name: import_zod14.z.literal("chat_idle" /* ChatIdle */)
|
|
2172
2173
|
}),
|
|
2173
2174
|
productCardEvent: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
2174
2175
|
name: import_zod14.z.literal("product_card_event" /* ProductCardEvent */),
|
|
2175
|
-
type: import_zod14.z.
|
|
2176
|
+
type: import_zod14.z.enum(TextLivechatProductCardEventType),
|
|
2176
2177
|
product_id: import_zod14.z.string().optional()
|
|
2177
2178
|
}),
|
|
2178
2179
|
richMessagePostback: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"axios": "^1.20.0",
|
|
29
29
|
"json-schema": "^0.4.0",
|
|
30
30
|
"shopify-api-node": "^3.13.1",
|
|
31
|
-
"zod": "^
|
|
31
|
+
"zod": "^4.6.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/json-schema": "^7.0.15",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"eslint": "^9.39.1",
|
|
37
37
|
"tsup": "^8.5.1",
|
|
38
38
|
"typescript": "^5.1.6",
|
|
39
|
-
"tsconfig": "0.2.1",
|
|
40
39
|
"eslint-config-custom": "0.0.15",
|
|
40
|
+
"tsconfig": "0.2.1",
|
|
41
41
|
"utils": "0.4.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|