@lepsto/sdk-app 89.2.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 -15
- package/dist/_types/gen/client.gen.d.ts +48 -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/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +782 -19
- package/dist/chunk-ZH37YJ7E.js +11502 -0
- package/dist/chunk-ZH37YJ7E.js.map +1 -0
- package/dist/index.cjs +339 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +36 -11189
- 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 +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +314 -3
- package/src/gen/client.gen.ts +93 -0
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +38 -0
- package/src/gen/manifest.gen.ts +35 -3
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +1102 -282
package/src/gen/types.gen.ts
CHANGED
|
@@ -77301,63 +77301,50 @@ address: string
|
|
|
77301
77301
|
removed: boolean
|
|
77302
77302
|
}
|
|
77303
77303
|
|
|
77304
|
-
export interface
|
|
77304
|
+
export interface MailTemplateArchiveInput {
|
|
77305
77305
|
/**
|
|
77306
|
-
*
|
|
77306
|
+
* Template id to archive
|
|
77307
77307
|
*/
|
|
77308
|
-
|
|
77309
|
-
|
|
77310
|
-
|
|
77311
|
-
|
|
77312
|
-
name: string
|
|
77313
|
-
/**
|
|
77314
|
-
* Optional plaintext body; derived from html when omitted
|
|
77315
|
-
*/
|
|
77316
|
-
text?: string
|
|
77308
|
+
id: string
|
|
77309
|
+
}
|
|
77310
|
+
|
|
77311
|
+
export interface MailTemplateArchiveOutput {
|
|
77317
77312
|
/**
|
|
77318
|
-
*
|
|
77313
|
+
* Template id
|
|
77319
77314
|
*/
|
|
77320
|
-
|
|
77315
|
+
id: string
|
|
77321
77316
|
/**
|
|
77322
|
-
*
|
|
77323
|
-
*
|
|
77324
|
-
* @maxItems 20
|
|
77317
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
77325
77318
|
*/
|
|
77326
|
-
|
|
77319
|
+
html: string
|
|
77327
77320
|
/**
|
|
77328
|
-
*
|
|
77321
|
+
* Human label for the template
|
|
77329
77322
|
*/
|
|
77330
77323
|
name: string
|
|
77331
77324
|
/**
|
|
77332
|
-
*
|
|
77333
|
-
*/
|
|
77334
|
-
type: ("string" | "number" | "boolean")
|
|
77335
|
-
/**
|
|
77336
|
-
* Value used when none is supplied
|
|
77325
|
+
* Plaintext body; null when none was supplied
|
|
77337
77326
|
*/
|
|
77338
|
-
|
|
77327
|
+
text: (string | null)
|
|
77339
77328
|
/**
|
|
77340
|
-
*
|
|
77329
|
+
* Lifecycle status: published once a revision has gone live
|
|
77341
77330
|
*/
|
|
77342
|
-
|
|
77343
|
-
}]|[{
|
|
77331
|
+
status: ("draft" | "published")
|
|
77344
77332
|
/**
|
|
77345
|
-
*
|
|
77333
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
77346
77334
|
*/
|
|
77347
|
-
|
|
77335
|
+
subject: string
|
|
77348
77336
|
/**
|
|
77349
|
-
*
|
|
77337
|
+
* When the template was created (ISO 8601 UTC)
|
|
77350
77338
|
*/
|
|
77351
|
-
|
|
77339
|
+
createdAt: string
|
|
77352
77340
|
/**
|
|
77353
|
-
*
|
|
77341
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
77354
77342
|
*/
|
|
77355
|
-
|
|
77343
|
+
updatedAt: string
|
|
77356
77344
|
/**
|
|
77357
|
-
*
|
|
77345
|
+
* Declared variables of this template (at most 20)
|
|
77358
77346
|
*/
|
|
77359
|
-
|
|
77360
|
-
}, {
|
|
77347
|
+
variables: {
|
|
77361
77348
|
/**
|
|
77362
77349
|
* Placeholder identifier used as {{ name }}
|
|
77363
77350
|
*/
|
|
@@ -77373,42 +77360,45 @@ fallback?: string
|
|
|
77373
77360
|
/**
|
|
77374
77361
|
* If true, an absent value renders as empty string
|
|
77375
77362
|
*/
|
|
77376
|
-
optional
|
|
77377
|
-
}]
|
|
77363
|
+
optional: boolean
|
|
77364
|
+
}[]
|
|
77378
77365
|
/**
|
|
77379
|
-
*
|
|
77366
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
77380
77367
|
*/
|
|
77381
|
-
|
|
77368
|
+
archivedAt: (string | null)
|
|
77382
77369
|
/**
|
|
77383
|
-
*
|
|
77370
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
77384
77371
|
*/
|
|
77385
|
-
|
|
77372
|
+
draftRevision: (number | null)
|
|
77386
77373
|
/**
|
|
77387
|
-
*
|
|
77374
|
+
* Revision number a send renders; null until the template is first published
|
|
77388
77375
|
*/
|
|
77389
|
-
|
|
77376
|
+
currentRevision: (number | null)
|
|
77377
|
+
}
|
|
77378
|
+
|
|
77379
|
+
export interface MailTemplateCreateInput {
|
|
77390
77380
|
/**
|
|
77391
|
-
*
|
|
77381
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
77392
77382
|
*/
|
|
77393
|
-
|
|
77394
|
-
}, {
|
|
77383
|
+
html: string
|
|
77395
77384
|
/**
|
|
77396
|
-
*
|
|
77385
|
+
* Human label for the template
|
|
77397
77386
|
*/
|
|
77398
77387
|
name: string
|
|
77399
77388
|
/**
|
|
77400
|
-
*
|
|
77389
|
+
* Optional plaintext body; derived from html when omitted
|
|
77401
77390
|
*/
|
|
77402
|
-
|
|
77391
|
+
text?: string
|
|
77403
77392
|
/**
|
|
77404
|
-
*
|
|
77393
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
77405
77394
|
*/
|
|
77406
|
-
|
|
77395
|
+
subject: string
|
|
77407
77396
|
/**
|
|
77408
|
-
*
|
|
77397
|
+
* Declared variables ([{name,type,optional,fallback}], <=20)
|
|
77398
|
+
*
|
|
77399
|
+
* @maxItems 20
|
|
77409
77400
|
*/
|
|
77410
|
-
|
|
77411
|
-
}, {
|
|
77401
|
+
variables?: []|[{
|
|
77412
77402
|
/**
|
|
77413
77403
|
* Placeholder identifier used as {{ name }}
|
|
77414
77404
|
*/
|
|
@@ -77459,7 +77449,7 @@ fallback?: string
|
|
|
77459
77449
|
* If true, an absent value renders as empty string
|
|
77460
77450
|
*/
|
|
77461
77451
|
optional?: boolean
|
|
77462
|
-
}
|
|
77452
|
+
}]|[{
|
|
77463
77453
|
/**
|
|
77464
77454
|
* Placeholder identifier used as {{ name }}
|
|
77465
77455
|
*/
|
|
@@ -77493,7 +77483,7 @@ fallback?: string
|
|
|
77493
77483
|
* If true, an absent value renders as empty string
|
|
77494
77484
|
*/
|
|
77495
77485
|
optional?: boolean
|
|
77496
|
-
}
|
|
77486
|
+
}, {
|
|
77497
77487
|
/**
|
|
77498
77488
|
* Placeholder identifier used as {{ name }}
|
|
77499
77489
|
*/
|
|
@@ -77510,7 +77500,7 @@ fallback?: string
|
|
|
77510
77500
|
* If true, an absent value renders as empty string
|
|
77511
77501
|
*/
|
|
77512
77502
|
optional?: boolean
|
|
77513
|
-
}
|
|
77503
|
+
}]|[{
|
|
77514
77504
|
/**
|
|
77515
77505
|
* Placeholder identifier used as {{ name }}
|
|
77516
77506
|
*/
|
|
@@ -77663,23 +77653,6 @@ fallback?: string
|
|
|
77663
77653
|
* If true, an absent value renders as empty string
|
|
77664
77654
|
*/
|
|
77665
77655
|
optional?: boolean
|
|
77666
|
-
}, {
|
|
77667
|
-
/**
|
|
77668
|
-
* Placeholder identifier used as {{ name }}
|
|
77669
|
-
*/
|
|
77670
|
-
name: string
|
|
77671
|
-
/**
|
|
77672
|
-
* Declared type (metadata; rendered as string in v1)
|
|
77673
|
-
*/
|
|
77674
|
-
type: ("string" | "number" | "boolean")
|
|
77675
|
-
/**
|
|
77676
|
-
* Value used when none is supplied
|
|
77677
|
-
*/
|
|
77678
|
-
fallback?: string
|
|
77679
|
-
/**
|
|
77680
|
-
* If true, an absent value renders as empty string
|
|
77681
|
-
*/
|
|
77682
|
-
optional?: boolean
|
|
77683
77656
|
}]|[{
|
|
77684
77657
|
/**
|
|
77685
77658
|
* Placeholder identifier used as {{ name }}
|
|
@@ -77782,23 +77755,6 @@ fallback?: string
|
|
|
77782
77755
|
* If true, an absent value renders as empty string
|
|
77783
77756
|
*/
|
|
77784
77757
|
optional?: boolean
|
|
77785
|
-
}, {
|
|
77786
|
-
/**
|
|
77787
|
-
* Placeholder identifier used as {{ name }}
|
|
77788
|
-
*/
|
|
77789
|
-
name: string
|
|
77790
|
-
/**
|
|
77791
|
-
* Declared type (metadata; rendered as string in v1)
|
|
77792
|
-
*/
|
|
77793
|
-
type: ("string" | "number" | "boolean")
|
|
77794
|
-
/**
|
|
77795
|
-
* Value used when none is supplied
|
|
77796
|
-
*/
|
|
77797
|
-
fallback?: string
|
|
77798
|
-
/**
|
|
77799
|
-
* If true, an absent value renders as empty string
|
|
77800
|
-
*/
|
|
77801
|
-
optional?: boolean
|
|
77802
77758
|
}]|[{
|
|
77803
77759
|
/**
|
|
77804
77760
|
* Placeholder identifier used as {{ name }}
|
|
@@ -77918,23 +77874,6 @@ fallback?: string
|
|
|
77918
77874
|
* If true, an absent value renders as empty string
|
|
77919
77875
|
*/
|
|
77920
77876
|
optional?: boolean
|
|
77921
|
-
}, {
|
|
77922
|
-
/**
|
|
77923
|
-
* Placeholder identifier used as {{ name }}
|
|
77924
|
-
*/
|
|
77925
|
-
name: string
|
|
77926
|
-
/**
|
|
77927
|
-
* Declared type (metadata; rendered as string in v1)
|
|
77928
|
-
*/
|
|
77929
|
-
type: ("string" | "number" | "boolean")
|
|
77930
|
-
/**
|
|
77931
|
-
* Value used when none is supplied
|
|
77932
|
-
*/
|
|
77933
|
-
fallback?: string
|
|
77934
|
-
/**
|
|
77935
|
-
* If true, an absent value renders as empty string
|
|
77936
|
-
*/
|
|
77937
|
-
optional?: boolean
|
|
77938
77877
|
}]|[{
|
|
77939
77878
|
/**
|
|
77940
77879
|
* Placeholder identifier used as {{ name }}
|
|
@@ -78071,23 +78010,6 @@ fallback?: string
|
|
|
78071
78010
|
* If true, an absent value renders as empty string
|
|
78072
78011
|
*/
|
|
78073
78012
|
optional?: boolean
|
|
78074
|
-
}, {
|
|
78075
|
-
/**
|
|
78076
|
-
* Placeholder identifier used as {{ name }}
|
|
78077
|
-
*/
|
|
78078
|
-
name: string
|
|
78079
|
-
/**
|
|
78080
|
-
* Declared type (metadata; rendered as string in v1)
|
|
78081
|
-
*/
|
|
78082
|
-
type: ("string" | "number" | "boolean")
|
|
78083
|
-
/**
|
|
78084
|
-
* Value used when none is supplied
|
|
78085
|
-
*/
|
|
78086
|
-
fallback?: string
|
|
78087
|
-
/**
|
|
78088
|
-
* If true, an absent value renders as empty string
|
|
78089
|
-
*/
|
|
78090
|
-
optional?: boolean
|
|
78091
78013
|
}]|[{
|
|
78092
78014
|
/**
|
|
78093
78015
|
* Placeholder identifier used as {{ name }}
|
|
@@ -78241,23 +78163,6 @@ fallback?: string
|
|
|
78241
78163
|
* If true, an absent value renders as empty string
|
|
78242
78164
|
*/
|
|
78243
78165
|
optional?: boolean
|
|
78244
|
-
}, {
|
|
78245
|
-
/**
|
|
78246
|
-
* Placeholder identifier used as {{ name }}
|
|
78247
|
-
*/
|
|
78248
|
-
name: string
|
|
78249
|
-
/**
|
|
78250
|
-
* Declared type (metadata; rendered as string in v1)
|
|
78251
|
-
*/
|
|
78252
|
-
type: ("string" | "number" | "boolean")
|
|
78253
|
-
/**
|
|
78254
|
-
* Value used when none is supplied
|
|
78255
|
-
*/
|
|
78256
|
-
fallback?: string
|
|
78257
|
-
/**
|
|
78258
|
-
* If true, an absent value renders as empty string
|
|
78259
|
-
*/
|
|
78260
|
-
optional?: boolean
|
|
78261
78166
|
}]|[{
|
|
78262
78167
|
/**
|
|
78263
78168
|
* Placeholder identifier used as {{ name }}
|
|
@@ -78428,23 +78333,6 @@ fallback?: string
|
|
|
78428
78333
|
* If true, an absent value renders as empty string
|
|
78429
78334
|
*/
|
|
78430
78335
|
optional?: boolean
|
|
78431
|
-
}, {
|
|
78432
|
-
/**
|
|
78433
|
-
* Placeholder identifier used as {{ name }}
|
|
78434
|
-
*/
|
|
78435
|
-
name: string
|
|
78436
|
-
/**
|
|
78437
|
-
* Declared type (metadata; rendered as string in v1)
|
|
78438
|
-
*/
|
|
78439
|
-
type: ("string" | "number" | "boolean")
|
|
78440
|
-
/**
|
|
78441
|
-
* Value used when none is supplied
|
|
78442
|
-
*/
|
|
78443
|
-
fallback?: string
|
|
78444
|
-
/**
|
|
78445
|
-
* If true, an absent value renders as empty string
|
|
78446
|
-
*/
|
|
78447
|
-
optional?: boolean
|
|
78448
78336
|
}]|[{
|
|
78449
78337
|
/**
|
|
78450
78338
|
* Placeholder identifier used as {{ name }}
|
|
@@ -78632,23 +78520,6 @@ fallback?: string
|
|
|
78632
78520
|
* If true, an absent value renders as empty string
|
|
78633
78521
|
*/
|
|
78634
78522
|
optional?: boolean
|
|
78635
|
-
}, {
|
|
78636
|
-
/**
|
|
78637
|
-
* Placeholder identifier used as {{ name }}
|
|
78638
|
-
*/
|
|
78639
|
-
name: string
|
|
78640
|
-
/**
|
|
78641
|
-
* Declared type (metadata; rendered as string in v1)
|
|
78642
|
-
*/
|
|
78643
|
-
type: ("string" | "number" | "boolean")
|
|
78644
|
-
/**
|
|
78645
|
-
* Value used when none is supplied
|
|
78646
|
-
*/
|
|
78647
|
-
fallback?: string
|
|
78648
|
-
/**
|
|
78649
|
-
* If true, an absent value renders as empty string
|
|
78650
|
-
*/
|
|
78651
|
-
optional?: boolean
|
|
78652
78523
|
}]|[{
|
|
78653
78524
|
/**
|
|
78654
78525
|
* Placeholder identifier used as {{ name }}
|
|
@@ -78853,23 +78724,6 @@ fallback?: string
|
|
|
78853
78724
|
* If true, an absent value renders as empty string
|
|
78854
78725
|
*/
|
|
78855
78726
|
optional?: boolean
|
|
78856
|
-
}, {
|
|
78857
|
-
/**
|
|
78858
|
-
* Placeholder identifier used as {{ name }}
|
|
78859
|
-
*/
|
|
78860
|
-
name: string
|
|
78861
|
-
/**
|
|
78862
|
-
* Declared type (metadata; rendered as string in v1)
|
|
78863
|
-
*/
|
|
78864
|
-
type: ("string" | "number" | "boolean")
|
|
78865
|
-
/**
|
|
78866
|
-
* Value used when none is supplied
|
|
78867
|
-
*/
|
|
78868
|
-
fallback?: string
|
|
78869
|
-
/**
|
|
78870
|
-
* If true, an absent value renders as empty string
|
|
78871
|
-
*/
|
|
78872
|
-
optional?: boolean
|
|
78873
78727
|
}]|[{
|
|
78874
78728
|
/**
|
|
78875
78729
|
* Placeholder identifier used as {{ name }}
|
|
@@ -79091,7 +78945,7 @@ fallback?: string
|
|
|
79091
78945
|
* If true, an absent value renders as empty string
|
|
79092
78946
|
*/
|
|
79093
78947
|
optional?: boolean
|
|
79094
|
-
}
|
|
78948
|
+
}]|[{
|
|
79095
78949
|
/**
|
|
79096
78950
|
* Placeholder identifier used as {{ name }}
|
|
79097
78951
|
*/
|
|
@@ -79108,7 +78962,7 @@ fallback?: string
|
|
|
79108
78962
|
* If true, an absent value renders as empty string
|
|
79109
78963
|
*/
|
|
79110
78964
|
optional?: boolean
|
|
79111
|
-
}
|
|
78965
|
+
}, {
|
|
79112
78966
|
/**
|
|
79113
78967
|
* Placeholder identifier used as {{ name }}
|
|
79114
78968
|
*/
|
|
@@ -79329,7 +79183,7 @@ fallback?: string
|
|
|
79329
79183
|
* If true, an absent value renders as empty string
|
|
79330
79184
|
*/
|
|
79331
79185
|
optional?: boolean
|
|
79332
|
-
}
|
|
79186
|
+
}]|[{
|
|
79333
79187
|
/**
|
|
79334
79188
|
* Placeholder identifier used as {{ name }}
|
|
79335
79189
|
*/
|
|
@@ -79363,7 +79217,7 @@ fallback?: string
|
|
|
79363
79217
|
* If true, an absent value renders as empty string
|
|
79364
79218
|
*/
|
|
79365
79219
|
optional?: boolean
|
|
79366
|
-
}
|
|
79220
|
+
}, {
|
|
79367
79221
|
/**
|
|
79368
79222
|
* Placeholder identifier used as {{ name }}
|
|
79369
79223
|
*/
|
|
@@ -79584,7 +79438,7 @@ fallback?: string
|
|
|
79584
79438
|
* If true, an absent value renders as empty string
|
|
79585
79439
|
*/
|
|
79586
79440
|
optional?: boolean
|
|
79587
|
-
}
|
|
79441
|
+
}]|[{
|
|
79588
79442
|
/**
|
|
79589
79443
|
* Placeholder identifier used as {{ name }}
|
|
79590
79444
|
*/
|
|
@@ -79635,7 +79489,7 @@ fallback?: string
|
|
|
79635
79489
|
* If true, an absent value renders as empty string
|
|
79636
79490
|
*/
|
|
79637
79491
|
optional?: boolean
|
|
79638
|
-
}
|
|
79492
|
+
}, {
|
|
79639
79493
|
/**
|
|
79640
79494
|
* Placeholder identifier used as {{ name }}
|
|
79641
79495
|
*/
|
|
@@ -79856,7 +79710,7 @@ fallback?: string
|
|
|
79856
79710
|
* If true, an absent value renders as empty string
|
|
79857
79711
|
*/
|
|
79858
79712
|
optional?: boolean
|
|
79859
|
-
}
|
|
79713
|
+
}]|[{
|
|
79860
79714
|
/**
|
|
79861
79715
|
* Placeholder identifier used as {{ name }}
|
|
79862
79716
|
*/
|
|
@@ -79924,7 +79778,7 @@ fallback?: string
|
|
|
79924
79778
|
* If true, an absent value renders as empty string
|
|
79925
79779
|
*/
|
|
79926
79780
|
optional?: boolean
|
|
79927
|
-
}
|
|
79781
|
+
}, {
|
|
79928
79782
|
/**
|
|
79929
79783
|
* Placeholder identifier used as {{ name }}
|
|
79930
79784
|
*/
|
|
@@ -80145,7 +79999,7 @@ fallback?: string
|
|
|
80145
79999
|
* If true, an absent value renders as empty string
|
|
80146
80000
|
*/
|
|
80147
80001
|
optional?: boolean
|
|
80148
|
-
}
|
|
80002
|
+
}]|[{
|
|
80149
80003
|
/**
|
|
80150
80004
|
* Placeholder identifier used as {{ name }}
|
|
80151
80005
|
*/
|
|
@@ -80230,7 +80084,7 @@ fallback?: string
|
|
|
80230
80084
|
* If true, an absent value renders as empty string
|
|
80231
80085
|
*/
|
|
80232
80086
|
optional?: boolean
|
|
80233
|
-
}
|
|
80087
|
+
}, {
|
|
80234
80088
|
/**
|
|
80235
80089
|
* Placeholder identifier used as {{ name }}
|
|
80236
80090
|
*/
|
|
@@ -80451,7 +80305,7 @@ fallback?: string
|
|
|
80451
80305
|
* If true, an absent value renders as empty string
|
|
80452
80306
|
*/
|
|
80453
80307
|
optional?: boolean
|
|
80454
|
-
}
|
|
80308
|
+
}]|[{
|
|
80455
80309
|
/**
|
|
80456
80310
|
* Placeholder identifier used as {{ name }}
|
|
80457
80311
|
*/
|
|
@@ -80553,7 +80407,228 @@ fallback?: string
|
|
|
80553
80407
|
* If true, an absent value renders as empty string
|
|
80554
80408
|
*/
|
|
80555
80409
|
optional?: boolean
|
|
80556
|
-
}
|
|
80410
|
+
}, {
|
|
80411
|
+
/**
|
|
80412
|
+
* Placeholder identifier used as {{ name }}
|
|
80413
|
+
*/
|
|
80414
|
+
name: string
|
|
80415
|
+
/**
|
|
80416
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80417
|
+
*/
|
|
80418
|
+
type: ("string" | "number" | "boolean")
|
|
80419
|
+
/**
|
|
80420
|
+
* Value used when none is supplied
|
|
80421
|
+
*/
|
|
80422
|
+
fallback?: string
|
|
80423
|
+
/**
|
|
80424
|
+
* If true, an absent value renders as empty string
|
|
80425
|
+
*/
|
|
80426
|
+
optional?: boolean
|
|
80427
|
+
}, {
|
|
80428
|
+
/**
|
|
80429
|
+
* Placeholder identifier used as {{ name }}
|
|
80430
|
+
*/
|
|
80431
|
+
name: string
|
|
80432
|
+
/**
|
|
80433
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80434
|
+
*/
|
|
80435
|
+
type: ("string" | "number" | "boolean")
|
|
80436
|
+
/**
|
|
80437
|
+
* Value used when none is supplied
|
|
80438
|
+
*/
|
|
80439
|
+
fallback?: string
|
|
80440
|
+
/**
|
|
80441
|
+
* If true, an absent value renders as empty string
|
|
80442
|
+
*/
|
|
80443
|
+
optional?: boolean
|
|
80444
|
+
}, {
|
|
80445
|
+
/**
|
|
80446
|
+
* Placeholder identifier used as {{ name }}
|
|
80447
|
+
*/
|
|
80448
|
+
name: string
|
|
80449
|
+
/**
|
|
80450
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80451
|
+
*/
|
|
80452
|
+
type: ("string" | "number" | "boolean")
|
|
80453
|
+
/**
|
|
80454
|
+
* Value used when none is supplied
|
|
80455
|
+
*/
|
|
80456
|
+
fallback?: string
|
|
80457
|
+
/**
|
|
80458
|
+
* If true, an absent value renders as empty string
|
|
80459
|
+
*/
|
|
80460
|
+
optional?: boolean
|
|
80461
|
+
}, {
|
|
80462
|
+
/**
|
|
80463
|
+
* Placeholder identifier used as {{ name }}
|
|
80464
|
+
*/
|
|
80465
|
+
name: string
|
|
80466
|
+
/**
|
|
80467
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80468
|
+
*/
|
|
80469
|
+
type: ("string" | "number" | "boolean")
|
|
80470
|
+
/**
|
|
80471
|
+
* Value used when none is supplied
|
|
80472
|
+
*/
|
|
80473
|
+
fallback?: string
|
|
80474
|
+
/**
|
|
80475
|
+
* If true, an absent value renders as empty string
|
|
80476
|
+
*/
|
|
80477
|
+
optional?: boolean
|
|
80478
|
+
}, {
|
|
80479
|
+
/**
|
|
80480
|
+
* Placeholder identifier used as {{ name }}
|
|
80481
|
+
*/
|
|
80482
|
+
name: string
|
|
80483
|
+
/**
|
|
80484
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80485
|
+
*/
|
|
80486
|
+
type: ("string" | "number" | "boolean")
|
|
80487
|
+
/**
|
|
80488
|
+
* Value used when none is supplied
|
|
80489
|
+
*/
|
|
80490
|
+
fallback?: string
|
|
80491
|
+
/**
|
|
80492
|
+
* If true, an absent value renders as empty string
|
|
80493
|
+
*/
|
|
80494
|
+
optional?: boolean
|
|
80495
|
+
}, {
|
|
80496
|
+
/**
|
|
80497
|
+
* Placeholder identifier used as {{ name }}
|
|
80498
|
+
*/
|
|
80499
|
+
name: string
|
|
80500
|
+
/**
|
|
80501
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80502
|
+
*/
|
|
80503
|
+
type: ("string" | "number" | "boolean")
|
|
80504
|
+
/**
|
|
80505
|
+
* Value used when none is supplied
|
|
80506
|
+
*/
|
|
80507
|
+
fallback?: string
|
|
80508
|
+
/**
|
|
80509
|
+
* If true, an absent value renders as empty string
|
|
80510
|
+
*/
|
|
80511
|
+
optional?: boolean
|
|
80512
|
+
}, {
|
|
80513
|
+
/**
|
|
80514
|
+
* Placeholder identifier used as {{ name }}
|
|
80515
|
+
*/
|
|
80516
|
+
name: string
|
|
80517
|
+
/**
|
|
80518
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80519
|
+
*/
|
|
80520
|
+
type: ("string" | "number" | "boolean")
|
|
80521
|
+
/**
|
|
80522
|
+
* Value used when none is supplied
|
|
80523
|
+
*/
|
|
80524
|
+
fallback?: string
|
|
80525
|
+
/**
|
|
80526
|
+
* If true, an absent value renders as empty string
|
|
80527
|
+
*/
|
|
80528
|
+
optional?: boolean
|
|
80529
|
+
}, {
|
|
80530
|
+
/**
|
|
80531
|
+
* Placeholder identifier used as {{ name }}
|
|
80532
|
+
*/
|
|
80533
|
+
name: string
|
|
80534
|
+
/**
|
|
80535
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80536
|
+
*/
|
|
80537
|
+
type: ("string" | "number" | "boolean")
|
|
80538
|
+
/**
|
|
80539
|
+
* Value used when none is supplied
|
|
80540
|
+
*/
|
|
80541
|
+
fallback?: string
|
|
80542
|
+
/**
|
|
80543
|
+
* If true, an absent value renders as empty string
|
|
80544
|
+
*/
|
|
80545
|
+
optional?: boolean
|
|
80546
|
+
}, {
|
|
80547
|
+
/**
|
|
80548
|
+
* Placeholder identifier used as {{ name }}
|
|
80549
|
+
*/
|
|
80550
|
+
name: string
|
|
80551
|
+
/**
|
|
80552
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80553
|
+
*/
|
|
80554
|
+
type: ("string" | "number" | "boolean")
|
|
80555
|
+
/**
|
|
80556
|
+
* Value used when none is supplied
|
|
80557
|
+
*/
|
|
80558
|
+
fallback?: string
|
|
80559
|
+
/**
|
|
80560
|
+
* If true, an absent value renders as empty string
|
|
80561
|
+
*/
|
|
80562
|
+
optional?: boolean
|
|
80563
|
+
}, {
|
|
80564
|
+
/**
|
|
80565
|
+
* Placeholder identifier used as {{ name }}
|
|
80566
|
+
*/
|
|
80567
|
+
name: string
|
|
80568
|
+
/**
|
|
80569
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80570
|
+
*/
|
|
80571
|
+
type: ("string" | "number" | "boolean")
|
|
80572
|
+
/**
|
|
80573
|
+
* Value used when none is supplied
|
|
80574
|
+
*/
|
|
80575
|
+
fallback?: string
|
|
80576
|
+
/**
|
|
80577
|
+
* If true, an absent value renders as empty string
|
|
80578
|
+
*/
|
|
80579
|
+
optional?: boolean
|
|
80580
|
+
}, {
|
|
80581
|
+
/**
|
|
80582
|
+
* Placeholder identifier used as {{ name }}
|
|
80583
|
+
*/
|
|
80584
|
+
name: string
|
|
80585
|
+
/**
|
|
80586
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80587
|
+
*/
|
|
80588
|
+
type: ("string" | "number" | "boolean")
|
|
80589
|
+
/**
|
|
80590
|
+
* Value used when none is supplied
|
|
80591
|
+
*/
|
|
80592
|
+
fallback?: string
|
|
80593
|
+
/**
|
|
80594
|
+
* If true, an absent value renders as empty string
|
|
80595
|
+
*/
|
|
80596
|
+
optional?: boolean
|
|
80597
|
+
}, {
|
|
80598
|
+
/**
|
|
80599
|
+
* Placeholder identifier used as {{ name }}
|
|
80600
|
+
*/
|
|
80601
|
+
name: string
|
|
80602
|
+
/**
|
|
80603
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80604
|
+
*/
|
|
80605
|
+
type: ("string" | "number" | "boolean")
|
|
80606
|
+
/**
|
|
80607
|
+
* Value used when none is supplied
|
|
80608
|
+
*/
|
|
80609
|
+
fallback?: string
|
|
80610
|
+
/**
|
|
80611
|
+
* If true, an absent value renders as empty string
|
|
80612
|
+
*/
|
|
80613
|
+
optional?: boolean
|
|
80614
|
+
}, {
|
|
80615
|
+
/**
|
|
80616
|
+
* Placeholder identifier used as {{ name }}
|
|
80617
|
+
*/
|
|
80618
|
+
name: string
|
|
80619
|
+
/**
|
|
80620
|
+
* Declared type (metadata; rendered as string in v1)
|
|
80621
|
+
*/
|
|
80622
|
+
type: ("string" | "number" | "boolean")
|
|
80623
|
+
/**
|
|
80624
|
+
* Value used when none is supplied
|
|
80625
|
+
*/
|
|
80626
|
+
fallback?: string
|
|
80627
|
+
/**
|
|
80628
|
+
* If true, an absent value renders as empty string
|
|
80629
|
+
*/
|
|
80630
|
+
optional?: boolean
|
|
80631
|
+
}]|[{
|
|
80557
80632
|
/**
|
|
80558
80633
|
* Placeholder identifier used as {{ name }}
|
|
80559
80634
|
*/
|
|
@@ -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,366 @@ name: string
|
|
|
81064
81184
|
*/
|
|
81065
81185
|
text: (string | null)
|
|
81066
81186
|
/**
|
|
81067
|
-
* Lifecycle status:
|
|
81187
|
+
* Lifecycle status: published once a revision has gone live
|
|
81188
|
+
*/
|
|
81189
|
+
status: ("draft" | "published")
|
|
81190
|
+
/**
|
|
81191
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
81192
|
+
*/
|
|
81193
|
+
subject: string
|
|
81194
|
+
/**
|
|
81195
|
+
* When the template was created (ISO 8601 UTC)
|
|
81196
|
+
*/
|
|
81197
|
+
createdAt: string
|
|
81198
|
+
/**
|
|
81199
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
81200
|
+
*/
|
|
81201
|
+
updatedAt: string
|
|
81202
|
+
/**
|
|
81203
|
+
* Declared variables of this template (at most 20)
|
|
81204
|
+
*/
|
|
81205
|
+
variables: {
|
|
81206
|
+
/**
|
|
81207
|
+
* Placeholder identifier used as {{ name }}
|
|
81208
|
+
*/
|
|
81209
|
+
name: string
|
|
81210
|
+
/**
|
|
81211
|
+
* Declared type (metadata; rendered as string in v1)
|
|
81212
|
+
*/
|
|
81213
|
+
type: ("string" | "number" | "boolean")
|
|
81214
|
+
/**
|
|
81215
|
+
* Value used when none is supplied
|
|
81216
|
+
*/
|
|
81217
|
+
fallback?: string
|
|
81218
|
+
/**
|
|
81219
|
+
* If true, an absent value renders as empty string
|
|
81220
|
+
*/
|
|
81221
|
+
optional: boolean
|
|
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)
|
|
81235
|
+
}[]
|
|
81236
|
+
|
|
81237
|
+
export interface MailTemplatePublishInput {
|
|
81238
|
+
/**
|
|
81239
|
+
* Template id to publish
|
|
81240
|
+
*/
|
|
81241
|
+
id: string
|
|
81242
|
+
}
|
|
81243
|
+
|
|
81244
|
+
export interface MailTemplatePublishOutput {
|
|
81245
|
+
/**
|
|
81246
|
+
* Template id
|
|
81247
|
+
*/
|
|
81248
|
+
id: string
|
|
81249
|
+
/**
|
|
81250
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
81251
|
+
*/
|
|
81252
|
+
html: string
|
|
81253
|
+
/**
|
|
81254
|
+
* Human label for the template
|
|
81255
|
+
*/
|
|
81256
|
+
name: string
|
|
81257
|
+
/**
|
|
81258
|
+
* Plaintext body; null when none was supplied
|
|
81259
|
+
*/
|
|
81260
|
+
text: (string | null)
|
|
81261
|
+
/**
|
|
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
|
|
81068
81547
|
*/
|
|
81069
81548
|
status: ("draft" | "published")
|
|
81070
81549
|
/**
|
|
@@ -81100,69 +81579,18 @@ fallback?: string
|
|
|
81100
81579
|
*/
|
|
81101
81580
|
optional: boolean
|
|
81102
81581
|
}[]
|
|
81103
|
-
}[]
|
|
81104
|
-
|
|
81105
|
-
export interface MailTemplatePublishInput {
|
|
81106
|
-
/**
|
|
81107
|
-
* Template id to publish
|
|
81108
|
-
*/
|
|
81109
|
-
id: string
|
|
81110
|
-
}
|
|
81111
|
-
|
|
81112
|
-
export interface MailTemplatePublishOutput {
|
|
81113
|
-
/**
|
|
81114
|
-
* Template id
|
|
81115
|
-
*/
|
|
81116
|
-
id: string
|
|
81117
|
-
/**
|
|
81118
|
-
* HTML body; may contain {{ variable }} placeholders
|
|
81119
|
-
*/
|
|
81120
|
-
html: string
|
|
81121
81582
|
/**
|
|
81122
|
-
*
|
|
81123
|
-
*/
|
|
81124
|
-
name: string
|
|
81125
|
-
/**
|
|
81126
|
-
* Plaintext body; null when none was supplied
|
|
81127
|
-
*/
|
|
81128
|
-
text: (string | null)
|
|
81129
|
-
/**
|
|
81130
|
-
* Lifecycle status: a draft is editable, a published template is not
|
|
81131
|
-
*/
|
|
81132
|
-
status: ("draft" | "published")
|
|
81133
|
-
/**
|
|
81134
|
-
* Email subject; may contain {{ variable }} placeholders
|
|
81583
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
81135
81584
|
*/
|
|
81136
|
-
|
|
81137
|
-
/**
|
|
81138
|
-
* When the template was created (ISO 8601 UTC)
|
|
81139
|
-
*/
|
|
81140
|
-
createdAt: string
|
|
81141
|
-
/**
|
|
81142
|
-
* When the template was last modified (ISO 8601 UTC)
|
|
81143
|
-
*/
|
|
81144
|
-
updatedAt: string
|
|
81145
|
-
/**
|
|
81146
|
-
* Declared variables of this template (at most 20)
|
|
81147
|
-
*/
|
|
81148
|
-
variables: {
|
|
81149
|
-
/**
|
|
81150
|
-
* Placeholder identifier used as {{ name }}
|
|
81151
|
-
*/
|
|
81152
|
-
name: string
|
|
81585
|
+
archivedAt: (string | null)
|
|
81153
81586
|
/**
|
|
81154
|
-
*
|
|
81587
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
81155
81588
|
*/
|
|
81156
|
-
|
|
81589
|
+
draftRevision: (number | null)
|
|
81157
81590
|
/**
|
|
81158
|
-
*
|
|
81591
|
+
* Revision number a send renders; null until the template is first published
|
|
81159
81592
|
*/
|
|
81160
|
-
|
|
81161
|
-
/**
|
|
81162
|
-
* If true, an absent value renders as empty string
|
|
81163
|
-
*/
|
|
81164
|
-
optional: boolean
|
|
81165
|
-
}[]
|
|
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 {
|
|
@@ -90576,6 +91016,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
90576
91016
|
url: string
|
|
90577
91017
|
}
|
|
90578
91018
|
|
|
91019
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
91020
|
+
/**
|
|
91021
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
91022
|
+
*/
|
|
91023
|
+
limit?: number
|
|
91024
|
+
}
|
|
91025
|
+
|
|
91026
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
91027
|
+
ok: boolean
|
|
91028
|
+
minted: boolean
|
|
91029
|
+
overview?: unknown
|
|
91030
|
+
http_status: number
|
|
91031
|
+
}
|
|
91032
|
+
|
|
91033
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
91034
|
+
|
|
91035
|
+
}
|
|
91036
|
+
|
|
91037
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
91038
|
+
ok: boolean
|
|
91039
|
+
minted: boolean
|
|
91040
|
+
http_status: number
|
|
91041
|
+
entitlements?: unknown
|
|
91042
|
+
}
|
|
91043
|
+
|
|
91044
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
91045
|
+
/**
|
|
91046
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
91047
|
+
*/
|
|
91048
|
+
value?: number
|
|
91049
|
+
}
|
|
91050
|
+
|
|
91051
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
91052
|
+
minted: boolean
|
|
91053
|
+
accepted: (number | null)
|
|
91054
|
+
recorded: boolean
|
|
91055
|
+
duplicates: (number | null)
|
|
91056
|
+
http_status: number
|
|
91057
|
+
}
|
|
91058
|
+
|
|
91059
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
91060
|
+
/**
|
|
91061
|
+
* Task title; defaults to a fixture label
|
|
91062
|
+
*/
|
|
91063
|
+
name?: string
|
|
91064
|
+
/**
|
|
91065
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
91066
|
+
*/
|
|
91067
|
+
listId?: string
|
|
91068
|
+
}
|
|
91069
|
+
|
|
91070
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
91071
|
+
minted: boolean
|
|
91072
|
+
task_id: (string | null)
|
|
91073
|
+
list_status: number
|
|
91074
|
+
vend_status: number
|
|
91075
|
+
clickup_status: number
|
|
91076
|
+
installation_count: number
|
|
91077
|
+
}
|
|
91078
|
+
|
|
91079
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
91080
|
+
|
|
91081
|
+
}
|
|
91082
|
+
|
|
91083
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
91084
|
+
payload: string
|
|
91085
|
+
event_id: string
|
|
91086
|
+
provider: string
|
|
91087
|
+
verified: boolean
|
|
91088
|
+
product_id: string
|
|
91089
|
+
occurred_at: string
|
|
91090
|
+
connector_id: string
|
|
91091
|
+
clickup_event: (string | null)
|
|
91092
|
+
receipt_count: number
|
|
91093
|
+
} | {
|
|
91094
|
+
found: false
|
|
91095
|
+
})
|
|
91096
|
+
|
|
91097
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
91098
|
+
|
|
91099
|
+
}
|
|
91100
|
+
|
|
91101
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
91102
|
+
team: ({
|
|
91103
|
+
teamId: string
|
|
91104
|
+
teamName: string
|
|
91105
|
+
} | null)
|
|
91106
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
91107
|
+
tasks: {
|
|
91108
|
+
id: string
|
|
91109
|
+
name: string
|
|
91110
|
+
status: (string | null)
|
|
91111
|
+
}[]
|
|
91112
|
+
minted: boolean
|
|
91113
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
91114
|
+
list_status: number
|
|
91115
|
+
vend_status: number
|
|
91116
|
+
lists_status: number
|
|
91117
|
+
tasks_status: number
|
|
91118
|
+
spaces_status: number
|
|
91119
|
+
folders_status: number
|
|
91120
|
+
installation_count: number
|
|
91121
|
+
}
|
|
91122
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
91123
|
+
id: string
|
|
91124
|
+
name: string
|
|
91125
|
+
}
|
|
91126
|
+
|
|
91127
|
+
export interface PlaygroundEchoPingInput {
|
|
91128
|
+
/**
|
|
91129
|
+
* The text to echo back, 1–1024 characters
|
|
91130
|
+
*/
|
|
91131
|
+
message: string
|
|
91132
|
+
}
|
|
91133
|
+
|
|
91134
|
+
export interface PlaygroundEchoPingOutput {
|
|
91135
|
+
/**
|
|
91136
|
+
* The message exactly as it was received
|
|
91137
|
+
*/
|
|
91138
|
+
message: string
|
|
91139
|
+
/**
|
|
91140
|
+
* The product the call was resolved to
|
|
91141
|
+
*/
|
|
91142
|
+
productId: string
|
|
91143
|
+
/**
|
|
91144
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
91145
|
+
*/
|
|
91146
|
+
receivedAt: string
|
|
91147
|
+
}
|
|
91148
|
+
|
|
91149
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
91150
|
+
|
|
91151
|
+
}
|
|
91152
|
+
|
|
91153
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
91154
|
+
file_id: string
|
|
91155
|
+
removed: boolean
|
|
91156
|
+
file_name: (string | null)
|
|
91157
|
+
mime_type: (string | null)
|
|
91158
|
+
product_id: string
|
|
91159
|
+
occurred_at: string
|
|
91160
|
+
connector_id: string
|
|
91161
|
+
resource_state: string
|
|
91162
|
+
} | {
|
|
91163
|
+
found: false
|
|
91164
|
+
})
|
|
91165
|
+
|
|
91166
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
91167
|
+
/**
|
|
91168
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
91169
|
+
*/
|
|
91170
|
+
fileId?: string
|
|
91171
|
+
}
|
|
91172
|
+
|
|
91173
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
91174
|
+
minted: boolean
|
|
91175
|
+
file_id: (string | null)
|
|
91176
|
+
file_name: (string | null)
|
|
91177
|
+
mime_type: (string | null)
|
|
91178
|
+
file_count: number
|
|
91179
|
+
get_status: number
|
|
91180
|
+
list_status: number
|
|
91181
|
+
vend_status: number
|
|
91182
|
+
content_bytes: (number | null)
|
|
91183
|
+
}
|
|
91184
|
+
|
|
91185
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
91186
|
+
|
|
91187
|
+
}
|
|
91188
|
+
|
|
91189
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
91190
|
+
minted: boolean
|
|
91191
|
+
vended: boolean
|
|
91192
|
+
customer_id: (string | null)
|
|
91193
|
+
vend_status: number
|
|
91194
|
+
result_count: number
|
|
91195
|
+
search_status: number
|
|
91196
|
+
login_customer_id: (string | null)
|
|
91197
|
+
}
|
|
91198
|
+
|
|
91199
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
91200
|
+
|
|
91201
|
+
}
|
|
91202
|
+
|
|
91203
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
91204
|
+
blocked: boolean
|
|
91205
|
+
archived: boolean
|
|
91206
|
+
productId: string
|
|
91207
|
+
lastBlockTransition: ({
|
|
91208
|
+
eventId: string
|
|
91209
|
+
eventName: string
|
|
91210
|
+
productId: string
|
|
91211
|
+
occurredAt: string
|
|
91212
|
+
recordedAt: string
|
|
91213
|
+
receiptCount: number
|
|
91214
|
+
organizationId: string
|
|
91215
|
+
cascadedFromOrg: boolean
|
|
91216
|
+
} | null)
|
|
91217
|
+
lastArchiveTransition: ({
|
|
91218
|
+
eventId: string
|
|
91219
|
+
eventName: string
|
|
91220
|
+
productId: string
|
|
91221
|
+
occurredAt: string
|
|
91222
|
+
recordedAt: string
|
|
91223
|
+
receiptCount: number
|
|
91224
|
+
organizationId: string
|
|
91225
|
+
cascadedFromOrg: boolean
|
|
91226
|
+
} | null)
|
|
91227
|
+
}
|
|
91228
|
+
|
|
91229
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
91230
|
+
|
|
91231
|
+
}
|
|
91232
|
+
|
|
91233
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
91234
|
+
eventId: string
|
|
91235
|
+
eventName: string
|
|
91236
|
+
productId: string
|
|
91237
|
+
occurredAt: string
|
|
91238
|
+
recordedAt: string
|
|
91239
|
+
receiptCount: number
|
|
91240
|
+
organizationId: string
|
|
91241
|
+
cascadedFromOrg: boolean
|
|
91242
|
+
}[]
|
|
91243
|
+
|
|
91244
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
91245
|
+
|
|
91246
|
+
}
|
|
91247
|
+
|
|
91248
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
91249
|
+
payload?: unknown
|
|
91250
|
+
event_id: string
|
|
91251
|
+
provider: string
|
|
91252
|
+
verified: boolean
|
|
91253
|
+
product_id: string
|
|
91254
|
+
occurred_at: string
|
|
91255
|
+
connector_id: string
|
|
91256
|
+
delivery_count: number
|
|
91257
|
+
} | {
|
|
91258
|
+
found: false
|
|
91259
|
+
})
|
|
91260
|
+
|
|
91261
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
91262
|
+
/**
|
|
91263
|
+
* The text to store, 1–1024 characters
|
|
91264
|
+
*/
|
|
91265
|
+
note: string
|
|
91266
|
+
/**
|
|
91267
|
+
* Optional labels stored alongside the note, at most 20
|
|
91268
|
+
*
|
|
91269
|
+
* @maxItems 20
|
|
91270
|
+
*/
|
|
91271
|
+
tags?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
91272
|
+
}
|
|
91273
|
+
|
|
91274
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
91275
|
+
/**
|
|
91276
|
+
* Identifier of the stored echo
|
|
91277
|
+
*/
|
|
91278
|
+
id: string
|
|
91279
|
+
/**
|
|
91280
|
+
* The note exactly as it was received
|
|
91281
|
+
*/
|
|
91282
|
+
note: string
|
|
91283
|
+
/**
|
|
91284
|
+
* The tags exactly as they were received
|
|
91285
|
+
*/
|
|
91286
|
+
tags: string[]
|
|
91287
|
+
/**
|
|
91288
|
+
* Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
|
|
91289
|
+
*/
|
|
91290
|
+
echo_id: string
|
|
91291
|
+
/**
|
|
91292
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91293
|
+
*/
|
|
91294
|
+
received_at: string
|
|
91295
|
+
}
|
|
91296
|
+
|
|
91297
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
91298
|
+
|
|
91299
|
+
}
|
|
91300
|
+
|
|
91301
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
91302
|
+
/**
|
|
91303
|
+
* Identifier of the stored echo
|
|
91304
|
+
*/
|
|
91305
|
+
id: string
|
|
91306
|
+
/**
|
|
91307
|
+
* The note exactly as it was received
|
|
91308
|
+
*/
|
|
91309
|
+
note: string
|
|
91310
|
+
/**
|
|
91311
|
+
* The tags exactly as they were received
|
|
91312
|
+
*/
|
|
91313
|
+
tags: string[]
|
|
91314
|
+
/**
|
|
91315
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91316
|
+
*/
|
|
91317
|
+
received_at: string
|
|
91318
|
+
}[]
|
|
91319
|
+
|
|
91320
|
+
export interface PlaygroundWorkflowPingInput {
|
|
91321
|
+
/**
|
|
91322
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
91323
|
+
*/
|
|
91324
|
+
kind?: string
|
|
91325
|
+
}
|
|
91326
|
+
|
|
91327
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
91328
|
+
/**
|
|
91329
|
+
* Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
|
|
91330
|
+
*/
|
|
91331
|
+
id: string
|
|
91332
|
+
/**
|
|
91333
|
+
* The name of the event that was published
|
|
91334
|
+
*/
|
|
91335
|
+
event: string
|
|
91336
|
+
}
|
|
91337
|
+
|
|
91338
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
91339
|
+
/**
|
|
91340
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
91341
|
+
*/
|
|
91342
|
+
limit?: number
|
|
91343
|
+
/**
|
|
91344
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
91345
|
+
*/
|
|
91346
|
+
cursor?: string
|
|
91347
|
+
/**
|
|
91348
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
|
|
91349
|
+
*/
|
|
91350
|
+
last_activity_after?: string
|
|
91351
|
+
/**
|
|
91352
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
|
|
91353
|
+
*/
|
|
91354
|
+
last_activity_before?: string
|
|
91355
|
+
}
|
|
91356
|
+
|
|
91357
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
91358
|
+
/**
|
|
91359
|
+
* This page of subjects, most recently active first
|
|
91360
|
+
*/
|
|
91361
|
+
items: {
|
|
91362
|
+
/**
|
|
91363
|
+
* Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
|
|
91364
|
+
*/
|
|
91365
|
+
subject_key: string
|
|
91366
|
+
/**
|
|
91367
|
+
* Human-readable name of the subject
|
|
91368
|
+
*/
|
|
91369
|
+
display_name: string
|
|
91370
|
+
/**
|
|
91371
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
91372
|
+
*/
|
|
91373
|
+
last_activity_at: string
|
|
91374
|
+
}[]
|
|
91375
|
+
/**
|
|
91376
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
91377
|
+
*/
|
|
91378
|
+
has_more: boolean
|
|
91379
|
+
/**
|
|
91380
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
91381
|
+
*/
|
|
91382
|
+
next_cursor: (string | null)
|
|
91383
|
+
}
|
|
91384
|
+
|
|
91385
|
+
export interface PlaygroundWsEchoInput {
|
|
91386
|
+
|
|
91387
|
+
}
|
|
91388
|
+
|
|
91389
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
91390
|
+
|
|
90579
91391
|
export interface RealtimeArchiveExportInput {
|
|
90580
91392
|
/**
|
|
90581
91393
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -91511,7 +92323,7 @@ avatarUrl?: string
|
|
|
91511
92323
|
*/
|
|
91512
92324
|
displayName: string
|
|
91513
92325
|
/**
|
|
91514
|
-
*
|
|
92326
|
+
* Lepsto identity to bind this profile to, stored verbatim as an opaque string. It is never resolved, validated against the platform or enriched. Omit it for a bot or a backend profile. At most one agent per product may claim a given Lepsto user
|
|
91515
92327
|
*/
|
|
91516
92328
|
lesslyUserId?: string
|
|
91517
92329
|
}
|
|
@@ -91546,7 +92358,7 @@ updatedAt: string
|
|
|
91546
92358
|
*/
|
|
91547
92359
|
displayName: string
|
|
91548
92360
|
/**
|
|
91549
|
-
* Bound
|
|
92361
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91550
92362
|
*/
|
|
91551
92363
|
lesslyUserId: (string | null)
|
|
91552
92364
|
}
|
|
@@ -91588,7 +92400,7 @@ updatedAt: string
|
|
|
91588
92400
|
*/
|
|
91589
92401
|
displayName: string
|
|
91590
92402
|
/**
|
|
91591
|
-
* Bound
|
|
92403
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91592
92404
|
*/
|
|
91593
92405
|
lesslyUserId: (string | null)
|
|
91594
92406
|
}
|
|
@@ -91634,7 +92446,7 @@ updatedAt: string
|
|
|
91634
92446
|
*/
|
|
91635
92447
|
displayName: string
|
|
91636
92448
|
/**
|
|
91637
|
-
* Bound
|
|
92449
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91638
92450
|
*/
|
|
91639
92451
|
lesslyUserId: (string | null)
|
|
91640
92452
|
}[]
|
|
@@ -91662,7 +92474,7 @@ avatarUrl?: (string | null)
|
|
|
91662
92474
|
*/
|
|
91663
92475
|
displayName?: string
|
|
91664
92476
|
/**
|
|
91665
|
-
*
|
|
92477
|
+
* Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
|
|
91666
92478
|
*/
|
|
91667
92479
|
lesslyUserId?: (string | null)
|
|
91668
92480
|
}
|
|
@@ -91697,7 +92509,7 @@ updatedAt: string
|
|
|
91697
92509
|
*/
|
|
91698
92510
|
displayName: string
|
|
91699
92511
|
/**
|
|
91700
|
-
* Bound
|
|
92512
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91701
92513
|
*/
|
|
91702
92514
|
lesslyUserId: (string | null)
|
|
91703
92515
|
}
|
|
@@ -92022,7 +92834,7 @@ attachmentCount: number
|
|
|
92022
92834
|
*/
|
|
92023
92835
|
authorExternalId: (string | null)
|
|
92024
92836
|
/**
|
|
92025
|
-
* The
|
|
92837
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92026
92838
|
*/
|
|
92027
92839
|
createdByIdentityId: (string | null)
|
|
92028
92840
|
}
|
|
@@ -92113,7 +92925,7 @@ attachmentCount: number
|
|
|
92113
92925
|
*/
|
|
92114
92926
|
authorExternalId: (string | null)
|
|
92115
92927
|
/**
|
|
92116
|
-
* The
|
|
92928
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92117
92929
|
*/
|
|
92118
92930
|
createdByIdentityId: (string | null)
|
|
92119
92931
|
}
|
|
@@ -92204,7 +93016,7 @@ attachmentCount: number
|
|
|
92204
93016
|
*/
|
|
92205
93017
|
authorExternalId: (string | null)
|
|
92206
93018
|
/**
|
|
92207
|
-
* The
|
|
93019
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92208
93020
|
*/
|
|
92209
93021
|
createdByIdentityId: (string | null)
|
|
92210
93022
|
}
|
|
@@ -92295,7 +93107,7 @@ attachmentCount: number
|
|
|
92295
93107
|
*/
|
|
92296
93108
|
authorExternalId: (string | null)
|
|
92297
93109
|
/**
|
|
92298
|
-
* The
|
|
93110
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92299
93111
|
*/
|
|
92300
93112
|
createdByIdentityId: (string | null)
|
|
92301
93113
|
}
|
|
@@ -92422,7 +93234,7 @@ attachmentCount: number
|
|
|
92422
93234
|
*/
|
|
92423
93235
|
authorExternalId: (string | null)
|
|
92424
93236
|
/**
|
|
92425
|
-
* The
|
|
93237
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92426
93238
|
*/
|
|
92427
93239
|
createdByIdentityId: (string | null)
|
|
92428
93240
|
}[]
|
|
@@ -92461,7 +93273,7 @@ createdAt: string
|
|
|
92461
93273
|
*/
|
|
92462
93274
|
messageId: string
|
|
92463
93275
|
/**
|
|
92464
|
-
* The
|
|
93276
|
+
* The Lepsto identity that made the edit
|
|
92465
93277
|
*/
|
|
92466
93278
|
editedByIdentityId: (string | null)
|
|
92467
93279
|
}[]
|
|
@@ -92557,7 +93369,7 @@ attachmentCount: number
|
|
|
92557
93369
|
*/
|
|
92558
93370
|
authorExternalId: (string | null)
|
|
92559
93371
|
/**
|
|
92560
|
-
* The
|
|
93372
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92561
93373
|
*/
|
|
92562
93374
|
createdByIdentityId: (string | null)
|
|
92563
93375
|
}
|
|
@@ -111163,7 +111975,7 @@ metadata?: {
|
|
|
111163
111975
|
*/
|
|
111164
111976
|
authorDisplay?: string
|
|
111165
111977
|
/**
|
|
111166
|
-
* Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a
|
|
111978
|
+
* Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a Lepsto identity
|
|
111167
111979
|
*/
|
|
111168
111980
|
authorExternalId: string
|
|
111169
111981
|
}
|
|
@@ -118908,6 +119720,10 @@ export interface WorkflowConfigListOutput {
|
|
|
118908
119720
|
items: {
|
|
118909
119721
|
key: string
|
|
118910
119722
|
is_secret: boolean
|
|
119723
|
+
/**
|
|
119724
|
+
* Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
|
|
119725
|
+
*/
|
|
119726
|
+
deprecated?: true
|
|
118911
119727
|
updated_at: string
|
|
118912
119728
|
}[]
|
|
118913
119729
|
next_cursor: (string | null)
|
|
@@ -118931,6 +119747,10 @@ secret: boolean
|
|
|
118931
119747
|
export interface WorkflowConfigSetOutput {
|
|
118932
119748
|
key: string
|
|
118933
119749
|
is_secret: boolean
|
|
119750
|
+
/**
|
|
119751
|
+
* Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
|
|
119752
|
+
*/
|
|
119753
|
+
deprecated?: true
|
|
118934
119754
|
updated_at: string
|
|
118935
119755
|
}
|
|
118936
119756
|
|