samva 0.46.1 → 0.47.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.
Files changed (73) hide show
  1. package/AGENTS.md +13 -7
  2. package/README.md +106 -8
  3. package/dist/agent/index.d.ts +56 -0
  4. package/dist/agent/index.js +52 -0
  5. package/dist/agent/runtime.d.ts +3 -0
  6. package/dist/agent/runtime.js +74 -0
  7. package/dist/agent/test.d.ts +31 -0
  8. package/dist/agent/test.js +66 -0
  9. package/dist/agent/types.d.ts +123 -0
  10. package/dist/client/sdk.gen.d.ts +40 -160
  11. package/dist/client/sdk.gen.js +1302 -1598
  12. package/dist/client/types.gen.d.ts +377 -966
  13. package/dist/effect/agents.d.ts +340 -8
  14. package/dist/effect/agents.js +4 -2
  15. package/dist/effect/campaigns.d.ts +160 -160
  16. package/dist/effect/contacts.d.ts +8 -0
  17. package/dist/effect/contacts.js +5 -1
  18. package/dist/effect/descriptors/agents.d.ts +12 -2
  19. package/dist/effect/descriptors/agents.js +12 -2
  20. package/dist/effect/descriptors/contacts.d.ts +20 -0
  21. package/dist/effect/descriptors/contacts.js +20 -0
  22. package/dist/effect/generated/accounts.d.ts +10 -0
  23. package/dist/effect/generated/accounts.js +1 -0
  24. package/dist/effect/generated/agents.d.ts +2967 -690
  25. package/dist/effect/generated/agents.js +54 -13
  26. package/dist/effect/generated/contacts.d.ts +859 -1
  27. package/dist/effect/generated/contacts.js +62 -3
  28. package/dist/effect/generated/index.d.ts +1 -5
  29. package/dist/effect/generated/journeys.d.ts +255 -15
  30. package/dist/effect/generated/journeys.js +3 -1
  31. package/dist/effect/generated/mailboxes.d.ts +93 -95
  32. package/dist/effect/generated/mailboxes.js +21 -25
  33. package/dist/effect/generated/shared.d.ts +407 -101
  34. package/dist/effect/generated/shared.js +80 -36
  35. package/dist/effect/generated/template-registrations.d.ts +1 -4
  36. package/dist/effect/generated/template-registrations.js +2 -6
  37. package/dist/effect/generated-metadata.d.ts +18 -84
  38. package/dist/effect/generated-metadata.js +362 -415
  39. package/dist/effect/index.d.ts +0 -2
  40. package/dist/effect/index.js +1 -3
  41. package/dist/effect/internal/client.js +1 -1
  42. package/dist/effect/internal/operation.js +4 -1
  43. package/dist/effect/journeys.d.ts +26 -2
  44. package/dist/effect/mailboxes.d.ts +41 -41
  45. package/dist/effect/scheduled-messages.d.ts +350 -350
  46. package/dist/effect/topics.d.ts +2 -2
  47. package/dist/package.js +1 -1
  48. package/dist/promises/client.d.ts +1 -5
  49. package/dist/promises/client.js +3 -7
  50. package/dist/promises/types.gen.d.ts +1 -1
  51. package/dist/service-map.d.ts +18 -75
  52. package/package.json +10 -22
  53. package/dist/effect/descriptors/extension-installations.d.ts +0 -90
  54. package/dist/effect/descriptors/extension-installations.js +0 -90
  55. package/dist/effect/descriptors/extensions.d.ts +0 -50
  56. package/dist/effect/descriptors/extensions.js +0 -50
  57. package/dist/effect/extension-installations.d.ts +0 -132
  58. package/dist/effect/extension-installations.js +0 -29
  59. package/dist/effect/extensions.d.ts +0 -102
  60. package/dist/effect/extensions.js +0 -21
  61. package/dist/effect/generated/extension-installations.d.ts +0 -2761
  62. package/dist/effect/generated/extension-installations.js +0 -405
  63. package/dist/effect/generated/extensions.d.ts +0 -1037
  64. package/dist/effect/generated/extensions.js +0 -214
  65. package/dist/mailbox/dispatch.d.ts +0 -10
  66. package/dist/mailbox/dispatch.js +0 -66
  67. package/dist/mailbox/index.d.ts +0 -17
  68. package/dist/mailbox/index.js +0 -30
  69. package/dist/mailbox/test.d.ts +0 -25
  70. package/dist/mailbox/test.js +0 -181
  71. package/dist/mailbox/types.d.ts +0 -221
  72. package/dist/mailbox/webhook.d.ts +0 -10
  73. package/dist/mailbox/webhook.js +0 -41
@@ -1,19 +1,8 @@
1
1
  export declare const preview: (input: {
2
2
  readonly content: {
3
- readonly channel: "email";
4
- readonly email: {
5
- readonly subject?: string | null | undefined;
6
- readonly html?: string | null | undefined;
3
+ readonly channel: "sms";
4
+ readonly sms: {
7
5
  readonly text?: string | null | undefined;
8
- readonly attachments?: readonly {
9
- readonly filename: string;
10
- readonly content?: string | null | undefined;
11
- readonly mediaId?: string | null | undefined;
12
- readonly contentType: string;
13
- readonly size: number;
14
- }[] | null | undefined;
15
- readonly publicationId?: string | undefined;
16
- readonly inputContractId?: string | undefined;
17
6
  readonly templateId?: string | null | undefined;
18
7
  readonly templateSlug?: string | null | undefined;
19
8
  readonly templateData?: {
@@ -43,32 +32,7 @@ export declare const preview: (input: {
43
32
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
44
33
  } | null | undefined;
45
34
  } | null | undefined;
46
- readonly locale?: string | undefined;
47
- readonly timeZone?: string | undefined;
48
- readonly inReplyToMessageId?: string | null | undefined;
49
- readonly replyTo?: readonly string[] | null | undefined;
50
- readonly topicId?: string | null | undefined;
51
- readonly tracking?: {
52
- readonly opens?: boolean | undefined;
53
- readonly clicks?: boolean | undefined;
54
- } | undefined;
55
- readonly footer?: {
56
- readonly enabled?: boolean | null | undefined;
57
- } | undefined;
58
- readonly headers?: {
59
- readonly [x: string]: string | undefined;
60
- } | null | undefined;
61
- readonly preheader?: string | null | undefined;
62
35
  };
63
- readonly issue?: {
64
- readonly path: string;
65
- readonly commit: string;
66
- } | null | undefined;
67
- readonly from?: {
68
- readonly email: string;
69
- readonly name?: string | null | undefined;
70
- } | null | undefined;
71
- readonly replyMailboxId?: string | null | undefined;
72
36
  readonly conversationId?: string | null | undefined;
73
37
  readonly metadata?: {
74
38
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -98,9 +62,20 @@ export declare const preview: (input: {
98
62
  } | null | undefined;
99
63
  } | null | undefined;
100
64
  } | {
101
- readonly channel: "sms";
102
- readonly sms: {
65
+ readonly channel: "email";
66
+ readonly email: {
67
+ readonly subject?: string | null | undefined;
68
+ readonly html?: string | null | undefined;
103
69
  readonly text?: string | null | undefined;
70
+ readonly attachments?: readonly {
71
+ readonly filename: string;
72
+ readonly content?: string | null | undefined;
73
+ readonly mediaId?: string | null | undefined;
74
+ readonly contentType: string;
75
+ readonly size: number;
76
+ }[] | null | undefined;
77
+ readonly publicationId?: string | undefined;
78
+ readonly inputContractId?: string | undefined;
104
79
  readonly templateId?: string | null | undefined;
105
80
  readonly templateSlug?: string | null | undefined;
106
81
  readonly templateData?: {
@@ -130,7 +105,32 @@ export declare const preview: (input: {
130
105
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
131
106
  } | null | undefined;
132
107
  } | null | undefined;
108
+ readonly locale?: string | undefined;
109
+ readonly timeZone?: string | undefined;
110
+ readonly inReplyToMessageId?: string | null | undefined;
111
+ readonly replyTo?: readonly string[] | null | undefined;
112
+ readonly topicId?: string | null | undefined;
113
+ readonly tracking?: {
114
+ readonly opens?: boolean | undefined;
115
+ readonly clicks?: boolean | undefined;
116
+ } | undefined;
117
+ readonly footer?: {
118
+ readonly enabled?: boolean | null | undefined;
119
+ } | undefined;
120
+ readonly headers?: {
121
+ readonly [x: string]: string | undefined;
122
+ } | null | undefined;
123
+ readonly preheader?: string | null | undefined;
133
124
  };
125
+ readonly issue?: {
126
+ readonly path: string;
127
+ readonly commit: string;
128
+ } | null | undefined;
129
+ readonly from?: {
130
+ readonly email: string;
131
+ readonly name?: string | null | undefined;
132
+ } | null | undefined;
133
+ readonly replyMailboxId?: string | null | undefined;
134
134
  readonly conversationId?: string | null | undefined;
135
135
  readonly metadata?: {
136
136
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -239,20 +239,9 @@ export declare const preview: (input: {
239
239
  }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsPreview">;
240
240
  export declare const sendTest: (input: {
241
241
  readonly content: {
242
- readonly channel: "email";
243
- readonly email: {
244
- readonly subject?: string | null | undefined;
245
- readonly html?: string | null | undefined;
242
+ readonly channel: "sms";
243
+ readonly sms: {
246
244
  readonly text?: string | null | undefined;
247
- readonly attachments?: readonly {
248
- readonly filename: string;
249
- readonly content?: string | null | undefined;
250
- readonly mediaId?: string | null | undefined;
251
- readonly contentType: string;
252
- readonly size: number;
253
- }[] | null | undefined;
254
- readonly publicationId?: string | undefined;
255
- readonly inputContractId?: string | undefined;
256
245
  readonly templateId?: string | null | undefined;
257
246
  readonly templateSlug?: string | null | undefined;
258
247
  readonly templateData?: {
@@ -282,32 +271,7 @@ export declare const sendTest: (input: {
282
271
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
283
272
  } | null | undefined;
284
273
  } | null | undefined;
285
- readonly locale?: string | undefined;
286
- readonly timeZone?: string | undefined;
287
- readonly inReplyToMessageId?: string | null | undefined;
288
- readonly replyTo?: readonly string[] | null | undefined;
289
- readonly topicId?: string | null | undefined;
290
- readonly tracking?: {
291
- readonly opens?: boolean | undefined;
292
- readonly clicks?: boolean | undefined;
293
- } | undefined;
294
- readonly footer?: {
295
- readonly enabled?: boolean | null | undefined;
296
- } | undefined;
297
- readonly headers?: {
298
- readonly [x: string]: string | undefined;
299
- } | null | undefined;
300
- readonly preheader?: string | null | undefined;
301
274
  };
302
- readonly issue?: {
303
- readonly path: string;
304
- readonly commit: string;
305
- } | null | undefined;
306
- readonly from?: {
307
- readonly email: string;
308
- readonly name?: string | null | undefined;
309
- } | null | undefined;
310
- readonly replyMailboxId?: string | null | undefined;
311
275
  readonly conversationId?: string | null | undefined;
312
276
  readonly metadata?: {
313
277
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -337,9 +301,20 @@ export declare const sendTest: (input: {
337
301
  } | null | undefined;
338
302
  } | null | undefined;
339
303
  } | {
340
- readonly channel: "sms";
341
- readonly sms: {
304
+ readonly channel: "email";
305
+ readonly email: {
306
+ readonly subject?: string | null | undefined;
307
+ readonly html?: string | null | undefined;
342
308
  readonly text?: string | null | undefined;
309
+ readonly attachments?: readonly {
310
+ readonly filename: string;
311
+ readonly content?: string | null | undefined;
312
+ readonly mediaId?: string | null | undefined;
313
+ readonly contentType: string;
314
+ readonly size: number;
315
+ }[] | null | undefined;
316
+ readonly publicationId?: string | undefined;
317
+ readonly inputContractId?: string | undefined;
343
318
  readonly templateId?: string | null | undefined;
344
319
  readonly templateSlug?: string | null | undefined;
345
320
  readonly templateData?: {
@@ -369,7 +344,32 @@ export declare const sendTest: (input: {
369
344
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
370
345
  } | null | undefined;
371
346
  } | null | undefined;
347
+ readonly locale?: string | undefined;
348
+ readonly timeZone?: string | undefined;
349
+ readonly inReplyToMessageId?: string | null | undefined;
350
+ readonly replyTo?: readonly string[] | null | undefined;
351
+ readonly topicId?: string | null | undefined;
352
+ readonly tracking?: {
353
+ readonly opens?: boolean | undefined;
354
+ readonly clicks?: boolean | undefined;
355
+ } | undefined;
356
+ readonly footer?: {
357
+ readonly enabled?: boolean | null | undefined;
358
+ } | undefined;
359
+ readonly headers?: {
360
+ readonly [x: string]: string | undefined;
361
+ } | null | undefined;
362
+ readonly preheader?: string | null | undefined;
372
363
  };
364
+ readonly issue?: {
365
+ readonly path: string;
366
+ readonly commit: string;
367
+ } | null | undefined;
368
+ readonly from?: {
369
+ readonly email: string;
370
+ readonly name?: string | null | undefined;
371
+ } | null | undefined;
372
+ readonly replyMailboxId?: string | null | undefined;
373
373
  readonly conversationId?: string | null | undefined;
374
374
  readonly metadata?: {
375
375
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -480,20 +480,9 @@ export declare const create: (input: {
480
480
  readonly name: string;
481
481
  readonly channel: "email" | "sms" | "whatsapp";
482
482
  readonly content: {
483
- readonly channel: "email";
484
- readonly email: {
485
- readonly subject?: string | null | undefined;
486
- readonly html?: string | null | undefined;
483
+ readonly channel: "sms";
484
+ readonly sms: {
487
485
  readonly text?: string | null | undefined;
488
- readonly attachments?: readonly {
489
- readonly filename: string;
490
- readonly content?: string | null | undefined;
491
- readonly mediaId?: string | null | undefined;
492
- readonly contentType: string;
493
- readonly size: number;
494
- }[] | null | undefined;
495
- readonly publicationId?: string | undefined;
496
- readonly inputContractId?: string | undefined;
497
486
  readonly templateId?: string | null | undefined;
498
487
  readonly templateSlug?: string | null | undefined;
499
488
  readonly templateData?: {
@@ -523,32 +512,7 @@ export declare const create: (input: {
523
512
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
524
513
  } | null | undefined;
525
514
  } | null | undefined;
526
- readonly locale?: string | undefined;
527
- readonly timeZone?: string | undefined;
528
- readonly inReplyToMessageId?: string | null | undefined;
529
- readonly replyTo?: readonly string[] | null | undefined;
530
- readonly topicId?: string | null | undefined;
531
- readonly tracking?: {
532
- readonly opens?: boolean | undefined;
533
- readonly clicks?: boolean | undefined;
534
- } | undefined;
535
- readonly footer?: {
536
- readonly enabled?: boolean | null | undefined;
537
- } | undefined;
538
- readonly headers?: {
539
- readonly [x: string]: string | undefined;
540
- } | null | undefined;
541
- readonly preheader?: string | null | undefined;
542
515
  };
543
- readonly issue?: {
544
- readonly path: string;
545
- readonly commit: string;
546
- } | null | undefined;
547
- readonly from?: {
548
- readonly email: string;
549
- readonly name?: string | null | undefined;
550
- } | null | undefined;
551
- readonly replyMailboxId?: string | null | undefined;
552
516
  readonly conversationId?: string | null | undefined;
553
517
  readonly metadata?: {
554
518
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -578,9 +542,20 @@ export declare const create: (input: {
578
542
  } | null | undefined;
579
543
  } | null | undefined;
580
544
  } | {
581
- readonly channel: "sms";
582
- readonly sms: {
545
+ readonly channel: "email";
546
+ readonly email: {
547
+ readonly subject?: string | null | undefined;
548
+ readonly html?: string | null | undefined;
583
549
  readonly text?: string | null | undefined;
550
+ readonly attachments?: readonly {
551
+ readonly filename: string;
552
+ readonly content?: string | null | undefined;
553
+ readonly mediaId?: string | null | undefined;
554
+ readonly contentType: string;
555
+ readonly size: number;
556
+ }[] | null | undefined;
557
+ readonly publicationId?: string | undefined;
558
+ readonly inputContractId?: string | undefined;
584
559
  readonly templateId?: string | null | undefined;
585
560
  readonly templateSlug?: string | null | undefined;
586
561
  readonly templateData?: {
@@ -610,7 +585,32 @@ export declare const create: (input: {
610
585
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
611
586
  } | null | undefined;
612
587
  } | null | undefined;
588
+ readonly locale?: string | undefined;
589
+ readonly timeZone?: string | undefined;
590
+ readonly inReplyToMessageId?: string | null | undefined;
591
+ readonly replyTo?: readonly string[] | null | undefined;
592
+ readonly topicId?: string | null | undefined;
593
+ readonly tracking?: {
594
+ readonly opens?: boolean | undefined;
595
+ readonly clicks?: boolean | undefined;
596
+ } | undefined;
597
+ readonly footer?: {
598
+ readonly enabled?: boolean | null | undefined;
599
+ } | undefined;
600
+ readonly headers?: {
601
+ readonly [x: string]: string | undefined;
602
+ } | null | undefined;
603
+ readonly preheader?: string | null | undefined;
613
604
  };
605
+ readonly issue?: {
606
+ readonly path: string;
607
+ readonly commit: string;
608
+ } | null | undefined;
609
+ readonly from?: {
610
+ readonly email: string;
611
+ readonly name?: string | null | undefined;
612
+ } | null | undefined;
613
+ readonly replyMailboxId?: string | null | undefined;
614
614
  readonly conversationId?: string | null | undefined;
615
615
  readonly metadata?: {
616
616
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -987,20 +987,9 @@ export declare const update: (input: {
987
987
  readonly id: string;
988
988
  readonly name?: string | null | undefined;
989
989
  readonly content?: {
990
- readonly channel: "email";
991
- readonly email: {
992
- readonly subject?: string | null | undefined;
993
- readonly html?: string | null | undefined;
990
+ readonly channel: "sms";
991
+ readonly sms: {
994
992
  readonly text?: string | null | undefined;
995
- readonly attachments?: readonly {
996
- readonly filename: string;
997
- readonly content?: string | null | undefined;
998
- readonly mediaId?: string | null | undefined;
999
- readonly contentType: string;
1000
- readonly size: number;
1001
- }[] | null | undefined;
1002
- readonly publicationId?: string | undefined;
1003
- readonly inputContractId?: string | undefined;
1004
993
  readonly templateId?: string | null | undefined;
1005
994
  readonly templateSlug?: string | null | undefined;
1006
995
  readonly templateData?: {
@@ -1030,32 +1019,7 @@ export declare const update: (input: {
1030
1019
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1031
1020
  } | null | undefined;
1032
1021
  } | null | undefined;
1033
- readonly locale?: string | undefined;
1034
- readonly timeZone?: string | undefined;
1035
- readonly inReplyToMessageId?: string | null | undefined;
1036
- readonly replyTo?: readonly string[] | null | undefined;
1037
- readonly topicId?: string | null | undefined;
1038
- readonly tracking?: {
1039
- readonly opens?: boolean | undefined;
1040
- readonly clicks?: boolean | undefined;
1041
- } | undefined;
1042
- readonly footer?: {
1043
- readonly enabled?: boolean | null | undefined;
1044
- } | undefined;
1045
- readonly headers?: {
1046
- readonly [x: string]: string | undefined;
1047
- } | null | undefined;
1048
- readonly preheader?: string | null | undefined;
1049
1022
  };
1050
- readonly issue?: {
1051
- readonly path: string;
1052
- readonly commit: string;
1053
- } | null | undefined;
1054
- readonly from?: {
1055
- readonly email: string;
1056
- readonly name?: string | null | undefined;
1057
- } | null | undefined;
1058
- readonly replyMailboxId?: string | null | undefined;
1059
1023
  readonly conversationId?: string | null | undefined;
1060
1024
  readonly metadata?: {
1061
1025
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -1085,9 +1049,20 @@ export declare const update: (input: {
1085
1049
  } | null | undefined;
1086
1050
  } | null | undefined;
1087
1051
  } | {
1088
- readonly channel: "sms";
1089
- readonly sms: {
1052
+ readonly channel: "email";
1053
+ readonly email: {
1054
+ readonly subject?: string | null | undefined;
1055
+ readonly html?: string | null | undefined;
1090
1056
  readonly text?: string | null | undefined;
1057
+ readonly attachments?: readonly {
1058
+ readonly filename: string;
1059
+ readonly content?: string | null | undefined;
1060
+ readonly mediaId?: string | null | undefined;
1061
+ readonly contentType: string;
1062
+ readonly size: number;
1063
+ }[] | null | undefined;
1064
+ readonly publicationId?: string | undefined;
1065
+ readonly inputContractId?: string | undefined;
1091
1066
  readonly templateId?: string | null | undefined;
1092
1067
  readonly templateSlug?: string | null | undefined;
1093
1068
  readonly templateData?: {
@@ -1117,7 +1092,32 @@ export declare const update: (input: {
1117
1092
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1118
1093
  } | null | undefined;
1119
1094
  } | null | undefined;
1095
+ readonly locale?: string | undefined;
1096
+ readonly timeZone?: string | undefined;
1097
+ readonly inReplyToMessageId?: string | null | undefined;
1098
+ readonly replyTo?: readonly string[] | null | undefined;
1099
+ readonly topicId?: string | null | undefined;
1100
+ readonly tracking?: {
1101
+ readonly opens?: boolean | undefined;
1102
+ readonly clicks?: boolean | undefined;
1103
+ } | undefined;
1104
+ readonly footer?: {
1105
+ readonly enabled?: boolean | null | undefined;
1106
+ } | undefined;
1107
+ readonly headers?: {
1108
+ readonly [x: string]: string | undefined;
1109
+ } | null | undefined;
1110
+ readonly preheader?: string | null | undefined;
1120
1111
  };
1112
+ readonly issue?: {
1113
+ readonly path: string;
1114
+ readonly commit: string;
1115
+ } | null | undefined;
1116
+ readonly from?: {
1117
+ readonly email: string;
1118
+ readonly name?: string | null | undefined;
1119
+ } | null | undefined;
1120
+ readonly replyMailboxId?: string | null | undefined;
1121
1121
  readonly conversationId?: string | null | undefined;
1122
1122
  readonly metadata?: {
1123
1123
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -265,6 +265,14 @@ export declare const update: (input: {
265
265
  export declare const remove: (input: {
266
266
  readonly id: string;
267
267
  }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"contactsRemove">;
268
+ export declare const merge: (input: {
269
+ readonly id: string;
270
+ readonly from: string;
271
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"contactsMerge">;
272
+ export declare const mergeByConnection: (input: {
273
+ readonly id: string;
274
+ readonly connection: string;
275
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"contactsMergeByConnection">;
268
276
  export declare const addIdentity: (input: {
269
277
  readonly id: string;
270
278
  readonly type: "email" | "phone";
@@ -21,6 +21,8 @@ var contacts_exports = /* @__PURE__ */ __exportAll({
21
21
  getImportJob: () => getImportJob,
22
22
  list: () => list,
23
23
  listEvents: () => listEvents,
24
+ merge: () => merge,
25
+ mergeByConnection: () => mergeByConnection,
24
26
  planImport: () => planImport,
25
27
  remove: () => remove,
26
28
  removeIdentity: () => removeIdentity,
@@ -37,6 +39,8 @@ const findOrCreate = /* @__PURE__ */ make("contactsFindOrCreate");
37
39
  const get = /* @__PURE__ */ make("contactsGet");
38
40
  const update = /* @__PURE__ */ make("contactsUpdate");
39
41
  const remove = /* @__PURE__ */ make("contactsRemove");
42
+ const merge = /* @__PURE__ */ make("contactsMerge");
43
+ const mergeByConnection = /* @__PURE__ */ make("contactsMergeByConnection");
40
44
  const addIdentity = /* @__PURE__ */ make("contactsAddIdentity");
41
45
  const removeIdentity = /* @__PURE__ */ make("contactsRemoveIdentity");
42
46
  const setConsent = /* @__PURE__ */ make("contactsSetConsent");
@@ -53,6 +57,6 @@ const exportContacts = /* @__PURE__ */ make("contactsExport");
53
57
  const getActivityTimeline = /* @__PURE__ */ make("contactsGetActivityTimeline");
54
58
  const getGroupMemberships = /* @__PURE__ */ make("contactsGetGroupMemberships");
55
59
  const listEvents = /* @__PURE__ */ forGroup(ContactEventsGroup, contactsOperations)("contactEventsListEvents");
56
- export { addIdentity, addTags, bulkDelete, bulkUpdateStatus, bulkUpdateTags, contacts_exports, create, exportContacts as export, find, findOrCreate, get, getActivityTimeline, getEngagement, getGroupMemberships, getImportJob, list, listEvents, planImport, remove, removeIdentity, removeTags, setConsent, startImport, update };
60
+ export { addIdentity, addTags, bulkDelete, bulkUpdateStatus, bulkUpdateTags, contacts_exports, create, exportContacts as export, find, findOrCreate, get, getActivityTimeline, getEngagement, getGroupMemberships, getImportJob, list, listEvents, merge, mergeByConnection, planImport, remove, removeIdentity, removeTags, setConsent, startImport, update };
57
61
 
58
62
  //# sourceMappingURL=contacts.js.map
@@ -86,13 +86,13 @@ export declare const agentsOperations: {
86
86
  readonly paths: readonly ["id"];
87
87
  };
88
88
  };
89
- readonly agentsContinueOnStandard: {
89
+ readonly agentsPublishVersion: {
90
90
  readonly group: "Agents";
91
91
  readonly method: "POST";
92
92
  readonly idempotent: false;
93
93
  readonly paginated: false;
94
94
  readonly call: {
95
- readonly kind: "path";
95
+ readonly kind: "pathPayload";
96
96
  readonly paths: readonly ["id"];
97
97
  };
98
98
  };
@@ -106,6 +106,16 @@ export declare const agentsOperations: {
106
106
  readonly paths: readonly ["id"];
107
107
  };
108
108
  };
109
+ readonly agentsContinueOnStandard: {
110
+ readonly group: "Agents";
111
+ readonly method: "POST";
112
+ readonly idempotent: false;
113
+ readonly paginated: false;
114
+ readonly call: {
115
+ readonly kind: "path";
116
+ readonly paths: readonly ["id"];
117
+ };
118
+ };
109
119
  readonly agentsGetVersion: {
110
120
  readonly group: "Agents";
111
121
  readonly method: "GET";
@@ -81,13 +81,13 @@ const agentsOperations = {
81
81
  paths: ["id"]
82
82
  }
83
83
  },
84
- agentsContinueOnStandard: {
84
+ agentsPublishVersion: {
85
85
  group: "Agents",
86
86
  method: "POST",
87
87
  idempotent: false,
88
88
  paginated: false,
89
89
  call: {
90
- kind: "path",
90
+ kind: "pathPayload",
91
91
  paths: ["id"]
92
92
  }
93
93
  },
@@ -101,6 +101,16 @@ const agentsOperations = {
101
101
  paths: ["id"]
102
102
  }
103
103
  },
104
+ agentsContinueOnStandard: {
105
+ group: "Agents",
106
+ method: "POST",
107
+ idempotent: false,
108
+ paginated: false,
109
+ call: {
110
+ kind: "path",
111
+ paths: ["id"]
112
+ }
113
+ },
104
114
  agentsGetVersion: {
105
115
  group: "Agents",
106
116
  method: "GET",
@@ -65,6 +65,26 @@ export declare const contactsOperations: {
65
65
  readonly paths: readonly ["id"];
66
66
  };
67
67
  };
68
+ readonly contactsMerge: {
69
+ readonly group: "Contacts";
70
+ readonly method: "POST";
71
+ readonly idempotent: false;
72
+ readonly paginated: false;
73
+ readonly call: {
74
+ readonly kind: "pathPayload";
75
+ readonly paths: readonly ["id"];
76
+ };
77
+ };
78
+ readonly contactsMergeByConnection: {
79
+ readonly group: "Contacts";
80
+ readonly method: "POST";
81
+ readonly idempotent: false;
82
+ readonly paginated: false;
83
+ readonly call: {
84
+ readonly kind: "pathPayload";
85
+ readonly paths: readonly ["id"];
86
+ };
87
+ };
68
88
  readonly contactsAddIdentity: {
69
89
  readonly group: "Contacts";
70
90
  readonly method: "POST";
@@ -58,6 +58,26 @@ const contactsOperations = {
58
58
  paths: ["id"]
59
59
  }
60
60
  },
61
+ contactsMerge: {
62
+ group: "Contacts",
63
+ method: "POST",
64
+ idempotent: false,
65
+ paginated: false,
66
+ call: {
67
+ kind: "pathPayload",
68
+ paths: ["id"]
69
+ }
70
+ },
71
+ contactsMergeByConnection: {
72
+ group: "Contacts",
73
+ method: "POST",
74
+ idempotent: false,
75
+ paginated: false,
76
+ call: {
77
+ kind: "pathPayload",
78
+ paths: ["id"]
79
+ }
80
+ },
61
81
  contactsAddIdentity: {
62
82
  group: "Contacts",
63
83
  method: "POST",