evo360-types 1.3.394 → 1.3.396

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.
@@ -697,6 +697,25 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
697
697
  label: z.ZodOptional<z.ZodString>;
698
698
  ref: z.ZodOptional<z.ZodAny>;
699
699
  }, z.ZodTypeAny, "passthrough">>, "many">>;
700
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
+ action_type: z.ZodString;
702
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
703
+ button_index: z.ZodNumber;
704
+ button_label: z.ZodString;
705
+ expires_at: z.ZodOptional<z.ZodDate>;
706
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
707
+ action_type: z.ZodString;
708
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
709
+ button_index: z.ZodNumber;
710
+ button_label: z.ZodString;
711
+ expires_at: z.ZodOptional<z.ZodDate>;
712
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
713
+ action_type: z.ZodString;
714
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
715
+ button_index: z.ZodNumber;
716
+ button_label: z.ZodString;
717
+ expires_at: z.ZodOptional<z.ZodDate>;
718
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
700
719
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
701
720
  tenant: z.ZodString;
702
721
  kind: z.ZodLiteral<"notification.send">;
@@ -779,6 +798,25 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
779
798
  label: z.ZodOptional<z.ZodString>;
780
799
  ref: z.ZodOptional<z.ZodAny>;
781
800
  }, z.ZodTypeAny, "passthrough">>, "many">>;
801
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
802
+ action_type: z.ZodString;
803
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
804
+ button_index: z.ZodNumber;
805
+ button_label: z.ZodString;
806
+ expires_at: z.ZodOptional<z.ZodDate>;
807
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
808
+ action_type: z.ZodString;
809
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
810
+ button_index: z.ZodNumber;
811
+ button_label: z.ZodString;
812
+ expires_at: z.ZodOptional<z.ZodDate>;
813
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
814
+ action_type: z.ZodString;
815
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
816
+ button_index: z.ZodNumber;
817
+ button_label: z.ZodString;
818
+ expires_at: z.ZodOptional<z.ZodDate>;
819
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
782
820
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
783
821
  tenant: z.ZodString;
784
822
  kind: z.ZodLiteral<"notification.send">;
@@ -861,6 +899,25 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
861
899
  label: z.ZodOptional<z.ZodString>;
862
900
  ref: z.ZodOptional<z.ZodAny>;
863
901
  }, z.ZodTypeAny, "passthrough">>, "many">>;
902
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
903
+ action_type: z.ZodString;
904
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
905
+ button_index: z.ZodNumber;
906
+ button_label: z.ZodString;
907
+ expires_at: z.ZodOptional<z.ZodDate>;
908
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
909
+ action_type: z.ZodString;
910
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
911
+ button_index: z.ZodNumber;
912
+ button_label: z.ZodString;
913
+ expires_at: z.ZodOptional<z.ZodDate>;
914
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
915
+ action_type: z.ZodString;
916
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
917
+ button_index: z.ZodNumber;
918
+ button_label: z.ZodString;
919
+ expires_at: z.ZodOptional<z.ZodDate>;
920
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
864
921
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
865
922
  tenant: z.ZodString;
866
923
  kind: z.ZodLiteral<"notification.send">;
@@ -943,6 +1000,25 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
943
1000
  label: z.ZodOptional<z.ZodString>;
944
1001
  ref: z.ZodOptional<z.ZodAny>;
945
1002
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1003
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1004
+ action_type: z.ZodString;
1005
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1006
+ button_index: z.ZodNumber;
1007
+ button_label: z.ZodString;
1008
+ expires_at: z.ZodOptional<z.ZodDate>;
1009
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1010
+ action_type: z.ZodString;
1011
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1012
+ button_index: z.ZodNumber;
1013
+ button_label: z.ZodString;
1014
+ expires_at: z.ZodOptional<z.ZodDate>;
1015
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1016
+ action_type: z.ZodString;
1017
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1018
+ button_index: z.ZodNumber;
1019
+ button_label: z.ZodString;
1020
+ expires_at: z.ZodOptional<z.ZodDate>;
1021
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
946
1022
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
947
1023
  tenant: z.ZodString;
948
1024
  kind: z.ZodLiteral<"notification.send">;
@@ -1025,6 +1101,25 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1025
1101
  label: z.ZodOptional<z.ZodString>;
1026
1102
  ref: z.ZodOptional<z.ZodAny>;
1027
1103
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1104
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1105
+ action_type: z.ZodString;
1106
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1107
+ button_index: z.ZodNumber;
1108
+ button_label: z.ZodString;
1109
+ expires_at: z.ZodOptional<z.ZodDate>;
1110
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1111
+ action_type: z.ZodString;
1112
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1113
+ button_index: z.ZodNumber;
1114
+ button_label: z.ZodString;
1115
+ expires_at: z.ZodOptional<z.ZodDate>;
1116
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1117
+ action_type: z.ZodString;
1118
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1119
+ button_index: z.ZodNumber;
1120
+ button_label: z.ZodString;
1121
+ expires_at: z.ZodOptional<z.ZodDate>;
1122
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1028
1123
  }, z.ZodTypeAny, "passthrough">>;
1029
1124
  export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1030
1125
  kind: z.ZodLiteral<"notification.send">;
@@ -1106,6 +1201,25 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1106
1201
  label: z.ZodOptional<z.ZodString>;
1107
1202
  ref: z.ZodOptional<z.ZodAny>;
1108
1203
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1204
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1205
+ action_type: z.ZodString;
1206
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1207
+ button_index: z.ZodNumber;
1208
+ button_label: z.ZodString;
1209
+ expires_at: z.ZodOptional<z.ZodDate>;
1210
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1211
+ action_type: z.ZodString;
1212
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1213
+ button_index: z.ZodNumber;
1214
+ button_label: z.ZodString;
1215
+ expires_at: z.ZodOptional<z.ZodDate>;
1216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1217
+ action_type: z.ZodString;
1218
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1219
+ button_index: z.ZodNumber;
1220
+ button_label: z.ZodString;
1221
+ expires_at: z.ZodOptional<z.ZodDate>;
1222
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1109
1223
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1110
1224
  kind: z.ZodLiteral<"notification.send">;
1111
1225
  classification: z.ZodOptional<z.ZodString>;
@@ -1186,6 +1300,25 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1186
1300
  label: z.ZodOptional<z.ZodString>;
1187
1301
  ref: z.ZodOptional<z.ZodAny>;
1188
1302
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1303
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1304
+ action_type: z.ZodString;
1305
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1306
+ button_index: z.ZodNumber;
1307
+ button_label: z.ZodString;
1308
+ expires_at: z.ZodOptional<z.ZodDate>;
1309
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1310
+ action_type: z.ZodString;
1311
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1312
+ button_index: z.ZodNumber;
1313
+ button_label: z.ZodString;
1314
+ expires_at: z.ZodOptional<z.ZodDate>;
1315
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1316
+ action_type: z.ZodString;
1317
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1318
+ button_index: z.ZodNumber;
1319
+ button_label: z.ZodString;
1320
+ expires_at: z.ZodOptional<z.ZodDate>;
1321
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1189
1322
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1190
1323
  kind: z.ZodLiteral<"notification.send">;
1191
1324
  classification: z.ZodOptional<z.ZodString>;
@@ -1266,6 +1399,25 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1266
1399
  label: z.ZodOptional<z.ZodString>;
1267
1400
  ref: z.ZodOptional<z.ZodAny>;
1268
1401
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1402
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1403
+ action_type: z.ZodString;
1404
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1405
+ button_index: z.ZodNumber;
1406
+ button_label: z.ZodString;
1407
+ expires_at: z.ZodOptional<z.ZodDate>;
1408
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1409
+ action_type: z.ZodString;
1410
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1411
+ button_index: z.ZodNumber;
1412
+ button_label: z.ZodString;
1413
+ expires_at: z.ZodOptional<z.ZodDate>;
1414
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1415
+ action_type: z.ZodString;
1416
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1417
+ button_index: z.ZodNumber;
1418
+ button_label: z.ZodString;
1419
+ expires_at: z.ZodOptional<z.ZodDate>;
1420
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1269
1421
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1270
1422
  kind: z.ZodLiteral<"notification.send">;
1271
1423
  classification: z.ZodOptional<z.ZodString>;
@@ -1346,6 +1498,25 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1346
1498
  label: z.ZodOptional<z.ZodString>;
1347
1499
  ref: z.ZodOptional<z.ZodAny>;
1348
1500
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1501
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1502
+ action_type: z.ZodString;
1503
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1504
+ button_index: z.ZodNumber;
1505
+ button_label: z.ZodString;
1506
+ expires_at: z.ZodOptional<z.ZodDate>;
1507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1508
+ action_type: z.ZodString;
1509
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1510
+ button_index: z.ZodNumber;
1511
+ button_label: z.ZodString;
1512
+ expires_at: z.ZodOptional<z.ZodDate>;
1513
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1514
+ action_type: z.ZodString;
1515
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1516
+ button_index: z.ZodNumber;
1517
+ button_label: z.ZodString;
1518
+ expires_at: z.ZodOptional<z.ZodDate>;
1519
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1349
1520
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1350
1521
  kind: z.ZodLiteral<"notification.send">;
1351
1522
  classification: z.ZodOptional<z.ZodString>;
@@ -1426,4 +1597,23 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
1426
1597
  label: z.ZodOptional<z.ZodString>;
1427
1598
  ref: z.ZodOptional<z.ZodAny>;
1428
1599
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1600
+ quick_reply_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1601
+ action_type: z.ZodString;
1602
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1603
+ button_index: z.ZodNumber;
1604
+ button_label: z.ZodString;
1605
+ expires_at: z.ZodOptional<z.ZodDate>;
1606
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1607
+ action_type: z.ZodString;
1608
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1609
+ button_index: z.ZodNumber;
1610
+ button_label: z.ZodString;
1611
+ expires_at: z.ZodOptional<z.ZodDate>;
1612
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1613
+ action_type: z.ZodString;
1614
+ action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1615
+ button_index: z.ZodNumber;
1616
+ button_label: z.ZodString;
1617
+ expires_at: z.ZodOptional<z.ZodDate>;
1618
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1429
1619
  }, z.ZodTypeAny, "passthrough">>;
@@ -4,6 +4,7 @@ exports.zNexusDirectSendPayloadSchema = exports.zDirectSendPayloadSchema = expor
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
6
  const zod_schemas_2 = require("../evo-task/zod-schemas");
7
+ const zod_schemas_3 = require("./quick-reply-action/zod-schemas");
7
8
  // ---- Primitives ----
8
9
  exports.zNotificationChannelTypeSchema = zod_1.z.enum([
9
10
  "whatsapp",
@@ -155,6 +156,7 @@ exports.zDirectSendPayloadSchema = zod_1.z
155
156
  dedup_key: zod_1.z.string().optional(),
156
157
  dedup_group_key: zod_1.z.string().optional(),
157
158
  externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
159
+ quick_reply_actions: zod_1.z.array(zod_schemas_3.zQuickReplyActionIntentSchema).optional(),
158
160
  })
159
161
  .passthrough()
160
162
  .superRefine((data, ctx) => {
@@ -205,6 +207,7 @@ exports.zNexusDirectSendPayloadSchema = zod_1.z
205
207
  dedup_key: zod_1.z.string().optional(),
206
208
  dedup_group_key: zod_1.z.string().optional(),
207
209
  externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
210
+ quick_reply_actions: zod_1.z.array(zod_schemas_3.zQuickReplyActionIntentSchema).optional(),
208
211
  })
209
212
  .passthrough()
210
213
  .superRefine((data, ctx) => {
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { zFireDocSchema } from "../shared/zod-schemas";
3
3
  import { zExternalLinkSchema } from "../evo-task/zod-schemas";
4
+ import { zQuickReplyActionIntentSchema } from "./quick-reply-action/zod-schemas";
4
5
 
5
6
  // ---- Primitives ----
6
7
 
@@ -170,6 +171,7 @@ export const zDirectSendPayloadSchema = z
170
171
  dedup_key: z.string().optional(),
171
172
  dedup_group_key: z.string().optional(),
172
173
  externalLinks: z.array(zExternalLinkSchema).optional(),
174
+ quick_reply_actions: z.array(zQuickReplyActionIntentSchema).optional(),
173
175
  })
174
176
  .passthrough()
175
177
  .superRefine((data, ctx) => {
@@ -226,6 +228,7 @@ export const zNexusDirectSendPayloadSchema = z
226
228
  dedup_key: z.string().optional(),
227
229
  dedup_group_key: z.string().optional(),
228
230
  externalLinks: z.array(zExternalLinkSchema).optional(),
231
+ quick_reply_actions: z.array(zQuickReplyActionIntentSchema).optional(),
229
232
  })
230
233
  .passthrough()
231
234
  .superRefine((data, ctx) => {