@marlinjai/mail-contract 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +302 -4
- package/dist/index.d.ts +302 -4
- package/dist/index.js +28 -2
- package/dist/index.mjs +25 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3916,19 +3916,55 @@ declare const SavedSectionUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
3916
3916
|
section?: Record<string, unknown> | undefined;
|
|
3917
3917
|
}>;
|
|
3918
3918
|
type SavedSectionUpdate = z.infer<typeof SavedSectionUpdate>;
|
|
3919
|
+
/**
|
|
3920
|
+
* Deleting a template. `base_version`, when given, is the version the person
|
|
3921
|
+
* confirmed the deletion against: if the template has moved on since (saved,
|
|
3922
|
+
* renamed, archived or unarchived, each of which is a new version), the delete
|
|
3923
|
+
* fails with `conflict` (409) and nothing is deleted. Without it the template
|
|
3924
|
+
* is deleted whatever its version. A query value arrives as a string, so it
|
|
3925
|
+
* is accepted as either and validated as an integer.
|
|
3926
|
+
*/
|
|
3927
|
+
declare const TemplateDeleteQuery: z.ZodObject<{
|
|
3928
|
+
base_version: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
+
}, "strip", z.ZodTypeAny, {
|
|
3930
|
+
base_version?: number | undefined;
|
|
3931
|
+
}, {
|
|
3932
|
+
base_version?: number | undefined;
|
|
3933
|
+
}>;
|
|
3934
|
+
type TemplateDeleteQuery = z.infer<typeof TemplateDeleteQuery>;
|
|
3935
|
+
/** What `templates.list` can order by. */
|
|
3936
|
+
declare const TEMPLATE_SORTS: readonly ["updated_at", "name", "version"];
|
|
3937
|
+
type TemplateSort = (typeof TEMPLATE_SORTS)[number];
|
|
3938
|
+
/**
|
|
3939
|
+
* The direction each sort takes when `order` is left out: the name A to Z,
|
|
3940
|
+
* the most recent change and the highest version first.
|
|
3941
|
+
*/
|
|
3942
|
+
declare const TEMPLATE_SORT_DEFAULT_ORDER: Record<TemplateSort, 'asc' | 'desc'>;
|
|
3943
|
+
/**
|
|
3944
|
+
* `sort` defaults to `updated_at` (the most recent change first). A name sorts
|
|
3945
|
+
* without regard to case; ties fall back to the id, in the same direction, so
|
|
3946
|
+
* the order is total. A cursor is the id of the previous page's last row, so
|
|
3947
|
+
* the next page is asked for with the same `sort` and `order` as the first.
|
|
3948
|
+
*/
|
|
3919
3949
|
declare const TemplateListQuery: z.ZodObject<{
|
|
3920
3950
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3921
3951
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3922
3952
|
} & {
|
|
3923
3953
|
archived: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
3954
|
+
sort: z.ZodOptional<z.ZodEnum<["updated_at", "name", "version"]>>;
|
|
3955
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
3924
3956
|
}, "strip", z.ZodTypeAny, {
|
|
3957
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
3925
3958
|
cursor?: string | undefined;
|
|
3926
3959
|
limit?: number | undefined;
|
|
3927
3960
|
archived?: "true" | "false" | undefined;
|
|
3961
|
+
order?: "asc" | "desc" | undefined;
|
|
3928
3962
|
}, {
|
|
3963
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
3929
3964
|
cursor?: string | undefined;
|
|
3930
3965
|
limit?: number | undefined;
|
|
3931
3966
|
archived?: "true" | "false" | undefined;
|
|
3967
|
+
order?: "asc" | "desc" | undefined;
|
|
3932
3968
|
}>;
|
|
3933
3969
|
type TemplateListQuery = z.infer<typeof TemplateListQuery>;
|
|
3934
3970
|
/** One saved version, every language of it: restoring it restores all of them together. */
|
|
@@ -10548,6 +10584,14 @@ declare const Mailing: z.ZodObject<{
|
|
|
10548
10584
|
* language: without a ready version in it, the main language goes out.
|
|
10549
10585
|
*/
|
|
10550
10586
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
10587
|
+
/**
|
|
10588
|
+
* The template's language version the mailing was written from
|
|
10589
|
+
* (`MailingCreate.template_locale`), or null. When set, it equals `locale`
|
|
10590
|
+
* and `send_locale`: the mailing is one letter in that language, and the
|
|
10591
|
+
* template's other versions never go out with it (see "Writing from one
|
|
10592
|
+
* language version" in the contract's documentation).
|
|
10593
|
+
*/
|
|
10594
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
10551
10595
|
/**
|
|
10552
10596
|
* The topic the mailing is sent under. Null for a letter (a one-to-one
|
|
10553
10597
|
* mailing with at most one recipient, which belongs to no topic and whose
|
|
@@ -10663,6 +10707,7 @@ declare const Mailing: z.ZodObject<{
|
|
|
10663
10707
|
created_at: string;
|
|
10664
10708
|
updated_at: string;
|
|
10665
10709
|
send_locale: string | null;
|
|
10710
|
+
template_locale: string | null;
|
|
10666
10711
|
topic: string | null;
|
|
10667
10712
|
provider_id: string;
|
|
10668
10713
|
counts: {
|
|
@@ -10740,6 +10785,7 @@ declare const Mailing: z.ZodObject<{
|
|
|
10740
10785
|
} | null;
|
|
10741
10786
|
started_at: string | null;
|
|
10742
10787
|
finished_at: string | null;
|
|
10788
|
+
template_locale?: string | null | undefined;
|
|
10743
10789
|
pause_reason?: string | null | undefined;
|
|
10744
10790
|
}>;
|
|
10745
10791
|
type Mailing = z.infer<typeof Mailing>;
|
|
@@ -10784,6 +10830,14 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
10784
10830
|
* language: without a ready version in it, the main language goes out.
|
|
10785
10831
|
*/
|
|
10786
10832
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
10833
|
+
/**
|
|
10834
|
+
* The template's language version the mailing was written from
|
|
10835
|
+
* (`MailingCreate.template_locale`), or null. When set, it equals `locale`
|
|
10836
|
+
* and `send_locale`: the mailing is one letter in that language, and the
|
|
10837
|
+
* template's other versions never go out with it (see "Writing from one
|
|
10838
|
+
* language version" in the contract's documentation).
|
|
10839
|
+
*/
|
|
10840
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
10787
10841
|
/**
|
|
10788
10842
|
* The topic the mailing is sent under. Null for a letter (a one-to-one
|
|
10789
10843
|
* mailing with at most one recipient, which belongs to no topic and whose
|
|
@@ -10892,6 +10946,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
10892
10946
|
created_at: string;
|
|
10893
10947
|
updated_at: string;
|
|
10894
10948
|
send_locale: string | null;
|
|
10949
|
+
template_locale: string | null;
|
|
10895
10950
|
topic: string | null;
|
|
10896
10951
|
provider_id: string;
|
|
10897
10952
|
counts: {
|
|
@@ -10962,6 +11017,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
10962
11017
|
} | null;
|
|
10963
11018
|
started_at: string | null;
|
|
10964
11019
|
finished_at: string | null;
|
|
11020
|
+
template_locale?: string | null | undefined;
|
|
10965
11021
|
pause_reason?: string | null | undefined;
|
|
10966
11022
|
}>;
|
|
10967
11023
|
type MailingSummary = z.infer<typeof MailingSummary>;
|
|
@@ -10975,8 +11031,19 @@ type MailingSummary = z.infer<typeof MailingSummary>;
|
|
|
10975
11031
|
* has a different one, it is refused (`validation_failed`,
|
|
10976
11032
|
* `details.reason: "subject_from_template"`), since the subject belongs with
|
|
10977
11033
|
* the template's text in each language. The same holds for `preheader`.
|
|
11034
|
+
*
|
|
11035
|
+
* `template_locale` writes the mailing from one language version of the
|
|
11036
|
+
* template, the main one or a translation, draft or ready: its document,
|
|
11037
|
+
* subject and preheader (the same rules as above, against that version), and
|
|
11038
|
+
* `locale` and `send_locale` set to it. The mailing then sends that one
|
|
11039
|
+
* version and none of the template's others. A language the template has no
|
|
11040
|
+
* version in is `validation_failed` with `details.reason:
|
|
11041
|
+
* "template_locale_missing"` and the template's languages in
|
|
11042
|
+
* `details.languages`; a version missing a text for one of its insertions is
|
|
11043
|
+
* `"template_locale_incomplete"`; a different `send_locale`, or null, is
|
|
11044
|
+
* `"send_locale_from_template_locale"`.
|
|
10978
11045
|
*/
|
|
10979
|
-
declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
11046
|
+
declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
10980
11047
|
subject: z.ZodOptional<z.ZodString>;
|
|
10981
11048
|
document: z.ZodOptional<z.ZodObject<{
|
|
10982
11049
|
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
@@ -10992,6 +11059,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
10992
11059
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
10993
11060
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10994
11061
|
template_id: z.ZodOptional<z.ZodString>;
|
|
11062
|
+
template_locale: z.ZodOptional<z.ZodString>;
|
|
10995
11063
|
name: z.ZodOptional<z.ZodString>;
|
|
10996
11064
|
preheader: z.ZodOptional<z.ZodString>;
|
|
10997
11065
|
/** See `Mailing.send_locale`. */
|
|
@@ -11018,6 +11086,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11018
11086
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11019
11087
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11020
11088
|
send_locale?: string | null | undefined;
|
|
11089
|
+
template_locale?: string | undefined;
|
|
11021
11090
|
topic?: string | null | undefined;
|
|
11022
11091
|
}, {
|
|
11023
11092
|
provider_id: string;
|
|
@@ -11032,6 +11101,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11032
11101
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11033
11102
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11034
11103
|
send_locale?: string | null | undefined;
|
|
11104
|
+
template_locale?: string | undefined;
|
|
11035
11105
|
topic?: string | null | undefined;
|
|
11036
11106
|
}>, {
|
|
11037
11107
|
provider_id: string;
|
|
@@ -11046,6 +11116,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11046
11116
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11047
11117
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11048
11118
|
send_locale?: string | null | undefined;
|
|
11119
|
+
template_locale?: string | undefined;
|
|
11049
11120
|
topic?: string | null | undefined;
|
|
11050
11121
|
}, {
|
|
11051
11122
|
provider_id: string;
|
|
@@ -11060,6 +11131,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11060
11131
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11061
11132
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11062
11133
|
send_locale?: string | null | undefined;
|
|
11134
|
+
template_locale?: string | undefined;
|
|
11063
11135
|
topic?: string | null | undefined;
|
|
11064
11136
|
}>, {
|
|
11065
11137
|
provider_id: string;
|
|
@@ -11074,6 +11146,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11074
11146
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11075
11147
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11076
11148
|
send_locale?: string | null | undefined;
|
|
11149
|
+
template_locale?: string | undefined;
|
|
11077
11150
|
topic?: string | null | undefined;
|
|
11078
11151
|
}, {
|
|
11079
11152
|
provider_id: string;
|
|
@@ -11088,6 +11161,37 @@ declare const MailingCreate: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
11088
11161
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11089
11162
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11090
11163
|
send_locale?: string | null | undefined;
|
|
11164
|
+
template_locale?: string | undefined;
|
|
11165
|
+
topic?: string | null | undefined;
|
|
11166
|
+
}>, {
|
|
11167
|
+
provider_id: string;
|
|
11168
|
+
name?: string | undefined;
|
|
11169
|
+
template_id?: string | undefined;
|
|
11170
|
+
metadata?: Record<string, string> | undefined;
|
|
11171
|
+
subject?: string | undefined;
|
|
11172
|
+
preheader?: string | undefined;
|
|
11173
|
+
document?: z.objectOutputType<{
|
|
11174
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
11175
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11176
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11177
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11178
|
+
send_locale?: string | null | undefined;
|
|
11179
|
+
template_locale?: string | undefined;
|
|
11180
|
+
topic?: string | null | undefined;
|
|
11181
|
+
}, {
|
|
11182
|
+
provider_id: string;
|
|
11183
|
+
name?: string | undefined;
|
|
11184
|
+
template_id?: string | undefined;
|
|
11185
|
+
metadata?: Record<string, string> | undefined;
|
|
11186
|
+
subject?: string | undefined;
|
|
11187
|
+
preheader?: string | undefined;
|
|
11188
|
+
document?: z.objectInputType<{
|
|
11189
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
11190
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11191
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
11192
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11193
|
+
send_locale?: string | null | undefined;
|
|
11194
|
+
template_locale?: string | undefined;
|
|
11091
11195
|
topic?: string | null | undefined;
|
|
11092
11196
|
}>;
|
|
11093
11197
|
type MailingCreate = z.infer<typeof MailingCreate>;
|
|
@@ -29153,14 +29257,20 @@ declare const templateRoutes: {
|
|
|
29153
29257
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
29154
29258
|
} & {
|
|
29155
29259
|
archived: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
29260
|
+
sort: z.ZodOptional<z.ZodEnum<["updated_at", "name", "version"]>>;
|
|
29261
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
29156
29262
|
}, "strip", z.ZodTypeAny, {
|
|
29263
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
29157
29264
|
cursor?: string | undefined;
|
|
29158
29265
|
limit?: number | undefined;
|
|
29159
29266
|
archived?: "true" | "false" | undefined;
|
|
29267
|
+
order?: "asc" | "desc" | undefined;
|
|
29160
29268
|
}, {
|
|
29269
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
29161
29270
|
cursor?: string | undefined;
|
|
29162
29271
|
limit?: number | undefined;
|
|
29163
29272
|
archived?: "true" | "false" | undefined;
|
|
29273
|
+
order?: "asc" | "desc" | undefined;
|
|
29164
29274
|
}>;
|
|
29165
29275
|
readonly response: z.ZodObject<{
|
|
29166
29276
|
data: z.ZodArray<z.ZodObject<Omit<{
|
|
@@ -34385,6 +34495,13 @@ declare const templateRoutes: {
|
|
|
34385
34495
|
}, {
|
|
34386
34496
|
id: string;
|
|
34387
34497
|
}>;
|
|
34498
|
+
readonly query: z.ZodObject<{
|
|
34499
|
+
base_version: z.ZodOptional<z.ZodNumber>;
|
|
34500
|
+
}, "strip", z.ZodTypeAny, {
|
|
34501
|
+
base_version?: number | undefined;
|
|
34502
|
+
}, {
|
|
34503
|
+
base_version?: number | undefined;
|
|
34504
|
+
}>;
|
|
34388
34505
|
readonly response: z.ZodObject<{
|
|
34389
34506
|
ok: z.ZodLiteral<true>;
|
|
34390
34507
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -40368,6 +40485,7 @@ declare const sendingRoutes: {
|
|
|
40368
40485
|
}, z.ZodTypeAny, "passthrough">>;
|
|
40369
40486
|
locale: z.ZodString;
|
|
40370
40487
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
40488
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
40371
40489
|
topic: z.ZodNullable<z.ZodString>;
|
|
40372
40490
|
provider_id: z.ZodString;
|
|
40373
40491
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -40464,6 +40582,7 @@ declare const sendingRoutes: {
|
|
|
40464
40582
|
created_at: string;
|
|
40465
40583
|
updated_at: string;
|
|
40466
40584
|
send_locale: string | null;
|
|
40585
|
+
template_locale: string | null;
|
|
40467
40586
|
topic: string | null;
|
|
40468
40587
|
provider_id: string;
|
|
40469
40588
|
counts: {
|
|
@@ -40534,6 +40653,7 @@ declare const sendingRoutes: {
|
|
|
40534
40653
|
} | null;
|
|
40535
40654
|
started_at: string | null;
|
|
40536
40655
|
finished_at: string | null;
|
|
40656
|
+
template_locale?: string | null | undefined;
|
|
40537
40657
|
pause_reason?: string | null | undefined;
|
|
40538
40658
|
}>, "many">;
|
|
40539
40659
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -40551,6 +40671,7 @@ declare const sendingRoutes: {
|
|
|
40551
40671
|
created_at: string;
|
|
40552
40672
|
updated_at: string;
|
|
40553
40673
|
send_locale: string | null;
|
|
40674
|
+
template_locale: string | null;
|
|
40554
40675
|
topic: string | null;
|
|
40555
40676
|
provider_id: string;
|
|
40556
40677
|
counts: {
|
|
@@ -40624,6 +40745,7 @@ declare const sendingRoutes: {
|
|
|
40624
40745
|
} | null;
|
|
40625
40746
|
started_at: string | null;
|
|
40626
40747
|
finished_at: string | null;
|
|
40748
|
+
template_locale?: string | null | undefined;
|
|
40627
40749
|
pause_reason?: string | null | undefined;
|
|
40628
40750
|
}[];
|
|
40629
40751
|
next_cursor: string | null;
|
|
@@ -40635,7 +40757,7 @@ declare const sendingRoutes: {
|
|
|
40635
40757
|
readonly 'mailings.create': {
|
|
40636
40758
|
readonly method: "POST";
|
|
40637
40759
|
readonly path: "/v1/mailings";
|
|
40638
|
-
readonly body: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
40760
|
+
readonly body: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
40639
40761
|
subject: z.ZodOptional<z.ZodString>;
|
|
40640
40762
|
document: z.ZodOptional<z.ZodObject<{
|
|
40641
40763
|
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
@@ -40651,6 +40773,7 @@ declare const sendingRoutes: {
|
|
|
40651
40773
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40652
40774
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
40653
40775
|
template_id: z.ZodOptional<z.ZodString>;
|
|
40776
|
+
template_locale: z.ZodOptional<z.ZodString>;
|
|
40654
40777
|
name: z.ZodOptional<z.ZodString>;
|
|
40655
40778
|
preheader: z.ZodOptional<z.ZodString>;
|
|
40656
40779
|
send_locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40670,6 +40793,37 @@ declare const sendingRoutes: {
|
|
|
40670
40793
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40671
40794
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40672
40795
|
send_locale?: string | null | undefined;
|
|
40796
|
+
template_locale?: string | undefined;
|
|
40797
|
+
topic?: string | null | undefined;
|
|
40798
|
+
}, {
|
|
40799
|
+
provider_id: string;
|
|
40800
|
+
name?: string | undefined;
|
|
40801
|
+
template_id?: string | undefined;
|
|
40802
|
+
metadata?: Record<string, string> | undefined;
|
|
40803
|
+
subject?: string | undefined;
|
|
40804
|
+
preheader?: string | undefined;
|
|
40805
|
+
document?: z.objectInputType<{
|
|
40806
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
40807
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
40808
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40809
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40810
|
+
send_locale?: string | null | undefined;
|
|
40811
|
+
template_locale?: string | undefined;
|
|
40812
|
+
topic?: string | null | undefined;
|
|
40813
|
+
}>, {
|
|
40814
|
+
provider_id: string;
|
|
40815
|
+
name?: string | undefined;
|
|
40816
|
+
template_id?: string | undefined;
|
|
40817
|
+
metadata?: Record<string, string> | undefined;
|
|
40818
|
+
subject?: string | undefined;
|
|
40819
|
+
preheader?: string | undefined;
|
|
40820
|
+
document?: z.objectOutputType<{
|
|
40821
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
40822
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
40823
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40824
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40825
|
+
send_locale?: string | null | undefined;
|
|
40826
|
+
template_locale?: string | undefined;
|
|
40673
40827
|
topic?: string | null | undefined;
|
|
40674
40828
|
}, {
|
|
40675
40829
|
provider_id: string;
|
|
@@ -40684,6 +40838,7 @@ declare const sendingRoutes: {
|
|
|
40684
40838
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40685
40839
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40686
40840
|
send_locale?: string | null | undefined;
|
|
40841
|
+
template_locale?: string | undefined;
|
|
40687
40842
|
topic?: string | null | undefined;
|
|
40688
40843
|
}>, {
|
|
40689
40844
|
provider_id: string;
|
|
@@ -40698,6 +40853,7 @@ declare const sendingRoutes: {
|
|
|
40698
40853
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40699
40854
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40700
40855
|
send_locale?: string | null | undefined;
|
|
40856
|
+
template_locale?: string | undefined;
|
|
40701
40857
|
topic?: string | null | undefined;
|
|
40702
40858
|
}, {
|
|
40703
40859
|
provider_id: string;
|
|
@@ -40712,6 +40868,7 @@ declare const sendingRoutes: {
|
|
|
40712
40868
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40713
40869
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40714
40870
|
send_locale?: string | null | undefined;
|
|
40871
|
+
template_locale?: string | undefined;
|
|
40715
40872
|
topic?: string | null | undefined;
|
|
40716
40873
|
}>, {
|
|
40717
40874
|
provider_id: string;
|
|
@@ -40726,6 +40883,7 @@ declare const sendingRoutes: {
|
|
|
40726
40883
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40727
40884
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40728
40885
|
send_locale?: string | null | undefined;
|
|
40886
|
+
template_locale?: string | undefined;
|
|
40729
40887
|
topic?: string | null | undefined;
|
|
40730
40888
|
}, {
|
|
40731
40889
|
provider_id: string;
|
|
@@ -40740,6 +40898,7 @@ declare const sendingRoutes: {
|
|
|
40740
40898
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
40741
40899
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
40742
40900
|
send_locale?: string | null | undefined;
|
|
40901
|
+
template_locale?: string | undefined;
|
|
40743
40902
|
topic?: string | null | undefined;
|
|
40744
40903
|
}>;
|
|
40745
40904
|
readonly response: z.ZodObject<{
|
|
@@ -40764,6 +40923,7 @@ declare const sendingRoutes: {
|
|
|
40764
40923
|
}, z.ZodTypeAny, "passthrough">>;
|
|
40765
40924
|
locale: z.ZodString;
|
|
40766
40925
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
40926
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
40767
40927
|
topic: z.ZodNullable<z.ZodString>;
|
|
40768
40928
|
provider_id: z.ZodString;
|
|
40769
40929
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -40867,6 +41027,7 @@ declare const sendingRoutes: {
|
|
|
40867
41027
|
created_at: string;
|
|
40868
41028
|
updated_at: string;
|
|
40869
41029
|
send_locale: string | null;
|
|
41030
|
+
template_locale: string | null;
|
|
40870
41031
|
topic: string | null;
|
|
40871
41032
|
provider_id: string;
|
|
40872
41033
|
counts: {
|
|
@@ -40944,6 +41105,7 @@ declare const sendingRoutes: {
|
|
|
40944
41105
|
} | null;
|
|
40945
41106
|
started_at: string | null;
|
|
40946
41107
|
finished_at: string | null;
|
|
41108
|
+
template_locale?: string | null | undefined;
|
|
40947
41109
|
pause_reason?: string | null | undefined;
|
|
40948
41110
|
}>;
|
|
40949
41111
|
readonly status: 201;
|
|
@@ -40982,6 +41144,7 @@ declare const sendingRoutes: {
|
|
|
40982
41144
|
}, z.ZodTypeAny, "passthrough">>;
|
|
40983
41145
|
locale: z.ZodString;
|
|
40984
41146
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
41147
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
40985
41148
|
topic: z.ZodNullable<z.ZodString>;
|
|
40986
41149
|
provider_id: z.ZodString;
|
|
40987
41150
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -41085,6 +41248,7 @@ declare const sendingRoutes: {
|
|
|
41085
41248
|
created_at: string;
|
|
41086
41249
|
updated_at: string;
|
|
41087
41250
|
send_locale: string | null;
|
|
41251
|
+
template_locale: string | null;
|
|
41088
41252
|
topic: string | null;
|
|
41089
41253
|
provider_id: string;
|
|
41090
41254
|
counts: {
|
|
@@ -41162,6 +41326,7 @@ declare const sendingRoutes: {
|
|
|
41162
41326
|
} | null;
|
|
41163
41327
|
started_at: string | null;
|
|
41164
41328
|
finished_at: string | null;
|
|
41329
|
+
template_locale?: string | null | undefined;
|
|
41165
41330
|
pause_reason?: string | null | undefined;
|
|
41166
41331
|
}>;
|
|
41167
41332
|
readonly status: 200;
|
|
@@ -41297,6 +41462,7 @@ declare const sendingRoutes: {
|
|
|
41297
41462
|
}, z.ZodTypeAny, "passthrough">>;
|
|
41298
41463
|
locale: z.ZodString;
|
|
41299
41464
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
41465
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
41300
41466
|
topic: z.ZodNullable<z.ZodString>;
|
|
41301
41467
|
provider_id: z.ZodString;
|
|
41302
41468
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -41400,6 +41566,7 @@ declare const sendingRoutes: {
|
|
|
41400
41566
|
created_at: string;
|
|
41401
41567
|
updated_at: string;
|
|
41402
41568
|
send_locale: string | null;
|
|
41569
|
+
template_locale: string | null;
|
|
41403
41570
|
topic: string | null;
|
|
41404
41571
|
provider_id: string;
|
|
41405
41572
|
counts: {
|
|
@@ -41477,6 +41644,7 @@ declare const sendingRoutes: {
|
|
|
41477
41644
|
} | null;
|
|
41478
41645
|
started_at: string | null;
|
|
41479
41646
|
finished_at: string | null;
|
|
41647
|
+
template_locale?: string | null | undefined;
|
|
41480
41648
|
pause_reason?: string | null | undefined;
|
|
41481
41649
|
}>;
|
|
41482
41650
|
readonly status: 200;
|
|
@@ -41743,6 +41911,7 @@ declare const sendingRoutes: {
|
|
|
41743
41911
|
}, z.ZodTypeAny, "passthrough">>;
|
|
41744
41912
|
locale: z.ZodString;
|
|
41745
41913
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
41914
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
41746
41915
|
topic: z.ZodNullable<z.ZodString>;
|
|
41747
41916
|
provider_id: z.ZodString;
|
|
41748
41917
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -41846,6 +42015,7 @@ declare const sendingRoutes: {
|
|
|
41846
42015
|
created_at: string;
|
|
41847
42016
|
updated_at: string;
|
|
41848
42017
|
send_locale: string | null;
|
|
42018
|
+
template_locale: string | null;
|
|
41849
42019
|
topic: string | null;
|
|
41850
42020
|
provider_id: string;
|
|
41851
42021
|
counts: {
|
|
@@ -41923,6 +42093,7 @@ declare const sendingRoutes: {
|
|
|
41923
42093
|
} | null;
|
|
41924
42094
|
started_at: string | null;
|
|
41925
42095
|
finished_at: string | null;
|
|
42096
|
+
template_locale?: string | null | undefined;
|
|
41926
42097
|
pause_reason?: string | null | undefined;
|
|
41927
42098
|
}>;
|
|
41928
42099
|
readonly status: 202;
|
|
@@ -41962,6 +42133,7 @@ declare const sendingRoutes: {
|
|
|
41962
42133
|
}, z.ZodTypeAny, "passthrough">>;
|
|
41963
42134
|
locale: z.ZodString;
|
|
41964
42135
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
42136
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
41965
42137
|
topic: z.ZodNullable<z.ZodString>;
|
|
41966
42138
|
provider_id: z.ZodString;
|
|
41967
42139
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -42065,6 +42237,7 @@ declare const sendingRoutes: {
|
|
|
42065
42237
|
created_at: string;
|
|
42066
42238
|
updated_at: string;
|
|
42067
42239
|
send_locale: string | null;
|
|
42240
|
+
template_locale: string | null;
|
|
42068
42241
|
topic: string | null;
|
|
42069
42242
|
provider_id: string;
|
|
42070
42243
|
counts: {
|
|
@@ -42142,6 +42315,7 @@ declare const sendingRoutes: {
|
|
|
42142
42315
|
} | null;
|
|
42143
42316
|
started_at: string | null;
|
|
42144
42317
|
finished_at: string | null;
|
|
42318
|
+
template_locale?: string | null | undefined;
|
|
42145
42319
|
pause_reason?: string | null | undefined;
|
|
42146
42320
|
}>;
|
|
42147
42321
|
readonly status: 200;
|
|
@@ -42181,6 +42355,7 @@ declare const sendingRoutes: {
|
|
|
42181
42355
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42182
42356
|
locale: z.ZodString;
|
|
42183
42357
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
42358
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
42184
42359
|
topic: z.ZodNullable<z.ZodString>;
|
|
42185
42360
|
provider_id: z.ZodString;
|
|
42186
42361
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -42284,6 +42459,7 @@ declare const sendingRoutes: {
|
|
|
42284
42459
|
created_at: string;
|
|
42285
42460
|
updated_at: string;
|
|
42286
42461
|
send_locale: string | null;
|
|
42462
|
+
template_locale: string | null;
|
|
42287
42463
|
topic: string | null;
|
|
42288
42464
|
provider_id: string;
|
|
42289
42465
|
counts: {
|
|
@@ -42361,6 +42537,7 @@ declare const sendingRoutes: {
|
|
|
42361
42537
|
} | null;
|
|
42362
42538
|
started_at: string | null;
|
|
42363
42539
|
finished_at: string | null;
|
|
42540
|
+
template_locale?: string | null | undefined;
|
|
42364
42541
|
pause_reason?: string | null | undefined;
|
|
42365
42542
|
}>;
|
|
42366
42543
|
readonly status: 202;
|
|
@@ -42400,6 +42577,7 @@ declare const sendingRoutes: {
|
|
|
42400
42577
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42401
42578
|
locale: z.ZodString;
|
|
42402
42579
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
42580
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
42403
42581
|
topic: z.ZodNullable<z.ZodString>;
|
|
42404
42582
|
provider_id: z.ZodString;
|
|
42405
42583
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -42503,6 +42681,7 @@ declare const sendingRoutes: {
|
|
|
42503
42681
|
created_at: string;
|
|
42504
42682
|
updated_at: string;
|
|
42505
42683
|
send_locale: string | null;
|
|
42684
|
+
template_locale: string | null;
|
|
42506
42685
|
topic: string | null;
|
|
42507
42686
|
provider_id: string;
|
|
42508
42687
|
counts: {
|
|
@@ -42580,6 +42759,7 @@ declare const sendingRoutes: {
|
|
|
42580
42759
|
} | null;
|
|
42581
42760
|
started_at: string | null;
|
|
42582
42761
|
finished_at: string | null;
|
|
42762
|
+
template_locale?: string | null | undefined;
|
|
42583
42763
|
pause_reason?: string | null | undefined;
|
|
42584
42764
|
}>;
|
|
42585
42765
|
readonly status: 200;
|
|
@@ -42625,6 +42805,7 @@ declare const sendingRoutes: {
|
|
|
42625
42805
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42626
42806
|
locale: z.ZodString;
|
|
42627
42807
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
42808
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
42628
42809
|
topic: z.ZodNullable<z.ZodString>;
|
|
42629
42810
|
provider_id: z.ZodString;
|
|
42630
42811
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -42728,6 +42909,7 @@ declare const sendingRoutes: {
|
|
|
42728
42909
|
created_at: string;
|
|
42729
42910
|
updated_at: string;
|
|
42730
42911
|
send_locale: string | null;
|
|
42912
|
+
template_locale: string | null;
|
|
42731
42913
|
topic: string | null;
|
|
42732
42914
|
provider_id: string;
|
|
42733
42915
|
counts: {
|
|
@@ -42805,6 +42987,7 @@ declare const sendingRoutes: {
|
|
|
42805
42987
|
} | null;
|
|
42806
42988
|
started_at: string | null;
|
|
42807
42989
|
finished_at: string | null;
|
|
42990
|
+
template_locale?: string | null | undefined;
|
|
42808
42991
|
pause_reason?: string | null | undefined;
|
|
42809
42992
|
}>;
|
|
42810
42993
|
readonly status: 202;
|
|
@@ -42850,6 +43033,7 @@ declare const sendingRoutes: {
|
|
|
42850
43033
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42851
43034
|
locale: z.ZodString;
|
|
42852
43035
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
43036
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
42853
43037
|
topic: z.ZodNullable<z.ZodString>;
|
|
42854
43038
|
provider_id: z.ZodString;
|
|
42855
43039
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -42953,6 +43137,7 @@ declare const sendingRoutes: {
|
|
|
42953
43137
|
created_at: string;
|
|
42954
43138
|
updated_at: string;
|
|
42955
43139
|
send_locale: string | null;
|
|
43140
|
+
template_locale: string | null;
|
|
42956
43141
|
topic: string | null;
|
|
42957
43142
|
provider_id: string;
|
|
42958
43143
|
counts: {
|
|
@@ -43030,6 +43215,7 @@ declare const sendingRoutes: {
|
|
|
43030
43215
|
} | null;
|
|
43031
43216
|
started_at: string | null;
|
|
43032
43217
|
finished_at: string | null;
|
|
43218
|
+
template_locale?: string | null | undefined;
|
|
43033
43219
|
pause_reason?: string | null | undefined;
|
|
43034
43220
|
}>;
|
|
43035
43221
|
readonly status: 201;
|
|
@@ -44368,6 +44554,7 @@ declare const platformRoutes: {
|
|
|
44368
44554
|
}, z.ZodTypeAny, "passthrough">>;
|
|
44369
44555
|
locale: z.ZodString;
|
|
44370
44556
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
44557
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44371
44558
|
topic: z.ZodNullable<z.ZodString>;
|
|
44372
44559
|
provider_id: z.ZodString;
|
|
44373
44560
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -44471,6 +44658,7 @@ declare const platformRoutes: {
|
|
|
44471
44658
|
created_at: string;
|
|
44472
44659
|
updated_at: string;
|
|
44473
44660
|
send_locale: string | null;
|
|
44661
|
+
template_locale: string | null;
|
|
44474
44662
|
topic: string | null;
|
|
44475
44663
|
provider_id: string;
|
|
44476
44664
|
counts: {
|
|
@@ -44548,6 +44736,7 @@ declare const platformRoutes: {
|
|
|
44548
44736
|
} | null;
|
|
44549
44737
|
started_at: string | null;
|
|
44550
44738
|
finished_at: string | null;
|
|
44739
|
+
template_locale?: string | null | undefined;
|
|
44551
44740
|
pause_reason?: string | null | undefined;
|
|
44552
44741
|
}>;
|
|
44553
44742
|
readonly status: 200;
|
|
@@ -44588,6 +44777,7 @@ declare const platformRoutes: {
|
|
|
44588
44777
|
}, z.ZodTypeAny, "passthrough">>;
|
|
44589
44778
|
locale: z.ZodString;
|
|
44590
44779
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
44780
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44591
44781
|
topic: z.ZodNullable<z.ZodString>;
|
|
44592
44782
|
provider_id: z.ZodString;
|
|
44593
44783
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -44691,6 +44881,7 @@ declare const platformRoutes: {
|
|
|
44691
44881
|
created_at: string;
|
|
44692
44882
|
updated_at: string;
|
|
44693
44883
|
send_locale: string | null;
|
|
44884
|
+
template_locale: string | null;
|
|
44694
44885
|
topic: string | null;
|
|
44695
44886
|
provider_id: string;
|
|
44696
44887
|
counts: {
|
|
@@ -44768,6 +44959,7 @@ declare const platformRoutes: {
|
|
|
44768
44959
|
} | null;
|
|
44769
44960
|
started_at: string | null;
|
|
44770
44961
|
finished_at: string | null;
|
|
44962
|
+
template_locale?: string | null | undefined;
|
|
44771
44963
|
pause_reason?: string | null | undefined;
|
|
44772
44964
|
}>;
|
|
44773
44965
|
readonly status: 200;
|
|
@@ -44928,6 +45120,7 @@ declare const platformRoutes: {
|
|
|
44928
45120
|
}, z.ZodTypeAny, "passthrough">>;
|
|
44929
45121
|
locale: z.ZodString;
|
|
44930
45122
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
45123
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44931
45124
|
topic: z.ZodNullable<z.ZodString>;
|
|
44932
45125
|
provider_id: z.ZodString;
|
|
44933
45126
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -45031,6 +45224,7 @@ declare const platformRoutes: {
|
|
|
45031
45224
|
created_at: string;
|
|
45032
45225
|
updated_at: string;
|
|
45033
45226
|
send_locale: string | null;
|
|
45227
|
+
template_locale: string | null;
|
|
45034
45228
|
topic: string | null;
|
|
45035
45229
|
provider_id: string;
|
|
45036
45230
|
counts: {
|
|
@@ -45108,6 +45302,7 @@ declare const platformRoutes: {
|
|
|
45108
45302
|
} | null;
|
|
45109
45303
|
started_at: string | null;
|
|
45110
45304
|
finished_at: string | null;
|
|
45305
|
+
template_locale?: string | null | undefined;
|
|
45111
45306
|
pause_reason?: string | null | undefined;
|
|
45112
45307
|
}>;
|
|
45113
45308
|
readonly status: 200;
|
|
@@ -45146,6 +45341,7 @@ declare const platformRoutes: {
|
|
|
45146
45341
|
}, z.ZodTypeAny, "passthrough">>;
|
|
45147
45342
|
locale: z.ZodString;
|
|
45148
45343
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
45344
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
45149
45345
|
topic: z.ZodNullable<z.ZodString>;
|
|
45150
45346
|
provider_id: z.ZodString;
|
|
45151
45347
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -45249,6 +45445,7 @@ declare const platformRoutes: {
|
|
|
45249
45445
|
created_at: string;
|
|
45250
45446
|
updated_at: string;
|
|
45251
45447
|
send_locale: string | null;
|
|
45448
|
+
template_locale: string | null;
|
|
45252
45449
|
topic: string | null;
|
|
45253
45450
|
provider_id: string;
|
|
45254
45451
|
counts: {
|
|
@@ -45326,6 +45523,7 @@ declare const platformRoutes: {
|
|
|
45326
45523
|
} | null;
|
|
45327
45524
|
started_at: string | null;
|
|
45328
45525
|
finished_at: string | null;
|
|
45526
|
+
template_locale?: string | null | undefined;
|
|
45329
45527
|
pause_reason?: string | null | undefined;
|
|
45330
45528
|
}>;
|
|
45331
45529
|
readonly status: 200;
|
|
@@ -45372,6 +45570,7 @@ declare const platformRoutes: {
|
|
|
45372
45570
|
}, z.ZodTypeAny, "passthrough">>;
|
|
45373
45571
|
locale: z.ZodString;
|
|
45374
45572
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
45573
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
45375
45574
|
topic: z.ZodNullable<z.ZodString>;
|
|
45376
45575
|
provider_id: z.ZodString;
|
|
45377
45576
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -45475,6 +45674,7 @@ declare const platformRoutes: {
|
|
|
45475
45674
|
created_at: string;
|
|
45476
45675
|
updated_at: string;
|
|
45477
45676
|
send_locale: string | null;
|
|
45677
|
+
template_locale: string | null;
|
|
45478
45678
|
topic: string | null;
|
|
45479
45679
|
provider_id: string;
|
|
45480
45680
|
counts: {
|
|
@@ -45552,6 +45752,7 @@ declare const platformRoutes: {
|
|
|
45552
45752
|
} | null;
|
|
45553
45753
|
started_at: string | null;
|
|
45554
45754
|
finished_at: string | null;
|
|
45755
|
+
template_locale?: string | null | undefined;
|
|
45555
45756
|
pause_reason?: string | null | undefined;
|
|
45556
45757
|
}>;
|
|
45557
45758
|
readonly status: 200;
|
|
@@ -85997,6 +86198,7 @@ declare const routes: {
|
|
|
85997
86198
|
}, z.ZodTypeAny, "passthrough">>;
|
|
85998
86199
|
locale: z.ZodString;
|
|
85999
86200
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
86201
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86000
86202
|
topic: z.ZodNullable<z.ZodString>;
|
|
86001
86203
|
provider_id: z.ZodString;
|
|
86002
86204
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -86100,6 +86302,7 @@ declare const routes: {
|
|
|
86100
86302
|
created_at: string;
|
|
86101
86303
|
updated_at: string;
|
|
86102
86304
|
send_locale: string | null;
|
|
86305
|
+
template_locale: string | null;
|
|
86103
86306
|
topic: string | null;
|
|
86104
86307
|
provider_id: string;
|
|
86105
86308
|
counts: {
|
|
@@ -86177,6 +86380,7 @@ declare const routes: {
|
|
|
86177
86380
|
} | null;
|
|
86178
86381
|
started_at: string | null;
|
|
86179
86382
|
finished_at: string | null;
|
|
86383
|
+
template_locale?: string | null | undefined;
|
|
86180
86384
|
pause_reason?: string | null | undefined;
|
|
86181
86385
|
}>;
|
|
86182
86386
|
readonly status: 200;
|
|
@@ -86217,6 +86421,7 @@ declare const routes: {
|
|
|
86217
86421
|
}, z.ZodTypeAny, "passthrough">>;
|
|
86218
86422
|
locale: z.ZodString;
|
|
86219
86423
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
86424
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86220
86425
|
topic: z.ZodNullable<z.ZodString>;
|
|
86221
86426
|
provider_id: z.ZodString;
|
|
86222
86427
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -86320,6 +86525,7 @@ declare const routes: {
|
|
|
86320
86525
|
created_at: string;
|
|
86321
86526
|
updated_at: string;
|
|
86322
86527
|
send_locale: string | null;
|
|
86528
|
+
template_locale: string | null;
|
|
86323
86529
|
topic: string | null;
|
|
86324
86530
|
provider_id: string;
|
|
86325
86531
|
counts: {
|
|
@@ -86397,6 +86603,7 @@ declare const routes: {
|
|
|
86397
86603
|
} | null;
|
|
86398
86604
|
started_at: string | null;
|
|
86399
86605
|
finished_at: string | null;
|
|
86606
|
+
template_locale?: string | null | undefined;
|
|
86400
86607
|
pause_reason?: string | null | undefined;
|
|
86401
86608
|
}>;
|
|
86402
86609
|
readonly status: 200;
|
|
@@ -86557,6 +86764,7 @@ declare const routes: {
|
|
|
86557
86764
|
}, z.ZodTypeAny, "passthrough">>;
|
|
86558
86765
|
locale: z.ZodString;
|
|
86559
86766
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
86767
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86560
86768
|
topic: z.ZodNullable<z.ZodString>;
|
|
86561
86769
|
provider_id: z.ZodString;
|
|
86562
86770
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -86660,6 +86868,7 @@ declare const routes: {
|
|
|
86660
86868
|
created_at: string;
|
|
86661
86869
|
updated_at: string;
|
|
86662
86870
|
send_locale: string | null;
|
|
86871
|
+
template_locale: string | null;
|
|
86663
86872
|
topic: string | null;
|
|
86664
86873
|
provider_id: string;
|
|
86665
86874
|
counts: {
|
|
@@ -86737,6 +86946,7 @@ declare const routes: {
|
|
|
86737
86946
|
} | null;
|
|
86738
86947
|
started_at: string | null;
|
|
86739
86948
|
finished_at: string | null;
|
|
86949
|
+
template_locale?: string | null | undefined;
|
|
86740
86950
|
pause_reason?: string | null | undefined;
|
|
86741
86951
|
}>;
|
|
86742
86952
|
readonly status: 200;
|
|
@@ -86775,6 +86985,7 @@ declare const routes: {
|
|
|
86775
86985
|
}, z.ZodTypeAny, "passthrough">>;
|
|
86776
86986
|
locale: z.ZodString;
|
|
86777
86987
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
86988
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86778
86989
|
topic: z.ZodNullable<z.ZodString>;
|
|
86779
86990
|
provider_id: z.ZodString;
|
|
86780
86991
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -86878,6 +87089,7 @@ declare const routes: {
|
|
|
86878
87089
|
created_at: string;
|
|
86879
87090
|
updated_at: string;
|
|
86880
87091
|
send_locale: string | null;
|
|
87092
|
+
template_locale: string | null;
|
|
86881
87093
|
topic: string | null;
|
|
86882
87094
|
provider_id: string;
|
|
86883
87095
|
counts: {
|
|
@@ -86955,6 +87167,7 @@ declare const routes: {
|
|
|
86955
87167
|
} | null;
|
|
86956
87168
|
started_at: string | null;
|
|
86957
87169
|
finished_at: string | null;
|
|
87170
|
+
template_locale?: string | null | undefined;
|
|
86958
87171
|
pause_reason?: string | null | undefined;
|
|
86959
87172
|
}>;
|
|
86960
87173
|
readonly status: 200;
|
|
@@ -87001,6 +87214,7 @@ declare const routes: {
|
|
|
87001
87214
|
}, z.ZodTypeAny, "passthrough">>;
|
|
87002
87215
|
locale: z.ZodString;
|
|
87003
87216
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
87217
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
87004
87218
|
topic: z.ZodNullable<z.ZodString>;
|
|
87005
87219
|
provider_id: z.ZodString;
|
|
87006
87220
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -87104,6 +87318,7 @@ declare const routes: {
|
|
|
87104
87318
|
created_at: string;
|
|
87105
87319
|
updated_at: string;
|
|
87106
87320
|
send_locale: string | null;
|
|
87321
|
+
template_locale: string | null;
|
|
87107
87322
|
topic: string | null;
|
|
87108
87323
|
provider_id: string;
|
|
87109
87324
|
counts: {
|
|
@@ -87181,6 +87396,7 @@ declare const routes: {
|
|
|
87181
87396
|
} | null;
|
|
87182
87397
|
started_at: string | null;
|
|
87183
87398
|
finished_at: string | null;
|
|
87399
|
+
template_locale?: string | null | undefined;
|
|
87184
87400
|
pause_reason?: string | null | undefined;
|
|
87185
87401
|
}>;
|
|
87186
87402
|
readonly status: 200;
|
|
@@ -93033,6 +93249,7 @@ declare const routes: {
|
|
|
93033
93249
|
}, z.ZodTypeAny, "passthrough">>;
|
|
93034
93250
|
locale: z.ZodString;
|
|
93035
93251
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
93252
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93036
93253
|
topic: z.ZodNullable<z.ZodString>;
|
|
93037
93254
|
provider_id: z.ZodString;
|
|
93038
93255
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -93129,6 +93346,7 @@ declare const routes: {
|
|
|
93129
93346
|
created_at: string;
|
|
93130
93347
|
updated_at: string;
|
|
93131
93348
|
send_locale: string | null;
|
|
93349
|
+
template_locale: string | null;
|
|
93132
93350
|
topic: string | null;
|
|
93133
93351
|
provider_id: string;
|
|
93134
93352
|
counts: {
|
|
@@ -93199,6 +93417,7 @@ declare const routes: {
|
|
|
93199
93417
|
} | null;
|
|
93200
93418
|
started_at: string | null;
|
|
93201
93419
|
finished_at: string | null;
|
|
93420
|
+
template_locale?: string | null | undefined;
|
|
93202
93421
|
pause_reason?: string | null | undefined;
|
|
93203
93422
|
}>, "many">;
|
|
93204
93423
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -93216,6 +93435,7 @@ declare const routes: {
|
|
|
93216
93435
|
created_at: string;
|
|
93217
93436
|
updated_at: string;
|
|
93218
93437
|
send_locale: string | null;
|
|
93438
|
+
template_locale: string | null;
|
|
93219
93439
|
topic: string | null;
|
|
93220
93440
|
provider_id: string;
|
|
93221
93441
|
counts: {
|
|
@@ -93289,6 +93509,7 @@ declare const routes: {
|
|
|
93289
93509
|
} | null;
|
|
93290
93510
|
started_at: string | null;
|
|
93291
93511
|
finished_at: string | null;
|
|
93512
|
+
template_locale?: string | null | undefined;
|
|
93292
93513
|
pause_reason?: string | null | undefined;
|
|
93293
93514
|
}[];
|
|
93294
93515
|
next_cursor: string | null;
|
|
@@ -93300,7 +93521,7 @@ declare const routes: {
|
|
|
93300
93521
|
readonly 'mailings.create': {
|
|
93301
93522
|
readonly method: "POST";
|
|
93302
93523
|
readonly path: "/v1/mailings";
|
|
93303
|
-
readonly body: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
93524
|
+
readonly body: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
93304
93525
|
subject: z.ZodOptional<z.ZodString>;
|
|
93305
93526
|
document: z.ZodOptional<z.ZodObject<{
|
|
93306
93527
|
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
@@ -93316,6 +93537,7 @@ declare const routes: {
|
|
|
93316
93537
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93317
93538
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
93318
93539
|
template_id: z.ZodOptional<z.ZodString>;
|
|
93540
|
+
template_locale: z.ZodOptional<z.ZodString>;
|
|
93319
93541
|
name: z.ZodOptional<z.ZodString>;
|
|
93320
93542
|
preheader: z.ZodOptional<z.ZodString>;
|
|
93321
93543
|
send_locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -93335,6 +93557,7 @@ declare const routes: {
|
|
|
93335
93557
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93336
93558
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93337
93559
|
send_locale?: string | null | undefined;
|
|
93560
|
+
template_locale?: string | undefined;
|
|
93338
93561
|
topic?: string | null | undefined;
|
|
93339
93562
|
}, {
|
|
93340
93563
|
provider_id: string;
|
|
@@ -93349,6 +93572,7 @@ declare const routes: {
|
|
|
93349
93572
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93350
93573
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93351
93574
|
send_locale?: string | null | undefined;
|
|
93575
|
+
template_locale?: string | undefined;
|
|
93352
93576
|
topic?: string | null | undefined;
|
|
93353
93577
|
}>, {
|
|
93354
93578
|
provider_id: string;
|
|
@@ -93363,6 +93587,7 @@ declare const routes: {
|
|
|
93363
93587
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93364
93588
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93365
93589
|
send_locale?: string | null | undefined;
|
|
93590
|
+
template_locale?: string | undefined;
|
|
93366
93591
|
topic?: string | null | undefined;
|
|
93367
93592
|
}, {
|
|
93368
93593
|
provider_id: string;
|
|
@@ -93377,6 +93602,7 @@ declare const routes: {
|
|
|
93377
93602
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93378
93603
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93379
93604
|
send_locale?: string | null | undefined;
|
|
93605
|
+
template_locale?: string | undefined;
|
|
93380
93606
|
topic?: string | null | undefined;
|
|
93381
93607
|
}>, {
|
|
93382
93608
|
provider_id: string;
|
|
@@ -93391,6 +93617,7 @@ declare const routes: {
|
|
|
93391
93617
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93392
93618
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93393
93619
|
send_locale?: string | null | undefined;
|
|
93620
|
+
template_locale?: string | undefined;
|
|
93394
93621
|
topic?: string | null | undefined;
|
|
93395
93622
|
}, {
|
|
93396
93623
|
provider_id: string;
|
|
@@ -93405,6 +93632,37 @@ declare const routes: {
|
|
|
93405
93632
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93406
93633
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93407
93634
|
send_locale?: string | null | undefined;
|
|
93635
|
+
template_locale?: string | undefined;
|
|
93636
|
+
topic?: string | null | undefined;
|
|
93637
|
+
}>, {
|
|
93638
|
+
provider_id: string;
|
|
93639
|
+
name?: string | undefined;
|
|
93640
|
+
template_id?: string | undefined;
|
|
93641
|
+
metadata?: Record<string, string> | undefined;
|
|
93642
|
+
subject?: string | undefined;
|
|
93643
|
+
preheader?: string | undefined;
|
|
93644
|
+
document?: z.objectOutputType<{
|
|
93645
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
93646
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
93647
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93648
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93649
|
+
send_locale?: string | null | undefined;
|
|
93650
|
+
template_locale?: string | undefined;
|
|
93651
|
+
topic?: string | null | undefined;
|
|
93652
|
+
}, {
|
|
93653
|
+
provider_id: string;
|
|
93654
|
+
name?: string | undefined;
|
|
93655
|
+
template_id?: string | undefined;
|
|
93656
|
+
metadata?: Record<string, string> | undefined;
|
|
93657
|
+
subject?: string | undefined;
|
|
93658
|
+
preheader?: string | undefined;
|
|
93659
|
+
document?: z.objectInputType<{
|
|
93660
|
+
version: z.ZodEnum<["1.0", "1.1"]>;
|
|
93661
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
93662
|
+
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
93663
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
93664
|
+
send_locale?: string | null | undefined;
|
|
93665
|
+
template_locale?: string | undefined;
|
|
93408
93666
|
topic?: string | null | undefined;
|
|
93409
93667
|
}>;
|
|
93410
93668
|
readonly response: z.ZodObject<{
|
|
@@ -93429,6 +93687,7 @@ declare const routes: {
|
|
|
93429
93687
|
}, z.ZodTypeAny, "passthrough">>;
|
|
93430
93688
|
locale: z.ZodString;
|
|
93431
93689
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
93690
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93432
93691
|
topic: z.ZodNullable<z.ZodString>;
|
|
93433
93692
|
provider_id: z.ZodString;
|
|
93434
93693
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -93532,6 +93791,7 @@ declare const routes: {
|
|
|
93532
93791
|
created_at: string;
|
|
93533
93792
|
updated_at: string;
|
|
93534
93793
|
send_locale: string | null;
|
|
93794
|
+
template_locale: string | null;
|
|
93535
93795
|
topic: string | null;
|
|
93536
93796
|
provider_id: string;
|
|
93537
93797
|
counts: {
|
|
@@ -93609,6 +93869,7 @@ declare const routes: {
|
|
|
93609
93869
|
} | null;
|
|
93610
93870
|
started_at: string | null;
|
|
93611
93871
|
finished_at: string | null;
|
|
93872
|
+
template_locale?: string | null | undefined;
|
|
93612
93873
|
pause_reason?: string | null | undefined;
|
|
93613
93874
|
}>;
|
|
93614
93875
|
readonly status: 201;
|
|
@@ -93647,6 +93908,7 @@ declare const routes: {
|
|
|
93647
93908
|
}, z.ZodTypeAny, "passthrough">>;
|
|
93648
93909
|
locale: z.ZodString;
|
|
93649
93910
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
93911
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93650
93912
|
topic: z.ZodNullable<z.ZodString>;
|
|
93651
93913
|
provider_id: z.ZodString;
|
|
93652
93914
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -93750,6 +94012,7 @@ declare const routes: {
|
|
|
93750
94012
|
created_at: string;
|
|
93751
94013
|
updated_at: string;
|
|
93752
94014
|
send_locale: string | null;
|
|
94015
|
+
template_locale: string | null;
|
|
93753
94016
|
topic: string | null;
|
|
93754
94017
|
provider_id: string;
|
|
93755
94018
|
counts: {
|
|
@@ -93827,6 +94090,7 @@ declare const routes: {
|
|
|
93827
94090
|
} | null;
|
|
93828
94091
|
started_at: string | null;
|
|
93829
94092
|
finished_at: string | null;
|
|
94093
|
+
template_locale?: string | null | undefined;
|
|
93830
94094
|
pause_reason?: string | null | undefined;
|
|
93831
94095
|
}>;
|
|
93832
94096
|
readonly status: 200;
|
|
@@ -93962,6 +94226,7 @@ declare const routes: {
|
|
|
93962
94226
|
}, z.ZodTypeAny, "passthrough">>;
|
|
93963
94227
|
locale: z.ZodString;
|
|
93964
94228
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
94229
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93965
94230
|
topic: z.ZodNullable<z.ZodString>;
|
|
93966
94231
|
provider_id: z.ZodString;
|
|
93967
94232
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -94065,6 +94330,7 @@ declare const routes: {
|
|
|
94065
94330
|
created_at: string;
|
|
94066
94331
|
updated_at: string;
|
|
94067
94332
|
send_locale: string | null;
|
|
94333
|
+
template_locale: string | null;
|
|
94068
94334
|
topic: string | null;
|
|
94069
94335
|
provider_id: string;
|
|
94070
94336
|
counts: {
|
|
@@ -94142,6 +94408,7 @@ declare const routes: {
|
|
|
94142
94408
|
} | null;
|
|
94143
94409
|
started_at: string | null;
|
|
94144
94410
|
finished_at: string | null;
|
|
94411
|
+
template_locale?: string | null | undefined;
|
|
94145
94412
|
pause_reason?: string | null | undefined;
|
|
94146
94413
|
}>;
|
|
94147
94414
|
readonly status: 200;
|
|
@@ -94408,6 +94675,7 @@ declare const routes: {
|
|
|
94408
94675
|
}, z.ZodTypeAny, "passthrough">>;
|
|
94409
94676
|
locale: z.ZodString;
|
|
94410
94677
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
94678
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
94411
94679
|
topic: z.ZodNullable<z.ZodString>;
|
|
94412
94680
|
provider_id: z.ZodString;
|
|
94413
94681
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -94511,6 +94779,7 @@ declare const routes: {
|
|
|
94511
94779
|
created_at: string;
|
|
94512
94780
|
updated_at: string;
|
|
94513
94781
|
send_locale: string | null;
|
|
94782
|
+
template_locale: string | null;
|
|
94514
94783
|
topic: string | null;
|
|
94515
94784
|
provider_id: string;
|
|
94516
94785
|
counts: {
|
|
@@ -94588,6 +94857,7 @@ declare const routes: {
|
|
|
94588
94857
|
} | null;
|
|
94589
94858
|
started_at: string | null;
|
|
94590
94859
|
finished_at: string | null;
|
|
94860
|
+
template_locale?: string | null | undefined;
|
|
94591
94861
|
pause_reason?: string | null | undefined;
|
|
94592
94862
|
}>;
|
|
94593
94863
|
readonly status: 202;
|
|
@@ -94627,6 +94897,7 @@ declare const routes: {
|
|
|
94627
94897
|
}, z.ZodTypeAny, "passthrough">>;
|
|
94628
94898
|
locale: z.ZodString;
|
|
94629
94899
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
94900
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
94630
94901
|
topic: z.ZodNullable<z.ZodString>;
|
|
94631
94902
|
provider_id: z.ZodString;
|
|
94632
94903
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -94730,6 +95001,7 @@ declare const routes: {
|
|
|
94730
95001
|
created_at: string;
|
|
94731
95002
|
updated_at: string;
|
|
94732
95003
|
send_locale: string | null;
|
|
95004
|
+
template_locale: string | null;
|
|
94733
95005
|
topic: string | null;
|
|
94734
95006
|
provider_id: string;
|
|
94735
95007
|
counts: {
|
|
@@ -94807,6 +95079,7 @@ declare const routes: {
|
|
|
94807
95079
|
} | null;
|
|
94808
95080
|
started_at: string | null;
|
|
94809
95081
|
finished_at: string | null;
|
|
95082
|
+
template_locale?: string | null | undefined;
|
|
94810
95083
|
pause_reason?: string | null | undefined;
|
|
94811
95084
|
}>;
|
|
94812
95085
|
readonly status: 200;
|
|
@@ -94846,6 +95119,7 @@ declare const routes: {
|
|
|
94846
95119
|
}, z.ZodTypeAny, "passthrough">>;
|
|
94847
95120
|
locale: z.ZodString;
|
|
94848
95121
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
95122
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
94849
95123
|
topic: z.ZodNullable<z.ZodString>;
|
|
94850
95124
|
provider_id: z.ZodString;
|
|
94851
95125
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -94949,6 +95223,7 @@ declare const routes: {
|
|
|
94949
95223
|
created_at: string;
|
|
94950
95224
|
updated_at: string;
|
|
94951
95225
|
send_locale: string | null;
|
|
95226
|
+
template_locale: string | null;
|
|
94952
95227
|
topic: string | null;
|
|
94953
95228
|
provider_id: string;
|
|
94954
95229
|
counts: {
|
|
@@ -95026,6 +95301,7 @@ declare const routes: {
|
|
|
95026
95301
|
} | null;
|
|
95027
95302
|
started_at: string | null;
|
|
95028
95303
|
finished_at: string | null;
|
|
95304
|
+
template_locale?: string | null | undefined;
|
|
95029
95305
|
pause_reason?: string | null | undefined;
|
|
95030
95306
|
}>;
|
|
95031
95307
|
readonly status: 202;
|
|
@@ -95065,6 +95341,7 @@ declare const routes: {
|
|
|
95065
95341
|
}, z.ZodTypeAny, "passthrough">>;
|
|
95066
95342
|
locale: z.ZodString;
|
|
95067
95343
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
95344
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
95068
95345
|
topic: z.ZodNullable<z.ZodString>;
|
|
95069
95346
|
provider_id: z.ZodString;
|
|
95070
95347
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -95168,6 +95445,7 @@ declare const routes: {
|
|
|
95168
95445
|
created_at: string;
|
|
95169
95446
|
updated_at: string;
|
|
95170
95447
|
send_locale: string | null;
|
|
95448
|
+
template_locale: string | null;
|
|
95171
95449
|
topic: string | null;
|
|
95172
95450
|
provider_id: string;
|
|
95173
95451
|
counts: {
|
|
@@ -95245,6 +95523,7 @@ declare const routes: {
|
|
|
95245
95523
|
} | null;
|
|
95246
95524
|
started_at: string | null;
|
|
95247
95525
|
finished_at: string | null;
|
|
95526
|
+
template_locale?: string | null | undefined;
|
|
95248
95527
|
pause_reason?: string | null | undefined;
|
|
95249
95528
|
}>;
|
|
95250
95529
|
readonly status: 200;
|
|
@@ -95290,6 +95569,7 @@ declare const routes: {
|
|
|
95290
95569
|
}, z.ZodTypeAny, "passthrough">>;
|
|
95291
95570
|
locale: z.ZodString;
|
|
95292
95571
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
95572
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
95293
95573
|
topic: z.ZodNullable<z.ZodString>;
|
|
95294
95574
|
provider_id: z.ZodString;
|
|
95295
95575
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -95393,6 +95673,7 @@ declare const routes: {
|
|
|
95393
95673
|
created_at: string;
|
|
95394
95674
|
updated_at: string;
|
|
95395
95675
|
send_locale: string | null;
|
|
95676
|
+
template_locale: string | null;
|
|
95396
95677
|
topic: string | null;
|
|
95397
95678
|
provider_id: string;
|
|
95398
95679
|
counts: {
|
|
@@ -95470,6 +95751,7 @@ declare const routes: {
|
|
|
95470
95751
|
} | null;
|
|
95471
95752
|
started_at: string | null;
|
|
95472
95753
|
finished_at: string | null;
|
|
95754
|
+
template_locale?: string | null | undefined;
|
|
95473
95755
|
pause_reason?: string | null | undefined;
|
|
95474
95756
|
}>;
|
|
95475
95757
|
readonly status: 202;
|
|
@@ -95515,6 +95797,7 @@ declare const routes: {
|
|
|
95515
95797
|
}, z.ZodTypeAny, "passthrough">>;
|
|
95516
95798
|
locale: z.ZodString;
|
|
95517
95799
|
send_locale: z.ZodNullable<z.ZodString>;
|
|
95800
|
+
template_locale: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
95518
95801
|
topic: z.ZodNullable<z.ZodString>;
|
|
95519
95802
|
provider_id: z.ZodString;
|
|
95520
95803
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
@@ -95618,6 +95901,7 @@ declare const routes: {
|
|
|
95618
95901
|
created_at: string;
|
|
95619
95902
|
updated_at: string;
|
|
95620
95903
|
send_locale: string | null;
|
|
95904
|
+
template_locale: string | null;
|
|
95621
95905
|
topic: string | null;
|
|
95622
95906
|
provider_id: string;
|
|
95623
95907
|
counts: {
|
|
@@ -95695,6 +95979,7 @@ declare const routes: {
|
|
|
95695
95979
|
} | null;
|
|
95696
95980
|
started_at: string | null;
|
|
95697
95981
|
finished_at: string | null;
|
|
95982
|
+
template_locale?: string | null | undefined;
|
|
95698
95983
|
pause_reason?: string | null | undefined;
|
|
95699
95984
|
}>;
|
|
95700
95985
|
readonly status: 201;
|
|
@@ -96422,14 +96707,20 @@ declare const routes: {
|
|
|
96422
96707
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
96423
96708
|
} & {
|
|
96424
96709
|
archived: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
96710
|
+
sort: z.ZodOptional<z.ZodEnum<["updated_at", "name", "version"]>>;
|
|
96711
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
96425
96712
|
}, "strip", z.ZodTypeAny, {
|
|
96713
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
96426
96714
|
cursor?: string | undefined;
|
|
96427
96715
|
limit?: number | undefined;
|
|
96428
96716
|
archived?: "true" | "false" | undefined;
|
|
96717
|
+
order?: "asc" | "desc" | undefined;
|
|
96429
96718
|
}, {
|
|
96719
|
+
sort?: "name" | "version" | "updated_at" | undefined;
|
|
96430
96720
|
cursor?: string | undefined;
|
|
96431
96721
|
limit?: number | undefined;
|
|
96432
96722
|
archived?: "true" | "false" | undefined;
|
|
96723
|
+
order?: "asc" | "desc" | undefined;
|
|
96433
96724
|
}>;
|
|
96434
96725
|
readonly response: z.ZodObject<{
|
|
96435
96726
|
data: z.ZodArray<z.ZodObject<Omit<{
|
|
@@ -101654,6 +101945,13 @@ declare const routes: {
|
|
|
101654
101945
|
}, {
|
|
101655
101946
|
id: string;
|
|
101656
101947
|
}>;
|
|
101948
|
+
readonly query: z.ZodObject<{
|
|
101949
|
+
base_version: z.ZodOptional<z.ZodNumber>;
|
|
101950
|
+
}, "strip", z.ZodTypeAny, {
|
|
101951
|
+
base_version?: number | undefined;
|
|
101952
|
+
}, {
|
|
101953
|
+
base_version?: number | undefined;
|
|
101954
|
+
}>;
|
|
101657
101955
|
readonly response: z.ZodObject<{
|
|
101658
101956
|
ok: z.ZodLiteral<true>;
|
|
101659
101957
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -105284,4 +105582,4 @@ declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
|
105284
105582
|
params: Record<string, string>;
|
|
105285
105583
|
} | null;
|
|
105286
105584
|
|
|
105287
|
-
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MissingInsertionText, type MjmlImportRefusal, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, unknownRefusedInsertions, unplacedInsertions, validateAutomation, verifyWebhook };
|
|
105585
|
+
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, type DraftInsertionProblem, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, type EditableLanguage, Email, EmailStep, EmailStepLanguage, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INSERTION_PROBLEM_REASONS, INSERTION_TEXT_SLOTS, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Insertion, InsertionChoice, InsertionChoiceKey, type InsertionChoiceMade, InsertionChoices, type InsertionEdit, InsertionName, type InsertionProblem, type InsertionProblemReason, InsertionText, Insertions, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, LOCALE_TAG_PATTERN, type LanguageDrafts, type LanguageTab, LocaleTag, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INSERTIONS, MAX_INSERTION_CHOICES, MAX_INSERTION_TEXT_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_PREHEADER_LENGTH, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_SUBJECT_LENGTH, MAX_TEMPLATE_INPUTS, MAX_TEMPLATE_INPUTS_APP_LENGTH, MAX_TEMPLATE_INPUTS_SEEN, MAX_TEMPLATE_INPUT_EXAMPLE_LENGTH, MAX_TEMPLATE_INPUT_LABEL_LENGTH, MAX_TEMPLATE_INPUT_NOTE_LENGTH, MAX_TEMPLATE_INPUT_VALUES, MAX_TEMPLATE_TRANSLATIONS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingLanguage, MailingLanguageReport, MailingLanguageStatus, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, type MergeValue, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MissingInsertionText, type MjmlImportRefusal, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PREVIEW_EMPTY, PREVIEW_FILLED, PROVIDER_KINDS, type Page, PageQuery, type Personalization, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, type PreviewControl, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, type RenamedPlacement, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SERVICE_FILLED_MERGE_FIELDS, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, type SaveDemotion, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TEMPLATE_INPUT_KINDS, TEMPLATE_INPUT_PROBLEM_REASONS, TEMPLATE_LANGUAGE_STATUSES, TEMPLATE_SORTS, TEMPLATE_SORT_DEFAULT_ORDER, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeleteQuery, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateInput, type TemplateInputKind, TemplateInputMap, TemplateInputName, type TemplateInputProblem, type TemplateInputProblemReason, TemplateInputSeen, TemplateInputSource, TemplateInputValue, TemplateInputs, TemplateInputsDeclaration, TemplateInputsDeclared, TemplateInputsSeen, TemplateLanguageStatus, TemplateListQuery, TemplatePreheader, type TemplateSort, TemplateSubject, TemplateSummary, TemplateTranslation, TemplateTranslations, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, TranslationInsertion, TranslationInsertions, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, addInsertion, addInsertionChoice, addLanguageDraft, alignTranslationInsertions, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, buildTemplatePatch, canTransition, canonicalLocale, choiceKeyProblem, chooseInsertion, cycles, defaultPreviewPick, defaultSettings, demoteForSave, demotedBySave, describeMissingTexts, draftDocument, draftInsertionProblems, draftsDirty, draftsFromTemplate, draftsPatch, editInsertionText, editLanguageDraft, editMainInsertionText, editMainInsertions, effectivePreviewPicks, emptyFlow, errorBody, escapeMergeHtml, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, insertionByProblem, insertionChoices, insertionCoverage, insertionInputs, insertionNameProblem, insertionProblems, insertionRefusalHint, insertionSlotLabel, insertionTextSlots, insertionTokens, insertionValue, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, keepLanguageDocument, languageInsertions, languageName, languageTabs, mainInsertionText, matchLocale, matchRoute, missingInsertionTexts, missingRequiredMergeFields, normalizeChoiceKey, nowSeconds, operationsWithAccess, ownEntry, page, parseExportWarningsHeader, parseUsageWarningHeader, personalizeHtml, personalizeText, placementProblems, platformRoutes, previewControls, previewInsertions, previewPersonalization, primaryLanguage, reachable, readyWithoutInsertions, readyWithoutSubject, rebaseDrafts, removeInsertion, removeInsertionChoice, removeLanguageDraft, renameInsertion, renameInsertionChecked, renameInsertionChoice, renameInsertionChoiceChecked, renameInsertionEverywhere, renameInsertionPlacements, renameTokenInDocument, renameTokenInText, resolveInsertions, restorePatch, routes, sameJson, sampleMergeValue, saveDemotions, sendingRoutes, setInsertionBy, setInsertionFilled, setLanguageStatus, signWebhook, statusForError, stepTargets, storedTemplateLine, stronglyConnected, templateInputDrift, templateInputProblems, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, translationInsertionProblems, translationTextFromInput, triggerKey, unknownRefusedInsertions, unplacedInsertions, validateAutomation, verifyWebhook };
|