windmill-client 1.767.0 → 1.768.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/core/OpenAPI.mjs +1 -1
- package/dist/index.js +435 -2
- package/dist/index.mjs +2 -2
- package/dist/services.gen.d.ts +278 -2
- package/dist/services.gen.mjs +434 -2
- package/dist/types.gen.d.ts +715 -1
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1152,6 +1152,10 @@ export type EditErrorHandlerNew = {
|
|
|
1152
1152
|
extra_args?: ScriptArgs;
|
|
1153
1153
|
muted_on_cancel?: boolean;
|
|
1154
1154
|
muted_on_user_path?: boolean;
|
|
1155
|
+
/**
|
|
1156
|
+
* Report failed jobs to the instance critical alert channels when no workspace error handler is set. Omit to leave the stored value untouched.
|
|
1157
|
+
*/
|
|
1158
|
+
fallback_to_instance_alerts?: boolean;
|
|
1155
1159
|
};
|
|
1156
1160
|
/**
|
|
1157
1161
|
* Legacy flat format for editing error handler (deprecated, use new format)
|
|
@@ -2536,7 +2540,7 @@ export type ScheduleWJobs = Schedule & {
|
|
|
2536
2540
|
duration_ms: number;
|
|
2537
2541
|
}>;
|
|
2538
2542
|
};
|
|
2539
|
-
export type ErrorHandler = 'custom' | 'slack' | 'teams' | 'email';
|
|
2543
|
+
export type ErrorHandler = 'custom' | 'slack' | 'teams' | 'email' | 'instance_alerts';
|
|
2540
2544
|
export type NewSchedule = {
|
|
2541
2545
|
/**
|
|
2542
2546
|
* The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.
|
|
@@ -4735,6 +4739,10 @@ export type CreateWorkspace = {
|
|
|
4735
4739
|
name: string;
|
|
4736
4740
|
username?: string;
|
|
4737
4741
|
color?: string;
|
|
4742
|
+
/**
|
|
4743
|
+
* Report failed jobs to the instance critical alert channels when no workspace error handler is set. Not available on cloud or on fork workspaces.
|
|
4744
|
+
*/
|
|
4745
|
+
error_handler_fallback_to_instance_alerts?: boolean;
|
|
4738
4746
|
};
|
|
4739
4747
|
export type CreateWorkspaceFork = {
|
|
4740
4748
|
id: string;
|
|
@@ -6085,6 +6093,133 @@ export type GithubRepoEntry = {
|
|
|
6085
6093
|
owner: string;
|
|
6086
6094
|
private: boolean;
|
|
6087
6095
|
};
|
|
6096
|
+
/**
|
|
6097
|
+
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
6098
|
+
*/
|
|
6099
|
+
export type HubProjectSlug = string;
|
|
6100
|
+
export type PublishDraftBody = {
|
|
6101
|
+
slug: HubProjectSlug;
|
|
6102
|
+
name: string;
|
|
6103
|
+
summary: string;
|
|
6104
|
+
readme?: string;
|
|
6105
|
+
};
|
|
6106
|
+
export type PublishScriptBody = {
|
|
6107
|
+
summary: string;
|
|
6108
|
+
app: string;
|
|
6109
|
+
description?: string;
|
|
6110
|
+
kind?: string;
|
|
6111
|
+
content: string;
|
|
6112
|
+
language: string;
|
|
6113
|
+
schema?: {
|
|
6114
|
+
[key: string]: unknown;
|
|
6115
|
+
};
|
|
6116
|
+
lockfile?: string;
|
|
6117
|
+
path?: string;
|
|
6118
|
+
source_path?: string;
|
|
6119
|
+
project_slug: HubProjectSlug;
|
|
6120
|
+
};
|
|
6121
|
+
export type PublishFlowInner = {
|
|
6122
|
+
summary: string;
|
|
6123
|
+
description?: string;
|
|
6124
|
+
value: {
|
|
6125
|
+
[key: string]: unknown;
|
|
6126
|
+
};
|
|
6127
|
+
schema?: {
|
|
6128
|
+
[key: string]: unknown;
|
|
6129
|
+
};
|
|
6130
|
+
};
|
|
6131
|
+
export type PublishFlowBody = {
|
|
6132
|
+
flow: PublishFlowInner;
|
|
6133
|
+
apps: Array<(string)>;
|
|
6134
|
+
path?: string;
|
|
6135
|
+
source_path?: string;
|
|
6136
|
+
project_slug: HubProjectSlug;
|
|
6137
|
+
};
|
|
6138
|
+
export type PublishAppBody = {
|
|
6139
|
+
app: {
|
|
6140
|
+
[key: string]: unknown;
|
|
6141
|
+
};
|
|
6142
|
+
apps: Array<(string)>;
|
|
6143
|
+
description?: string;
|
|
6144
|
+
summary: string;
|
|
6145
|
+
path?: string;
|
|
6146
|
+
source_path?: string;
|
|
6147
|
+
project_slug: HubProjectSlug;
|
|
6148
|
+
};
|
|
6149
|
+
export type PublishRawAppBody = {
|
|
6150
|
+
raw: string;
|
|
6151
|
+
apps: Array<(string)>;
|
|
6152
|
+
description?: string;
|
|
6153
|
+
summary: string;
|
|
6154
|
+
path?: string;
|
|
6155
|
+
source_path?: string;
|
|
6156
|
+
project_slug: HubProjectSlug;
|
|
6157
|
+
};
|
|
6158
|
+
export type RawAppEmbedBody = {
|
|
6159
|
+
/**
|
|
6160
|
+
* explicit `null` clears the embed (unpublish)
|
|
6161
|
+
*/
|
|
6162
|
+
external_embed_url?: string | null;
|
|
6163
|
+
project_slug: HubProjectSlug;
|
|
6164
|
+
};
|
|
6165
|
+
export type RecordingBody = {
|
|
6166
|
+
recording?: {
|
|
6167
|
+
[key: string]: unknown;
|
|
6168
|
+
};
|
|
6169
|
+
project_slug: HubProjectSlug;
|
|
6170
|
+
};
|
|
6171
|
+
export type PipelineRecordingBody = {
|
|
6172
|
+
recording?: {
|
|
6173
|
+
[key: string]: unknown;
|
|
6174
|
+
};
|
|
6175
|
+
};
|
|
6176
|
+
export type PublishResourceTypeBody = {
|
|
6177
|
+
name: string;
|
|
6178
|
+
schema?: {
|
|
6179
|
+
[key: string]: unknown;
|
|
6180
|
+
};
|
|
6181
|
+
description?: string;
|
|
6182
|
+
project_slug: HubProjectSlug;
|
|
6183
|
+
};
|
|
6184
|
+
export type PublishResourceBody = {
|
|
6185
|
+
path: string;
|
|
6186
|
+
resource_type: string;
|
|
6187
|
+
};
|
|
6188
|
+
export type PublishResourcesBody = {
|
|
6189
|
+
resources: Array<PublishResourceBody>;
|
|
6190
|
+
project_slug: HubProjectSlug;
|
|
6191
|
+
};
|
|
6192
|
+
export type PublishTriggerBody = {
|
|
6193
|
+
path: string;
|
|
6194
|
+
kind: string;
|
|
6195
|
+
summary?: string | null;
|
|
6196
|
+
description?: string | null;
|
|
6197
|
+
config: {
|
|
6198
|
+
[key: string]: unknown;
|
|
6199
|
+
};
|
|
6200
|
+
script_ask_id?: number | null;
|
|
6201
|
+
flow_id?: number | null;
|
|
6202
|
+
};
|
|
6203
|
+
export type PublishTriggersBody = {
|
|
6204
|
+
triggers: Array<PublishTriggerBody>;
|
|
6205
|
+
project_slug: HubProjectSlug;
|
|
6206
|
+
};
|
|
6207
|
+
/**
|
|
6208
|
+
* one best-effort data table migration attached to a project (per data table)
|
|
6209
|
+
*/
|
|
6210
|
+
export type PublishMigrationBody = {
|
|
6211
|
+
datatable_name: string;
|
|
6212
|
+
sql: string;
|
|
6213
|
+
/**
|
|
6214
|
+
* defaults to an empty string when omitted
|
|
6215
|
+
*/
|
|
6216
|
+
sql_down?: string;
|
|
6217
|
+
enabled: boolean;
|
|
6218
|
+
};
|
|
6219
|
+
export type PublishMigrationsBody = {
|
|
6220
|
+
migrations: Array<PublishMigrationBody>;
|
|
6221
|
+
project_slug: HubProjectSlug;
|
|
6222
|
+
};
|
|
6088
6223
|
/**
|
|
6089
6224
|
* When true, overlay the authed user's draft (if any) onto the deployed payload.
|
|
6090
6225
|
*/
|
|
@@ -6101,6 +6236,13 @@ export type ParameterIncludeDraftOnly = boolean;
|
|
|
6101
6236
|
export type ParameterId = string;
|
|
6102
6237
|
export type ParameterKey = string;
|
|
6103
6238
|
export type ParameterWorkspaceId = string;
|
|
6239
|
+
/**
|
|
6240
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
6241
|
+
* one Hub project per folder and the Hub-side source key is
|
|
6242
|
+
* `{workspace}:{folder}`
|
|
6243
|
+
*
|
|
6244
|
+
*/
|
|
6245
|
+
export type ParameterHubPublishFolder = string;
|
|
6104
6246
|
/**
|
|
6105
6247
|
* The name of the publication
|
|
6106
6248
|
*/
|
|
@@ -7123,6 +7265,10 @@ export type GetSettingsResponse = {
|
|
|
7123
7265
|
* Rate limit for public app executions per minute per server. NULL or 0 means disabled.
|
|
7124
7266
|
*/
|
|
7125
7267
|
public_app_execution_limit_per_minute?: number;
|
|
7268
|
+
/**
|
|
7269
|
+
* Report failed jobs to the instance critical alert channels when no workspace error handler is set.
|
|
7270
|
+
*/
|
|
7271
|
+
error_handler_fallback_to_instance_alerts?: boolean;
|
|
7126
7272
|
};
|
|
7127
7273
|
export type GetDeployToData = {
|
|
7128
7274
|
workspace: string;
|
|
@@ -15752,6 +15898,216 @@ export type McpOauthCallbackData = {
|
|
|
15752
15898
|
state: string;
|
|
15753
15899
|
};
|
|
15754
15900
|
export type McpOauthCallbackResponse = string;
|
|
15901
|
+
export type PublishHubDraftData = {
|
|
15902
|
+
/**
|
|
15903
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15904
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15905
|
+
* `{workspace}:{folder}`
|
|
15906
|
+
*
|
|
15907
|
+
*/
|
|
15908
|
+
folder: string;
|
|
15909
|
+
requestBody: PublishDraftBody;
|
|
15910
|
+
workspace: string;
|
|
15911
|
+
};
|
|
15912
|
+
export type PublishHubDraftResponse = string;
|
|
15913
|
+
export type PublishHubScriptData = {
|
|
15914
|
+
/**
|
|
15915
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15916
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15917
|
+
* `{workspace}:{folder}`
|
|
15918
|
+
*
|
|
15919
|
+
*/
|
|
15920
|
+
folder: string;
|
|
15921
|
+
requestBody: PublishScriptBody;
|
|
15922
|
+
workspace: string;
|
|
15923
|
+
};
|
|
15924
|
+
export type PublishHubScriptResponse = string;
|
|
15925
|
+
export type PublishHubFlowData = {
|
|
15926
|
+
/**
|
|
15927
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15928
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15929
|
+
* `{workspace}:{folder}`
|
|
15930
|
+
*
|
|
15931
|
+
*/
|
|
15932
|
+
folder: string;
|
|
15933
|
+
requestBody: PublishFlowBody;
|
|
15934
|
+
workspace: string;
|
|
15935
|
+
};
|
|
15936
|
+
export type PublishHubFlowResponse = string;
|
|
15937
|
+
export type PublishHubAppData = {
|
|
15938
|
+
/**
|
|
15939
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15940
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15941
|
+
* `{workspace}:{folder}`
|
|
15942
|
+
*
|
|
15943
|
+
*/
|
|
15944
|
+
folder: string;
|
|
15945
|
+
requestBody: PublishAppBody;
|
|
15946
|
+
workspace: string;
|
|
15947
|
+
};
|
|
15948
|
+
export type PublishHubAppResponse = string;
|
|
15949
|
+
export type PublishHubRawAppData = {
|
|
15950
|
+
/**
|
|
15951
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15952
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15953
|
+
* `{workspace}:{folder}`
|
|
15954
|
+
*
|
|
15955
|
+
*/
|
|
15956
|
+
folder: string;
|
|
15957
|
+
requestBody: PublishRawAppBody;
|
|
15958
|
+
workspace: string;
|
|
15959
|
+
};
|
|
15960
|
+
export type PublishHubRawAppResponse = string;
|
|
15961
|
+
export type PublishHubRawAppEmbedData = {
|
|
15962
|
+
/**
|
|
15963
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15964
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15965
|
+
* `{workspace}:{folder}`
|
|
15966
|
+
*
|
|
15967
|
+
*/
|
|
15968
|
+
folder: string;
|
|
15969
|
+
/**
|
|
15970
|
+
* hub id of the raw app
|
|
15971
|
+
*/
|
|
15972
|
+
id: number;
|
|
15973
|
+
requestBody: RawAppEmbedBody;
|
|
15974
|
+
workspace: string;
|
|
15975
|
+
};
|
|
15976
|
+
export type PublishHubRawAppEmbedResponse = string;
|
|
15977
|
+
export type PublishHubScriptRecordingData = {
|
|
15978
|
+
/**
|
|
15979
|
+
* hub ask id of the script
|
|
15980
|
+
*/
|
|
15981
|
+
askId: number;
|
|
15982
|
+
/**
|
|
15983
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
15984
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15985
|
+
* `{workspace}:{folder}`
|
|
15986
|
+
*
|
|
15987
|
+
*/
|
|
15988
|
+
folder: string;
|
|
15989
|
+
requestBody: RecordingBody;
|
|
15990
|
+
workspace: string;
|
|
15991
|
+
};
|
|
15992
|
+
export type PublishHubScriptRecordingResponse = string;
|
|
15993
|
+
export type PublishHubFlowRecordingData = {
|
|
15994
|
+
/**
|
|
15995
|
+
* hub id of the flow
|
|
15996
|
+
*/
|
|
15997
|
+
flowId: number;
|
|
15998
|
+
/**
|
|
15999
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16000
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16001
|
+
* `{workspace}:{folder}`
|
|
16002
|
+
*
|
|
16003
|
+
*/
|
|
16004
|
+
folder: string;
|
|
16005
|
+
requestBody: RecordingBody;
|
|
16006
|
+
workspace: string;
|
|
16007
|
+
};
|
|
16008
|
+
export type PublishHubFlowRecordingResponse = string;
|
|
16009
|
+
export type PublishHubPipelineRecordingData = {
|
|
16010
|
+
/**
|
|
16011
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16012
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16013
|
+
* `{workspace}:{folder}`
|
|
16014
|
+
*
|
|
16015
|
+
*/
|
|
16016
|
+
folder: string;
|
|
16017
|
+
requestBody: PipelineRecordingBody;
|
|
16018
|
+
/**
|
|
16019
|
+
* hub project slug
|
|
16020
|
+
*/
|
|
16021
|
+
slug: HubProjectSlug;
|
|
16022
|
+
workspace: string;
|
|
16023
|
+
};
|
|
16024
|
+
export type PublishHubPipelineRecordingResponse = string;
|
|
16025
|
+
export type PublishHubResourceTypeData = {
|
|
16026
|
+
/**
|
|
16027
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16028
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16029
|
+
* `{workspace}:{folder}`
|
|
16030
|
+
*
|
|
16031
|
+
*/
|
|
16032
|
+
folder: string;
|
|
16033
|
+
requestBody: PublishResourceTypeBody;
|
|
16034
|
+
workspace: string;
|
|
16035
|
+
};
|
|
16036
|
+
export type PublishHubResourceTypeResponse = string;
|
|
16037
|
+
export type PublishHubResourcesData = {
|
|
16038
|
+
/**
|
|
16039
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16040
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16041
|
+
* `{workspace}:{folder}`
|
|
16042
|
+
*
|
|
16043
|
+
*/
|
|
16044
|
+
folder: string;
|
|
16045
|
+
requestBody: PublishResourcesBody;
|
|
16046
|
+
workspace: string;
|
|
16047
|
+
};
|
|
16048
|
+
export type PublishHubResourcesResponse = string;
|
|
16049
|
+
export type PublishHubTriggersData = {
|
|
16050
|
+
/**
|
|
16051
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16052
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16053
|
+
* `{workspace}:{folder}`
|
|
16054
|
+
*
|
|
16055
|
+
*/
|
|
16056
|
+
folder: string;
|
|
16057
|
+
requestBody: PublishTriggersBody;
|
|
16058
|
+
workspace: string;
|
|
16059
|
+
};
|
|
16060
|
+
export type PublishHubTriggersResponse = string;
|
|
16061
|
+
export type PublishHubMigrationsData = {
|
|
16062
|
+
/**
|
|
16063
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16064
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16065
|
+
* `{workspace}:{folder}`
|
|
16066
|
+
*
|
|
16067
|
+
*/
|
|
16068
|
+
folder: string;
|
|
16069
|
+
requestBody: PublishMigrationsBody;
|
|
16070
|
+
workspace: string;
|
|
16071
|
+
};
|
|
16072
|
+
export type PublishHubMigrationsResponse = string;
|
|
16073
|
+
export type GetHubProjectExportData = {
|
|
16074
|
+
/**
|
|
16075
|
+
* folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
16076
|
+
*/
|
|
16077
|
+
folder?: string;
|
|
16078
|
+
/**
|
|
16079
|
+
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
16080
|
+
*/
|
|
16081
|
+
slug: string;
|
|
16082
|
+
workspace: string;
|
|
16083
|
+
};
|
|
16084
|
+
export type GetHubProjectExportResponse = string;
|
|
16085
|
+
export type SubmitHubProjectData = {
|
|
16086
|
+
/**
|
|
16087
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16088
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16089
|
+
* `{workspace}:{folder}`
|
|
16090
|
+
*
|
|
16091
|
+
*/
|
|
16092
|
+
folder: string;
|
|
16093
|
+
/**
|
|
16094
|
+
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
16095
|
+
*/
|
|
16096
|
+
slug: string;
|
|
16097
|
+
workspace: string;
|
|
16098
|
+
};
|
|
16099
|
+
export type SubmitHubProjectResponse = string;
|
|
16100
|
+
export type GetHubProjectBySourceData = {
|
|
16101
|
+
/**
|
|
16102
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16103
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16104
|
+
* `{workspace}:{folder}`
|
|
16105
|
+
*
|
|
16106
|
+
*/
|
|
16107
|
+
folder: string;
|
|
16108
|
+
workspace: string;
|
|
16109
|
+
};
|
|
16110
|
+
export type GetHubProjectBySourceResponse = string;
|
|
15755
16111
|
export type $OpenApiTs = {
|
|
15756
16112
|
'/version': {
|
|
15757
16113
|
get: {
|
|
@@ -17553,6 +17909,10 @@ export type $OpenApiTs = {
|
|
|
17553
17909
|
* Rate limit for public app executions per minute per server. NULL or 0 means disabled.
|
|
17554
17910
|
*/
|
|
17555
17911
|
public_app_execution_limit_per_minute?: number;
|
|
17912
|
+
/**
|
|
17913
|
+
* Report failed jobs to the instance critical alert channels when no workspace error handler is set.
|
|
17914
|
+
*/
|
|
17915
|
+
error_handler_fallback_to_instance_alerts?: boolean;
|
|
17556
17916
|
};
|
|
17557
17917
|
};
|
|
17558
17918
|
};
|
|
@@ -32206,4 +32566,358 @@ export type $OpenApiTs = {
|
|
|
32206
32566
|
};
|
|
32207
32567
|
};
|
|
32208
32568
|
};
|
|
32569
|
+
'/w/{workspace}/hub/publish_draft': {
|
|
32570
|
+
post: {
|
|
32571
|
+
req: {
|
|
32572
|
+
/**
|
|
32573
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32574
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32575
|
+
* `{workspace}:{folder}`
|
|
32576
|
+
*
|
|
32577
|
+
*/
|
|
32578
|
+
folder: string;
|
|
32579
|
+
requestBody: PublishDraftBody;
|
|
32580
|
+
workspace: string;
|
|
32581
|
+
};
|
|
32582
|
+
res: {
|
|
32583
|
+
/**
|
|
32584
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32585
|
+
*/
|
|
32586
|
+
200: string;
|
|
32587
|
+
};
|
|
32588
|
+
};
|
|
32589
|
+
};
|
|
32590
|
+
'/w/{workspace}/hub/scripts': {
|
|
32591
|
+
post: {
|
|
32592
|
+
req: {
|
|
32593
|
+
/**
|
|
32594
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32595
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32596
|
+
* `{workspace}:{folder}`
|
|
32597
|
+
*
|
|
32598
|
+
*/
|
|
32599
|
+
folder: string;
|
|
32600
|
+
requestBody: PublishScriptBody;
|
|
32601
|
+
workspace: string;
|
|
32602
|
+
};
|
|
32603
|
+
res: {
|
|
32604
|
+
/**
|
|
32605
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32606
|
+
*/
|
|
32607
|
+
200: string;
|
|
32608
|
+
};
|
|
32609
|
+
};
|
|
32610
|
+
};
|
|
32611
|
+
'/w/{workspace}/hub/flows': {
|
|
32612
|
+
post: {
|
|
32613
|
+
req: {
|
|
32614
|
+
/**
|
|
32615
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32616
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32617
|
+
* `{workspace}:{folder}`
|
|
32618
|
+
*
|
|
32619
|
+
*/
|
|
32620
|
+
folder: string;
|
|
32621
|
+
requestBody: PublishFlowBody;
|
|
32622
|
+
workspace: string;
|
|
32623
|
+
};
|
|
32624
|
+
res: {
|
|
32625
|
+
/**
|
|
32626
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32627
|
+
*/
|
|
32628
|
+
200: string;
|
|
32629
|
+
};
|
|
32630
|
+
};
|
|
32631
|
+
};
|
|
32632
|
+
'/w/{workspace}/hub/apps': {
|
|
32633
|
+
post: {
|
|
32634
|
+
req: {
|
|
32635
|
+
/**
|
|
32636
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32637
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32638
|
+
* `{workspace}:{folder}`
|
|
32639
|
+
*
|
|
32640
|
+
*/
|
|
32641
|
+
folder: string;
|
|
32642
|
+
requestBody: PublishAppBody;
|
|
32643
|
+
workspace: string;
|
|
32644
|
+
};
|
|
32645
|
+
res: {
|
|
32646
|
+
/**
|
|
32647
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32648
|
+
*/
|
|
32649
|
+
200: string;
|
|
32650
|
+
};
|
|
32651
|
+
};
|
|
32652
|
+
};
|
|
32653
|
+
'/w/{workspace}/hub/raw_apps': {
|
|
32654
|
+
post: {
|
|
32655
|
+
req: {
|
|
32656
|
+
/**
|
|
32657
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32658
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32659
|
+
* `{workspace}:{folder}`
|
|
32660
|
+
*
|
|
32661
|
+
*/
|
|
32662
|
+
folder: string;
|
|
32663
|
+
requestBody: PublishRawAppBody;
|
|
32664
|
+
workspace: string;
|
|
32665
|
+
};
|
|
32666
|
+
res: {
|
|
32667
|
+
/**
|
|
32668
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32669
|
+
*/
|
|
32670
|
+
200: string;
|
|
32671
|
+
};
|
|
32672
|
+
};
|
|
32673
|
+
};
|
|
32674
|
+
'/w/{workspace}/hub/raw_apps/{id}/embed': {
|
|
32675
|
+
post: {
|
|
32676
|
+
req: {
|
|
32677
|
+
/**
|
|
32678
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32679
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32680
|
+
* `{workspace}:{folder}`
|
|
32681
|
+
*
|
|
32682
|
+
*/
|
|
32683
|
+
folder: string;
|
|
32684
|
+
/**
|
|
32685
|
+
* hub id of the raw app
|
|
32686
|
+
*/
|
|
32687
|
+
id: number;
|
|
32688
|
+
requestBody: RawAppEmbedBody;
|
|
32689
|
+
workspace: string;
|
|
32690
|
+
};
|
|
32691
|
+
res: {
|
|
32692
|
+
/**
|
|
32693
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32694
|
+
*/
|
|
32695
|
+
200: string;
|
|
32696
|
+
};
|
|
32697
|
+
};
|
|
32698
|
+
};
|
|
32699
|
+
'/w/{workspace}/hub/scripts/{ask_id}/recording': {
|
|
32700
|
+
post: {
|
|
32701
|
+
req: {
|
|
32702
|
+
/**
|
|
32703
|
+
* hub ask id of the script
|
|
32704
|
+
*/
|
|
32705
|
+
askId: number;
|
|
32706
|
+
/**
|
|
32707
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32708
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32709
|
+
* `{workspace}:{folder}`
|
|
32710
|
+
*
|
|
32711
|
+
*/
|
|
32712
|
+
folder: string;
|
|
32713
|
+
requestBody: RecordingBody;
|
|
32714
|
+
workspace: string;
|
|
32715
|
+
};
|
|
32716
|
+
res: {
|
|
32717
|
+
/**
|
|
32718
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32719
|
+
*/
|
|
32720
|
+
200: string;
|
|
32721
|
+
};
|
|
32722
|
+
};
|
|
32723
|
+
};
|
|
32724
|
+
'/w/{workspace}/hub/flows/{flow_id}/recording': {
|
|
32725
|
+
post: {
|
|
32726
|
+
req: {
|
|
32727
|
+
/**
|
|
32728
|
+
* hub id of the flow
|
|
32729
|
+
*/
|
|
32730
|
+
flowId: number;
|
|
32731
|
+
/**
|
|
32732
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32733
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32734
|
+
* `{workspace}:{folder}`
|
|
32735
|
+
*
|
|
32736
|
+
*/
|
|
32737
|
+
folder: string;
|
|
32738
|
+
requestBody: RecordingBody;
|
|
32739
|
+
workspace: string;
|
|
32740
|
+
};
|
|
32741
|
+
res: {
|
|
32742
|
+
/**
|
|
32743
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32744
|
+
*/
|
|
32745
|
+
200: string;
|
|
32746
|
+
};
|
|
32747
|
+
};
|
|
32748
|
+
};
|
|
32749
|
+
'/w/{workspace}/hub/projects/{slug}/pipeline_recording': {
|
|
32750
|
+
post: {
|
|
32751
|
+
req: {
|
|
32752
|
+
/**
|
|
32753
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32754
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32755
|
+
* `{workspace}:{folder}`
|
|
32756
|
+
*
|
|
32757
|
+
*/
|
|
32758
|
+
folder: string;
|
|
32759
|
+
requestBody: PipelineRecordingBody;
|
|
32760
|
+
/**
|
|
32761
|
+
* hub project slug
|
|
32762
|
+
*/
|
|
32763
|
+
slug: HubProjectSlug;
|
|
32764
|
+
workspace: string;
|
|
32765
|
+
};
|
|
32766
|
+
res: {
|
|
32767
|
+
/**
|
|
32768
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32769
|
+
*/
|
|
32770
|
+
200: string;
|
|
32771
|
+
};
|
|
32772
|
+
};
|
|
32773
|
+
};
|
|
32774
|
+
'/w/{workspace}/hub/resource_types': {
|
|
32775
|
+
post: {
|
|
32776
|
+
req: {
|
|
32777
|
+
/**
|
|
32778
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32779
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32780
|
+
* `{workspace}:{folder}`
|
|
32781
|
+
*
|
|
32782
|
+
*/
|
|
32783
|
+
folder: string;
|
|
32784
|
+
requestBody: PublishResourceTypeBody;
|
|
32785
|
+
workspace: string;
|
|
32786
|
+
};
|
|
32787
|
+
res: {
|
|
32788
|
+
/**
|
|
32789
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32790
|
+
*/
|
|
32791
|
+
200: string;
|
|
32792
|
+
};
|
|
32793
|
+
};
|
|
32794
|
+
};
|
|
32795
|
+
'/w/{workspace}/hub/resources': {
|
|
32796
|
+
post: {
|
|
32797
|
+
req: {
|
|
32798
|
+
/**
|
|
32799
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32800
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32801
|
+
* `{workspace}:{folder}`
|
|
32802
|
+
*
|
|
32803
|
+
*/
|
|
32804
|
+
folder: string;
|
|
32805
|
+
requestBody: PublishResourcesBody;
|
|
32806
|
+
workspace: string;
|
|
32807
|
+
};
|
|
32808
|
+
res: {
|
|
32809
|
+
/**
|
|
32810
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32811
|
+
*/
|
|
32812
|
+
200: string;
|
|
32813
|
+
};
|
|
32814
|
+
};
|
|
32815
|
+
};
|
|
32816
|
+
'/w/{workspace}/hub/triggers': {
|
|
32817
|
+
post: {
|
|
32818
|
+
req: {
|
|
32819
|
+
/**
|
|
32820
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32821
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32822
|
+
* `{workspace}:{folder}`
|
|
32823
|
+
*
|
|
32824
|
+
*/
|
|
32825
|
+
folder: string;
|
|
32826
|
+
requestBody: PublishTriggersBody;
|
|
32827
|
+
workspace: string;
|
|
32828
|
+
};
|
|
32829
|
+
res: {
|
|
32830
|
+
/**
|
|
32831
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32832
|
+
*/
|
|
32833
|
+
200: string;
|
|
32834
|
+
};
|
|
32835
|
+
};
|
|
32836
|
+
};
|
|
32837
|
+
'/w/{workspace}/hub/migrations': {
|
|
32838
|
+
post: {
|
|
32839
|
+
req: {
|
|
32840
|
+
/**
|
|
32841
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32842
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32843
|
+
* `{workspace}:{folder}`
|
|
32844
|
+
*
|
|
32845
|
+
*/
|
|
32846
|
+
folder: string;
|
|
32847
|
+
requestBody: PublishMigrationsBody;
|
|
32848
|
+
workspace: string;
|
|
32849
|
+
};
|
|
32850
|
+
res: {
|
|
32851
|
+
/**
|
|
32852
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32853
|
+
*/
|
|
32854
|
+
200: string;
|
|
32855
|
+
};
|
|
32856
|
+
};
|
|
32857
|
+
};
|
|
32858
|
+
'/w/{workspace}/hub/projects/{slug}/export': {
|
|
32859
|
+
get: {
|
|
32860
|
+
req: {
|
|
32861
|
+
/**
|
|
32862
|
+
* folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
32863
|
+
*/
|
|
32864
|
+
folder?: string;
|
|
32865
|
+
/**
|
|
32866
|
+
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
32867
|
+
*/
|
|
32868
|
+
slug: string;
|
|
32869
|
+
workspace: string;
|
|
32870
|
+
};
|
|
32871
|
+
res: {
|
|
32872
|
+
/**
|
|
32873
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32874
|
+
*/
|
|
32875
|
+
200: string;
|
|
32876
|
+
};
|
|
32877
|
+
};
|
|
32878
|
+
};
|
|
32879
|
+
'/w/{workspace}/hub/projects/{slug}/submit': {
|
|
32880
|
+
post: {
|
|
32881
|
+
req: {
|
|
32882
|
+
/**
|
|
32883
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32884
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32885
|
+
* `{workspace}:{folder}`
|
|
32886
|
+
*
|
|
32887
|
+
*/
|
|
32888
|
+
folder: string;
|
|
32889
|
+
/**
|
|
32890
|
+
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
32891
|
+
*/
|
|
32892
|
+
slug: string;
|
|
32893
|
+
workspace: string;
|
|
32894
|
+
};
|
|
32895
|
+
res: {
|
|
32896
|
+
/**
|
|
32897
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32898
|
+
*/
|
|
32899
|
+
200: string;
|
|
32900
|
+
};
|
|
32901
|
+
};
|
|
32902
|
+
};
|
|
32903
|
+
'/w/{workspace}/hub/project': {
|
|
32904
|
+
get: {
|
|
32905
|
+
req: {
|
|
32906
|
+
/**
|
|
32907
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
32908
|
+
* one Hub project per folder and the Hub-side source key is
|
|
32909
|
+
* `{workspace}:{folder}`
|
|
32910
|
+
*
|
|
32911
|
+
*/
|
|
32912
|
+
folder: string;
|
|
32913
|
+
workspace: string;
|
|
32914
|
+
};
|
|
32915
|
+
res: {
|
|
32916
|
+
/**
|
|
32917
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
32918
|
+
*/
|
|
32919
|
+
200: string;
|
|
32920
|
+
};
|
|
32921
|
+
};
|
|
32922
|
+
};
|
|
32209
32923
|
};
|