windmill-components 1.677.0 → 1.677.1
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/package/components/flows/flowStore.svelte.d.ts +1 -1
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
- package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +640 -98
- package/package/gen/schemas.gen.js +641 -99
- package/package/gen/services.gen.d.ts +283 -5
- package/package/gen/services.gen.js +560 -22
- package/package/gen/types.gen.d.ts +1428 -138
- package/package/utils_deployable.d.ts +11 -7
- package/package.json +2 -2
|
@@ -672,6 +672,44 @@ export class UserService {
|
|
|
672
672
|
mediaType: 'application/json'
|
|
673
673
|
});
|
|
674
674
|
}
|
|
675
|
+
/**
|
|
676
|
+
* impersonate a service account
|
|
677
|
+
* @param data The data for the request.
|
|
678
|
+
* @param data.workspace
|
|
679
|
+
* @param data.requestBody
|
|
680
|
+
* @returns string impersonation token
|
|
681
|
+
* @throws ApiError
|
|
682
|
+
*/
|
|
683
|
+
static impersonateServiceAccount(data) {
|
|
684
|
+
return __request(OpenAPI, {
|
|
685
|
+
method: 'POST',
|
|
686
|
+
url: '/w/{workspace}/users/impersonate_service_account',
|
|
687
|
+
path: {
|
|
688
|
+
workspace: data.workspace
|
|
689
|
+
},
|
|
690
|
+
body: data.requestBody,
|
|
691
|
+
mediaType: 'application/json'
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* exit service account impersonation
|
|
696
|
+
* @param data The data for the request.
|
|
697
|
+
* @param data.workspace
|
|
698
|
+
* @param data.requestBody
|
|
699
|
+
* @returns string exited impersonation
|
|
700
|
+
* @throws ApiError
|
|
701
|
+
*/
|
|
702
|
+
static exitImpersonation(data) {
|
|
703
|
+
return __request(OpenAPI, {
|
|
704
|
+
method: 'POST',
|
|
705
|
+
url: '/w/{workspace}/users/exit_impersonation',
|
|
706
|
+
path: {
|
|
707
|
+
workspace: data.workspace
|
|
708
|
+
},
|
|
709
|
+
body: data.requestBody,
|
|
710
|
+
mediaType: 'application/json'
|
|
711
|
+
});
|
|
712
|
+
}
|
|
675
713
|
/**
|
|
676
714
|
* whois
|
|
677
715
|
* @param data The data for the request.
|
|
@@ -1050,6 +1088,38 @@ export class GitSyncService {
|
|
|
1050
1088
|
mediaType: 'application/json'
|
|
1051
1089
|
});
|
|
1052
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* GHES installation callback
|
|
1093
|
+
* Register a self-managed GitHub App installation from GitHub Enterprise Server
|
|
1094
|
+
* @param data The data for the request.
|
|
1095
|
+
* @param data.workspace
|
|
1096
|
+
* @param data.requestBody
|
|
1097
|
+
* @returns unknown GHES installation registered successfully
|
|
1098
|
+
* @throws ApiError
|
|
1099
|
+
*/
|
|
1100
|
+
static ghesInstallationCallback(data) {
|
|
1101
|
+
return __request(OpenAPI, {
|
|
1102
|
+
method: 'POST',
|
|
1103
|
+
url: '/w/{workspace}/github_app/ghes_installation_callback',
|
|
1104
|
+
path: {
|
|
1105
|
+
workspace: data.workspace
|
|
1106
|
+
},
|
|
1107
|
+
body: data.requestBody,
|
|
1108
|
+
mediaType: 'application/json'
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* Get GHES app config
|
|
1113
|
+
* Returns the GitHub Enterprise Server app configuration (without private key) for constructing the installation URL
|
|
1114
|
+
* @returns unknown GHES app configuration
|
|
1115
|
+
* @throws ApiError
|
|
1116
|
+
*/
|
|
1117
|
+
static getGhesConfig() {
|
|
1118
|
+
return __request(OpenAPI, {
|
|
1119
|
+
method: 'GET',
|
|
1120
|
+
url: '/github_app/ghes_config'
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1053
1123
|
}
|
|
1054
1124
|
export class WorkspaceService {
|
|
1055
1125
|
/**
|
|
@@ -1259,6 +1329,25 @@ export class WorkspaceService {
|
|
|
1259
1329
|
mediaType: 'application/json'
|
|
1260
1330
|
});
|
|
1261
1331
|
}
|
|
1332
|
+
/**
|
|
1333
|
+
* create a service account
|
|
1334
|
+
* @param data The data for the request.
|
|
1335
|
+
* @param data.workspace
|
|
1336
|
+
* @param data.requestBody
|
|
1337
|
+
* @returns string service account created
|
|
1338
|
+
* @throws ApiError
|
|
1339
|
+
*/
|
|
1340
|
+
static createServiceAccount(data) {
|
|
1341
|
+
return __request(OpenAPI, {
|
|
1342
|
+
method: 'POST',
|
|
1343
|
+
url: '/w/{workspace}/workspaces/create_service_account',
|
|
1344
|
+
path: {
|
|
1345
|
+
workspace: data.workspace
|
|
1346
|
+
},
|
|
1347
|
+
body: data.requestBody,
|
|
1348
|
+
mediaType: 'application/json'
|
|
1349
|
+
});
|
|
1350
|
+
}
|
|
1262
1351
|
/**
|
|
1263
1352
|
* delete user invite
|
|
1264
1353
|
* @param data The data for the request.
|
|
@@ -1630,6 +1719,24 @@ export class WorkspaceService {
|
|
|
1630
1719
|
}
|
|
1631
1720
|
});
|
|
1632
1721
|
}
|
|
1722
|
+
/**
|
|
1723
|
+
* get script imports for an importer path
|
|
1724
|
+
* @param data The data for the request.
|
|
1725
|
+
* @param data.workspace
|
|
1726
|
+
* @param data.importerPath The script path to get imports for
|
|
1727
|
+
* @returns string list of imported script paths
|
|
1728
|
+
* @throws ApiError
|
|
1729
|
+
*/
|
|
1730
|
+
static getImports(data) {
|
|
1731
|
+
return __request(OpenAPI, {
|
|
1732
|
+
method: 'GET',
|
|
1733
|
+
url: '/w/{workspace}/workspaces/get_imports/{importer_path}',
|
|
1734
|
+
path: {
|
|
1735
|
+
workspace: data.workspace,
|
|
1736
|
+
importer_path: data.importerPath
|
|
1737
|
+
}
|
|
1738
|
+
});
|
|
1739
|
+
}
|
|
1633
1740
|
/**
|
|
1634
1741
|
* get dependents amounts for multiple imported paths
|
|
1635
1742
|
* @param data The data for the request.
|
|
@@ -1934,7 +2041,7 @@ export class WorkspaceService {
|
|
|
1934
2041
|
* @param data The data for the request.
|
|
1935
2042
|
* @param data.workspace
|
|
1936
2043
|
* @param data.requestBody WorkspaceCopilotConfig
|
|
1937
|
-
* @returns
|
|
2044
|
+
* @returns unknown status
|
|
1938
2045
|
* @throws ApiError
|
|
1939
2046
|
*/
|
|
1940
2047
|
static editCopilotConfig(data) {
|
|
@@ -1948,6 +2055,22 @@ export class WorkspaceService {
|
|
|
1948
2055
|
mediaType: 'application/json'
|
|
1949
2056
|
});
|
|
1950
2057
|
}
|
|
2058
|
+
/**
|
|
2059
|
+
* get copilot settings state
|
|
2060
|
+
* @param data The data for the request.
|
|
2061
|
+
* @param data.workspace
|
|
2062
|
+
* @returns unknown status
|
|
2063
|
+
* @throws ApiError
|
|
2064
|
+
*/
|
|
2065
|
+
static getCopilotSettingsState(data) {
|
|
2066
|
+
return __request(OpenAPI, {
|
|
2067
|
+
method: 'GET',
|
|
2068
|
+
url: '/w/{workspace}/workspaces/get_copilot_settings_state',
|
|
2069
|
+
path: {
|
|
2070
|
+
workspace: data.workspace
|
|
2071
|
+
}
|
|
2072
|
+
});
|
|
2073
|
+
}
|
|
1951
2074
|
/**
|
|
1952
2075
|
* get copilot info
|
|
1953
2076
|
* @param data The data for the request.
|
|
@@ -2107,6 +2230,22 @@ export class WorkspaceService {
|
|
|
2107
2230
|
mediaType: 'application/json'
|
|
2108
2231
|
});
|
|
2109
2232
|
}
|
|
2233
|
+
/**
|
|
2234
|
+
* Check if git sync is available for this workspace
|
|
2235
|
+
* @param data The data for the request.
|
|
2236
|
+
* @param data.workspace
|
|
2237
|
+
* @returns unknown Git sync availability status
|
|
2238
|
+
* @throws ApiError
|
|
2239
|
+
*/
|
|
2240
|
+
static getGitSyncEnabled(data) {
|
|
2241
|
+
return __request(OpenAPI, {
|
|
2242
|
+
method: 'GET',
|
|
2243
|
+
url: '/w/{workspace}/workspaces/git_sync_enabled',
|
|
2244
|
+
path: {
|
|
2245
|
+
workspace: data.workspace
|
|
2246
|
+
}
|
|
2247
|
+
});
|
|
2248
|
+
}
|
|
2110
2249
|
/**
|
|
2111
2250
|
* edit workspace git sync settings
|
|
2112
2251
|
* @param data The data for the request.
|
|
@@ -2422,6 +2561,60 @@ export class WorkspaceService {
|
|
|
2422
2561
|
}
|
|
2423
2562
|
});
|
|
2424
2563
|
}
|
|
2564
|
+
/**
|
|
2565
|
+
* log AI chat message
|
|
2566
|
+
* @param data The data for the request.
|
|
2567
|
+
* @param data.workspace
|
|
2568
|
+
* @param data.requestBody
|
|
2569
|
+
* @returns void logged
|
|
2570
|
+
* @throws ApiError
|
|
2571
|
+
*/
|
|
2572
|
+
static logAiChat(data) {
|
|
2573
|
+
return __request(OpenAPI, {
|
|
2574
|
+
method: 'POST',
|
|
2575
|
+
url: '/w/{workspace}/workspaces/log_chat',
|
|
2576
|
+
path: {
|
|
2577
|
+
workspace: data.workspace
|
|
2578
|
+
},
|
|
2579
|
+
body: data.requestBody,
|
|
2580
|
+
mediaType: 'application/json'
|
|
2581
|
+
});
|
|
2582
|
+
}
|
|
2583
|
+
/**
|
|
2584
|
+
* get cloud quota usage and limits for workspace
|
|
2585
|
+
* @param data The data for the request.
|
|
2586
|
+
* @param data.workspace
|
|
2587
|
+
* @returns unknown cloud quota usage and limits
|
|
2588
|
+
* @throws ApiError
|
|
2589
|
+
*/
|
|
2590
|
+
static getCloudQuotas(data) {
|
|
2591
|
+
return __request(OpenAPI, {
|
|
2592
|
+
method: 'GET',
|
|
2593
|
+
url: '/w/{workspace}/workspaces/cloud_quotas',
|
|
2594
|
+
path: {
|
|
2595
|
+
workspace: data.workspace
|
|
2596
|
+
}
|
|
2597
|
+
});
|
|
2598
|
+
}
|
|
2599
|
+
/**
|
|
2600
|
+
* prune old versions of scripts, flows, or apps
|
|
2601
|
+
* @param data The data for the request.
|
|
2602
|
+
* @param data.workspace
|
|
2603
|
+
* @param data.requestBody
|
|
2604
|
+
* @returns unknown number of pruned versions
|
|
2605
|
+
* @throws ApiError
|
|
2606
|
+
*/
|
|
2607
|
+
static pruneVersions(data) {
|
|
2608
|
+
return __request(OpenAPI, {
|
|
2609
|
+
method: 'POST',
|
|
2610
|
+
url: '/w/{workspace}/workspaces/prune_versions',
|
|
2611
|
+
path: {
|
|
2612
|
+
workspace: data.workspace
|
|
2613
|
+
},
|
|
2614
|
+
body: data.requestBody,
|
|
2615
|
+
mediaType: 'application/json'
|
|
2616
|
+
});
|
|
2617
|
+
}
|
|
2425
2618
|
}
|
|
2426
2619
|
export class SettingService {
|
|
2427
2620
|
/**
|
|
@@ -2618,6 +2811,50 @@ export class SettingService {
|
|
|
2618
2811
|
mediaType: 'application/json'
|
|
2619
2812
|
});
|
|
2620
2813
|
}
|
|
2814
|
+
/**
|
|
2815
|
+
* get current or last object storage usage computation (null if never run)
|
|
2816
|
+
* @returns unknown current or last storage-usage computation state
|
|
2817
|
+
* @throws ApiError
|
|
2818
|
+
*/
|
|
2819
|
+
static getObjectStorageUsage() {
|
|
2820
|
+
return __request(OpenAPI, {
|
|
2821
|
+
method: 'GET',
|
|
2822
|
+
url: '/settings/object_storage_usage'
|
|
2823
|
+
});
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* start a background computation of object storage usage by top-level folder
|
|
2827
|
+
* @returns string computation started
|
|
2828
|
+
* @throws ApiError
|
|
2829
|
+
*/
|
|
2830
|
+
static computeObjectStorageUsage() {
|
|
2831
|
+
return __request(OpenAPI, {
|
|
2832
|
+
method: 'POST',
|
|
2833
|
+
url: '/settings/object_storage_usage'
|
|
2834
|
+
});
|
|
2835
|
+
}
|
|
2836
|
+
/**
|
|
2837
|
+
* start a manual cleanup of expired logs from object storage
|
|
2838
|
+
* @returns string cleanup started
|
|
2839
|
+
* @throws ApiError
|
|
2840
|
+
*/
|
|
2841
|
+
static runLogCleanup() {
|
|
2842
|
+
return __request(OpenAPI, {
|
|
2843
|
+
method: 'POST',
|
|
2844
|
+
url: '/settings/run_log_cleanup'
|
|
2845
|
+
});
|
|
2846
|
+
}
|
|
2847
|
+
/**
|
|
2848
|
+
* get status of the manual log cleanup task
|
|
2849
|
+
* @returns unknown current or last log cleanup status (null if never run)
|
|
2850
|
+
* @throws ApiError
|
|
2851
|
+
*/
|
|
2852
|
+
static getLogCleanupStatus() {
|
|
2853
|
+
return __request(OpenAPI, {
|
|
2854
|
+
method: 'GET',
|
|
2855
|
+
url: '/settings/log_cleanup_status'
|
|
2856
|
+
});
|
|
2857
|
+
}
|
|
2621
2858
|
/**
|
|
2622
2859
|
* send stats
|
|
2623
2860
|
* @returns string status
|
|
@@ -2630,8 +2867,25 @@ export class SettingService {
|
|
|
2630
2867
|
});
|
|
2631
2868
|
}
|
|
2632
2869
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
*
|
|
2870
|
+
* restart worker group
|
|
2871
|
+
* Send a restart signal to all workers in the specified worker group. Workers will gracefully shut down and are expected to be restarted by their supervisor. Requires devops role.
|
|
2872
|
+
* @param data The data for the request.
|
|
2873
|
+
* @param data.workerGroup the name of the worker group to restart
|
|
2874
|
+
* @returns string restart signal sent
|
|
2875
|
+
* @throws ApiError
|
|
2876
|
+
*/
|
|
2877
|
+
static restartWorkerGroup(data) {
|
|
2878
|
+
return __request(OpenAPI, {
|
|
2879
|
+
method: 'POST',
|
|
2880
|
+
url: '/settings/restart_worker_group/{worker_group}',
|
|
2881
|
+
path: {
|
|
2882
|
+
worker_group: data.workerGroup
|
|
2883
|
+
}
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* get telemetry stats with HMAC signature (EE only)
|
|
2888
|
+
* @returns unknown telemetry stats JSON with signature
|
|
2635
2889
|
* @throws ApiError
|
|
2636
2890
|
*/
|
|
2637
2891
|
static getStats() {
|
|
@@ -2802,6 +3056,96 @@ export class SettingService {
|
|
|
2802
3056
|
mediaType: 'application/json'
|
|
2803
3057
|
});
|
|
2804
3058
|
}
|
|
3059
|
+
/**
|
|
3060
|
+
* test Azure Key Vault connection
|
|
3061
|
+
* @param data The data for the request.
|
|
3062
|
+
* @param data.requestBody Azure Key Vault settings to test
|
|
3063
|
+
* @returns string connection successful
|
|
3064
|
+
* @throws ApiError
|
|
3065
|
+
*/
|
|
3066
|
+
static testAzureKvBackend(data) {
|
|
3067
|
+
return __request(OpenAPI, {
|
|
3068
|
+
method: 'POST',
|
|
3069
|
+
url: '/settings/test_azure_kv_backend',
|
|
3070
|
+
body: data.requestBody,
|
|
3071
|
+
mediaType: 'application/json'
|
|
3072
|
+
});
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* migrate secrets from database to Azure Key Vault
|
|
3076
|
+
* @param data The data for the request.
|
|
3077
|
+
* @param data.requestBody Azure Key Vault settings for migration target
|
|
3078
|
+
* @returns SecretMigrationReport migration report
|
|
3079
|
+
* @throws ApiError
|
|
3080
|
+
*/
|
|
3081
|
+
static migrateSecretsToAzureKv(data) {
|
|
3082
|
+
return __request(OpenAPI, {
|
|
3083
|
+
method: 'POST',
|
|
3084
|
+
url: '/settings/migrate_secrets_to_azure_kv',
|
|
3085
|
+
body: data.requestBody,
|
|
3086
|
+
mediaType: 'application/json'
|
|
3087
|
+
});
|
|
3088
|
+
}
|
|
3089
|
+
/**
|
|
3090
|
+
* migrate secrets from Azure Key Vault to database
|
|
3091
|
+
* @param data The data for the request.
|
|
3092
|
+
* @param data.requestBody Azure Key Vault settings for migration source
|
|
3093
|
+
* @returns SecretMigrationReport migration report
|
|
3094
|
+
* @throws ApiError
|
|
3095
|
+
*/
|
|
3096
|
+
static migrateSecretsFromAzureKv(data) {
|
|
3097
|
+
return __request(OpenAPI, {
|
|
3098
|
+
method: 'POST',
|
|
3099
|
+
url: '/settings/migrate_secrets_from_azure_kv',
|
|
3100
|
+
body: data.requestBody,
|
|
3101
|
+
mediaType: 'application/json'
|
|
3102
|
+
});
|
|
3103
|
+
}
|
|
3104
|
+
/**
|
|
3105
|
+
* test connection to AWS Secrets Manager
|
|
3106
|
+
* @param data The data for the request.
|
|
3107
|
+
* @param data.requestBody
|
|
3108
|
+
* @returns string connection test result
|
|
3109
|
+
* @throws ApiError
|
|
3110
|
+
*/
|
|
3111
|
+
static testAwsSmBackend(data) {
|
|
3112
|
+
return __request(OpenAPI, {
|
|
3113
|
+
method: 'POST',
|
|
3114
|
+
url: '/settings/test_aws_sm_backend',
|
|
3115
|
+
body: data.requestBody,
|
|
3116
|
+
mediaType: 'application/json'
|
|
3117
|
+
});
|
|
3118
|
+
}
|
|
3119
|
+
/**
|
|
3120
|
+
* migrate secrets from database to AWS Secrets Manager
|
|
3121
|
+
* @param data The data for the request.
|
|
3122
|
+
* @param data.requestBody
|
|
3123
|
+
* @returns SecretMigrationReport migration report
|
|
3124
|
+
* @throws ApiError
|
|
3125
|
+
*/
|
|
3126
|
+
static migrateSecretsToAwsSm(data) {
|
|
3127
|
+
return __request(OpenAPI, {
|
|
3128
|
+
method: 'POST',
|
|
3129
|
+
url: '/settings/migrate_secrets_to_aws_sm',
|
|
3130
|
+
body: data.requestBody,
|
|
3131
|
+
mediaType: 'application/json'
|
|
3132
|
+
});
|
|
3133
|
+
}
|
|
3134
|
+
/**
|
|
3135
|
+
* migrate secrets from AWS Secrets Manager to database
|
|
3136
|
+
* @param data The data for the request.
|
|
3137
|
+
* @param data.requestBody
|
|
3138
|
+
* @returns SecretMigrationReport migration report
|
|
3139
|
+
* @throws ApiError
|
|
3140
|
+
*/
|
|
3141
|
+
static migrateSecretsFromAwsSm(data) {
|
|
3142
|
+
return __request(OpenAPI, {
|
|
3143
|
+
method: 'POST',
|
|
3144
|
+
url: '/settings/migrate_secrets_from_aws_sm',
|
|
3145
|
+
body: data.requestBody,
|
|
3146
|
+
mediaType: 'application/json'
|
|
3147
|
+
});
|
|
3148
|
+
}
|
|
2805
3149
|
/**
|
|
2806
3150
|
* get secondary storage names
|
|
2807
3151
|
* @param data The data for the request.
|
|
@@ -3140,6 +3484,7 @@ export class VariableService {
|
|
|
3140
3484
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3141
3485
|
* @param data.page which page to return (start at 1, default 1)
|
|
3142
3486
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
3487
|
+
* @param data.label Filter by label
|
|
3143
3488
|
* @returns ListableVariable variable list
|
|
3144
3489
|
* @throws ApiError
|
|
3145
3490
|
*/
|
|
@@ -3157,7 +3502,8 @@ export class VariableService {
|
|
|
3157
3502
|
value: data.value,
|
|
3158
3503
|
broad_filter: data.broadFilter,
|
|
3159
3504
|
page: data.page,
|
|
3160
|
-
per_page: data.perPage
|
|
3505
|
+
per_page: data.perPage,
|
|
3506
|
+
label: data.label
|
|
3161
3507
|
}
|
|
3162
3508
|
});
|
|
3163
3509
|
}
|
|
@@ -3614,6 +3960,7 @@ export class ResourceService {
|
|
|
3614
3960
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
3615
3961
|
* @param data.value JSONB subset match filter using base64 encoded JSON
|
|
3616
3962
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3963
|
+
* @param data.label Filter by label
|
|
3617
3964
|
* @returns ListableResource resource list
|
|
3618
3965
|
* @throws ApiError
|
|
3619
3966
|
*/
|
|
@@ -3633,7 +3980,8 @@ export class ResourceService {
|
|
|
3633
3980
|
path: data.path,
|
|
3634
3981
|
description: data.description,
|
|
3635
3982
|
value: data.value,
|
|
3636
|
-
broad_filter: data.broadFilter
|
|
3983
|
+
broad_filter: data.broadFilter,
|
|
3984
|
+
label: data.label
|
|
3637
3985
|
}
|
|
3638
3986
|
});
|
|
3639
3987
|
}
|
|
@@ -4047,6 +4395,7 @@ export class FlowService {
|
|
|
4047
4395
|
* If true, show only flows with dedicated_worker enabled.
|
|
4048
4396
|
* If false, show only flows with dedicated_worker disabled.
|
|
4049
4397
|
*
|
|
4398
|
+
* @param data.label Filter by label
|
|
4050
4399
|
* @returns unknown All flow
|
|
4051
4400
|
* @throws ApiError
|
|
4052
4401
|
*/
|
|
@@ -4069,7 +4418,8 @@ export class FlowService {
|
|
|
4069
4418
|
include_draft_only: data.includeDraftOnly,
|
|
4070
4419
|
with_deployment_msg: data.withDeploymentMsg,
|
|
4071
4420
|
without_description: data.withoutDescription,
|
|
4072
|
-
dedicated_worker: data.dedicatedWorker
|
|
4421
|
+
dedicated_worker: data.dedicatedWorker,
|
|
4422
|
+
label: data.label
|
|
4073
4423
|
}
|
|
4074
4424
|
});
|
|
4075
4425
|
}
|
|
@@ -4502,6 +4852,7 @@ export class AppService {
|
|
|
4502
4852
|
* @param data.withDeploymentMsg (default false)
|
|
4503
4853
|
* include deployment message
|
|
4504
4854
|
*
|
|
4855
|
+
* @param data.label Filter by label
|
|
4505
4856
|
* @returns ListableApp All apps
|
|
4506
4857
|
* @throws ApiError
|
|
4507
4858
|
*/
|
|
@@ -4521,7 +4872,8 @@ export class AppService {
|
|
|
4521
4872
|
path_exact: data.pathExact,
|
|
4522
4873
|
starred_only: data.starredOnly,
|
|
4523
4874
|
include_draft_only: data.includeDraftOnly,
|
|
4524
|
-
with_deployment_msg: data.withDeploymentMsg
|
|
4875
|
+
with_deployment_msg: data.withDeploymentMsg,
|
|
4876
|
+
label: data.label
|
|
4525
4877
|
}
|
|
4526
4878
|
});
|
|
4527
4879
|
}
|
|
@@ -5148,6 +5500,7 @@ export class ScriptService {
|
|
|
5148
5500
|
* If true, show only scripts with dedicated_worker enabled.
|
|
5149
5501
|
* If false, show only scripts with dedicated_worker disabled.
|
|
5150
5502
|
*
|
|
5503
|
+
* @param data.label Filter by label
|
|
5151
5504
|
* @returns Script All scripts
|
|
5152
5505
|
* @throws ApiError
|
|
5153
5506
|
*/
|
|
@@ -5177,7 +5530,8 @@ export class ScriptService {
|
|
|
5177
5530
|
with_deployment_msg: data.withDeploymentMsg,
|
|
5178
5531
|
languages: data.languages,
|
|
5179
5532
|
without_description: data.withoutDescription,
|
|
5180
|
-
dedicated_worker: data.dedicatedWorker
|
|
5533
|
+
dedicated_worker: data.dedicatedWorker,
|
|
5534
|
+
label: data.label
|
|
5181
5535
|
}
|
|
5182
5536
|
});
|
|
5183
5537
|
}
|
|
@@ -5485,6 +5839,22 @@ export class ScriptService {
|
|
|
5485
5839
|
mediaType: 'application/json'
|
|
5486
5840
|
});
|
|
5487
5841
|
}
|
|
5842
|
+
/**
|
|
5843
|
+
* list dedicated worker scripts with workspace dependency annotations
|
|
5844
|
+
* @param data The data for the request.
|
|
5845
|
+
* @param data.workspace
|
|
5846
|
+
* @returns unknown list of dedicated scripts with their workspace dependency names
|
|
5847
|
+
* @throws ApiError
|
|
5848
|
+
*/
|
|
5849
|
+
static listDedicatedWithDeps(data) {
|
|
5850
|
+
return __request(OpenAPI, {
|
|
5851
|
+
method: 'GET',
|
|
5852
|
+
url: '/w/{workspace}/scripts/list_dedicated_with_deps',
|
|
5853
|
+
path: {
|
|
5854
|
+
workspace: data.workspace
|
|
5855
|
+
}
|
|
5856
|
+
});
|
|
5857
|
+
}
|
|
5488
5858
|
/**
|
|
5489
5859
|
* raw script by path
|
|
5490
5860
|
* @param data The data for the request.
|
|
@@ -5601,6 +5971,44 @@ export class ScriptService {
|
|
|
5601
5971
|
}
|
|
5602
5972
|
});
|
|
5603
5973
|
}
|
|
5974
|
+
/**
|
|
5975
|
+
* store raw script content temporarily for CLI lock generation
|
|
5976
|
+
* @param data The data for the request.
|
|
5977
|
+
* @param data.workspace
|
|
5978
|
+
* @param data.requestBody script content to store
|
|
5979
|
+
* @returns string hash of stored content
|
|
5980
|
+
* @throws ApiError
|
|
5981
|
+
*/
|
|
5982
|
+
static storeRawScriptTemp(data) {
|
|
5983
|
+
return __request(OpenAPI, {
|
|
5984
|
+
method: 'POST',
|
|
5985
|
+
url: '/w/{workspace}/scripts/raw_temp/store',
|
|
5986
|
+
path: {
|
|
5987
|
+
workspace: data.workspace
|
|
5988
|
+
},
|
|
5989
|
+
body: data.requestBody,
|
|
5990
|
+
mediaType: 'application/json'
|
|
5991
|
+
});
|
|
5992
|
+
}
|
|
5993
|
+
/**
|
|
5994
|
+
* diff local script hashes against deployed versions
|
|
5995
|
+
* @param data The data for the request.
|
|
5996
|
+
* @param data.workspace
|
|
5997
|
+
* @param data.requestBody scripts and workspace deps to diff against deployed versions
|
|
5998
|
+
* @returns string list of paths that differ from deployed versions
|
|
5999
|
+
* @throws ApiError
|
|
6000
|
+
*/
|
|
6001
|
+
static diffRawScriptsWithDeployed(data) {
|
|
6002
|
+
return __request(OpenAPI, {
|
|
6003
|
+
method: 'POST',
|
|
6004
|
+
url: '/w/{workspace}/scripts/raw_temp/diff',
|
|
6005
|
+
path: {
|
|
6006
|
+
workspace: data.workspace
|
|
6007
|
+
},
|
|
6008
|
+
body: data.requestBody,
|
|
6009
|
+
mediaType: 'application/json'
|
|
6010
|
+
});
|
|
6011
|
+
}
|
|
5604
6012
|
}
|
|
5605
6013
|
export class DraftService {
|
|
5606
6014
|
/**
|
|
@@ -7630,6 +8038,7 @@ export class JobService {
|
|
|
7630
8038
|
* @param data.getProgress
|
|
7631
8039
|
* @param data.onlyResult
|
|
7632
8040
|
* @param data.noLogs
|
|
8041
|
+
* @param data.fast
|
|
7633
8042
|
* @returns string server-sent events stream of job updates
|
|
7634
8043
|
* @throws ApiError
|
|
7635
8044
|
*/
|
|
@@ -7647,7 +8056,8 @@ export class JobService {
|
|
|
7647
8056
|
stream_offset: data.streamOffset,
|
|
7648
8057
|
get_progress: data.getProgress,
|
|
7649
8058
|
only_result: data.onlyResult,
|
|
7650
|
-
no_logs: data.noLogs
|
|
8059
|
+
no_logs: data.noLogs,
|
|
8060
|
+
fast: data.fast
|
|
7651
8061
|
}
|
|
7652
8062
|
});
|
|
7653
8063
|
}
|
|
@@ -8016,6 +8426,53 @@ export class JobService {
|
|
|
8016
8426
|
}
|
|
8017
8427
|
});
|
|
8018
8428
|
}
|
|
8429
|
+
/**
|
|
8430
|
+
* resume or cancel a suspended flow/WAC job
|
|
8431
|
+
* Resume or cancel a suspended flow/WAC job. Uses approval rules to determine authorization. Either a valid approval_token or an authenticated session is required.
|
|
8432
|
+
*
|
|
8433
|
+
* @param data The data for the request.
|
|
8434
|
+
* @param data.workspace
|
|
8435
|
+
* @param data.jobId
|
|
8436
|
+
* @param data.requestBody
|
|
8437
|
+
* @returns string job resumed
|
|
8438
|
+
* @throws ApiError
|
|
8439
|
+
*/
|
|
8440
|
+
static resumeSuspended(data) {
|
|
8441
|
+
return __request(OpenAPI, {
|
|
8442
|
+
method: 'POST',
|
|
8443
|
+
url: '/w/{workspace}/jobs_u/flow/resume_suspended/{job_id}',
|
|
8444
|
+
path: {
|
|
8445
|
+
workspace: data.workspace,
|
|
8446
|
+
job_id: data.jobId
|
|
8447
|
+
},
|
|
8448
|
+
body: data.requestBody,
|
|
8449
|
+
mediaType: 'application/json'
|
|
8450
|
+
});
|
|
8451
|
+
}
|
|
8452
|
+
/**
|
|
8453
|
+
* get approval info for a suspended flow/WAC job
|
|
8454
|
+
* Get approval info for a suspended flow/WAC job. Returns form schema, approval rules, and whether the current user can approve. Either a valid token query parameter or an authenticated session is required.
|
|
8455
|
+
*
|
|
8456
|
+
* @param data The data for the request.
|
|
8457
|
+
* @param data.workspace
|
|
8458
|
+
* @param data.jobId
|
|
8459
|
+
* @param data.token approval token for unauthenticated access
|
|
8460
|
+
* @returns unknown approval info
|
|
8461
|
+
* @throws ApiError
|
|
8462
|
+
*/
|
|
8463
|
+
static getApprovalInfo(data) {
|
|
8464
|
+
return __request(OpenAPI, {
|
|
8465
|
+
method: 'GET',
|
|
8466
|
+
url: '/w/{workspace}/jobs_u/flow/approval_info/{job_id}',
|
|
8467
|
+
path: {
|
|
8468
|
+
workspace: data.workspace,
|
|
8469
|
+
job_id: data.jobId
|
|
8470
|
+
},
|
|
8471
|
+
query: {
|
|
8472
|
+
token: data.token
|
|
8473
|
+
}
|
|
8474
|
+
});
|
|
8475
|
+
}
|
|
8019
8476
|
/**
|
|
8020
8477
|
* resume a job for a suspended flow
|
|
8021
8478
|
* @param data The data for the request.
|
|
@@ -8371,6 +8828,30 @@ export class FlowConversationService {
|
|
|
8371
8828
|
});
|
|
8372
8829
|
}
|
|
8373
8830
|
}
|
|
8831
|
+
export class PathAutocompleteService {
|
|
8832
|
+
/**
|
|
8833
|
+
* list all paths in a workspace for client-side autocomplete
|
|
8834
|
+
* Returns the flat list of all item paths visible to the caller across
|
|
8835
|
+
* scripts, flows, apps, raw apps, variables, and resources. Intended to
|
|
8836
|
+
* feed an entirely client-side path autocomplete UI: the frontend fetches
|
|
8837
|
+
* once (server caches per workspace for 60s) and performs all prefix/segment
|
|
8838
|
+
* computation locally. Capped at 20,000 paths (5,000 per table).
|
|
8839
|
+
*
|
|
8840
|
+
* @param data The data for the request.
|
|
8841
|
+
* @param data.workspace
|
|
8842
|
+
* @returns unknown deduplicated path list, sorted lexicographically
|
|
8843
|
+
* @throws ApiError
|
|
8844
|
+
*/
|
|
8845
|
+
static listPathAutocompletePaths(data) {
|
|
8846
|
+
return __request(OpenAPI, {
|
|
8847
|
+
method: 'GET',
|
|
8848
|
+
url: '/w/{workspace}/path_autocomplete/list_paths',
|
|
8849
|
+
path: {
|
|
8850
|
+
workspace: data.workspace
|
|
8851
|
+
}
|
|
8852
|
+
});
|
|
8853
|
+
}
|
|
8854
|
+
}
|
|
8374
8855
|
export class RawAppService {
|
|
8375
8856
|
/**
|
|
8376
8857
|
* list all raw apps
|
|
@@ -8385,6 +8866,7 @@ export class RawAppService {
|
|
|
8385
8866
|
* @param data.starredOnly (default false)
|
|
8386
8867
|
* show only the starred items
|
|
8387
8868
|
*
|
|
8869
|
+
* @param data.label Filter by label
|
|
8388
8870
|
* @returns ListableRawApp All raw apps
|
|
8389
8871
|
* @throws ApiError
|
|
8390
8872
|
*/
|
|
@@ -8402,7 +8884,8 @@ export class RawAppService {
|
|
|
8402
8884
|
created_by: data.createdBy,
|
|
8403
8885
|
path_start: data.pathStart,
|
|
8404
8886
|
path_exact: data.pathExact,
|
|
8405
|
-
starred_only: data.starredOnly
|
|
8887
|
+
starred_only: data.starredOnly,
|
|
8888
|
+
label: data.label
|
|
8406
8889
|
}
|
|
8407
8890
|
});
|
|
8408
8891
|
}
|
|
@@ -8600,6 +9083,7 @@ export class ScheduleService {
|
|
|
8600
9083
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
8601
9084
|
* @param data.summary pattern match filter for summary field (case-insensitive)
|
|
8602
9085
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
9086
|
+
* @param data.label Filter by label
|
|
8603
9087
|
* @returns Schedule schedule list
|
|
8604
9088
|
* @throws ApiError
|
|
8605
9089
|
*/
|
|
@@ -8620,7 +9104,8 @@ export class ScheduleService {
|
|
|
8620
9104
|
schedule_path: data.schedulePath,
|
|
8621
9105
|
description: data.description,
|
|
8622
9106
|
summary: data.summary,
|
|
8623
|
-
broad_filter: data.broadFilter
|
|
9107
|
+
broad_filter: data.broadFilter,
|
|
9108
|
+
label: data.label
|
|
8624
9109
|
}
|
|
8625
9110
|
});
|
|
8626
9111
|
}
|
|
@@ -8811,6 +9296,7 @@ export class HttpTriggerService {
|
|
|
8811
9296
|
* @param data.path filter by path
|
|
8812
9297
|
* @param data.isFlow
|
|
8813
9298
|
* @param data.pathStart
|
|
9299
|
+
* @param data.label Filter by label
|
|
8814
9300
|
* @returns HttpTrigger http trigger list
|
|
8815
9301
|
* @throws ApiError
|
|
8816
9302
|
*/
|
|
@@ -8826,7 +9312,8 @@ export class HttpTriggerService {
|
|
|
8826
9312
|
per_page: data.perPage,
|
|
8827
9313
|
path: data.path,
|
|
8828
9314
|
is_flow: data.isFlow,
|
|
8829
|
-
path_start: data.pathStart
|
|
9315
|
+
path_start: data.pathStart,
|
|
9316
|
+
label: data.label
|
|
8830
9317
|
}
|
|
8831
9318
|
});
|
|
8832
9319
|
}
|
|
@@ -8975,6 +9462,7 @@ export class WebsocketTriggerService {
|
|
|
8975
9462
|
* @param data.path filter by path
|
|
8976
9463
|
* @param data.isFlow
|
|
8977
9464
|
* @param data.pathStart
|
|
9465
|
+
* @param data.label Filter by label
|
|
8978
9466
|
* @returns WebsocketTrigger websocket trigger list
|
|
8979
9467
|
* @throws ApiError
|
|
8980
9468
|
*/
|
|
@@ -8990,7 +9478,8 @@ export class WebsocketTriggerService {
|
|
|
8990
9478
|
per_page: data.perPage,
|
|
8991
9479
|
path: data.path,
|
|
8992
9480
|
is_flow: data.isFlow,
|
|
8993
|
-
path_start: data.pathStart
|
|
9481
|
+
path_start: data.pathStart,
|
|
9482
|
+
label: data.label
|
|
8994
9483
|
}
|
|
8995
9484
|
});
|
|
8996
9485
|
}
|
|
@@ -9139,6 +9628,7 @@ export class KafkaTriggerService {
|
|
|
9139
9628
|
* @param data.path filter by path
|
|
9140
9629
|
* @param data.isFlow
|
|
9141
9630
|
* @param data.pathStart
|
|
9631
|
+
* @param data.label Filter by label
|
|
9142
9632
|
* @returns KafkaTrigger kafka trigger list
|
|
9143
9633
|
* @throws ApiError
|
|
9144
9634
|
*/
|
|
@@ -9154,7 +9644,8 @@ export class KafkaTriggerService {
|
|
|
9154
9644
|
per_page: data.perPage,
|
|
9155
9645
|
path: data.path,
|
|
9156
9646
|
is_flow: data.isFlow,
|
|
9157
|
-
path_start: data.pathStart
|
|
9647
|
+
path_start: data.pathStart,
|
|
9648
|
+
label: data.label
|
|
9158
9649
|
}
|
|
9159
9650
|
});
|
|
9160
9651
|
}
|
|
@@ -9342,6 +9833,7 @@ export class NatsTriggerService {
|
|
|
9342
9833
|
* @param data.path filter by path
|
|
9343
9834
|
* @param data.isFlow
|
|
9344
9835
|
* @param data.pathStart
|
|
9836
|
+
* @param data.label Filter by label
|
|
9345
9837
|
* @returns NatsTrigger nats trigger list
|
|
9346
9838
|
* @throws ApiError
|
|
9347
9839
|
*/
|
|
@@ -9357,7 +9849,8 @@ export class NatsTriggerService {
|
|
|
9357
9849
|
per_page: data.perPage,
|
|
9358
9850
|
path: data.path,
|
|
9359
9851
|
is_flow: data.isFlow,
|
|
9360
|
-
path_start: data.pathStart
|
|
9852
|
+
path_start: data.pathStart,
|
|
9853
|
+
label: data.label
|
|
9361
9854
|
}
|
|
9362
9855
|
});
|
|
9363
9856
|
}
|
|
@@ -9506,6 +9999,7 @@ export class SqsTriggerService {
|
|
|
9506
9999
|
* @param data.path filter by path
|
|
9507
10000
|
* @param data.isFlow
|
|
9508
10001
|
* @param data.pathStart
|
|
10002
|
+
* @param data.label Filter by label
|
|
9509
10003
|
* @returns SqsTrigger sqs trigger list
|
|
9510
10004
|
* @throws ApiError
|
|
9511
10005
|
*/
|
|
@@ -9521,7 +10015,8 @@ export class SqsTriggerService {
|
|
|
9521
10015
|
per_page: data.perPage,
|
|
9522
10016
|
path: data.path,
|
|
9523
10017
|
is_flow: data.isFlow,
|
|
9524
|
-
path_start: data.pathStart
|
|
10018
|
+
path_start: data.pathStart,
|
|
10019
|
+
label: data.label
|
|
9525
10020
|
}
|
|
9526
10021
|
});
|
|
9527
10022
|
}
|
|
@@ -9847,6 +10342,7 @@ export class NativeTriggerService {
|
|
|
9847
10342
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9848
10343
|
* @param data.path filter by script path
|
|
9849
10344
|
* @param data.isFlow filter by is_flow
|
|
10345
|
+
* @param data.label Filter by label
|
|
9850
10346
|
* @returns NativeTrigger native triggers list
|
|
9851
10347
|
* @throws ApiError
|
|
9852
10348
|
*/
|
|
@@ -9862,7 +10358,8 @@ export class NativeTriggerService {
|
|
|
9862
10358
|
page: data.page,
|
|
9863
10359
|
per_page: data.perPage,
|
|
9864
10360
|
path: data.path,
|
|
9865
|
-
is_flow: data.isFlow
|
|
10361
|
+
is_flow: data.isFlow,
|
|
10362
|
+
label: data.label
|
|
9866
10363
|
}
|
|
9867
10364
|
});
|
|
9868
10365
|
}
|
|
@@ -10089,6 +10586,7 @@ export class MqttTriggerService {
|
|
|
10089
10586
|
* @param data.path filter by path
|
|
10090
10587
|
* @param data.isFlow
|
|
10091
10588
|
* @param data.pathStart
|
|
10589
|
+
* @param data.label Filter by label
|
|
10092
10590
|
* @returns MqttTrigger mqtt trigger list
|
|
10093
10591
|
* @throws ApiError
|
|
10094
10592
|
*/
|
|
@@ -10104,7 +10602,8 @@ export class MqttTriggerService {
|
|
|
10104
10602
|
per_page: data.perPage,
|
|
10105
10603
|
path: data.path,
|
|
10106
10604
|
is_flow: data.isFlow,
|
|
10107
|
-
path_start: data.pathStart
|
|
10605
|
+
path_start: data.pathStart,
|
|
10606
|
+
label: data.label
|
|
10108
10607
|
}
|
|
10109
10608
|
});
|
|
10110
10609
|
}
|
|
@@ -10253,6 +10752,7 @@ export class GcpTriggerService {
|
|
|
10253
10752
|
* @param data.path filter by path
|
|
10254
10753
|
* @param data.isFlow
|
|
10255
10754
|
* @param data.pathStart
|
|
10755
|
+
* @param data.label Filter by label
|
|
10256
10756
|
* @returns GcpTrigger gcp trigger list
|
|
10257
10757
|
* @throws ApiError
|
|
10258
10758
|
*/
|
|
@@ -10268,7 +10768,8 @@ export class GcpTriggerService {
|
|
|
10268
10768
|
per_page: data.perPage,
|
|
10269
10769
|
path: data.path,
|
|
10270
10770
|
is_flow: data.isFlow,
|
|
10271
|
-
path_start: data.pathStart
|
|
10771
|
+
path_start: data.pathStart,
|
|
10772
|
+
label: data.label
|
|
10272
10773
|
}
|
|
10273
10774
|
});
|
|
10274
10775
|
}
|
|
@@ -10714,6 +11215,7 @@ export class PostgresTriggerService {
|
|
|
10714
11215
|
* @param data.path filter by path
|
|
10715
11216
|
* @param data.isFlow
|
|
10716
11217
|
* @param data.pathStart
|
|
11218
|
+
* @param data.label Filter by label
|
|
10717
11219
|
* @returns PostgresTrigger postgres trigger list
|
|
10718
11220
|
* @throws ApiError
|
|
10719
11221
|
*/
|
|
@@ -10729,7 +11231,8 @@ export class PostgresTriggerService {
|
|
|
10729
11231
|
per_page: data.perPage,
|
|
10730
11232
|
path: data.path,
|
|
10731
11233
|
is_flow: data.isFlow,
|
|
10732
|
-
path_start: data.pathStart
|
|
11234
|
+
path_start: data.pathStart,
|
|
11235
|
+
label: data.label
|
|
10733
11236
|
}
|
|
10734
11237
|
});
|
|
10735
11238
|
}
|
|
@@ -10878,6 +11381,7 @@ export class EmailTriggerService {
|
|
|
10878
11381
|
* @param data.path filter by path
|
|
10879
11382
|
* @param data.isFlow
|
|
10880
11383
|
* @param data.pathStart
|
|
11384
|
+
* @param data.label Filter by label
|
|
10881
11385
|
* @returns EmailTrigger email trigger list
|
|
10882
11386
|
* @throws ApiError
|
|
10883
11387
|
*/
|
|
@@ -10893,7 +11397,8 @@ export class EmailTriggerService {
|
|
|
10893
11397
|
per_page: data.perPage,
|
|
10894
11398
|
path: data.path,
|
|
10895
11399
|
is_flow: data.isFlow,
|
|
10896
|
-
path_start: data.pathStart
|
|
11400
|
+
path_start: data.pathStart,
|
|
11401
|
+
label: data.label
|
|
10897
11402
|
}
|
|
10898
11403
|
});
|
|
10899
11404
|
}
|
|
@@ -10983,7 +11488,7 @@ export class GroupService {
|
|
|
10983
11488
|
* get instance group
|
|
10984
11489
|
* @param data The data for the request.
|
|
10985
11490
|
* @param data.name
|
|
10986
|
-
* @returns
|
|
11491
|
+
* @returns InstanceGroupWithWorkspaces instance group
|
|
10987
11492
|
* @throws ApiError
|
|
10988
11493
|
*/
|
|
10989
11494
|
static getInstanceGroup(data) {
|
|
@@ -11637,6 +12142,28 @@ export class ConfigService {
|
|
|
11637
12142
|
url: '/configs/list_available_python_versions'
|
|
11638
12143
|
});
|
|
11639
12144
|
}
|
|
12145
|
+
/**
|
|
12146
|
+
* list all workspace dependencies
|
|
12147
|
+
* @returns unknown a list of workspace dependency summaries
|
|
12148
|
+
* @throws ApiError
|
|
12149
|
+
*/
|
|
12150
|
+
static listAllWorkspaceDependencies() {
|
|
12151
|
+
return __request(OpenAPI, {
|
|
12152
|
+
method: 'GET',
|
|
12153
|
+
url: '/configs/list_all_workspace_dependencies'
|
|
12154
|
+
});
|
|
12155
|
+
}
|
|
12156
|
+
/**
|
|
12157
|
+
* list all dedicated scripts with their dependencies
|
|
12158
|
+
* @returns unknown a list of dedicated scripts with workspace dependencies
|
|
12159
|
+
* @throws ApiError
|
|
12160
|
+
*/
|
|
12161
|
+
static listAllDedicatedWithDeps() {
|
|
12162
|
+
return __request(OpenAPI, {
|
|
12163
|
+
method: 'GET',
|
|
12164
|
+
url: '/configs/list_all_dedicated_with_deps'
|
|
12165
|
+
});
|
|
12166
|
+
}
|
|
11640
12167
|
}
|
|
11641
12168
|
export class AgentWorkersService {
|
|
11642
12169
|
/**
|
|
@@ -12971,6 +13498,17 @@ export class IndexSearchService {
|
|
|
12971
13498
|
}
|
|
12972
13499
|
});
|
|
12973
13500
|
}
|
|
13501
|
+
/**
|
|
13502
|
+
* Get index disk storage sizes from the indexer.
|
|
13503
|
+
* @returns unknown disk storage sizes for each index
|
|
13504
|
+
* @throws ApiError
|
|
13505
|
+
*/
|
|
13506
|
+
static getIndexDiskStorageSizes() {
|
|
13507
|
+
return __request(OpenAPI, {
|
|
13508
|
+
method: 'GET',
|
|
13509
|
+
url: '/srch/index/storage/disk'
|
|
13510
|
+
});
|
|
13511
|
+
}
|
|
12974
13512
|
/**
|
|
12975
13513
|
* Clear an index and restart the indexer.
|
|
12976
13514
|
* @param data The data for the request.
|