windmill-client 1.481.0 → 1.482.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/dist/client.d.ts +12 -0
- package/dist/client.js +29 -0
- package/dist/core/OpenAPI.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/s3Types.d.ts +1 -0
- package/dist/services.gen.d.ts +192 -2
- package/dist/services.gen.js +392 -2
- package/dist/types.gen.d.ts +889 -48
- package/package.json +1 -1
package/dist/services.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.IndexSearchService = exports.ConcurrencyGroupsService = exports.ServiceLogsService = exports.MetricsService = exports.HelpersService = exports.InputService = exports.FavoriteService = exports.CaptureService = exports.GranularAclService = exports.ConfigService = exports.FolderService = exports.GroupService = exports.PostgresTriggerService = exports.MqttTriggerService = exports.SqsTriggerService = exports.NatsTriggerService = exports.KafkaTriggerService = exports.WebsocketTriggerService = exports.HttpTriggerService = exports.ScheduleService = exports.RawAppService = exports.JobService = exports.WorkerService = exports.DraftService = exports.ScriptService = exports.AppService = exports.FlowService = exports.IntegrationService = exports.ResourceService = exports.TeamsService = exports.OauthService = exports.VariableService = exports.OidcService = exports.SettingService = exports.WorkspaceService = exports.GitSyncService = exports.AdminService = exports.UserService = exports.AuditService = exports.SettingsService = void 0;
|
|
4
|
+
exports.IndexSearchService = exports.ConcurrencyGroupsService = exports.ServiceLogsService = exports.MetricsService = exports.HelpersService = exports.InputService = exports.FavoriteService = exports.CaptureService = exports.GranularAclService = exports.AgentWorkersService = exports.ConfigService = exports.FolderService = exports.GroupService = exports.PostgresTriggerService = exports.GcpTriggerService = exports.MqttTriggerService = exports.SqsTriggerService = exports.NatsTriggerService = exports.KafkaTriggerService = exports.WebsocketTriggerService = exports.HttpTriggerService = exports.ScheduleService = exports.RawAppService = exports.JobService = exports.WorkerService = exports.DraftService = exports.ScriptService = exports.AppService = exports.FlowService = exports.IntegrationService = exports.ResourceService = exports.TeamsService = exports.OauthService = exports.VariableService = exports.OidcService = exports.SettingService = exports.WorkspaceService = exports.GitSyncService = exports.AdminService = exports.UserService = exports.AuditService = exports.SettingsService = void 0;
|
|
5
5
|
const OpenAPI_1 = require("./core/OpenAPI");
|
|
6
6
|
const request_1 = require("./core/request");
|
|
7
7
|
class SettingsService {
|
|
@@ -3782,6 +3782,25 @@ class AppService {
|
|
|
3782
3782
|
}
|
|
3783
3783
|
});
|
|
3784
3784
|
}
|
|
3785
|
+
/**
|
|
3786
|
+
* sign s3 objects, to be used by anonymous users in public apps
|
|
3787
|
+
* @param data The data for the request.
|
|
3788
|
+
* @param data.workspace
|
|
3789
|
+
* @param data.requestBody s3 objects to sign
|
|
3790
|
+
* @returns S3Object signed s3 objects
|
|
3791
|
+
* @throws ApiError
|
|
3792
|
+
*/
|
|
3793
|
+
static signS3Objects(data) {
|
|
3794
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3795
|
+
method: 'POST',
|
|
3796
|
+
url: '/w/{workspace}/apps/sign_s3_objects',
|
|
3797
|
+
path: {
|
|
3798
|
+
workspace: data.workspace
|
|
3799
|
+
},
|
|
3800
|
+
body: data.requestBody,
|
|
3801
|
+
mediaType: 'application/json'
|
|
3802
|
+
});
|
|
3803
|
+
}
|
|
3785
3804
|
/**
|
|
3786
3805
|
* executeComponent
|
|
3787
3806
|
* @param data The data for the request.
|
|
@@ -4575,6 +4594,25 @@ class WorkerService {
|
|
|
4575
4594
|
}
|
|
4576
4595
|
exports.WorkerService = WorkerService;
|
|
4577
4596
|
class JobService {
|
|
4597
|
+
/**
|
|
4598
|
+
* list selected jobs script/flow schemas grouped by (kind, path)
|
|
4599
|
+
* @param data The data for the request.
|
|
4600
|
+
* @param data.workspace
|
|
4601
|
+
* @param data.requestBody script args
|
|
4602
|
+
* @returns unknown result
|
|
4603
|
+
* @throws ApiError
|
|
4604
|
+
*/
|
|
4605
|
+
static listSelectedJobGroups(data) {
|
|
4606
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
4607
|
+
method: 'POST',
|
|
4608
|
+
url: '/w/{workspace}/jobs/list_selected_job_groups',
|
|
4609
|
+
path: {
|
|
4610
|
+
workspace: data.workspace
|
|
4611
|
+
},
|
|
4612
|
+
body: data.requestBody,
|
|
4613
|
+
mediaType: 'application/json'
|
|
4614
|
+
});
|
|
4615
|
+
}
|
|
4578
4616
|
/**
|
|
4579
4617
|
* run script by path
|
|
4580
4618
|
* @param data The data for the request.
|
|
@@ -4850,6 +4888,25 @@ class JobService {
|
|
|
4850
4888
|
mediaType: 'application/json'
|
|
4851
4889
|
});
|
|
4852
4890
|
}
|
|
4891
|
+
/**
|
|
4892
|
+
* re-run multiple jobs
|
|
4893
|
+
* @param data The data for the request.
|
|
4894
|
+
* @param data.workspace
|
|
4895
|
+
* @param data.requestBody list of job ids to re run and arg tranforms
|
|
4896
|
+
* @returns string stream of created job uuids separated by \n. Lines may start with 'Error:'
|
|
4897
|
+
* @throws ApiError
|
|
4898
|
+
*/
|
|
4899
|
+
static batchReRunJobs(data) {
|
|
4900
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
4901
|
+
method: 'POST',
|
|
4902
|
+
url: '/w/{workspace}/jobs/run/batch_rerun_jobs',
|
|
4903
|
+
path: {
|
|
4904
|
+
workspace: data.workspace
|
|
4905
|
+
},
|
|
4906
|
+
body: data.requestBody,
|
|
4907
|
+
mediaType: 'application/json'
|
|
4908
|
+
});
|
|
4909
|
+
}
|
|
4853
4910
|
/**
|
|
4854
4911
|
* restart a completed flow at a given step
|
|
4855
4912
|
* @param data The data for the request.
|
|
@@ -5057,6 +5114,7 @@ class JobService {
|
|
|
5057
5114
|
* @param data.running filter on running jobs
|
|
5058
5115
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
5059
5116
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
5117
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
5060
5118
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
5061
5119
|
* @param data.page which page to return (start at 1, default 1)
|
|
5062
5120
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
@@ -5090,6 +5148,7 @@ class JobService {
|
|
|
5090
5148
|
running: data.running,
|
|
5091
5149
|
args: data.args,
|
|
5092
5150
|
result: data.result,
|
|
5151
|
+
allow_wildcards: data.allowWildcards,
|
|
5093
5152
|
tag: data.tag,
|
|
5094
5153
|
page: data.page,
|
|
5095
5154
|
per_page: data.perPage,
|
|
@@ -5164,6 +5223,84 @@ class JobService {
|
|
|
5164
5223
|
* get the ids of all jobs matching the given filters
|
|
5165
5224
|
* @param data The data for the request.
|
|
5166
5225
|
* @param data.workspace
|
|
5226
|
+
* @param data.createdBy mask to filter exact matching user creator
|
|
5227
|
+
* @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
|
|
5228
|
+
* @param data.worker worker this job was ran on
|
|
5229
|
+
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5230
|
+
* @param data.scriptPathExact mask to filter exact matching path
|
|
5231
|
+
* @param data.scriptPathStart mask to filter matching starting path
|
|
5232
|
+
* @param data.schedulePath mask to filter by schedule path
|
|
5233
|
+
* @param data.scriptHash mask to filter exact matching path
|
|
5234
|
+
* @param data.startedBefore filter on started before (inclusive) timestamp
|
|
5235
|
+
* @param data.startedAfter filter on started after (exclusive) timestamp
|
|
5236
|
+
* @param data.createdBefore filter on created before (inclusive) timestamp
|
|
5237
|
+
* @param data.createdAfter filter on created after (exclusive) timestamp
|
|
5238
|
+
* @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
|
|
5239
|
+
* @param data.running filter on running jobs
|
|
5240
|
+
* @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
|
|
5241
|
+
* @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
|
|
5242
|
+
* @param data.createdOrStartedAfterCompletedJobs filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
|
|
5243
|
+
* @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
|
|
5244
|
+
* @param data.suspended filter on suspended jobs
|
|
5245
|
+
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
5246
|
+
* @param data.tag filter on jobs with a given tag/worker group
|
|
5247
|
+
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
5248
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
5249
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
5250
|
+
* @param data.isSkipped is the job skipped
|
|
5251
|
+
* @param data.isFlowStep is the job a flow step
|
|
5252
|
+
* @param data.hasNullParent has null parent
|
|
5253
|
+
* @param data.success filter on successful jobs
|
|
5254
|
+
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
5255
|
+
* @param data.isNotSchedule is not a scheduled job
|
|
5256
|
+
* @returns string uuids of jobs
|
|
5257
|
+
* @throws ApiError
|
|
5258
|
+
*/
|
|
5259
|
+
static listFilteredJobsUuids(data) {
|
|
5260
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5261
|
+
method: 'GET',
|
|
5262
|
+
url: '/w/{workspace}/jobs/list_filtered_uuids',
|
|
5263
|
+
path: {
|
|
5264
|
+
workspace: data.workspace
|
|
5265
|
+
},
|
|
5266
|
+
query: {
|
|
5267
|
+
created_by: data.createdBy,
|
|
5268
|
+
label: data.label,
|
|
5269
|
+
worker: data.worker,
|
|
5270
|
+
parent_job: data.parentJob,
|
|
5271
|
+
script_path_exact: data.scriptPathExact,
|
|
5272
|
+
script_path_start: data.scriptPathStart,
|
|
5273
|
+
schedule_path: data.schedulePath,
|
|
5274
|
+
script_hash: data.scriptHash,
|
|
5275
|
+
started_before: data.startedBefore,
|
|
5276
|
+
started_after: data.startedAfter,
|
|
5277
|
+
created_before: data.createdBefore,
|
|
5278
|
+
created_after: data.createdAfter,
|
|
5279
|
+
created_or_started_before: data.createdOrStartedBefore,
|
|
5280
|
+
running: data.running,
|
|
5281
|
+
scheduled_for_before_now: data.scheduledForBeforeNow,
|
|
5282
|
+
created_or_started_after: data.createdOrStartedAfter,
|
|
5283
|
+
created_or_started_after_completed_jobs: data.createdOrStartedAfterCompletedJobs,
|
|
5284
|
+
job_kinds: data.jobKinds,
|
|
5285
|
+
suspended: data.suspended,
|
|
5286
|
+
args: data.args,
|
|
5287
|
+
tag: data.tag,
|
|
5288
|
+
result: data.result,
|
|
5289
|
+
page: data.page,
|
|
5290
|
+
per_page: data.perPage,
|
|
5291
|
+
is_skipped: data.isSkipped,
|
|
5292
|
+
is_flow_step: data.isFlowStep,
|
|
5293
|
+
has_null_parent: data.hasNullParent,
|
|
5294
|
+
success: data.success,
|
|
5295
|
+
all_workspaces: data.allWorkspaces,
|
|
5296
|
+
is_not_schedule: data.isNotSchedule
|
|
5297
|
+
}
|
|
5298
|
+
});
|
|
5299
|
+
}
|
|
5300
|
+
/**
|
|
5301
|
+
* get the ids of all queued jobs matching the given filters
|
|
5302
|
+
* @param data The data for the request.
|
|
5303
|
+
* @param data.workspace
|
|
5167
5304
|
* @param data.orderDesc order by desc order (default true)
|
|
5168
5305
|
* @param data.createdBy mask to filter exact matching user creator
|
|
5169
5306
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
@@ -5180,6 +5317,7 @@ class JobService {
|
|
|
5180
5317
|
* @param data.running filter on running jobs
|
|
5181
5318
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
5182
5319
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
5320
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
5183
5321
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
5184
5322
|
* @param data.page which page to return (start at 1, default 1)
|
|
5185
5323
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
@@ -5189,7 +5327,7 @@ class JobService {
|
|
|
5189
5327
|
* @returns string uuids of jobs
|
|
5190
5328
|
* @throws ApiError
|
|
5191
5329
|
*/
|
|
5192
|
-
static
|
|
5330
|
+
static listFilteredQueueUuids(data) {
|
|
5193
5331
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5194
5332
|
method: 'GET',
|
|
5195
5333
|
url: '/w/{workspace}/jobs/queue/list_filtered_uuids',
|
|
@@ -5213,6 +5351,7 @@ class JobService {
|
|
|
5213
5351
|
running: data.running,
|
|
5214
5352
|
args: data.args,
|
|
5215
5353
|
result: data.result,
|
|
5354
|
+
allow_wildcards: data.allowWildcards,
|
|
5216
5355
|
tag: data.tag,
|
|
5217
5356
|
page: data.page,
|
|
5218
5357
|
per_page: data.perPage,
|
|
@@ -5260,6 +5399,7 @@ class JobService {
|
|
|
5260
5399
|
* @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
|
|
5261
5400
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
5262
5401
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
5402
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
5263
5403
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
5264
5404
|
* @param data.page which page to return (start at 1, default 1)
|
|
5265
5405
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
@@ -5293,6 +5433,7 @@ class JobService {
|
|
|
5293
5433
|
job_kinds: data.jobKinds,
|
|
5294
5434
|
args: data.args,
|
|
5295
5435
|
result: data.result,
|
|
5436
|
+
allow_wildcards: data.allowWildcards,
|
|
5296
5437
|
tag: data.tag,
|
|
5297
5438
|
page: data.page,
|
|
5298
5439
|
per_page: data.perPage,
|
|
@@ -5329,6 +5470,7 @@ class JobService {
|
|
|
5329
5470
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
5330
5471
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
5331
5472
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
5473
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
5332
5474
|
* @param data.page which page to return (start at 1, default 1)
|
|
5333
5475
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
5334
5476
|
* @param data.isSkipped is the job skipped
|
|
@@ -5370,6 +5512,7 @@ class JobService {
|
|
|
5370
5512
|
args: data.args,
|
|
5371
5513
|
tag: data.tag,
|
|
5372
5514
|
result: data.result,
|
|
5515
|
+
allow_wildcards: data.allowWildcards,
|
|
5373
5516
|
page: data.page,
|
|
5374
5517
|
per_page: data.perPage,
|
|
5375
5518
|
is_skipped: data.isSkipped,
|
|
@@ -6007,6 +6150,7 @@ class JobService {
|
|
|
6007
6150
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
6008
6151
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
6009
6152
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
6153
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
6010
6154
|
* @param data.page which page to return (start at 1, default 1)
|
|
6011
6155
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
6012
6156
|
* @param data.isSkipped is the job skipped
|
|
@@ -6046,6 +6190,7 @@ class JobService {
|
|
|
6046
6190
|
args: data.args,
|
|
6047
6191
|
tag: data.tag,
|
|
6048
6192
|
result: data.result,
|
|
6193
|
+
allow_wildcards: data.allowWildcards,
|
|
6049
6194
|
page: data.page,
|
|
6050
6195
|
per_page: data.perPage,
|
|
6051
6196
|
is_skipped: data.isSkipped,
|
|
@@ -7365,6 +7510,231 @@ class MqttTriggerService {
|
|
|
7365
7510
|
}
|
|
7366
7511
|
}
|
|
7367
7512
|
exports.MqttTriggerService = MqttTriggerService;
|
|
7513
|
+
class GcpTriggerService {
|
|
7514
|
+
/**
|
|
7515
|
+
* create gcp trigger
|
|
7516
|
+
* @param data The data for the request.
|
|
7517
|
+
* @param data.workspace
|
|
7518
|
+
* @param data.requestBody new gcp trigger
|
|
7519
|
+
* @returns string gcp trigger created
|
|
7520
|
+
* @throws ApiError
|
|
7521
|
+
*/
|
|
7522
|
+
static createGcpTrigger(data) {
|
|
7523
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7524
|
+
method: 'POST',
|
|
7525
|
+
url: '/w/{workspace}/gcp_triggers/create',
|
|
7526
|
+
path: {
|
|
7527
|
+
workspace: data.workspace
|
|
7528
|
+
},
|
|
7529
|
+
body: data.requestBody,
|
|
7530
|
+
mediaType: 'application/json'
|
|
7531
|
+
});
|
|
7532
|
+
}
|
|
7533
|
+
/**
|
|
7534
|
+
* update gcp trigger
|
|
7535
|
+
* @param data The data for the request.
|
|
7536
|
+
* @param data.workspace
|
|
7537
|
+
* @param data.path
|
|
7538
|
+
* @param data.requestBody updated trigger
|
|
7539
|
+
* @returns string gcp trigger updated
|
|
7540
|
+
* @throws ApiError
|
|
7541
|
+
*/
|
|
7542
|
+
static updateGcpTrigger(data) {
|
|
7543
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7544
|
+
method: 'POST',
|
|
7545
|
+
url: '/w/{workspace}/gcp_triggers/update/{path}',
|
|
7546
|
+
path: {
|
|
7547
|
+
workspace: data.workspace,
|
|
7548
|
+
path: data.path
|
|
7549
|
+
},
|
|
7550
|
+
body: data.requestBody,
|
|
7551
|
+
mediaType: 'application/json'
|
|
7552
|
+
});
|
|
7553
|
+
}
|
|
7554
|
+
/**
|
|
7555
|
+
* delete gcp trigger
|
|
7556
|
+
* @param data The data for the request.
|
|
7557
|
+
* @param data.workspace
|
|
7558
|
+
* @param data.path
|
|
7559
|
+
* @returns string gcp trigger deleted
|
|
7560
|
+
* @throws ApiError
|
|
7561
|
+
*/
|
|
7562
|
+
static deleteGcpTrigger(data) {
|
|
7563
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7564
|
+
method: 'DELETE',
|
|
7565
|
+
url: '/w/{workspace}/gcp_triggers/delete/{path}',
|
|
7566
|
+
path: {
|
|
7567
|
+
workspace: data.workspace,
|
|
7568
|
+
path: data.path
|
|
7569
|
+
}
|
|
7570
|
+
});
|
|
7571
|
+
}
|
|
7572
|
+
/**
|
|
7573
|
+
* get gcp trigger
|
|
7574
|
+
* @param data The data for the request.
|
|
7575
|
+
* @param data.workspace
|
|
7576
|
+
* @param data.path
|
|
7577
|
+
* @returns GcpTrigger gcp trigger deleted
|
|
7578
|
+
* @throws ApiError
|
|
7579
|
+
*/
|
|
7580
|
+
static getGcpTrigger(data) {
|
|
7581
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7582
|
+
method: 'GET',
|
|
7583
|
+
url: '/w/{workspace}/gcp_triggers/get/{path}',
|
|
7584
|
+
path: {
|
|
7585
|
+
workspace: data.workspace,
|
|
7586
|
+
path: data.path
|
|
7587
|
+
}
|
|
7588
|
+
});
|
|
7589
|
+
}
|
|
7590
|
+
/**
|
|
7591
|
+
* list gcp triggers
|
|
7592
|
+
* @param data The data for the request.
|
|
7593
|
+
* @param data.workspace
|
|
7594
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
7595
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
7596
|
+
* @param data.path filter by path
|
|
7597
|
+
* @param data.isFlow
|
|
7598
|
+
* @param data.pathStart
|
|
7599
|
+
* @returns GcpTrigger gcp trigger list
|
|
7600
|
+
* @throws ApiError
|
|
7601
|
+
*/
|
|
7602
|
+
static listGcpTriggers(data) {
|
|
7603
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7604
|
+
method: 'GET',
|
|
7605
|
+
url: '/w/{workspace}/gcp_triggers/list',
|
|
7606
|
+
path: {
|
|
7607
|
+
workspace: data.workspace
|
|
7608
|
+
},
|
|
7609
|
+
query: {
|
|
7610
|
+
page: data.page,
|
|
7611
|
+
per_page: data.perPage,
|
|
7612
|
+
path: data.path,
|
|
7613
|
+
is_flow: data.isFlow,
|
|
7614
|
+
path_start: data.pathStart
|
|
7615
|
+
}
|
|
7616
|
+
});
|
|
7617
|
+
}
|
|
7618
|
+
/**
|
|
7619
|
+
* does gcp trigger exists
|
|
7620
|
+
* @param data The data for the request.
|
|
7621
|
+
* @param data.workspace
|
|
7622
|
+
* @param data.path
|
|
7623
|
+
* @returns boolean gcp trigger exists
|
|
7624
|
+
* @throws ApiError
|
|
7625
|
+
*/
|
|
7626
|
+
static existsGcpTrigger(data) {
|
|
7627
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7628
|
+
method: 'GET',
|
|
7629
|
+
url: '/w/{workspace}/gcp_triggers/exists/{path}',
|
|
7630
|
+
path: {
|
|
7631
|
+
workspace: data.workspace,
|
|
7632
|
+
path: data.path
|
|
7633
|
+
}
|
|
7634
|
+
});
|
|
7635
|
+
}
|
|
7636
|
+
/**
|
|
7637
|
+
* set enabled gcp trigger
|
|
7638
|
+
* @param data The data for the request.
|
|
7639
|
+
* @param data.workspace
|
|
7640
|
+
* @param data.path
|
|
7641
|
+
* @param data.requestBody updated gcp trigger enable
|
|
7642
|
+
* @returns string gcp trigger enabled set
|
|
7643
|
+
* @throws ApiError
|
|
7644
|
+
*/
|
|
7645
|
+
static setGcpTriggerEnabled(data) {
|
|
7646
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7647
|
+
method: 'POST',
|
|
7648
|
+
url: '/w/{workspace}/gcp_triggers/setenabled/{path}',
|
|
7649
|
+
path: {
|
|
7650
|
+
workspace: data.workspace,
|
|
7651
|
+
path: data.path
|
|
7652
|
+
},
|
|
7653
|
+
body: data.requestBody,
|
|
7654
|
+
mediaType: 'application/json'
|
|
7655
|
+
});
|
|
7656
|
+
}
|
|
7657
|
+
/**
|
|
7658
|
+
* test gcp connection
|
|
7659
|
+
* @param data The data for the request.
|
|
7660
|
+
* @param data.workspace
|
|
7661
|
+
* @param data.requestBody test gcp connection
|
|
7662
|
+
* @returns string try to connect to a gcp broker
|
|
7663
|
+
* @throws ApiError
|
|
7664
|
+
*/
|
|
7665
|
+
static testGcpConnection(data) {
|
|
7666
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7667
|
+
method: 'POST',
|
|
7668
|
+
url: '/w/{workspace}/gcp_triggers/test',
|
|
7669
|
+
path: {
|
|
7670
|
+
workspace: data.workspace
|
|
7671
|
+
},
|
|
7672
|
+
body: data.requestBody,
|
|
7673
|
+
mediaType: 'application/json'
|
|
7674
|
+
});
|
|
7675
|
+
}
|
|
7676
|
+
/**
|
|
7677
|
+
* delete gcp trigger
|
|
7678
|
+
* @param data The data for the request.
|
|
7679
|
+
* @param data.workspace
|
|
7680
|
+
* @param data.path
|
|
7681
|
+
* @param data.requestBody args to delete subscription from google cloud
|
|
7682
|
+
* @returns string gcp trigger deleted
|
|
7683
|
+
* @throws ApiError
|
|
7684
|
+
*/
|
|
7685
|
+
static deleteGcpSubscription(data) {
|
|
7686
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7687
|
+
method: 'DELETE',
|
|
7688
|
+
url: '/w/{workspace}/gcp_triggers/subscriptions/delete/{path}',
|
|
7689
|
+
path: {
|
|
7690
|
+
workspace: data.workspace,
|
|
7691
|
+
path: data.path
|
|
7692
|
+
},
|
|
7693
|
+
body: data.requestBody,
|
|
7694
|
+
mediaType: 'application/json'
|
|
7695
|
+
});
|
|
7696
|
+
}
|
|
7697
|
+
/**
|
|
7698
|
+
* list all topics of google cloud service
|
|
7699
|
+
* @param data The data for the request.
|
|
7700
|
+
* @param data.workspace
|
|
7701
|
+
* @param data.path
|
|
7702
|
+
* @returns string get all google topics
|
|
7703
|
+
* @throws ApiError
|
|
7704
|
+
*/
|
|
7705
|
+
static listGoogleTopics(data) {
|
|
7706
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7707
|
+
method: 'GET',
|
|
7708
|
+
url: '/w/{workspace}/gcp_triggers/topics/list/{path}',
|
|
7709
|
+
path: {
|
|
7710
|
+
workspace: data.workspace,
|
|
7711
|
+
path: data.path
|
|
7712
|
+
}
|
|
7713
|
+
});
|
|
7714
|
+
}
|
|
7715
|
+
/**
|
|
7716
|
+
* list all subscription of a give topic from google cloud service
|
|
7717
|
+
* @param data The data for the request.
|
|
7718
|
+
* @param data.workspace
|
|
7719
|
+
* @param data.path
|
|
7720
|
+
* @param data.requestBody args to get subscription's topic from google cloud
|
|
7721
|
+
* @returns string get all google topic subscriptions name
|
|
7722
|
+
* @throws ApiError
|
|
7723
|
+
*/
|
|
7724
|
+
static listAllTgoogleTopicSubscriptions(data) {
|
|
7725
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
7726
|
+
method: 'POST',
|
|
7727
|
+
url: '/w/{workspace}/gcp_triggers/subscriptions/list/{path}',
|
|
7728
|
+
path: {
|
|
7729
|
+
workspace: data.workspace,
|
|
7730
|
+
path: data.path
|
|
7731
|
+
},
|
|
7732
|
+
body: data.requestBody,
|
|
7733
|
+
mediaType: 'application/json'
|
|
7734
|
+
});
|
|
7735
|
+
}
|
|
7736
|
+
}
|
|
7737
|
+
exports.GcpTriggerService = GcpTriggerService;
|
|
7368
7738
|
class PostgresTriggerService {
|
|
7369
7739
|
/**
|
|
7370
7740
|
* check if postgres configuration is set to logical
|
|
@@ -8344,6 +8714,24 @@ class ConfigService {
|
|
|
8344
8714
|
}
|
|
8345
8715
|
}
|
|
8346
8716
|
exports.ConfigService = ConfigService;
|
|
8717
|
+
class AgentWorkersService {
|
|
8718
|
+
/**
|
|
8719
|
+
* create agent token
|
|
8720
|
+
* @param data The data for the request.
|
|
8721
|
+
* @param data.requestBody agent token
|
|
8722
|
+
* @returns string agent token created
|
|
8723
|
+
* @throws ApiError
|
|
8724
|
+
*/
|
|
8725
|
+
static createAgentToken(data) {
|
|
8726
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
8727
|
+
method: 'POST',
|
|
8728
|
+
url: '/agent_workers/create_agent_token',
|
|
8729
|
+
body: data.requestBody,
|
|
8730
|
+
mediaType: 'application/json'
|
|
8731
|
+
});
|
|
8732
|
+
}
|
|
8733
|
+
}
|
|
8734
|
+
exports.AgentWorkersService = AgentWorkersService;
|
|
8347
8735
|
class GranularAclService {
|
|
8348
8736
|
/**
|
|
8349
8737
|
* get granular acls
|
|
@@ -9347,6 +9735,7 @@ class ConcurrencyGroupsService {
|
|
|
9347
9735
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
9348
9736
|
* @param data.tag filter on jobs with a given tag/worker group
|
|
9349
9737
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
9738
|
+
* @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
|
|
9350
9739
|
* @param data.page which page to return (start at 1, default 1)
|
|
9351
9740
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9352
9741
|
* @param data.isSkipped is the job skipped
|
|
@@ -9386,6 +9775,7 @@ class ConcurrencyGroupsService {
|
|
|
9386
9775
|
args: data.args,
|
|
9387
9776
|
tag: data.tag,
|
|
9388
9777
|
result: data.result,
|
|
9778
|
+
allow_wildcards: data.allowWildcards,
|
|
9389
9779
|
page: data.page,
|
|
9390
9780
|
per_page: data.perPage,
|
|
9391
9781
|
is_skipped: data.isSkipped,
|