@lessly/sdk-app 120.3.0 → 121.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -20
- package/dist/_types/gen/client.gen.d.ts +38 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +358 -3
- package/dist/chunk-3QRFL3AM.js +12425 -0
- package/dist/chunk-3QRFL3AM.js.map +1 -0
- package/dist/index.cjs +225 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -12255
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +213 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +22 -2
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +404 -3
|
@@ -346631,7 +346631,7 @@ export interface BrainCognitionStatusOutput {
|
|
|
346631
346631
|
error: (string | null);
|
|
346632
346632
|
result?: unknown;
|
|
346633
346633
|
run_id: string;
|
|
346634
|
-
status:
|
|
346634
|
+
status: ("running" | "done" | "failed");
|
|
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:
|
|
346643
|
+
status: ("running" | "done" | "failed");
|
|
346644
346644
|
started_at: string;
|
|
346645
346645
|
finished_at: (string | null);
|
|
346646
346646
|
} | null);
|
|
@@ -348044,7 +348044,7 @@ export interface BrainMemoryDeleteOutput {
|
|
|
348044
348044
|
*/
|
|
348045
348045
|
request_id: string;
|
|
348046
348046
|
/**
|
|
348047
|
-
*
|
|
348047
|
+
* 1 when the engine removed this memory from vector or graph storage; 0 when it was already gone
|
|
348048
348048
|
*/
|
|
348049
348049
|
deleted_count: number;
|
|
348050
348050
|
}
|
|
@@ -348081,6 +348081,10 @@ export interface BrainMemoryGetOutput {
|
|
|
348081
348081
|
* The memory text itself
|
|
348082
348082
|
*/
|
|
348083
348083
|
content: string;
|
|
348084
|
+
/**
|
|
348085
|
+
* True when this memory was machine-extracted from a raw memory
|
|
348086
|
+
*/
|
|
348087
|
+
derived: boolean;
|
|
348084
348088
|
/**
|
|
348085
348089
|
* Engine user namespace the memory was written under
|
|
348086
348090
|
*/
|
|
@@ -348191,6 +348195,10 @@ export interface BrainMemoryListOutput {
|
|
|
348191
348195
|
* The memory text itself
|
|
348192
348196
|
*/
|
|
348193
348197
|
content: string;
|
|
348198
|
+
/**
|
|
348199
|
+
* True when this memory was machine-extracted from a raw memory
|
|
348200
|
+
*/
|
|
348201
|
+
derived: boolean;
|
|
348194
348202
|
/**
|
|
348195
348203
|
* Engine user namespace the memory was written under
|
|
348196
348204
|
*/
|
|
@@ -348274,10 +348282,31 @@ export interface BrainMemorySearchOutputItems {
|
|
|
348274
348282
|
* 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.
|
|
348275
348283
|
*/
|
|
348276
348284
|
score: number;
|
|
348285
|
+
/**
|
|
348286
|
+
* Readable raw memory for verification; null when missing or outside your scope
|
|
348287
|
+
*/
|
|
348288
|
+
source: ({
|
|
348289
|
+
/**
|
|
348290
|
+
* Raw memory text, at most 2000 Unicode characters
|
|
348291
|
+
*/
|
|
348292
|
+
content: string;
|
|
348293
|
+
/**
|
|
348294
|
+
* Id of the raw memory this item was extracted from
|
|
348295
|
+
*/
|
|
348296
|
+
memory_id: string;
|
|
348297
|
+
/**
|
|
348298
|
+
* True when the raw memory text was longer than 2000 Unicode characters
|
|
348299
|
+
*/
|
|
348300
|
+
truncated: boolean;
|
|
348301
|
+
} | null);
|
|
348277
348302
|
/**
|
|
348278
348303
|
* The memory text itself
|
|
348279
348304
|
*/
|
|
348280
348305
|
content: string;
|
|
348306
|
+
/**
|
|
348307
|
+
* True when this memory was machine-extracted from a raw memory; extracted content can be wrong
|
|
348308
|
+
*/
|
|
348309
|
+
derived: boolean;
|
|
348281
348310
|
/**
|
|
348282
348311
|
* When the remembered EVENT happened, epoch milliseconds; null when the writer stated no time
|
|
348283
348312
|
*/
|
|
@@ -388946,6 +388975,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
388946
388975
|
export interface OrganizationYoutubeInstallOutput {
|
|
388947
388976
|
url: string;
|
|
388948
388977
|
}
|
|
388978
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
388979
|
+
/**
|
|
388980
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
388981
|
+
*/
|
|
388982
|
+
limit?: number;
|
|
388983
|
+
}
|
|
388984
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
388985
|
+
ok: boolean;
|
|
388986
|
+
minted: boolean;
|
|
388987
|
+
overview?: unknown;
|
|
388988
|
+
http_status: number;
|
|
388989
|
+
}
|
|
388990
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
388991
|
+
}
|
|
388992
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
388993
|
+
ok: boolean;
|
|
388994
|
+
minted: boolean;
|
|
388995
|
+
http_status: number;
|
|
388996
|
+
entitlements?: unknown;
|
|
388997
|
+
}
|
|
388998
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
388999
|
+
/**
|
|
389000
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
389001
|
+
*/
|
|
389002
|
+
value?: number;
|
|
389003
|
+
}
|
|
389004
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
389005
|
+
minted: boolean;
|
|
389006
|
+
accepted: (number | null);
|
|
389007
|
+
recorded: boolean;
|
|
389008
|
+
duplicates: (number | null);
|
|
389009
|
+
http_status: number;
|
|
389010
|
+
}
|
|
389011
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
389012
|
+
/**
|
|
389013
|
+
* Task title; defaults to a fixture label
|
|
389014
|
+
*/
|
|
389015
|
+
name?: string;
|
|
389016
|
+
/**
|
|
389017
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
389018
|
+
*/
|
|
389019
|
+
listId?: string;
|
|
389020
|
+
}
|
|
389021
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
389022
|
+
minted: boolean;
|
|
389023
|
+
task_id: (string | null);
|
|
389024
|
+
list_status: number;
|
|
389025
|
+
vend_status: number;
|
|
389026
|
+
clickup_status: number;
|
|
389027
|
+
installation_count: number;
|
|
389028
|
+
}
|
|
389029
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
389030
|
+
}
|
|
389031
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
389032
|
+
payload: string;
|
|
389033
|
+
event_id: string;
|
|
389034
|
+
provider: string;
|
|
389035
|
+
verified: boolean;
|
|
389036
|
+
product_id: string;
|
|
389037
|
+
occurred_at: string;
|
|
389038
|
+
connector_id: string;
|
|
389039
|
+
clickup_event: (string | null);
|
|
389040
|
+
receipt_count: number;
|
|
389041
|
+
} | {
|
|
389042
|
+
found: false;
|
|
389043
|
+
});
|
|
389044
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
389045
|
+
}
|
|
389046
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
389047
|
+
team: ({
|
|
389048
|
+
teamId: string;
|
|
389049
|
+
teamName: string;
|
|
389050
|
+
} | null);
|
|
389051
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
389052
|
+
tasks: {
|
|
389053
|
+
id: string;
|
|
389054
|
+
name: string;
|
|
389055
|
+
status: (string | null);
|
|
389056
|
+
}[];
|
|
389057
|
+
minted: boolean;
|
|
389058
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
389059
|
+
list_status: number;
|
|
389060
|
+
vend_status: number;
|
|
389061
|
+
lists_status: number;
|
|
389062
|
+
tasks_status: number;
|
|
389063
|
+
spaces_status: number;
|
|
389064
|
+
folders_status: number;
|
|
389065
|
+
installation_count: number;
|
|
389066
|
+
}
|
|
389067
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
389068
|
+
id: string;
|
|
389069
|
+
name: string;
|
|
389070
|
+
}
|
|
389071
|
+
export interface PlaygroundEchoPingInput {
|
|
389072
|
+
/**
|
|
389073
|
+
* The text to echo back, 1–1024 characters
|
|
389074
|
+
*/
|
|
389075
|
+
message: string;
|
|
389076
|
+
}
|
|
389077
|
+
export interface PlaygroundEchoPingOutput {
|
|
389078
|
+
/**
|
|
389079
|
+
* The message exactly as it was received
|
|
389080
|
+
*/
|
|
389081
|
+
message: string;
|
|
389082
|
+
/**
|
|
389083
|
+
* The product the call was resolved to
|
|
389084
|
+
*/
|
|
389085
|
+
productId: string;
|
|
389086
|
+
/**
|
|
389087
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
389088
|
+
*/
|
|
389089
|
+
receivedAt: string;
|
|
389090
|
+
}
|
|
389091
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
389092
|
+
}
|
|
389093
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
389094
|
+
file_id: string;
|
|
389095
|
+
removed: boolean;
|
|
389096
|
+
file_name: (string | null);
|
|
389097
|
+
mime_type: (string | null);
|
|
389098
|
+
product_id: string;
|
|
389099
|
+
occurred_at: string;
|
|
389100
|
+
connector_id: string;
|
|
389101
|
+
resource_state: string;
|
|
389102
|
+
} | {
|
|
389103
|
+
found: false;
|
|
389104
|
+
});
|
|
389105
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
389106
|
+
/**
|
|
389107
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
389108
|
+
*/
|
|
389109
|
+
fileId?: string;
|
|
389110
|
+
}
|
|
389111
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
389112
|
+
minted: boolean;
|
|
389113
|
+
file_id: (string | null);
|
|
389114
|
+
file_name: (string | null);
|
|
389115
|
+
mime_type: (string | null);
|
|
389116
|
+
file_count: number;
|
|
389117
|
+
get_status: number;
|
|
389118
|
+
list_status: number;
|
|
389119
|
+
vend_status: number;
|
|
389120
|
+
content_bytes: (number | null);
|
|
389121
|
+
}
|
|
389122
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
389123
|
+
}
|
|
389124
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
389125
|
+
minted: boolean;
|
|
389126
|
+
vended: boolean;
|
|
389127
|
+
customer_id: (string | null);
|
|
389128
|
+
vend_status: number;
|
|
389129
|
+
result_count: number;
|
|
389130
|
+
search_status: number;
|
|
389131
|
+
login_customer_id: (string | null);
|
|
389132
|
+
}
|
|
389133
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
389134
|
+
}
|
|
389135
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
389136
|
+
blocked: boolean;
|
|
389137
|
+
archived: boolean;
|
|
389138
|
+
productId: string;
|
|
389139
|
+
lastBlockTransition: ({
|
|
389140
|
+
eventId: string;
|
|
389141
|
+
eventName: string;
|
|
389142
|
+
productId: string;
|
|
389143
|
+
occurredAt: string;
|
|
389144
|
+
recordedAt: string;
|
|
389145
|
+
receiptCount: number;
|
|
389146
|
+
organizationId: string;
|
|
389147
|
+
cascadedFromOrg: boolean;
|
|
389148
|
+
} | null);
|
|
389149
|
+
lastArchiveTransition: ({
|
|
389150
|
+
eventId: string;
|
|
389151
|
+
eventName: string;
|
|
389152
|
+
productId: string;
|
|
389153
|
+
occurredAt: string;
|
|
389154
|
+
recordedAt: string;
|
|
389155
|
+
receiptCount: number;
|
|
389156
|
+
organizationId: string;
|
|
389157
|
+
cascadedFromOrg: boolean;
|
|
389158
|
+
} | null);
|
|
389159
|
+
}
|
|
389160
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
389161
|
+
}
|
|
389162
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
389163
|
+
eventId: string;
|
|
389164
|
+
eventName: string;
|
|
389165
|
+
productId: string;
|
|
389166
|
+
occurredAt: string;
|
|
389167
|
+
recordedAt: string;
|
|
389168
|
+
receiptCount: number;
|
|
389169
|
+
organizationId: string;
|
|
389170
|
+
cascadedFromOrg: boolean;
|
|
389171
|
+
}[];
|
|
389172
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
389173
|
+
}
|
|
389174
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
389175
|
+
payload?: unknown;
|
|
389176
|
+
event_id: string;
|
|
389177
|
+
provider: string;
|
|
389178
|
+
verified: boolean;
|
|
389179
|
+
product_id: string;
|
|
389180
|
+
occurred_at: string;
|
|
389181
|
+
connector_id: string;
|
|
389182
|
+
delivery_count: number;
|
|
389183
|
+
} | {
|
|
389184
|
+
found: false;
|
|
389185
|
+
});
|
|
389186
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
389187
|
+
/**
|
|
389188
|
+
* The text to store, 1–1024 characters
|
|
389189
|
+
*/
|
|
389190
|
+
note: string;
|
|
389191
|
+
/**
|
|
389192
|
+
* Optional labels stored alongside the note, at most 20
|
|
389193
|
+
*
|
|
389194
|
+
* @maxItems 20
|
|
389195
|
+
*/
|
|
389196
|
+
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];
|
|
389197
|
+
}
|
|
389198
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
389199
|
+
/**
|
|
389200
|
+
* Identifier of the stored echo
|
|
389201
|
+
*/
|
|
389202
|
+
id: string;
|
|
389203
|
+
/**
|
|
389204
|
+
* The note exactly as it was received
|
|
389205
|
+
*/
|
|
389206
|
+
note: string;
|
|
389207
|
+
/**
|
|
389208
|
+
* The tags exactly as they were received
|
|
389209
|
+
*/
|
|
389210
|
+
tags: string[];
|
|
389211
|
+
/**
|
|
389212
|
+
* 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.
|
|
389213
|
+
*/
|
|
389214
|
+
echo_id: string;
|
|
389215
|
+
/**
|
|
389216
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389217
|
+
*/
|
|
389218
|
+
received_at: string;
|
|
389219
|
+
}
|
|
389220
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
389221
|
+
}
|
|
389222
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
389223
|
+
/**
|
|
389224
|
+
* Identifier of the stored echo
|
|
389225
|
+
*/
|
|
389226
|
+
id: string;
|
|
389227
|
+
/**
|
|
389228
|
+
* The note exactly as it was received
|
|
389229
|
+
*/
|
|
389230
|
+
note: string;
|
|
389231
|
+
/**
|
|
389232
|
+
* The tags exactly as they were received
|
|
389233
|
+
*/
|
|
389234
|
+
tags: string[];
|
|
389235
|
+
/**
|
|
389236
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
389237
|
+
*/
|
|
389238
|
+
received_at: string;
|
|
389239
|
+
}[];
|
|
389240
|
+
export interface PlaygroundWorkflowPingInput {
|
|
389241
|
+
/**
|
|
389242
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
389243
|
+
*/
|
|
389244
|
+
kind?: string;
|
|
389245
|
+
}
|
|
389246
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
389247
|
+
/**
|
|
389248
|
+
* 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.
|
|
389249
|
+
*/
|
|
389250
|
+
id: string;
|
|
389251
|
+
/**
|
|
389252
|
+
* The name of the event that was published
|
|
389253
|
+
*/
|
|
389254
|
+
event: string;
|
|
389255
|
+
}
|
|
389256
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
389257
|
+
/**
|
|
389258
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
389259
|
+
*/
|
|
389260
|
+
limit?: number;
|
|
389261
|
+
/**
|
|
389262
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
389263
|
+
*/
|
|
389264
|
+
cursor?: string;
|
|
389265
|
+
/**
|
|
389266
|
+
* 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.
|
|
389267
|
+
*/
|
|
389268
|
+
last_activity_after?: string;
|
|
389269
|
+
/**
|
|
389270
|
+
* 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.
|
|
389271
|
+
*/
|
|
389272
|
+
last_activity_before?: string;
|
|
389273
|
+
}
|
|
389274
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
389275
|
+
/**
|
|
389276
|
+
* This page of subjects, most recently active first
|
|
389277
|
+
*/
|
|
389278
|
+
items: {
|
|
389279
|
+
/**
|
|
389280
|
+
* 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.
|
|
389281
|
+
*/
|
|
389282
|
+
subject_key: string;
|
|
389283
|
+
/**
|
|
389284
|
+
* Human-readable name of the subject
|
|
389285
|
+
*/
|
|
389286
|
+
display_name: string;
|
|
389287
|
+
/**
|
|
389288
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
389289
|
+
*/
|
|
389290
|
+
last_activity_at: string;
|
|
389291
|
+
}[];
|
|
389292
|
+
/**
|
|
389293
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
389294
|
+
*/
|
|
389295
|
+
has_more: boolean;
|
|
389296
|
+
/**
|
|
389297
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
389298
|
+
*/
|
|
389299
|
+
next_cursor: (string | null);
|
|
389300
|
+
}
|
|
389301
|
+
export interface PlaygroundWsEchoInput {
|
|
389302
|
+
}
|
|
389303
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
388949
389304
|
export interface RealtimeArchiveExportInput {
|
|
388950
389305
|
/**
|
|
388951
389306
|
* Only entries with ts <= to_ts (epoch ms)
|