@lessly/sdk-app 121.2.0 → 121.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.
@@ -346631,7 +346631,7 @@ export interface BrainCognitionStatusOutput {
346631
346631
  error: (string | null);
346632
346632
  result?: unknown;
346633
346633
  run_id: string;
346634
- status: ("running" | "done" | "failed");
346634
+ status: string;
346635
346635
  started_at: string;
346636
346636
  finished_at: (string | null);
346637
346637
  } | null);
@@ -346640,7 +346640,7 @@ export interface BrainCognitionStatusOutput {
346640
346640
  error: (string | null);
346641
346641
  result?: unknown;
346642
346642
  run_id: string;
346643
- status: ("running" | "done" | "failed");
346643
+ status: string;
346644
346644
  started_at: string;
346645
346645
  finished_at: (string | null);
346646
346646
  } | null);
@@ -347984,10 +347984,6 @@ export interface BrainMemoryAddInput {
347984
347984
  metadata?: {
347985
347985
  [k: string]: unknown;
347986
347986
  };
347987
- /**
347988
- * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
347989
- */
347990
- idempotency_key?: string;
347991
347987
  /**
347992
347988
  * Source authority (highest→lowest): policy > official > team > informal. Omit to default to official; an unrecognized value is rejected.
347993
347989
  */
@@ -348031,20 +348027,12 @@ export interface BrainMemoryAddOutput {
348031
348027
  * Engine request id for this call — quote it when reporting a problem
348032
348028
  */
348033
348029
  request_id: string;
348034
- /**
348035
- * True when an unkeyed add matched one completed in the last 10 minutes; no new memory was written
348036
- */
348037
- deduplicated?: boolean;
348038
348030
  }
348039
348031
  export interface BrainMemoryDeleteInput {
348040
348032
  /**
348041
348033
  * Engine memory id
348042
348034
  */
348043
348035
  memory_id: string;
348044
- /**
348045
- * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
348046
- */
348047
- idempotency_key?: string;
348048
348036
  }
348049
348037
  export interface BrainMemoryDeleteOutput {
348050
348038
  /**
@@ -348056,7 +348044,7 @@ export interface BrainMemoryDeleteOutput {
348056
348044
  */
348057
348045
  request_id: string;
348058
348046
  /**
348059
- * 1 when the engine removed this memory from vector or graph storage; 0 when it was already gone
348047
+ * How many memory rows the engine removed for this id; 0 when it was already gone
348060
348048
  */
348061
348049
  deleted_count: number;
348062
348050
  }
@@ -348093,10 +348081,6 @@ export interface BrainMemoryGetOutput {
348093
348081
  * The memory text itself
348094
348082
  */
348095
348083
  content: string;
348096
- /**
348097
- * True when this memory was machine-extracted from a raw memory
348098
- */
348099
- derived: boolean;
348100
348084
  /**
348101
348085
  * Engine user namespace the memory was written under
348102
348086
  */
@@ -348207,10 +348191,6 @@ export interface BrainMemoryListOutput {
348207
348191
  * The memory text itself
348208
348192
  */
348209
348193
  content: string;
348210
- /**
348211
- * True when this memory was machine-extracted from a raw memory
348212
- */
348213
- derived: boolean;
348214
348194
  /**
348215
348195
  * Engine user namespace the memory was written under
348216
348196
  */
@@ -348294,31 +348274,10 @@ export interface BrainMemorySearchOutputItems {
348294
348274
  * How closely this hit matches the query — higher is closer. An engine-internal scale, not a percentage; compare hits against each other, never against a fixed threshold.
348295
348275
  */
348296
348276
  score: number;
348297
- /**
348298
- * Readable raw memory for verification; null when missing or outside your scope
348299
- */
348300
- source: ({
348301
- /**
348302
- * Raw memory text, at most 2000 Unicode characters
348303
- */
348304
- content: string;
348305
- /**
348306
- * Id of the raw memory this item was extracted from
348307
- */
348308
- memory_id: string;
348309
- /**
348310
- * True when the raw memory text was longer than 2000 Unicode characters
348311
- */
348312
- truncated: boolean;
348313
- } | null);
348314
348277
  /**
348315
348278
  * The memory text itself
348316
348279
  */
348317
348280
  content: string;
348318
- /**
348319
- * True when this memory was machine-extracted from a raw memory; extracted content can be wrong
348320
- */
348321
- derived: boolean;
348322
348281
  /**
348323
348282
  * When the remembered EVENT happened, epoch milliseconds; null when the writer stated no time
348324
348283
  */
@@ -348434,10 +348393,6 @@ export interface BrainMemoryUpdateInput {
348434
348393
  * Engine memory id
348435
348394
  */
348436
348395
  memory_id: string;
348437
- /**
348438
- * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
348439
- */
348440
- idempotency_key?: string;
348441
348396
  }
348442
348397
  export interface BrainMemoryUpdateOutput {
348443
348398
  /**
@@ -389033,332 +388988,6 @@ export interface OrganizationYoutubeInstallInput {
389033
388988
  export interface OrganizationYoutubeInstallOutput {
389034
388989
  url: string;
389035
388990
  }
389036
- export interface PlaygroundAnalyticsOverviewInput {
389037
- /**
389038
- * Max records per entity in recent[]; omit for the endpoint default
389039
- */
389040
- limit?: number;
389041
- }
389042
- export interface PlaygroundAnalyticsOverviewOutput {
389043
- ok: boolean;
389044
- minted: boolean;
389045
- overview?: unknown;
389046
- http_status: number;
389047
- }
389048
- export interface PlaygroundBillingEntitlementsInput {
389049
- }
389050
- export interface PlaygroundBillingEntitlementsOutput {
389051
- ok: boolean;
389052
- minted: boolean;
389053
- http_status: number;
389054
- entitlements?: unknown;
389055
- }
389056
- export interface PlaygroundBillingRecordUsageInput {
389057
- /**
389058
- * Quantity of events to record against playground-events (SUM); defaults to 1
389059
- */
389060
- value?: number;
389061
- }
389062
- export interface PlaygroundBillingRecordUsageOutput {
389063
- minted: boolean;
389064
- accepted: (number | null);
389065
- recorded: boolean;
389066
- duplicates: (number | null);
389067
- http_status: number;
389068
- }
389069
- export interface PlaygroundClickupCreateTaskInput {
389070
- /**
389071
- * Task title; defaults to a fixture label
389072
- */
389073
- name?: string;
389074
- /**
389075
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
389076
- */
389077
- listId?: string;
389078
- }
389079
- export interface PlaygroundClickupCreateTaskOutput {
389080
- minted: boolean;
389081
- task_id: (string | null);
389082
- list_status: number;
389083
- vend_status: number;
389084
- clickup_status: number;
389085
- installation_count: number;
389086
- }
389087
- export interface PlaygroundClickupGetLastWebhookInput {
389088
- }
389089
- export type PlaygroundClickupGetLastWebhookOutput = ({
389090
- payload: string;
389091
- event_id: string;
389092
- provider: string;
389093
- verified: boolean;
389094
- product_id: string;
389095
- occurred_at: string;
389096
- connector_id: string;
389097
- clickup_event: (string | null);
389098
- receipt_count: number;
389099
- } | {
389100
- found: false;
389101
- });
389102
- export interface PlaygroundClickupGetOverviewInput {
389103
- }
389104
- export interface PlaygroundClickupGetOverviewOutput {
389105
- team: ({
389106
- teamId: string;
389107
- teamName: string;
389108
- } | null);
389109
- lists: PlaygroundClickupGetOverviewOutputItems[];
389110
- tasks: {
389111
- id: string;
389112
- name: string;
389113
- status: (string | null);
389114
- }[];
389115
- minted: boolean;
389116
- spaces: PlaygroundClickupGetOverviewOutputItems[];
389117
- list_status: number;
389118
- vend_status: number;
389119
- lists_status: number;
389120
- tasks_status: number;
389121
- spaces_status: number;
389122
- folders_status: number;
389123
- installation_count: number;
389124
- }
389125
- export interface PlaygroundClickupGetOverviewOutputItems {
389126
- id: string;
389127
- name: string;
389128
- }
389129
- export interface PlaygroundEchoPingInput {
389130
- /**
389131
- * The text to echo back, 1–1024 characters
389132
- */
389133
- message: string;
389134
- }
389135
- export interface PlaygroundEchoPingOutput {
389136
- /**
389137
- * The message exactly as it was received
389138
- */
389139
- message: string;
389140
- /**
389141
- * The product the call was resolved to
389142
- */
389143
- productId: string;
389144
- /**
389145
- * ISO-8601 instant (UTC) at which the call reached the service
389146
- */
389147
- receivedAt: string;
389148
- }
389149
- export interface PlaygroundGdriveGetLastChangeInput {
389150
- }
389151
- export type PlaygroundGdriveGetLastChangeOutput = ({
389152
- file_id: string;
389153
- removed: boolean;
389154
- file_name: (string | null);
389155
- mime_type: (string | null);
389156
- product_id: string;
389157
- occurred_at: string;
389158
- connector_id: string;
389159
- resource_state: string;
389160
- } | {
389161
- found: false;
389162
- });
389163
- export interface PlaygroundGdriveReadFileInput {
389164
- /**
389165
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
389166
- */
389167
- fileId?: string;
389168
- }
389169
- export interface PlaygroundGdriveReadFileOutput {
389170
- minted: boolean;
389171
- file_id: (string | null);
389172
- file_name: (string | null);
389173
- mime_type: (string | null);
389174
- file_count: number;
389175
- get_status: number;
389176
- list_status: number;
389177
- vend_status: number;
389178
- content_bytes: (number | null);
389179
- }
389180
- export interface PlaygroundGoogleadsReadCustomerInput {
389181
- }
389182
- export interface PlaygroundGoogleadsReadCustomerOutput {
389183
- minted: boolean;
389184
- vended: boolean;
389185
- customer_id: (string | null);
389186
- vend_status: number;
389187
- result_count: number;
389188
- search_status: number;
389189
- login_customer_id: (string | null);
389190
- }
389191
- export interface PlaygroundLifecycleGetStateInput {
389192
- }
389193
- export interface PlaygroundLifecycleGetStateOutput {
389194
- blocked: boolean;
389195
- archived: boolean;
389196
- productId: string;
389197
- lastBlockTransition: ({
389198
- eventId: string;
389199
- eventName: string;
389200
- productId: string;
389201
- occurredAt: string;
389202
- recordedAt: string;
389203
- receiptCount: number;
389204
- organizationId: string;
389205
- cascadedFromOrg: boolean;
389206
- } | null);
389207
- lastArchiveTransition: ({
389208
- eventId: string;
389209
- eventName: string;
389210
- productId: string;
389211
- occurredAt: string;
389212
- recordedAt: string;
389213
- receiptCount: number;
389214
- organizationId: string;
389215
- cascadedFromOrg: boolean;
389216
- } | null);
389217
- }
389218
- export interface PlaygroundLifecycleListEventsInput {
389219
- }
389220
- export type PlaygroundLifecycleListEventsOutput = {
389221
- eventId: string;
389222
- eventName: string;
389223
- productId: string;
389224
- occurredAt: string;
389225
- recordedAt: string;
389226
- receiptCount: number;
389227
- organizationId: string;
389228
- cascadedFromOrg: boolean;
389229
- }[];
389230
- export interface PlaygroundWebhookGetLastInput {
389231
- }
389232
- export type PlaygroundWebhookGetLastOutput = ({
389233
- payload?: unknown;
389234
- event_id: string;
389235
- provider: string;
389236
- verified: boolean;
389237
- product_id: string;
389238
- occurred_at: string;
389239
- connector_id: string;
389240
- delivery_count: number;
389241
- } | {
389242
- found: false;
389243
- });
389244
- export interface PlaygroundWorkflowEchoInput {
389245
- /**
389246
- * The text to store, 1–1024 characters
389247
- */
389248
- note: string;
389249
- /**
389250
- * Optional labels stored alongside the note, at most 20
389251
- *
389252
- * @maxItems 20
389253
- */
389254
- 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];
389255
- }
389256
- export interface PlaygroundWorkflowEchoOutput {
389257
- /**
389258
- * Identifier of the stored echo
389259
- */
389260
- id: string;
389261
- /**
389262
- * The note exactly as it was received
389263
- */
389264
- note: string;
389265
- /**
389266
- * The tags exactly as they were received
389267
- */
389268
- tags: string[];
389269
- /**
389270
- * 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.
389271
- */
389272
- echo_id: string;
389273
- /**
389274
- * ISO-8601 instant (UTC) at which the echo was stored
389275
- */
389276
- received_at: string;
389277
- }
389278
- export interface PlaygroundWorkflowEchoListInput {
389279
- }
389280
- export type PlaygroundWorkflowEchoListOutput = {
389281
- /**
389282
- * Identifier of the stored echo
389283
- */
389284
- id: string;
389285
- /**
389286
- * The note exactly as it was received
389287
- */
389288
- note: string;
389289
- /**
389290
- * The tags exactly as they were received
389291
- */
389292
- tags: string[];
389293
- /**
389294
- * ISO-8601 instant (UTC) at which the echo was stored
389295
- */
389296
- received_at: string;
389297
- }[];
389298
- export interface PlaygroundWorkflowPingInput {
389299
- /**
389300
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
389301
- */
389302
- kind?: string;
389303
- }
389304
- export interface PlaygroundWorkflowPingOutput {
389305
- /**
389306
- * 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.
389307
- */
389308
- id: string;
389309
- /**
389310
- * The name of the event that was published
389311
- */
389312
- event: string;
389313
- }
389314
- export interface PlaygroundWorkflowSubjectsListInput {
389315
- /**
389316
- * How many subjects to return, 1–100. Defaults to 25.
389317
- */
389318
- limit?: number;
389319
- /**
389320
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
389321
- */
389322
- cursor?: string;
389323
- /**
389324
- * 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.
389325
- */
389326
- last_activity_after?: string;
389327
- /**
389328
- * 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.
389329
- */
389330
- last_activity_before?: string;
389331
- }
389332
- export interface PlaygroundWorkflowSubjectsListOutput {
389333
- /**
389334
- * This page of subjects, most recently active first
389335
- */
389336
- items: {
389337
- /**
389338
- * 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.
389339
- */
389340
- subject_key: string;
389341
- /**
389342
- * Human-readable name of the subject
389343
- */
389344
- display_name: string;
389345
- /**
389346
- * ISO-8601 instant (UTC) of the subject last activity
389347
- */
389348
- last_activity_at: string;
389349
- }[];
389350
- /**
389351
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
389352
- */
389353
- has_more: boolean;
389354
- /**
389355
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
389356
- */
389357
- next_cursor: (string | null);
389358
- }
389359
- export interface PlaygroundWsEchoInput {
389360
- }
389361
- export type PlaygroundWsEchoOutput = unknown;
389362
388991
  export interface RealtimeArchiveExportInput {
389363
388992
  /**
389364
388993
  * Only entries with ts <= to_ts (epoch ms)