@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
package/src/gen/types.gen.ts
CHANGED
|
@@ -85727,305 +85727,6 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
85727
85727
|
url: string
|
|
85728
85728
|
}
|
|
85729
85729
|
|
|
85730
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
85731
|
-
/**
|
|
85732
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
85733
|
-
*/
|
|
85734
|
-
limit?: number
|
|
85735
|
-
}
|
|
85736
|
-
|
|
85737
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85738
|
-
ok: boolean
|
|
85739
|
-
minted: boolean
|
|
85740
|
-
overview?: unknown
|
|
85741
|
-
http_status: number
|
|
85742
|
-
}
|
|
85743
|
-
|
|
85744
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
85745
|
-
|
|
85746
|
-
}
|
|
85747
|
-
|
|
85748
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
85749
|
-
ok: boolean
|
|
85750
|
-
minted: boolean
|
|
85751
|
-
http_status: number
|
|
85752
|
-
entitlements?: unknown
|
|
85753
|
-
}
|
|
85754
|
-
|
|
85755
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
85756
|
-
/**
|
|
85757
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85758
|
-
*/
|
|
85759
|
-
value?: number
|
|
85760
|
-
}
|
|
85761
|
-
|
|
85762
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
85763
|
-
minted: boolean
|
|
85764
|
-
accepted: (number | null)
|
|
85765
|
-
recorded: boolean
|
|
85766
|
-
duplicates: (number | null)
|
|
85767
|
-
http_status: number
|
|
85768
|
-
}
|
|
85769
|
-
|
|
85770
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
85771
|
-
/**
|
|
85772
|
-
* Task title; defaults to a fixture label
|
|
85773
|
-
*/
|
|
85774
|
-
name?: string
|
|
85775
|
-
/**
|
|
85776
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85777
|
-
*/
|
|
85778
|
-
listId?: string
|
|
85779
|
-
}
|
|
85780
|
-
|
|
85781
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
85782
|
-
minted: boolean
|
|
85783
|
-
task_id: (string | null)
|
|
85784
|
-
list_status: number
|
|
85785
|
-
vend_status: number
|
|
85786
|
-
clickup_status: number
|
|
85787
|
-
installation_count: number
|
|
85788
|
-
}
|
|
85789
|
-
|
|
85790
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85791
|
-
|
|
85792
|
-
}
|
|
85793
|
-
|
|
85794
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85795
|
-
payload: string
|
|
85796
|
-
event_id: string
|
|
85797
|
-
provider: string
|
|
85798
|
-
verified: boolean
|
|
85799
|
-
product_id: string
|
|
85800
|
-
occurred_at: string
|
|
85801
|
-
connector_id: string
|
|
85802
|
-
clickup_event: (string | null)
|
|
85803
|
-
receipt_count: number
|
|
85804
|
-
} | {
|
|
85805
|
-
found: false
|
|
85806
|
-
})
|
|
85807
|
-
|
|
85808
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
85809
|
-
|
|
85810
|
-
}
|
|
85811
|
-
|
|
85812
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
85813
|
-
team: ({
|
|
85814
|
-
teamId: string
|
|
85815
|
-
teamName: string
|
|
85816
|
-
} | null)
|
|
85817
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85818
|
-
tasks: {
|
|
85819
|
-
id: string
|
|
85820
|
-
name: string
|
|
85821
|
-
status: (string | null)
|
|
85822
|
-
}[]
|
|
85823
|
-
minted: boolean
|
|
85824
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85825
|
-
list_status: number
|
|
85826
|
-
vend_status: number
|
|
85827
|
-
lists_status: number
|
|
85828
|
-
tasks_status: number
|
|
85829
|
-
spaces_status: number
|
|
85830
|
-
folders_status: number
|
|
85831
|
-
installation_count: number
|
|
85832
|
-
}
|
|
85833
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85834
|
-
id: string
|
|
85835
|
-
name: string
|
|
85836
|
-
}
|
|
85837
|
-
|
|
85838
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85839
|
-
|
|
85840
|
-
}
|
|
85841
|
-
|
|
85842
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85843
|
-
file_id: string
|
|
85844
|
-
removed: boolean
|
|
85845
|
-
file_name: (string | null)
|
|
85846
|
-
mime_type: (string | null)
|
|
85847
|
-
product_id: string
|
|
85848
|
-
occurred_at: string
|
|
85849
|
-
connector_id: string
|
|
85850
|
-
resource_state: string
|
|
85851
|
-
} | {
|
|
85852
|
-
found: false
|
|
85853
|
-
})
|
|
85854
|
-
|
|
85855
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
85856
|
-
/**
|
|
85857
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85858
|
-
*/
|
|
85859
|
-
fileId?: string
|
|
85860
|
-
}
|
|
85861
|
-
|
|
85862
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
85863
|
-
minted: boolean
|
|
85864
|
-
file_id: (string | null)
|
|
85865
|
-
file_name: (string | null)
|
|
85866
|
-
mime_type: (string | null)
|
|
85867
|
-
file_count: number
|
|
85868
|
-
get_status: number
|
|
85869
|
-
list_status: number
|
|
85870
|
-
vend_status: number
|
|
85871
|
-
content_bytes: (number | null)
|
|
85872
|
-
}
|
|
85873
|
-
|
|
85874
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85875
|
-
|
|
85876
|
-
}
|
|
85877
|
-
|
|
85878
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85879
|
-
minted: boolean
|
|
85880
|
-
vended: boolean
|
|
85881
|
-
customer_id: (string | null)
|
|
85882
|
-
vend_status: number
|
|
85883
|
-
result_count: number
|
|
85884
|
-
search_status: number
|
|
85885
|
-
login_customer_id: (string | null)
|
|
85886
|
-
}
|
|
85887
|
-
|
|
85888
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
85889
|
-
|
|
85890
|
-
}
|
|
85891
|
-
|
|
85892
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
85893
|
-
blocked: boolean
|
|
85894
|
-
archived: boolean
|
|
85895
|
-
productId: string
|
|
85896
|
-
lastBlockTransition: ({
|
|
85897
|
-
eventId: string
|
|
85898
|
-
eventName: string
|
|
85899
|
-
productId: string
|
|
85900
|
-
occurredAt: string
|
|
85901
|
-
recordedAt: string
|
|
85902
|
-
receiptCount: number
|
|
85903
|
-
organizationId: string
|
|
85904
|
-
cascadedFromOrg: boolean
|
|
85905
|
-
} | null)
|
|
85906
|
-
lastArchiveTransition: ({
|
|
85907
|
-
eventId: string
|
|
85908
|
-
eventName: string
|
|
85909
|
-
productId: string
|
|
85910
|
-
occurredAt: string
|
|
85911
|
-
recordedAt: string
|
|
85912
|
-
receiptCount: number
|
|
85913
|
-
organizationId: string
|
|
85914
|
-
cascadedFromOrg: boolean
|
|
85915
|
-
} | null)
|
|
85916
|
-
}
|
|
85917
|
-
|
|
85918
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
85919
|
-
|
|
85920
|
-
}
|
|
85921
|
-
|
|
85922
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
85923
|
-
eventId: string
|
|
85924
|
-
eventName: string
|
|
85925
|
-
productId: string
|
|
85926
|
-
occurredAt: string
|
|
85927
|
-
recordedAt: string
|
|
85928
|
-
receiptCount: number
|
|
85929
|
-
organizationId: string
|
|
85930
|
-
cascadedFromOrg: boolean
|
|
85931
|
-
}[]
|
|
85932
|
-
|
|
85933
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
85934
|
-
|
|
85935
|
-
}
|
|
85936
|
-
|
|
85937
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
85938
|
-
payload?: unknown
|
|
85939
|
-
event_id: string
|
|
85940
|
-
provider: string
|
|
85941
|
-
verified: boolean
|
|
85942
|
-
product_id: string
|
|
85943
|
-
occurred_at: string
|
|
85944
|
-
connector_id: string
|
|
85945
|
-
delivery_count: number
|
|
85946
|
-
} | {
|
|
85947
|
-
found: false
|
|
85948
|
-
})
|
|
85949
|
-
|
|
85950
|
-
export interface PlaygroundWorkflowEchoInput {
|
|
85951
|
-
/**
|
|
85952
|
-
* The text to store, 1–1024 characters
|
|
85953
|
-
*/
|
|
85954
|
-
note: string
|
|
85955
|
-
/**
|
|
85956
|
-
* Optional labels stored alongside the note, at most 20
|
|
85957
|
-
*
|
|
85958
|
-
* @maxItems 20
|
|
85959
|
-
*/
|
|
85960
|
-
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]
|
|
85961
|
-
}
|
|
85962
|
-
|
|
85963
|
-
export interface PlaygroundWorkflowEchoOutput {
|
|
85964
|
-
/**
|
|
85965
|
-
* Identifier of the stored echo
|
|
85966
|
-
*/
|
|
85967
|
-
id: string
|
|
85968
|
-
/**
|
|
85969
|
-
* The note exactly as it was received
|
|
85970
|
-
*/
|
|
85971
|
-
note: string
|
|
85972
|
-
/**
|
|
85973
|
-
* The tags exactly as they were received
|
|
85974
|
-
*/
|
|
85975
|
-
tags: string[]
|
|
85976
|
-
/**
|
|
85977
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
85978
|
-
*/
|
|
85979
|
-
received_at: string
|
|
85980
|
-
}
|
|
85981
|
-
|
|
85982
|
-
export interface PlaygroundWorkflowEchoListInput {
|
|
85983
|
-
|
|
85984
|
-
}
|
|
85985
|
-
|
|
85986
|
-
export type PlaygroundWorkflowEchoListOutput = {
|
|
85987
|
-
/**
|
|
85988
|
-
* Identifier of the stored echo
|
|
85989
|
-
*/
|
|
85990
|
-
id: string
|
|
85991
|
-
/**
|
|
85992
|
-
* The note exactly as it was received
|
|
85993
|
-
*/
|
|
85994
|
-
note: string
|
|
85995
|
-
/**
|
|
85996
|
-
* The tags exactly as they were received
|
|
85997
|
-
*/
|
|
85998
|
-
tags: string[]
|
|
85999
|
-
/**
|
|
86000
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
86001
|
-
*/
|
|
86002
|
-
received_at: string
|
|
86003
|
-
}[]
|
|
86004
|
-
|
|
86005
|
-
export interface PlaygroundWorkflowPingInput {
|
|
86006
|
-
/**
|
|
86007
|
-
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
86008
|
-
*/
|
|
86009
|
-
kind?: string
|
|
86010
|
-
}
|
|
86011
|
-
|
|
86012
|
-
export interface PlaygroundWorkflowPingOutput {
|
|
86013
|
-
/**
|
|
86014
|
-
* 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.
|
|
86015
|
-
*/
|
|
86016
|
-
id: string
|
|
86017
|
-
/**
|
|
86018
|
-
* The name of the event that was published
|
|
86019
|
-
*/
|
|
86020
|
-
event: string
|
|
86021
|
-
}
|
|
86022
|
-
|
|
86023
|
-
export interface PlaygroundWsEchoInput {
|
|
86024
|
-
|
|
86025
|
-
}
|
|
86026
|
-
|
|
86027
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
86028
|
-
|
|
86029
85730
|
export interface RealtimeArchiveExportInput {
|
|
86030
85731
|
/**
|
|
86031
85732
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -111122,6 +110823,22 @@ effective: string[]
|
|
|
111122
110823
|
*/
|
|
111123
110824
|
needs_sponsor: string[]
|
|
111124
110825
|
} | null)
|
|
110826
|
+
/**
|
|
110827
|
+
* What the dependency check found; null when nothing is unknown.
|
|
110828
|
+
*/
|
|
110829
|
+
health: ({
|
|
110830
|
+
unknown: {
|
|
110831
|
+
kind: ("trigger" | "action")
|
|
110832
|
+
name: string
|
|
110833
|
+
reason: ("missing" | "schema_changed")
|
|
110834
|
+
node_id?: string
|
|
110835
|
+
toolkit: string
|
|
110836
|
+
}[]
|
|
110837
|
+
/**
|
|
110838
|
+
* What a recovery restores.
|
|
110839
|
+
*/
|
|
110840
|
+
previous_status?: ("draft" | "enabled" | "disabled")
|
|
110841
|
+
} | null)
|
|
111125
110842
|
/**
|
|
111126
110843
|
* Validation of the draft as it stands right now.
|
|
111127
110844
|
*/
|
|
@@ -111140,10 +110857,25 @@ node_id?: string
|
|
|
111140
110857
|
expected?: string
|
|
111141
110858
|
severity: ("error" | "warning")
|
|
111142
110859
|
}[]
|
|
110860
|
+
/**
|
|
110861
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
110862
|
+
*/
|
|
110863
|
+
timeline: {
|
|
110864
|
+
at: string
|
|
110865
|
+
fix?: unknown
|
|
110866
|
+
/**
|
|
110867
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
110868
|
+
*/
|
|
110869
|
+
kind: string
|
|
110870
|
+
detail?: unknown
|
|
110871
|
+
}[]
|
|
111143
110872
|
workflow: {
|
|
111144
110873
|
id: string
|
|
111145
110874
|
name: string
|
|
111146
|
-
|
|
110875
|
+
/**
|
|
110876
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
110877
|
+
*/
|
|
110878
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111147
110879
|
/**
|
|
111148
110880
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111149
110881
|
*/
|
|
@@ -111189,7 +110921,10 @@ workflow_id: string
|
|
|
111189
110921
|
export interface WorkflowDefinitionDisableOutput {
|
|
111190
110922
|
id: string
|
|
111191
110923
|
name: string
|
|
111192
|
-
|
|
110924
|
+
/**
|
|
110925
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
110926
|
+
*/
|
|
110927
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111193
110928
|
/**
|
|
111194
110929
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111195
110930
|
*/
|
|
@@ -111258,7 +110993,10 @@ workflow_id: string
|
|
|
111258
110993
|
export interface WorkflowDefinitionEnableOutput {
|
|
111259
110994
|
id: string
|
|
111260
110995
|
name: string
|
|
111261
|
-
|
|
110996
|
+
/**
|
|
110997
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
110998
|
+
*/
|
|
110999
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111262
111000
|
/**
|
|
111263
111001
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111264
111002
|
*/
|
|
@@ -111339,6 +111077,22 @@ effective: string[]
|
|
|
111339
111077
|
*/
|
|
111340
111078
|
needs_sponsor: string[]
|
|
111341
111079
|
} | null)
|
|
111080
|
+
/**
|
|
111081
|
+
* What the dependency check found; null when nothing is unknown.
|
|
111082
|
+
*/
|
|
111083
|
+
health: ({
|
|
111084
|
+
unknown: {
|
|
111085
|
+
kind: ("trigger" | "action")
|
|
111086
|
+
name: string
|
|
111087
|
+
reason: ("missing" | "schema_changed")
|
|
111088
|
+
node_id?: string
|
|
111089
|
+
toolkit: string
|
|
111090
|
+
}[]
|
|
111091
|
+
/**
|
|
111092
|
+
* What a recovery restores.
|
|
111093
|
+
*/
|
|
111094
|
+
previous_status?: ("draft" | "enabled" | "disabled")
|
|
111095
|
+
} | null)
|
|
111342
111096
|
/**
|
|
111343
111097
|
* Validation of the draft as it stands right now.
|
|
111344
111098
|
*/
|
|
@@ -111357,10 +111111,25 @@ node_id?: string
|
|
|
111357
111111
|
expected?: string
|
|
111358
111112
|
severity: ("error" | "warning")
|
|
111359
111113
|
}[]
|
|
111114
|
+
/**
|
|
111115
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
111116
|
+
*/
|
|
111117
|
+
timeline: {
|
|
111118
|
+
at: string
|
|
111119
|
+
fix?: unknown
|
|
111120
|
+
/**
|
|
111121
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
111122
|
+
*/
|
|
111123
|
+
kind: string
|
|
111124
|
+
detail?: unknown
|
|
111125
|
+
}[]
|
|
111360
111126
|
workflow: {
|
|
111361
111127
|
id: string
|
|
111362
111128
|
name: string
|
|
111363
|
-
|
|
111129
|
+
/**
|
|
111130
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
111131
|
+
*/
|
|
111132
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111364
111133
|
/**
|
|
111365
111134
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111366
111135
|
*/
|
|
@@ -111447,6 +111216,22 @@ effective: string[]
|
|
|
111447
111216
|
*/
|
|
111448
111217
|
needs_sponsor: string[]
|
|
111449
111218
|
} | null)
|
|
111219
|
+
/**
|
|
111220
|
+
* What the dependency check found; null when nothing is unknown.
|
|
111221
|
+
*/
|
|
111222
|
+
health: ({
|
|
111223
|
+
unknown: {
|
|
111224
|
+
kind: ("trigger" | "action")
|
|
111225
|
+
name: string
|
|
111226
|
+
reason: ("missing" | "schema_changed")
|
|
111227
|
+
node_id?: string
|
|
111228
|
+
toolkit: string
|
|
111229
|
+
}[]
|
|
111230
|
+
/**
|
|
111231
|
+
* What a recovery restores.
|
|
111232
|
+
*/
|
|
111233
|
+
previous_status?: ("draft" | "enabled" | "disabled")
|
|
111234
|
+
} | null)
|
|
111450
111235
|
/**
|
|
111451
111236
|
* Validation of the draft as it stands right now.
|
|
111452
111237
|
*/
|
|
@@ -111465,10 +111250,25 @@ node_id?: string
|
|
|
111465
111250
|
expected?: string
|
|
111466
111251
|
severity: ("error" | "warning")
|
|
111467
111252
|
}[]
|
|
111253
|
+
/**
|
|
111254
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
111255
|
+
*/
|
|
111256
|
+
timeline: {
|
|
111257
|
+
at: string
|
|
111258
|
+
fix?: unknown
|
|
111259
|
+
/**
|
|
111260
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
111261
|
+
*/
|
|
111262
|
+
kind: string
|
|
111263
|
+
detail?: unknown
|
|
111264
|
+
}[]
|
|
111468
111265
|
workflow: {
|
|
111469
111266
|
id: string
|
|
111470
111267
|
name: string
|
|
111471
|
-
|
|
111268
|
+
/**
|
|
111269
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
111270
|
+
*/
|
|
111271
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111472
111272
|
/**
|
|
111473
111273
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111474
111274
|
*/
|
|
@@ -111516,14 +111316,17 @@ limit?: number
|
|
|
111516
111316
|
* Opaque cursor from a previous page.
|
|
111517
111317
|
*/
|
|
111518
111318
|
cursor?: string
|
|
111519
|
-
status?: ("draft" | "enabled" | "disabled")
|
|
111319
|
+
status?: ("draft" | "enabled" | "disabled" | "broken")
|
|
111520
111320
|
}
|
|
111521
111321
|
|
|
111522
111322
|
export interface WorkflowDefinitionListOutput {
|
|
111523
111323
|
items: {
|
|
111524
111324
|
id: string
|
|
111525
111325
|
name: string
|
|
111526
|
-
|
|
111326
|
+
/**
|
|
111327
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
111328
|
+
*/
|
|
111329
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111527
111330
|
/**
|
|
111528
111331
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111529
111332
|
*/
|
|
@@ -111653,6 +111456,22 @@ effective: string[]
|
|
|
111653
111456
|
*/
|
|
111654
111457
|
needs_sponsor: string[]
|
|
111655
111458
|
} | null)
|
|
111459
|
+
/**
|
|
111460
|
+
* What the dependency check found; null when nothing is unknown.
|
|
111461
|
+
*/
|
|
111462
|
+
health: ({
|
|
111463
|
+
unknown: {
|
|
111464
|
+
kind: ("trigger" | "action")
|
|
111465
|
+
name: string
|
|
111466
|
+
reason: ("missing" | "schema_changed")
|
|
111467
|
+
node_id?: string
|
|
111468
|
+
toolkit: string
|
|
111469
|
+
}[]
|
|
111470
|
+
/**
|
|
111471
|
+
* What a recovery restores.
|
|
111472
|
+
*/
|
|
111473
|
+
previous_status?: ("draft" | "enabled" | "disabled")
|
|
111474
|
+
} | null)
|
|
111656
111475
|
/**
|
|
111657
111476
|
* Validation of the draft as it stands right now.
|
|
111658
111477
|
*/
|
|
@@ -111671,10 +111490,25 @@ node_id?: string
|
|
|
111671
111490
|
expected?: string
|
|
111672
111491
|
severity: ("error" | "warning")
|
|
111673
111492
|
}[]
|
|
111493
|
+
/**
|
|
111494
|
+
* The last 20 health entries, newest first; `workflow_health_list` pages the rest.
|
|
111495
|
+
*/
|
|
111496
|
+
timeline: {
|
|
111497
|
+
at: string
|
|
111498
|
+
fix?: unknown
|
|
111499
|
+
/**
|
|
111500
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
111501
|
+
*/
|
|
111502
|
+
kind: string
|
|
111503
|
+
detail?: unknown
|
|
111504
|
+
}[]
|
|
111674
111505
|
workflow: {
|
|
111675
111506
|
id: string
|
|
111676
111507
|
name: string
|
|
111677
|
-
|
|
111508
|
+
/**
|
|
111509
|
+
* `broken` is the dependency check's, not an operator's: a capability is gone.
|
|
111510
|
+
*/
|
|
111511
|
+
status: ("draft" | "enabled" | "disabled" | "broken")
|
|
111678
111512
|
/**
|
|
111679
111513
|
* What is stopping an otherwise published workflow; null when nothing is.
|
|
111680
111514
|
*/
|
|
@@ -111745,6 +111579,31 @@ severity: ("error" | "warning")
|
|
|
111745
111579
|
}[]
|
|
111746
111580
|
}
|
|
111747
111581
|
|
|
111582
|
+
export interface WorkflowDependencyListInput {
|
|
111583
|
+
/**
|
|
111584
|
+
* The toolkit id a dependency names, e.g. `mail`.
|
|
111585
|
+
*/
|
|
111586
|
+
toolkit: string
|
|
111587
|
+
}
|
|
111588
|
+
|
|
111589
|
+
export interface WorkflowDependencyListOutput {
|
|
111590
|
+
toolkit: string
|
|
111591
|
+
workflows: {
|
|
111592
|
+
name: string
|
|
111593
|
+
/**
|
|
111594
|
+
* The node ids calling one of the toolkit’s tools.
|
|
111595
|
+
*/
|
|
111596
|
+
nodes: string[]
|
|
111597
|
+
status: string
|
|
111598
|
+
/**
|
|
111599
|
+
* The published versions that depend on the toolkit.
|
|
111600
|
+
*/
|
|
111601
|
+
versions: number[]
|
|
111602
|
+
product_id: string
|
|
111603
|
+
workflow_id: string
|
|
111604
|
+
}[]
|
|
111605
|
+
}
|
|
111606
|
+
|
|
111748
111607
|
export interface WorkflowGrantListInput {
|
|
111749
111608
|
workflow_id: string
|
|
111750
111609
|
}
|
|
@@ -111781,6 +111640,35 @@ approve_with: string
|
|
|
111781
111640
|
needs_sponsor: string[]
|
|
111782
111641
|
}
|
|
111783
111642
|
|
|
111643
|
+
export interface WorkflowHealthListInput {
|
|
111644
|
+
/**
|
|
111645
|
+
* Page size, 1-200; defaults to 50.
|
|
111646
|
+
*/
|
|
111647
|
+
limit?: number
|
|
111648
|
+
/**
|
|
111649
|
+
* Opaque cursor from a previous page.
|
|
111650
|
+
*/
|
|
111651
|
+
cursor?: string
|
|
111652
|
+
workflow_id: string
|
|
111653
|
+
}
|
|
111654
|
+
|
|
111655
|
+
export interface WorkflowHealthListOutput {
|
|
111656
|
+
/**
|
|
111657
|
+
* Newest first.
|
|
111658
|
+
*/
|
|
111659
|
+
events: {
|
|
111660
|
+
at: string
|
|
111661
|
+
fix?: unknown
|
|
111662
|
+
/**
|
|
111663
|
+
* `broken`, `recovered`, `grants_pending`, `grant_revoked`, `sponsor_gone`, `grants_ok` and whatever the dispatcher and the executor record beside them.
|
|
111664
|
+
*/
|
|
111665
|
+
kind: string
|
|
111666
|
+
detail?: unknown
|
|
111667
|
+
}[]
|
|
111668
|
+
next_cursor: (string | null)
|
|
111669
|
+
workflow_id: string
|
|
111670
|
+
}
|
|
111671
|
+
|
|
111784
111672
|
export interface WorkflowHealthPingInput {
|
|
111785
111673
|
|
|
111786
111674
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
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';
|
|
3
|
+
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';
|
|
@@ -25,8 +25,12 @@ import type {
|
|
|
25
25
|
WorkflowDefinitionUpdateInput,
|
|
26
26
|
WorkflowDefinitionValidateInput,
|
|
27
27
|
WorkflowDefinitionValidateOutput,
|
|
28
|
+
WorkflowDependencyListInput,
|
|
29
|
+
WorkflowDependencyListOutput,
|
|
28
30
|
WorkflowGrantListInput,
|
|
29
31
|
WorkflowGrantListOutput,
|
|
32
|
+
WorkflowHealthListInput,
|
|
33
|
+
WorkflowHealthListOutput,
|
|
30
34
|
WorkflowHealthPingInput,
|
|
31
35
|
WorkflowHealthPingOutput,
|
|
32
36
|
WorkflowKillswitchGetInput,
|
|
@@ -126,11 +130,21 @@ export const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, inp
|
|
|
126
130
|
queryFn: () => sdk['workflow']['definition']['validate'](input),
|
|
127
131
|
});
|
|
128
132
|
|
|
133
|
+
export const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({
|
|
134
|
+
queryKey: ['workflow', 'dependency', 'list', input] as const,
|
|
135
|
+
queryFn: () => sdk['workflow']['dependency']['list'](input),
|
|
136
|
+
});
|
|
137
|
+
|
|
129
138
|
export const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({
|
|
130
139
|
queryKey: ['workflow', 'grant', 'list', input] as const,
|
|
131
140
|
queryFn: () => sdk['workflow']['grant']['list'](input),
|
|
132
141
|
});
|
|
133
142
|
|
|
143
|
+
export const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({
|
|
144
|
+
queryKey: ['workflow', 'health', 'list', input] as const,
|
|
145
|
+
queryFn: () => sdk['workflow']['health']['list'](input),
|
|
146
|
+
});
|
|
147
|
+
|
|
134
148
|
export const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({
|
|
135
149
|
queryKey: ['workflow', 'health', 'ping', input] as const,
|
|
136
150
|
queryFn: () => sdk['workflow']['health']['ping'](input),
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './queryOptions.gen.js';
|
|
2
|
-
export * from './connect.gen.js';
|
|
3
|
-
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen.js';
|