@lessly/sdk-app 64.1.0 → 65.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 +5 -34
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/types.gen.d.ts +191 -265
- package/dist/_types/gen/workflow/index.d.ts +1 -1
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +9 -1
- package/dist/index.cjs +39 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10836 -20
- package/dist/index.js.map +1 -1
- package/dist/workflow/index.cjs +10 -0
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +9 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +37 -176
- package/src/gen/client.gen.ts +8 -63
- package/src/gen/manifest.gen.ts +3 -18
- package/src/gen/types.gen.ts +195 -307
- package/src/gen/workflow/index.ts +1 -1
- package/src/gen/workflow/queryOptions.gen.ts +14 -0
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -62
- package/dist/chunk-E5DOALAH.js +0 -10976
- package/dist/chunk-E5DOALAH.js.map +0 -1
- package/dist/playground/index.cjs +0 -96
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -70
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -105
|
@@ -91149,263 +91149,6 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
91149
91149
|
export interface OrganizationYoutubeInstallOutput {
|
|
91150
91150
|
url: string;
|
|
91151
91151
|
}
|
|
91152
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
91153
|
-
/**
|
|
91154
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
91155
|
-
*/
|
|
91156
|
-
limit?: number;
|
|
91157
|
-
}
|
|
91158
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
91159
|
-
ok: boolean;
|
|
91160
|
-
minted: boolean;
|
|
91161
|
-
overview?: unknown;
|
|
91162
|
-
http_status: number;
|
|
91163
|
-
}
|
|
91164
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
91165
|
-
}
|
|
91166
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
91167
|
-
ok: boolean;
|
|
91168
|
-
minted: boolean;
|
|
91169
|
-
http_status: number;
|
|
91170
|
-
entitlements?: unknown;
|
|
91171
|
-
}
|
|
91172
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
91173
|
-
/**
|
|
91174
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
91175
|
-
*/
|
|
91176
|
-
value?: number;
|
|
91177
|
-
}
|
|
91178
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
91179
|
-
minted: boolean;
|
|
91180
|
-
accepted: (number | null);
|
|
91181
|
-
recorded: boolean;
|
|
91182
|
-
duplicates: (number | null);
|
|
91183
|
-
http_status: number;
|
|
91184
|
-
}
|
|
91185
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
91186
|
-
/**
|
|
91187
|
-
* Task title; defaults to a fixture label
|
|
91188
|
-
*/
|
|
91189
|
-
name?: string;
|
|
91190
|
-
/**
|
|
91191
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
91192
|
-
*/
|
|
91193
|
-
listId?: string;
|
|
91194
|
-
}
|
|
91195
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
91196
|
-
minted: boolean;
|
|
91197
|
-
task_id: (string | null);
|
|
91198
|
-
list_status: number;
|
|
91199
|
-
vend_status: number;
|
|
91200
|
-
clickup_status: number;
|
|
91201
|
-
installation_count: number;
|
|
91202
|
-
}
|
|
91203
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
91204
|
-
}
|
|
91205
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
91206
|
-
payload: string;
|
|
91207
|
-
event_id: string;
|
|
91208
|
-
provider: string;
|
|
91209
|
-
verified: boolean;
|
|
91210
|
-
product_id: string;
|
|
91211
|
-
occurred_at: string;
|
|
91212
|
-
connector_id: string;
|
|
91213
|
-
clickup_event: (string | null);
|
|
91214
|
-
receipt_count: number;
|
|
91215
|
-
} | {
|
|
91216
|
-
found: false;
|
|
91217
|
-
});
|
|
91218
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
91219
|
-
}
|
|
91220
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
91221
|
-
team: ({
|
|
91222
|
-
teamId: string;
|
|
91223
|
-
teamName: string;
|
|
91224
|
-
} | null);
|
|
91225
|
-
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
91226
|
-
tasks: {
|
|
91227
|
-
id: string;
|
|
91228
|
-
name: string;
|
|
91229
|
-
status: (string | null);
|
|
91230
|
-
}[];
|
|
91231
|
-
minted: boolean;
|
|
91232
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
91233
|
-
list_status: number;
|
|
91234
|
-
vend_status: number;
|
|
91235
|
-
lists_status: number;
|
|
91236
|
-
tasks_status: number;
|
|
91237
|
-
spaces_status: number;
|
|
91238
|
-
folders_status: number;
|
|
91239
|
-
installation_count: number;
|
|
91240
|
-
}
|
|
91241
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
91242
|
-
id: string;
|
|
91243
|
-
name: string;
|
|
91244
|
-
}
|
|
91245
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
91246
|
-
}
|
|
91247
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
91248
|
-
file_id: string;
|
|
91249
|
-
removed: boolean;
|
|
91250
|
-
file_name: (string | null);
|
|
91251
|
-
mime_type: (string | null);
|
|
91252
|
-
product_id: string;
|
|
91253
|
-
occurred_at: string;
|
|
91254
|
-
connector_id: string;
|
|
91255
|
-
resource_state: string;
|
|
91256
|
-
} | {
|
|
91257
|
-
found: false;
|
|
91258
|
-
});
|
|
91259
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
91260
|
-
/**
|
|
91261
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
91262
|
-
*/
|
|
91263
|
-
fileId?: string;
|
|
91264
|
-
}
|
|
91265
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
91266
|
-
minted: boolean;
|
|
91267
|
-
file_id: (string | null);
|
|
91268
|
-
file_name: (string | null);
|
|
91269
|
-
mime_type: (string | null);
|
|
91270
|
-
file_count: number;
|
|
91271
|
-
get_status: number;
|
|
91272
|
-
list_status: number;
|
|
91273
|
-
vend_status: number;
|
|
91274
|
-
content_bytes: (number | null);
|
|
91275
|
-
}
|
|
91276
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
91277
|
-
}
|
|
91278
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
91279
|
-
minted: boolean;
|
|
91280
|
-
vended: boolean;
|
|
91281
|
-
customer_id: (string | null);
|
|
91282
|
-
vend_status: number;
|
|
91283
|
-
result_count: number;
|
|
91284
|
-
search_status: number;
|
|
91285
|
-
login_customer_id: (string | null);
|
|
91286
|
-
}
|
|
91287
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
91288
|
-
}
|
|
91289
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
91290
|
-
blocked: boolean;
|
|
91291
|
-
archived: boolean;
|
|
91292
|
-
productId: string;
|
|
91293
|
-
lastBlockTransition: ({
|
|
91294
|
-
eventId: string;
|
|
91295
|
-
eventName: string;
|
|
91296
|
-
productId: string;
|
|
91297
|
-
occurredAt: string;
|
|
91298
|
-
recordedAt: string;
|
|
91299
|
-
receiptCount: number;
|
|
91300
|
-
organizationId: string;
|
|
91301
|
-
cascadedFromOrg: boolean;
|
|
91302
|
-
} | null);
|
|
91303
|
-
lastArchiveTransition: ({
|
|
91304
|
-
eventId: string;
|
|
91305
|
-
eventName: string;
|
|
91306
|
-
productId: string;
|
|
91307
|
-
occurredAt: string;
|
|
91308
|
-
recordedAt: string;
|
|
91309
|
-
receiptCount: number;
|
|
91310
|
-
organizationId: string;
|
|
91311
|
-
cascadedFromOrg: boolean;
|
|
91312
|
-
} | null);
|
|
91313
|
-
}
|
|
91314
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
91315
|
-
}
|
|
91316
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
91317
|
-
eventId: string;
|
|
91318
|
-
eventName: string;
|
|
91319
|
-
productId: string;
|
|
91320
|
-
occurredAt: string;
|
|
91321
|
-
recordedAt: string;
|
|
91322
|
-
receiptCount: number;
|
|
91323
|
-
organizationId: string;
|
|
91324
|
-
cascadedFromOrg: boolean;
|
|
91325
|
-
}[];
|
|
91326
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
91327
|
-
}
|
|
91328
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
91329
|
-
payload?: unknown;
|
|
91330
|
-
event_id: string;
|
|
91331
|
-
provider: string;
|
|
91332
|
-
verified: boolean;
|
|
91333
|
-
product_id: string;
|
|
91334
|
-
occurred_at: string;
|
|
91335
|
-
connector_id: string;
|
|
91336
|
-
delivery_count: number;
|
|
91337
|
-
} | {
|
|
91338
|
-
found: false;
|
|
91339
|
-
});
|
|
91340
|
-
export interface PlaygroundWorkflowEchoInput {
|
|
91341
|
-
/**
|
|
91342
|
-
* The text to store, 1–1024 characters
|
|
91343
|
-
*/
|
|
91344
|
-
note: string;
|
|
91345
|
-
/**
|
|
91346
|
-
* Optional labels stored alongside the note, at most 20
|
|
91347
|
-
*
|
|
91348
|
-
* @maxItems 20
|
|
91349
|
-
*/
|
|
91350
|
-
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];
|
|
91351
|
-
}
|
|
91352
|
-
export interface PlaygroundWorkflowEchoOutput {
|
|
91353
|
-
/**
|
|
91354
|
-
* Identifier of the stored echo
|
|
91355
|
-
*/
|
|
91356
|
-
id: string;
|
|
91357
|
-
/**
|
|
91358
|
-
* The note exactly as it was received
|
|
91359
|
-
*/
|
|
91360
|
-
note: string;
|
|
91361
|
-
/**
|
|
91362
|
-
* The tags exactly as they were received
|
|
91363
|
-
*/
|
|
91364
|
-
tags: string[];
|
|
91365
|
-
/**
|
|
91366
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91367
|
-
*/
|
|
91368
|
-
received_at: string;
|
|
91369
|
-
}
|
|
91370
|
-
export interface PlaygroundWorkflowEchoListInput {
|
|
91371
|
-
}
|
|
91372
|
-
export type PlaygroundWorkflowEchoListOutput = {
|
|
91373
|
-
/**
|
|
91374
|
-
* Identifier of the stored echo
|
|
91375
|
-
*/
|
|
91376
|
-
id: string;
|
|
91377
|
-
/**
|
|
91378
|
-
* The note exactly as it was received
|
|
91379
|
-
*/
|
|
91380
|
-
note: string;
|
|
91381
|
-
/**
|
|
91382
|
-
* The tags exactly as they were received
|
|
91383
|
-
*/
|
|
91384
|
-
tags: string[];
|
|
91385
|
-
/**
|
|
91386
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
91387
|
-
*/
|
|
91388
|
-
received_at: string;
|
|
91389
|
-
}[];
|
|
91390
|
-
export interface PlaygroundWorkflowPingInput {
|
|
91391
|
-
/**
|
|
91392
|
-
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
91393
|
-
*/
|
|
91394
|
-
kind?: string;
|
|
91395
|
-
}
|
|
91396
|
-
export interface PlaygroundWorkflowPingOutput {
|
|
91397
|
-
/**
|
|
91398
|
-
* 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.
|
|
91399
|
-
*/
|
|
91400
|
-
id: string;
|
|
91401
|
-
/**
|
|
91402
|
-
* The name of the event that was published
|
|
91403
|
-
*/
|
|
91404
|
-
event: string;
|
|
91405
|
-
}
|
|
91406
|
-
export interface PlaygroundWsEchoInput {
|
|
91407
|
-
}
|
|
91408
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
91409
91152
|
export interface RealtimeArchiveExportInput {
|
|
91410
91153
|
/**
|
|
91411
91154
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -117559,6 +117302,22 @@ export interface WorkflowDefinitionCreateOutput {
|
|
|
117559
117302
|
*/
|
|
117560
117303
|
needs_sponsor: string[];
|
|
117561
117304
|
} | null);
|
|
117305
|
+
/**
|
|
117306
|
+
* What the dependency check found; null when nothing is unknown.
|
|
117307
|
+
*/
|
|
117308
|
+
health: ({
|
|
117309
|
+
unknown: {
|
|
117310
|
+
kind: ("trigger" | "action");
|
|
117311
|
+
name: string;
|
|
117312
|
+
reason: ("missing" | "schema_changed");
|
|
117313
|
+
node_id?: string;
|
|
117314
|
+
toolkit: string;
|
|
117315
|
+
}[];
|
|
117316
|
+
/**
|
|
117317
|
+
* What a recovery restores.
|
|
117318
|
+
*/
|
|
117319
|
+
previous_status?: ("draft" | "enabled" | "disabled");
|
|
117320
|
+
} | null);
|
|
117562
117321
|
/**
|
|
117563
117322
|
* Validation of the draft as it stands right now.
|
|
117564
117323
|
*/
|
|
@@ -117577,10 +117336,25 @@ export interface WorkflowDefinitionCreateOutput {
|
|
|
117577
117336
|
expected?: string;
|
|
117578
117337
|
severity: ("error" | "warning");
|
|
117579
117338
|
}[];
|
|
117339
|
+
/**
|
|
117340
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
117341
|
+
*/
|
|
117342
|
+
timeline: {
|
|
117343
|
+
at: string;
|
|
117344
|
+
fix?: unknown;
|
|
117345
|
+
/**
|
|
117346
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
117347
|
+
*/
|
|
117348
|
+
kind: string;
|
|
117349
|
+
detail?: unknown;
|
|
117350
|
+
}[];
|
|
117580
117351
|
workflow: {
|
|
117581
117352
|
id: string;
|
|
117582
117353
|
name: string;
|
|
117583
|
-
|
|
117354
|
+
/**
|
|
117355
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117356
|
+
*/
|
|
117357
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117584
117358
|
/**
|
|
117585
117359
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117586
117360
|
*/
|
|
@@ -117624,7 +117398,10 @@ export interface WorkflowDefinitionDisableInput {
|
|
|
117624
117398
|
export interface WorkflowDefinitionDisableOutput {
|
|
117625
117399
|
id: string;
|
|
117626
117400
|
name: string;
|
|
117627
|
-
|
|
117401
|
+
/**
|
|
117402
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117403
|
+
*/
|
|
117404
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117628
117405
|
/**
|
|
117629
117406
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117630
117407
|
*/
|
|
@@ -117689,7 +117466,10 @@ export interface WorkflowDefinitionEnableInput {
|
|
|
117689
117466
|
export interface WorkflowDefinitionEnableOutput {
|
|
117690
117467
|
id: string;
|
|
117691
117468
|
name: string;
|
|
117692
|
-
|
|
117469
|
+
/**
|
|
117470
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117471
|
+
*/
|
|
117472
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117693
117473
|
/**
|
|
117694
117474
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117695
117475
|
*/
|
|
@@ -117766,6 +117546,22 @@ export interface WorkflowDefinitionGetOutput {
|
|
|
117766
117546
|
*/
|
|
117767
117547
|
needs_sponsor: string[];
|
|
117768
117548
|
} | null);
|
|
117549
|
+
/**
|
|
117550
|
+
* What the dependency check found; null when nothing is unknown.
|
|
117551
|
+
*/
|
|
117552
|
+
health: ({
|
|
117553
|
+
unknown: {
|
|
117554
|
+
kind: ("trigger" | "action");
|
|
117555
|
+
name: string;
|
|
117556
|
+
reason: ("missing" | "schema_changed");
|
|
117557
|
+
node_id?: string;
|
|
117558
|
+
toolkit: string;
|
|
117559
|
+
}[];
|
|
117560
|
+
/**
|
|
117561
|
+
* What a recovery restores.
|
|
117562
|
+
*/
|
|
117563
|
+
previous_status?: ("draft" | "enabled" | "disabled");
|
|
117564
|
+
} | null);
|
|
117769
117565
|
/**
|
|
117770
117566
|
* Validation of the draft as it stands right now.
|
|
117771
117567
|
*/
|
|
@@ -117784,10 +117580,25 @@ export interface WorkflowDefinitionGetOutput {
|
|
|
117784
117580
|
expected?: string;
|
|
117785
117581
|
severity: ("error" | "warning");
|
|
117786
117582
|
}[];
|
|
117583
|
+
/**
|
|
117584
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
117585
|
+
*/
|
|
117586
|
+
timeline: {
|
|
117587
|
+
at: string;
|
|
117588
|
+
fix?: unknown;
|
|
117589
|
+
/**
|
|
117590
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
117591
|
+
*/
|
|
117592
|
+
kind: string;
|
|
117593
|
+
detail?: unknown;
|
|
117594
|
+
}[];
|
|
117787
117595
|
workflow: {
|
|
117788
117596
|
id: string;
|
|
117789
117597
|
name: string;
|
|
117790
|
-
|
|
117598
|
+
/**
|
|
117599
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117600
|
+
*/
|
|
117601
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117791
117602
|
/**
|
|
117792
117603
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117793
117604
|
*/
|
|
@@ -117872,6 +117683,22 @@ export interface WorkflowDefinitionImportOutput {
|
|
|
117872
117683
|
*/
|
|
117873
117684
|
needs_sponsor: string[];
|
|
117874
117685
|
} | null);
|
|
117686
|
+
/**
|
|
117687
|
+
* What the dependency check found; null when nothing is unknown.
|
|
117688
|
+
*/
|
|
117689
|
+
health: ({
|
|
117690
|
+
unknown: {
|
|
117691
|
+
kind: ("trigger" | "action");
|
|
117692
|
+
name: string;
|
|
117693
|
+
reason: ("missing" | "schema_changed");
|
|
117694
|
+
node_id?: string;
|
|
117695
|
+
toolkit: string;
|
|
117696
|
+
}[];
|
|
117697
|
+
/**
|
|
117698
|
+
* What a recovery restores.
|
|
117699
|
+
*/
|
|
117700
|
+
previous_status?: ("draft" | "enabled" | "disabled");
|
|
117701
|
+
} | null);
|
|
117875
117702
|
/**
|
|
117876
117703
|
* Validation of the draft as it stands right now.
|
|
117877
117704
|
*/
|
|
@@ -117890,10 +117717,25 @@ export interface WorkflowDefinitionImportOutput {
|
|
|
117890
117717
|
expected?: string;
|
|
117891
117718
|
severity: ("error" | "warning");
|
|
117892
117719
|
}[];
|
|
117720
|
+
/**
|
|
117721
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
117722
|
+
*/
|
|
117723
|
+
timeline: {
|
|
117724
|
+
at: string;
|
|
117725
|
+
fix?: unknown;
|
|
117726
|
+
/**
|
|
117727
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
117728
|
+
*/
|
|
117729
|
+
kind: string;
|
|
117730
|
+
detail?: unknown;
|
|
117731
|
+
}[];
|
|
117893
117732
|
workflow: {
|
|
117894
117733
|
id: string;
|
|
117895
117734
|
name: string;
|
|
117896
|
-
|
|
117735
|
+
/**
|
|
117736
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117737
|
+
*/
|
|
117738
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117897
117739
|
/**
|
|
117898
117740
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117899
117741
|
*/
|
|
@@ -117940,13 +117782,16 @@ export interface WorkflowDefinitionListInput {
|
|
|
117940
117782
|
* Opaque cursor from a previous page.
|
|
117941
117783
|
*/
|
|
117942
117784
|
cursor?: string;
|
|
117943
|
-
status?: ("draft" | "enabled" | "disabled");
|
|
117785
|
+
status?: ("draft" | "enabled" | "disabled" | "broken");
|
|
117944
117786
|
}
|
|
117945
117787
|
export interface WorkflowDefinitionListOutput {
|
|
117946
117788
|
items: {
|
|
117947
117789
|
id: string;
|
|
117948
117790
|
name: string;
|
|
117949
|
-
|
|
117791
|
+
/**
|
|
117792
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117793
|
+
*/
|
|
117794
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
117950
117795
|
/**
|
|
117951
117796
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
117952
117797
|
*/
|
|
@@ -118072,6 +117917,22 @@ export interface WorkflowDefinitionUpdateOutput {
|
|
|
118072
117917
|
*/
|
|
118073
117918
|
needs_sponsor: string[];
|
|
118074
117919
|
} | null);
|
|
117920
|
+
/**
|
|
117921
|
+
* What the dependency check found; null when nothing is unknown.
|
|
117922
|
+
*/
|
|
117923
|
+
health: ({
|
|
117924
|
+
unknown: {
|
|
117925
|
+
kind: ("trigger" | "action");
|
|
117926
|
+
name: string;
|
|
117927
|
+
reason: ("missing" | "schema_changed");
|
|
117928
|
+
node_id?: string;
|
|
117929
|
+
toolkit: string;
|
|
117930
|
+
}[];
|
|
117931
|
+
/**
|
|
117932
|
+
* What a recovery restores.
|
|
117933
|
+
*/
|
|
117934
|
+
previous_status?: ("draft" | "enabled" | "disabled");
|
|
117935
|
+
} | null);
|
|
118075
117936
|
/**
|
|
118076
117937
|
* Validation of the draft as it stands right now.
|
|
118077
117938
|
*/
|
|
@@ -118090,10 +117951,25 @@ export interface WorkflowDefinitionUpdateOutput {
|
|
|
118090
117951
|
expected?: string;
|
|
118091
117952
|
severity: ("error" | "warning");
|
|
118092
117953
|
}[];
|
|
117954
|
+
/**
|
|
117955
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
117956
|
+
*/
|
|
117957
|
+
timeline: {
|
|
117958
|
+
at: string;
|
|
117959
|
+
fix?: unknown;
|
|
117960
|
+
/**
|
|
117961
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
117962
|
+
*/
|
|
117963
|
+
kind: string;
|
|
117964
|
+
detail?: unknown;
|
|
117965
|
+
}[];
|
|
118093
117966
|
workflow: {
|
|
118094
117967
|
id: string;
|
|
118095
117968
|
name: string;
|
|
118096
|
-
|
|
117969
|
+
/**
|
|
117970
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
117971
|
+
*/
|
|
117972
|
+
status: ("draft" | "enabled" | "disabled" | "broken");
|
|
118097
117973
|
/**
|
|
118098
117974
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
118099
117975
|
*/
|
|
@@ -118161,6 +118037,29 @@ export interface WorkflowDefinitionValidateOutput {
|
|
|
118161
118037
|
severity: ("error" | "warning");
|
|
118162
118038
|
}[];
|
|
118163
118039
|
}
|
|
118040
|
+
export interface WorkflowDependencyListInput {
|
|
118041
|
+
/**
|
|
118042
|
+
* The toolkit id a dependency names, e.g. `mail`.
|
|
118043
|
+
*/
|
|
118044
|
+
toolkit: string;
|
|
118045
|
+
}
|
|
118046
|
+
export interface WorkflowDependencyListOutput {
|
|
118047
|
+
toolkit: string;
|
|
118048
|
+
workflows: {
|
|
118049
|
+
name: string;
|
|
118050
|
+
/**
|
|
118051
|
+
* The node ids calling one of the toolkit’s tools.
|
|
118052
|
+
*/
|
|
118053
|
+
nodes: string[];
|
|
118054
|
+
status: string;
|
|
118055
|
+
/**
|
|
118056
|
+
* The published versions that depend on the toolkit.
|
|
118057
|
+
*/
|
|
118058
|
+
versions: number[];
|
|
118059
|
+
product_id: string;
|
|
118060
|
+
workflow_id: string;
|
|
118061
|
+
}[];
|
|
118062
|
+
}
|
|
118164
118063
|
export interface WorkflowGrantListInput {
|
|
118165
118064
|
workflow_id: string;
|
|
118166
118065
|
}
|
|
@@ -118195,6 +118094,33 @@ export interface WorkflowGrantListOutput {
|
|
|
118195
118094
|
*/
|
|
118196
118095
|
needs_sponsor: string[];
|
|
118197
118096
|
}
|
|
118097
|
+
export interface WorkflowHealthListInput {
|
|
118098
|
+
/**
|
|
118099
|
+
* Page size, 1-200; defaults to 50.
|
|
118100
|
+
*/
|
|
118101
|
+
limit?: number;
|
|
118102
|
+
/**
|
|
118103
|
+
* Opaque cursor from a previous page.
|
|
118104
|
+
*/
|
|
118105
|
+
cursor?: string;
|
|
118106
|
+
workflow_id: string;
|
|
118107
|
+
}
|
|
118108
|
+
export interface WorkflowHealthListOutput {
|
|
118109
|
+
/**
|
|
118110
|
+
* Newest first.
|
|
118111
|
+
*/
|
|
118112
|
+
events: {
|
|
118113
|
+
at: string;
|
|
118114
|
+
fix?: unknown;
|
|
118115
|
+
/**
|
|
118116
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
118117
|
+
*/
|
|
118118
|
+
kind: string;
|
|
118119
|
+
detail?: unknown;
|
|
118120
|
+
}[];
|
|
118121
|
+
next_cursor: (string | null);
|
|
118122
|
+
workflow_id: string;
|
|
118123
|
+
}
|
|
118198
118124
|
export interface WorkflowHealthPingInput {
|
|
118199
118125
|
}
|
|
118200
118126
|
export interface WorkflowHealthPingOutput {
|
|
@@ -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, WorkflowGrantListInput, WorkflowGrantListOutput, 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, 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, WorkflowGrantListInput, WorkflowGrantListOutput, 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, 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>;
|
|
@@ -64,10 +64,18 @@ export declare const workflowDefinitionValidateQueryOptions: (sdk: GeneratedClie
|
|
|
64
64
|
queryKey: readonly ["workflow", "definition", "validate", WorkflowDefinitionValidateInput];
|
|
65
65
|
queryFn: () => Promise<WorkflowDefinitionValidateOutput>;
|
|
66
66
|
};
|
|
67
|
+
export declare const workflowDependencyListQueryOptions: (sdk: GeneratedClient, input: WorkflowDependencyListInput) => {
|
|
68
|
+
queryKey: readonly ["workflow", "dependency", "list", WorkflowDependencyListInput];
|
|
69
|
+
queryFn: () => Promise<WorkflowDependencyListOutput>;
|
|
70
|
+
};
|
|
67
71
|
export declare const workflowGrantListQueryOptions: (sdk: GeneratedClient, input: WorkflowGrantListInput) => {
|
|
68
72
|
queryKey: readonly ["workflow", "grant", "list", WorkflowGrantListInput];
|
|
69
73
|
queryFn: () => Promise<WorkflowGrantListOutput>;
|
|
70
74
|
};
|
|
75
|
+
export declare const workflowHealthListQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthListInput) => {
|
|
76
|
+
queryKey: readonly ["workflow", "health", "list", WorkflowHealthListInput];
|
|
77
|
+
queryFn: () => Promise<WorkflowHealthListOutput>;
|
|
78
|
+
};
|
|
71
79
|
export declare const workflowHealthPingQueryOptions: (sdk: GeneratedClient, input: WorkflowHealthPingInput) => {
|
|
72
80
|
queryKey: readonly ["workflow", "health", "ping", WorkflowHealthPingInput];
|
|
73
81
|
queryFn: () => Promise<WorkflowHealthPingOutput>;
|