@lepsto/sdk-app 89.7.0 → 89.7.2

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.
@@ -96630,6 +96630,332 @@ export interface OrganizationYoutubeInstallInput {
96630
96630
  export interface OrganizationYoutubeInstallOutput {
96631
96631
  url: string;
96632
96632
  }
96633
+ export interface PlaygroundAnalyticsOverviewInput {
96634
+ /**
96635
+ * Max records per entity in recent[]; omit for the endpoint default
96636
+ */
96637
+ limit?: number;
96638
+ }
96639
+ export interface PlaygroundAnalyticsOverviewOutput {
96640
+ ok: boolean;
96641
+ minted: boolean;
96642
+ overview?: unknown;
96643
+ http_status: number;
96644
+ }
96645
+ export interface PlaygroundBillingEntitlementsInput {
96646
+ }
96647
+ export interface PlaygroundBillingEntitlementsOutput {
96648
+ ok: boolean;
96649
+ minted: boolean;
96650
+ http_status: number;
96651
+ entitlements?: unknown;
96652
+ }
96653
+ export interface PlaygroundBillingRecordUsageInput {
96654
+ /**
96655
+ * Quantity of events to record against playground-events (SUM); defaults to 1
96656
+ */
96657
+ value?: number;
96658
+ }
96659
+ export interface PlaygroundBillingRecordUsageOutput {
96660
+ minted: boolean;
96661
+ accepted: (number | null);
96662
+ recorded: boolean;
96663
+ duplicates: (number | null);
96664
+ http_status: number;
96665
+ }
96666
+ export interface PlaygroundClickupCreateTaskInput {
96667
+ /**
96668
+ * Task title; defaults to a fixture label
96669
+ */
96670
+ name?: string;
96671
+ /**
96672
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
96673
+ */
96674
+ listId?: string;
96675
+ }
96676
+ export interface PlaygroundClickupCreateTaskOutput {
96677
+ minted: boolean;
96678
+ task_id: (string | null);
96679
+ list_status: number;
96680
+ vend_status: number;
96681
+ clickup_status: number;
96682
+ installation_count: number;
96683
+ }
96684
+ export interface PlaygroundClickupGetLastWebhookInput {
96685
+ }
96686
+ export type PlaygroundClickupGetLastWebhookOutput = ({
96687
+ payload: string;
96688
+ event_id: string;
96689
+ provider: string;
96690
+ verified: boolean;
96691
+ product_id: string;
96692
+ occurred_at: string;
96693
+ connector_id: string;
96694
+ clickup_event: (string | null);
96695
+ receipt_count: number;
96696
+ } | {
96697
+ found: false;
96698
+ });
96699
+ export interface PlaygroundClickupGetOverviewInput {
96700
+ }
96701
+ export interface PlaygroundClickupGetOverviewOutput {
96702
+ team: ({
96703
+ teamId: string;
96704
+ teamName: string;
96705
+ } | null);
96706
+ lists: PlaygroundClickupGetOverviewOutputItems[];
96707
+ tasks: {
96708
+ id: string;
96709
+ name: string;
96710
+ status: (string | null);
96711
+ }[];
96712
+ minted: boolean;
96713
+ spaces: PlaygroundClickupGetOverviewOutputItems[];
96714
+ list_status: number;
96715
+ vend_status: number;
96716
+ lists_status: number;
96717
+ tasks_status: number;
96718
+ spaces_status: number;
96719
+ folders_status: number;
96720
+ installation_count: number;
96721
+ }
96722
+ export interface PlaygroundClickupGetOverviewOutputItems {
96723
+ id: string;
96724
+ name: string;
96725
+ }
96726
+ export interface PlaygroundEchoPingInput {
96727
+ /**
96728
+ * The text to echo back, 1–1024 characters
96729
+ */
96730
+ message: string;
96731
+ }
96732
+ export interface PlaygroundEchoPingOutput {
96733
+ /**
96734
+ * The message exactly as it was received
96735
+ */
96736
+ message: string;
96737
+ /**
96738
+ * The product the call was resolved to
96739
+ */
96740
+ productId: string;
96741
+ /**
96742
+ * ISO-8601 instant (UTC) at which the call reached the service
96743
+ */
96744
+ receivedAt: string;
96745
+ }
96746
+ export interface PlaygroundGdriveGetLastChangeInput {
96747
+ }
96748
+ export type PlaygroundGdriveGetLastChangeOutput = ({
96749
+ file_id: string;
96750
+ removed: boolean;
96751
+ file_name: (string | null);
96752
+ mime_type: (string | null);
96753
+ product_id: string;
96754
+ occurred_at: string;
96755
+ connector_id: string;
96756
+ resource_state: string;
96757
+ } | {
96758
+ found: false;
96759
+ });
96760
+ export interface PlaygroundGdriveReadFileInput {
96761
+ /**
96762
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
96763
+ */
96764
+ fileId?: string;
96765
+ }
96766
+ export interface PlaygroundGdriveReadFileOutput {
96767
+ minted: boolean;
96768
+ file_id: (string | null);
96769
+ file_name: (string | null);
96770
+ mime_type: (string | null);
96771
+ file_count: number;
96772
+ get_status: number;
96773
+ list_status: number;
96774
+ vend_status: number;
96775
+ content_bytes: (number | null);
96776
+ }
96777
+ export interface PlaygroundGoogleadsReadCustomerInput {
96778
+ }
96779
+ export interface PlaygroundGoogleadsReadCustomerOutput {
96780
+ minted: boolean;
96781
+ vended: boolean;
96782
+ customer_id: (string | null);
96783
+ vend_status: number;
96784
+ result_count: number;
96785
+ search_status: number;
96786
+ login_customer_id: (string | null);
96787
+ }
96788
+ export interface PlaygroundLifecycleGetStateInput {
96789
+ }
96790
+ export interface PlaygroundLifecycleGetStateOutput {
96791
+ blocked: boolean;
96792
+ archived: boolean;
96793
+ productId: string;
96794
+ lastBlockTransition: ({
96795
+ eventId: string;
96796
+ eventName: string;
96797
+ productId: string;
96798
+ occurredAt: string;
96799
+ recordedAt: string;
96800
+ receiptCount: number;
96801
+ organizationId: string;
96802
+ cascadedFromOrg: boolean;
96803
+ } | null);
96804
+ lastArchiveTransition: ({
96805
+ eventId: string;
96806
+ eventName: string;
96807
+ productId: string;
96808
+ occurredAt: string;
96809
+ recordedAt: string;
96810
+ receiptCount: number;
96811
+ organizationId: string;
96812
+ cascadedFromOrg: boolean;
96813
+ } | null);
96814
+ }
96815
+ export interface PlaygroundLifecycleListEventsInput {
96816
+ }
96817
+ export type PlaygroundLifecycleListEventsOutput = {
96818
+ eventId: string;
96819
+ eventName: string;
96820
+ productId: string;
96821
+ occurredAt: string;
96822
+ recordedAt: string;
96823
+ receiptCount: number;
96824
+ organizationId: string;
96825
+ cascadedFromOrg: boolean;
96826
+ }[];
96827
+ export interface PlaygroundWebhookGetLastInput {
96828
+ }
96829
+ export type PlaygroundWebhookGetLastOutput = ({
96830
+ payload?: unknown;
96831
+ event_id: string;
96832
+ provider: string;
96833
+ verified: boolean;
96834
+ product_id: string;
96835
+ occurred_at: string;
96836
+ connector_id: string;
96837
+ delivery_count: number;
96838
+ } | {
96839
+ found: false;
96840
+ });
96841
+ export interface PlaygroundWorkflowEchoInput {
96842
+ /**
96843
+ * The text to store, 1–1024 characters
96844
+ */
96845
+ note: string;
96846
+ /**
96847
+ * Optional labels stored alongside the note, at most 20
96848
+ *
96849
+ * @maxItems 20
96850
+ */
96851
+ 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];
96852
+ }
96853
+ export interface PlaygroundWorkflowEchoOutput {
96854
+ /**
96855
+ * Identifier of the stored echo
96856
+ */
96857
+ id: string;
96858
+ /**
96859
+ * The note exactly as it was received
96860
+ */
96861
+ note: string;
96862
+ /**
96863
+ * The tags exactly as they were received
96864
+ */
96865
+ tags: string[];
96866
+ /**
96867
+ * 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.
96868
+ */
96869
+ echo_id: string;
96870
+ /**
96871
+ * ISO-8601 instant (UTC) at which the echo was stored
96872
+ */
96873
+ received_at: string;
96874
+ }
96875
+ export interface PlaygroundWorkflowEchoListInput {
96876
+ }
96877
+ export type PlaygroundWorkflowEchoListOutput = {
96878
+ /**
96879
+ * Identifier of the stored echo
96880
+ */
96881
+ id: string;
96882
+ /**
96883
+ * The note exactly as it was received
96884
+ */
96885
+ note: string;
96886
+ /**
96887
+ * The tags exactly as they were received
96888
+ */
96889
+ tags: string[];
96890
+ /**
96891
+ * ISO-8601 instant (UTC) at which the echo was stored
96892
+ */
96893
+ received_at: string;
96894
+ }[];
96895
+ export interface PlaygroundWorkflowPingInput {
96896
+ /**
96897
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
96898
+ */
96899
+ kind?: string;
96900
+ }
96901
+ export interface PlaygroundWorkflowPingOutput {
96902
+ /**
96903
+ * 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.
96904
+ */
96905
+ id: string;
96906
+ /**
96907
+ * The name of the event that was published
96908
+ */
96909
+ event: string;
96910
+ }
96911
+ export interface PlaygroundWorkflowSubjectsListInput {
96912
+ /**
96913
+ * How many subjects to return, 1–100. Defaults to 25.
96914
+ */
96915
+ limit?: number;
96916
+ /**
96917
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
96918
+ */
96919
+ cursor?: string;
96920
+ /**
96921
+ * 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.
96922
+ */
96923
+ last_activity_after?: string;
96924
+ /**
96925
+ * 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.
96926
+ */
96927
+ last_activity_before?: string;
96928
+ }
96929
+ export interface PlaygroundWorkflowSubjectsListOutput {
96930
+ /**
96931
+ * This page of subjects, most recently active first
96932
+ */
96933
+ items: {
96934
+ /**
96935
+ * 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.
96936
+ */
96937
+ subject_key: string;
96938
+ /**
96939
+ * Human-readable name of the subject
96940
+ */
96941
+ display_name: string;
96942
+ /**
96943
+ * ISO-8601 instant (UTC) of the subject last activity
96944
+ */
96945
+ last_activity_at: string;
96946
+ }[];
96947
+ /**
96948
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
96949
+ */
96950
+ has_more: boolean;
96951
+ /**
96952
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
96953
+ */
96954
+ next_cursor: (string | null);
96955
+ }
96956
+ export interface PlaygroundWsEchoInput {
96957
+ }
96958
+ export type PlaygroundWsEchoOutput = unknown;
96633
96959
  export interface RealtimeArchiveExportInput {
96634
96960
  /**
96635
96961
  * Only entries with ts <= to_ts (epoch ms)
@@ -122363,7 +122689,7 @@ export interface UsersConfigGetOutput {
122363
122689
  */
122364
122690
  codeEnabled: boolean;
122365
122691
  /**
122366
- * Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
122692
+ * Base URL magic links point at, e.g. "https://public.lepsto.com/{productId}/users". Null uses the deployment default.
122367
122693
  */
122368
122694
  linkBaseUrl: (string | null);
122369
122695
  /**
@@ -122487,7 +122813,7 @@ export interface UsersConfigGetOutput {
122487
122813
  */
122488
122814
  doubleOptIn: boolean;
122489
122815
  /**
122490
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
122816
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lepsto Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
122491
122817
  */
122492
122818
  retentionDays: number;
122493
122819
  /**
@@ -122657,7 +122983,7 @@ export interface UsersConfigUpsertInput {
122657
122983
  */
122658
122984
  codeEnabled?: boolean;
122659
122985
  /**
122660
- * Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
122986
+ * Base URL magic links point at, e.g. "https://public.lepsto.com/{productId}/users". Null uses the deployment default.
122661
122987
  */
122662
122988
  linkBaseUrl?: (string | null);
122663
122989
  /**
@@ -122827,7 +123153,7 @@ export interface UsersConfigUpsertInput {
122827
123153
  */
122828
123154
  doubleOptIn?: boolean;
122829
123155
  /**
122830
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
123156
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lepsto Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
122831
123157
  */
122832
123158
  retentionDays?: number;
122833
123159
  /**
@@ -123039,7 +123365,7 @@ export interface UsersConfigUpsertOutput {
123039
123365
  */
123040
123366
  codeEnabled: boolean;
123041
123367
  /**
123042
- * Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
123368
+ * Base URL magic links point at, e.g. "https://public.lepsto.com/{productId}/users". Null uses the deployment default.
123043
123369
  */
123044
123370
  linkBaseUrl: (string | null);
123045
123371
  /**
@@ -123163,7 +123489,7 @@ export interface UsersConfigUpsertOutput {
123163
123489
  */
123164
123490
  doubleOptIn: boolean;
123165
123491
  /**
123166
- * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
123492
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lepsto Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
123167
123493
  */
123168
123494
  retentionDays: number;
123169
123495
  /**
@@ -123493,11 +123819,11 @@ export interface UsersOpsRetentionGetOutput {
123493
123819
  */
123494
123820
  waitlistRetentionDays: number;
123495
123821
  /**
123496
- * What Lessly PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
123822
+ * What Lepsto PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
123497
123823
  */
123498
123824
  waitlistPromisedMaxDays: number;
123499
123825
  /**
123500
- * True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lessly’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lessly published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
123826
+ * True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lepsto’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lepsto published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
123501
123827
  */
123502
123828
  waitlistWiderThanPromised: boolean;
123503
123829
  }