@lepsto/sdk-app 89.3.0 → 89.5.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 +33 -1
- package/dist/_types/gen/client.gen.d.ts +11 -38
- 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/types.gen.d.ts +434 -331
- package/dist/index.cjs +108 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11295 -22
- 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/package.json +2 -12
- package/src/gen/bindings.gen.ts +97 -216
- package/src/gen/client.gen.ts +22 -71
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +38 -0
- package/src/gen/manifest.gen.ts +13 -21
- package/src/gen/types.gen.ts +460 -392
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -70
- package/dist/chunk-IWBH5QNX.js +0 -11406
- package/dist/chunk-IWBH5QNX.js.map +0 -1
- package/dist/playground/index.cjs +0 -106
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -78
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -119
|
@@ -82545,6 +82545,79 @@ export interface MailSuppressionRemoveOutput {
|
|
|
82545
82545
|
*/
|
|
82546
82546
|
removed: boolean;
|
|
82547
82547
|
}
|
|
82548
|
+
export interface MailTemplateArchiveInput {
|
|
82549
|
+
/**
|
|
82550
|
+
* Template id to archive
|
|
82551
|
+
*/
|
|
82552
|
+
id: string;
|
|
82553
|
+
}
|
|
82554
|
+
export interface MailTemplateArchiveOutput {
|
|
82555
|
+
/**
|
|
82556
|
+
* Template id
|
|
82557
|
+
*/
|
|
82558
|
+
id: string;
|
|
82559
|
+
/**
|
|
82560
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
82561
|
+
*/
|
|
82562
|
+
html: string;
|
|
82563
|
+
/**
|
|
82564
|
+
* Human label for the template
|
|
82565
|
+
*/
|
|
82566
|
+
name: string;
|
|
82567
|
+
/**
|
|
82568
|
+
* Plaintext body; null when none was supplied
|
|
82569
|
+
*/
|
|
82570
|
+
text: (string | null);
|
|
82571
|
+
/**
|
|
82572
|
+
* Lifecycle status: published once a revision has gone live
|
|
82573
|
+
*/
|
|
82574
|
+
status: ("draft" | "published");
|
|
82575
|
+
/**
|
|
82576
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
82577
|
+
*/
|
|
82578
|
+
subject: string;
|
|
82579
|
+
/**
|
|
82580
|
+
* When the template was created (ISO 8601 UTC)
|
|
82581
|
+
*/
|
|
82582
|
+
createdAt: string;
|
|
82583
|
+
/**
|
|
82584
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
82585
|
+
*/
|
|
82586
|
+
updatedAt: string;
|
|
82587
|
+
/**
|
|
82588
|
+
* Declared variables of this template (at most 20)
|
|
82589
|
+
*/
|
|
82590
|
+
variables: {
|
|
82591
|
+
/**
|
|
82592
|
+
* Placeholder identifier used as {{ name }}
|
|
82593
|
+
*/
|
|
82594
|
+
name: string;
|
|
82595
|
+
/**
|
|
82596
|
+
* Declared type (metadata; rendered as string in v1)
|
|
82597
|
+
*/
|
|
82598
|
+
type: ("string" | "number" | "boolean");
|
|
82599
|
+
/**
|
|
82600
|
+
* Value used when none is supplied
|
|
82601
|
+
*/
|
|
82602
|
+
fallback?: string;
|
|
82603
|
+
/**
|
|
82604
|
+
* If true, an absent value renders as empty string
|
|
82605
|
+
*/
|
|
82606
|
+
optional: boolean;
|
|
82607
|
+
}[];
|
|
82608
|
+
/**
|
|
82609
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
82610
|
+
*/
|
|
82611
|
+
archivedAt: (string | null);
|
|
82612
|
+
/**
|
|
82613
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
82614
|
+
*/
|
|
82615
|
+
draftRevision: (number | null);
|
|
82616
|
+
/**
|
|
82617
|
+
* Revision number a send renders; null until the template is first published
|
|
82618
|
+
*/
|
|
82619
|
+
currentRevision: (number | null);
|
|
82620
|
+
}
|
|
82548
82621
|
export interface MailTemplateCreateInput {
|
|
82549
82622
|
/**
|
|
82550
82623
|
* HTML body; may contain {{ variable }} placeholders
|
|
@@ -86387,7 +86460,7 @@ export interface MailTemplateCreateOutput {
|
|
|
86387
86460
|
*/
|
|
86388
86461
|
text: (string | null);
|
|
86389
86462
|
/**
|
|
86390
|
-
* Lifecycle status:
|
|
86463
|
+
* Lifecycle status: published once a revision has gone live
|
|
86391
86464
|
*/
|
|
86392
86465
|
status: ("draft" | "published");
|
|
86393
86466
|
/**
|
|
@@ -86423,6 +86496,18 @@ export interface MailTemplateCreateOutput {
|
|
|
86423
86496
|
*/
|
|
86424
86497
|
optional: boolean;
|
|
86425
86498
|
}[];
|
|
86499
|
+
/**
|
|
86500
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
86501
|
+
*/
|
|
86502
|
+
archivedAt: (string | null);
|
|
86503
|
+
/**
|
|
86504
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
86505
|
+
*/
|
|
86506
|
+
draftRevision: (number | null);
|
|
86507
|
+
/**
|
|
86508
|
+
* Revision number a send renders; null until the template is first published
|
|
86509
|
+
*/
|
|
86510
|
+
currentRevision: (number | null);
|
|
86426
86511
|
}
|
|
86427
86512
|
export interface MailTemplateDeleteInput {
|
|
86428
86513
|
/**
|
|
@@ -86436,6 +86521,22 @@ export interface MailTemplateDeleteOutput {
|
|
|
86436
86521
|
*/
|
|
86437
86522
|
deleted: boolean;
|
|
86438
86523
|
}
|
|
86524
|
+
export interface MailTemplateDraftDiscardInput {
|
|
86525
|
+
/**
|
|
86526
|
+
* Template id whose open draft is thrown away
|
|
86527
|
+
*/
|
|
86528
|
+
id: string;
|
|
86529
|
+
}
|
|
86530
|
+
export interface MailTemplateDraftDiscardOutput {
|
|
86531
|
+
/**
|
|
86532
|
+
* Revision number that was discarded
|
|
86533
|
+
*/
|
|
86534
|
+
revision: number;
|
|
86535
|
+
/**
|
|
86536
|
+
* True once the open draft is gone
|
|
86537
|
+
*/
|
|
86538
|
+
discarded: boolean;
|
|
86539
|
+
}
|
|
86439
86540
|
export interface MailTemplateGetInput {
|
|
86440
86541
|
/**
|
|
86441
86542
|
* Template id
|
|
@@ -86473,7 +86574,7 @@ export interface MailTemplateGetOutput {
|
|
|
86473
86574
|
last_sent_at: (string | null);
|
|
86474
86575
|
};
|
|
86475
86576
|
/**
|
|
86476
|
-
* Lifecycle status:
|
|
86577
|
+
* Lifecycle status: published once a revision has gone live
|
|
86477
86578
|
*/
|
|
86478
86579
|
status: ("draft" | "published");
|
|
86479
86580
|
/**
|
|
@@ -86509,8 +86610,24 @@ export interface MailTemplateGetOutput {
|
|
|
86509
86610
|
*/
|
|
86510
86611
|
optional: boolean;
|
|
86511
86612
|
}[];
|
|
86613
|
+
/**
|
|
86614
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
86615
|
+
*/
|
|
86616
|
+
archivedAt: (string | null);
|
|
86617
|
+
/**
|
|
86618
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
86619
|
+
*/
|
|
86620
|
+
draftRevision: (number | null);
|
|
86621
|
+
/**
|
|
86622
|
+
* Revision number a send renders; null until the template is first published
|
|
86623
|
+
*/
|
|
86624
|
+
currentRevision: (number | null);
|
|
86512
86625
|
}
|
|
86513
86626
|
export interface MailTemplateListInput {
|
|
86627
|
+
/**
|
|
86628
|
+
* Include archived templates, which are hidden by default. Archiving never stops a send: an archived template is still sendable by its id
|
|
86629
|
+
*/
|
|
86630
|
+
include_archived?: boolean;
|
|
86514
86631
|
}
|
|
86515
86632
|
export type MailTemplateListOutput = {
|
|
86516
86633
|
/**
|
|
@@ -86530,7 +86647,7 @@ export type MailTemplateListOutput = {
|
|
|
86530
86647
|
*/
|
|
86531
86648
|
text: (string | null);
|
|
86532
86649
|
/**
|
|
86533
|
-
* Lifecycle status:
|
|
86650
|
+
* Lifecycle status: published once a revision has gone live
|
|
86534
86651
|
*/
|
|
86535
86652
|
status: ("draft" | "published");
|
|
86536
86653
|
/**
|
|
@@ -86566,6 +86683,18 @@ export type MailTemplateListOutput = {
|
|
|
86566
86683
|
*/
|
|
86567
86684
|
optional: boolean;
|
|
86568
86685
|
}[];
|
|
86686
|
+
/**
|
|
86687
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
86688
|
+
*/
|
|
86689
|
+
archivedAt: (string | null);
|
|
86690
|
+
/**
|
|
86691
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
86692
|
+
*/
|
|
86693
|
+
draftRevision: (number | null);
|
|
86694
|
+
/**
|
|
86695
|
+
* Revision number a send renders; null until the template is first published
|
|
86696
|
+
*/
|
|
86697
|
+
currentRevision: (number | null);
|
|
86569
86698
|
}[];
|
|
86570
86699
|
export interface MailTemplatePublishInput {
|
|
86571
86700
|
/**
|
|
@@ -86591,7 +86720,283 @@ export interface MailTemplatePublishOutput {
|
|
|
86591
86720
|
*/
|
|
86592
86721
|
text: (string | null);
|
|
86593
86722
|
/**
|
|
86594
|
-
* Lifecycle status:
|
|
86723
|
+
* Lifecycle status: published once a revision has gone live
|
|
86724
|
+
*/
|
|
86725
|
+
status: ("draft" | "published");
|
|
86726
|
+
/**
|
|
86727
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
86728
|
+
*/
|
|
86729
|
+
subject: string;
|
|
86730
|
+
/**
|
|
86731
|
+
* When the template was created (ISO 8601 UTC)
|
|
86732
|
+
*/
|
|
86733
|
+
createdAt: string;
|
|
86734
|
+
/**
|
|
86735
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
86736
|
+
*/
|
|
86737
|
+
updatedAt: string;
|
|
86738
|
+
/**
|
|
86739
|
+
* Declared variables of this template (at most 20)
|
|
86740
|
+
*/
|
|
86741
|
+
variables: {
|
|
86742
|
+
/**
|
|
86743
|
+
* Placeholder identifier used as {{ name }}
|
|
86744
|
+
*/
|
|
86745
|
+
name: string;
|
|
86746
|
+
/**
|
|
86747
|
+
* Declared type (metadata; rendered as string in v1)
|
|
86748
|
+
*/
|
|
86749
|
+
type: ("string" | "number" | "boolean");
|
|
86750
|
+
/**
|
|
86751
|
+
* Value used when none is supplied
|
|
86752
|
+
*/
|
|
86753
|
+
fallback?: string;
|
|
86754
|
+
/**
|
|
86755
|
+
* If true, an absent value renders as empty string
|
|
86756
|
+
*/
|
|
86757
|
+
optional: boolean;
|
|
86758
|
+
}[];
|
|
86759
|
+
/**
|
|
86760
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
86761
|
+
*/
|
|
86762
|
+
archivedAt: (string | null);
|
|
86763
|
+
/**
|
|
86764
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
86765
|
+
*/
|
|
86766
|
+
draftRevision: (number | null);
|
|
86767
|
+
/**
|
|
86768
|
+
* Revision number a send renders; null until the template is first published
|
|
86769
|
+
*/
|
|
86770
|
+
currentRevision: (number | null);
|
|
86771
|
+
}
|
|
86772
|
+
export interface MailTemplateRestoreInput {
|
|
86773
|
+
/**
|
|
86774
|
+
* Template id
|
|
86775
|
+
*/
|
|
86776
|
+
id: string;
|
|
86777
|
+
/**
|
|
86778
|
+
* Revision number to make live again
|
|
86779
|
+
*/
|
|
86780
|
+
revision: number;
|
|
86781
|
+
}
|
|
86782
|
+
export interface MailTemplateRestoreOutput {
|
|
86783
|
+
/**
|
|
86784
|
+
* Template id
|
|
86785
|
+
*/
|
|
86786
|
+
id: string;
|
|
86787
|
+
/**
|
|
86788
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
86789
|
+
*/
|
|
86790
|
+
html: string;
|
|
86791
|
+
/**
|
|
86792
|
+
* Human label for the template
|
|
86793
|
+
*/
|
|
86794
|
+
name: string;
|
|
86795
|
+
/**
|
|
86796
|
+
* Plaintext body; null when none was supplied
|
|
86797
|
+
*/
|
|
86798
|
+
text: (string | null);
|
|
86799
|
+
/**
|
|
86800
|
+
* Lifecycle status: published once a revision has gone live
|
|
86801
|
+
*/
|
|
86802
|
+
status: ("draft" | "published");
|
|
86803
|
+
/**
|
|
86804
|
+
* Email subject; may contain {{ variable }} placeholders
|
|
86805
|
+
*/
|
|
86806
|
+
subject: string;
|
|
86807
|
+
/**
|
|
86808
|
+
* When the template was created (ISO 8601 UTC)
|
|
86809
|
+
*/
|
|
86810
|
+
createdAt: string;
|
|
86811
|
+
/**
|
|
86812
|
+
* When the template was last modified (ISO 8601 UTC)
|
|
86813
|
+
*/
|
|
86814
|
+
updatedAt: string;
|
|
86815
|
+
/**
|
|
86816
|
+
* Declared variables of this template (at most 20)
|
|
86817
|
+
*/
|
|
86818
|
+
variables: {
|
|
86819
|
+
/**
|
|
86820
|
+
* Placeholder identifier used as {{ name }}
|
|
86821
|
+
*/
|
|
86822
|
+
name: string;
|
|
86823
|
+
/**
|
|
86824
|
+
* Declared type (metadata; rendered as string in v1)
|
|
86825
|
+
*/
|
|
86826
|
+
type: ("string" | "number" | "boolean");
|
|
86827
|
+
/**
|
|
86828
|
+
* Value used when none is supplied
|
|
86829
|
+
*/
|
|
86830
|
+
fallback?: string;
|
|
86831
|
+
/**
|
|
86832
|
+
* If true, an absent value renders as empty string
|
|
86833
|
+
*/
|
|
86834
|
+
optional: boolean;
|
|
86835
|
+
}[];
|
|
86836
|
+
/**
|
|
86837
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
86838
|
+
*/
|
|
86839
|
+
archivedAt: (string | null);
|
|
86840
|
+
/**
|
|
86841
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
86842
|
+
*/
|
|
86843
|
+
draftRevision: (number | null);
|
|
86844
|
+
/**
|
|
86845
|
+
* Revision number a send renders; null until the template is first published
|
|
86846
|
+
*/
|
|
86847
|
+
currentRevision: (number | null);
|
|
86848
|
+
}
|
|
86849
|
+
export interface MailTemplateRevisionGetInput {
|
|
86850
|
+
/**
|
|
86851
|
+
* Template id
|
|
86852
|
+
*/
|
|
86853
|
+
id: string;
|
|
86854
|
+
/**
|
|
86855
|
+
* Revision number, counting from 1 for this template
|
|
86856
|
+
*/
|
|
86857
|
+
revision: number;
|
|
86858
|
+
}
|
|
86859
|
+
export interface MailTemplateRevisionGetOutput {
|
|
86860
|
+
/**
|
|
86861
|
+
* HTML body as authored in this revision
|
|
86862
|
+
*/
|
|
86863
|
+
html: string;
|
|
86864
|
+
/**
|
|
86865
|
+
* True for the revision a send currently renders
|
|
86866
|
+
*/
|
|
86867
|
+
live: boolean;
|
|
86868
|
+
/**
|
|
86869
|
+
* Plaintext body as authored in this revision; null when none was supplied
|
|
86870
|
+
*/
|
|
86871
|
+
text: (string | null);
|
|
86872
|
+
/**
|
|
86873
|
+
* Subject as authored in this revision
|
|
86874
|
+
*/
|
|
86875
|
+
subject: string;
|
|
86876
|
+
/**
|
|
86877
|
+
* Revision number, counting from 1 for this template
|
|
86878
|
+
*/
|
|
86879
|
+
revision: number;
|
|
86880
|
+
/**
|
|
86881
|
+
* When this revision was authored (ISO 8601 UTC)
|
|
86882
|
+
*/
|
|
86883
|
+
createdAt: string;
|
|
86884
|
+
/**
|
|
86885
|
+
* Identity that authored this revision; null when unknown
|
|
86886
|
+
*/
|
|
86887
|
+
createdBy: (string | null);
|
|
86888
|
+
/**
|
|
86889
|
+
* Variables declared by this revision (at most 20)
|
|
86890
|
+
*/
|
|
86891
|
+
variables: {
|
|
86892
|
+
/**
|
|
86893
|
+
* Placeholder identifier used as {{ name }}
|
|
86894
|
+
*/
|
|
86895
|
+
name: string;
|
|
86896
|
+
/**
|
|
86897
|
+
* Declared type (metadata; rendered as string in v1)
|
|
86898
|
+
*/
|
|
86899
|
+
type: ("string" | "number" | "boolean");
|
|
86900
|
+
/**
|
|
86901
|
+
* Value used when none is supplied
|
|
86902
|
+
*/
|
|
86903
|
+
fallback?: string;
|
|
86904
|
+
/**
|
|
86905
|
+
* If true, an absent value renders as empty string
|
|
86906
|
+
*/
|
|
86907
|
+
optional: boolean;
|
|
86908
|
+
}[];
|
|
86909
|
+
/**
|
|
86910
|
+
* When this revision first went live (ISO 8601 UTC); null for the open draft
|
|
86911
|
+
*/
|
|
86912
|
+
publishedAt: (string | null);
|
|
86913
|
+
}
|
|
86914
|
+
export interface MailTemplateRevisionListInput {
|
|
86915
|
+
/**
|
|
86916
|
+
* Template id
|
|
86917
|
+
*/
|
|
86918
|
+
id: string;
|
|
86919
|
+
}
|
|
86920
|
+
export type MailTemplateRevisionListOutput = {
|
|
86921
|
+
/**
|
|
86922
|
+
* HTML body as authored in this revision
|
|
86923
|
+
*/
|
|
86924
|
+
html: string;
|
|
86925
|
+
/**
|
|
86926
|
+
* True for the revision a send currently renders
|
|
86927
|
+
*/
|
|
86928
|
+
live: boolean;
|
|
86929
|
+
/**
|
|
86930
|
+
* Plaintext body as authored in this revision; null when none was supplied
|
|
86931
|
+
*/
|
|
86932
|
+
text: (string | null);
|
|
86933
|
+
/**
|
|
86934
|
+
* Subject as authored in this revision
|
|
86935
|
+
*/
|
|
86936
|
+
subject: string;
|
|
86937
|
+
/**
|
|
86938
|
+
* Revision number, counting from 1 for this template
|
|
86939
|
+
*/
|
|
86940
|
+
revision: number;
|
|
86941
|
+
/**
|
|
86942
|
+
* When this revision was authored (ISO 8601 UTC)
|
|
86943
|
+
*/
|
|
86944
|
+
createdAt: string;
|
|
86945
|
+
/**
|
|
86946
|
+
* Identity that authored this revision; null when unknown
|
|
86947
|
+
*/
|
|
86948
|
+
createdBy: (string | null);
|
|
86949
|
+
/**
|
|
86950
|
+
* Variables declared by this revision (at most 20)
|
|
86951
|
+
*/
|
|
86952
|
+
variables: {
|
|
86953
|
+
/**
|
|
86954
|
+
* Placeholder identifier used as {{ name }}
|
|
86955
|
+
*/
|
|
86956
|
+
name: string;
|
|
86957
|
+
/**
|
|
86958
|
+
* Declared type (metadata; rendered as string in v1)
|
|
86959
|
+
*/
|
|
86960
|
+
type: ("string" | "number" | "boolean");
|
|
86961
|
+
/**
|
|
86962
|
+
* Value used when none is supplied
|
|
86963
|
+
*/
|
|
86964
|
+
fallback?: string;
|
|
86965
|
+
/**
|
|
86966
|
+
* If true, an absent value renders as empty string
|
|
86967
|
+
*/
|
|
86968
|
+
optional: boolean;
|
|
86969
|
+
}[];
|
|
86970
|
+
/**
|
|
86971
|
+
* When this revision first went live (ISO 8601 UTC); null for the open draft
|
|
86972
|
+
*/
|
|
86973
|
+
publishedAt: (string | null);
|
|
86974
|
+
}[];
|
|
86975
|
+
export interface MailTemplateUnarchiveInput {
|
|
86976
|
+
/**
|
|
86977
|
+
* Template id to unarchive
|
|
86978
|
+
*/
|
|
86979
|
+
id: string;
|
|
86980
|
+
}
|
|
86981
|
+
export interface MailTemplateUnarchiveOutput {
|
|
86982
|
+
/**
|
|
86983
|
+
* Template id
|
|
86984
|
+
*/
|
|
86985
|
+
id: string;
|
|
86986
|
+
/**
|
|
86987
|
+
* HTML body; may contain {{ variable }} placeholders
|
|
86988
|
+
*/
|
|
86989
|
+
html: string;
|
|
86990
|
+
/**
|
|
86991
|
+
* Human label for the template
|
|
86992
|
+
*/
|
|
86993
|
+
name: string;
|
|
86994
|
+
/**
|
|
86995
|
+
* Plaintext body; null when none was supplied
|
|
86996
|
+
*/
|
|
86997
|
+
text: (string | null);
|
|
86998
|
+
/**
|
|
86999
|
+
* Lifecycle status: published once a revision has gone live
|
|
86595
87000
|
*/
|
|
86596
87001
|
status: ("draft" | "published");
|
|
86597
87002
|
/**
|
|
@@ -86627,6 +87032,18 @@ export interface MailTemplatePublishOutput {
|
|
|
86627
87032
|
*/
|
|
86628
87033
|
optional: boolean;
|
|
86629
87034
|
}[];
|
|
87035
|
+
/**
|
|
87036
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
87037
|
+
*/
|
|
87038
|
+
archivedAt: (string | null);
|
|
87039
|
+
/**
|
|
87040
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
87041
|
+
*/
|
|
87042
|
+
draftRevision: (number | null);
|
|
87043
|
+
/**
|
|
87044
|
+
* Revision number a send renders; null until the template is first published
|
|
87045
|
+
*/
|
|
87046
|
+
currentRevision: (number | null);
|
|
86630
87047
|
}
|
|
86631
87048
|
export interface MailTemplateUpdateInput {
|
|
86632
87049
|
/**
|
|
@@ -90474,7 +90891,7 @@ export interface MailTemplateUpdateOutput {
|
|
|
90474
90891
|
*/
|
|
90475
90892
|
text: (string | null);
|
|
90476
90893
|
/**
|
|
90477
|
-
* Lifecycle status:
|
|
90894
|
+
* Lifecycle status: published once a revision has gone live
|
|
90478
90895
|
*/
|
|
90479
90896
|
status: ("draft" | "published");
|
|
90480
90897
|
/**
|
|
@@ -90510,6 +90927,18 @@ export interface MailTemplateUpdateOutput {
|
|
|
90510
90927
|
*/
|
|
90511
90928
|
optional: boolean;
|
|
90512
90929
|
}[];
|
|
90930
|
+
/**
|
|
90931
|
+
* When the template was archived (ISO 8601 UTC); null while it is listed normally. Archiving never stops a send
|
|
90932
|
+
*/
|
|
90933
|
+
archivedAt: (string | null);
|
|
90934
|
+
/**
|
|
90935
|
+
* Revision number of the open, unpublished draft; null when there is none
|
|
90936
|
+
*/
|
|
90937
|
+
draftRevision: (number | null);
|
|
90938
|
+
/**
|
|
90939
|
+
* Revision number a send renders; null until the template is first published
|
|
90940
|
+
*/
|
|
90941
|
+
currentRevision: (number | null);
|
|
90513
90942
|
}
|
|
90514
90943
|
export interface MailUsageGetInput {
|
|
90515
90944
|
}
|
|
@@ -96113,332 +96542,6 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
96113
96542
|
export interface OrganizationYoutubeInstallOutput {
|
|
96114
96543
|
url: string;
|
|
96115
96544
|
}
|
|
96116
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
96117
|
-
/**
|
|
96118
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
96119
|
-
*/
|
|
96120
|
-
limit?: number;
|
|
96121
|
-
}
|
|
96122
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
96123
|
-
ok: boolean;
|
|
96124
|
-
minted: boolean;
|
|
96125
|
-
overview?: unknown;
|
|
96126
|
-
http_status: number;
|
|
96127
|
-
}
|
|
96128
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
96129
|
-
}
|
|
96130
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
96131
|
-
ok: boolean;
|
|
96132
|
-
minted: boolean;
|
|
96133
|
-
http_status: number;
|
|
96134
|
-
entitlements?: unknown;
|
|
96135
|
-
}
|
|
96136
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
96137
|
-
/**
|
|
96138
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
96139
|
-
*/
|
|
96140
|
-
value?: number;
|
|
96141
|
-
}
|
|
96142
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
96143
|
-
minted: boolean;
|
|
96144
|
-
accepted: (number | null);
|
|
96145
|
-
recorded: boolean;
|
|
96146
|
-
duplicates: (number | null);
|
|
96147
|
-
http_status: number;
|
|
96148
|
-
}
|
|
96149
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
96150
|
-
/**
|
|
96151
|
-
* Task title; defaults to a fixture label
|
|
96152
|
-
*/
|
|
96153
|
-
name?: string;
|
|
96154
|
-
/**
|
|
96155
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
96156
|
-
*/
|
|
96157
|
-
listId?: string;
|
|
96158
|
-
}
|
|
96159
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
96160
|
-
minted: boolean;
|
|
96161
|
-
task_id: (string | null);
|
|
96162
|
-
list_status: number;
|
|
96163
|
-
vend_status: number;
|
|
96164
|
-
clickup_status: number;
|
|
96165
|
-
installation_count: number;
|
|
96166
|
-
}
|
|
96167
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
96168
|
-
}
|
|
96169
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
96170
|
-
payload: string;
|
|
96171
|
-
event_id: string;
|
|
96172
|
-
provider: string;
|
|
96173
|
-
verified: boolean;
|
|
96174
|
-
product_id: string;
|
|
96175
|
-
occurred_at: string;
|
|
96176
|
-
connector_id: string;
|
|
96177
|
-
clickup_event: (string | null);
|
|
96178
|
-
receipt_count: number;
|
|
96179
|
-
} | {
|
|
96180
|
-
found: false;
|
|
96181
|
-
});
|
|
96182
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
96183
|
-
}
|
|
96184
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
96185
|
-
team: ({
|
|
96186
|
-
teamId: string;
|
|
96187
|
-
teamName: string;
|
|
96188
|
-
} | null);
|
|
96189
|
-
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
96190
|
-
tasks: {
|
|
96191
|
-
id: string;
|
|
96192
|
-
name: string;
|
|
96193
|
-
status: (string | null);
|
|
96194
|
-
}[];
|
|
96195
|
-
minted: boolean;
|
|
96196
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
96197
|
-
list_status: number;
|
|
96198
|
-
vend_status: number;
|
|
96199
|
-
lists_status: number;
|
|
96200
|
-
tasks_status: number;
|
|
96201
|
-
spaces_status: number;
|
|
96202
|
-
folders_status: number;
|
|
96203
|
-
installation_count: number;
|
|
96204
|
-
}
|
|
96205
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
96206
|
-
id: string;
|
|
96207
|
-
name: string;
|
|
96208
|
-
}
|
|
96209
|
-
export interface PlaygroundEchoPingInput {
|
|
96210
|
-
/**
|
|
96211
|
-
* The text to echo back, 1–1024 characters
|
|
96212
|
-
*/
|
|
96213
|
-
message: string;
|
|
96214
|
-
}
|
|
96215
|
-
export interface PlaygroundEchoPingOutput {
|
|
96216
|
-
/**
|
|
96217
|
-
* The message exactly as it was received
|
|
96218
|
-
*/
|
|
96219
|
-
message: string;
|
|
96220
|
-
/**
|
|
96221
|
-
* The product the call was resolved to
|
|
96222
|
-
*/
|
|
96223
|
-
productId: string;
|
|
96224
|
-
/**
|
|
96225
|
-
* ISO-8601 instant (UTC) at which the call reached the service
|
|
96226
|
-
*/
|
|
96227
|
-
receivedAt: string;
|
|
96228
|
-
}
|
|
96229
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
96230
|
-
}
|
|
96231
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
96232
|
-
file_id: string;
|
|
96233
|
-
removed: boolean;
|
|
96234
|
-
file_name: (string | null);
|
|
96235
|
-
mime_type: (string | null);
|
|
96236
|
-
product_id: string;
|
|
96237
|
-
occurred_at: string;
|
|
96238
|
-
connector_id: string;
|
|
96239
|
-
resource_state: string;
|
|
96240
|
-
} | {
|
|
96241
|
-
found: false;
|
|
96242
|
-
});
|
|
96243
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
96244
|
-
/**
|
|
96245
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
96246
|
-
*/
|
|
96247
|
-
fileId?: string;
|
|
96248
|
-
}
|
|
96249
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
96250
|
-
minted: boolean;
|
|
96251
|
-
file_id: (string | null);
|
|
96252
|
-
file_name: (string | null);
|
|
96253
|
-
mime_type: (string | null);
|
|
96254
|
-
file_count: number;
|
|
96255
|
-
get_status: number;
|
|
96256
|
-
list_status: number;
|
|
96257
|
-
vend_status: number;
|
|
96258
|
-
content_bytes: (number | null);
|
|
96259
|
-
}
|
|
96260
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
96261
|
-
}
|
|
96262
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
96263
|
-
minted: boolean;
|
|
96264
|
-
vended: boolean;
|
|
96265
|
-
customer_id: (string | null);
|
|
96266
|
-
vend_status: number;
|
|
96267
|
-
result_count: number;
|
|
96268
|
-
search_status: number;
|
|
96269
|
-
login_customer_id: (string | null);
|
|
96270
|
-
}
|
|
96271
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
96272
|
-
}
|
|
96273
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
96274
|
-
blocked: boolean;
|
|
96275
|
-
archived: boolean;
|
|
96276
|
-
productId: string;
|
|
96277
|
-
lastBlockTransition: ({
|
|
96278
|
-
eventId: string;
|
|
96279
|
-
eventName: string;
|
|
96280
|
-
productId: string;
|
|
96281
|
-
occurredAt: string;
|
|
96282
|
-
recordedAt: string;
|
|
96283
|
-
receiptCount: number;
|
|
96284
|
-
organizationId: string;
|
|
96285
|
-
cascadedFromOrg: boolean;
|
|
96286
|
-
} | null);
|
|
96287
|
-
lastArchiveTransition: ({
|
|
96288
|
-
eventId: string;
|
|
96289
|
-
eventName: string;
|
|
96290
|
-
productId: string;
|
|
96291
|
-
occurredAt: string;
|
|
96292
|
-
recordedAt: string;
|
|
96293
|
-
receiptCount: number;
|
|
96294
|
-
organizationId: string;
|
|
96295
|
-
cascadedFromOrg: boolean;
|
|
96296
|
-
} | null);
|
|
96297
|
-
}
|
|
96298
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
96299
|
-
}
|
|
96300
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
96301
|
-
eventId: string;
|
|
96302
|
-
eventName: string;
|
|
96303
|
-
productId: string;
|
|
96304
|
-
occurredAt: string;
|
|
96305
|
-
recordedAt: string;
|
|
96306
|
-
receiptCount: number;
|
|
96307
|
-
organizationId: string;
|
|
96308
|
-
cascadedFromOrg: boolean;
|
|
96309
|
-
}[];
|
|
96310
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
96311
|
-
}
|
|
96312
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
96313
|
-
payload?: unknown;
|
|
96314
|
-
event_id: string;
|
|
96315
|
-
provider: string;
|
|
96316
|
-
verified: boolean;
|
|
96317
|
-
product_id: string;
|
|
96318
|
-
occurred_at: string;
|
|
96319
|
-
connector_id: string;
|
|
96320
|
-
delivery_count: number;
|
|
96321
|
-
} | {
|
|
96322
|
-
found: false;
|
|
96323
|
-
});
|
|
96324
|
-
export interface PlaygroundWorkflowEchoInput {
|
|
96325
|
-
/**
|
|
96326
|
-
* The text to store, 1–1024 characters
|
|
96327
|
-
*/
|
|
96328
|
-
note: string;
|
|
96329
|
-
/**
|
|
96330
|
-
* Optional labels stored alongside the note, at most 20
|
|
96331
|
-
*
|
|
96332
|
-
* @maxItems 20
|
|
96333
|
-
*/
|
|
96334
|
-
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];
|
|
96335
|
-
}
|
|
96336
|
-
export interface PlaygroundWorkflowEchoOutput {
|
|
96337
|
-
/**
|
|
96338
|
-
* Identifier of the stored echo
|
|
96339
|
-
*/
|
|
96340
|
-
id: string;
|
|
96341
|
-
/**
|
|
96342
|
-
* The note exactly as it was received
|
|
96343
|
-
*/
|
|
96344
|
-
note: string;
|
|
96345
|
-
/**
|
|
96346
|
-
* The tags exactly as they were received
|
|
96347
|
-
*/
|
|
96348
|
-
tags: string[];
|
|
96349
|
-
/**
|
|
96350
|
-
* 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.
|
|
96351
|
-
*/
|
|
96352
|
-
echo_id: string;
|
|
96353
|
-
/**
|
|
96354
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
96355
|
-
*/
|
|
96356
|
-
received_at: string;
|
|
96357
|
-
}
|
|
96358
|
-
export interface PlaygroundWorkflowEchoListInput {
|
|
96359
|
-
}
|
|
96360
|
-
export type PlaygroundWorkflowEchoListOutput = {
|
|
96361
|
-
/**
|
|
96362
|
-
* Identifier of the stored echo
|
|
96363
|
-
*/
|
|
96364
|
-
id: string;
|
|
96365
|
-
/**
|
|
96366
|
-
* The note exactly as it was received
|
|
96367
|
-
*/
|
|
96368
|
-
note: string;
|
|
96369
|
-
/**
|
|
96370
|
-
* The tags exactly as they were received
|
|
96371
|
-
*/
|
|
96372
|
-
tags: string[];
|
|
96373
|
-
/**
|
|
96374
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
96375
|
-
*/
|
|
96376
|
-
received_at: string;
|
|
96377
|
-
}[];
|
|
96378
|
-
export interface PlaygroundWorkflowPingInput {
|
|
96379
|
-
/**
|
|
96380
|
-
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
96381
|
-
*/
|
|
96382
|
-
kind?: string;
|
|
96383
|
-
}
|
|
96384
|
-
export interface PlaygroundWorkflowPingOutput {
|
|
96385
|
-
/**
|
|
96386
|
-
* 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.
|
|
96387
|
-
*/
|
|
96388
|
-
id: string;
|
|
96389
|
-
/**
|
|
96390
|
-
* The name of the event that was published
|
|
96391
|
-
*/
|
|
96392
|
-
event: string;
|
|
96393
|
-
}
|
|
96394
|
-
export interface PlaygroundWorkflowSubjectsListInput {
|
|
96395
|
-
/**
|
|
96396
|
-
* How many subjects to return, 1–100. Defaults to 25.
|
|
96397
|
-
*/
|
|
96398
|
-
limit?: number;
|
|
96399
|
-
/**
|
|
96400
|
-
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
96401
|
-
*/
|
|
96402
|
-
cursor?: string;
|
|
96403
|
-
/**
|
|
96404
|
-
* 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.
|
|
96405
|
-
*/
|
|
96406
|
-
last_activity_after?: string;
|
|
96407
|
-
/**
|
|
96408
|
-
* 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.
|
|
96409
|
-
*/
|
|
96410
|
-
last_activity_before?: string;
|
|
96411
|
-
}
|
|
96412
|
-
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
96413
|
-
/**
|
|
96414
|
-
* This page of subjects, most recently active first
|
|
96415
|
-
*/
|
|
96416
|
-
items: {
|
|
96417
|
-
/**
|
|
96418
|
-
* 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.
|
|
96419
|
-
*/
|
|
96420
|
-
subject_key: string;
|
|
96421
|
-
/**
|
|
96422
|
-
* Human-readable name of the subject
|
|
96423
|
-
*/
|
|
96424
|
-
display_name: string;
|
|
96425
|
-
/**
|
|
96426
|
-
* ISO-8601 instant (UTC) of the subject last activity
|
|
96427
|
-
*/
|
|
96428
|
-
last_activity_at: string;
|
|
96429
|
-
}[];
|
|
96430
|
-
/**
|
|
96431
|
-
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
96432
|
-
*/
|
|
96433
|
-
has_more: boolean;
|
|
96434
|
-
/**
|
|
96435
|
-
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
96436
|
-
*/
|
|
96437
|
-
next_cursor: (string | null);
|
|
96438
|
-
}
|
|
96439
|
-
export interface PlaygroundWsEchoInput {
|
|
96440
|
-
}
|
|
96441
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
96442
96545
|
export interface RealtimeArchiveExportInput {
|
|
96443
96546
|
/**
|
|
96444
96547
|
* Only entries with ts <= to_ts (epoch ms)
|