@lepsto/sdk-app 89.3.0 → 89.4.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/CHANGELOG.md +28 -6
- package/dist/_types/gen/client.gen.d.ts +11 -1
- package/dist/_types/gen/mail/index.d.ts +1 -1
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +25 -1
- package/dist/_types/gen/types.gen.d.ts +434 -5
- package/dist/{chunk-IWBH5QNX.js → chunk-ZH37YJ7E.js} +98 -2
- package/dist/chunk-ZH37YJ7E.js.map +1 -0
- package/dist/index.cjs +108 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +30 -0
- package/dist/mail/index.cjs.map +1 -1
- package/dist/mail/index.js +25 -1
- package/dist/mail/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +96 -0
- package/src/gen/client.gen.ts +22 -0
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +38 -0
- package/src/gen/manifest.gen.ts +12 -0
- package/src/gen/types.gen.ts +446 -6
- package/dist/chunk-IWBH5QNX.js.map +0 -1
package/src/gen/types.gen.ts
CHANGED
|
@@ -77301,6 +77301,81 @@ address: string
|
|
|
77301
77301
|
removed: boolean
|
|
77302
77302
|
}
|
|
77303
77303
|
|
|
77304
|
+
export interface MailTemplateArchiveInput {
|
|
77305
|
+
/**
|
|
77306
|
+
* Template id to archive
|
|
77307
|
+
*/
|
|
77308
|
+
id: string
|
|
77309
|
+
}
|
|
77310
|
+
|
|
77311
|
+
export interface MailTemplateArchiveOutput {
|
|
77312
|
+
/**
|
|
77313
|
+
* Template id
|
|
77314
|
+
*/
|
|
77315
|
+
id: string
|
|
77316
|
+
/**
|
|
77317
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
77318
|
+
*/
|
|
77319
|
+
html: string
|
|
77320
|
+
/**
|
|
77321
|
+
* Human label for the template
|
|
77322
|
+
*/
|
|
77323
|
+
name: string
|
|
77324
|
+
/**
|
|
77325
|
+
* Plaintext body; null when none was supplied
|
|
77326
|
+
*/
|
|
77327
|
+
text: (string | null)
|
|
77328
|
+
/**
|
|
77329
|
+
* Lifecycle status: published once a revision has gone live
|
|
77330
|
+
*/
|
|
77331
|
+
status: ("draft" | "published")
|
|
77332
|
+
/**
|
|
77333
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
77334
|
+
*/
|
|
77335
|
+
subject: string
|
|
77336
|
+
/**
|
|
77337
|
+
* When the template was created (ISO 8601 UTC)
|
|
77338
|
+
*/
|
|
77339
|
+
createdAt: string
|
|
77340
|
+
/**
|
|
77341
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
77342
|
+
*/
|
|
77343
|
+
updatedAt: string
|
|
77344
|
+
/**
|
|
77345
|
+
* Declared variables of this template (at most 20)
|
|
77346
|
+
*/
|
|
77347
|
+
variables: {
|
|
77348
|
+
/**
|
|
77349
|
+
* Placeholder identifier used as {{ name }}
|
|
77350
|
+
*/
|
|
77351
|
+
name: string
|
|
77352
|
+
/**
|
|
77353
|
+
* Declared type (metadata; rendered as string in v1)
|
|
77354
|
+
*/
|
|
77355
|
+
type: ("string" | "number" | "boolean")
|
|
77356
|
+
/**
|
|
77357
|
+
* Value used when none is supplied
|
|
77358
|
+
*/
|
|
77359
|
+
fallback?: string
|
|
77360
|
+
/**
|
|
77361
|
+
* If true, an absent value renders as empty string
|
|
77362
|
+
*/
|
|
77363
|
+
optional: boolean
|
|
77364
|
+
}[]
|
|
77365
|
+
/**
|
|
77366
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
77367
|
+
*/
|
|
77368
|
+
archivedAt: (string | null)
|
|
77369
|
+
/**
|
|
77370
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
77371
|
+
*/
|
|
77372
|
+
draftRevision: (number | null)
|
|
77373
|
+
/**
|
|
77374
|
+
* Revision number a send renders; null until the template is first published
|
|
77375
|
+
*/
|
|
77376
|
+
currentRevision: (number | null)
|
|
77377
|
+
}
|
|
77378
|
+
|
|
77304
77379
|
export interface MailTemplateCreateInput {
|
|
77305
77380
|
/**
|
|
77306
77381
|
* HTML body; may contain {{ variable }} placeholders
|
|
@@ -80914,7 +80989,7 @@ name: string
|
|
|
80914
80989
|
*/
|
|
80915
80990
|
text: (string | null)
|
|
80916
80991
|
/**
|
|
80917
|
-
* Lifecycle status:
|
|
80992
|
+
* Lifecycle status: published once a revision has gone live
|
|
80918
80993
|
*/
|
|
80919
80994
|
status: ("draft" | "published")
|
|
80920
80995
|
/**
|
|
@@ -80950,6 +81025,18 @@ fallback?: string
|
|
|
80950
81025
|
*/
|
|
80951
81026
|
optional: boolean
|
|
80952
81027
|
}[]
|
|
81028
|
+
/**
|
|
81029
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81030
|
+
*/
|
|
81031
|
+
archivedAt: (string | null)
|
|
81032
|
+
/**
|
|
81033
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81034
|
+
*/
|
|
81035
|
+
draftRevision: (number | null)
|
|
81036
|
+
/**
|
|
81037
|
+
* Revision number a send renders; null until the template is first published
|
|
81038
|
+
*/
|
|
81039
|
+
currentRevision: (number | null)
|
|
80953
81040
|
}
|
|
80954
81041
|
|
|
80955
81042
|
export interface MailTemplateDeleteInput {
|
|
@@ -80966,6 +81053,24 @@ export interface MailTemplateDeleteOutput {
|
|
|
80966
81053
|
deleted: boolean
|
|
80967
81054
|
}
|
|
80968
81055
|
|
|
81056
|
+
export interface MailTemplateDraftDiscardInput {
|
|
81057
|
+
/**
|
|
81058
|
+
* Template id whose open draft is thrown away
|
|
81059
|
+
*/
|
|
81060
|
+
id: string
|
|
81061
|
+
}
|
|
81062
|
+
|
|
81063
|
+
export interface MailTemplateDraftDiscardOutput {
|
|
81064
|
+
/**
|
|
81065
|
+
* Revision number that was discarded
|
|
81066
|
+
*/
|
|
81067
|
+
revision: number
|
|
81068
|
+
/**
|
|
81069
|
+
* True once the open draft is gone
|
|
81070
|
+
*/
|
|
81071
|
+
discarded: boolean
|
|
81072
|
+
}
|
|
81073
|
+
|
|
80969
81074
|
export interface MailTemplateGetInput {
|
|
80970
81075
|
/**
|
|
80971
81076
|
* Template id
|
|
@@ -81004,7 +81109,7 @@ email_count: number
|
|
|
81004
81109
|
last_sent_at: (string | null)
|
|
81005
81110
|
}
|
|
81006
81111
|
/**
|
|
81007
|
-
* Lifecycle status:
|
|
81112
|
+
* Lifecycle status: published once a revision has gone live
|
|
81008
81113
|
*/
|
|
81009
81114
|
status: ("draft" | "published")
|
|
81010
81115
|
/**
|
|
@@ -81040,10 +81145,25 @@ fallback?: string
|
|
|
81040
81145
|
*/
|
|
81041
81146
|
optional: boolean
|
|
81042
81147
|
}[]
|
|
81148
|
+
/**
|
|
81149
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81150
|
+
*/
|
|
81151
|
+
archivedAt: (string | null)
|
|
81152
|
+
/**
|
|
81153
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81154
|
+
*/
|
|
81155
|
+
draftRevision: (number | null)
|
|
81156
|
+
/**
|
|
81157
|
+
* Revision number a send renders; null until the template is first published
|
|
81158
|
+
*/
|
|
81159
|
+
currentRevision: (number | null)
|
|
81043
81160
|
}
|
|
81044
81161
|
|
|
81045
81162
|
export interface MailTemplateListInput {
|
|
81046
|
-
|
|
81163
|
+
/**
|
|
81164
|
+
* Include archived templates, which are hidden by default. Archiving never stops a send: an archived template is still sendable by its id
|
|
81165
|
+
*/
|
|
81166
|
+
include_archived?: boolean
|
|
81047
81167
|
}
|
|
81048
81168
|
|
|
81049
81169
|
export type MailTemplateListOutput = {
|
|
@@ -81064,7 +81184,7 @@ name: string
|
|
|
81064
81184
|
*/
|
|
81065
81185
|
text: (string | null)
|
|
81066
81186
|
/**
|
|
81067
|
-
* Lifecycle status:
|
|
81187
|
+
* Lifecycle status: published once a revision has gone live
|
|
81068
81188
|
*/
|
|
81069
81189
|
status: ("draft" | "published")
|
|
81070
81190
|
/**
|
|
@@ -81100,6 +81220,18 @@ fallback?: string
|
|
|
81100
81220
|
*/
|
|
81101
81221
|
optional: boolean
|
|
81102
81222
|
}[]
|
|
81223
|
+
/**
|
|
81224
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81225
|
+
*/
|
|
81226
|
+
archivedAt: (string | null)
|
|
81227
|
+
/**
|
|
81228
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81229
|
+
*/
|
|
81230
|
+
draftRevision: (number | null)
|
|
81231
|
+
/**
|
|
81232
|
+
* Revision number a send renders; null until the template is first published
|
|
81233
|
+
*/
|
|
81234
|
+
currentRevision: (number | null)
|
|
81103
81235
|
}[]
|
|
81104
81236
|
|
|
81105
81237
|
export interface MailTemplatePublishInput {
|
|
@@ -81127,7 +81259,291 @@ name: string
|
|
|
81127
81259
|
*/
|
|
81128
81260
|
text: (string | null)
|
|
81129
81261
|
/**
|
|
81130
|
-
* Lifecycle status:
|
|
81262
|
+
* Lifecycle status: published once a revision has gone live
|
|
81263
|
+
*/
|
|
81264
|
+
status: ("draft" | "published")
|
|
81265
|
+
/**
|
|
81266
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
81267
|
+
*/
|
|
81268
|
+
subject: string
|
|
81269
|
+
/**
|
|
81270
|
+
* When the template was created (ISO 8601 UTC)
|
|
81271
|
+
*/
|
|
81272
|
+
createdAt: string
|
|
81273
|
+
/**
|
|
81274
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
81275
|
+
*/
|
|
81276
|
+
updatedAt: string
|
|
81277
|
+
/**
|
|
81278
|
+
* Declared variables of this template (at most 20)
|
|
81279
|
+
*/
|
|
81280
|
+
variables: {
|
|
81281
|
+
/**
|
|
81282
|
+
* Placeholder identifier used as {{ name }}
|
|
81283
|
+
*/
|
|
81284
|
+
name: string
|
|
81285
|
+
/**
|
|
81286
|
+
* Declared type (metadata; rendered as string in v1)
|
|
81287
|
+
*/
|
|
81288
|
+
type: ("string" | "number" | "boolean")
|
|
81289
|
+
/**
|
|
81290
|
+
* Value used when none is supplied
|
|
81291
|
+
*/
|
|
81292
|
+
fallback?: string
|
|
81293
|
+
/**
|
|
81294
|
+
* If true, an absent value renders as empty string
|
|
81295
|
+
*/
|
|
81296
|
+
optional: boolean
|
|
81297
|
+
}[]
|
|
81298
|
+
/**
|
|
81299
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81300
|
+
*/
|
|
81301
|
+
archivedAt: (string | null)
|
|
81302
|
+
/**
|
|
81303
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81304
|
+
*/
|
|
81305
|
+
draftRevision: (number | null)
|
|
81306
|
+
/**
|
|
81307
|
+
* Revision number a send renders; null until the template is first published
|
|
81308
|
+
*/
|
|
81309
|
+
currentRevision: (number | null)
|
|
81310
|
+
}
|
|
81311
|
+
|
|
81312
|
+
export interface MailTemplateRestoreInput {
|
|
81313
|
+
/**
|
|
81314
|
+
* Template id
|
|
81315
|
+
*/
|
|
81316
|
+
id: string
|
|
81317
|
+
/**
|
|
81318
|
+
* Revision number to make live again
|
|
81319
|
+
*/
|
|
81320
|
+
revision: number
|
|
81321
|
+
}
|
|
81322
|
+
|
|
81323
|
+
export interface MailTemplateRestoreOutput {
|
|
81324
|
+
/**
|
|
81325
|
+
* Template id
|
|
81326
|
+
*/
|
|
81327
|
+
id: string
|
|
81328
|
+
/**
|
|
81329
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
81330
|
+
*/
|
|
81331
|
+
html: string
|
|
81332
|
+
/**
|
|
81333
|
+
* Human label for the template
|
|
81334
|
+
*/
|
|
81335
|
+
name: string
|
|
81336
|
+
/**
|
|
81337
|
+
* Plaintext body; null when none was supplied
|
|
81338
|
+
*/
|
|
81339
|
+
text: (string | null)
|
|
81340
|
+
/**
|
|
81341
|
+
* Lifecycle status: published once a revision has gone live
|
|
81342
|
+
*/
|
|
81343
|
+
status: ("draft" | "published")
|
|
81344
|
+
/**
|
|
81345
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
81346
|
+
*/
|
|
81347
|
+
subject: string
|
|
81348
|
+
/**
|
|
81349
|
+
* When the template was created (ISO 8601 UTC)
|
|
81350
|
+
*/
|
|
81351
|
+
createdAt: string
|
|
81352
|
+
/**
|
|
81353
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
81354
|
+
*/
|
|
81355
|
+
updatedAt: string
|
|
81356
|
+
/**
|
|
81357
|
+
* Declared variables of this template (at most 20)
|
|
81358
|
+
*/
|
|
81359
|
+
variables: {
|
|
81360
|
+
/**
|
|
81361
|
+
* Placeholder identifier used as {{ name }}
|
|
81362
|
+
*/
|
|
81363
|
+
name: string
|
|
81364
|
+
/**
|
|
81365
|
+
* Declared type (metadata; rendered as string in v1)
|
|
81366
|
+
*/
|
|
81367
|
+
type: ("string" | "number" | "boolean")
|
|
81368
|
+
/**
|
|
81369
|
+
* Value used when none is supplied
|
|
81370
|
+
*/
|
|
81371
|
+
fallback?: string
|
|
81372
|
+
/**
|
|
81373
|
+
* If true, an absent value renders as empty string
|
|
81374
|
+
*/
|
|
81375
|
+
optional: boolean
|
|
81376
|
+
}[]
|
|
81377
|
+
/**
|
|
81378
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81379
|
+
*/
|
|
81380
|
+
archivedAt: (string | null)
|
|
81381
|
+
/**
|
|
81382
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81383
|
+
*/
|
|
81384
|
+
draftRevision: (number | null)
|
|
81385
|
+
/**
|
|
81386
|
+
* Revision number a send renders; null until the template is first published
|
|
81387
|
+
*/
|
|
81388
|
+
currentRevision: (number | null)
|
|
81389
|
+
}
|
|
81390
|
+
|
|
81391
|
+
export interface MailTemplateRevisionGetInput {
|
|
81392
|
+
/**
|
|
81393
|
+
* Template id
|
|
81394
|
+
*/
|
|
81395
|
+
id: string
|
|
81396
|
+
/**
|
|
81397
|
+
* Revision number, counting from 1 for this template
|
|
81398
|
+
*/
|
|
81399
|
+
revision: number
|
|
81400
|
+
}
|
|
81401
|
+
|
|
81402
|
+
export interface MailTemplateRevisionGetOutput {
|
|
81403
|
+
/**
|
|
81404
|
+
* HTML body as authored in this revision
|
|
81405
|
+
*/
|
|
81406
|
+
html: string
|
|
81407
|
+
/**
|
|
81408
|
+
* True for the revision a send currently renders
|
|
81409
|
+
*/
|
|
81410
|
+
live: boolean
|
|
81411
|
+
/**
|
|
81412
|
+
* Plaintext body as authored in this revision; null when none was supplied
|
|
81413
|
+
*/
|
|
81414
|
+
text: (string | null)
|
|
81415
|
+
/**
|
|
81416
|
+
* Subject as authored in this revision
|
|
81417
|
+
*/
|
|
81418
|
+
subject: string
|
|
81419
|
+
/**
|
|
81420
|
+
* Revision number, counting from 1 for this template
|
|
81421
|
+
*/
|
|
81422
|
+
revision: number
|
|
81423
|
+
/**
|
|
81424
|
+
* When this revision was authored (ISO 8601 UTC)
|
|
81425
|
+
*/
|
|
81426
|
+
createdAt: string
|
|
81427
|
+
/**
|
|
81428
|
+
* Identity that authored this revision; null when unknown
|
|
81429
|
+
*/
|
|
81430
|
+
createdBy: (string | null)
|
|
81431
|
+
/**
|
|
81432
|
+
* Variables declared by this revision (at most 20)
|
|
81433
|
+
*/
|
|
81434
|
+
variables: {
|
|
81435
|
+
/**
|
|
81436
|
+
* Placeholder identifier used as {{ name }}
|
|
81437
|
+
*/
|
|
81438
|
+
name: string
|
|
81439
|
+
/**
|
|
81440
|
+
* Declared type (metadata; rendered as string in v1)
|
|
81441
|
+
*/
|
|
81442
|
+
type: ("string" | "number" | "boolean")
|
|
81443
|
+
/**
|
|
81444
|
+
* Value used when none is supplied
|
|
81445
|
+
*/
|
|
81446
|
+
fallback?: string
|
|
81447
|
+
/**
|
|
81448
|
+
* If true, an absent value renders as empty string
|
|
81449
|
+
*/
|
|
81450
|
+
optional: boolean
|
|
81451
|
+
}[]
|
|
81452
|
+
/**
|
|
81453
|
+
* When this revision first went live (ISO 8601 UTC); null for the open draft
|
|
81454
|
+
*/
|
|
81455
|
+
publishedAt: (string | null)
|
|
81456
|
+
}
|
|
81457
|
+
|
|
81458
|
+
export interface MailTemplateRevisionListInput {
|
|
81459
|
+
/**
|
|
81460
|
+
* Template id
|
|
81461
|
+
*/
|
|
81462
|
+
id: string
|
|
81463
|
+
}
|
|
81464
|
+
|
|
81465
|
+
export type MailTemplateRevisionListOutput = {
|
|
81466
|
+
/**
|
|
81467
|
+
* HTML body as authored in this revision
|
|
81468
|
+
*/
|
|
81469
|
+
html: string
|
|
81470
|
+
/**
|
|
81471
|
+
* True for the revision a send currently renders
|
|
81472
|
+
*/
|
|
81473
|
+
live: boolean
|
|
81474
|
+
/**
|
|
81475
|
+
* Plaintext body as authored in this revision; null when none was supplied
|
|
81476
|
+
*/
|
|
81477
|
+
text: (string | null)
|
|
81478
|
+
/**
|
|
81479
|
+
* Subject as authored in this revision
|
|
81480
|
+
*/
|
|
81481
|
+
subject: string
|
|
81482
|
+
/**
|
|
81483
|
+
* Revision number, counting from 1 for this template
|
|
81484
|
+
*/
|
|
81485
|
+
revision: number
|
|
81486
|
+
/**
|
|
81487
|
+
* When this revision was authored (ISO 8601 UTC)
|
|
81488
|
+
*/
|
|
81489
|
+
createdAt: string
|
|
81490
|
+
/**
|
|
81491
|
+
* Identity that authored this revision; null when unknown
|
|
81492
|
+
*/
|
|
81493
|
+
createdBy: (string | null)
|
|
81494
|
+
/**
|
|
81495
|
+
* Variables declared by this revision (at most 20)
|
|
81496
|
+
*/
|
|
81497
|
+
variables: {
|
|
81498
|
+
/**
|
|
81499
|
+
* Placeholder identifier used as {{ name }}
|
|
81500
|
+
*/
|
|
81501
|
+
name: string
|
|
81502
|
+
/**
|
|
81503
|
+
* Declared type (metadata; rendered as string in v1)
|
|
81504
|
+
*/
|
|
81505
|
+
type: ("string" | "number" | "boolean")
|
|
81506
|
+
/**
|
|
81507
|
+
* Value used when none is supplied
|
|
81508
|
+
*/
|
|
81509
|
+
fallback?: string
|
|
81510
|
+
/**
|
|
81511
|
+
* If true, an absent value renders as empty string
|
|
81512
|
+
*/
|
|
81513
|
+
optional: boolean
|
|
81514
|
+
}[]
|
|
81515
|
+
/**
|
|
81516
|
+
* When this revision first went live (ISO 8601 UTC); null for the open draft
|
|
81517
|
+
*/
|
|
81518
|
+
publishedAt: (string | null)
|
|
81519
|
+
}[]
|
|
81520
|
+
|
|
81521
|
+
export interface MailTemplateUnarchiveInput {
|
|
81522
|
+
/**
|
|
81523
|
+
* Template id to unarchive
|
|
81524
|
+
*/
|
|
81525
|
+
id: string
|
|
81526
|
+
}
|
|
81527
|
+
|
|
81528
|
+
export interface MailTemplateUnarchiveOutput {
|
|
81529
|
+
/**
|
|
81530
|
+
* Template id
|
|
81531
|
+
*/
|
|
81532
|
+
id: string
|
|
81533
|
+
/**
|
|
81534
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
81535
|
+
*/
|
|
81536
|
+
html: string
|
|
81537
|
+
/**
|
|
81538
|
+
* Human label for the template
|
|
81539
|
+
*/
|
|
81540
|
+
name: string
|
|
81541
|
+
/**
|
|
81542
|
+
* Plaintext body; null when none was supplied
|
|
81543
|
+
*/
|
|
81544
|
+
text: (string | null)
|
|
81545
|
+
/**
|
|
81546
|
+
* Lifecycle status: published once a revision has gone live
|
|
81131
81547
|
*/
|
|
81132
81548
|
status: ("draft" | "published")
|
|
81133
81549
|
/**
|
|
@@ -81163,6 +81579,18 @@ fallback?: string
|
|
|
81163
81579
|
*/
|
|
81164
81580
|
optional: boolean
|
|
81165
81581
|
}[]
|
|
81582
|
+
/**
|
|
81583
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81584
|
+
*/
|
|
81585
|
+
archivedAt: (string | null)
|
|
81586
|
+
/**
|
|
81587
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81588
|
+
*/
|
|
81589
|
+
draftRevision: (number | null)
|
|
81590
|
+
/**
|
|
81591
|
+
* Revision number a send renders; null until the template is first published
|
|
81592
|
+
*/
|
|
81593
|
+
currentRevision: (number | null)
|
|
81166
81594
|
}
|
|
81167
81595
|
|
|
81168
81596
|
export interface MailTemplateUpdateInput {
|
|
@@ -84782,7 +85210,7 @@ name: string
|
|
|
84782
85210
|
*/
|
|
84783
85211
|
text: (string | null)
|
|
84784
85212
|
/**
|
|
84785
|
-
* Lifecycle status:
|
|
85213
|
+
* Lifecycle status: published once a revision has gone live
|
|
84786
85214
|
*/
|
|
84787
85215
|
status: ("draft" | "published")
|
|
84788
85216
|
/**
|
|
@@ -84818,6 +85246,18 @@ fallback?: string
|
|
|
84818
85246
|
*/
|
|
84819
85247
|
optional: boolean
|
|
84820
85248
|
}[]
|
|
85249
|
+
/**
|
|
85250
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
85251
|
+
*/
|
|
85252
|
+
archivedAt: (string | null)
|
|
85253
|
+
/**
|
|
85254
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
85255
|
+
*/
|
|
85256
|
+
draftRevision: (number | null)
|
|
85257
|
+
/**
|
|
85258
|
+
* Revision number a send renders; null until the template is first published
|
|
85259
|
+
*/
|
|
85260
|
+
currentRevision: (number | null)
|
|
84821
85261
|
}
|
|
84822
85262
|
|
|
84823
85263
|
export interface MailUsageGetInput {
|