windmill-components 1.700.2 → 1.700.3
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/appPolicy/myFunction.es.js +1337 -0
- package/dist/sharedUtils/common.d.ts +2 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -2
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +3 -14
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +1 -1
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +1 -12
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +2 -68
- package/dist/sharedUtils/components/apps/inputType.d.ts +2 -4
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -2
- package/dist/sharedUtils/components/dbTypes.d.ts +0 -3
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +1 -1
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +1 -1
- package/dist/sharedUtils/components/triggers/utils.d.ts +3 -2
- package/dist/sharedUtils/gen/schemas.gen.d.ts +71 -915
- package/dist/sharedUtils/gen/services.gen.d.ts +23 -329
- package/dist/sharedUtils/gen/types.gen.d.ts +141 -1870
- package/dist/sharedUtils/hub.d.ts +0 -1
- package/dist/sharedUtils/jsr.json +5 -5
- package/dist/sharedUtils/lib.d.ts +1 -1
- package/dist/sharedUtils/lib.es.js +79 -241
- package/dist/sharedUtils/package.json +11 -11
- package/dist/sharedUtils/stores.d.ts +0 -1
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +1 -32
- package/dist/sharedUtils/utils.d.ts +4 -19
- package/package/components/DisplayResultControlBar.svelte +26 -11
- package/package/components/JobArgs.svelte +43 -24
- package/package/components/ShareModal.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +0 -3
- package/package/components/copilot/CustomAIPrompts.svelte +3 -2
- package/package/components/copilot/chat/AIChatInput.svelte +2 -0
- package/package/components/copilot/chat/AIChatManager.svelte.js +52 -14
- package/package/components/copilot/chat/CreatedResourceActionDrawers.svelte +15 -0
- package/package/components/copilot/chat/ToolMessageActions.svelte +4 -2
- package/package/components/copilot/chat/app/core.js +2 -30
- package/package/components/copilot/chat/flow/core.js +13 -351
- package/package/components/copilot/chat/flow/editableFlowJson.d.ts +52 -0
- package/package/components/copilot/chat/flow/editableFlowJson.js +328 -0
- package/package/components/copilot/chat/flow/inlineScriptsUtils.js +2 -2
- package/package/components/copilot/chat/global/core.d.ts +5 -0
- package/package/components/copilot/chat/global/core.js +1739 -0
- package/package/components/copilot/chat/global/core.test.d.ts +1 -0
- package/package/components/copilot/chat/global/core.test.js +123 -0
- package/package/components/copilot/chat/global/deployRequests.d.ts +7 -0
- package/package/components/copilot/chat/global/deployRequests.js +76 -0
- package/package/components/copilot/chat/global/deployRequests.test.d.ts +1 -0
- package/package/components/copilot/chat/global/deployRequests.test.js +142 -0
- package/package/components/copilot/chat/global/draftStore.svelte.d.ts +55 -0
- package/package/components/copilot/chat/global/draftStore.svelte.js +78 -0
- package/package/components/copilot/chat/global/draftStore.test.d.ts +1 -0
- package/package/components/copilot/chat/global/draftStore.test.js +44 -0
- package/package/components/copilot/chat/global/gate.d.ts +1 -0
- package/package/components/copilot/chat/global/gate.js +27 -0
- package/package/components/copilot/chat/shared.d.ts +16 -2
- package/package/components/copilot/chat/shared.js +40 -0
- package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +28 -9
- package/package/components/copilot/chat/workspaceToolsZod.gen.js +19 -0
- package/package/components/raw_apps/templates.d.ts +77 -0
- package/package/components/raw_apps/templates.js +618 -0
- package/package/components/runs/runsFilter.d.ts +1 -1
- package/package/components/settings/AIPromptsModal.svelte +5 -2
- package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +37 -355
- package/package/gen/schemas.gen.js +39 -359
- package/package/gen/services.gen.d.ts +4 -280
- package/package/gen/services.gen.js +7 -565
- package/package/gen/types.gen.d.ts +77 -1135
- package/package/system_prompts/index.d.ts +2 -0
- package/package/system_prompts/index.js +8 -0
- package/package/system_prompts/prompts.d.ts +2 -0
- package/package/system_prompts/prompts.js +381 -0
- package/package/utils_deployable.d.ts +5 -318
- package/package.json +1 -1
- package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
- package/dist/sharedUtils/components/icons/index.d.ts +0 -101
|
@@ -210,17 +210,6 @@ export class UserService {
|
|
|
210
210
|
url: '/auth/is_smtp_configured'
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
/**
|
|
214
|
-
* check if password login is disabled instance-wide
|
|
215
|
-
* @returns boolean returns true if password login is disabled
|
|
216
|
-
* @throws ApiError
|
|
217
|
-
*/
|
|
218
|
-
static isPasswordLoginDisabled() {
|
|
219
|
-
return __request(OpenAPI, {
|
|
220
|
-
method: 'GET',
|
|
221
|
-
url: '/auth/is_password_login_disabled'
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
213
|
/**
|
|
225
214
|
* request password reset email
|
|
226
215
|
* @param data The data for the request.
|
|
@@ -981,25 +970,6 @@ export class UserService {
|
|
|
981
970
|
}
|
|
982
971
|
});
|
|
983
972
|
}
|
|
984
|
-
/**
|
|
985
|
-
* update scopes of an existing token (owner only)
|
|
986
|
-
* @param data The data for the request.
|
|
987
|
-
* @param data.tokenPrefix
|
|
988
|
-
* @param data.requestBody new scopes (null or omitted = full access)
|
|
989
|
-
* @returns string scopes updated
|
|
990
|
-
* @throws ApiError
|
|
991
|
-
*/
|
|
992
|
-
static updateTokenScopes(data) {
|
|
993
|
-
return __request(OpenAPI, {
|
|
994
|
-
method: 'POST',
|
|
995
|
-
url: '/users/tokens/update_scopes/{token_prefix}',
|
|
996
|
-
path: {
|
|
997
|
-
token_prefix: data.tokenPrefix
|
|
998
|
-
},
|
|
999
|
-
body: data.requestBody,
|
|
1000
|
-
mediaType: 'application/json'
|
|
1001
|
-
});
|
|
1002
|
-
}
|
|
1003
973
|
/**
|
|
1004
974
|
* list token
|
|
1005
975
|
* @param data The data for the request.
|
|
@@ -1746,25 +1716,7 @@ export class WorkspaceService {
|
|
|
1746
1716
|
});
|
|
1747
1717
|
}
|
|
1748
1718
|
/**
|
|
1749
|
-
* get
|
|
1750
|
-
* Returns the subset of workspace settings safe to expose to any workspace member. The full settings struct is admin-only via `getSettings`.
|
|
1751
|
-
* @param data The data for the request.
|
|
1752
|
-
* @param data.workspace
|
|
1753
|
-
* @returns unknown status
|
|
1754
|
-
* @throws ApiError
|
|
1755
|
-
*/
|
|
1756
|
-
static getPublicSettings(data) {
|
|
1757
|
-
return __request(OpenAPI, {
|
|
1758
|
-
method: 'GET',
|
|
1759
|
-
url: '/w/{workspace}/workspaces/get_public_settings',
|
|
1760
|
-
path: {
|
|
1761
|
-
workspace: data.workspace
|
|
1762
|
-
}
|
|
1763
|
-
});
|
|
1764
|
-
}
|
|
1765
|
-
/**
|
|
1766
|
-
* get settings (admin only)
|
|
1767
|
-
* Returns the full workspace settings including admin-managed integration credentials. Admin-only — non-admin callers should use `getPublicSettings`.
|
|
1719
|
+
* get settings
|
|
1768
1720
|
* @param data The data for the request.
|
|
1769
1721
|
* @param data.workspace
|
|
1770
1722
|
* @returns unknown status
|
|
@@ -2103,25 +2055,6 @@ export class WorkspaceService {
|
|
|
2103
2055
|
mediaType: 'application/json'
|
|
2104
2056
|
});
|
|
2105
2057
|
}
|
|
2106
|
-
/**
|
|
2107
|
-
* connect slack (non-interactive; pre-minted bot token)
|
|
2108
|
-
* @param data The data for the request.
|
|
2109
|
-
* @param data.workspace
|
|
2110
|
-
* @param data.requestBody connect slack with a pre-minted bot token
|
|
2111
|
-
* @returns unknown status
|
|
2112
|
-
* @throws ApiError
|
|
2113
|
-
*/
|
|
2114
|
-
static connectSlack(data) {
|
|
2115
|
-
return __request(OpenAPI, {
|
|
2116
|
-
method: 'POST',
|
|
2117
|
-
url: '/w/{workspace}/workspaces/connect_slack',
|
|
2118
|
-
path: {
|
|
2119
|
-
workspace: data.workspace
|
|
2120
|
-
},
|
|
2121
|
-
body: data.requestBody,
|
|
2122
|
-
mediaType: 'application/json'
|
|
2123
|
-
});
|
|
2124
|
-
}
|
|
2125
2058
|
/**
|
|
2126
2059
|
* run a job that sends a message to Slack
|
|
2127
2060
|
* @param data The data for the request.
|
|
@@ -2392,46 +2325,6 @@ export class WorkspaceService {
|
|
|
2392
2325
|
}
|
|
2393
2326
|
});
|
|
2394
2327
|
}
|
|
2395
|
-
/**
|
|
2396
|
-
* list tables of all connected Datatables
|
|
2397
|
-
* @param data The data for the request.
|
|
2398
|
-
* @param data.workspace
|
|
2399
|
-
* @returns DataTableTables table metadata of all datatables
|
|
2400
|
-
* @throws ApiError
|
|
2401
|
-
*/
|
|
2402
|
-
static listDataTableTables(data) {
|
|
2403
|
-
return __request(OpenAPI, {
|
|
2404
|
-
method: 'GET',
|
|
2405
|
-
url: '/w/{workspace}/workspaces/list_datatable_tables',
|
|
2406
|
-
path: {
|
|
2407
|
-
workspace: data.workspace
|
|
2408
|
-
}
|
|
2409
|
-
});
|
|
2410
|
-
}
|
|
2411
|
-
/**
|
|
2412
|
-
* get one Datatable table schema
|
|
2413
|
-
* @param data The data for the request.
|
|
2414
|
-
* @param data.workspace
|
|
2415
|
-
* @param data.datatableName
|
|
2416
|
-
* @param data.schemaName
|
|
2417
|
-
* @param data.tableName
|
|
2418
|
-
* @returns DataTableTableSchema schema of one datatable table
|
|
2419
|
-
* @throws ApiError
|
|
2420
|
-
*/
|
|
2421
|
-
static getDataTableTableSchema(data) {
|
|
2422
|
-
return __request(OpenAPI, {
|
|
2423
|
-
method: 'GET',
|
|
2424
|
-
url: '/w/{workspace}/workspaces/get_datatable_table_schema',
|
|
2425
|
-
path: {
|
|
2426
|
-
workspace: data.workspace
|
|
2427
|
-
},
|
|
2428
|
-
query: {
|
|
2429
|
-
datatable_name: data.datatableName,
|
|
2430
|
-
schema_name: data.schemaName,
|
|
2431
|
-
table_name: data.tableName
|
|
2432
|
-
}
|
|
2433
|
-
});
|
|
2434
|
-
}
|
|
2435
2328
|
/**
|
|
2436
2329
|
* edit ducklake settings
|
|
2437
2330
|
* @param data The data for the request.
|
|
@@ -3067,111 +2960,6 @@ export class WorkspaceService {
|
|
|
3067
2960
|
mediaType: 'application/json'
|
|
3068
2961
|
});
|
|
3069
2962
|
}
|
|
3070
|
-
/**
|
|
3071
|
-
* list all workspace-specific items
|
|
3072
|
-
* @param data The data for the request.
|
|
3073
|
-
* @param data.workspace
|
|
3074
|
-
* @returns unknown list of workspace-specific items
|
|
3075
|
-
* @throws ApiError
|
|
3076
|
-
*/
|
|
3077
|
-
static listWsSpecific(data) {
|
|
3078
|
-
return __request(OpenAPI, {
|
|
3079
|
-
method: 'GET',
|
|
3080
|
-
url: '/w/{workspace}/workspaces/list_ws_specific',
|
|
3081
|
-
path: {
|
|
3082
|
-
workspace: data.workspace
|
|
3083
|
-
}
|
|
3084
|
-
});
|
|
3085
|
-
}
|
|
3086
|
-
/**
|
|
3087
|
-
* list workspace ids that have a version of the given item
|
|
3088
|
-
* @param data The data for the request.
|
|
3089
|
-
* @param data.workspace
|
|
3090
|
-
* @param data.kind
|
|
3091
|
-
* @param data.path
|
|
3092
|
-
* @returns string list of workspace ids that have a version of the item
|
|
3093
|
-
* @throws ApiError
|
|
3094
|
-
*/
|
|
3095
|
-
static listWsSpecificVersions(data) {
|
|
3096
|
-
return __request(OpenAPI, {
|
|
3097
|
-
method: 'GET',
|
|
3098
|
-
url: '/w/{workspace}/workspaces/list_ws_specific_versions',
|
|
3099
|
-
path: {
|
|
3100
|
-
workspace: data.workspace
|
|
3101
|
-
},
|
|
3102
|
-
query: {
|
|
3103
|
-
kind: data.kind,
|
|
3104
|
-
path: data.path
|
|
3105
|
-
}
|
|
3106
|
-
});
|
|
3107
|
-
}
|
|
3108
|
-
/**
|
|
3109
|
-
* get the workspace shared UI folder (full content)
|
|
3110
|
-
* @param data The data for the request.
|
|
3111
|
-
* @param data.workspace
|
|
3112
|
-
* @returns unknown shared UI content
|
|
3113
|
-
* @throws ApiError
|
|
3114
|
-
*/
|
|
3115
|
-
static getSharedUi(data) {
|
|
3116
|
-
return __request(OpenAPI, {
|
|
3117
|
-
method: 'GET',
|
|
3118
|
-
url: '/w/{workspace}/shared_ui/get',
|
|
3119
|
-
path: {
|
|
3120
|
-
workspace: data.workspace
|
|
3121
|
-
}
|
|
3122
|
-
});
|
|
3123
|
-
}
|
|
3124
|
-
/**
|
|
3125
|
-
* list paths/sizes of the workspace shared UI folder
|
|
3126
|
-
* @param data The data for the request.
|
|
3127
|
-
* @param data.workspace
|
|
3128
|
-
* @returns unknown shared UI listing
|
|
3129
|
-
* @throws ApiError
|
|
3130
|
-
*/
|
|
3131
|
-
static listSharedUi(data) {
|
|
3132
|
-
return __request(OpenAPI, {
|
|
3133
|
-
method: 'GET',
|
|
3134
|
-
url: '/w/{workspace}/shared_ui/list',
|
|
3135
|
-
path: {
|
|
3136
|
-
workspace: data.workspace
|
|
3137
|
-
}
|
|
3138
|
-
});
|
|
3139
|
-
}
|
|
3140
|
-
/**
|
|
3141
|
-
* get the current version of the workspace shared UI folder
|
|
3142
|
-
* @param data The data for the request.
|
|
3143
|
-
* @param data.workspace
|
|
3144
|
-
* @returns unknown shared UI version
|
|
3145
|
-
* @throws ApiError
|
|
3146
|
-
*/
|
|
3147
|
-
static getSharedUiVersion(data) {
|
|
3148
|
-
return __request(OpenAPI, {
|
|
3149
|
-
method: 'GET',
|
|
3150
|
-
url: '/w/{workspace}/shared_ui/version',
|
|
3151
|
-
path: {
|
|
3152
|
-
workspace: data.workspace
|
|
3153
|
-
}
|
|
3154
|
-
});
|
|
3155
|
-
}
|
|
3156
|
-
/**
|
|
3157
|
-
* replace the workspace shared UI folder (admin only)
|
|
3158
|
-
* @param data The data for the request.
|
|
3159
|
-
* @param data.workspace
|
|
3160
|
-
* @param data.requestBody
|
|
3161
|
-
* @returns string updated
|
|
3162
|
-
* @throws ApiError
|
|
3163
|
-
*/
|
|
3164
|
-
static updateSharedUi(data) {
|
|
3165
|
-
return __request(OpenAPI, {
|
|
3166
|
-
method: 'PUT',
|
|
3167
|
-
url: '/w/{workspace}/shared_ui',
|
|
3168
|
-
path: {
|
|
3169
|
-
workspace: data.workspace
|
|
3170
|
-
},
|
|
3171
|
-
body: data.requestBody,
|
|
3172
|
-
mediaType: 'application/json'
|
|
3173
|
-
});
|
|
3174
|
-
}
|
|
3175
2963
|
}
|
|
3176
2964
|
export class SettingService {
|
|
3177
2965
|
/**
|
|
@@ -4149,21 +3937,6 @@ export class OauthService {
|
|
|
4149
3937
|
mediaType: 'application/json'
|
|
4150
3938
|
});
|
|
4151
3939
|
}
|
|
4152
|
-
/**
|
|
4153
|
-
* connect slack instance (non-interactive; pre-minted bot token)
|
|
4154
|
-
* @param data The data for the request.
|
|
4155
|
-
* @param data.requestBody connect slack at the instance level with a pre-minted bot token
|
|
4156
|
-
* @returns unknown status
|
|
4157
|
-
* @throws ApiError
|
|
4158
|
-
*/
|
|
4159
|
-
static connectSlackInstance(data) {
|
|
4160
|
-
return __request(OpenAPI, {
|
|
4161
|
-
method: 'POST',
|
|
4162
|
-
url: '/oauth/connect_slack_instance',
|
|
4163
|
-
body: data.requestBody,
|
|
4164
|
-
mediaType: 'application/json'
|
|
4165
|
-
});
|
|
4166
|
-
}
|
|
4167
3940
|
/**
|
|
4168
3941
|
* connect callback
|
|
4169
3942
|
* @param data The data for the request.
|
|
@@ -6158,9 +5931,6 @@ export class ScriptService {
|
|
|
6158
5931
|
}
|
|
6159
5932
|
/**
|
|
6160
5933
|
* create script
|
|
6161
|
-
* Creates a new script when the path does not already exist.
|
|
6162
|
-
* Creates a new version of an existing script when called with the same path and the current `parent_hash`.
|
|
6163
|
-
*
|
|
6164
5934
|
* @param data The data for the request.
|
|
6165
5935
|
* @param data.workspace
|
|
6166
5936
|
* @param data.requestBody Partially filled script
|
|
@@ -7859,44 +7629,6 @@ export class JobService {
|
|
|
7859
7629
|
mediaType: 'application/json'
|
|
7860
7630
|
});
|
|
7861
7631
|
}
|
|
7862
|
-
/**
|
|
7863
|
-
* queue a one-off dependencies job and return the job uuid
|
|
7864
|
-
* @param data The data for the request.
|
|
7865
|
-
* @param data.workspace
|
|
7866
|
-
* @param data.requestBody raw script content
|
|
7867
|
-
* @returns string dependency job created
|
|
7868
|
-
* @throws ApiError
|
|
7869
|
-
*/
|
|
7870
|
-
static runRawScriptDependenciesAsync(data) {
|
|
7871
|
-
return __request(OpenAPI, {
|
|
7872
|
-
method: 'POST',
|
|
7873
|
-
url: '/w/{workspace}/jobs/run/dependencies_async',
|
|
7874
|
-
path: {
|
|
7875
|
-
workspace: data.workspace
|
|
7876
|
-
},
|
|
7877
|
-
body: data.requestBody,
|
|
7878
|
-
mediaType: 'application/json'
|
|
7879
|
-
});
|
|
7880
|
-
}
|
|
7881
|
-
/**
|
|
7882
|
-
* queue a one-off flow dependencies job and return the job uuid
|
|
7883
|
-
* @param data The data for the request.
|
|
7884
|
-
* @param data.workspace
|
|
7885
|
-
* @param data.requestBody flow value and path
|
|
7886
|
-
* @returns string flow dependencies job created
|
|
7887
|
-
* @throws ApiError
|
|
7888
|
-
*/
|
|
7889
|
-
static runFlowDependenciesAsync(data) {
|
|
7890
|
-
return __request(OpenAPI, {
|
|
7891
|
-
method: 'POST',
|
|
7892
|
-
url: '/w/{workspace}/jobs/run/flow_dependencies_async',
|
|
7893
|
-
path: {
|
|
7894
|
-
workspace: data.workspace
|
|
7895
|
-
},
|
|
7896
|
-
body: data.requestBody,
|
|
7897
|
-
mediaType: 'application/json'
|
|
7898
|
-
});
|
|
7899
|
-
}
|
|
7900
7632
|
/**
|
|
7901
7633
|
* run flow preview
|
|
7902
7634
|
* @param data The data for the request.
|
|
@@ -8250,7 +7982,6 @@ export class JobService {
|
|
|
8250
7982
|
* @param data.workspace
|
|
8251
7983
|
* @param data.requestBody uuids of the jobs to cancel
|
|
8252
7984
|
* @param data.forceCancel
|
|
8253
|
-
* @param data.allWorkspaces
|
|
8254
7985
|
* @returns string uuids of canceled jobs
|
|
8255
7986
|
* @throws ApiError
|
|
8256
7987
|
*/
|
|
@@ -8262,8 +7993,7 @@ export class JobService {
|
|
|
8262
7993
|
workspace: data.workspace
|
|
8263
7994
|
},
|
|
8264
7995
|
query: {
|
|
8265
|
-
force_cancel: data.forceCancel
|
|
8266
|
-
all_workspaces: data.allWorkspaces
|
|
7996
|
+
force_cancel: data.forceCancel
|
|
8267
7997
|
},
|
|
8268
7998
|
body: data.requestBody,
|
|
8269
7999
|
mediaType: 'application/json'
|
|
@@ -8488,7 +8218,6 @@ export class JobService {
|
|
|
8488
8218
|
* @param data.success filter on successful jobs
|
|
8489
8219
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
8490
8220
|
* @param data.isNotSchedule is not a scheduled job
|
|
8491
|
-
* @param data.excludesEntrypointOverride exclude jobs that were started with a `_ENTRYPOINT_OVERRIDE` arg (e.g. dynamic-select helper runs and preprocessor previews)
|
|
8492
8221
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label)
|
|
8493
8222
|
* @returns Job All jobs
|
|
8494
8223
|
* @throws ApiError
|
|
@@ -8533,7 +8262,6 @@ export class JobService {
|
|
|
8533
8262
|
success: data.success,
|
|
8534
8263
|
all_workspaces: data.allWorkspaces,
|
|
8535
8264
|
is_not_schedule: data.isNotSchedule,
|
|
8536
|
-
excludes_entrypoint_override: data.excludesEntrypointOverride,
|
|
8537
8265
|
broad_filter: data.broadFilter
|
|
8538
8266
|
}
|
|
8539
8267
|
});
|
|
@@ -8574,7 +8302,6 @@ export class JobService {
|
|
|
8574
8302
|
* @param data.id
|
|
8575
8303
|
* @param data.noLogs
|
|
8576
8304
|
* @param data.noCode
|
|
8577
|
-
* @param data.approvalToken Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
|
|
8578
8305
|
* @returns Job job details
|
|
8579
8306
|
* @throws ApiError
|
|
8580
8307
|
*/
|
|
@@ -8588,8 +8315,7 @@ export class JobService {
|
|
|
8588
8315
|
},
|
|
8589
8316
|
query: {
|
|
8590
8317
|
no_logs: data.noLogs,
|
|
8591
|
-
no_code: data.noCode
|
|
8592
|
-
approval_token: data.approvalToken
|
|
8318
|
+
no_code: data.noCode
|
|
8593
8319
|
}
|
|
8594
8320
|
});
|
|
8595
8321
|
}
|
|
@@ -9467,7 +9193,7 @@ export class JobService {
|
|
|
9467
9193
|
});
|
|
9468
9194
|
}
|
|
9469
9195
|
}
|
|
9470
|
-
export class
|
|
9196
|
+
export class FlowConversationService {
|
|
9471
9197
|
/**
|
|
9472
9198
|
* list flow conversations
|
|
9473
9199
|
* @param data The data for the request.
|
|
@@ -9517,7 +9243,7 @@ export class FlowConversationsService {
|
|
|
9517
9243
|
* @param data.conversationId conversation id
|
|
9518
9244
|
* @param data.page which page to return (start at 1, default 1)
|
|
9519
9245
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9520
|
-
* @param data.
|
|
9246
|
+
* @param data.afterId id to fetch only the messages after that id
|
|
9521
9247
|
* @returns FlowConversationMessage conversation messages
|
|
9522
9248
|
* @throws ApiError
|
|
9523
9249
|
*/
|
|
@@ -9532,7 +9258,7 @@ export class FlowConversationsService {
|
|
|
9532
9258
|
query: {
|
|
9533
9259
|
page: data.page,
|
|
9534
9260
|
per_page: data.perPage,
|
|
9535
|
-
|
|
9261
|
+
after_id: data.afterId
|
|
9536
9262
|
}
|
|
9537
9263
|
});
|
|
9538
9264
|
}
|
|
@@ -11185,22 +10911,6 @@ export class NativeTriggerService {
|
|
|
11185
10911
|
}
|
|
11186
10912
|
});
|
|
11187
10913
|
}
|
|
11188
|
-
/**
|
|
11189
|
-
* list GitHub repositories accessible to the user
|
|
11190
|
-
* @param data The data for the request.
|
|
11191
|
-
* @param data.workspace
|
|
11192
|
-
* @returns GithubRepoEntry list of GitHub repositories
|
|
11193
|
-
* @throws ApiError
|
|
11194
|
-
*/
|
|
11195
|
-
static listGithubRepos(data) {
|
|
11196
|
-
return __request(OpenAPI, {
|
|
11197
|
-
method: 'GET',
|
|
11198
|
-
url: '/w/{workspace}/native_triggers/github/repos',
|
|
11199
|
-
path: {
|
|
11200
|
-
workspace: data.workspace
|
|
11201
|
-
}
|
|
11202
|
-
});
|
|
11203
|
-
}
|
|
11204
10914
|
/**
|
|
11205
10915
|
* receive webhook from external native trigger service
|
|
11206
10916
|
* @param data The data for the request.
|
|
@@ -11617,269 +11327,6 @@ export class GcpTriggerService {
|
|
|
11617
11327
|
});
|
|
11618
11328
|
}
|
|
11619
11329
|
}
|
|
11620
|
-
export class AzureTriggerService {
|
|
11621
|
-
/**
|
|
11622
|
-
* create an Azure Event Grid trigger
|
|
11623
|
-
* @param data The data for the request.
|
|
11624
|
-
* @param data.workspace
|
|
11625
|
-
* @param data.requestBody
|
|
11626
|
-
* @returns string azure trigger created
|
|
11627
|
-
* @throws ApiError
|
|
11628
|
-
*/
|
|
11629
|
-
static createAzureTrigger(data) {
|
|
11630
|
-
return __request(OpenAPI, {
|
|
11631
|
-
method: 'POST',
|
|
11632
|
-
url: '/w/{workspace}/azure_triggers/create',
|
|
11633
|
-
path: {
|
|
11634
|
-
workspace: data.workspace
|
|
11635
|
-
},
|
|
11636
|
-
body: data.requestBody,
|
|
11637
|
-
mediaType: 'application/json'
|
|
11638
|
-
});
|
|
11639
|
-
}
|
|
11640
|
-
/**
|
|
11641
|
-
* update an Azure Event Grid trigger
|
|
11642
|
-
* @param data The data for the request.
|
|
11643
|
-
* @param data.workspace
|
|
11644
|
-
* @param data.path
|
|
11645
|
-
* @param data.requestBody
|
|
11646
|
-
* @returns string azure trigger updated
|
|
11647
|
-
* @throws ApiError
|
|
11648
|
-
*/
|
|
11649
|
-
static updateAzureTrigger(data) {
|
|
11650
|
-
return __request(OpenAPI, {
|
|
11651
|
-
method: 'POST',
|
|
11652
|
-
url: '/w/{workspace}/azure_triggers/update/{path}',
|
|
11653
|
-
path: {
|
|
11654
|
-
workspace: data.workspace,
|
|
11655
|
-
path: data.path
|
|
11656
|
-
},
|
|
11657
|
-
body: data.requestBody,
|
|
11658
|
-
mediaType: 'application/json'
|
|
11659
|
-
});
|
|
11660
|
-
}
|
|
11661
|
-
/**
|
|
11662
|
-
* delete an Azure Event Grid trigger
|
|
11663
|
-
* @param data The data for the request.
|
|
11664
|
-
* @param data.workspace
|
|
11665
|
-
* @param data.path
|
|
11666
|
-
* @returns string azure trigger deleted
|
|
11667
|
-
* @throws ApiError
|
|
11668
|
-
*/
|
|
11669
|
-
static deleteAzureTrigger(data) {
|
|
11670
|
-
return __request(OpenAPI, {
|
|
11671
|
-
method: 'DELETE',
|
|
11672
|
-
url: '/w/{workspace}/azure_triggers/delete/{path}',
|
|
11673
|
-
path: {
|
|
11674
|
-
workspace: data.workspace,
|
|
11675
|
-
path: data.path
|
|
11676
|
-
}
|
|
11677
|
-
});
|
|
11678
|
-
}
|
|
11679
|
-
/**
|
|
11680
|
-
* get an Azure Event Grid trigger
|
|
11681
|
-
* @param data The data for the request.
|
|
11682
|
-
* @param data.workspace
|
|
11683
|
-
* @param data.path
|
|
11684
|
-
* @returns AzureTrigger azure trigger
|
|
11685
|
-
* @throws ApiError
|
|
11686
|
-
*/
|
|
11687
|
-
static getAzureTrigger(data) {
|
|
11688
|
-
return __request(OpenAPI, {
|
|
11689
|
-
method: 'GET',
|
|
11690
|
-
url: '/w/{workspace}/azure_triggers/get/{path}',
|
|
11691
|
-
path: {
|
|
11692
|
-
workspace: data.workspace,
|
|
11693
|
-
path: data.path
|
|
11694
|
-
}
|
|
11695
|
-
});
|
|
11696
|
-
}
|
|
11697
|
-
/**
|
|
11698
|
-
* list azure triggers
|
|
11699
|
-
* @param data The data for the request.
|
|
11700
|
-
* @param data.workspace
|
|
11701
|
-
* @param data.page which page to return (start at 1, default 1)
|
|
11702
|
-
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
11703
|
-
* @param data.path filter by exact path
|
|
11704
|
-
* @param data.isFlow
|
|
11705
|
-
* @param data.pathStart
|
|
11706
|
-
* @returns AzureTrigger azure trigger list
|
|
11707
|
-
* @throws ApiError
|
|
11708
|
-
*/
|
|
11709
|
-
static listAzureTriggers(data) {
|
|
11710
|
-
return __request(OpenAPI, {
|
|
11711
|
-
method: 'GET',
|
|
11712
|
-
url: '/w/{workspace}/azure_triggers/list',
|
|
11713
|
-
path: {
|
|
11714
|
-
workspace: data.workspace
|
|
11715
|
-
},
|
|
11716
|
-
query: {
|
|
11717
|
-
page: data.page,
|
|
11718
|
-
per_page: data.perPage,
|
|
11719
|
-
path: data.path,
|
|
11720
|
-
is_flow: data.isFlow,
|
|
11721
|
-
path_start: data.pathStart
|
|
11722
|
-
}
|
|
11723
|
-
});
|
|
11724
|
-
}
|
|
11725
|
-
/**
|
|
11726
|
-
* check whether an azure trigger exists
|
|
11727
|
-
* @param data The data for the request.
|
|
11728
|
-
* @param data.workspace
|
|
11729
|
-
* @param data.path
|
|
11730
|
-
* @returns boolean true/false
|
|
11731
|
-
* @throws ApiError
|
|
11732
|
-
*/
|
|
11733
|
-
static existsAzureTrigger(data) {
|
|
11734
|
-
return __request(OpenAPI, {
|
|
11735
|
-
method: 'GET',
|
|
11736
|
-
url: '/w/{workspace}/azure_triggers/exists/{path}',
|
|
11737
|
-
path: {
|
|
11738
|
-
workspace: data.workspace,
|
|
11739
|
-
path: data.path
|
|
11740
|
-
}
|
|
11741
|
-
});
|
|
11742
|
-
}
|
|
11743
|
-
/**
|
|
11744
|
-
* set azure trigger mode
|
|
11745
|
-
* @param data The data for the request.
|
|
11746
|
-
* @param data.workspace
|
|
11747
|
-
* @param data.path
|
|
11748
|
-
* @param data.requestBody
|
|
11749
|
-
* @returns string trigger mode updated
|
|
11750
|
-
* @throws ApiError
|
|
11751
|
-
*/
|
|
11752
|
-
static setAzureTriggerMode(data) {
|
|
11753
|
-
return __request(OpenAPI, {
|
|
11754
|
-
method: 'POST',
|
|
11755
|
-
url: '/w/{workspace}/azure_triggers/setmode/{path}',
|
|
11756
|
-
path: {
|
|
11757
|
-
workspace: data.workspace,
|
|
11758
|
-
path: data.path
|
|
11759
|
-
},
|
|
11760
|
-
body: data.requestBody,
|
|
11761
|
-
mediaType: 'application/json'
|
|
11762
|
-
});
|
|
11763
|
-
}
|
|
11764
|
-
/**
|
|
11765
|
-
* test Azure service principal connection
|
|
11766
|
-
* @param data The data for the request.
|
|
11767
|
-
* @param data.workspace
|
|
11768
|
-
* @param data.requestBody
|
|
11769
|
-
* @returns string connection successful
|
|
11770
|
-
* @throws ApiError
|
|
11771
|
-
*/
|
|
11772
|
-
static testAzureConnection(data) {
|
|
11773
|
-
return __request(OpenAPI, {
|
|
11774
|
-
method: 'POST',
|
|
11775
|
-
url: '/w/{workspace}/azure_triggers/test',
|
|
11776
|
-
path: {
|
|
11777
|
-
workspace: data.workspace
|
|
11778
|
-
},
|
|
11779
|
-
body: data.requestBody,
|
|
11780
|
-
mediaType: 'application/json'
|
|
11781
|
-
});
|
|
11782
|
-
}
|
|
11783
|
-
/**
|
|
11784
|
-
* list topics under an Event Grid Namespace
|
|
11785
|
-
* @param data The data for the request.
|
|
11786
|
-
* @param data.workspace
|
|
11787
|
-
* @param data.path
|
|
11788
|
-
* @param data.requestBody
|
|
11789
|
-
* @returns unknown topic list
|
|
11790
|
-
* @throws ApiError
|
|
11791
|
-
*/
|
|
11792
|
-
static listAzureNamespaceTopics(data) {
|
|
11793
|
-
return __request(OpenAPI, {
|
|
11794
|
-
method: 'POST',
|
|
11795
|
-
url: '/w/{workspace}/azure_triggers/namespaces/topics/list/{path}',
|
|
11796
|
-
path: {
|
|
11797
|
-
workspace: data.workspace,
|
|
11798
|
-
path: data.path
|
|
11799
|
-
},
|
|
11800
|
-
body: data.requestBody,
|
|
11801
|
-
mediaType: 'application/json'
|
|
11802
|
-
});
|
|
11803
|
-
}
|
|
11804
|
-
/**
|
|
11805
|
-
* list subscriptions under a Namespace topic
|
|
11806
|
-
* @param data The data for the request.
|
|
11807
|
-
* @param data.workspace
|
|
11808
|
-
* @param data.path
|
|
11809
|
-
* @param data.requestBody
|
|
11810
|
-
* @returns unknown subscription list
|
|
11811
|
-
* @throws ApiError
|
|
11812
|
-
*/
|
|
11813
|
-
static listAzureNamespaceSubscriptions(data) {
|
|
11814
|
-
return __request(OpenAPI, {
|
|
11815
|
-
method: 'POST',
|
|
11816
|
-
url: '/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}',
|
|
11817
|
-
path: {
|
|
11818
|
-
workspace: data.workspace,
|
|
11819
|
-
path: data.path
|
|
11820
|
-
},
|
|
11821
|
-
body: data.requestBody,
|
|
11822
|
-
mediaType: 'application/json'
|
|
11823
|
-
});
|
|
11824
|
-
}
|
|
11825
|
-
/**
|
|
11826
|
-
* delete an Event Grid subscription on Azure
|
|
11827
|
-
* @param data The data for the request.
|
|
11828
|
-
* @param data.workspace
|
|
11829
|
-
* @param data.path
|
|
11830
|
-
* @param data.requestBody
|
|
11831
|
-
* @returns string subscription deleted
|
|
11832
|
-
* @throws ApiError
|
|
11833
|
-
*/
|
|
11834
|
-
static deleteAzureSubscription(data) {
|
|
11835
|
-
return __request(OpenAPI, {
|
|
11836
|
-
method: 'DELETE',
|
|
11837
|
-
url: '/w/{workspace}/azure_triggers/subscriptions/delete/{path}',
|
|
11838
|
-
path: {
|
|
11839
|
-
workspace: data.workspace,
|
|
11840
|
-
path: data.path
|
|
11841
|
-
},
|
|
11842
|
-
body: data.requestBody,
|
|
11843
|
-
mediaType: 'application/json'
|
|
11844
|
-
});
|
|
11845
|
-
}
|
|
11846
|
-
/**
|
|
11847
|
-
* list Event Grid Namespaces the service principal can access
|
|
11848
|
-
* @param data The data for the request.
|
|
11849
|
-
* @param data.workspace
|
|
11850
|
-
* @param data.path
|
|
11851
|
-
* @returns AzureArmResource namespace list
|
|
11852
|
-
* @throws ApiError
|
|
11853
|
-
*/
|
|
11854
|
-
static listAzureNamespaces(data) {
|
|
11855
|
-
return __request(OpenAPI, {
|
|
11856
|
-
method: 'POST',
|
|
11857
|
-
url: '/w/{workspace}/azure_triggers/namespaces/list/{path}',
|
|
11858
|
-
path: {
|
|
11859
|
-
workspace: data.workspace,
|
|
11860
|
-
path: data.path
|
|
11861
|
-
}
|
|
11862
|
-
});
|
|
11863
|
-
}
|
|
11864
|
-
/**
|
|
11865
|
-
* list Basic Event Grid topics + system topics the service principal can access
|
|
11866
|
-
* @param data The data for the request.
|
|
11867
|
-
* @param data.workspace
|
|
11868
|
-
* @param data.path
|
|
11869
|
-
* @returns AzureArmResource topic list
|
|
11870
|
-
* @throws ApiError
|
|
11871
|
-
*/
|
|
11872
|
-
static listAzureBasicTopics(data) {
|
|
11873
|
-
return __request(OpenAPI, {
|
|
11874
|
-
method: 'POST',
|
|
11875
|
-
url: '/w/{workspace}/azure_triggers/basic/topics/list/{path}',
|
|
11876
|
-
path: {
|
|
11877
|
-
workspace: data.workspace,
|
|
11878
|
-
path: data.path
|
|
11879
|
-
}
|
|
11880
|
-
});
|
|
11881
|
-
}
|
|
11882
|
-
}
|
|
11883
11330
|
export class PostgresTriggerService {
|
|
11884
11331
|
/**
|
|
11885
11332
|
* get postgres version
|
|
@@ -13914,10 +13361,6 @@ export class HelpersService {
|
|
|
13914
13361
|
* @param data The data for the request.
|
|
13915
13362
|
* @param data.workspace
|
|
13916
13363
|
* @param data.fileKey S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
|
|
13917
|
-
* @param data.markerFile If provided, the folder is only considered to exist when this exact
|
|
13918
|
-
* sentinel file is present under file_key. Lets callers distinguish a
|
|
13919
|
-
* fully populated folder from a partial upload.
|
|
13920
|
-
*
|
|
13921
13364
|
* @returns unknown S3 folder existence check result
|
|
13922
13365
|
* @throws ApiError
|
|
13923
13366
|
*/
|
|
@@ -13929,8 +13372,7 @@ export class HelpersService {
|
|
|
13929
13372
|
workspace: data.workspace
|
|
13930
13373
|
},
|
|
13931
13374
|
query: {
|
|
13932
|
-
file_key: data.fileKey
|
|
13933
|
-
marker_file: data.markerFile
|
|
13375
|
+
file_key: data.fileKey
|
|
13934
13376
|
}
|
|
13935
13377
|
});
|
|
13936
13378
|
}
|