@livechat/developer-studio-api 5.11.2 → 6.0.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-MWQIJSSO.mjs +10358 -0
- package/dist/{chunk-3I7N2WOU.mjs → chunk-OA7BKSZP.mjs} +108 -42
- package/dist/contracts-BEh-tWhD.d.mts +5480 -0
- package/dist/contracts-BEh-tWhD.d.ts +5480 -0
- package/dist/events-CJ8UHYDf.d.mts +5480 -0
- package/dist/events-CJ8UHYDf.d.ts +5480 -0
- package/dist/index.d.mts +140 -1376
- package/dist/index.d.ts +140 -1376
- package/dist/index.js +111 -42
- package/dist/index.mjs +7 -1
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +63 -42
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +4 -4
- package/dist/events-C52EVACK.d.mts +0 -13654
- package/dist/events-C52EVACK.d.ts +0 -13654
package/dist/index.js
CHANGED
|
@@ -103,6 +103,7 @@ __export(src_exports, {
|
|
|
103
103
|
ORGANIZATION_ID_HEADER: () => ORGANIZATION_ID_HEADER,
|
|
104
104
|
OauthCredentialGrantType: () => OauthCredentialGrantType,
|
|
105
105
|
PROXY_AUTHORIZATION_HEADER: () => PROXY_AUTHORIZATION_HEADER,
|
|
106
|
+
RegenerateIntentRejectionError: () => RegenerateIntentRejectionError,
|
|
106
107
|
SERVICE_ACCOUNT_ID_HEADER: () => SERVICE_ACCOUNT_ID_HEADER,
|
|
107
108
|
SERVICE_ORGANIZATION_ID_HEADER: () => SERVICE_ORGANIZATION_ID_HEADER,
|
|
108
109
|
ShopifyApiError: () => ShopifyApiError,
|
|
@@ -235,7 +236,9 @@ __export(src_exports, {
|
|
|
235
236
|
isFilter: () => isFilter,
|
|
236
237
|
isFilterGroup: () => isFilterGroup,
|
|
237
238
|
isWorkflowBaseHttpTaskCore: () => isWorkflowBaseHttpTaskCore,
|
|
239
|
+
livechatChatContext: () => livechatChatContext,
|
|
238
240
|
livechatClientInstance: () => livechatClientInstance,
|
|
241
|
+
livechatEventContext: () => livechatEventContext,
|
|
239
242
|
mailchimpClientInstance: () => mailchimpClientInstance,
|
|
240
243
|
mailchimpEventsZods: () => mailchimpEventsZods,
|
|
241
244
|
mergeDeep: () => mergeDeep,
|
|
@@ -552,9 +555,9 @@ var integrationEventsCoreZods = {
|
|
|
552
555
|
},
|
|
553
556
|
get authorization() {
|
|
554
557
|
return import_zod.z.object({
|
|
555
|
-
headers: import_zod.z.record(import_zod.z.string()).optional(),
|
|
556
|
-
query_params: import_zod.z.record(import_zod.z.string()).optional(),
|
|
557
|
-
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()
|
|
558
561
|
});
|
|
559
562
|
},
|
|
560
563
|
withCore(schema) {
|
|
@@ -578,7 +581,7 @@ var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
|
578
581
|
})(BigCommerceEventNames || {});
|
|
579
582
|
var bigcommerceEventsZods = {
|
|
580
583
|
provider: import_zod2.z.literal("bigcommerce" /* BigCommerce */),
|
|
581
|
-
eventName: import_zod2.z.
|
|
584
|
+
eventName: import_zod2.z.enum(BigCommerceEventNames),
|
|
582
585
|
events: {
|
|
583
586
|
cartCreated: integrationEventBase.extend({
|
|
584
587
|
name: import_zod2.z.literal("cart_created" /* CartCreated */)
|
|
@@ -648,7 +651,7 @@ var HubspotEventNames = /* @__PURE__ */ ((HubspotEventNames2) => {
|
|
|
648
651
|
})(HubspotEventNames || {});
|
|
649
652
|
var hubspotEventsZods = {
|
|
650
653
|
provider: import_zod3.z.literal("hubspot" /* HubSpot */),
|
|
651
|
-
eventName: import_zod3.z.
|
|
654
|
+
eventName: import_zod3.z.enum(HubspotEventNames),
|
|
652
655
|
events: {
|
|
653
656
|
contactCreated: integrationEventBase.extend({
|
|
654
657
|
name: import_zod3.z.literal("contact_created" /* ContactCreated */)
|
|
@@ -702,7 +705,7 @@ var MailchimpEventNames = /* @__PURE__ */ ((MailchimpEventNames2) => {
|
|
|
702
705
|
})(MailchimpEventNames || {});
|
|
703
706
|
var mailchimpEventsZods = {
|
|
704
707
|
provider: import_zod4.z.literal("mailchimp" /* Mailchimp */),
|
|
705
|
-
eventName: import_zod4.z.
|
|
708
|
+
eventName: import_zod4.z.enum(MailchimpEventNames),
|
|
706
709
|
events: {
|
|
707
710
|
subscribed: integrationEventBase.extend({
|
|
708
711
|
listId: import_zod4.z.string(),
|
|
@@ -760,7 +763,7 @@ var ShopifyEventNames = /* @__PURE__ */ ((ShopifyEventNames2) => {
|
|
|
760
763
|
})(ShopifyEventNames || {});
|
|
761
764
|
var shopifyEventsZods = {
|
|
762
765
|
provider: import_zod5.z.literal("shopify" /* Shopify */),
|
|
763
|
-
eventName: import_zod5.z.
|
|
766
|
+
eventName: import_zod5.z.enum(ShopifyEventNames),
|
|
764
767
|
events: {
|
|
765
768
|
orderCreated: integrationEventBase.extend({
|
|
766
769
|
name: import_zod5.z.literal("order_created" /* OrderCreated */)
|
|
@@ -811,7 +814,7 @@ var SlackEventNames = /* @__PURE__ */ ((SlackEventNames2) => {
|
|
|
811
814
|
})(SlackEventNames || {});
|
|
812
815
|
var slackEventsZods = {
|
|
813
816
|
provider: import_zod6.z.literal("slack" /* Slack */),
|
|
814
|
-
eventName: import_zod6.z.
|
|
817
|
+
eventName: import_zod6.z.enum(SlackEventNames),
|
|
815
818
|
events: {
|
|
816
819
|
channelNewMessagePosted: integrationEventBase.extend({
|
|
817
820
|
name: import_zod6.z.literal("channel_new_message_posted" /* ChannelNewMessagePosted */),
|
|
@@ -885,7 +888,7 @@ var TextCustomerSegmentType = /* @__PURE__ */ ((TextCustomerSegmentType2) => {
|
|
|
885
888
|
return TextCustomerSegmentType2;
|
|
886
889
|
})(TextCustomerSegmentType || {});
|
|
887
890
|
var textCustomerEventsZods = {
|
|
888
|
-
eventName: import_zod7.z.
|
|
891
|
+
eventName: import_zod7.z.enum(TextCustomerEventNames),
|
|
889
892
|
events: {
|
|
890
893
|
emailSet: integrationEventBase.extend({
|
|
891
894
|
name: import_zod7.z.literal("customer_email_set" /* EmailSet */),
|
|
@@ -902,11 +905,11 @@ var textCustomerEventsZods = {
|
|
|
902
905
|
}),
|
|
903
906
|
segmentAdded: integrationEventBase.extend({
|
|
904
907
|
name: import_zod7.z.literal("segment_added" /* SegmentAdded */),
|
|
905
|
-
segment_type: import_zod7.z.
|
|
908
|
+
segment_type: import_zod7.z.enum(TextCustomerSegmentType)
|
|
906
909
|
}),
|
|
907
910
|
segmentRemoved: integrationEventBase.extend({
|
|
908
911
|
name: import_zod7.z.literal("segment_removed" /* SegmentRemoved */),
|
|
909
|
-
segment_type: import_zod7.z.
|
|
912
|
+
segment_type: import_zod7.z.enum(TextCustomerSegmentType)
|
|
910
913
|
})
|
|
911
914
|
},
|
|
912
915
|
get event() {
|
|
@@ -979,7 +982,7 @@ var baseFiltersZod = import_zod8.z.object({
|
|
|
979
982
|
});
|
|
980
983
|
var textHelpDeskEventsZods = {
|
|
981
984
|
provider: import_zod8.z.literal("text-helpdesk" /* HelpDesk */),
|
|
982
|
-
eventName: import_zod8.z.
|
|
985
|
+
eventName: import_zod8.z.enum(TextHelpDeskEventNames),
|
|
983
986
|
events: {
|
|
984
987
|
ticketCreated: integrationEventBase.extend({
|
|
985
988
|
name: import_zod8.z.literal("ticket_created" /* TicketCreated */)
|
|
@@ -990,15 +993,15 @@ var textHelpDeskEventsZods = {
|
|
|
990
993
|
ticketStatusChanged: integrationEventBase.extend({
|
|
991
994
|
name: import_zod8.z.literal("ticket_status_changed" /* TicketStatusChanged */),
|
|
992
995
|
status: import_zod8.z.object({
|
|
993
|
-
from: import_zod8.z.array(import_zod8.z.
|
|
994
|
-
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()
|
|
995
998
|
}).optional()
|
|
996
999
|
}).extend(baseFiltersZod.shape),
|
|
997
1000
|
ticketPriorityChanged: integrationEventBase.extend({
|
|
998
1001
|
name: import_zod8.z.literal("ticket_priority_changed" /* TicketPriorityChanged */),
|
|
999
1002
|
priority: import_zod8.z.object({
|
|
1000
|
-
from: import_zod8.z.array(import_zod8.z.
|
|
1001
|
-
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()
|
|
1002
1005
|
}).optional()
|
|
1003
1006
|
}).extend(baseFiltersZod.shape),
|
|
1004
1007
|
ticketTagsChanged: integrationEventBase.extend({
|
|
@@ -1031,7 +1034,7 @@ var textHelpDeskEventsZods = {
|
|
|
1031
1034
|
ticketMessageAdded: import_zod8.z.discriminatedUnion("version", [
|
|
1032
1035
|
import_zod8.z.object({
|
|
1033
1036
|
name: import_zod8.z.literal("ticket_message_added" /* TicketMessageAdded */),
|
|
1034
|
-
version: import_zod8.z.
|
|
1037
|
+
version: import_zod8.z.literal("v0").optional()
|
|
1035
1038
|
}).extend(baseFiltersZod.shape),
|
|
1036
1039
|
import_zod8.z.object({
|
|
1037
1040
|
name: import_zod8.z.literal("ticket_message_added" /* TicketMessageAdded */),
|
|
@@ -1102,6 +1105,7 @@ var TextLivechatEventNames = /* @__PURE__ */ ((TextLivechatEventNames2) => {
|
|
|
1102
1105
|
TextLivechatEventNames2["CustomerLeftChat"] = "customer_left_chat";
|
|
1103
1106
|
TextLivechatEventNames2["ChatIdle"] = "chat_idle";
|
|
1104
1107
|
TextLivechatEventNames2["ProductCardEvent"] = "product_card_event";
|
|
1108
|
+
TextLivechatEventNames2["RichMessagePostback"] = "rich_message_postback";
|
|
1105
1109
|
TextLivechatEventNames2["FormFilled"] = "form_filled";
|
|
1106
1110
|
TextLivechatEventNames2["CustomFormFilled"] = "custom_form_filled";
|
|
1107
1111
|
return TextLivechatEventNames2;
|
|
@@ -1117,42 +1121,49 @@ var TextLivechatProductCardEventType = /* @__PURE__ */ ((TextLivechatProductCard
|
|
|
1117
1121
|
TextLivechatProductCardEventType2["AddToCart"] = "add_to_cart";
|
|
1118
1122
|
return TextLivechatProductCardEventType2;
|
|
1119
1123
|
})(TextLivechatProductCardEventType || {});
|
|
1124
|
+
var livechatChatContext = import_zod9.z.object({
|
|
1125
|
+
chat_id: import_zod9.z.string().min(1).optional(),
|
|
1126
|
+
thread_id: import_zod9.z.string().min(1).optional()
|
|
1127
|
+
});
|
|
1128
|
+
var livechatEventContext = import_zod9.z.object({
|
|
1129
|
+
event_id: import_zod9.z.string().min(1).optional()
|
|
1130
|
+
});
|
|
1120
1131
|
var textLivechatEventsZods = {
|
|
1121
1132
|
provider: import_zod9.z.literal("text-livechat" /* LiveChat */),
|
|
1122
|
-
eventName: import_zod9.z.
|
|
1133
|
+
eventName: import_zod9.z.enum(TextLivechatEventNames),
|
|
1123
1134
|
events: {
|
|
1124
|
-
chatStarted: integrationEventBase.extend({
|
|
1135
|
+
chatStarted: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1125
1136
|
name: import_zod9.z.literal("chat_started" /* ChatStarted */),
|
|
1126
1137
|
targetAgentId: import_zod9.z.string().optional()
|
|
1127
1138
|
}),
|
|
1128
|
-
chatEnded: integrationEventBase.extend({
|
|
1139
|
+
chatEnded: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1129
1140
|
name: import_zod9.z.literal("chat_ended" /* ChatEnded */)
|
|
1130
1141
|
}),
|
|
1131
|
-
chatTransferred: integrationEventBase.extend({
|
|
1142
|
+
chatTransferred: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1132
1143
|
name: import_zod9.z.literal("chat_transferred" /* ChatTransferred */),
|
|
1133
1144
|
targetGroups: import_zod9.z.array(import_zod9.z.number()).optional(),
|
|
1134
1145
|
targetAgents: import_zod9.z.array(import_zod9.z.string()).optional()
|
|
1135
1146
|
}),
|
|
1136
|
-
chatTagged: integrationEventBase.extend({
|
|
1147
|
+
chatTagged: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1137
1148
|
name: import_zod9.z.literal("chat_tagged" /* ChatTagged */),
|
|
1138
1149
|
tag: import_zod9.z.string().optional()
|
|
1139
1150
|
}),
|
|
1140
|
-
chatRated: integrationEventBase.extend({
|
|
1151
|
+
chatRated: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1141
1152
|
name: import_zod9.z.literal("chat_rated" /* ChatRated */),
|
|
1142
1153
|
rating: import_zod9.z.enum(["good", "bad", "all"]).optional()
|
|
1143
1154
|
}),
|
|
1144
|
-
chatCommented: integrationEventBase.extend({
|
|
1155
|
+
chatCommented: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1145
1156
|
name: import_zod9.z.literal("chat_commented" /* ChatCommented */)
|
|
1146
1157
|
}),
|
|
1147
1158
|
chatMessage: import_zod9.z.discriminatedUnion("version", [
|
|
1148
|
-
|
|
1159
|
+
integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1149
1160
|
name: import_zod9.z.literal("chat_message" /* ChatMessage */),
|
|
1150
|
-
version: import_zod9.z.
|
|
1161
|
+
version: import_zod9.z.literal("v0").optional(),
|
|
1151
1162
|
filter: import_zod9.z.string().optional(),
|
|
1152
1163
|
caseInsensitive: import_zod9.z.boolean().optional(),
|
|
1153
1164
|
matchWholeWords: import_zod9.z.boolean().optional()
|
|
1154
1165
|
}),
|
|
1155
|
-
|
|
1166
|
+
integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1156
1167
|
name: import_zod9.z.literal("chat_message" /* ChatMessage */),
|
|
1157
1168
|
version: import_zod9.z.enum(["v1", "v2"]),
|
|
1158
1169
|
filters: import_zod9.z.array(import_zod9.z.string()),
|
|
@@ -1160,31 +1171,42 @@ var textLivechatEventsZods = {
|
|
|
1160
1171
|
matchWholeWords: import_zod9.z.boolean().optional()
|
|
1161
1172
|
})
|
|
1162
1173
|
]),
|
|
1163
|
-
userAddedToChat: integrationEventBase.extend({
|
|
1174
|
+
userAddedToChat: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1164
1175
|
name: import_zod9.z.literal("user_added_to_chat" /* UserAddedToChat */),
|
|
1165
1176
|
userType: import_zod9.z.enum(["agent", "customer"]).optional(),
|
|
1166
1177
|
targetAgentId: import_zod9.z.string().optional()
|
|
1167
1178
|
}),
|
|
1168
|
-
userRemovedFromChat: integrationEventBase.extend({
|
|
1179
|
+
userRemovedFromChat: integrationEventBase.extend(livechatChatContext.shape).extend({
|
|
1169
1180
|
name: import_zod9.z.literal("user_removed_from_chat" /* UserRemovedFromChat */)
|
|
1170
1181
|
}),
|
|
1171
|
-
customerLeftChat: integrationEventBase.extend({
|
|
1182
|
+
customerLeftChat: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1172
1183
|
name: import_zod9.z.literal("customer_left_chat" /* CustomerLeftChat */),
|
|
1173
|
-
reasons: import_zod9.z.array(import_zod9.z.
|
|
1184
|
+
reasons: import_zod9.z.array(import_zod9.z.enum(CustomerLeftChatReason)).optional()
|
|
1174
1185
|
}),
|
|
1175
|
-
chatIdle: integrationEventBase.extend({
|
|
1186
|
+
chatIdle: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1176
1187
|
name: import_zod9.z.literal("chat_idle" /* ChatIdle */)
|
|
1177
1188
|
}),
|
|
1178
|
-
productCardEvent: integrationEventBase.extend({
|
|
1189
|
+
productCardEvent: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1179
1190
|
name: import_zod9.z.literal("product_card_event" /* ProductCardEvent */),
|
|
1180
|
-
type: import_zod9.z.
|
|
1191
|
+
type: import_zod9.z.enum(TextLivechatProductCardEventType),
|
|
1181
1192
|
product_id: import_zod9.z.string().optional()
|
|
1182
1193
|
}),
|
|
1183
|
-
|
|
1194
|
+
richMessagePostback: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1195
|
+
name: import_zod9.z.literal("rich_message_postback" /* RichMessagePostback */),
|
|
1196
|
+
postbacks: import_zod9.z.union([
|
|
1197
|
+
import_zod9.z.array(import_zod9.z.string().min(1)),
|
|
1198
|
+
import_zod9.z.record(import_zod9.z.string().min(1), import_zod9.z.string().min(1))
|
|
1199
|
+
]).refine((input) => {
|
|
1200
|
+
const ids = Array.isArray(input) ? input : Object.values(input);
|
|
1201
|
+
return ids.length > 0 && new Set(ids).size === ids.length;
|
|
1202
|
+
}, "Postbacks must be nonempty and IDs must be unique"),
|
|
1203
|
+
user_ids: import_zod9.z.array(import_zod9.z.string().min(1)).min(1).optional()
|
|
1204
|
+
}),
|
|
1205
|
+
formFilled: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1184
1206
|
name: import_zod9.z.literal("form_filled" /* FormFilled */),
|
|
1185
1207
|
form_id: import_zod9.z.string().optional()
|
|
1186
1208
|
}),
|
|
1187
|
-
customFormFilled: integrationEventBase.extend({
|
|
1209
|
+
customFormFilled: integrationEventBase.extend(livechatEventContext.shape).extend(livechatChatContext.shape).extend({
|
|
1188
1210
|
name: import_zod9.z.literal("custom_form_filled" /* CustomFormFilled */),
|
|
1189
1211
|
form_id: import_zod9.z.string().optional()
|
|
1190
1212
|
})
|
|
@@ -1203,6 +1225,7 @@ var textLivechatEventsZods = {
|
|
|
1203
1225
|
this.events.customerLeftChat,
|
|
1204
1226
|
this.events.chatIdle,
|
|
1205
1227
|
this.events.productCardEvent,
|
|
1228
|
+
this.events.richMessagePostback,
|
|
1206
1229
|
this.events.formFilled,
|
|
1207
1230
|
this.events.customFormFilled
|
|
1208
1231
|
]);
|
|
@@ -4013,6 +4036,14 @@ function initTextClient(baseUrl, token) {
|
|
|
4013
4036
|
}
|
|
4014
4037
|
}
|
|
4015
4038
|
|
|
4039
|
+
// src/apis/integrations/text/ai-agent/contracts.ts
|
|
4040
|
+
var RegenerateIntentRejectionError = class extends ApiErrorBase {
|
|
4041
|
+
constructor() {
|
|
4042
|
+
super(...arguments);
|
|
4043
|
+
this.name = "text";
|
|
4044
|
+
}
|
|
4045
|
+
};
|
|
4046
|
+
|
|
4016
4047
|
// src/apis/integrations/text/ai-agent/api.ts
|
|
4017
4048
|
var textAiAgentApi = {
|
|
4018
4049
|
generateResponses(payload, authorization) {
|
|
@@ -4026,6 +4057,40 @@ var textAiAgentApi = {
|
|
|
4026
4057
|
);
|
|
4027
4058
|
return response;
|
|
4028
4059
|
});
|
|
4060
|
+
},
|
|
4061
|
+
regenerateIntent(payload, authorization) {
|
|
4062
|
+
return __async(this, null, function* () {
|
|
4063
|
+
const getRejection = (error) => {
|
|
4064
|
+
var _a;
|
|
4065
|
+
const isTextApiError = error instanceof TextApiError;
|
|
4066
|
+
if (!isTextApiError) {
|
|
4067
|
+
return void 0;
|
|
4068
|
+
}
|
|
4069
|
+
const data = error.data;
|
|
4070
|
+
const { message, suggestion } = (_a = data == null ? void 0 : data.innerError) != null ? _a : {};
|
|
4071
|
+
if (typeof message === "string" && typeof suggestion === "string") {
|
|
4072
|
+
return { message, suggestion };
|
|
4073
|
+
}
|
|
4074
|
+
return void 0;
|
|
4075
|
+
};
|
|
4076
|
+
return textClientInstance.post(
|
|
4077
|
+
"/nlp-gateway/v2/agents/skills/regenerate-intent",
|
|
4078
|
+
payload,
|
|
4079
|
+
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4080
|
+
ensureAuthorizationToken: true
|
|
4081
|
+
}))
|
|
4082
|
+
).then(({ data }) => data).catch((error) => {
|
|
4083
|
+
const rejection = getRejection(error);
|
|
4084
|
+
if (rejection) {
|
|
4085
|
+
throw new RegenerateIntentRejectionError(
|
|
4086
|
+
rejection.message,
|
|
4087
|
+
rejection,
|
|
4088
|
+
error.code
|
|
4089
|
+
);
|
|
4090
|
+
}
|
|
4091
|
+
throw error;
|
|
4092
|
+
});
|
|
4093
|
+
});
|
|
4029
4094
|
}
|
|
4030
4095
|
};
|
|
4031
4096
|
|
|
@@ -9809,30 +9874,31 @@ var segmentMembershipDataZod = customerMetadataZod.extend({
|
|
|
9809
9874
|
membership_last_updated_at: import_zod12.z.string(),
|
|
9810
9875
|
segment_fields: import_zod12.z.object({
|
|
9811
9876
|
email: import_zod12.z.string().optional(),
|
|
9812
|
-
customer_properties: import_zod12.z.record(import_zod12.z.unknown()).optional()
|
|
9813
|
-
}).
|
|
9814
|
-
}).
|
|
9877
|
+
customer_properties: import_zod12.z.record(import_zod12.z.string(), import_zod12.z.unknown()).optional()
|
|
9878
|
+
}).loose().optional()
|
|
9879
|
+
}).loose();
|
|
9815
9880
|
var cdpCustomerEventMessageZod = import_zod12.z.discriminatedUnion("type", [
|
|
9816
9881
|
import_zod12.z.object({
|
|
9817
9882
|
id: import_zod12.z.string(),
|
|
9818
9883
|
type: import_zod12.z.literal("customer_email_set" /* EmailSet */),
|
|
9819
9884
|
data: customerMetadataZod.extend({
|
|
9820
9885
|
email: import_zod12.z.string()
|
|
9821
|
-
}).
|
|
9886
|
+
}).loose()
|
|
9822
9887
|
}),
|
|
9823
9888
|
import_zod12.z.object({
|
|
9824
9889
|
id: import_zod12.z.string(),
|
|
9825
9890
|
type: import_zod12.z.literal("customer_properties_values_updated" /* PropertiesValuesUpdated */),
|
|
9826
9891
|
data: customerMetadataZod.extend({
|
|
9827
9892
|
customer_properties: import_zod12.z.record(
|
|
9893
|
+
import_zod12.z.string(),
|
|
9828
9894
|
import_zod12.z.object({
|
|
9829
9895
|
value: import_zod12.z.unknown(),
|
|
9830
9896
|
last_updated_at: import_zod12.z.string(),
|
|
9831
9897
|
last_updated_agent_account_id: import_zod12.z.string().optional(),
|
|
9832
9898
|
last_updated_agent_client_id: import_zod12.z.string().optional()
|
|
9833
|
-
}).
|
|
9899
|
+
}).loose()
|
|
9834
9900
|
)
|
|
9835
|
-
}).
|
|
9901
|
+
}).loose()
|
|
9836
9902
|
}),
|
|
9837
9903
|
import_zod12.z.object({
|
|
9838
9904
|
id: import_zod12.z.string(),
|
|
@@ -10107,6 +10173,7 @@ function initApi(config, tokens) {
|
|
|
10107
10173
|
ORGANIZATION_ID_HEADER,
|
|
10108
10174
|
OauthCredentialGrantType,
|
|
10109
10175
|
PROXY_AUTHORIZATION_HEADER,
|
|
10176
|
+
RegenerateIntentRejectionError,
|
|
10110
10177
|
SERVICE_ACCOUNT_ID_HEADER,
|
|
10111
10178
|
SERVICE_ORGANIZATION_ID_HEADER,
|
|
10112
10179
|
ShopifyApiError,
|
|
@@ -10239,7 +10306,9 @@ function initApi(config, tokens) {
|
|
|
10239
10306
|
isFilter,
|
|
10240
10307
|
isFilterGroup,
|
|
10241
10308
|
isWorkflowBaseHttpTaskCore,
|
|
10309
|
+
livechatChatContext,
|
|
10242
10310
|
livechatClientInstance,
|
|
10311
|
+
livechatEventContext,
|
|
10243
10312
|
mailchimpClientInstance,
|
|
10244
10313
|
mailchimpEventsZods,
|
|
10245
10314
|
mergeDeep,
|
package/dist/index.mjs
CHANGED
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
ORGANIZATION_ID_HEADER,
|
|
36
36
|
OauthCredentialGrantType,
|
|
37
37
|
PROXY_AUTHORIZATION_HEADER,
|
|
38
|
+
RegenerateIntentRejectionError,
|
|
38
39
|
SERVICE_ACCOUNT_ID_HEADER,
|
|
39
40
|
SERVICE_ORGANIZATION_ID_HEADER,
|
|
40
41
|
ShopifyApiError,
|
|
@@ -167,7 +168,9 @@ import {
|
|
|
167
168
|
isFilter,
|
|
168
169
|
isFilterGroup,
|
|
169
170
|
isWorkflowBaseHttpTaskCore,
|
|
171
|
+
livechatChatContext,
|
|
170
172
|
livechatClientInstance,
|
|
173
|
+
livechatEventContext,
|
|
171
174
|
mailchimpClientInstance,
|
|
172
175
|
mailchimpEventsZods,
|
|
173
176
|
mergeDeep,
|
|
@@ -201,7 +204,7 @@ import {
|
|
|
201
204
|
updateWorkflowsClient,
|
|
202
205
|
vercelClientInstance,
|
|
203
206
|
workflowsClientInstance
|
|
204
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-OA7BKSZP.mjs";
|
|
205
208
|
export {
|
|
206
209
|
ACCOUNT_ID_HEADER,
|
|
207
210
|
API_NOTIFICATIONS,
|
|
@@ -239,6 +242,7 @@ export {
|
|
|
239
242
|
ORGANIZATION_ID_HEADER,
|
|
240
243
|
OauthCredentialGrantType,
|
|
241
244
|
PROXY_AUTHORIZATION_HEADER,
|
|
245
|
+
RegenerateIntentRejectionError,
|
|
242
246
|
SERVICE_ACCOUNT_ID_HEADER,
|
|
243
247
|
SERVICE_ORGANIZATION_ID_HEADER,
|
|
244
248
|
ShopifyApiError,
|
|
@@ -371,7 +375,9 @@ export {
|
|
|
371
375
|
isFilter,
|
|
372
376
|
isFilterGroup,
|
|
373
377
|
isWorkflowBaseHttpTaskCore,
|
|
378
|
+
livechatChatContext,
|
|
374
379
|
livechatClientInstance,
|
|
380
|
+
livechatEventContext,
|
|
375
381
|
mailchimpClientInstance,
|
|
376
382
|
mailchimpEventsZods,
|
|
377
383
|
mergeDeep,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-CJ8UHYDf.mjs';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-CJ8UHYDf.js';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|