windmill-client 1.767.0 → 1.769.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/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: getEnv$1("WM_TOKEN"),
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "1.
|
|
129
|
+
VERSION: "1.769.0",
|
|
130
130
|
WITH_CREDENTIALS: true,
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -3750,7 +3750,7 @@ var WorkspaceService = class {
|
|
|
3750
3750
|
};
|
|
3751
3751
|
var SettingService = class {
|
|
3752
3752
|
/**
|
|
3753
|
-
* Refreshes the
|
|
3753
|
+
* Refreshes the passwords for the custom_instance_user and the custom_instance_replication_user (used by postgres triggers)
|
|
3754
3754
|
* @returns unknown Success
|
|
3755
3755
|
* @throws ApiError
|
|
3756
3756
|
*/
|
|
@@ -15823,6 +15823,438 @@ var McpOauthService = class {
|
|
|
15823
15823
|
});
|
|
15824
15824
|
}
|
|
15825
15825
|
};
|
|
15826
|
+
var HubPublishService = class {
|
|
15827
|
+
/**
|
|
15828
|
+
* create or update a hub project draft
|
|
15829
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15830
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15831
|
+
* the Hub's status code and raw response body.
|
|
15832
|
+
*
|
|
15833
|
+
* @param data The data for the request.
|
|
15834
|
+
* @param data.workspace
|
|
15835
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15836
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15837
|
+
* `{workspace}:{folder}`
|
|
15838
|
+
*
|
|
15839
|
+
* @param data.requestBody
|
|
15840
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15841
|
+
* @throws ApiError
|
|
15842
|
+
*/
|
|
15843
|
+
static publishHubDraft(data) {
|
|
15844
|
+
return request(OpenAPI, {
|
|
15845
|
+
method: "POST",
|
|
15846
|
+
url: "/w/{workspace}/hub/publish_draft",
|
|
15847
|
+
path: { workspace: data.workspace },
|
|
15848
|
+
query: { folder: data.folder },
|
|
15849
|
+
body: data.requestBody,
|
|
15850
|
+
mediaType: "application/json"
|
|
15851
|
+
});
|
|
15852
|
+
}
|
|
15853
|
+
/**
|
|
15854
|
+
* publish a script to a hub project
|
|
15855
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15856
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15857
|
+
* the Hub's status code and raw response body.
|
|
15858
|
+
*
|
|
15859
|
+
* @param data The data for the request.
|
|
15860
|
+
* @param data.workspace
|
|
15861
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15862
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15863
|
+
* `{workspace}:{folder}`
|
|
15864
|
+
*
|
|
15865
|
+
* @param data.requestBody
|
|
15866
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15867
|
+
* @throws ApiError
|
|
15868
|
+
*/
|
|
15869
|
+
static publishHubScript(data) {
|
|
15870
|
+
return request(OpenAPI, {
|
|
15871
|
+
method: "POST",
|
|
15872
|
+
url: "/w/{workspace}/hub/scripts",
|
|
15873
|
+
path: { workspace: data.workspace },
|
|
15874
|
+
query: { folder: data.folder },
|
|
15875
|
+
body: data.requestBody,
|
|
15876
|
+
mediaType: "application/json"
|
|
15877
|
+
});
|
|
15878
|
+
}
|
|
15879
|
+
/**
|
|
15880
|
+
* publish a flow to a hub project
|
|
15881
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15882
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15883
|
+
* the Hub's status code and raw response body.
|
|
15884
|
+
*
|
|
15885
|
+
* @param data The data for the request.
|
|
15886
|
+
* @param data.workspace
|
|
15887
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15888
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15889
|
+
* `{workspace}:{folder}`
|
|
15890
|
+
*
|
|
15891
|
+
* @param data.requestBody
|
|
15892
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15893
|
+
* @throws ApiError
|
|
15894
|
+
*/
|
|
15895
|
+
static publishHubFlow(data) {
|
|
15896
|
+
return request(OpenAPI, {
|
|
15897
|
+
method: "POST",
|
|
15898
|
+
url: "/w/{workspace}/hub/flows",
|
|
15899
|
+
path: { workspace: data.workspace },
|
|
15900
|
+
query: { folder: data.folder },
|
|
15901
|
+
body: data.requestBody,
|
|
15902
|
+
mediaType: "application/json"
|
|
15903
|
+
});
|
|
15904
|
+
}
|
|
15905
|
+
/**
|
|
15906
|
+
* publish an app to a hub project
|
|
15907
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15908
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15909
|
+
* the Hub's status code and raw response body.
|
|
15910
|
+
*
|
|
15911
|
+
* @param data The data for the request.
|
|
15912
|
+
* @param data.workspace
|
|
15913
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15914
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15915
|
+
* `{workspace}:{folder}`
|
|
15916
|
+
*
|
|
15917
|
+
* @param data.requestBody
|
|
15918
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15919
|
+
* @throws ApiError
|
|
15920
|
+
*/
|
|
15921
|
+
static publishHubApp(data) {
|
|
15922
|
+
return request(OpenAPI, {
|
|
15923
|
+
method: "POST",
|
|
15924
|
+
url: "/w/{workspace}/hub/apps",
|
|
15925
|
+
path: { workspace: data.workspace },
|
|
15926
|
+
query: { folder: data.folder },
|
|
15927
|
+
body: data.requestBody,
|
|
15928
|
+
mediaType: "application/json"
|
|
15929
|
+
});
|
|
15930
|
+
}
|
|
15931
|
+
/**
|
|
15932
|
+
* publish a raw app to a hub project
|
|
15933
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15934
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15935
|
+
* the Hub's status code and raw response body.
|
|
15936
|
+
*
|
|
15937
|
+
* @param data The data for the request.
|
|
15938
|
+
* @param data.workspace
|
|
15939
|
+
* @param data.folder 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
|
+
* @param data.requestBody
|
|
15944
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15945
|
+
* @throws ApiError
|
|
15946
|
+
*/
|
|
15947
|
+
static publishHubRawApp(data) {
|
|
15948
|
+
return request(OpenAPI, {
|
|
15949
|
+
method: "POST",
|
|
15950
|
+
url: "/w/{workspace}/hub/raw_apps",
|
|
15951
|
+
path: { workspace: data.workspace },
|
|
15952
|
+
query: { folder: data.folder },
|
|
15953
|
+
body: data.requestBody,
|
|
15954
|
+
mediaType: "application/json"
|
|
15955
|
+
});
|
|
15956
|
+
}
|
|
15957
|
+
/**
|
|
15958
|
+
* set or clear the embed url of a hub raw app
|
|
15959
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15960
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15961
|
+
* the Hub's status code and raw response body.
|
|
15962
|
+
*
|
|
15963
|
+
* @param data The data for the request.
|
|
15964
|
+
* @param data.workspace
|
|
15965
|
+
* @param data.id hub id of the raw app
|
|
15966
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15967
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15968
|
+
* `{workspace}:{folder}`
|
|
15969
|
+
*
|
|
15970
|
+
* @param data.requestBody
|
|
15971
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
15972
|
+
* @throws ApiError
|
|
15973
|
+
*/
|
|
15974
|
+
static publishHubRawAppEmbed(data) {
|
|
15975
|
+
return request(OpenAPI, {
|
|
15976
|
+
method: "POST",
|
|
15977
|
+
url: "/w/{workspace}/hub/raw_apps/{id}/embed",
|
|
15978
|
+
path: {
|
|
15979
|
+
workspace: data.workspace,
|
|
15980
|
+
id: data.id
|
|
15981
|
+
},
|
|
15982
|
+
query: { folder: data.folder },
|
|
15983
|
+
body: data.requestBody,
|
|
15984
|
+
mediaType: "application/json"
|
|
15985
|
+
});
|
|
15986
|
+
}
|
|
15987
|
+
/**
|
|
15988
|
+
* attach a recording to a hub script
|
|
15989
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
15990
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
15991
|
+
* the Hub's status code and raw response body.
|
|
15992
|
+
*
|
|
15993
|
+
* @param data The data for the request.
|
|
15994
|
+
* @param data.workspace
|
|
15995
|
+
* @param data.askId hub ask id of the script
|
|
15996
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
15997
|
+
* one Hub project per folder and the Hub-side source key is
|
|
15998
|
+
* `{workspace}:{folder}`
|
|
15999
|
+
*
|
|
16000
|
+
* @param data.requestBody
|
|
16001
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16002
|
+
* @throws ApiError
|
|
16003
|
+
*/
|
|
16004
|
+
static publishHubScriptRecording(data) {
|
|
16005
|
+
return request(OpenAPI, {
|
|
16006
|
+
method: "POST",
|
|
16007
|
+
url: "/w/{workspace}/hub/scripts/{ask_id}/recording",
|
|
16008
|
+
path: {
|
|
16009
|
+
workspace: data.workspace,
|
|
16010
|
+
ask_id: data.askId
|
|
16011
|
+
},
|
|
16012
|
+
query: { folder: data.folder },
|
|
16013
|
+
body: data.requestBody,
|
|
16014
|
+
mediaType: "application/json"
|
|
16015
|
+
});
|
|
16016
|
+
}
|
|
16017
|
+
/**
|
|
16018
|
+
* attach a recording to a hub flow
|
|
16019
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16020
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16021
|
+
* the Hub's status code and raw response body.
|
|
16022
|
+
*
|
|
16023
|
+
* @param data The data for the request.
|
|
16024
|
+
* @param data.workspace
|
|
16025
|
+
* @param data.flowId hub id of the flow
|
|
16026
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16027
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16028
|
+
* `{workspace}:{folder}`
|
|
16029
|
+
*
|
|
16030
|
+
* @param data.requestBody
|
|
16031
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16032
|
+
* @throws ApiError
|
|
16033
|
+
*/
|
|
16034
|
+
static publishHubFlowRecording(data) {
|
|
16035
|
+
return request(OpenAPI, {
|
|
16036
|
+
method: "POST",
|
|
16037
|
+
url: "/w/{workspace}/hub/flows/{flow_id}/recording",
|
|
16038
|
+
path: {
|
|
16039
|
+
workspace: data.workspace,
|
|
16040
|
+
flow_id: data.flowId
|
|
16041
|
+
},
|
|
16042
|
+
query: { folder: data.folder },
|
|
16043
|
+
body: data.requestBody,
|
|
16044
|
+
mediaType: "application/json"
|
|
16045
|
+
});
|
|
16046
|
+
}
|
|
16047
|
+
/**
|
|
16048
|
+
* attach a data-pipeline recording to a hub project
|
|
16049
|
+
* Requires the caller to be a workspace admin. A data-pipeline recording is
|
|
16050
|
+
* scoped to the whole project (a folder cascade), not a single item. Forwards
|
|
16051
|
+
* the request to the configured Hub scoped to the `{workspace}:{folder}`
|
|
16052
|
+
* source and returns the Hub's status code and raw response body.
|
|
16053
|
+
*
|
|
16054
|
+
* @param data The data for the request.
|
|
16055
|
+
* @param data.workspace
|
|
16056
|
+
* @param data.slug hub project slug
|
|
16057
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16058
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16059
|
+
* `{workspace}:{folder}`
|
|
16060
|
+
*
|
|
16061
|
+
* @param data.requestBody
|
|
16062
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16063
|
+
* @throws ApiError
|
|
16064
|
+
*/
|
|
16065
|
+
static publishHubPipelineRecording(data) {
|
|
16066
|
+
return request(OpenAPI, {
|
|
16067
|
+
method: "POST",
|
|
16068
|
+
url: "/w/{workspace}/hub/projects/{slug}/pipeline_recording",
|
|
16069
|
+
path: {
|
|
16070
|
+
workspace: data.workspace,
|
|
16071
|
+
slug: data.slug
|
|
16072
|
+
},
|
|
16073
|
+
query: { folder: data.folder },
|
|
16074
|
+
body: data.requestBody,
|
|
16075
|
+
mediaType: "application/json"
|
|
16076
|
+
});
|
|
16077
|
+
}
|
|
16078
|
+
/**
|
|
16079
|
+
* publish a resource type to a hub project
|
|
16080
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16081
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16082
|
+
* the Hub's status code and raw response body.
|
|
16083
|
+
*
|
|
16084
|
+
* @param data The data for the request.
|
|
16085
|
+
* @param data.workspace
|
|
16086
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16087
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16088
|
+
* `{workspace}:{folder}`
|
|
16089
|
+
*
|
|
16090
|
+
* @param data.requestBody
|
|
16091
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16092
|
+
* @throws ApiError
|
|
16093
|
+
*/
|
|
16094
|
+
static publishHubResourceType(data) {
|
|
16095
|
+
return request(OpenAPI, {
|
|
16096
|
+
method: "POST",
|
|
16097
|
+
url: "/w/{workspace}/hub/resource_types",
|
|
16098
|
+
path: { workspace: data.workspace },
|
|
16099
|
+
query: { folder: data.folder },
|
|
16100
|
+
body: data.requestBody,
|
|
16101
|
+
mediaType: "application/json"
|
|
16102
|
+
});
|
|
16103
|
+
}
|
|
16104
|
+
/**
|
|
16105
|
+
* publish resource placeholders to a hub project
|
|
16106
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16107
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16108
|
+
* the Hub's status code and raw response body.
|
|
16109
|
+
*
|
|
16110
|
+
* @param data The data for the request.
|
|
16111
|
+
* @param data.workspace
|
|
16112
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16113
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16114
|
+
* `{workspace}:{folder}`
|
|
16115
|
+
*
|
|
16116
|
+
* @param data.requestBody
|
|
16117
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16118
|
+
* @throws ApiError
|
|
16119
|
+
*/
|
|
16120
|
+
static publishHubResources(data) {
|
|
16121
|
+
return request(OpenAPI, {
|
|
16122
|
+
method: "POST",
|
|
16123
|
+
url: "/w/{workspace}/hub/resources",
|
|
16124
|
+
path: { workspace: data.workspace },
|
|
16125
|
+
query: { folder: data.folder },
|
|
16126
|
+
body: data.requestBody,
|
|
16127
|
+
mediaType: "application/json"
|
|
16128
|
+
});
|
|
16129
|
+
}
|
|
16130
|
+
/**
|
|
16131
|
+
* publish triggers to a hub project
|
|
16132
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16133
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16134
|
+
* the Hub's status code and raw response body.
|
|
16135
|
+
*
|
|
16136
|
+
* @param data The data for the request.
|
|
16137
|
+
* @param data.workspace
|
|
16138
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16139
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16140
|
+
* `{workspace}:{folder}`
|
|
16141
|
+
*
|
|
16142
|
+
* @param data.requestBody
|
|
16143
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16144
|
+
* @throws ApiError
|
|
16145
|
+
*/
|
|
16146
|
+
static publishHubTriggers(data) {
|
|
16147
|
+
return request(OpenAPI, {
|
|
16148
|
+
method: "POST",
|
|
16149
|
+
url: "/w/{workspace}/hub/triggers",
|
|
16150
|
+
path: { workspace: data.workspace },
|
|
16151
|
+
query: { folder: data.folder },
|
|
16152
|
+
body: data.requestBody,
|
|
16153
|
+
mediaType: "application/json"
|
|
16154
|
+
});
|
|
16155
|
+
}
|
|
16156
|
+
/**
|
|
16157
|
+
* publish data table migrations to a hub project
|
|
16158
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16159
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16160
|
+
* the Hub's status code and raw response body.
|
|
16161
|
+
*
|
|
16162
|
+
* @param data The data for the request.
|
|
16163
|
+
* @param data.workspace
|
|
16164
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16165
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16166
|
+
* `{workspace}:{folder}`
|
|
16167
|
+
*
|
|
16168
|
+
* @param data.requestBody
|
|
16169
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16170
|
+
* @throws ApiError
|
|
16171
|
+
*/
|
|
16172
|
+
static publishHubMigrations(data) {
|
|
16173
|
+
return request(OpenAPI, {
|
|
16174
|
+
method: "POST",
|
|
16175
|
+
url: "/w/{workspace}/hub/migrations",
|
|
16176
|
+
path: { workspace: data.workspace },
|
|
16177
|
+
query: { folder: data.folder },
|
|
16178
|
+
body: data.requestBody,
|
|
16179
|
+
mediaType: "application/json"
|
|
16180
|
+
});
|
|
16181
|
+
}
|
|
16182
|
+
/**
|
|
16183
|
+
* export a hub project
|
|
16184
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16185
|
+
* configured Hub and returns the Hub's status code and raw response body.
|
|
16186
|
+
* The folder scope is only needed to re-export the caller's own draft;
|
|
16187
|
+
* approved projects are public, so it is optional here.
|
|
16188
|
+
*
|
|
16189
|
+
* @param data The data for the request.
|
|
16190
|
+
* @param data.workspace
|
|
16191
|
+
* @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
16192
|
+
* @param data.folder folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
16193
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16194
|
+
* @throws ApiError
|
|
16195
|
+
*/
|
|
16196
|
+
static getHubProjectExport(data) {
|
|
16197
|
+
return request(OpenAPI, {
|
|
16198
|
+
method: "GET",
|
|
16199
|
+
url: "/w/{workspace}/hub/projects/{slug}/export",
|
|
16200
|
+
path: {
|
|
16201
|
+
workspace: data.workspace,
|
|
16202
|
+
slug: data.slug
|
|
16203
|
+
},
|
|
16204
|
+
query: { folder: data.folder }
|
|
16205
|
+
});
|
|
16206
|
+
}
|
|
16207
|
+
/**
|
|
16208
|
+
* submit a hub project draft for review
|
|
16209
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16210
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16211
|
+
* the Hub's status code and raw response body.
|
|
16212
|
+
*
|
|
16213
|
+
* @param data The data for the request.
|
|
16214
|
+
* @param data.workspace
|
|
16215
|
+
* @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
16216
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16217
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16218
|
+
* `{workspace}:{folder}`
|
|
16219
|
+
*
|
|
16220
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16221
|
+
* @throws ApiError
|
|
16222
|
+
*/
|
|
16223
|
+
static submitHubProject(data) {
|
|
16224
|
+
return request(OpenAPI, {
|
|
16225
|
+
method: "POST",
|
|
16226
|
+
url: "/w/{workspace}/hub/projects/{slug}/submit",
|
|
16227
|
+
path: {
|
|
16228
|
+
workspace: data.workspace,
|
|
16229
|
+
slug: data.slug
|
|
16230
|
+
},
|
|
16231
|
+
query: { folder: data.folder }
|
|
16232
|
+
});
|
|
16233
|
+
}
|
|
16234
|
+
/**
|
|
16235
|
+
* get the hub project linked to a workspace folder
|
|
16236
|
+
* Requires the caller to be a workspace admin. Forwards the request to the
|
|
16237
|
+
* configured Hub scoped to the `{workspace}:{folder}` source and returns
|
|
16238
|
+
* the Hub's status code and raw response body.
|
|
16239
|
+
*
|
|
16240
|
+
* @param data The data for the request.
|
|
16241
|
+
* @param data.workspace
|
|
16242
|
+
* @param data.folder workspace folder scoping the Hub publication: a workspace can publish
|
|
16243
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16244
|
+
* `{workspace}:{folder}`
|
|
16245
|
+
*
|
|
16246
|
+
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
16247
|
+
* @throws ApiError
|
|
16248
|
+
*/
|
|
16249
|
+
static getHubProjectBySource(data) {
|
|
16250
|
+
return request(OpenAPI, {
|
|
16251
|
+
method: "GET",
|
|
16252
|
+
url: "/w/{workspace}/hub/project",
|
|
16253
|
+
path: { workspace: data.workspace },
|
|
16254
|
+
query: { folder: data.folder }
|
|
16255
|
+
});
|
|
16256
|
+
}
|
|
16257
|
+
};
|
|
15826
16258
|
|
|
15827
16259
|
//#endregion
|
|
15828
16260
|
//#region src/s3Types.ts
|
|
@@ -17656,6 +18088,7 @@ exports.GroupService = GroupService;
|
|
|
17656
18088
|
exports.HealthService = HealthService;
|
|
17657
18089
|
exports.HelpersService = HelpersService;
|
|
17658
18090
|
exports.HttpTriggerService = HttpTriggerService;
|
|
18091
|
+
exports.HubPublishService = HubPublishService;
|
|
17659
18092
|
exports.IndexSearchService = IndexSearchService;
|
|
17660
18093
|
exports.InputService = InputService;
|
|
17661
18094
|
exports.IntegrationService = IntegrationService;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiError } from "./core/ApiError.mjs";
|
|
2
2
|
import { CancelError, CancelablePromise } from "./core/CancelablePromise.mjs";
|
|
3
3
|
import { OpenAPI } from "./core/OpenAPI.mjs";
|
|
4
|
-
import { AdminService, AgentWorkersService, AmqpTriggerService, AppService, AssetService, AuditService, AzureTriggerService, CaptureService, ConcurrencyGroupsService, ConfigService, DataMetricService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService } from "./services.gen.mjs";
|
|
4
|
+
import { AdminService, AgentWorkersService, AmqpTriggerService, AppService, AssetService, AuditService, AzureTriggerService, CaptureService, ConcurrencyGroupsService, ConfigService, DataMetricService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, HubPublishService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService } from "./services.gen.mjs";
|
|
5
5
|
import { parseS3Object } from "./s3Types.mjs";
|
|
6
6
|
import { appendPartition, datatable, ducklake, upsertPartition } from "./sqlUtils.mjs";
|
|
7
7
|
import { SHARED_FOLDER, StepSuspend, WorkflowCtx, _workflowCtx, appendToResultStream, base64ToUint8Array, commitKafkaOffsets, databaseUrlFromResource, deleteS3File, denoS3LightClientSettings, getFlowUserState, getIdToken, getInternalState, getPresignedS3PublicUrl, getPresignedS3PublicUrls, getProgress, getResource, getResult, getResultMaybe, getResumeEndpoints, getResumeUrls, getRootJobId, getState, getStatePath, getVariable, getWorkspace, loadS3File, loadS3FileStream, parallel, requestInteractiveSlackApproval, requestInteractiveTeamsApproval, resolveDefaultResource, runFlow, runFlowAsync, runScript, runScriptAsync, runScriptByHash, runScriptByHashAsync, runScriptByPath, runScriptByPathAsync, setClient, setFlowUserState, setInternalState, setProgress, setResource, setState, setVariable, setWorkflowCtx, signS3Object, signS3Objects, sleep, step, streamResult, task, taskFlow, taskScript, uint8ArrayToBase64, usernameToEmail, waitForApproval, waitJob, workflow, writeS3File } from "./client.mjs";
|
|
@@ -93,4 +93,4 @@ const wmill = {
|
|
|
93
93
|
var src_default = wmill;
|
|
94
94
|
|
|
95
95
|
//#endregion
|
|
96
|
-
export { AdminService, AgentWorkersService, AmqpTriggerService, ApiError, AppService, AssetService, AuditService, AzureTriggerService, CancelError, CancelablePromise, CaptureService, ConcurrencyGroupsService, ConfigService, DataMetricService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenAPI, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, StepSuspend, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkflowCtx, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService, _workflowCtx, appendPartition, appendToResultStream, commitKafkaOffsets, datatable, src_default as default, deleteS3File, denoS3LightClientSettings, ducklake, getFlowUserState, getIdToken, getPresignedS3PublicUrl, getPresignedS3PublicUrls, getProgress, getResource, getResumeUrls, getRootJobId, getState, getVariable, loadS3File, loadS3FileStream, parallel, requestInteractiveSlackApproval, requestInteractiveTeamsApproval, runFlow, runFlowAsync, runScript, runScriptAsync, runScriptByHash, runScriptByHashAsync, runScriptByPath, runScriptByPathAsync, setClient, setFlowUserState, setProgress, setResource, setState, setVariable, setWorkflowCtx, signS3Object, signS3Objects, sleep, step, streamResult, task, taskFlow, taskScript, upsertPartition, usernameToEmail, waitForApproval, waitJob, workflow, writeS3File };
|
|
96
|
+
export { AdminService, AgentWorkersService, AmqpTriggerService, ApiError, AppService, AssetService, AuditService, AzureTriggerService, CancelError, CancelablePromise, CaptureService, ConcurrencyGroupsService, ConfigService, DataMetricService, DocumentationService, DraftService, EmailTriggerService, FavoriteService, FlowConversationsService, FlowService, FolderService, GcpTriggerService, GitSyncService, GranularAclService, GroupService, HealthService, HelpersService, HttpTriggerService, HubPublishService, IndexSearchService, InputService, IntegrationService, JobService, KafkaTriggerService, McpOauthService, McpService, MetricsService, MqttTriggerService, NativeTriggerService, NatsTriggerService, NpmProxyService, OauthService, OidcService, OpenAPI, OpenapiService, PathAutocompleteService, PostgresTriggerService, RawAppService, ResourceService, ScheduleService, ScriptService, ServiceLogsService, SettingService, SettingsService, SqsTriggerService, StepSuspend, TeamsService, TokenService, TriggerService, UserService, VariableService, VolumeService, WebsocketTriggerService, WorkerService, WorkflowCtx, WorkspaceDependenciesService, WorkspaceIntegrationService, WorkspaceService, _workflowCtx, appendPartition, appendToResultStream, commitKafkaOffsets, datatable, src_default as default, deleteS3File, denoS3LightClientSettings, ducklake, getFlowUserState, getIdToken, getPresignedS3PublicUrl, getPresignedS3PublicUrls, getProgress, getResource, getResumeUrls, getRootJobId, getState, getVariable, loadS3File, loadS3FileStream, parallel, requestInteractiveSlackApproval, requestInteractiveTeamsApproval, runFlow, runFlowAsync, runScript, runScriptAsync, runScriptByHash, runScriptByHashAsync, runScriptByPath, runScriptByPathAsync, setClient, setFlowUserState, setProgress, setResource, setState, setVariable, setWorkflowCtx, signS3Object, signS3Objects, sleep, step, streamResult, task, taskFlow, taskScript, upsertPartition, usernameToEmail, waitForApproval, waitJob, workflow, writeS3File };
|