@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.
@@ -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: a draft is editable, a published template is not
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: a draft is editable, a published template is not
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: a draft is editable, a published template is not
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: a draft is editable, a published template is not
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: a draft is editable, a published template is not
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,6 +96542,332 @@ export interface OrganizationYoutubeInstallInput {
96113
96542
  export interface OrganizationYoutubeInstallOutput {
96114
96543
  url: string;
96115
96544
  }
96545
+ export interface PlaygroundAnalyticsOverviewInput {
96546
+ /**
96547
+ * Max records per entity in recent[]; omit for the endpoint default
96548
+ */
96549
+ limit?: number;
96550
+ }
96551
+ export interface PlaygroundAnalyticsOverviewOutput {
96552
+ ok: boolean;
96553
+ minted: boolean;
96554
+ overview?: unknown;
96555
+ http_status: number;
96556
+ }
96557
+ export interface PlaygroundBillingEntitlementsInput {
96558
+ }
96559
+ export interface PlaygroundBillingEntitlementsOutput {
96560
+ ok: boolean;
96561
+ minted: boolean;
96562
+ http_status: number;
96563
+ entitlements?: unknown;
96564
+ }
96565
+ export interface PlaygroundBillingRecordUsageInput {
96566
+ /**
96567
+ * Quantity of events to record against playground-events (SUM); defaults to 1
96568
+ */
96569
+ value?: number;
96570
+ }
96571
+ export interface PlaygroundBillingRecordUsageOutput {
96572
+ minted: boolean;
96573
+ accepted: (number | null);
96574
+ recorded: boolean;
96575
+ duplicates: (number | null);
96576
+ http_status: number;
96577
+ }
96578
+ export interface PlaygroundClickupCreateTaskInput {
96579
+ /**
96580
+ * Task title; defaults to a fixture label
96581
+ */
96582
+ name?: string;
96583
+ /**
96584
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
96585
+ */
96586
+ listId?: string;
96587
+ }
96588
+ export interface PlaygroundClickupCreateTaskOutput {
96589
+ minted: boolean;
96590
+ task_id: (string | null);
96591
+ list_status: number;
96592
+ vend_status: number;
96593
+ clickup_status: number;
96594
+ installation_count: number;
96595
+ }
96596
+ export interface PlaygroundClickupGetLastWebhookInput {
96597
+ }
96598
+ export type PlaygroundClickupGetLastWebhookOutput = ({
96599
+ payload: string;
96600
+ event_id: string;
96601
+ provider: string;
96602
+ verified: boolean;
96603
+ product_id: string;
96604
+ occurred_at: string;
96605
+ connector_id: string;
96606
+ clickup_event: (string | null);
96607
+ receipt_count: number;
96608
+ } | {
96609
+ found: false;
96610
+ });
96611
+ export interface PlaygroundClickupGetOverviewInput {
96612
+ }
96613
+ export interface PlaygroundClickupGetOverviewOutput {
96614
+ team: ({
96615
+ teamId: string;
96616
+ teamName: string;
96617
+ } | null);
96618
+ lists: PlaygroundClickupGetOverviewOutputItems[];
96619
+ tasks: {
96620
+ id: string;
96621
+ name: string;
96622
+ status: (string | null);
96623
+ }[];
96624
+ minted: boolean;
96625
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
96626
+ list_status: number;
96627
+ vend_status: number;
96628
+ lists_status: number;
96629
+ tasks_status: number;
96630
+ spaces_status: number;
96631
+ folders_status: number;
96632
+ installation_count: number;
96633
+ }
96634
+ export interface PlaygroundClickupGetOverviewOutputItems {
96635
+ id: string;
96636
+ name: string;
96637
+ }
96638
+ export interface PlaygroundEchoPingInput {
96639
+ /**
96640
+ * The text to echo back, 1–1024 characters
96641
+ */
96642
+ message: string;
96643
+ }
96644
+ export interface PlaygroundEchoPingOutput {
96645
+ /**
96646
+ * The message exactly as it was received
96647
+ */
96648
+ message: string;
96649
+ /**
96650
+ * The product the call was resolved to
96651
+ */
96652
+ productId: string;
96653
+ /**
96654
+ * ISO-8601 instant (UTC) at which the call reached the service
96655
+ */
96656
+ receivedAt: string;
96657
+ }
96658
+ export interface PlaygroundGdriveGetLastChangeInput {
96659
+ }
96660
+ export type PlaygroundGdriveGetLastChangeOutput = ({
96661
+ file_id: string;
96662
+ removed: boolean;
96663
+ file_name: (string | null);
96664
+ mime_type: (string | null);
96665
+ product_id: string;
96666
+ occurred_at: string;
96667
+ connector_id: string;
96668
+ resource_state: string;
96669
+ } | {
96670
+ found: false;
96671
+ });
96672
+ export interface PlaygroundGdriveReadFileInput {
96673
+ /**
96674
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
96675
+ */
96676
+ fileId?: string;
96677
+ }
96678
+ export interface PlaygroundGdriveReadFileOutput {
96679
+ minted: boolean;
96680
+ file_id: (string | null);
96681
+ file_name: (string | null);
96682
+ mime_type: (string | null);
96683
+ file_count: number;
96684
+ get_status: number;
96685
+ list_status: number;
96686
+ vend_status: number;
96687
+ content_bytes: (number | null);
96688
+ }
96689
+ export interface PlaygroundGoogleadsReadCustomerInput {
96690
+ }
96691
+ export interface PlaygroundGoogleadsReadCustomerOutput {
96692
+ minted: boolean;
96693
+ vended: boolean;
96694
+ customer_id: (string | null);
96695
+ vend_status: number;
96696
+ result_count: number;
96697
+ search_status: number;
96698
+ login_customer_id: (string | null);
96699
+ }
96700
+ export interface PlaygroundLifecycleGetStateInput {
96701
+ }
96702
+ export interface PlaygroundLifecycleGetStateOutput {
96703
+ blocked: boolean;
96704
+ archived: boolean;
96705
+ productId: string;
96706
+ lastBlockTransition: ({
96707
+ eventId: string;
96708
+ eventName: string;
96709
+ productId: string;
96710
+ occurredAt: string;
96711
+ recordedAt: string;
96712
+ receiptCount: number;
96713
+ organizationId: string;
96714
+ cascadedFromOrg: boolean;
96715
+ } | null);
96716
+ lastArchiveTransition: ({
96717
+ eventId: string;
96718
+ eventName: string;
96719
+ productId: string;
96720
+ occurredAt: string;
96721
+ recordedAt: string;
96722
+ receiptCount: number;
96723
+ organizationId: string;
96724
+ cascadedFromOrg: boolean;
96725
+ } | null);
96726
+ }
96727
+ export interface PlaygroundLifecycleListEventsInput {
96728
+ }
96729
+ export type PlaygroundLifecycleListEventsOutput = {
96730
+ eventId: string;
96731
+ eventName: string;
96732
+ productId: string;
96733
+ occurredAt: string;
96734
+ recordedAt: string;
96735
+ receiptCount: number;
96736
+ organizationId: string;
96737
+ cascadedFromOrg: boolean;
96738
+ }[];
96739
+ export interface PlaygroundWebhookGetLastInput {
96740
+ }
96741
+ export type PlaygroundWebhookGetLastOutput = ({
96742
+ payload?: unknown;
96743
+ event_id: string;
96744
+ provider: string;
96745
+ verified: boolean;
96746
+ product_id: string;
96747
+ occurred_at: string;
96748
+ connector_id: string;
96749
+ delivery_count: number;
96750
+ } | {
96751
+ found: false;
96752
+ });
96753
+ export interface PlaygroundWorkflowEchoInput {
96754
+ /**
96755
+ * The text to store, 1–1024 characters
96756
+ */
96757
+ note: string;
96758
+ /**
96759
+ * Optional labels stored alongside the note, at most 20
96760
+ *
96761
+ * @maxItems 20
96762
+ */
96763
+ 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];
96764
+ }
96765
+ export interface PlaygroundWorkflowEchoOutput {
96766
+ /**
96767
+ * Identifier of the stored echo
96768
+ */
96769
+ id: string;
96770
+ /**
96771
+ * The note exactly as it was received
96772
+ */
96773
+ note: string;
96774
+ /**
96775
+ * The tags exactly as they were received
96776
+ */
96777
+ tags: string[];
96778
+ /**
96779
+ * 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.
96780
+ */
96781
+ echo_id: string;
96782
+ /**
96783
+ * ISO-8601 instant (UTC) at which the echo was stored
96784
+ */
96785
+ received_at: string;
96786
+ }
96787
+ export interface PlaygroundWorkflowEchoListInput {
96788
+ }
96789
+ export type PlaygroundWorkflowEchoListOutput = {
96790
+ /**
96791
+ * Identifier of the stored echo
96792
+ */
96793
+ id: string;
96794
+ /**
96795
+ * The note exactly as it was received
96796
+ */
96797
+ note: string;
96798
+ /**
96799
+ * The tags exactly as they were received
96800
+ */
96801
+ tags: string[];
96802
+ /**
96803
+ * ISO-8601 instant (UTC) at which the echo was stored
96804
+ */
96805
+ received_at: string;
96806
+ }[];
96807
+ export interface PlaygroundWorkflowPingInput {
96808
+ /**
96809
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
96810
+ */
96811
+ kind?: string;
96812
+ }
96813
+ export interface PlaygroundWorkflowPingOutput {
96814
+ /**
96815
+ * 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.
96816
+ */
96817
+ id: string;
96818
+ /**
96819
+ * The name of the event that was published
96820
+ */
96821
+ event: string;
96822
+ }
96823
+ export interface PlaygroundWorkflowSubjectsListInput {
96824
+ /**
96825
+ * How many subjects to return, 1–100. Defaults to 25.
96826
+ */
96827
+ limit?: number;
96828
+ /**
96829
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
96830
+ */
96831
+ cursor?: string;
96832
+ /**
96833
+ * 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.
96834
+ */
96835
+ last_activity_after?: string;
96836
+ /**
96837
+ * 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.
96838
+ */
96839
+ last_activity_before?: string;
96840
+ }
96841
+ export interface PlaygroundWorkflowSubjectsListOutput {
96842
+ /**
96843
+ * This page of subjects, most recently active first
96844
+ */
96845
+ items: {
96846
+ /**
96847
+ * 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.
96848
+ */
96849
+ subject_key: string;
96850
+ /**
96851
+ * Human-readable name of the subject
96852
+ */
96853
+ display_name: string;
96854
+ /**
96855
+ * ISO-8601 instant (UTC) of the subject last activity
96856
+ */
96857
+ last_activity_at: string;
96858
+ }[];
96859
+ /**
96860
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
96861
+ */
96862
+ has_more: boolean;
96863
+ /**
96864
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
96865
+ */
96866
+ next_cursor: (string | null);
96867
+ }
96868
+ export interface PlaygroundWsEchoInput {
96869
+ }
96870
+ export type PlaygroundWsEchoOutput = unknown;
96116
96871
  export interface RealtimeArchiveExportInput {
96117
96872
  /**
96118
96873
  * Only entries with ts <= to_ts (epoch ms)
@@ -96988,7 +97743,7 @@ export interface SupportAgentCreateInput {
96988
97743
  */
96989
97744
  displayName: string;
96990
97745
  /**
96991
- * Lessly 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 Lessly user
97746
+ * 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
96992
97747
  */
96993
97748
  lesslyUserId?: string;
96994
97749
  }
@@ -97022,7 +97777,7 @@ export interface SupportAgentCreateOutput {
97022
97777
  */
97023
97778
  displayName: string;
97024
97779
  /**
97025
- * Bound Lessly 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
97780
+ * 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
97026
97781
  */
97027
97782
  lesslyUserId: (string | null);
97028
97783
  }
@@ -97062,7 +97817,7 @@ export interface SupportAgentGetOutput {
97062
97817
  */
97063
97818
  displayName: string;
97064
97819
  /**
97065
- * Bound Lessly 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
97820
+ * 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
97066
97821
  */
97067
97822
  lesslyUserId: (string | null);
97068
97823
  }
@@ -97106,7 +97861,7 @@ export interface SupportAgentListOutput {
97106
97861
  */
97107
97862
  displayName: string;
97108
97863
  /**
97109
- * Bound Lessly 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
97864
+ * 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
97110
97865
  */
97111
97866
  lesslyUserId: (string | null);
97112
97867
  }[];
@@ -97133,7 +97888,7 @@ export interface SupportAgentUpdateInput {
97133
97888
  */
97134
97889
  displayName?: string;
97135
97890
  /**
97136
- * Lessly identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97891
+ * Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
97137
97892
  */
97138
97893
  lesslyUserId?: (string | null);
97139
97894
  }
@@ -97167,7 +97922,7 @@ export interface SupportAgentUpdateOutput {
97167
97922
  */
97168
97923
  displayName: string;
97169
97924
  /**
97170
- * Bound Lessly 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
97925
+ * 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
97171
97926
  */
97172
97927
  lesslyUserId: (string | null);
97173
97928
  }
@@ -97479,7 +98234,7 @@ export interface SupportMessageCreateOutput {
97479
98234
  */
97480
98235
  authorExternalId: (string | null);
97481
98236
  /**
97482
- * The Lessly 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
98237
+ * 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
97483
98238
  */
97484
98239
  createdByIdentityId: (string | null);
97485
98240
  }
@@ -97568,7 +98323,7 @@ export interface SupportMessageDeleteOutput {
97568
98323
  */
97569
98324
  authorExternalId: (string | null);
97570
98325
  /**
97571
- * The Lessly 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
98326
+ * 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
97572
98327
  */
97573
98328
  createdByIdentityId: (string | null);
97574
98329
  }
@@ -97657,7 +98412,7 @@ export interface SupportMessageDeleteAnyOutput {
97657
98412
  */
97658
98413
  authorExternalId: (string | null);
97659
98414
  /**
97660
- * The Lessly 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
98415
+ * 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
97661
98416
  */
97662
98417
  createdByIdentityId: (string | null);
97663
98418
  }
@@ -97746,7 +98501,7 @@ export interface SupportMessageGetOutput {
97746
98501
  */
97747
98502
  authorExternalId: (string | null);
97748
98503
  /**
97749
- * The Lessly 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
98504
+ * 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
97750
98505
  */
97751
98506
  createdByIdentityId: (string | null);
97752
98507
  }
@@ -97871,7 +98626,7 @@ export interface SupportMessageListOutput {
97871
98626
  */
97872
98627
  authorExternalId: (string | null);
97873
98628
  /**
97874
- * The Lessly 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
98629
+ * 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
97875
98630
  */
97876
98631
  createdByIdentityId: (string | null);
97877
98632
  }[];
@@ -97908,7 +98663,7 @@ export interface SupportMessageRevisionsListOutput {
97908
98663
  */
97909
98664
  messageId: string;
97910
98665
  /**
97911
- * The Lessly identity that made the edit
98666
+ * The Lepsto identity that made the edit
97912
98667
  */
97913
98668
  editedByIdentityId: (string | null);
97914
98669
  }[];
@@ -98002,7 +98757,7 @@ export interface SupportMessageUpdateOutput {
98002
98757
  */
98003
98758
  authorExternalId: (string | null);
98004
98759
  /**
98005
- * The Lessly 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
98760
+ * 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
98006
98761
  */
98007
98762
  createdByIdentityId: (string | null);
98008
98763
  }
@@ -117970,7 +118725,7 @@ export interface SupportThreadCreateInput {
117970
118725
  */
117971
118726
  authorDisplay?: string;
117972
118727
  /**
117973
- * 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 Lessly identity
118728
+ * 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
117974
118729
  */
117975
118730
  authorExternalId: string;
117976
118731
  }
@@ -125501,6 +126256,10 @@ export interface WorkflowConfigListOutput {
125501
126256
  items: {
125502
126257
  key: string;
125503
126258
  is_secret: boolean;
126259
+ /**
126260
+ * Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
126261
+ */
126262
+ deprecated?: true;
125504
126263
  updated_at: string;
125505
126264
  }[];
125506
126265
  next_cursor: (string | null);
@@ -125522,6 +126281,10 @@ export interface WorkflowConfigSetInput {
125522
126281
  export interface WorkflowConfigSetOutput {
125523
126282
  key: string;
125524
126283
  is_secret: boolean;
126284
+ /**
126285
+ * Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
126286
+ */
126287
+ deprecated?: true;
125525
126288
  updated_at: string;
125526
126289
  }
125527
126290
  export interface WorkflowDefinitionCreateInput {