@lessly/sdk-app 92.1.0 → 92.3.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.
@@ -72500,38 +72500,13 @@ export interface BrainMemoryAddInput {
72500
72500
  }
72501
72501
  export interface BrainMemoryAddOutput {
72502
72502
  /**
72503
- * True when the memory was stored and its facts extracted (or there was nothing to extract). False when extraction failed — the raw memory is still stored under memory_id — or when the memory was not stored at all
72503
+ * True when the memory was stored
72504
72504
  */
72505
72505
  success: boolean;
72506
72506
  /**
72507
72507
  * Engine id of the memory just stored; keep it to read, replace or delete the memory later
72508
72508
  */
72509
72509
  memory_id: string;
72510
- /**
72511
- * Present only when success is false. Tell stored from not stored by `extraction`, not by this code: with extraction.status 'failed' the raw memory IS stored and searchable under memory_id, only its facts are missing — do not re-add the same content, that stores a duplicate. With no `extraction` nothing was stored, and the add can be retried
72512
- */
72513
- error_code?: string;
72514
- /**
72515
- * What fact extraction made of this memory
72516
- */
72517
- extraction?: {
72518
- /**
72519
- * How many memories extraction stored from this write, across every derived layer (facts, identity, profile, summaries) — not a count of facts alone
72520
- */
72521
- items: number;
72522
- /**
72523
- * ok = at least one memory was derived from it (a summary counts, so ok alone does not promise a fact); empty = nothing new came out of it — the content held nothing durable, or everything in it is already in memory; failed = extraction broke, the raw memory is stored without facts; skipped = the engine does not extract in this mode
72524
- */
72525
- status: ("ok" | "empty" | "failed" | "skipped");
72526
- /**
72527
- * The engine's code when extraction failed — or, with status ok, when it ran degraded but still stored its facts
72528
- */
72529
- error_code?: string;
72530
- /**
72531
- * The engine's own words for that failure or degradation — quote it when reporting a problem
72532
- */
72533
- error_message?: string;
72534
- };
72535
72510
  /**
72536
72511
  * Engine request id for this call — quote it when reporting a problem
72537
72512
  */
@@ -72875,23 +72850,6 @@ export interface BrainMemoryStatsOutput {
72875
72850
  */
72876
72851
  entityCount: number;
72877
72852
  };
72878
- /**
72879
- * Raw memories left without facts, for the caller's product and scope. Counts only, and a lower bound. Null when the engine could not compute it
72880
- */
72881
- extraction_gaps: ({
72882
- /**
72883
- * Raw memories (l1_raw) the scope holds
72884
- */
72885
- raw_total: number;
72886
- /**
72887
- * Raw memories no derived memory (fact, identity) points back to — their extraction produced nothing
72888
- */
72889
- raw_without_derived: number;
72890
- /**
72891
- * Of those, raw memories still in shadow status
72892
- */
72893
- shadow_without_derived: number;
72894
- } | null);
72895
72853
  }
72896
72854
  export interface BrainMemoryUpdateInput {
72897
72855
  /**
@@ -96672,6 +96630,332 @@ export interface OrganizationYoutubeInstallInput {
96672
96630
  export interface OrganizationYoutubeInstallOutput {
96673
96631
  url: string;
96674
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;
96675
96959
  export interface RealtimeArchiveExportInput {
96676
96960
  /**
96677
96961
  * Only entries with ts <= to_ts (epoch ms)
@@ -122126,6 +122410,10 @@ export interface TrackingReportsSourcePeopleOutput {
122126
122410
  }[];
122127
122411
  }
122128
122412
  export interface TrackingSnippetsGetInput {
122413
+ /**
122414
+ * true when the page runs the Lepsto consent banner: both snippets then carry data-consent="banner", and the tracker stays cookieless until the banner reports a decision. Default false.
122415
+ */
122416
+ consentBanner?: boolean;
122129
122417
  }
122130
122418
  export interface TrackingSnippetsGetOutput {
122131
122419
  /**
@@ -122169,15 +122457,15 @@ export interface UsersApikeysCreateOutput {
122169
122457
  */
122170
122458
  name: string;
122171
122459
  /**
122172
- * `publishable` — a browser-safe key (upk_…). It is the only type.
122460
+ * `publishable` — a browser-safe key (upk_…). It is the only type issued.
122173
122461
  */
122174
122462
  type: "publishable";
122175
122463
  /**
122176
- * The full value of the key, which is not a secret and stays readable.
122464
+ * The full value of a publishable key, which is not a secret and stays readable. Null for a retired server key, whose secret was never stored.
122177
122465
  */
122178
122466
  value: (string | null);
122179
122467
  /**
122180
- * `upk_` plus six characters — enough to recognise a key, never to use one.
122468
+ * `upk_` (or `usk_` on a retired server key) plus six characters — enough to recognise a key, never to use one.
122181
122469
  */
122182
122470
  prefix: string;
122183
122471
  /**
@@ -122205,15 +122493,15 @@ export interface UsersApikeysGetOutput {
122205
122493
  */
122206
122494
  name: string;
122207
122495
  /**
122208
- * `publishable` — a browser-safe key (upk_…). It is the only type.
122496
+ * `publishable` — a browser-safe key (upk_…), the only type issued. `server` — a retired secret key (usk_…), kept for audit and always revoked.
122209
122497
  */
122210
- type: "publishable";
122498
+ type: ("publishable" | "server");
122211
122499
  /**
122212
- * The full value of the key, which is not a secret and stays readable.
122500
+ * The full value of a publishable key, which is not a secret and stays readable. Null for a retired server key, whose secret was never stored.
122213
122501
  */
122214
122502
  value: (string | null);
122215
122503
  /**
122216
- * `upk_` plus six characters — enough to recognise a key, never to use one.
122504
+ * `upk_` (or `usk_` on a retired server key) plus six characters — enough to recognise a key, never to use one.
122217
122505
  */
122218
122506
  prefix: string;
122219
122507
  /**
@@ -122238,15 +122526,15 @@ export interface UsersApikeysListOutput {
122238
122526
  */
122239
122527
  name: string;
122240
122528
  /**
122241
- * `publishable` — a browser-safe key (upk_…). It is the only type.
122529
+ * `publishable` — a browser-safe key (upk_…), the only type issued. `server` — a retired secret key (usk_…), kept for audit and always revoked.
122242
122530
  */
122243
- type: "publishable";
122531
+ type: ("publishable" | "server");
122244
122532
  /**
122245
- * The full value of the key, which is not a secret and stays readable.
122533
+ * The full value of a publishable key, which is not a secret and stays readable. Null for a retired server key, whose secret was never stored.
122246
122534
  */
122247
122535
  value: (string | null);
122248
122536
  /**
122249
- * `upk_` plus six characters — enough to recognise a key, never to use one.
122537
+ * `upk_` (or `usk_` on a retired server key) plus six characters — enough to recognise a key, never to use one.
122250
122538
  */
122251
122539
  prefix: string;
122252
122540
  /**