samva 0.24.0 → 0.26.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 (38) hide show
  1. package/dist/client/sdk.gen.d.ts +96 -4
  2. package/dist/client/sdk.gen.js +15 -8
  3. package/dist/client/types.gen.d.ts +559 -14
  4. package/dist/effect/api-keys.d.ts +3 -0
  5. package/dist/effect/campaigns.d.ts +18 -0
  6. package/dist/effect/email.d.ts +1 -0
  7. package/dist/effect/generated/agents.d.ts +1667 -0
  8. package/dist/effect/generated/api-keys.d.ts +15 -0
  9. package/dist/effect/generated/campaigns.d.ts +34 -0
  10. package/dist/effect/generated/email.d.ts +19 -0
  11. package/dist/effect/generated/email.js +8 -3
  12. package/dist/effect/generated/index.d.ts +3 -1
  13. package/dist/effect/generated/mailboxes.d.ts +176 -98
  14. package/dist/effect/generated/mailboxes.js +35 -26
  15. package/dist/effect/generated/messages.d.ts +9 -5
  16. package/dist/effect/generated/messages.js +2 -1
  17. package/dist/effect/generated/organizations.d.ts +18 -0
  18. package/dist/effect/generated/organizations.js +7 -1
  19. package/dist/effect/generated/scheduled-messages.d.ts +16 -0
  20. package/dist/effect/generated/shared.d.ts +203 -45
  21. package/dist/effect/generated/shared.js +66 -38
  22. package/dist/effect/generated/templates.d.ts +11 -7
  23. package/dist/effect/generated/templates.js +4 -7
  24. package/dist/effect/generated/webhooks.d.ts +19 -19
  25. package/dist/effect/generated/webhooks.js +12 -0
  26. package/dist/effect/generated/whoami.d.ts +4 -0
  27. package/dist/effect/generated-metadata.d.ts +45 -0
  28. package/dist/effect/generated-metadata.js +465 -426
  29. package/dist/effect/journeys.d.ts +112 -112
  30. package/dist/effect/mailboxes.d.ts +20 -6
  31. package/dist/effect/messages.d.ts +3 -0
  32. package/dist/effect/scheduled-messages.d.ts +9 -0
  33. package/dist/effect/templates.d.ts +4 -0
  34. package/dist/effect/webhooks.d.ts +4 -4
  35. package/dist/mailbox-events.d.ts +1 -1
  36. package/dist/package.js +1 -1
  37. package/dist/promises/types.gen.d.ts +1 -1
  38. package/package.json +6 -6
@@ -76,6 +76,7 @@ export declare const ApiKey: Schema.Struct<{
76
76
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
77
77
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
78
78
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
79
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
79
80
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
80
81
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
81
82
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -132,6 +133,7 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
132
133
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
133
134
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
134
135
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
136
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
135
137
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
136
138
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
137
139
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -179,6 +181,7 @@ export declare const ApiKeyPage: Schema.Struct<{
179
181
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
180
182
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
181
183
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
184
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
182
185
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
183
186
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
184
187
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -237,6 +240,7 @@ export declare const ApiKeysList200: Schema.Struct<{
237
240
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
238
241
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
239
242
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
243
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
240
244
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
241
245
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
242
246
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -290,6 +294,7 @@ export declare const ApiKeysCreateRequestJson: Schema.Struct<{
290
294
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
291
295
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
292
296
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
297
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
293
298
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
294
299
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
295
300
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -328,6 +333,7 @@ export declare const ApiKeysCreate201: Schema.Struct<{
328
333
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
329
334
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
330
335
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
336
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
331
337
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
332
338
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
333
339
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -395,6 +401,7 @@ export declare const ApiKeysGet200: Schema.Struct<{
395
401
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
396
402
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
397
403
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
404
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
398
405
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
399
406
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
400
407
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -468,6 +475,7 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
468
475
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
469
476
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
470
477
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
478
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
471
479
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
472
480
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
473
481
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -591,6 +599,7 @@ export declare const ApiKeysRotate200: Schema.Struct<{
591
599
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
592
600
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
593
601
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
602
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
594
603
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
595
604
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
596
605
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -682,6 +691,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
682
691
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
683
692
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
684
693
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
694
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
685
695
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
686
696
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
687
697
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -718,6 +728,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
718
728
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
719
729
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
720
730
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
731
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
721
732
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
722
733
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
723
734
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -893,6 +904,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
893
904
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
894
905
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
895
906
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
907
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
896
908
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
897
909
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
898
910
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -1208,6 +1220,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
1208
1220
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1209
1221
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1210
1222
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1223
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1211
1224
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1212
1225
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1213
1226
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -1409,6 +1422,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
1409
1422
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1410
1423
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1411
1424
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1425
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1412
1426
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1413
1427
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1414
1428
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -1538,6 +1552,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
1538
1552
  readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1539
1553
  readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1540
1554
  readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1555
+ readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1541
1556
  readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1542
1557
  readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
1543
1558
  readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
@@ -138,6 +138,7 @@ export declare const CampaignContent: Schema.Struct<{
138
138
  readonly footer: Schema.optionalKey<Schema.Struct<{
139
139
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
140
140
  }>>;
141
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
141
142
  }>;
142
143
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
143
144
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -178,6 +179,7 @@ export declare const CampaignContentInput: Schema.Struct<{
178
179
  readonly footer: Schema.optionalKey<Schema.Struct<{
179
180
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
180
181
  }>>;
182
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
181
183
  }>;
182
184
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
183
185
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -232,6 +234,7 @@ export declare const CampaignListItem: Schema.Struct<{
232
234
  readonly footer: Schema.optionalKey<Schema.Struct<{
233
235
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
234
236
  }>>;
237
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
235
238
  }>;
236
239
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
237
240
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -318,6 +321,7 @@ export declare const Campaign: Schema.Struct<{
318
321
  readonly footer: Schema.optionalKey<Schema.Struct<{
319
322
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
320
323
  }>>;
324
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
321
325
  }>;
322
326
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
323
327
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -422,6 +426,7 @@ export declare const CampaignRun: Schema.Struct<{
422
426
  readonly footer: Schema.optionalKey<Schema.Struct<{
423
427
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
424
428
  }>>;
429
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
425
430
  }>;
426
431
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
427
432
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -497,6 +502,7 @@ export declare const CampaignPage: Schema.Struct<{
497
502
  readonly footer: Schema.optionalKey<Schema.Struct<{
498
503
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
499
504
  }>>;
505
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
500
506
  }>;
501
507
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
502
508
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -579,6 +585,7 @@ export declare const CampaignRunPage: Schema.Struct<{
579
585
  readonly footer: Schema.optionalKey<Schema.Struct<{
580
586
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
581
587
  }>>;
588
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
582
589
  }>;
583
590
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
584
591
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -661,6 +668,7 @@ export declare const CampaignRunAction: Schema.Struct<{
661
668
  readonly footer: Schema.optionalKey<Schema.Struct<{
662
669
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
663
670
  }>>;
671
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
664
672
  }>;
665
673
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
666
674
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -744,6 +752,7 @@ export declare const CampaignsList200: Schema.Struct<{
744
752
  readonly footer: Schema.optionalKey<Schema.Struct<{
745
753
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
746
754
  }>>;
755
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
747
756
  }>;
748
757
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
749
758
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -833,6 +842,7 @@ export declare const CampaignsCreateRequestJson: Schema.Struct<{
833
842
  readonly footer: Schema.optionalKey<Schema.Struct<{
834
843
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
835
844
  }>>;
845
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
836
846
  }>;
837
847
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
838
848
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -883,6 +893,7 @@ export declare const CampaignsCreate201: Schema.Struct<{
883
893
  readonly footer: Schema.optionalKey<Schema.Struct<{
884
894
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
885
895
  }>>;
896
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
886
897
  }>;
887
898
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
888
899
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -970,6 +981,7 @@ export declare const CampaignsGet200: Schema.Struct<{
970
981
  readonly footer: Schema.optionalKey<Schema.Struct<{
971
982
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
972
983
  }>>;
984
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
973
985
  }>;
974
986
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
975
987
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1062,6 +1074,7 @@ export declare const CampaignsUpdateRequestJson: Schema.Struct<{
1062
1074
  readonly footer: Schema.optionalKey<Schema.Struct<{
1063
1075
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1064
1076
  }>>;
1077
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1065
1078
  }>;
1066
1079
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1067
1080
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1112,6 +1125,7 @@ export declare const CampaignsUpdate200: Schema.Struct<{
1112
1125
  readonly footer: Schema.optionalKey<Schema.Struct<{
1113
1126
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1114
1127
  }>>;
1128
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1115
1129
  }>;
1116
1130
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1117
1131
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1203,6 +1217,7 @@ export declare const CampaignsArchive200: Schema.Struct<{
1203
1217
  readonly footer: Schema.optionalKey<Schema.Struct<{
1204
1218
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1205
1219
  }>>;
1220
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1206
1221
  }>;
1207
1222
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1208
1223
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1309,6 +1324,7 @@ export declare const CampaignsListRuns200: Schema.Struct<{
1309
1324
  readonly footer: Schema.optionalKey<Schema.Struct<{
1310
1325
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1311
1326
  }>>;
1327
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1312
1328
  }>;
1313
1329
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1314
1330
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1412,6 +1428,7 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
1412
1428
  readonly footer: Schema.optionalKey<Schema.Struct<{
1413
1429
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1414
1430
  }>>;
1431
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1415
1432
  }>;
1416
1433
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1417
1434
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1513,6 +1530,7 @@ export declare const CampaignsGetRun200: Schema.Struct<{
1513
1530
  readonly footer: Schema.optionalKey<Schema.Struct<{
1514
1531
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1515
1532
  }>>;
1533
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1516
1534
  }>;
1517
1535
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1518
1536
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1610,6 +1628,7 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
1610
1628
  readonly footer: Schema.optionalKey<Schema.Struct<{
1611
1629
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1612
1630
  }>>;
1631
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1613
1632
  }>;
1614
1633
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1615
1634
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1712,6 +1731,7 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
1712
1731
  readonly footer: Schema.optionalKey<Schema.Struct<{
1713
1732
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1714
1733
  }>>;
1734
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1715
1735
  }>;
1716
1736
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1717
1737
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1859,6 +1879,7 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
1859
1879
  readonly footer: Schema.optionalKey<Schema.Struct<{
1860
1880
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1861
1881
  }>>;
1882
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1862
1883
  }>;
1863
1884
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1864
1885
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1948,6 +1969,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
1948
1969
  readonly footer: Schema.optionalKey<Schema.Struct<{
1949
1970
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1950
1971
  }>>;
1972
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1951
1973
  }>;
1952
1974
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1953
1975
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2126,6 +2148,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2126
2148
  readonly footer: Schema.optionalKey<Schema.Struct<{
2127
2149
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2128
2150
  }>>;
2151
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2129
2152
  }>;
2130
2153
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2131
2154
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2307,6 +2330,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2307
2330
  readonly footer: Schema.optionalKey<Schema.Struct<{
2308
2331
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2309
2332
  }>>;
2333
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2310
2334
  }>;
2311
2335
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2312
2336
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2355,6 +2379,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2355
2379
  readonly footer: Schema.optionalKey<Schema.Struct<{
2356
2380
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2357
2381
  }>>;
2382
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2358
2383
  }>;
2359
2384
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2360
2385
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2474,6 +2499,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2474
2499
  readonly footer: Schema.optionalKey<Schema.Struct<{
2475
2500
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2476
2501
  }>>;
2502
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2477
2503
  }>;
2478
2504
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2479
2505
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2630,6 +2656,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2630
2656
  readonly footer: Schema.optionalKey<Schema.Struct<{
2631
2657
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2632
2658
  }>>;
2659
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2633
2660
  }>;
2634
2661
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2635
2662
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2784,6 +2811,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2784
2811
  readonly footer: Schema.optionalKey<Schema.Struct<{
2785
2812
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2786
2813
  }>>;
2814
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2787
2815
  }>;
2788
2816
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2789
2817
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3027,6 +3055,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3027
3055
  readonly footer: Schema.optionalKey<Schema.Struct<{
3028
3056
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3029
3057
  }>>;
3058
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3030
3059
  }>;
3031
3060
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3032
3061
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3187,6 +3216,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3187
3216
  readonly footer: Schema.optionalKey<Schema.Struct<{
3188
3217
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3189
3218
  }>>;
3219
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3190
3220
  }>;
3191
3221
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3192
3222
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3378,6 +3408,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3378
3408
  readonly footer: Schema.optionalKey<Schema.Struct<{
3379
3409
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3380
3410
  }>>;
3411
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3381
3412
  }>;
3382
3413
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3383
3414
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3569,6 +3600,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3569
3600
  readonly footer: Schema.optionalKey<Schema.Struct<{
3570
3601
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3571
3602
  }>>;
3603
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3572
3604
  }>;
3573
3605
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3574
3606
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3738,6 +3770,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3738
3770
  readonly footer: Schema.optionalKey<Schema.Struct<{
3739
3771
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3740
3772
  }>>;
3773
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3741
3774
  }>;
3742
3775
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3743
3776
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3786,6 +3819,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3786
3819
  readonly footer: Schema.optionalKey<Schema.Struct<{
3787
3820
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3788
3821
  }>>;
3822
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3789
3823
  }>;
3790
3824
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3791
3825
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -432,6 +432,7 @@ export type CustomTrackingStatus = {
432
432
  readonly status: "pending" | "caa-blocked" | "active" | "teardown-scheduled" | "disabled";
433
433
  readonly label: string;
434
434
  readonly hostname: string;
435
+ readonly parentDomain: string;
435
436
  readonly region: string;
436
437
  readonly sslStatus: string | null;
437
438
  readonly certificate: CustomTrackingCertificate | null;
@@ -443,6 +444,7 @@ export type CustomTrackingStatus = {
443
444
  readonly verificationErrors: ReadonlyArray<string>;
444
445
  readonly teardownScheduledAt: string | null;
445
446
  } | null;
447
+ readonly parentDomains: ReadonlyArray<string>;
446
448
  };
447
449
  export declare const CustomTrackingStatus: Schema.Struct<{
448
450
  readonly enabled: Schema.Boolean;
@@ -450,6 +452,7 @@ export declare const CustomTrackingStatus: Schema.Struct<{
450
452
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
451
453
  readonly label: Schema.String;
452
454
  readonly hostname: Schema.String;
455
+ readonly parentDomain: Schema.String;
453
456
  readonly region: Schema.String;
454
457
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
455
458
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -476,6 +479,7 @@ export declare const CustomTrackingStatus: Schema.Struct<{
476
479
  readonly verificationErrors: Schema.$Array<Schema.String>;
477
480
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
478
481
  }>, Schema.Null]>;
482
+ readonly parentDomains: Schema.$Array<Schema.String>;
479
483
  }>;
480
484
  export type DomainWarmingPlan = {
481
485
  readonly id: EmailDomainWarmingPlanId;
@@ -1656,6 +1660,7 @@ export declare const EmailGetCustomTracking200: Schema.Struct<{
1656
1660
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
1657
1661
  readonly label: Schema.String;
1658
1662
  readonly hostname: Schema.String;
1663
+ readonly parentDomain: Schema.String;
1659
1664
  readonly region: Schema.String;
1660
1665
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
1661
1666
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -1682,6 +1687,7 @@ export declare const EmailGetCustomTracking200: Schema.Struct<{
1682
1687
  readonly verificationErrors: Schema.$Array<Schema.String>;
1683
1688
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1684
1689
  }>, Schema.Null]>;
1690
+ readonly parentDomains: Schema.$Array<Schema.String>;
1685
1691
  }>;
1686
1692
  export type EmailGetCustomTracking401 = UnauthorizedError;
1687
1693
  export declare const EmailGetCustomTracking401: typeof UnauthorizedError;
@@ -1703,9 +1709,11 @@ export declare const EmailEnableCustomTrackingPathParams: Schema.Struct<{
1703
1709
  }>;
1704
1710
  export type EmailEnableCustomTrackingRequestJson = {
1705
1711
  readonly label?: string | null;
1712
+ readonly parentDomain?: string | null;
1706
1713
  };
1707
1714
  export declare const EmailEnableCustomTrackingRequestJson: Schema.Struct<{
1708
1715
  readonly label: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1716
+ readonly parentDomain: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1709
1717
  }>;
1710
1718
  export type EmailEnableCustomTracking200 = CustomTrackingStatus;
1711
1719
  export declare const EmailEnableCustomTracking200: Schema.Struct<{
@@ -1714,6 +1722,7 @@ export declare const EmailEnableCustomTracking200: Schema.Struct<{
1714
1722
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
1715
1723
  readonly label: Schema.String;
1716
1724
  readonly hostname: Schema.String;
1725
+ readonly parentDomain: Schema.String;
1717
1726
  readonly region: Schema.String;
1718
1727
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
1719
1728
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -1740,6 +1749,7 @@ export declare const EmailEnableCustomTracking200: Schema.Struct<{
1740
1749
  readonly verificationErrors: Schema.$Array<Schema.String>;
1741
1750
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1742
1751
  }>, Schema.Null]>;
1752
+ readonly parentDomains: Schema.$Array<Schema.String>;
1743
1753
  }>;
1744
1754
  export type EmailEnableCustomTracking401 = UnauthorizedError;
1745
1755
  export declare const EmailEnableCustomTracking401: typeof UnauthorizedError;
@@ -1881,6 +1891,7 @@ export declare const EmailRecheckCustomTracking200: Schema.Struct<{
1881
1891
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
1882
1892
  readonly label: Schema.String;
1883
1893
  readonly hostname: Schema.String;
1894
+ readonly parentDomain: Schema.String;
1884
1895
  readonly region: Schema.String;
1885
1896
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
1886
1897
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -1907,6 +1918,7 @@ export declare const EmailRecheckCustomTracking200: Schema.Struct<{
1907
1918
  readonly verificationErrors: Schema.$Array<Schema.String>;
1908
1919
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1909
1920
  }>, Schema.Null]>;
1921
+ readonly parentDomains: Schema.$Array<Schema.String>;
1910
1922
  }>;
1911
1923
  export type EmailRecheckCustomTracking401 = UnauthorizedError;
1912
1924
  export declare const EmailRecheckCustomTracking401: typeof UnauthorizedError;
@@ -6447,12 +6459,14 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
6447
6459
  readonly id: Schema.brand<Schema.String, "EmailDomainId">;
6448
6460
  }>>, never, Schema.toCodecJson<Schema.Struct<{
6449
6461
  readonly label: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6462
+ readonly parentDomain: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6450
6463
  }>>, never, Schema.toCodecJson<Schema.Struct<{
6451
6464
  readonly enabled: Schema.Boolean;
6452
6465
  readonly customTracking: Schema.Union<readonly [Schema.Struct<{
6453
6466
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
6454
6467
  readonly label: Schema.String;
6455
6468
  readonly hostname: Schema.String;
6469
+ readonly parentDomain: Schema.String;
6456
6470
  readonly region: Schema.String;
6457
6471
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
6458
6472
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -6479,6 +6493,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
6479
6493
  readonly verificationErrors: Schema.$Array<Schema.String>;
6480
6494
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
6481
6495
  }>, Schema.Null]>;
6496
+ readonly parentDomains: Schema.$Array<Schema.String>;
6482
6497
  }>>, Schema.toCodecJson<Schema.Union<readonly [typeof EmailChannelError, typeof BillingProviderError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
6483
6498
  readonly _tag: "ConflictError";
6484
6499
  readonly message: string;
@@ -6941,6 +6956,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
6941
6956
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
6942
6957
  readonly label: Schema.String;
6943
6958
  readonly hostname: Schema.String;
6959
+ readonly parentDomain: Schema.String;
6944
6960
  readonly region: Schema.String;
6945
6961
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
6946
6962
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -6967,6 +6983,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
6967
6983
  readonly verificationErrors: Schema.$Array<Schema.String>;
6968
6984
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
6969
6985
  }>, Schema.Null]>;
6986
+ readonly parentDomains: Schema.$Array<Schema.String>;
6970
6987
  }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
6971
6988
  readonly _tag: "ForbiddenError";
6972
6989
  readonly message: string;
@@ -8977,6 +8994,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
8977
8994
  readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"caa-blocked">, Schema.Literal<"active">, Schema.Literal<"teardown-scheduled">, Schema.Literal<"disabled">]>;
8978
8995
  readonly label: Schema.String;
8979
8996
  readonly hostname: Schema.String;
8997
+ readonly parentDomain: Schema.String;
8980
8998
  readonly region: Schema.String;
8981
8999
  readonly sslStatus: Schema.Union<readonly [Schema.String, Schema.Null]>;
8982
9000
  readonly certificate: Schema.Union<readonly [Schema.Struct<{
@@ -9003,6 +9021,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
9003
9021
  readonly verificationErrors: Schema.$Array<Schema.String>;
9004
9022
  readonly teardownScheduledAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
9005
9023
  }>, Schema.Null]>;
9024
+ readonly parentDomains: Schema.$Array<Schema.String>;
9006
9025
  }>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
9007
9026
  readonly _tag: "ConflictError";
9008
9027
  readonly message: string;
@@ -371,6 +371,7 @@ const CustomTrackingStatus = /* @__PURE__ */ Schema.Struct({
371
371
  ]),
372
372
  label: Schema.String,
373
373
  hostname: Schema.String,
374
+ parentDomain: Schema.String,
374
375
  region: Schema.String,
375
376
  sslStatus: Schema.Union([Schema.String, Schema.Null]),
376
377
  certificate: Schema.Union([CustomTrackingCertificate, Schema.Null]),
@@ -381,7 +382,8 @@ const CustomTrackingStatus = /* @__PURE__ */ Schema.Struct({
381
382
  caaBlocked: Schema.Boolean,
382
383
  verificationErrors: Schema.Array(Schema.String),
383
384
  teardownScheduledAt: Schema.Union([Schema.String, Schema.Null])
384
- }), Schema.Null])
385
+ }), Schema.Null]),
386
+ parentDomains: Schema.Array(Schema.String)
385
387
  }).annotate({ identifier: "CustomTrackingStatus" });
386
388
  const DomainWarmingPlan = /* @__PURE__ */ Schema.Struct({
387
389
  id: EmailDomainWarmingPlanId,
@@ -1043,7 +1045,10 @@ const EmailGetCustomTracking422 = ValidationError;
1043
1045
  const EmailGetCustomTracking500 = InternalError;
1044
1046
  const EmailGetCustomTracking504 = GatewayTimeoutError;
1045
1047
  const EmailEnableCustomTrackingPathParams = /* @__PURE__ */ Schema.Struct({ id: EmailDomainId });
1046
- const EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Schema.Struct({ label: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])) });
1048
+ const EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Schema.Struct({
1049
+ label: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "First label of the tracking host. Defaults to `track`." }), Schema.Null])),
1050
+ parentDomain: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "Domain the tracking host sits directly under: the sending domain (the default) or one of its parents up to its registrable domain, listed in `parentDomains`." }), Schema.Null]))
1051
+ });
1047
1052
  const EmailEnableCustomTracking200 = CustomTrackingStatus;
1048
1053
  const EmailEnableCustomTracking401 = UnauthorizedError;
1049
1054
  const EmailEnableCustomTracking403 = ForbiddenError;
@@ -1824,7 +1829,7 @@ var EmailGroup = class extends HttpApiGroup.make("Email").add(HttpApiEndpoint.ge
1824
1829
  EmailEnableCustomTracking502.pipe(HttpApiSchema.status(502)),
1825
1830
  EmailEnableCustomTracking504.pipe(HttpApiSchema.status(504))
1826
1831
  ]
1827
- }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "email.enableCustomTracking").annotate(OpenApi.Summary, "Enable a custom tracking domain").annotate(OpenApi.Description, "Provisions a custom tracking domain (default label `track`) for a verified sending domain so open/click links redirect through the customer's own subdomain. Requires a plan that includes custom tracking domains. Returns the resulting state including the two DNS records the customer must create."), HttpApiEndpoint.delete("emailDisableCustomTracking", "/v1/email/domains/:id/custom-tracking", {
1832
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "email.enableCustomTracking").annotate(OpenApi.Summary, "Enable a custom tracking domain").annotate(OpenApi.Description, "Provisions a custom tracking domain for a verified sending domain so open/click links redirect through the customer's own host, `<label>.<parentDomain>` (default `track.<sending domain>`). `parentDomain` may be a parent of the sending domain, so `send.example.com` can use `track.example.com`. Calling it again with a different label or parent moves the host. Requires a plan that includes custom tracking domains. Returns the resulting state including the two DNS records the customer must create; a hostname another domain already uses is a conflict."), HttpApiEndpoint.delete("emailDisableCustomTracking", "/v1/email/domains/:id/custom-tracking", {
1828
1833
  params: EmailDisableCustomTrackingPathParams,
1829
1834
  success: EmailDisableCustomTracking200,
1830
1835
  error: [