@lessly/sdk-app 65.1.0 → 66.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/dist/_types/gen/client.gen.d.ts +35 -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 +62 -0
- package/dist/_types/gen/types.gen.d.ts +347 -0
- package/dist/_types/gen/workflow/index.d.ts +1 -1
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +5 -1
- package/dist/chunk-ORP3C4MA.js +11098 -0
- package/dist/chunk-ORP3C4MA.js.map +1 -0
- package/dist/index.cjs +199 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -10907
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +96 -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 +70 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/workflow/index.cjs +5 -0
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +5 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +189 -1
- package/src/gen/client.gen.ts +66 -0
- package/src/gen/manifest.gen.ts +19 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +105 -0
- package/src/gen/types.gen.ts +391 -0
- package/src/gen/workflow/index.ts +1 -1
- package/src/gen/workflow/queryOptions.gen.ts +6 -0
|
@@ -91220,6 +91220,263 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
91220
91220
|
export interface OrganizationYoutubeInstallOutput {
|
|
91221
91221
|
url: string;
|
|
91222
91222
|
}
|
|
91223
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
91224
|
+
/**
|
|
91225
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
91226
|
+
*/
|
|
91227
|
+
limit?: number;
|
|
91228
|
+
}
|
|
91229
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
91230
|
+
ok: boolean;
|
|
91231
|
+
minted: boolean;
|
|
91232
|
+
overview?: unknown;
|
|
91233
|
+
http_status: number;
|
|
91234
|
+
}
|
|
91235
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
91236
|
+
}
|
|
91237
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
91238
|
+
ok: boolean;
|
|
91239
|
+
minted: boolean;
|
|
91240
|
+
http_status: number;
|
|
91241
|
+
entitlements?: unknown;
|
|
91242
|
+
}
|
|
91243
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
91244
|
+
/**
|
|
91245
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
91246
|
+
*/
|
|
91247
|
+
value?: number;
|
|
91248
|
+
}
|
|
91249
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
91250
|
+
minted: boolean;
|
|
91251
|
+
accepted: (number | null);
|
|
91252
|
+
recorded: boolean;
|
|
91253
|
+
duplicates: (number | null);
|
|
91254
|
+
http_status: number;
|
|
91255
|
+
}
|
|
91256
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
91257
|
+
/**
|
|
91258
|
+
* Task title; defaults to a fixture label
|
|
91259
|
+
*/
|
|
91260
|
+
name?: string;
|
|
91261
|
+
/**
|
|
91262
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
91263
|
+
*/
|
|
91264
|
+
listId?: string;
|
|
91265
|
+
}
|
|
91266
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
91267
|
+
minted: boolean;
|
|
91268
|
+
task_id: (string | null);
|
|
91269
|
+
list_status: number;
|
|
91270
|
+
vend_status: number;
|
|
91271
|
+
clickup_status: number;
|
|
91272
|
+
installation_count: number;
|
|
91273
|
+
}
|
|
91274
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
91275
|
+
}
|
|
91276
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
91277
|
+
payload: string;
|
|
91278
|
+
event_id: string;
|
|
91279
|
+
provider: string;
|
|
91280
|
+
verified: boolean;
|
|
91281
|
+
product_id: string;
|
|
91282
|
+
occurred_at: string;
|
|
91283
|
+
connector_id: string;
|
|
91284
|
+
clickup_event: (string | null);
|
|
91285
|
+
receipt_count: number;
|
|
91286
|
+
} | {
|
|
91287
|
+
found: false;
|
|
91288
|
+
});
|
|
91289
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
91290
|
+
}
|
|
91291
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
91292
|
+
team: ({
|
|
91293
|
+
teamId: string;
|
|
91294
|
+
teamName: string;
|
|
91295
|
+
} | null);
|
|
91296
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
91297
|
+
tasks: {
|
|
91298
|
+
id: string;
|
|
91299
|
+
name: string;
|
|
91300
|
+
status: (string | null);
|
|
91301
|
+
}[];
|
|
91302
|
+
minted: boolean;
|
|
91303
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
91304
|
+
list_status: number;
|
|
91305
|
+
vend_status: number;
|
|
91306
|
+
lists_status: number;
|
|
91307
|
+
tasks_status: number;
|
|
91308
|
+
spaces_status: number;
|
|
91309
|
+
folders_status: number;
|
|
91310
|
+
installation_count: number;
|
|
91311
|
+
}
|
|
91312
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
91313
|
+
id: string;
|
|
91314
|
+
name: string;
|
|
91315
|
+
}
|
|
91316
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
91317
|
+
}
|
|
91318
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
91319
|
+
file_id: string;
|
|
91320
|
+
removed: boolean;
|
|
91321
|
+
file_name: (string | null);
|
|
91322
|
+
mime_type: (string | null);
|
|
91323
|
+
product_id: string;
|
|
91324
|
+
occurred_at: string;
|
|
91325
|
+
connector_id: string;
|
|
91326
|
+
resource_state: string;
|
|
91327
|
+
} | {
|
|
91328
|
+
found: false;
|
|
91329
|
+
});
|
|
91330
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
91331
|
+
/**
|
|
91332
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
91333
|
+
*/
|
|
91334
|
+
fileId?: string;
|
|
91335
|
+
}
|
|
91336
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
91337
|
+
minted: boolean;
|
|
91338
|
+
file_id: (string | null);
|
|
91339
|
+
file_name: (string | null);
|
|
91340
|
+
mime_type: (string | null);
|
|
91341
|
+
file_count: number;
|
|
91342
|
+
get_status: number;
|
|
91343
|
+
list_status: number;
|
|
91344
|
+
vend_status: number;
|
|
91345
|
+
content_bytes: (number | null);
|
|
91346
|
+
}
|
|
91347
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
91348
|
+
}
|
|
91349
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
91350
|
+
minted: boolean;
|
|
91351
|
+
vended: boolean;
|
|
91352
|
+
customer_id: (string | null);
|
|
91353
|
+
vend_status: number;
|
|
91354
|
+
result_count: number;
|
|
91355
|
+
search_status: number;
|
|
91356
|
+
login_customer_id: (string | null);
|
|
91357
|
+
}
|
|
91358
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
91359
|
+
}
|
|
91360
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
91361
|
+
blocked: boolean;
|
|
91362
|
+
archived: boolean;
|
|
91363
|
+
productId: string;
|
|
91364
|
+
lastBlockTransition: ({
|
|
91365
|
+
eventId: string;
|
|
91366
|
+
eventName: string;
|
|
91367
|
+
productId: string;
|
|
91368
|
+
occurredAt: string;
|
|
91369
|
+
recordedAt: string;
|
|
91370
|
+
receiptCount: number;
|
|
91371
|
+
organizationId: string;
|
|
91372
|
+
cascadedFromOrg: boolean;
|
|
91373
|
+
} | null);
|
|
91374
|
+
lastArchiveTransition: ({
|
|
91375
|
+
eventId: string;
|
|
91376
|
+
eventName: string;
|
|
91377
|
+
productId: string;
|
|
91378
|
+
occurredAt: string;
|
|
91379
|
+
recordedAt: string;
|
|
91380
|
+
receiptCount: number;
|
|
91381
|
+
organizationId: string;
|
|
91382
|
+
cascadedFromOrg: boolean;
|
|
91383
|
+
} | null);
|
|
91384
|
+
}
|
|
91385
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
91386
|
+
}
|
|
91387
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
91388
|
+
eventId: string;
|
|
91389
|
+
eventName: string;
|
|
91390
|
+
productId: string;
|
|
91391
|
+
occurredAt: string;
|
|
91392
|
+
recordedAt: string;
|
|
91393
|
+
receiptCount: number;
|
|
91394
|
+
organizationId: string;
|
|
91395
|
+
cascadedFromOrg: boolean;
|
|
91396
|
+
}[];
|
|
91397
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
91398
|
+
}
|
|
91399
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
91400
|
+
payload?: unknown;
|
|
91401
|
+
event_id: string;
|
|
91402
|
+
provider: string;
|
|
91403
|
+
verified: boolean;
|
|
91404
|
+
product_id: string;
|
|
91405
|
+
occurred_at: string;
|
|
91406
|
+
connector_id: string;
|
|
91407
|
+
delivery_count: number;
|
|
91408
|
+
} | {
|
|
91409
|
+
found: false;
|
|
91410
|
+
});
|
|
91411
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
91412
|
+
/**
|
|
91413
|
+
* The text to store, 1–1024 characters
|
|
91414
|
+
*/
|
|
91415
|
+
note: string;
|
|
91416
|
+
/**
|
|
91417
|
+
* Optional labels stored alongside the note, at most 20
|
|
91418
|
+
*
|
|
91419
|
+
* @maxItems 20
|
|
91420
|
+
*/
|
|
91421
|
+
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];
|
|
91422
|
+
}
|
|
91423
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
91424
|
+
/**
|
|
91425
|
+
* Identifier of the stored echo
|
|
91426
|
+
*/
|
|
91427
|
+
id: string;
|
|
91428
|
+
/**
|
|
91429
|
+
* The note exactly as it was received
|
|
91430
|
+
*/
|
|
91431
|
+
note: string;
|
|
91432
|
+
/**
|
|
91433
|
+
* The tags exactly as they were received
|
|
91434
|
+
*/
|
|
91435
|
+
tags: string[];
|
|
91436
|
+
/**
|
|
91437
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91438
|
+
*/
|
|
91439
|
+
received_at: string;
|
|
91440
|
+
}
|
|
91441
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
91442
|
+
}
|
|
91443
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
91444
|
+
/**
|
|
91445
|
+
* Identifier of the stored echo
|
|
91446
|
+
*/
|
|
91447
|
+
id: string;
|
|
91448
|
+
/**
|
|
91449
|
+
* The note exactly as it was received
|
|
91450
|
+
*/
|
|
91451
|
+
note: string;
|
|
91452
|
+
/**
|
|
91453
|
+
* The tags exactly as they were received
|
|
91454
|
+
*/
|
|
91455
|
+
tags: string[];
|
|
91456
|
+
/**
|
|
91457
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91458
|
+
*/
|
|
91459
|
+
received_at: string;
|
|
91460
|
+
}[];
|
|
91461
|
+
export interface PlaygroundWorkflowPingInput {
|
|
91462
|
+
/**
|
|
91463
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
91464
|
+
*/
|
|
91465
|
+
kind?: string;
|
|
91466
|
+
}
|
|
91467
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
91468
|
+
/**
|
|
91469
|
+
* 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.
|
|
91470
|
+
*/
|
|
91471
|
+
id: string;
|
|
91472
|
+
/**
|
|
91473
|
+
* The name of the event that was published
|
|
91474
|
+
*/
|
|
91475
|
+
event: string;
|
|
91476
|
+
}
|
|
91477
|
+
export interface PlaygroundWsEchoInput {
|
|
91478
|
+
}
|
|
91479
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
91223
91480
|
export interface RealtimeArchiveExportInput {
|
|
91224
91481
|
/**
|
|
91225
91482
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -117348,6 +117605,10 @@ export interface WorkflowDefinitionCreateOutput {
|
|
|
117348
117605
|
* The workflow principal's grants; null when Governance could not be reached.
|
|
117349
117606
|
*/
|
|
117350
117607
|
grants: ({
|
|
117608
|
+
/**
|
|
117609
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
117610
|
+
*/
|
|
117611
|
+
hint: (string | null);
|
|
117351
117612
|
grants: {
|
|
117352
117613
|
/**
|
|
117353
117614
|
* "approved" is the only status a call gets through on.
|
|
@@ -117364,6 +117625,10 @@ export interface WorkflowDefinitionCreateOutput {
|
|
|
117364
117625
|
* Tool keys asked for and waiting on a human.
|
|
117365
117626
|
*/
|
|
117366
117627
|
pending: string[];
|
|
117628
|
+
/**
|
|
117629
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
117630
|
+
*/
|
|
117631
|
+
revoked: string[];
|
|
117367
117632
|
/**
|
|
117368
117633
|
* Tool keys the workflow may call right now.
|
|
117369
117634
|
*/
|
|
@@ -117592,6 +117857,10 @@ export interface WorkflowDefinitionGetOutput {
|
|
|
117592
117857
|
* The workflow principal's grants; null when Governance could not be reached.
|
|
117593
117858
|
*/
|
|
117594
117859
|
grants: ({
|
|
117860
|
+
/**
|
|
117861
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
117862
|
+
*/
|
|
117863
|
+
hint: (string | null);
|
|
117595
117864
|
grants: {
|
|
117596
117865
|
/**
|
|
117597
117866
|
* "approved" is the only status a call gets through on.
|
|
@@ -117608,6 +117877,10 @@ export interface WorkflowDefinitionGetOutput {
|
|
|
117608
117877
|
* Tool keys asked for and waiting on a human.
|
|
117609
117878
|
*/
|
|
117610
117879
|
pending: string[];
|
|
117880
|
+
/**
|
|
117881
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
117882
|
+
*/
|
|
117883
|
+
revoked: string[];
|
|
117611
117884
|
/**
|
|
117612
117885
|
* Tool keys the workflow may call right now.
|
|
117613
117886
|
*/
|
|
@@ -117729,6 +118002,10 @@ export interface WorkflowDefinitionImportOutput {
|
|
|
117729
118002
|
* The workflow principal's grants; null when Governance could not be reached.
|
|
117730
118003
|
*/
|
|
117731
118004
|
grants: ({
|
|
118005
|
+
/**
|
|
118006
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
118007
|
+
*/
|
|
118008
|
+
hint: (string | null);
|
|
117732
118009
|
grants: {
|
|
117733
118010
|
/**
|
|
117734
118011
|
* "approved" is the only status a call gets through on.
|
|
@@ -117745,6 +118022,10 @@ export interface WorkflowDefinitionImportOutput {
|
|
|
117745
118022
|
* Tool keys asked for and waiting on a human.
|
|
117746
118023
|
*/
|
|
117747
118024
|
pending: string[];
|
|
118025
|
+
/**
|
|
118026
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
118027
|
+
*/
|
|
118028
|
+
revoked: string[];
|
|
117748
118029
|
/**
|
|
117749
118030
|
* Tool keys the workflow may call right now.
|
|
117750
118031
|
*/
|
|
@@ -117898,6 +118179,10 @@ export interface WorkflowDefinitionPublishOutput {
|
|
|
117898
118179
|
* What Governance holds for this workflow after the request; null when the request did not reach it. A publish never approves anything — a human sponsors it in Workspace.
|
|
117899
118180
|
*/
|
|
117900
118181
|
grants: ({
|
|
118182
|
+
/**
|
|
118183
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
118184
|
+
*/
|
|
118185
|
+
hint: (string | null);
|
|
117901
118186
|
grants: {
|
|
117902
118187
|
/**
|
|
117903
118188
|
* "approved" is the only status a call gets through on.
|
|
@@ -117914,6 +118199,10 @@ export interface WorkflowDefinitionPublishOutput {
|
|
|
117914
118199
|
* Tool keys asked for and waiting on a human.
|
|
117915
118200
|
*/
|
|
117916
118201
|
pending: string[];
|
|
118202
|
+
/**
|
|
118203
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
118204
|
+
*/
|
|
118205
|
+
revoked: string[];
|
|
117917
118206
|
/**
|
|
117918
118207
|
* Tool keys the workflow may call right now.
|
|
117919
118208
|
*/
|
|
@@ -117963,6 +118252,10 @@ export interface WorkflowDefinitionUpdateOutput {
|
|
|
117963
118252
|
* The workflow principal's grants; null when Governance could not be reached.
|
|
117964
118253
|
*/
|
|
117965
118254
|
grants: ({
|
|
118255
|
+
/**
|
|
118256
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
118257
|
+
*/
|
|
118258
|
+
hint: (string | null);
|
|
117966
118259
|
grants: {
|
|
117967
118260
|
/**
|
|
117968
118261
|
* "approved" is the only status a call gets through on.
|
|
@@ -117979,6 +118272,10 @@ export interface WorkflowDefinitionUpdateOutput {
|
|
|
117979
118272
|
* Tool keys asked for and waiting on a human.
|
|
117980
118273
|
*/
|
|
117981
118274
|
pending: string[];
|
|
118275
|
+
/**
|
|
118276
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
118277
|
+
*/
|
|
118278
|
+
revoked: string[];
|
|
117982
118279
|
/**
|
|
117983
118280
|
* Tool keys the workflow may call right now.
|
|
117984
118281
|
*/
|
|
@@ -118135,6 +118432,52 @@ export interface WorkflowGrantListInput {
|
|
|
118135
118432
|
workflow_id: string;
|
|
118136
118433
|
}
|
|
118137
118434
|
export interface WorkflowGrantListOutput {
|
|
118435
|
+
/**
|
|
118436
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
118437
|
+
*/
|
|
118438
|
+
hint: (string | null);
|
|
118439
|
+
grants: {
|
|
118440
|
+
/**
|
|
118441
|
+
* "approved" is the only status a call gets through on.
|
|
118442
|
+
*/
|
|
118443
|
+
status: ("pending" | "approved" | "revoked" | "needs_sponsor");
|
|
118444
|
+
tool_key: string;
|
|
118445
|
+
approved_at: (string | null);
|
|
118446
|
+
/**
|
|
118447
|
+
* The member who vouches for the grant.
|
|
118448
|
+
*/
|
|
118449
|
+
sponsor_member_id: (string | null);
|
|
118450
|
+
}[];
|
|
118451
|
+
/**
|
|
118452
|
+
* Tool keys asked for and waiting on a human.
|
|
118453
|
+
*/
|
|
118454
|
+
pending: string[];
|
|
118455
|
+
/**
|
|
118456
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
118457
|
+
*/
|
|
118458
|
+
revoked: string[];
|
|
118459
|
+
/**
|
|
118460
|
+
* Tool keys the workflow may call right now.
|
|
118461
|
+
*/
|
|
118462
|
+
effective: string[];
|
|
118463
|
+
workflow_id: string;
|
|
118464
|
+
/**
|
|
118465
|
+
* Where a pending grant is approved, and by whom.
|
|
118466
|
+
*/
|
|
118467
|
+
approve_with: string;
|
|
118468
|
+
/**
|
|
118469
|
+
* Tool keys that were approved and lost their sponsor.
|
|
118470
|
+
*/
|
|
118471
|
+
needs_sponsor: string[];
|
|
118472
|
+
}
|
|
118473
|
+
export interface WorkflowGrantRequestInput {
|
|
118474
|
+
workflow_id: string;
|
|
118475
|
+
}
|
|
118476
|
+
export interface WorkflowGrantRequestOutput {
|
|
118477
|
+
/**
|
|
118478
|
+
* What to do next, when something needs doing; null when nothing does.
|
|
118479
|
+
*/
|
|
118480
|
+
hint: (string | null);
|
|
118138
118481
|
grants: {
|
|
118139
118482
|
/**
|
|
118140
118483
|
* "approved" is the only status a call gets through on.
|
|
@@ -118151,6 +118494,10 @@ export interface WorkflowGrantListOutput {
|
|
|
118151
118494
|
* Tool keys asked for and waiting on a human.
|
|
118152
118495
|
*/
|
|
118153
118496
|
pending: string[];
|
|
118497
|
+
/**
|
|
118498
|
+
* Tool keys a human withdrew. Approving one again is not enough: Governance does not resurrect a revoked grant, so it has to be asked for first.
|
|
118499
|
+
*/
|
|
118500
|
+
revoked: string[];
|
|
118154
118501
|
/**
|
|
118155
118502
|
* Tool keys the workflow may call right now.
|
|
118156
118503
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './queryOptions.gen.js';
|
|
2
|
-
export type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigDeleteOutput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowConfigSetOutput, WorkflowDefinitionCreateInput, WorkflowDefinitionCreateOutput, WorkflowDefinitionDisableInput, WorkflowDefinitionDisableOutput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionEnableOutput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionImportOutput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionPublishOutput, WorkflowDefinitionUpdateInput, WorkflowDefinitionUpdateOutput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
2
|
+
export type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigDeleteOutput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowConfigSetOutput, WorkflowDefinitionCreateInput, WorkflowDefinitionCreateOutput, WorkflowDefinitionDisableInput, WorkflowDefinitionDisableOutput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionEnableOutput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionImportOutput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionPublishOutput, WorkflowDefinitionUpdateInput, WorkflowDefinitionUpdateOutput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowGrantRequestInput, WorkflowGrantRequestOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowKillswitchSetOutput, WorkflowRunCancelInput, WorkflowRunCancelOutput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayAllOutput, WorkflowRunReplayInput, WorkflowRunReplayOutput, WorkflowRunStartInput, WorkflowRunStartOutput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowDefinitionCreateInput, WorkflowDefinitionDisableInput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionUpdateInput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowRunCancelInput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayInput, WorkflowRunStartInput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
2
|
+
import type { WorkflowCapabilityGetInput, WorkflowCapabilityGetOutput, WorkflowCapabilityListInput, WorkflowCapabilityListOutput, WorkflowConfigDeleteInput, WorkflowConfigListInput, WorkflowConfigListOutput, WorkflowConfigSetInput, WorkflowDefinitionCreateInput, WorkflowDefinitionDisableInput, WorkflowDefinitionDryrunInput, WorkflowDefinitionDryrunOutput, WorkflowDefinitionEnableInput, WorkflowDefinitionExportInput, WorkflowDefinitionExportOutput, WorkflowDefinitionGetInput, WorkflowDefinitionGetOutput, WorkflowDefinitionImportInput, WorkflowDefinitionListInput, WorkflowDefinitionListOutput, WorkflowDefinitionPublishInput, WorkflowDefinitionUpdateInput, WorkflowDefinitionValidateInput, WorkflowDefinitionValidateOutput, WorkflowDependencyListInput, WorkflowDependencyListOutput, WorkflowGrantListInput, WorkflowGrantListOutput, WorkflowGrantRequestInput, WorkflowHealthListInput, WorkflowHealthListOutput, WorkflowHealthPingInput, WorkflowHealthPingOutput, WorkflowKillswitchGetInput, WorkflowKillswitchGetOutput, WorkflowKillswitchSetInput, WorkflowRunCancelInput, WorkflowRunGetInput, WorkflowRunGetOutput, WorkflowRunListInput, WorkflowRunListOutput, WorkflowRunReplayAllInput, WorkflowRunReplayInput, WorkflowRunStartInput, WorkflowVersionGetInput, WorkflowVersionGetOutput, WorkflowVersionListInput, WorkflowVersionListOutput } from '../types.gen.js';
|
|
3
3
|
export declare const workflowCapabilityGetQueryOptions: (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => {
|
|
4
4
|
queryKey: readonly ["workflow", "capability", "get", WorkflowCapabilityGetInput];
|
|
5
5
|
queryFn: () => Promise<WorkflowCapabilityGetOutput>;
|
|
@@ -72,6 +72,10 @@ export declare const workflowGrantListQueryOptions: (sdk: GeneratedClient, input
|
|
|
72
72
|
queryKey: readonly ["workflow", "grant", "list", WorkflowGrantListInput];
|
|
73
73
|
queryFn: () => Promise<WorkflowGrantListOutput>;
|
|
74
74
|
};
|
|
75
|
+
export declare const workflowGrantRequestMutationOptions: (sdk: GeneratedClient) => {
|
|
76
|
+
mutationKey: string[];
|
|
77
|
+
mutationFn: (input: WorkflowGrantRequestInput) => Promise<import(".").WorkflowGrantRequestOutput>;
|
|
78
|
+
};
|
|
75
79
|
export declare const workflowHealthListQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthListInput) => {
|
|
76
80
|
queryKey: readonly ["workflow", "health", "list", WorkflowHealthListInput];
|
|
77
81
|
queryFn: () => Promise<WorkflowHealthListOutput>;
|