@quantcdn/quant-client 4.2.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +3652 -9536
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +3182 -9351
- package/dist/api.js +1040 -611
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +3182 -9351
- package/dist/esm/api.js +1037 -607
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +7 -6
- package/tsconfig.json +1 -3
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,6 +34,21 @@ export const ApplicationImageReferenceTypeEnum = {
|
|
|
34
34
|
Internal: 'internal',
|
|
35
35
|
External: 'external'
|
|
36
36
|
};
|
|
37
|
+
export const ChatInference200ResponseFinishReasonEnum = {
|
|
38
|
+
Stop: 'stop',
|
|
39
|
+
Length: 'length',
|
|
40
|
+
ContentFilter: 'content_filter',
|
|
41
|
+
ToolUse: 'tool_use'
|
|
42
|
+
};
|
|
43
|
+
export const ChatInference200ResponseResponseRoleEnum = {
|
|
44
|
+
Assistant: 'assistant'
|
|
45
|
+
};
|
|
46
|
+
export const ChatInference200ResponseResponseToolUseOneOfStatusEnum = {
|
|
47
|
+
Pending: 'pending',
|
|
48
|
+
Running: 'running',
|
|
49
|
+
Complete: 'complete',
|
|
50
|
+
Failed: 'failed'
|
|
51
|
+
};
|
|
37
52
|
export const ChatInferenceRequestMessagesInnerRoleEnum = {
|
|
38
53
|
User: 'user',
|
|
39
54
|
Assistant: 'assistant',
|
|
@@ -105,6 +120,12 @@ export const EmbeddingsRequestDimensionsEnum = {
|
|
|
105
120
|
NUMBER_1024: 1024,
|
|
106
121
|
NUMBER_8192: 8192
|
|
107
122
|
};
|
|
123
|
+
export const GetToolExecutionStatus200ResponseStatusEnum = {
|
|
124
|
+
Pending: 'pending',
|
|
125
|
+
Running: 'running',
|
|
126
|
+
Complete: 'complete',
|
|
127
|
+
Failed: 'failed'
|
|
128
|
+
};
|
|
108
129
|
export const ImageGenerationRequestTaskTypeEnum = {
|
|
109
130
|
TextImage: 'TEXT_IMAGE',
|
|
110
131
|
ColorGuidedGeneration: 'COLOR_GUIDED_GENERATION',
|
|
@@ -141,311 +162,37 @@ export const ImageGenerationRequestTextToImageParamsControlModeEnum = {
|
|
|
141
162
|
CannyEdge: 'CANNY_EDGE',
|
|
142
163
|
Segmentation: 'SEGMENTATION'
|
|
143
164
|
};
|
|
165
|
+
export const ListToolExecutions200ResponseExecutionsInnerStatusEnum = {
|
|
166
|
+
Pending: 'pending',
|
|
167
|
+
Running: 'running',
|
|
168
|
+
Complete: 'complete',
|
|
169
|
+
Failed: 'failed'
|
|
170
|
+
};
|
|
171
|
+
export const PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = {
|
|
172
|
+
Off: 'off',
|
|
173
|
+
SpotOnly: 'spot-only',
|
|
174
|
+
MixedSafe: 'mixed-safe',
|
|
175
|
+
MixedAggressive: 'mixed-aggressive'
|
|
176
|
+
};
|
|
144
177
|
export const ScalingPolicyMetricEnum = {
|
|
145
178
|
CpuUtilization: 'CPUUtilization',
|
|
146
179
|
MemoryUtilization: 'MemoryUtilization',
|
|
147
180
|
Rps: 'RPS'
|
|
148
181
|
};
|
|
182
|
+
export const SpotConfigurationStrategyEnum = {
|
|
183
|
+
Off: 'off',
|
|
184
|
+
SpotOnly: 'spot-only',
|
|
185
|
+
MixedSafe: 'mixed-safe',
|
|
186
|
+
MixedAggressive: 'mixed-aggressive'
|
|
187
|
+
};
|
|
149
188
|
export const V1TransitionStateEnum = {
|
|
150
189
|
Published: 'published',
|
|
151
190
|
Unpublished: 'unpublished'
|
|
152
191
|
};
|
|
153
|
-
export const V2CrawlerModeEnum = {
|
|
154
|
-
Report: 'report',
|
|
155
|
-
Block: 'block'
|
|
156
|
-
};
|
|
157
|
-
export const V2CrawlerRequestModeEnum = {
|
|
158
|
-
Report: 'report',
|
|
159
|
-
Block: 'block'
|
|
160
|
-
};
|
|
161
|
-
export const V2CrawlerScheduleModeEnum = {
|
|
162
|
-
Report: 'report',
|
|
163
|
-
Block: 'block'
|
|
164
|
-
};
|
|
165
|
-
export const V2CrawlerScheduleRequestModeEnum = {
|
|
166
|
-
Report: 'report',
|
|
167
|
-
Block: 'block'
|
|
168
|
-
};
|
|
169
|
-
export const V2DomainModeEnum = {
|
|
170
|
-
Report: 'report',
|
|
171
|
-
Block: 'block'
|
|
172
|
-
};
|
|
173
|
-
export const V2DomainRequestModeEnum = {
|
|
174
|
-
Report: 'report',
|
|
175
|
-
Block: 'block'
|
|
176
|
-
};
|
|
177
|
-
export const V2OrganizationModeEnum = {
|
|
178
|
-
Report: 'report',
|
|
179
|
-
Block: 'block'
|
|
180
|
-
};
|
|
181
|
-
export const V2OrganizationRequestModeEnum = {
|
|
182
|
-
Report: 'report',
|
|
183
|
-
Block: 'block'
|
|
184
|
-
};
|
|
185
|
-
export const V2ProjectModeEnum = {
|
|
186
|
-
Report: 'report',
|
|
187
|
-
Block: 'block'
|
|
188
|
-
};
|
|
189
|
-
export const V2ProjectRequestModeEnum = {
|
|
190
|
-
Report: 'report',
|
|
191
|
-
Block: 'block'
|
|
192
|
-
};
|
|
193
|
-
export const V2RuleModeEnum = {
|
|
194
|
-
Report: 'report',
|
|
195
|
-
Block: 'block'
|
|
196
|
-
};
|
|
197
|
-
export const V2RuleAuthModeEnum = {
|
|
198
|
-
Report: 'report',
|
|
199
|
-
Block: 'block'
|
|
200
|
-
};
|
|
201
|
-
export const V2RuleAuthNotifyEnum = {
|
|
202
|
-
None: 'none',
|
|
203
|
-
Slack: 'slack'
|
|
204
|
-
};
|
|
205
|
-
export const V2RuleAuthActionModeEnum = {
|
|
206
|
-
Report: 'report',
|
|
207
|
-
Block: 'block'
|
|
208
|
-
};
|
|
209
|
-
export const V2RuleAuthActionNotifyEnum = {
|
|
210
|
-
None: 'none',
|
|
211
|
-
Slack: 'slack'
|
|
212
|
-
};
|
|
213
|
-
export const V2RuleAuthRequestModeEnum = {
|
|
214
|
-
Report: 'report',
|
|
215
|
-
Block: 'block'
|
|
216
|
-
};
|
|
217
|
-
export const V2RuleAuthRequestNotifyEnum = {
|
|
218
|
-
None: 'none',
|
|
219
|
-
Slack: 'slack'
|
|
220
|
-
};
|
|
221
|
-
export const V2RuleBotChallengeModeEnum = {
|
|
222
|
-
Report: 'report',
|
|
223
|
-
Block: 'block'
|
|
224
|
-
};
|
|
225
|
-
export const V2RuleBotChallengeNotifyEnum = {
|
|
226
|
-
None: 'none',
|
|
227
|
-
Slack: 'slack'
|
|
228
|
-
};
|
|
229
|
-
export const V2RuleBotChallengeActionModeEnum = {
|
|
230
|
-
Report: 'report',
|
|
231
|
-
Block: 'block'
|
|
232
|
-
};
|
|
233
|
-
export const V2RuleBotChallengeActionNotifyEnum = {
|
|
234
|
-
None: 'none',
|
|
235
|
-
Slack: 'slack'
|
|
236
|
-
};
|
|
237
|
-
export const V2RuleBotChallengeRequestModeEnum = {
|
|
238
|
-
Report: 'report',
|
|
239
|
-
Block: 'block'
|
|
240
|
-
};
|
|
241
|
-
export const V2RuleBotChallengeRequestNotifyEnum = {
|
|
242
|
-
None: 'none',
|
|
243
|
-
Slack: 'slack'
|
|
244
|
-
};
|
|
245
|
-
export const V2RuleContentFilterModeEnum = {
|
|
246
|
-
Report: 'report',
|
|
247
|
-
Block: 'block'
|
|
248
|
-
};
|
|
249
|
-
export const V2RuleContentFilterNotifyEnum = {
|
|
250
|
-
None: 'none',
|
|
251
|
-
Slack: 'slack'
|
|
252
|
-
};
|
|
253
|
-
export const V2RuleContentFilterActionModeEnum = {
|
|
254
|
-
Report: 'report',
|
|
255
|
-
Block: 'block'
|
|
256
|
-
};
|
|
257
|
-
export const V2RuleContentFilterActionNotifyEnum = {
|
|
258
|
-
None: 'none',
|
|
259
|
-
Slack: 'slack'
|
|
260
|
-
};
|
|
261
|
-
export const V2RuleContentFilterRequestModeEnum = {
|
|
262
|
-
Report: 'report',
|
|
263
|
-
Block: 'block'
|
|
264
|
-
};
|
|
265
|
-
export const V2RuleContentFilterRequestNotifyEnum = {
|
|
266
|
-
None: 'none',
|
|
267
|
-
Slack: 'slack'
|
|
268
|
-
};
|
|
269
|
-
export const V2RuleCustomResponseModeEnum = {
|
|
270
|
-
Report: 'report',
|
|
271
|
-
Block: 'block'
|
|
272
|
-
};
|
|
273
|
-
export const V2RuleCustomResponseNotifyEnum = {
|
|
274
|
-
None: 'none',
|
|
275
|
-
Slack: 'slack'
|
|
276
|
-
};
|
|
277
|
-
export const V2RuleCustomResponseActionModeEnum = {
|
|
278
|
-
Report: 'report',
|
|
279
|
-
Block: 'block'
|
|
280
|
-
};
|
|
281
|
-
export const V2RuleCustomResponseActionNotifyEnum = {
|
|
282
|
-
None: 'none',
|
|
283
|
-
Slack: 'slack'
|
|
284
|
-
};
|
|
285
|
-
export const V2RuleCustomResponseRequestModeEnum = {
|
|
286
|
-
Report: 'report',
|
|
287
|
-
Block: 'block'
|
|
288
|
-
};
|
|
289
|
-
export const V2RuleCustomResponseRequestNotifyEnum = {
|
|
290
|
-
None: 'none',
|
|
291
|
-
Slack: 'slack'
|
|
292
|
-
};
|
|
293
|
-
export const V2RuleFunctionModeEnum = {
|
|
294
|
-
Report: 'report',
|
|
295
|
-
Block: 'block'
|
|
296
|
-
};
|
|
297
|
-
export const V2RuleFunctionNotifyEnum = {
|
|
298
|
-
None: 'none',
|
|
299
|
-
Slack: 'slack'
|
|
300
|
-
};
|
|
301
|
-
export const V2RuleFunctionActionModeEnum = {
|
|
302
|
-
Report: 'report',
|
|
303
|
-
Block: 'block'
|
|
304
|
-
};
|
|
305
|
-
export const V2RuleFunctionActionNotifyEnum = {
|
|
306
|
-
None: 'none',
|
|
307
|
-
Slack: 'slack'
|
|
308
|
-
};
|
|
309
|
-
export const V2RuleFunctionRequestModeEnum = {
|
|
310
|
-
Report: 'report',
|
|
311
|
-
Block: 'block'
|
|
312
|
-
};
|
|
313
|
-
export const V2RuleFunctionRequestNotifyEnum = {
|
|
314
|
-
None: 'none',
|
|
315
|
-
Slack: 'slack'
|
|
316
|
-
};
|
|
317
|
-
export const V2RuleHeaderModeEnum = {
|
|
318
|
-
Report: 'report',
|
|
319
|
-
Block: 'block'
|
|
320
|
-
};
|
|
321
|
-
export const V2RuleHeaderNotifyEnum = {
|
|
322
|
-
None: 'none',
|
|
323
|
-
Slack: 'slack'
|
|
324
|
-
};
|
|
325
|
-
export const V2RuleHeaderActionModeEnum = {
|
|
326
|
-
Report: 'report',
|
|
327
|
-
Block: 'block'
|
|
328
|
-
};
|
|
329
|
-
export const V2RuleHeaderActionNotifyEnum = {
|
|
330
|
-
None: 'none',
|
|
331
|
-
Slack: 'slack'
|
|
332
|
-
};
|
|
333
|
-
export const V2RuleHeaderRequestModeEnum = {
|
|
334
|
-
Report: 'report',
|
|
335
|
-
Block: 'block'
|
|
336
|
-
};
|
|
337
|
-
export const V2RuleHeaderRequestNotifyEnum = {
|
|
338
|
-
None: 'none',
|
|
339
|
-
Slack: 'slack'
|
|
340
|
-
};
|
|
341
|
-
export const V2RuleProxyModeEnum = {
|
|
342
|
-
Report: 'report',
|
|
343
|
-
Block: 'block'
|
|
344
|
-
};
|
|
345
|
-
export const V2RuleProxyNotifyEnum = {
|
|
346
|
-
None: 'none',
|
|
347
|
-
Slack: 'slack'
|
|
348
|
-
};
|
|
349
|
-
export const V2RuleProxyActionModeEnum = {
|
|
350
|
-
Report: 'report',
|
|
351
|
-
Block: 'block'
|
|
352
|
-
};
|
|
353
192
|
export const V2RuleProxyActionNotifyEnum = {
|
|
354
193
|
None: 'none',
|
|
355
194
|
Slack: 'slack'
|
|
356
195
|
};
|
|
357
|
-
export const V2RuleProxyRequestModeEnum = {
|
|
358
|
-
Report: 'report',
|
|
359
|
-
Block: 'block'
|
|
360
|
-
};
|
|
361
|
-
export const V2RuleProxyRequestNotifyEnum = {
|
|
362
|
-
None: 'none',
|
|
363
|
-
Slack: 'slack'
|
|
364
|
-
};
|
|
365
|
-
export const V2RuleRedirectModeEnum = {
|
|
366
|
-
Report: 'report',
|
|
367
|
-
Block: 'block'
|
|
368
|
-
};
|
|
369
|
-
export const V2RuleRedirectNotifyEnum = {
|
|
370
|
-
None: 'none',
|
|
371
|
-
Slack: 'slack'
|
|
372
|
-
};
|
|
373
|
-
export const V2RuleRedirectActionModeEnum = {
|
|
374
|
-
Report: 'report',
|
|
375
|
-
Block: 'block'
|
|
376
|
-
};
|
|
377
|
-
export const V2RuleRedirectActionNotifyEnum = {
|
|
378
|
-
None: 'none',
|
|
379
|
-
Slack: 'slack'
|
|
380
|
-
};
|
|
381
|
-
export const V2RuleRedirectRequestModeEnum = {
|
|
382
|
-
Report: 'report',
|
|
383
|
-
Block: 'block'
|
|
384
|
-
};
|
|
385
|
-
export const V2RuleRedirectRequestNotifyEnum = {
|
|
386
|
-
None: 'none',
|
|
387
|
-
Slack: 'slack'
|
|
388
|
-
};
|
|
389
|
-
export const V2RuleRequestModeEnum = {
|
|
390
|
-
Report: 'report',
|
|
391
|
-
Block: 'block'
|
|
392
|
-
};
|
|
393
|
-
export const V2RuleServeStaticModeEnum = {
|
|
394
|
-
Report: 'report',
|
|
395
|
-
Block: 'block'
|
|
396
|
-
};
|
|
397
|
-
export const V2RuleServeStaticNotifyEnum = {
|
|
398
|
-
None: 'none',
|
|
399
|
-
Slack: 'slack'
|
|
400
|
-
};
|
|
401
|
-
export const V2RuleServeStaticActionModeEnum = {
|
|
402
|
-
Report: 'report',
|
|
403
|
-
Block: 'block'
|
|
404
|
-
};
|
|
405
|
-
export const V2RuleServeStaticActionNotifyEnum = {
|
|
406
|
-
None: 'none',
|
|
407
|
-
Slack: 'slack'
|
|
408
|
-
};
|
|
409
|
-
export const V2RuleServeStaticRequestModeEnum = {
|
|
410
|
-
Report: 'report',
|
|
411
|
-
Block: 'block'
|
|
412
|
-
};
|
|
413
|
-
export const V2RuleServeStaticRequestNotifyEnum = {
|
|
414
|
-
None: 'none',
|
|
415
|
-
Slack: 'slack'
|
|
416
|
-
};
|
|
417
|
-
export const V2SecretStoreModeEnum = {
|
|
418
|
-
Report: 'report',
|
|
419
|
-
Block: 'block'
|
|
420
|
-
};
|
|
421
|
-
export const V2SecretStoreRequestModeEnum = {
|
|
422
|
-
Report: 'report',
|
|
423
|
-
Block: 'block'
|
|
424
|
-
};
|
|
425
|
-
export const V2StoreModeEnum = {
|
|
426
|
-
Report: 'report',
|
|
427
|
-
Block: 'block'
|
|
428
|
-
};
|
|
429
|
-
export const V2StoreItemModeEnum = {
|
|
430
|
-
Report: 'report',
|
|
431
|
-
Block: 'block'
|
|
432
|
-
};
|
|
433
|
-
export const V2StoreItemRequestModeEnum = {
|
|
434
|
-
Report: 'report',
|
|
435
|
-
Block: 'block'
|
|
436
|
-
};
|
|
437
|
-
export const V2StoreItemUpdateRequestModeEnum = {
|
|
438
|
-
Report: 'report',
|
|
439
|
-
Block: 'block'
|
|
440
|
-
};
|
|
441
|
-
export const V2StoreItemsListResponseModeEnum = {
|
|
442
|
-
Report: 'report',
|
|
443
|
-
Block: 'block'
|
|
444
|
-
};
|
|
445
|
-
export const V2StoreRequestModeEnum = {
|
|
446
|
-
Report: 'report',
|
|
447
|
-
Block: 'block'
|
|
448
|
-
};
|
|
449
196
|
export const WafConfigModeEnum = {
|
|
450
197
|
Report: 'report',
|
|
451
198
|
Block: 'block'
|
|
@@ -467,14 +214,14 @@ export const WafConfigThresholdsInnerModeEnum = {
|
|
|
467
214
|
export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
468
215
|
return {
|
|
469
216
|
/**
|
|
470
|
-
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size
|
|
217
|
+
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
|
|
471
218
|
* @summary Chat inference via API Gateway (buffered responses) with multimodal support
|
|
472
219
|
* @param {string} organisation The organisation ID
|
|
473
220
|
* @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
|
|
474
221
|
* @param {*} [options] Override http request option.
|
|
475
222
|
* @throws {RequiredError}
|
|
476
223
|
*/
|
|
477
|
-
chatInference: (
|
|
224
|
+
chatInference: (organisation_1, chatInferenceRequest_1, ...args_1) => __awaiter(this, [organisation_1, chatInferenceRequest_1, ...args_1], void 0, function* (organisation, chatInferenceRequest, options = {}) {
|
|
478
225
|
// verify required parameter 'organisation' is not null or undefined
|
|
479
226
|
assertParamExists('chatInference', 'organisation', organisation);
|
|
480
227
|
// verify required parameter 'chatInferenceRequest' is not null or undefined
|
|
@@ -511,7 +258,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
511
258
|
* @param {*} [options] Override http request option.
|
|
512
259
|
* @throws {RequiredError}
|
|
513
260
|
*/
|
|
514
|
-
chatInferenceStream: (
|
|
261
|
+
chatInferenceStream: (organisation_1, chatInferenceStreamRequest_1, ...args_1) => __awaiter(this, [organisation_1, chatInferenceStreamRequest_1, ...args_1], void 0, function* (organisation, chatInferenceStreamRequest, options = {}) {
|
|
515
262
|
// verify required parameter 'organisation' is not null or undefined
|
|
516
263
|
assertParamExists('chatInferenceStream', 'organisation', organisation);
|
|
517
264
|
// verify required parameter 'chatInferenceStreamRequest' is not null or undefined
|
|
@@ -548,7 +295,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
548
295
|
* @param {*} [options] Override http request option.
|
|
549
296
|
* @throws {RequiredError}
|
|
550
297
|
*/
|
|
551
|
-
createAISession: (
|
|
298
|
+
createAISession: (organisation_1, createAISessionRequest_1, ...args_1) => __awaiter(this, [organisation_1, createAISessionRequest_1, ...args_1], void 0, function* (organisation, createAISessionRequest, options = {}) {
|
|
552
299
|
// verify required parameter 'organisation' is not null or undefined
|
|
553
300
|
assertParamExists('createAISession', 'organisation', organisation);
|
|
554
301
|
// verify required parameter 'createAISessionRequest' is not null or undefined
|
|
@@ -585,7 +332,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
585
332
|
* @param {*} [options] Override http request option.
|
|
586
333
|
* @throws {RequiredError}
|
|
587
334
|
*/
|
|
588
|
-
deleteAISession: (
|
|
335
|
+
deleteAISession: (organisation_1, sessionId_1, ...args_1) => __awaiter(this, [organisation_1, sessionId_1, ...args_1], void 0, function* (organisation, sessionId, options = {}) {
|
|
589
336
|
// verify required parameter 'organisation' is not null or undefined
|
|
590
337
|
assertParamExists('deleteAISession', 'organisation', organisation);
|
|
591
338
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -621,7 +368,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
621
368
|
* @param {*} [options] Override http request option.
|
|
622
369
|
* @throws {RequiredError}
|
|
623
370
|
*/
|
|
624
|
-
embeddings: (
|
|
371
|
+
embeddings: (organisation_1, embeddingsRequest_1, ...args_1) => __awaiter(this, [organisation_1, embeddingsRequest_1, ...args_1], void 0, function* (organisation, embeddingsRequest, options = {}) {
|
|
625
372
|
// verify required parameter 'organisation' is not null or undefined
|
|
626
373
|
assertParamExists('embeddings', 'organisation', organisation);
|
|
627
374
|
// verify required parameter 'embeddingsRequest' is not null or undefined
|
|
@@ -657,7 +404,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
657
404
|
* @param {*} [options] Override http request option.
|
|
658
405
|
* @throws {RequiredError}
|
|
659
406
|
*/
|
|
660
|
-
getAIConfig: (
|
|
407
|
+
getAIConfig: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
661
408
|
// verify required parameter 'organisation' is not null or undefined
|
|
662
409
|
assertParamExists('getAIConfig', 'organisation', organisation);
|
|
663
410
|
const localVarPath = `/api/v3/organizations/{organisation}/ai/config`
|
|
@@ -690,7 +437,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
690
437
|
* @param {*} [options] Override http request option.
|
|
691
438
|
* @throws {RequiredError}
|
|
692
439
|
*/
|
|
693
|
-
getAISession: (
|
|
440
|
+
getAISession: (organisation_1, sessionId_1, ...args_1) => __awaiter(this, [organisation_1, sessionId_1, ...args_1], void 0, function* (organisation, sessionId, options = {}) {
|
|
694
441
|
// verify required parameter 'organisation' is not null or undefined
|
|
695
442
|
assertParamExists('getAISession', 'organisation', organisation);
|
|
696
443
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -726,7 +473,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
726
473
|
* @param {*} [options] Override http request option.
|
|
727
474
|
* @throws {RequiredError}
|
|
728
475
|
*/
|
|
729
|
-
getAIUsageStats: (
|
|
476
|
+
getAIUsageStats: (organisation_1, month_1, ...args_1) => __awaiter(this, [organisation_1, month_1, ...args_1], void 0, function* (organisation, month, options = {}) {
|
|
730
477
|
// verify required parameter 'organisation' is not null or undefined
|
|
731
478
|
assertParamExists('getAIUsageStats', 'organisation', organisation);
|
|
732
479
|
const localVarPath = `/api/v3/organizations/{organisation}/ai/usage`
|
|
@@ -754,6 +501,42 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
754
501
|
options: localVarRequestOptions,
|
|
755
502
|
};
|
|
756
503
|
}),
|
|
504
|
+
/**
|
|
505
|
+
* Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
|
|
506
|
+
* @summary Get async tool execution status and result
|
|
507
|
+
* @param {string} organisation The organisation ID
|
|
508
|
+
* @param {string} executionId Tool execution identifier
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
getToolExecutionStatus: (organisation_1, executionId_1, ...args_1) => __awaiter(this, [organisation_1, executionId_1, ...args_1], void 0, function* (organisation, executionId, options = {}) {
|
|
513
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
514
|
+
assertParamExists('getToolExecutionStatus', 'organisation', organisation);
|
|
515
|
+
// verify required parameter 'executionId' is not null or undefined
|
|
516
|
+
assertParamExists('getToolExecutionStatus', 'executionId', executionId);
|
|
517
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/tools/executions/{executionId}`
|
|
518
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
519
|
+
.replace(`{${"executionId"}}`, encodeURIComponent(String(executionId)));
|
|
520
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
521
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
522
|
+
let baseOptions;
|
|
523
|
+
if (configuration) {
|
|
524
|
+
baseOptions = configuration.baseOptions;
|
|
525
|
+
}
|
|
526
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
527
|
+
const localVarHeaderParameter = {};
|
|
528
|
+
const localVarQueryParameter = {};
|
|
529
|
+
// authentication BearerAuth required
|
|
530
|
+
// http bearer authentication required
|
|
531
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
532
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
533
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
534
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
535
|
+
return {
|
|
536
|
+
url: toPathString(localVarUrlObj),
|
|
537
|
+
options: localVarRequestOptions,
|
|
538
|
+
};
|
|
539
|
+
}),
|
|
757
540
|
/**
|
|
758
541
|
* Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
|
|
759
542
|
* @summary Generate images with Amazon Nova Canvas
|
|
@@ -762,7 +545,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
762
545
|
* @param {*} [options] Override http request option.
|
|
763
546
|
* @throws {RequiredError}
|
|
764
547
|
*/
|
|
765
|
-
imageGeneration: (
|
|
548
|
+
imageGeneration: (organisation_1, imageGenerationRequest_1, ...args_1) => __awaiter(this, [organisation_1, imageGenerationRequest_1, ...args_1], void 0, function* (organisation, imageGenerationRequest, options = {}) {
|
|
766
549
|
// verify required parameter 'organisation' is not null or undefined
|
|
767
550
|
assertParamExists('imageGeneration', 'organisation', organisation);
|
|
768
551
|
// verify required parameter 'imageGenerationRequest' is not null or undefined
|
|
@@ -799,7 +582,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
799
582
|
* @param {*} [options] Override http request option.
|
|
800
583
|
* @throws {RequiredError}
|
|
801
584
|
*/
|
|
802
|
-
listAIModels: (
|
|
585
|
+
listAIModels: (organisation_1, feature_1, ...args_1) => __awaiter(this, [organisation_1, feature_1, ...args_1], void 0, function* (organisation, feature, options = {}) {
|
|
803
586
|
// verify required parameter 'organisation' is not null or undefined
|
|
804
587
|
assertParamExists('listAIModels', 'organisation', organisation);
|
|
805
588
|
const localVarPath = `/api/v3/organizations/{organisation}/ai/models`
|
|
@@ -839,7 +622,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
839
622
|
* @param {*} [options] Override http request option.
|
|
840
623
|
* @throws {RequiredError}
|
|
841
624
|
*/
|
|
842
|
-
listAISessions: (
|
|
625
|
+
listAISessions: (organisation_1, userId_1, sessionGroup_1, limit_1, offset_1, model_1, ...args_1) => __awaiter(this, [organisation_1, userId_1, sessionGroup_1, limit_1, offset_1, model_1, ...args_1], void 0, function* (organisation, userId, sessionGroup, limit, offset, model, options = {}) {
|
|
843
626
|
// verify required parameter 'organisation' is not null or undefined
|
|
844
627
|
assertParamExists('listAISessions', 'organisation', organisation);
|
|
845
628
|
const localVarPath = `/api/v3/organizations/{organisation}/ai/sessions`
|
|
@@ -879,6 +662,110 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
879
662
|
options: localVarRequestOptions,
|
|
880
663
|
};
|
|
881
664
|
}),
|
|
665
|
+
/**
|
|
666
|
+
* Retrieves just the names of available built-in tools. Useful for quick validation or UI dropdown population without the full tool specifications.
|
|
667
|
+
* @summary List tool names only (lightweight response)
|
|
668
|
+
* @param {string} organisation The organisation ID
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
listAIToolNames: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
673
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
674
|
+
assertParamExists('listAIToolNames', 'organisation', organisation);
|
|
675
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/tools/names`
|
|
676
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
677
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
678
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
679
|
+
let baseOptions;
|
|
680
|
+
if (configuration) {
|
|
681
|
+
baseOptions = configuration.baseOptions;
|
|
682
|
+
}
|
|
683
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
684
|
+
const localVarHeaderParameter = {};
|
|
685
|
+
const localVarQueryParameter = {};
|
|
686
|
+
// authentication BearerAuth required
|
|
687
|
+
// http bearer authentication required
|
|
688
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
689
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
691
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
692
|
+
return {
|
|
693
|
+
url: toPathString(localVarUrlObj),
|
|
694
|
+
options: localVarRequestOptions,
|
|
695
|
+
};
|
|
696
|
+
}),
|
|
697
|
+
/**
|
|
698
|
+
* Retrieves all available built-in tools that can be used with function calling. These tools can be included in `toolConfig` when making AI inference requests. * * **Available Built-in Tools:** * - `get_weather`: Get current weather for a location using Open-Meteo API * - `calculate`: Perform basic mathematical calculations (add, subtract, multiply, divide) * - `search_web`: Search the web for information (mock implementation) * - `generate_image`: Generate images with Amazon Nova Canvas (async execution, 10-15s typical runtime) * * **Use Cases:** * - Discover available tools dynamically without hardcoding * - Get complete tool specifications including input schemas * - Build UI for tool selection * - Validate tool names before sending requests * * **Dynamic Tool Discovery:** * This endpoint enables clients to: * 1. Fetch all available tools on page load * 2. Display tool capabilities to users * 3. Filter tools based on user permissions * 4. Use `allowedTools` whitelist for security * * **Alternative Endpoint:** * - `GET /ai/tools/names` - Returns only tool names (faster, lighter response)
|
|
699
|
+
* @summary List available built-in tools for function calling
|
|
700
|
+
* @param {string} organisation The organisation ID
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
*/
|
|
704
|
+
listAITools: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
705
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
706
|
+
assertParamExists('listAITools', 'organisation', organisation);
|
|
707
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/tools`
|
|
708
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
709
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
710
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
711
|
+
let baseOptions;
|
|
712
|
+
if (configuration) {
|
|
713
|
+
baseOptions = configuration.baseOptions;
|
|
714
|
+
}
|
|
715
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
716
|
+
const localVarHeaderParameter = {};
|
|
717
|
+
const localVarQueryParameter = {};
|
|
718
|
+
// authentication BearerAuth required
|
|
719
|
+
// http bearer authentication required
|
|
720
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
723
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
724
|
+
return {
|
|
725
|
+
url: toPathString(localVarUrlObj),
|
|
726
|
+
options: localVarRequestOptions,
|
|
727
|
+
};
|
|
728
|
+
}),
|
|
729
|
+
/**
|
|
730
|
+
* Lists recent async tool executions for an organization. Useful for debugging, monitoring, and building admin UIs. * * **Query Patterns:** * - All recent executions: `GET /ai/tools/executions` * - Filter by status: `GET /ai/tools/executions?status=running` * - Limit results: `GET /ai/tools/executions?limit=20` * * **Results:** * - Ordered by creation time (newest first) * - Limited to 50 by default (configurable via `limit` parameter) * - Only shows executions not yet expired (24h TTL) * * **Use Cases:** * - Monitor all active tool executions * - Debug failed executions * - Build admin dashboards * - Track tool usage patterns * - Audit async operations
|
|
731
|
+
* @summary List tool executions for monitoring and debugging
|
|
732
|
+
* @param {string} organisation The organisation ID
|
|
733
|
+
* @param {ListToolExecutionsStatusEnum} [status] Filter by execution status
|
|
734
|
+
* @param {number} [limit] Maximum number of executions to return
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @throws {RequiredError}
|
|
737
|
+
*/
|
|
738
|
+
listToolExecutions: (organisation_1, status_1, limit_1, ...args_1) => __awaiter(this, [organisation_1, status_1, limit_1, ...args_1], void 0, function* (organisation, status, limit, options = {}) {
|
|
739
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
740
|
+
assertParamExists('listToolExecutions', 'organisation', organisation);
|
|
741
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/tools/executions`
|
|
742
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
744
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
745
|
+
let baseOptions;
|
|
746
|
+
if (configuration) {
|
|
747
|
+
baseOptions = configuration.baseOptions;
|
|
748
|
+
}
|
|
749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
750
|
+
const localVarHeaderParameter = {};
|
|
751
|
+
const localVarQueryParameter = {};
|
|
752
|
+
// authentication BearerAuth required
|
|
753
|
+
// http bearer authentication required
|
|
754
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
755
|
+
if (status !== undefined) {
|
|
756
|
+
localVarQueryParameter['status'] = status;
|
|
757
|
+
}
|
|
758
|
+
if (limit !== undefined) {
|
|
759
|
+
localVarQueryParameter['limit'] = limit;
|
|
760
|
+
}
|
|
761
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
762
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
763
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
764
|
+
return {
|
|
765
|
+
url: toPathString(localVarUrlObj),
|
|
766
|
+
options: localVarRequestOptions,
|
|
767
|
+
};
|
|
768
|
+
}),
|
|
882
769
|
/**
|
|
883
770
|
*
|
|
884
771
|
* @summary Update AI configuration for an organization
|
|
@@ -887,7 +774,7 @@ export const AIServicesApiAxiosParamCreator = function (configuration) {
|
|
|
887
774
|
* @param {*} [options] Override http request option.
|
|
888
775
|
* @throws {RequiredError}
|
|
889
776
|
*/
|
|
890
|
-
updateAIConfig: (
|
|
777
|
+
updateAIConfig: (organisation_1, updateAIConfigRequest_1, ...args_1) => __awaiter(this, [organisation_1, updateAIConfigRequest_1, ...args_1], void 0, function* (organisation, updateAIConfigRequest, options = {}) {
|
|
891
778
|
// verify required parameter 'organisation' is not null or undefined
|
|
892
779
|
assertParamExists('updateAIConfig', 'organisation', organisation);
|
|
893
780
|
// verify required parameter 'updateAIConfigRequest' is not null or undefined
|
|
@@ -926,7 +813,7 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
926
813
|
const localVarAxiosParamCreator = AIServicesApiAxiosParamCreator(configuration);
|
|
927
814
|
return {
|
|
928
815
|
/**
|
|
929
|
-
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size
|
|
816
|
+
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
|
|
930
817
|
* @summary Chat inference via API Gateway (buffered responses) with multimodal support
|
|
931
818
|
* @param {string} organisation The organisation ID
|
|
932
819
|
* @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
|
|
@@ -934,8 +821,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
934
821
|
* @throws {RequiredError}
|
|
935
822
|
*/
|
|
936
823
|
chatInference(organisation, chatInferenceRequest, options) {
|
|
937
|
-
var _a, _b, _c;
|
|
938
824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
|
+
var _a, _b, _c;
|
|
939
826
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.chatInference(organisation, chatInferenceRequest, options);
|
|
940
827
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
941
828
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.chatInference']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -951,8 +838,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
951
838
|
* @throws {RequiredError}
|
|
952
839
|
*/
|
|
953
840
|
chatInferenceStream(organisation, chatInferenceStreamRequest, options) {
|
|
954
|
-
var _a, _b, _c;
|
|
955
841
|
return __awaiter(this, void 0, void 0, function* () {
|
|
842
|
+
var _a, _b, _c;
|
|
956
843
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.chatInferenceStream(organisation, chatInferenceStreamRequest, options);
|
|
957
844
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
958
845
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.chatInferenceStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -968,8 +855,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
968
855
|
* @throws {RequiredError}
|
|
969
856
|
*/
|
|
970
857
|
createAISession(organisation, createAISessionRequest, options) {
|
|
971
|
-
var _a, _b, _c;
|
|
972
858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
859
|
+
var _a, _b, _c;
|
|
973
860
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAISession(organisation, createAISessionRequest, options);
|
|
974
861
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
975
862
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.createAISession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -985,8 +872,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
985
872
|
* @throws {RequiredError}
|
|
986
873
|
*/
|
|
987
874
|
deleteAISession(organisation, sessionId, options) {
|
|
988
|
-
var _a, _b, _c;
|
|
989
875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
876
|
+
var _a, _b, _c;
|
|
990
877
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAISession(organisation, sessionId, options);
|
|
991
878
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
992
879
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.deleteAISession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1002,8 +889,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1002
889
|
* @throws {RequiredError}
|
|
1003
890
|
*/
|
|
1004
891
|
embeddings(organisation, embeddingsRequest, options) {
|
|
1005
|
-
var _a, _b, _c;
|
|
1006
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
893
|
+
var _a, _b, _c;
|
|
1007
894
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.embeddings(organisation, embeddingsRequest, options);
|
|
1008
895
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1009
896
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.embeddings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1018,8 +905,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1018
905
|
* @throws {RequiredError}
|
|
1019
906
|
*/
|
|
1020
907
|
getAIConfig(organisation, options) {
|
|
1021
|
-
var _a, _b, _c;
|
|
1022
908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
909
|
+
var _a, _b, _c;
|
|
1023
910
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAIConfig(organisation, options);
|
|
1024
911
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1025
912
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.getAIConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1035,8 +922,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1035
922
|
* @throws {RequiredError}
|
|
1036
923
|
*/
|
|
1037
924
|
getAISession(organisation, sessionId, options) {
|
|
1038
|
-
var _a, _b, _c;
|
|
1039
925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
926
|
+
var _a, _b, _c;
|
|
1040
927
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAISession(organisation, sessionId, options);
|
|
1041
928
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1042
929
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.getAISession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1052,14 +939,31 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1052
939
|
* @throws {RequiredError}
|
|
1053
940
|
*/
|
|
1054
941
|
getAIUsageStats(organisation, month, options) {
|
|
1055
|
-
var _a, _b, _c;
|
|
1056
942
|
return __awaiter(this, void 0, void 0, function* () {
|
|
943
|
+
var _a, _b, _c;
|
|
1057
944
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAIUsageStats(organisation, month, options);
|
|
1058
945
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1059
946
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.getAIUsageStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1060
947
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1061
948
|
});
|
|
1062
949
|
},
|
|
950
|
+
/**
|
|
951
|
+
* Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
|
|
952
|
+
* @summary Get async tool execution status and result
|
|
953
|
+
* @param {string} organisation The organisation ID
|
|
954
|
+
* @param {string} executionId Tool execution identifier
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
*/
|
|
958
|
+
getToolExecutionStatus(organisation, executionId, options) {
|
|
959
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
960
|
+
var _a, _b, _c;
|
|
961
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getToolExecutionStatus(organisation, executionId, options);
|
|
962
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
963
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.getToolExecutionStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
965
|
+
});
|
|
966
|
+
},
|
|
1063
967
|
/**
|
|
1064
968
|
* Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
|
|
1065
969
|
* @summary Generate images with Amazon Nova Canvas
|
|
@@ -1069,8 +973,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1069
973
|
* @throws {RequiredError}
|
|
1070
974
|
*/
|
|
1071
975
|
imageGeneration(organisation, imageGenerationRequest, options) {
|
|
1072
|
-
var _a, _b, _c;
|
|
1073
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
977
|
+
var _a, _b, _c;
|
|
1074
978
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.imageGeneration(organisation, imageGenerationRequest, options);
|
|
1075
979
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1076
980
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.imageGeneration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1086,8 +990,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1086
990
|
* @throws {RequiredError}
|
|
1087
991
|
*/
|
|
1088
992
|
listAIModels(organisation, feature, options) {
|
|
1089
|
-
var _a, _b, _c;
|
|
1090
993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
994
|
+
var _a, _b, _c;
|
|
1091
995
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAIModels(organisation, feature, options);
|
|
1092
996
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1093
997
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.listAIModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1107,14 +1011,64 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1107
1011
|
* @throws {RequiredError}
|
|
1108
1012
|
*/
|
|
1109
1013
|
listAISessions(organisation, userId, sessionGroup, limit, offset, model, options) {
|
|
1110
|
-
var _a, _b, _c;
|
|
1111
1014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1015
|
+
var _a, _b, _c;
|
|
1112
1016
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAISessions(organisation, userId, sessionGroup, limit, offset, model, options);
|
|
1113
1017
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1114
1018
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.listAISessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1115
1019
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1116
1020
|
});
|
|
1117
1021
|
},
|
|
1022
|
+
/**
|
|
1023
|
+
* Retrieves just the names of available built-in tools. Useful for quick validation or UI dropdown population without the full tool specifications.
|
|
1024
|
+
* @summary List tool names only (lightweight response)
|
|
1025
|
+
* @param {string} organisation The organisation ID
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
listAIToolNames(organisation, options) {
|
|
1030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1031
|
+
var _a, _b, _c;
|
|
1032
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAIToolNames(organisation, options);
|
|
1033
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1034
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.listAIToolNames']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1035
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1036
|
+
});
|
|
1037
|
+
},
|
|
1038
|
+
/**
|
|
1039
|
+
* Retrieves all available built-in tools that can be used with function calling. These tools can be included in `toolConfig` when making AI inference requests. * * **Available Built-in Tools:** * - `get_weather`: Get current weather for a location using Open-Meteo API * - `calculate`: Perform basic mathematical calculations (add, subtract, multiply, divide) * - `search_web`: Search the web for information (mock implementation) * - `generate_image`: Generate images with Amazon Nova Canvas (async execution, 10-15s typical runtime) * * **Use Cases:** * - Discover available tools dynamically without hardcoding * - Get complete tool specifications including input schemas * - Build UI for tool selection * - Validate tool names before sending requests * * **Dynamic Tool Discovery:** * This endpoint enables clients to: * 1. Fetch all available tools on page load * 2. Display tool capabilities to users * 3. Filter tools based on user permissions * 4. Use `allowedTools` whitelist for security * * **Alternative Endpoint:** * - `GET /ai/tools/names` - Returns only tool names (faster, lighter response)
|
|
1040
|
+
* @summary List available built-in tools for function calling
|
|
1041
|
+
* @param {string} organisation The organisation ID
|
|
1042
|
+
* @param {*} [options] Override http request option.
|
|
1043
|
+
* @throws {RequiredError}
|
|
1044
|
+
*/
|
|
1045
|
+
listAITools(organisation, options) {
|
|
1046
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1047
|
+
var _a, _b, _c;
|
|
1048
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAITools(organisation, options);
|
|
1049
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1050
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.listAITools']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1051
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1052
|
+
});
|
|
1053
|
+
},
|
|
1054
|
+
/**
|
|
1055
|
+
* Lists recent async tool executions for an organization. Useful for debugging, monitoring, and building admin UIs. * * **Query Patterns:** * - All recent executions: `GET /ai/tools/executions` * - Filter by status: `GET /ai/tools/executions?status=running` * - Limit results: `GET /ai/tools/executions?limit=20` * * **Results:** * - Ordered by creation time (newest first) * - Limited to 50 by default (configurable via `limit` parameter) * - Only shows executions not yet expired (24h TTL) * * **Use Cases:** * - Monitor all active tool executions * - Debug failed executions * - Build admin dashboards * - Track tool usage patterns * - Audit async operations
|
|
1056
|
+
* @summary List tool executions for monitoring and debugging
|
|
1057
|
+
* @param {string} organisation The organisation ID
|
|
1058
|
+
* @param {ListToolExecutionsStatusEnum} [status] Filter by execution status
|
|
1059
|
+
* @param {number} [limit] Maximum number of executions to return
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
listToolExecutions(organisation, status, limit, options) {
|
|
1064
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1065
|
+
var _a, _b, _c;
|
|
1066
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listToolExecutions(organisation, status, limit, options);
|
|
1067
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1068
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.listToolExecutions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1070
|
+
});
|
|
1071
|
+
},
|
|
1118
1072
|
/**
|
|
1119
1073
|
*
|
|
1120
1074
|
* @summary Update AI configuration for an organization
|
|
@@ -1124,8 +1078,8 @@ export const AIServicesApiFp = function (configuration) {
|
|
|
1124
1078
|
* @throws {RequiredError}
|
|
1125
1079
|
*/
|
|
1126
1080
|
updateAIConfig(organisation, updateAIConfigRequest, options) {
|
|
1127
|
-
var _a, _b, _c;
|
|
1128
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1082
|
+
var _a, _b, _c;
|
|
1129
1083
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAIConfig(organisation, updateAIConfigRequest, options);
|
|
1130
1084
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1131
1085
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIServicesApi.updateAIConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1142,7 +1096,7 @@ export const AIServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
1142
1096
|
const localVarFp = AIServicesApiFp(configuration);
|
|
1143
1097
|
return {
|
|
1144
1098
|
/**
|
|
1145
|
-
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size
|
|
1099
|
+
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
|
|
1146
1100
|
* @summary Chat inference via API Gateway (buffered responses) with multimodal support
|
|
1147
1101
|
* @param {string} organisation The organisation ID
|
|
1148
1102
|
* @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
|
|
@@ -1228,6 +1182,17 @@ export const AIServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
1228
1182
|
getAIUsageStats(organisation, month, options) {
|
|
1229
1183
|
return localVarFp.getAIUsageStats(organisation, month, options).then((request) => request(axios, basePath));
|
|
1230
1184
|
},
|
|
1185
|
+
/**
|
|
1186
|
+
* Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
|
|
1187
|
+
* @summary Get async tool execution status and result
|
|
1188
|
+
* @param {string} organisation The organisation ID
|
|
1189
|
+
* @param {string} executionId Tool execution identifier
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @throws {RequiredError}
|
|
1192
|
+
*/
|
|
1193
|
+
getToolExecutionStatus(organisation, executionId, options) {
|
|
1194
|
+
return localVarFp.getToolExecutionStatus(organisation, executionId, options).then((request) => request(axios, basePath));
|
|
1195
|
+
},
|
|
1231
1196
|
/**
|
|
1232
1197
|
* Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
|
|
1233
1198
|
* @summary Generate images with Amazon Nova Canvas
|
|
@@ -1265,6 +1230,38 @@ export const AIServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
1265
1230
|
listAISessions(organisation, userId, sessionGroup, limit, offset, model, options) {
|
|
1266
1231
|
return localVarFp.listAISessions(organisation, userId, sessionGroup, limit, offset, model, options).then((request) => request(axios, basePath));
|
|
1267
1232
|
},
|
|
1233
|
+
/**
|
|
1234
|
+
* Retrieves just the names of available built-in tools. Useful for quick validation or UI dropdown population without the full tool specifications.
|
|
1235
|
+
* @summary List tool names only (lightweight response)
|
|
1236
|
+
* @param {string} organisation The organisation ID
|
|
1237
|
+
* @param {*} [options] Override http request option.
|
|
1238
|
+
* @throws {RequiredError}
|
|
1239
|
+
*/
|
|
1240
|
+
listAIToolNames(organisation, options) {
|
|
1241
|
+
return localVarFp.listAIToolNames(organisation, options).then((request) => request(axios, basePath));
|
|
1242
|
+
},
|
|
1243
|
+
/**
|
|
1244
|
+
* Retrieves all available built-in tools that can be used with function calling. These tools can be included in `toolConfig` when making AI inference requests. * * **Available Built-in Tools:** * - `get_weather`: Get current weather for a location using Open-Meteo API * - `calculate`: Perform basic mathematical calculations (add, subtract, multiply, divide) * - `search_web`: Search the web for information (mock implementation) * - `generate_image`: Generate images with Amazon Nova Canvas (async execution, 10-15s typical runtime) * * **Use Cases:** * - Discover available tools dynamically without hardcoding * - Get complete tool specifications including input schemas * - Build UI for tool selection * - Validate tool names before sending requests * * **Dynamic Tool Discovery:** * This endpoint enables clients to: * 1. Fetch all available tools on page load * 2. Display tool capabilities to users * 3. Filter tools based on user permissions * 4. Use `allowedTools` whitelist for security * * **Alternative Endpoint:** * - `GET /ai/tools/names` - Returns only tool names (faster, lighter response)
|
|
1245
|
+
* @summary List available built-in tools for function calling
|
|
1246
|
+
* @param {string} organisation The organisation ID
|
|
1247
|
+
* @param {*} [options] Override http request option.
|
|
1248
|
+
* @throws {RequiredError}
|
|
1249
|
+
*/
|
|
1250
|
+
listAITools(organisation, options) {
|
|
1251
|
+
return localVarFp.listAITools(organisation, options).then((request) => request(axios, basePath));
|
|
1252
|
+
},
|
|
1253
|
+
/**
|
|
1254
|
+
* Lists recent async tool executions for an organization. Useful for debugging, monitoring, and building admin UIs. * * **Query Patterns:** * - All recent executions: `GET /ai/tools/executions` * - Filter by status: `GET /ai/tools/executions?status=running` * - Limit results: `GET /ai/tools/executions?limit=20` * * **Results:** * - Ordered by creation time (newest first) * - Limited to 50 by default (configurable via `limit` parameter) * - Only shows executions not yet expired (24h TTL) * * **Use Cases:** * - Monitor all active tool executions * - Debug failed executions * - Build admin dashboards * - Track tool usage patterns * - Audit async operations
|
|
1255
|
+
* @summary List tool executions for monitoring and debugging
|
|
1256
|
+
* @param {string} organisation The organisation ID
|
|
1257
|
+
* @param {ListToolExecutionsStatusEnum} [status] Filter by execution status
|
|
1258
|
+
* @param {number} [limit] Maximum number of executions to return
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
1262
|
+
listToolExecutions(organisation, status, limit, options) {
|
|
1263
|
+
return localVarFp.listToolExecutions(organisation, status, limit, options).then((request) => request(axios, basePath));
|
|
1264
|
+
},
|
|
1268
1265
|
/**
|
|
1269
1266
|
*
|
|
1270
1267
|
* @summary Update AI configuration for an organization
|
|
@@ -1286,7 +1283,7 @@ export const AIServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
1286
1283
|
*/
|
|
1287
1284
|
export class AIServicesApi extends BaseAPI {
|
|
1288
1285
|
/**
|
|
1289
|
-
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size
|
|
1286
|
+
* Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
|
|
1290
1287
|
* @summary Chat inference via API Gateway (buffered responses) with multimodal support
|
|
1291
1288
|
* @param {string} organisation The organisation ID
|
|
1292
1289
|
* @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
|
|
@@ -1380,6 +1377,18 @@ export class AIServicesApi extends BaseAPI {
|
|
|
1380
1377
|
getAIUsageStats(organisation, month, options) {
|
|
1381
1378
|
return AIServicesApiFp(this.configuration).getAIUsageStats(organisation, month, options).then((request) => request(this.axios, this.basePath));
|
|
1382
1379
|
}
|
|
1380
|
+
/**
|
|
1381
|
+
* Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
|
|
1382
|
+
* @summary Get async tool execution status and result
|
|
1383
|
+
* @param {string} organisation The organisation ID
|
|
1384
|
+
* @param {string} executionId Tool execution identifier
|
|
1385
|
+
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @throws {RequiredError}
|
|
1387
|
+
* @memberof AIServicesApi
|
|
1388
|
+
*/
|
|
1389
|
+
getToolExecutionStatus(organisation, executionId, options) {
|
|
1390
|
+
return AIServicesApiFp(this.configuration).getToolExecutionStatus(organisation, executionId, options).then((request) => request(this.axios, this.basePath));
|
|
1391
|
+
}
|
|
1383
1392
|
/**
|
|
1384
1393
|
* Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
|
|
1385
1394
|
* @summary Generate images with Amazon Nova Canvas
|
|
@@ -1420,6 +1429,41 @@ export class AIServicesApi extends BaseAPI {
|
|
|
1420
1429
|
listAISessions(organisation, userId, sessionGroup, limit, offset, model, options) {
|
|
1421
1430
|
return AIServicesApiFp(this.configuration).listAISessions(organisation, userId, sessionGroup, limit, offset, model, options).then((request) => request(this.axios, this.basePath));
|
|
1422
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Retrieves just the names of available built-in tools. Useful for quick validation or UI dropdown population without the full tool specifications.
|
|
1434
|
+
* @summary List tool names only (lightweight response)
|
|
1435
|
+
* @param {string} organisation The organisation ID
|
|
1436
|
+
* @param {*} [options] Override http request option.
|
|
1437
|
+
* @throws {RequiredError}
|
|
1438
|
+
* @memberof AIServicesApi
|
|
1439
|
+
*/
|
|
1440
|
+
listAIToolNames(organisation, options) {
|
|
1441
|
+
return AIServicesApiFp(this.configuration).listAIToolNames(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Retrieves all available built-in tools that can be used with function calling. These tools can be included in `toolConfig` when making AI inference requests. * * **Available Built-in Tools:** * - `get_weather`: Get current weather for a location using Open-Meteo API * - `calculate`: Perform basic mathematical calculations (add, subtract, multiply, divide) * - `search_web`: Search the web for information (mock implementation) * - `generate_image`: Generate images with Amazon Nova Canvas (async execution, 10-15s typical runtime) * * **Use Cases:** * - Discover available tools dynamically without hardcoding * - Get complete tool specifications including input schemas * - Build UI for tool selection * - Validate tool names before sending requests * * **Dynamic Tool Discovery:** * This endpoint enables clients to: * 1. Fetch all available tools on page load * 2. Display tool capabilities to users * 3. Filter tools based on user permissions * 4. Use `allowedTools` whitelist for security * * **Alternative Endpoint:** * - `GET /ai/tools/names` - Returns only tool names (faster, lighter response)
|
|
1445
|
+
* @summary List available built-in tools for function calling
|
|
1446
|
+
* @param {string} organisation The organisation ID
|
|
1447
|
+
* @param {*} [options] Override http request option.
|
|
1448
|
+
* @throws {RequiredError}
|
|
1449
|
+
* @memberof AIServicesApi
|
|
1450
|
+
*/
|
|
1451
|
+
listAITools(organisation, options) {
|
|
1452
|
+
return AIServicesApiFp(this.configuration).listAITools(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Lists recent async tool executions for an organization. Useful for debugging, monitoring, and building admin UIs. * * **Query Patterns:** * - All recent executions: `GET /ai/tools/executions` * - Filter by status: `GET /ai/tools/executions?status=running` * - Limit results: `GET /ai/tools/executions?limit=20` * * **Results:** * - Ordered by creation time (newest first) * - Limited to 50 by default (configurable via `limit` parameter) * - Only shows executions not yet expired (24h TTL) * * **Use Cases:** * - Monitor all active tool executions * - Debug failed executions * - Build admin dashboards * - Track tool usage patterns * - Audit async operations
|
|
1456
|
+
* @summary List tool executions for monitoring and debugging
|
|
1457
|
+
* @param {string} organisation The organisation ID
|
|
1458
|
+
* @param {ListToolExecutionsStatusEnum} [status] Filter by execution status
|
|
1459
|
+
* @param {number} [limit] Maximum number of executions to return
|
|
1460
|
+
* @param {*} [options] Override http request option.
|
|
1461
|
+
* @throws {RequiredError}
|
|
1462
|
+
* @memberof AIServicesApi
|
|
1463
|
+
*/
|
|
1464
|
+
listToolExecutions(organisation, status, limit, options) {
|
|
1465
|
+
return AIServicesApiFp(this.configuration).listToolExecutions(organisation, status, limit, options).then((request) => request(this.axios, this.basePath));
|
|
1466
|
+
}
|
|
1423
1467
|
/**
|
|
1424
1468
|
*
|
|
1425
1469
|
* @summary Update AI configuration for an organization
|
|
@@ -1443,6 +1487,15 @@ export const ListAIModelsFeatureEnum = {
|
|
|
1443
1487
|
Streaming: 'streaming',
|
|
1444
1488
|
All: 'all'
|
|
1445
1489
|
};
|
|
1490
|
+
/**
|
|
1491
|
+
* @export
|
|
1492
|
+
*/
|
|
1493
|
+
export const ListToolExecutionsStatusEnum = {
|
|
1494
|
+
Pending: 'pending',
|
|
1495
|
+
Running: 'running',
|
|
1496
|
+
Complete: 'complete',
|
|
1497
|
+
Failed: 'failed'
|
|
1498
|
+
};
|
|
1446
1499
|
/**
|
|
1447
1500
|
* ApplicationsApi - axios parameter creator
|
|
1448
1501
|
* @export
|
|
@@ -1457,7 +1510,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1457
1510
|
* @param {*} [options] Override http request option.
|
|
1458
1511
|
* @throws {RequiredError}
|
|
1459
1512
|
*/
|
|
1460
|
-
createApplication: (
|
|
1513
|
+
createApplication: (organisation_1, createApplicationRequest_1, ...args_1) => __awaiter(this, [organisation_1, createApplicationRequest_1, ...args_1], void 0, function* (organisation, createApplicationRequest, options = {}) {
|
|
1461
1514
|
// verify required parameter 'organisation' is not null or undefined
|
|
1462
1515
|
assertParamExists('createApplication', 'organisation', organisation);
|
|
1463
1516
|
// verify required parameter 'createApplicationRequest' is not null or undefined
|
|
@@ -1494,7 +1547,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1494
1547
|
* @param {*} [options] Override http request option.
|
|
1495
1548
|
* @throws {RequiredError}
|
|
1496
1549
|
*/
|
|
1497
|
-
deleteApplication: (
|
|
1550
|
+
deleteApplication: (organisation_1, application_1, ...args_1) => __awaiter(this, [organisation_1, application_1, ...args_1], void 0, function* (organisation, application, options = {}) {
|
|
1498
1551
|
// verify required parameter 'organisation' is not null or undefined
|
|
1499
1552
|
assertParamExists('deleteApplication', 'organisation', organisation);
|
|
1500
1553
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -1530,7 +1583,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1530
1583
|
* @param {*} [options] Override http request option.
|
|
1531
1584
|
* @throws {RequiredError}
|
|
1532
1585
|
*/
|
|
1533
|
-
getApplication: (
|
|
1586
|
+
getApplication: (organisation_1, application_1, ...args_1) => __awaiter(this, [organisation_1, application_1, ...args_1], void 0, function* (organisation, application, options = {}) {
|
|
1534
1587
|
// verify required parameter 'organisation' is not null or undefined
|
|
1535
1588
|
assertParamExists('getApplication', 'organisation', organisation);
|
|
1536
1589
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -1565,7 +1618,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1565
1618
|
* @param {*} [options] Override http request option.
|
|
1566
1619
|
* @throws {RequiredError}
|
|
1567
1620
|
*/
|
|
1568
|
-
getEcrLoginCredentials: (
|
|
1621
|
+
getEcrLoginCredentials: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
1569
1622
|
// verify required parameter 'organisation' is not null or undefined
|
|
1570
1623
|
assertParamExists('getEcrLoginCredentials', 'organisation', organisation);
|
|
1571
1624
|
const localVarPath = `/api/v3/organizations/{organisation}/applications/ecr-login`
|
|
@@ -1597,7 +1650,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
1597
1650
|
* @param {*} [options] Override http request option.
|
|
1598
1651
|
* @throws {RequiredError}
|
|
1599
1652
|
*/
|
|
1600
|
-
listApplications: (
|
|
1653
|
+
listApplications: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
1601
1654
|
// verify required parameter 'organisation' is not null or undefined
|
|
1602
1655
|
assertParamExists('listApplications', 'organisation', organisation);
|
|
1603
1656
|
const localVarPath = `/api/v3/organizations/{organisation}/applications`
|
|
@@ -1640,8 +1693,8 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
1640
1693
|
* @throws {RequiredError}
|
|
1641
1694
|
*/
|
|
1642
1695
|
createApplication(organisation, createApplicationRequest, options) {
|
|
1643
|
-
var _a, _b, _c;
|
|
1644
1696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1697
|
+
var _a, _b, _c;
|
|
1645
1698
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApplication(organisation, createApplicationRequest, options);
|
|
1646
1699
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1647
1700
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.createApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1657,8 +1710,8 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
1657
1710
|
* @throws {RequiredError}
|
|
1658
1711
|
*/
|
|
1659
1712
|
deleteApplication(organisation, application, options) {
|
|
1660
|
-
var _a, _b, _c;
|
|
1661
1713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1714
|
+
var _a, _b, _c;
|
|
1662
1715
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplication(organisation, application, options);
|
|
1663
1716
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1664
1717
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.deleteApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1674,8 +1727,8 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
1674
1727
|
* @throws {RequiredError}
|
|
1675
1728
|
*/
|
|
1676
1729
|
getApplication(organisation, application, options) {
|
|
1677
|
-
var _a, _b, _c;
|
|
1678
1730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1731
|
+
var _a, _b, _c;
|
|
1679
1732
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplication(organisation, application, options);
|
|
1680
1733
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1681
1734
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.getApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1690,8 +1743,8 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
1690
1743
|
* @throws {RequiredError}
|
|
1691
1744
|
*/
|
|
1692
1745
|
getEcrLoginCredentials(organisation, options) {
|
|
1693
|
-
var _a, _b, _c;
|
|
1694
1746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1747
|
+
var _a, _b, _c;
|
|
1695
1748
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEcrLoginCredentials(organisation, options);
|
|
1696
1749
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1697
1750
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.getEcrLoginCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1706,8 +1759,8 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
1706
1759
|
* @throws {RequiredError}
|
|
1707
1760
|
*/
|
|
1708
1761
|
listApplications(organisation, options) {
|
|
1709
|
-
var _a, _b, _c;
|
|
1710
1762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1763
|
+
var _a, _b, _c;
|
|
1711
1764
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listApplications(organisation, options);
|
|
1712
1765
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1713
1766
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.listApplications']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -1861,7 +1914,7 @@ export const BackupManagementApiAxiosParamCreator = function (configuration) {
|
|
|
1861
1914
|
* @param {*} [options] Override http request option.
|
|
1862
1915
|
* @throws {RequiredError}
|
|
1863
1916
|
*/
|
|
1864
|
-
createBackup: (
|
|
1917
|
+
createBackup: (organisation_1, application_1, environment_1, type_1, createBackupRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, createBackupRequest_1, ...args_1], void 0, function* (organisation, application, environment, type, createBackupRequest, options = {}) {
|
|
1865
1918
|
// verify required parameter 'organisation' is not null or undefined
|
|
1866
1919
|
assertParamExists('createBackup', 'organisation', organisation);
|
|
1867
1920
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -1908,7 +1961,7 @@ export const BackupManagementApiAxiosParamCreator = function (configuration) {
|
|
|
1908
1961
|
* @param {*} [options] Override http request option.
|
|
1909
1962
|
* @throws {RequiredError}
|
|
1910
1963
|
*/
|
|
1911
|
-
deleteBackup: (
|
|
1964
|
+
deleteBackup: (organisation_1, application_1, environment_1, type_1, backupId_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, backupId_1, ...args_1], void 0, function* (organisation, application, environment, type, backupId, options = {}) {
|
|
1912
1965
|
// verify required parameter 'organisation' is not null or undefined
|
|
1913
1966
|
assertParamExists('deleteBackup', 'organisation', organisation);
|
|
1914
1967
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -1956,7 +2009,7 @@ export const BackupManagementApiAxiosParamCreator = function (configuration) {
|
|
|
1956
2009
|
* @param {*} [options] Override http request option.
|
|
1957
2010
|
* @throws {RequiredError}
|
|
1958
2011
|
*/
|
|
1959
|
-
downloadBackup: (
|
|
2012
|
+
downloadBackup: (organisation_1, application_1, environment_1, type_1, backupId_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, backupId_1, ...args_1], void 0, function* (organisation, application, environment, type, backupId, options = {}) {
|
|
1960
2013
|
// verify required parameter 'organisation' is not null or undefined
|
|
1961
2014
|
assertParamExists('downloadBackup', 'organisation', organisation);
|
|
1962
2015
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -2009,7 +2062,7 @@ export const BackupManagementApiAxiosParamCreator = function (configuration) {
|
|
|
2009
2062
|
* @param {*} [options] Override http request option.
|
|
2010
2063
|
* @throws {RequiredError}
|
|
2011
2064
|
*/
|
|
2012
|
-
listBackups: (
|
|
2065
|
+
listBackups: (organisation_1, application_1, environment_1, type_1, order_1, limit_1, createdBefore_1, createdAfter_1, status_1, nextToken_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, order_1, limit_1, createdBefore_1, createdAfter_1, status_1, nextToken_1, ...args_1], void 0, function* (organisation, application, environment, type, order, limit, createdBefore, createdAfter, status, nextToken, options = {}) {
|
|
2013
2066
|
// verify required parameter 'organisation' is not null or undefined
|
|
2014
2067
|
assertParamExists('listBackups', 'organisation', organisation);
|
|
2015
2068
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -2086,8 +2139,8 @@ export const BackupManagementApiFp = function (configuration) {
|
|
|
2086
2139
|
* @throws {RequiredError}
|
|
2087
2140
|
*/
|
|
2088
2141
|
createBackup(organisation, application, environment, type, createBackupRequest, options) {
|
|
2089
|
-
var _a, _b, _c;
|
|
2090
2142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2143
|
+
var _a, _b, _c;
|
|
2091
2144
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createBackup(organisation, application, environment, type, createBackupRequest, options);
|
|
2092
2145
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2093
2146
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BackupManagementApi.createBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2106,8 +2159,8 @@ export const BackupManagementApiFp = function (configuration) {
|
|
|
2106
2159
|
* @throws {RequiredError}
|
|
2107
2160
|
*/
|
|
2108
2161
|
deleteBackup(organisation, application, environment, type, backupId, options) {
|
|
2109
|
-
var _a, _b, _c;
|
|
2110
2162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2163
|
+
var _a, _b, _c;
|
|
2111
2164
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteBackup(organisation, application, environment, type, backupId, options);
|
|
2112
2165
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2113
2166
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BackupManagementApi.deleteBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2126,8 +2179,8 @@ export const BackupManagementApiFp = function (configuration) {
|
|
|
2126
2179
|
* @throws {RequiredError}
|
|
2127
2180
|
*/
|
|
2128
2181
|
downloadBackup(organisation, application, environment, type, backupId, options) {
|
|
2129
|
-
var _a, _b, _c;
|
|
2130
2182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2183
|
+
var _a, _b, _c;
|
|
2131
2184
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadBackup(organisation, application, environment, type, backupId, options);
|
|
2132
2185
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2133
2186
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BackupManagementApi.downloadBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2151,8 +2204,8 @@ export const BackupManagementApiFp = function (configuration) {
|
|
|
2151
2204
|
* @throws {RequiredError}
|
|
2152
2205
|
*/
|
|
2153
2206
|
listBackups(organisation, application, environment, type, order, limit, createdBefore, createdAfter, status, nextToken, options) {
|
|
2154
|
-
var _a, _b, _c;
|
|
2155
2207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2208
|
+
var _a, _b, _c;
|
|
2156
2209
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listBackups(organisation, application, environment, type, order, limit, createdBefore, createdAfter, status, nextToken, options);
|
|
2157
2210
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2158
2211
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BackupManagementApi.listBackups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2362,7 +2415,7 @@ export const CommandsApiAxiosParamCreator = function (configuration) {
|
|
|
2362
2415
|
* @param {*} [options] Override http request option.
|
|
2363
2416
|
* @throws {RequiredError}
|
|
2364
2417
|
*/
|
|
2365
|
-
createCommand: (
|
|
2418
|
+
createCommand: (organisation_1, environment_1, createCommandRequest_1, ...args_1) => __awaiter(this, [organisation_1, environment_1, createCommandRequest_1, ...args_1], void 0, function* (organisation, environment, createCommandRequest, options = {}) {
|
|
2366
2419
|
// verify required parameter 'organisation' is not null or undefined
|
|
2367
2420
|
assertParamExists('createCommand', 'organisation', organisation);
|
|
2368
2421
|
// verify required parameter 'environment' is not null or undefined
|
|
@@ -2403,7 +2456,7 @@ export const CommandsApiAxiosParamCreator = function (configuration) {
|
|
|
2403
2456
|
* @param {*} [options] Override http request option.
|
|
2404
2457
|
* @throws {RequiredError}
|
|
2405
2458
|
*/
|
|
2406
|
-
getCommand: (
|
|
2459
|
+
getCommand: (organisation_1, environment_1, command_1, ...args_1) => __awaiter(this, [organisation_1, environment_1, command_1, ...args_1], void 0, function* (organisation, environment, command, options = {}) {
|
|
2407
2460
|
// verify required parameter 'organisation' is not null or undefined
|
|
2408
2461
|
assertParamExists('getCommand', 'organisation', organisation);
|
|
2409
2462
|
// verify required parameter 'environment' is not null or undefined
|
|
@@ -2442,7 +2495,7 @@ export const CommandsApiAxiosParamCreator = function (configuration) {
|
|
|
2442
2495
|
* @param {*} [options] Override http request option.
|
|
2443
2496
|
* @throws {RequiredError}
|
|
2444
2497
|
*/
|
|
2445
|
-
listCommands: (
|
|
2498
|
+
listCommands: (organisation_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, environment_1, ...args_1], void 0, function* (organisation, environment, options = {}) {
|
|
2446
2499
|
// verify required parameter 'organisation' is not null or undefined
|
|
2447
2500
|
assertParamExists('listCommands', 'organisation', organisation);
|
|
2448
2501
|
// verify required parameter 'environment' is not null or undefined
|
|
@@ -2489,8 +2542,8 @@ export const CommandsApiFp = function (configuration) {
|
|
|
2489
2542
|
* @throws {RequiredError}
|
|
2490
2543
|
*/
|
|
2491
2544
|
createCommand(organisation, environment, createCommandRequest, options) {
|
|
2492
|
-
var _a, _b, _c;
|
|
2493
2545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2546
|
+
var _a, _b, _c;
|
|
2494
2547
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createCommand(organisation, environment, createCommandRequest, options);
|
|
2495
2548
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2496
2549
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommandsApi.createCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2507,8 +2560,8 @@ export const CommandsApiFp = function (configuration) {
|
|
|
2507
2560
|
* @throws {RequiredError}
|
|
2508
2561
|
*/
|
|
2509
2562
|
getCommand(organisation, environment, command, options) {
|
|
2510
|
-
var _a, _b, _c;
|
|
2511
2563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2564
|
+
var _a, _b, _c;
|
|
2512
2565
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCommand(organisation, environment, command, options);
|
|
2513
2566
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2514
2567
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommandsApi.getCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2524,8 +2577,8 @@ export const CommandsApiFp = function (configuration) {
|
|
|
2524
2577
|
* @throws {RequiredError}
|
|
2525
2578
|
*/
|
|
2526
2579
|
listCommands(organisation, environment, options) {
|
|
2527
|
-
var _a, _b, _c;
|
|
2528
2580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2581
|
+
var _a, _b, _c;
|
|
2529
2582
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCommands(organisation, environment, options);
|
|
2530
2583
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2531
2584
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CommandsApi.listCommands']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2631,22 +2684,65 @@ export class CommandsApi extends BaseAPI {
|
|
|
2631
2684
|
export const ComposeApiAxiosParamCreator = function (configuration) {
|
|
2632
2685
|
return {
|
|
2633
2686
|
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @summary Get the compose file for an environment
|
|
2687
|
+
*
|
|
2688
|
+
* @summary Get the compose file for an environment
|
|
2689
|
+
* @param {string} organisation The organisation ID
|
|
2690
|
+
* @param {string} application The application ID
|
|
2691
|
+
* @param {string} environment The environment ID
|
|
2692
|
+
* @param {*} [options] Override http request option.
|
|
2693
|
+
* @throws {RequiredError}
|
|
2694
|
+
*/
|
|
2695
|
+
getEnvironmentCompose: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
2696
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
2697
|
+
assertParamExists('getEnvironmentCompose', 'organisation', organisation);
|
|
2698
|
+
// verify required parameter 'application' is not null or undefined
|
|
2699
|
+
assertParamExists('getEnvironmentCompose', 'application', application);
|
|
2700
|
+
// verify required parameter 'environment' is not null or undefined
|
|
2701
|
+
assertParamExists('getEnvironmentCompose', 'environment', environment);
|
|
2702
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/compose`
|
|
2703
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
2704
|
+
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
2705
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
2706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2708
|
+
let baseOptions;
|
|
2709
|
+
if (configuration) {
|
|
2710
|
+
baseOptions = configuration.baseOptions;
|
|
2711
|
+
}
|
|
2712
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2713
|
+
const localVarHeaderParameter = {};
|
|
2714
|
+
const localVarQueryParameter = {};
|
|
2715
|
+
// authentication BearerAuth required
|
|
2716
|
+
// http bearer authentication required
|
|
2717
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2720
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2721
|
+
return {
|
|
2722
|
+
url: toPathString(localVarUrlObj),
|
|
2723
|
+
options: localVarRequestOptions,
|
|
2724
|
+
};
|
|
2725
|
+
}),
|
|
2726
|
+
/**
|
|
2727
|
+
* Partially updates top-level fields of the environment\'s compose definition, such as architecture, task-level CPU/Memory, or min/max scaling capacity. Only fields included in the request body are modified. The \'containers\' array, if provided, REPLACES the existing containers array; if omitted, the existing containers are NOT modified by this PATCH operation. (For modifying individual containers, use PATCH /containers/{containerName}). This triggers a validation, registers a new task definition, and updates the service.
|
|
2728
|
+
* @summary Partially Update Environment Compose Definition
|
|
2636
2729
|
* @param {string} organisation The organisation ID
|
|
2637
2730
|
* @param {string} application The application ID
|
|
2638
2731
|
* @param {string} environment The environment ID
|
|
2732
|
+
* @param {PatchEnvironmentComposeRequest} patchEnvironmentComposeRequest Partial compose definition updates. All fields are optional.
|
|
2639
2733
|
* @param {*} [options] Override http request option.
|
|
2640
2734
|
* @throws {RequiredError}
|
|
2641
2735
|
*/
|
|
2642
|
-
|
|
2736
|
+
patchEnvironmentCompose: (organisation_1, application_1, environment_1, patchEnvironmentComposeRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, patchEnvironmentComposeRequest_1, ...args_1], void 0, function* (organisation, application, environment, patchEnvironmentComposeRequest, options = {}) {
|
|
2643
2737
|
// verify required parameter 'organisation' is not null or undefined
|
|
2644
|
-
assertParamExists('
|
|
2738
|
+
assertParamExists('patchEnvironmentCompose', 'organisation', organisation);
|
|
2645
2739
|
// verify required parameter 'application' is not null or undefined
|
|
2646
|
-
assertParamExists('
|
|
2740
|
+
assertParamExists('patchEnvironmentCompose', 'application', application);
|
|
2647
2741
|
// verify required parameter 'environment' is not null or undefined
|
|
2648
|
-
assertParamExists('
|
|
2649
|
-
|
|
2742
|
+
assertParamExists('patchEnvironmentCompose', 'environment', environment);
|
|
2743
|
+
// verify required parameter 'patchEnvironmentComposeRequest' is not null or undefined
|
|
2744
|
+
assertParamExists('patchEnvironmentCompose', 'patchEnvironmentComposeRequest', patchEnvironmentComposeRequest);
|
|
2745
|
+
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/compose`
|
|
2650
2746
|
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
2651
2747
|
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
2652
2748
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
@@ -2656,22 +2752,24 @@ export const ComposeApiAxiosParamCreator = function (configuration) {
|
|
|
2656
2752
|
if (configuration) {
|
|
2657
2753
|
baseOptions = configuration.baseOptions;
|
|
2658
2754
|
}
|
|
2659
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
2755
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
2660
2756
|
const localVarHeaderParameter = {};
|
|
2661
2757
|
const localVarQueryParameter = {};
|
|
2662
2758
|
// authentication BearerAuth required
|
|
2663
2759
|
// http bearer authentication required
|
|
2664
2760
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2761
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2665
2762
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2666
2763
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2667
2764
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2765
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchEnvironmentComposeRequest, localVarRequestOptions, configuration);
|
|
2668
2766
|
return {
|
|
2669
2767
|
url: toPathString(localVarUrlObj),
|
|
2670
2768
|
options: localVarRequestOptions,
|
|
2671
2769
|
};
|
|
2672
2770
|
}),
|
|
2673
2771
|
/**
|
|
2674
|
-
* Accepts a docker-compose.yml file content, translates it into the internal compose definition format, and validates it. Supports image tag suffixing via the imageSuffix query parameter or by sending a JSON wrapper with yamlContent and imageSuffix fields. When provided, internal image tags are transformed to {containerName}-{suffix} format (e.g., \'nginx-feature-xyz\').
|
|
2772
|
+
* Accepts a docker-compose.yml file content, translates it into the internal compose definition format, and validates it. Quant Cloud provides comprehensive support for standard Docker Compose features including commands, entrypoints, health checks, dependencies, volume mounts, resource limits, and more. For detailed documentation on supported features and examples, see: https://docs.quantcdn.io/introduction-to-quant-cloud/importing-docker-compose/. Supports image tag suffixing via the imageSuffix query parameter or by sending a JSON wrapper with yamlContent and imageSuffix fields. When provided, internal image tags are transformed to {containerName}-{suffix} format (e.g., \'nginx-feature-xyz\').
|
|
2675
2773
|
* @summary Validate a compose file
|
|
2676
2774
|
* @param {string} organisation The organisation ID
|
|
2677
2775
|
* @param {ValidateComposeRequest} validateComposeRequest The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided.
|
|
@@ -2679,7 +2777,7 @@ export const ComposeApiAxiosParamCreator = function (configuration) {
|
|
|
2679
2777
|
* @param {*} [options] Override http request option.
|
|
2680
2778
|
* @throws {RequiredError}
|
|
2681
2779
|
*/
|
|
2682
|
-
validateCompose: (
|
|
2780
|
+
validateCompose: (organisation_1, validateComposeRequest_1, imageSuffix_1, ...args_1) => __awaiter(this, [organisation_1, validateComposeRequest_1, imageSuffix_1, ...args_1], void 0, function* (organisation, validateComposeRequest, imageSuffix, options = {}) {
|
|
2683
2781
|
// verify required parameter 'organisation' is not null or undefined
|
|
2684
2782
|
assertParamExists('validateCompose', 'organisation', organisation);
|
|
2685
2783
|
// verify required parameter 'validateComposeRequest' is not null or undefined
|
|
@@ -2730,8 +2828,8 @@ export const ComposeApiFp = function (configuration) {
|
|
|
2730
2828
|
* @throws {RequiredError}
|
|
2731
2829
|
*/
|
|
2732
2830
|
getEnvironmentCompose(organisation, application, environment, options) {
|
|
2733
|
-
var _a, _b, _c;
|
|
2734
2831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2832
|
+
var _a, _b, _c;
|
|
2735
2833
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentCompose(organisation, application, environment, options);
|
|
2736
2834
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2737
2835
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ComposeApi.getEnvironmentCompose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2739,7 +2837,26 @@ export const ComposeApiFp = function (configuration) {
|
|
|
2739
2837
|
});
|
|
2740
2838
|
},
|
|
2741
2839
|
/**
|
|
2742
|
-
*
|
|
2840
|
+
* Partially updates top-level fields of the environment\'s compose definition, such as architecture, task-level CPU/Memory, or min/max scaling capacity. Only fields included in the request body are modified. The \'containers\' array, if provided, REPLACES the existing containers array; if omitted, the existing containers are NOT modified by this PATCH operation. (For modifying individual containers, use PATCH /containers/{containerName}). This triggers a validation, registers a new task definition, and updates the service.
|
|
2841
|
+
* @summary Partially Update Environment Compose Definition
|
|
2842
|
+
* @param {string} organisation The organisation ID
|
|
2843
|
+
* @param {string} application The application ID
|
|
2844
|
+
* @param {string} environment The environment ID
|
|
2845
|
+
* @param {PatchEnvironmentComposeRequest} patchEnvironmentComposeRequest Partial compose definition updates. All fields are optional.
|
|
2846
|
+
* @param {*} [options] Override http request option.
|
|
2847
|
+
* @throws {RequiredError}
|
|
2848
|
+
*/
|
|
2849
|
+
patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options) {
|
|
2850
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2851
|
+
var _a, _b, _c;
|
|
2852
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options);
|
|
2853
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2854
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ComposeApi.patchEnvironmentCompose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2856
|
+
});
|
|
2857
|
+
},
|
|
2858
|
+
/**
|
|
2859
|
+
* Accepts a docker-compose.yml file content, translates it into the internal compose definition format, and validates it. Quant Cloud provides comprehensive support for standard Docker Compose features including commands, entrypoints, health checks, dependencies, volume mounts, resource limits, and more. For detailed documentation on supported features and examples, see: https://docs.quantcdn.io/introduction-to-quant-cloud/importing-docker-compose/. Supports image tag suffixing via the imageSuffix query parameter or by sending a JSON wrapper with yamlContent and imageSuffix fields. When provided, internal image tags are transformed to {containerName}-{suffix} format (e.g., \'nginx-feature-xyz\').
|
|
2743
2860
|
* @summary Validate a compose file
|
|
2744
2861
|
* @param {string} organisation The organisation ID
|
|
2745
2862
|
* @param {ValidateComposeRequest} validateComposeRequest The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided.
|
|
@@ -2748,8 +2865,8 @@ export const ComposeApiFp = function (configuration) {
|
|
|
2748
2865
|
* @throws {RequiredError}
|
|
2749
2866
|
*/
|
|
2750
2867
|
validateCompose(organisation, validateComposeRequest, imageSuffix, options) {
|
|
2751
|
-
var _a, _b, _c;
|
|
2752
2868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2869
|
+
var _a, _b, _c;
|
|
2753
2870
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.validateCompose(organisation, validateComposeRequest, imageSuffix, options);
|
|
2754
2871
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2755
2872
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ComposeApi.validateCompose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2778,7 +2895,20 @@ export const ComposeApiFactory = function (configuration, basePath, axios) {
|
|
|
2778
2895
|
return localVarFp.getEnvironmentCompose(organisation, application, environment, options).then((request) => request(axios, basePath));
|
|
2779
2896
|
},
|
|
2780
2897
|
/**
|
|
2781
|
-
*
|
|
2898
|
+
* Partially updates top-level fields of the environment\'s compose definition, such as architecture, task-level CPU/Memory, or min/max scaling capacity. Only fields included in the request body are modified. The \'containers\' array, if provided, REPLACES the existing containers array; if omitted, the existing containers are NOT modified by this PATCH operation. (For modifying individual containers, use PATCH /containers/{containerName}). This triggers a validation, registers a new task definition, and updates the service.
|
|
2899
|
+
* @summary Partially Update Environment Compose Definition
|
|
2900
|
+
* @param {string} organisation The organisation ID
|
|
2901
|
+
* @param {string} application The application ID
|
|
2902
|
+
* @param {string} environment The environment ID
|
|
2903
|
+
* @param {PatchEnvironmentComposeRequest} patchEnvironmentComposeRequest Partial compose definition updates. All fields are optional.
|
|
2904
|
+
* @param {*} [options] Override http request option.
|
|
2905
|
+
* @throws {RequiredError}
|
|
2906
|
+
*/
|
|
2907
|
+
patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options) {
|
|
2908
|
+
return localVarFp.patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options).then((request) => request(axios, basePath));
|
|
2909
|
+
},
|
|
2910
|
+
/**
|
|
2911
|
+
* Accepts a docker-compose.yml file content, translates it into the internal compose definition format, and validates it. Quant Cloud provides comprehensive support for standard Docker Compose features including commands, entrypoints, health checks, dependencies, volume mounts, resource limits, and more. For detailed documentation on supported features and examples, see: https://docs.quantcdn.io/introduction-to-quant-cloud/importing-docker-compose/. Supports image tag suffixing via the imageSuffix query parameter or by sending a JSON wrapper with yamlContent and imageSuffix fields. When provided, internal image tags are transformed to {containerName}-{suffix} format (e.g., \'nginx-feature-xyz\').
|
|
2782
2912
|
* @summary Validate a compose file
|
|
2783
2913
|
* @param {string} organisation The organisation ID
|
|
2784
2914
|
* @param {ValidateComposeRequest} validateComposeRequest The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided.
|
|
@@ -2812,7 +2942,21 @@ export class ComposeApi extends BaseAPI {
|
|
|
2812
2942
|
return ComposeApiFp(this.configuration).getEnvironmentCompose(organisation, application, environment, options).then((request) => request(this.axios, this.basePath));
|
|
2813
2943
|
}
|
|
2814
2944
|
/**
|
|
2815
|
-
*
|
|
2945
|
+
* Partially updates top-level fields of the environment\'s compose definition, such as architecture, task-level CPU/Memory, or min/max scaling capacity. Only fields included in the request body are modified. The \'containers\' array, if provided, REPLACES the existing containers array; if omitted, the existing containers are NOT modified by this PATCH operation. (For modifying individual containers, use PATCH /containers/{containerName}). This triggers a validation, registers a new task definition, and updates the service.
|
|
2946
|
+
* @summary Partially Update Environment Compose Definition
|
|
2947
|
+
* @param {string} organisation The organisation ID
|
|
2948
|
+
* @param {string} application The application ID
|
|
2949
|
+
* @param {string} environment The environment ID
|
|
2950
|
+
* @param {PatchEnvironmentComposeRequest} patchEnvironmentComposeRequest Partial compose definition updates. All fields are optional.
|
|
2951
|
+
* @param {*} [options] Override http request option.
|
|
2952
|
+
* @throws {RequiredError}
|
|
2953
|
+
* @memberof ComposeApi
|
|
2954
|
+
*/
|
|
2955
|
+
patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options) {
|
|
2956
|
+
return ComposeApiFp(this.configuration).patchEnvironmentCompose(organisation, application, environment, patchEnvironmentComposeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2957
|
+
}
|
|
2958
|
+
/**
|
|
2959
|
+
* Accepts a docker-compose.yml file content, translates it into the internal compose definition format, and validates it. Quant Cloud provides comprehensive support for standard Docker Compose features including commands, entrypoints, health checks, dependencies, volume mounts, resource limits, and more. For detailed documentation on supported features and examples, see: https://docs.quantcdn.io/introduction-to-quant-cloud/importing-docker-compose/. Supports image tag suffixing via the imageSuffix query parameter or by sending a JSON wrapper with yamlContent and imageSuffix fields. When provided, internal image tags are transformed to {containerName}-{suffix} format (e.g., \'nginx-feature-xyz\').
|
|
2816
2960
|
* @summary Validate a compose file
|
|
2817
2961
|
* @param {string} organisation The organisation ID
|
|
2818
2962
|
* @param {ValidateComposeRequest} validateComposeRequest The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided.
|
|
@@ -2840,7 +2984,7 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
2840
2984
|
* @param {*} [options] Override http request option.
|
|
2841
2985
|
* @throws {RequiredError}
|
|
2842
2986
|
*/
|
|
2843
|
-
listContainers: (
|
|
2987
|
+
listContainers: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
2844
2988
|
// verify required parameter 'organisation' is not null or undefined
|
|
2845
2989
|
assertParamExists('listContainers', 'organisation', organisation);
|
|
2846
2990
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -2882,7 +3026,7 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
2882
3026
|
* @param {*} [options] Override http request option.
|
|
2883
3027
|
* @throws {RequiredError}
|
|
2884
3028
|
*/
|
|
2885
|
-
updateContainer: (
|
|
3029
|
+
updateContainer: (organisation_1, application_1, environment_1, container_1, container2_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, container_1, container2_1, ...args_1], void 0, function* (organisation, application, environment, container, container2, options = {}) {
|
|
2886
3030
|
// verify required parameter 'organisation' is not null or undefined
|
|
2887
3031
|
assertParamExists('updateContainer', 'organisation', organisation);
|
|
2888
3032
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -2939,8 +3083,8 @@ export const ContainersApiFp = function (configuration) {
|
|
|
2939
3083
|
* @throws {RequiredError}
|
|
2940
3084
|
*/
|
|
2941
3085
|
listContainers(organisation, application, environment, options) {
|
|
2942
|
-
var _a, _b, _c;
|
|
2943
3086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3087
|
+
var _a, _b, _c;
|
|
2944
3088
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listContainers(organisation, application, environment, options);
|
|
2945
3089
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2946
3090
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ContainersApi.listContainers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -2959,8 +3103,8 @@ export const ContainersApiFp = function (configuration) {
|
|
|
2959
3103
|
* @throws {RequiredError}
|
|
2960
3104
|
*/
|
|
2961
3105
|
updateContainer(organisation, application, environment, container, container2, options) {
|
|
2962
|
-
var _a, _b, _c;
|
|
2963
3106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3107
|
+
var _a, _b, _c;
|
|
2964
3108
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateContainer(organisation, application, environment, container, container2, options);
|
|
2965
3109
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2966
3110
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ContainersApi.updateContainer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3056,7 +3200,7 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3056
3200
|
* @param {*} [options] Override http request option.
|
|
3057
3201
|
* @throws {RequiredError}
|
|
3058
3202
|
*/
|
|
3059
|
-
crawlerSchedulesAdd: (
|
|
3203
|
+
crawlerSchedulesAdd: (organization_1, project_1, crawler_1, v2CrawlerScheduleRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, v2CrawlerScheduleRequest_1, ...args_1], void 0, function* (organization, project, crawler, v2CrawlerScheduleRequest, options = {}) {
|
|
3060
3204
|
// verify required parameter 'organization' is not null or undefined
|
|
3061
3205
|
assertParamExists('crawlerSchedulesAdd', 'organization', organization);
|
|
3062
3206
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3101,7 +3245,7 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3101
3245
|
* @param {*} [options] Override http request option.
|
|
3102
3246
|
* @throws {RequiredError}
|
|
3103
3247
|
*/
|
|
3104
|
-
crawlerSchedulesDelete: (
|
|
3248
|
+
crawlerSchedulesDelete: (organization_1, project_1, crawler_1, crawlerSchedule_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, crawlerSchedule_1, ...args_1], void 0, function* (organization, project, crawler, crawlerSchedule, options = {}) {
|
|
3105
3249
|
// verify required parameter 'organization' is not null or undefined
|
|
3106
3250
|
assertParamExists('crawlerSchedulesDelete', 'organization', organization);
|
|
3107
3251
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3110,7 +3254,7 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3110
3254
|
assertParamExists('crawlerSchedulesDelete', 'crawler', crawler);
|
|
3111
3255
|
// verify required parameter 'crawlerSchedule' is not null or undefined
|
|
3112
3256
|
assertParamExists('crawlerSchedulesDelete', 'crawlerSchedule', crawlerSchedule);
|
|
3113
|
-
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/schedules`
|
|
3257
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/schedules/{crawler_schedule}`
|
|
3114
3258
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
3115
3259
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3116
3260
|
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)))
|
|
@@ -3141,23 +3285,27 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3141
3285
|
* @param {string} organization Organization identifier
|
|
3142
3286
|
* @param {string} project Project identifier
|
|
3143
3287
|
* @param {string} crawler Crawler identifier
|
|
3288
|
+
* @param {string} crawlerSchedule Crawler schedule identifier
|
|
3144
3289
|
* @param {V2CrawlerScheduleRequest} v2CrawlerScheduleRequest
|
|
3145
3290
|
* @param {*} [options] Override http request option.
|
|
3146
3291
|
* @throws {RequiredError}
|
|
3147
3292
|
*/
|
|
3148
|
-
crawlerSchedulesEdit: (
|
|
3293
|
+
crawlerSchedulesEdit: (organization_1, project_1, crawler_1, crawlerSchedule_1, v2CrawlerScheduleRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, crawlerSchedule_1, v2CrawlerScheduleRequest_1, ...args_1], void 0, function* (organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options = {}) {
|
|
3149
3294
|
// verify required parameter 'organization' is not null or undefined
|
|
3150
3295
|
assertParamExists('crawlerSchedulesEdit', 'organization', organization);
|
|
3151
3296
|
// verify required parameter 'project' is not null or undefined
|
|
3152
3297
|
assertParamExists('crawlerSchedulesEdit', 'project', project);
|
|
3153
3298
|
// verify required parameter 'crawler' is not null or undefined
|
|
3154
3299
|
assertParamExists('crawlerSchedulesEdit', 'crawler', crawler);
|
|
3300
|
+
// verify required parameter 'crawlerSchedule' is not null or undefined
|
|
3301
|
+
assertParamExists('crawlerSchedulesEdit', 'crawlerSchedule', crawlerSchedule);
|
|
3155
3302
|
// verify required parameter 'v2CrawlerScheduleRequest' is not null or undefined
|
|
3156
3303
|
assertParamExists('crawlerSchedulesEdit', 'v2CrawlerScheduleRequest', v2CrawlerScheduleRequest);
|
|
3157
|
-
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/schedules`
|
|
3304
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/schedules/{crawler_schedule}`
|
|
3158
3305
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
3159
3306
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3160
|
-
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)))
|
|
3307
|
+
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)))
|
|
3308
|
+
.replace(`{${"crawler_schedule"}}`, encodeURIComponent(String(crawlerSchedule)));
|
|
3161
3309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3162
3310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3163
3311
|
let baseOptions;
|
|
@@ -3189,7 +3337,7 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3189
3337
|
* @param {*} [options] Override http request option.
|
|
3190
3338
|
* @throws {RequiredError}
|
|
3191
3339
|
*/
|
|
3192
|
-
crawlerSchedulesList: (
|
|
3340
|
+
crawlerSchedulesList: (organization_1, project_1, crawler_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, ...args_1], void 0, function* (organization, project, crawler, options = {}) {
|
|
3193
3341
|
// verify required parameter 'organization' is not null or undefined
|
|
3194
3342
|
assertParamExists('crawlerSchedulesList', 'organization', organization);
|
|
3195
3343
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3230,7 +3378,7 @@ export const CrawlerSchedulesApiAxiosParamCreator = function (configuration) {
|
|
|
3230
3378
|
* @param {*} [options] Override http request option.
|
|
3231
3379
|
* @throws {RequiredError}
|
|
3232
3380
|
*/
|
|
3233
|
-
crawlerSchedulesShow: (
|
|
3381
|
+
crawlerSchedulesShow: (organization_1, project_1, crawler_1, crawlerSchedule_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, crawlerSchedule_1, ...args_1], void 0, function* (organization, project, crawler, crawlerSchedule, options = {}) {
|
|
3234
3382
|
// verify required parameter 'organization' is not null or undefined
|
|
3235
3383
|
assertParamExists('crawlerSchedulesShow', 'organization', organization);
|
|
3236
3384
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3284,8 +3432,8 @@ export const CrawlerSchedulesApiFp = function (configuration) {
|
|
|
3284
3432
|
* @throws {RequiredError}
|
|
3285
3433
|
*/
|
|
3286
3434
|
crawlerSchedulesAdd(organization, project, crawler, v2CrawlerScheduleRequest, options) {
|
|
3287
|
-
var _a, _b, _c;
|
|
3288
3435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3436
|
+
var _a, _b, _c;
|
|
3289
3437
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlerSchedulesAdd(organization, project, crawler, v2CrawlerScheduleRequest, options);
|
|
3290
3438
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3291
3439
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlerSchedulesApi.crawlerSchedulesAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3303,8 +3451,8 @@ export const CrawlerSchedulesApiFp = function (configuration) {
|
|
|
3303
3451
|
* @throws {RequiredError}
|
|
3304
3452
|
*/
|
|
3305
3453
|
crawlerSchedulesDelete(organization, project, crawler, crawlerSchedule, options) {
|
|
3306
|
-
var _a, _b, _c;
|
|
3307
3454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3455
|
+
var _a, _b, _c;
|
|
3308
3456
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlerSchedulesDelete(organization, project, crawler, crawlerSchedule, options);
|
|
3309
3457
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3310
3458
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlerSchedulesApi.crawlerSchedulesDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3317,14 +3465,15 @@ export const CrawlerSchedulesApiFp = function (configuration) {
|
|
|
3317
3465
|
* @param {string} organization Organization identifier
|
|
3318
3466
|
* @param {string} project Project identifier
|
|
3319
3467
|
* @param {string} crawler Crawler identifier
|
|
3468
|
+
* @param {string} crawlerSchedule Crawler schedule identifier
|
|
3320
3469
|
* @param {V2CrawlerScheduleRequest} v2CrawlerScheduleRequest
|
|
3321
3470
|
* @param {*} [options] Override http request option.
|
|
3322
3471
|
* @throws {RequiredError}
|
|
3323
3472
|
*/
|
|
3324
|
-
crawlerSchedulesEdit(organization, project, crawler, v2CrawlerScheduleRequest, options) {
|
|
3325
|
-
var _a, _b, _c;
|
|
3473
|
+
crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options) {
|
|
3326
3474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3327
|
-
|
|
3475
|
+
var _a, _b, _c;
|
|
3476
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options);
|
|
3328
3477
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3329
3478
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlerSchedulesApi.crawlerSchedulesEdit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3330
3479
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3340,8 +3489,8 @@ export const CrawlerSchedulesApiFp = function (configuration) {
|
|
|
3340
3489
|
* @throws {RequiredError}
|
|
3341
3490
|
*/
|
|
3342
3491
|
crawlerSchedulesList(organization, project, crawler, options) {
|
|
3343
|
-
var _a, _b, _c;
|
|
3344
3492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3493
|
+
var _a, _b, _c;
|
|
3345
3494
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlerSchedulesList(organization, project, crawler, options);
|
|
3346
3495
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3347
3496
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlerSchedulesApi.crawlerSchedulesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3359,8 +3508,8 @@ export const CrawlerSchedulesApiFp = function (configuration) {
|
|
|
3359
3508
|
* @throws {RequiredError}
|
|
3360
3509
|
*/
|
|
3361
3510
|
crawlerSchedulesShow(organization, project, crawler, crawlerSchedule, options) {
|
|
3362
|
-
var _a, _b, _c;
|
|
3363
3511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3512
|
+
var _a, _b, _c;
|
|
3364
3513
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlerSchedulesShow(organization, project, crawler, crawlerSchedule, options);
|
|
3365
3514
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3366
3515
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlerSchedulesApi.crawlerSchedulesShow']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3408,12 +3557,13 @@ export const CrawlerSchedulesApiFactory = function (configuration, basePath, axi
|
|
|
3408
3557
|
* @param {string} organization Organization identifier
|
|
3409
3558
|
* @param {string} project Project identifier
|
|
3410
3559
|
* @param {string} crawler Crawler identifier
|
|
3560
|
+
* @param {string} crawlerSchedule Crawler schedule identifier
|
|
3411
3561
|
* @param {V2CrawlerScheduleRequest} v2CrawlerScheduleRequest
|
|
3412
3562
|
* @param {*} [options] Override http request option.
|
|
3413
3563
|
* @throws {RequiredError}
|
|
3414
3564
|
*/
|
|
3415
|
-
crawlerSchedulesEdit(organization, project, crawler, v2CrawlerScheduleRequest, options) {
|
|
3416
|
-
return localVarFp.crawlerSchedulesEdit(organization, project, crawler, v2CrawlerScheduleRequest, options).then((request) => request(axios, basePath));
|
|
3565
|
+
crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options) {
|
|
3566
|
+
return localVarFp.crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options).then((request) => request(axios, basePath));
|
|
3417
3567
|
},
|
|
3418
3568
|
/**
|
|
3419
3569
|
*
|
|
@@ -3483,13 +3633,14 @@ export class CrawlerSchedulesApi extends BaseAPI {
|
|
|
3483
3633
|
* @param {string} organization Organization identifier
|
|
3484
3634
|
* @param {string} project Project identifier
|
|
3485
3635
|
* @param {string} crawler Crawler identifier
|
|
3636
|
+
* @param {string} crawlerSchedule Crawler schedule identifier
|
|
3486
3637
|
* @param {V2CrawlerScheduleRequest} v2CrawlerScheduleRequest
|
|
3487
3638
|
* @param {*} [options] Override http request option.
|
|
3488
3639
|
* @throws {RequiredError}
|
|
3489
3640
|
* @memberof CrawlerSchedulesApi
|
|
3490
3641
|
*/
|
|
3491
|
-
crawlerSchedulesEdit(organization, project, crawler, v2CrawlerScheduleRequest, options) {
|
|
3492
|
-
return CrawlerSchedulesApiFp(this.configuration).crawlerSchedulesEdit(organization, project, crawler, v2CrawlerScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3642
|
+
crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options) {
|
|
3643
|
+
return CrawlerSchedulesApiFp(this.configuration).crawlerSchedulesEdit(organization, project, crawler, crawlerSchedule, v2CrawlerScheduleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3493
3644
|
}
|
|
3494
3645
|
/**
|
|
3495
3646
|
*
|
|
@@ -3534,7 +3685,7 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3534
3685
|
* @param {*} [options] Override http request option.
|
|
3535
3686
|
* @throws {RequiredError}
|
|
3536
3687
|
*/
|
|
3537
|
-
crawlersCreate: (
|
|
3688
|
+
crawlersCreate: (organization_1, project_1, v2CrawlerRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2CrawlerRequest_1, ...args_1], void 0, function* (organization, project, v2CrawlerRequest, options = {}) {
|
|
3538
3689
|
// verify required parameter 'organization' is not null or undefined
|
|
3539
3690
|
assertParamExists('crawlersCreate', 'organization', organization);
|
|
3540
3691
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3575,7 +3726,7 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3575
3726
|
* @param {*} [options] Override http request option.
|
|
3576
3727
|
* @throws {RequiredError}
|
|
3577
3728
|
*/
|
|
3578
|
-
crawlersDelete: (
|
|
3729
|
+
crawlersDelete: (organization_1, project_1, crawler_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, ...args_1], void 0, function* (organization, project, crawler, options = {}) {
|
|
3579
3730
|
// verify required parameter 'organization' is not null or undefined
|
|
3580
3731
|
assertParamExists('crawlersDelete', 'organization', organization);
|
|
3581
3732
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3606,6 +3757,90 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3606
3757
|
options: localVarRequestOptions,
|
|
3607
3758
|
};
|
|
3608
3759
|
}),
|
|
3760
|
+
/**
|
|
3761
|
+
*
|
|
3762
|
+
* @summary Get a run by ID
|
|
3763
|
+
* @param {string} organization Organization identifier
|
|
3764
|
+
* @param {string} project Project identifier
|
|
3765
|
+
* @param {string} crawler Crawler identifier
|
|
3766
|
+
* @param {number} runId Run identifier
|
|
3767
|
+
* @param {*} [options] Override http request option.
|
|
3768
|
+
* @throws {RequiredError}
|
|
3769
|
+
*/
|
|
3770
|
+
crawlersGetRunById: (organization_1, project_1, crawler_1, runId_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, runId_1, ...args_1], void 0, function* (organization, project, crawler, runId, options = {}) {
|
|
3771
|
+
// verify required parameter 'organization' is not null or undefined
|
|
3772
|
+
assertParamExists('crawlersGetRunById', 'organization', organization);
|
|
3773
|
+
// verify required parameter 'project' is not null or undefined
|
|
3774
|
+
assertParamExists('crawlersGetRunById', 'project', project);
|
|
3775
|
+
// verify required parameter 'crawler' is not null or undefined
|
|
3776
|
+
assertParamExists('crawlersGetRunById', 'crawler', crawler);
|
|
3777
|
+
// verify required parameter 'runId' is not null or undefined
|
|
3778
|
+
assertParamExists('crawlersGetRunById', 'runId', runId);
|
|
3779
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/runs/{run_id}`
|
|
3780
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
3781
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3782
|
+
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)))
|
|
3783
|
+
.replace(`{${"run_id"}}`, encodeURIComponent(String(runId)));
|
|
3784
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3785
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3786
|
+
let baseOptions;
|
|
3787
|
+
if (configuration) {
|
|
3788
|
+
baseOptions = configuration.baseOptions;
|
|
3789
|
+
}
|
|
3790
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3791
|
+
const localVarHeaderParameter = {};
|
|
3792
|
+
const localVarQueryParameter = {};
|
|
3793
|
+
// authentication BearerAuth required
|
|
3794
|
+
// http bearer authentication required
|
|
3795
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3798
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3799
|
+
return {
|
|
3800
|
+
url: toPathString(localVarUrlObj),
|
|
3801
|
+
options: localVarRequestOptions,
|
|
3802
|
+
};
|
|
3803
|
+
}),
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @summary Get all runs for a crawler
|
|
3807
|
+
* @param {string} organization Organization identifier
|
|
3808
|
+
* @param {string} project Project identifier
|
|
3809
|
+
* @param {string} crawler Crawler identifier
|
|
3810
|
+
* @param {*} [options] Override http request option.
|
|
3811
|
+
* @throws {RequiredError}
|
|
3812
|
+
*/
|
|
3813
|
+
crawlersGetRuns: (organization_1, project_1, crawler_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, ...args_1], void 0, function* (organization, project, crawler, options = {}) {
|
|
3814
|
+
// verify required parameter 'organization' is not null or undefined
|
|
3815
|
+
assertParamExists('crawlersGetRuns', 'organization', organization);
|
|
3816
|
+
// verify required parameter 'project' is not null or undefined
|
|
3817
|
+
assertParamExists('crawlersGetRuns', 'project', project);
|
|
3818
|
+
// verify required parameter 'crawler' is not null or undefined
|
|
3819
|
+
assertParamExists('crawlersGetRuns', 'crawler', crawler);
|
|
3820
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/runs`
|
|
3821
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
3822
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3823
|
+
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)));
|
|
3824
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3826
|
+
let baseOptions;
|
|
3827
|
+
if (configuration) {
|
|
3828
|
+
baseOptions = configuration.baseOptions;
|
|
3829
|
+
}
|
|
3830
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3831
|
+
const localVarHeaderParameter = {};
|
|
3832
|
+
const localVarQueryParameter = {};
|
|
3833
|
+
// authentication BearerAuth required
|
|
3834
|
+
// http bearer authentication required
|
|
3835
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3836
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3838
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3839
|
+
return {
|
|
3840
|
+
url: toPathString(localVarUrlObj),
|
|
3841
|
+
options: localVarRequestOptions,
|
|
3842
|
+
};
|
|
3843
|
+
}),
|
|
3609
3844
|
/**
|
|
3610
3845
|
*
|
|
3611
3846
|
* @summary List crawlers for the project
|
|
@@ -3614,7 +3849,7 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3614
3849
|
* @param {*} [options] Override http request option.
|
|
3615
3850
|
* @throws {RequiredError}
|
|
3616
3851
|
*/
|
|
3617
|
-
crawlersList: (
|
|
3852
|
+
crawlersList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
3618
3853
|
// verify required parameter 'organization' is not null or undefined
|
|
3619
3854
|
assertParamExists('crawlersList', 'organization', organization);
|
|
3620
3855
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3651,7 +3886,7 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3651
3886
|
* @param {*} [options] Override http request option.
|
|
3652
3887
|
* @throws {RequiredError}
|
|
3653
3888
|
*/
|
|
3654
|
-
crawlersRead: (
|
|
3889
|
+
crawlersRead: (organization_1, project_1, crawler_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, ...args_1], void 0, function* (organization, project, crawler, options = {}) {
|
|
3655
3890
|
// verify required parameter 'organization' is not null or undefined
|
|
3656
3891
|
assertParamExists('crawlersRead', 'organization', organization);
|
|
3657
3892
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3682,6 +3917,51 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3682
3917
|
options: localVarRequestOptions,
|
|
3683
3918
|
};
|
|
3684
3919
|
}),
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @summary Run a crawler
|
|
3923
|
+
* @param {string} organization Organization identifier
|
|
3924
|
+
* @param {string} project Project identifier
|
|
3925
|
+
* @param {string} crawler Crawler identifier
|
|
3926
|
+
* @param {CrawlersRunRequest} crawlersRunRequest
|
|
3927
|
+
* @param {*} [options] Override http request option.
|
|
3928
|
+
* @throws {RequiredError}
|
|
3929
|
+
*/
|
|
3930
|
+
crawlersRun: (organization_1, project_1, crawler_1, crawlersRunRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, crawlersRunRequest_1, ...args_1], void 0, function* (organization, project, crawler, crawlersRunRequest, options = {}) {
|
|
3931
|
+
// verify required parameter 'organization' is not null or undefined
|
|
3932
|
+
assertParamExists('crawlersRun', 'organization', organization);
|
|
3933
|
+
// verify required parameter 'project' is not null or undefined
|
|
3934
|
+
assertParamExists('crawlersRun', 'project', project);
|
|
3935
|
+
// verify required parameter 'crawler' is not null or undefined
|
|
3936
|
+
assertParamExists('crawlersRun', 'crawler', crawler);
|
|
3937
|
+
// verify required parameter 'crawlersRunRequest' is not null or undefined
|
|
3938
|
+
assertParamExists('crawlersRun', 'crawlersRunRequest', crawlersRunRequest);
|
|
3939
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/run`
|
|
3940
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
3941
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
3942
|
+
.replace(`{${"crawler"}}`, encodeURIComponent(String(crawler)));
|
|
3943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3945
|
+
let baseOptions;
|
|
3946
|
+
if (configuration) {
|
|
3947
|
+
baseOptions = configuration.baseOptions;
|
|
3948
|
+
}
|
|
3949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3950
|
+
const localVarHeaderParameter = {};
|
|
3951
|
+
const localVarQueryParameter = {};
|
|
3952
|
+
// authentication BearerAuth required
|
|
3953
|
+
// http bearer authentication required
|
|
3954
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3955
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3956
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3957
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3958
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3959
|
+
localVarRequestOptions.data = serializeDataIfNeeded(crawlersRunRequest, localVarRequestOptions, configuration);
|
|
3960
|
+
return {
|
|
3961
|
+
url: toPathString(localVarUrlObj),
|
|
3962
|
+
options: localVarRequestOptions,
|
|
3963
|
+
};
|
|
3964
|
+
}),
|
|
3685
3965
|
/**
|
|
3686
3966
|
*
|
|
3687
3967
|
* @summary Update a crawler
|
|
@@ -3692,7 +3972,7 @@ export const CrawlersApiAxiosParamCreator = function (configuration) {
|
|
|
3692
3972
|
* @param {*} [options] Override http request option.
|
|
3693
3973
|
* @throws {RequiredError}
|
|
3694
3974
|
*/
|
|
3695
|
-
crawlersUpdate: (
|
|
3975
|
+
crawlersUpdate: (organization_1, project_1, crawler_1, v2CrawlerRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, crawler_1, v2CrawlerRequest_1, ...args_1], void 0, function* (organization, project, crawler, v2CrawlerRequest, options = {}) {
|
|
3696
3976
|
// verify required parameter 'organization' is not null or undefined
|
|
3697
3977
|
assertParamExists('crawlersUpdate', 'organization', organization);
|
|
3698
3978
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -3746,8 +4026,8 @@ export const CrawlersApiFp = function (configuration) {
|
|
|
3746
4026
|
* @throws {RequiredError}
|
|
3747
4027
|
*/
|
|
3748
4028
|
crawlersCreate(organization, project, v2CrawlerRequest, options) {
|
|
3749
|
-
var _a, _b, _c;
|
|
3750
4029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4030
|
+
var _a, _b, _c;
|
|
3751
4031
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersCreate(organization, project, v2CrawlerRequest, options);
|
|
3752
4032
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3753
4033
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3764,14 +4044,51 @@ export const CrawlersApiFp = function (configuration) {
|
|
|
3764
4044
|
* @throws {RequiredError}
|
|
3765
4045
|
*/
|
|
3766
4046
|
crawlersDelete(organization, project, crawler, options) {
|
|
3767
|
-
var _a, _b, _c;
|
|
3768
4047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4048
|
+
var _a, _b, _c;
|
|
3769
4049
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersDelete(organization, project, crawler, options);
|
|
3770
4050
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3771
4051
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3772
4052
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3773
4053
|
});
|
|
3774
4054
|
},
|
|
4055
|
+
/**
|
|
4056
|
+
*
|
|
4057
|
+
* @summary Get a run by ID
|
|
4058
|
+
* @param {string} organization Organization identifier
|
|
4059
|
+
* @param {string} project Project identifier
|
|
4060
|
+
* @param {string} crawler Crawler identifier
|
|
4061
|
+
* @param {number} runId Run identifier
|
|
4062
|
+
* @param {*} [options] Override http request option.
|
|
4063
|
+
* @throws {RequiredError}
|
|
4064
|
+
*/
|
|
4065
|
+
crawlersGetRunById(organization, project, crawler, runId, options) {
|
|
4066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4067
|
+
var _a, _b, _c;
|
|
4068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersGetRunById(organization, project, crawler, runId, options);
|
|
4069
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4070
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersGetRunById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4072
|
+
});
|
|
4073
|
+
},
|
|
4074
|
+
/**
|
|
4075
|
+
*
|
|
4076
|
+
* @summary Get all runs for a crawler
|
|
4077
|
+
* @param {string} organization Organization identifier
|
|
4078
|
+
* @param {string} project Project identifier
|
|
4079
|
+
* @param {string} crawler Crawler identifier
|
|
4080
|
+
* @param {*} [options] Override http request option.
|
|
4081
|
+
* @throws {RequiredError}
|
|
4082
|
+
*/
|
|
4083
|
+
crawlersGetRuns(organization, project, crawler, options) {
|
|
4084
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4085
|
+
var _a, _b, _c;
|
|
4086
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersGetRuns(organization, project, crawler, options);
|
|
4087
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4088
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersGetRuns']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4089
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4090
|
+
});
|
|
4091
|
+
},
|
|
3775
4092
|
/**
|
|
3776
4093
|
*
|
|
3777
4094
|
* @summary List crawlers for the project
|
|
@@ -3781,8 +4098,8 @@ export const CrawlersApiFp = function (configuration) {
|
|
|
3781
4098
|
* @throws {RequiredError}
|
|
3782
4099
|
*/
|
|
3783
4100
|
crawlersList(organization, project, options) {
|
|
3784
|
-
var _a, _b, _c;
|
|
3785
4101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4102
|
+
var _a, _b, _c;
|
|
3786
4103
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersList(organization, project, options);
|
|
3787
4104
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3788
4105
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3799,14 +4116,33 @@ export const CrawlersApiFp = function (configuration) {
|
|
|
3799
4116
|
* @throws {RequiredError}
|
|
3800
4117
|
*/
|
|
3801
4118
|
crawlersRead(organization, project, crawler, options) {
|
|
3802
|
-
var _a, _b, _c;
|
|
3803
4119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4120
|
+
var _a, _b, _c;
|
|
3804
4121
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersRead(organization, project, crawler, options);
|
|
3805
4122
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3806
4123
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3807
4124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3808
4125
|
});
|
|
3809
4126
|
},
|
|
4127
|
+
/**
|
|
4128
|
+
*
|
|
4129
|
+
* @summary Run a crawler
|
|
4130
|
+
* @param {string} organization Organization identifier
|
|
4131
|
+
* @param {string} project Project identifier
|
|
4132
|
+
* @param {string} crawler Crawler identifier
|
|
4133
|
+
* @param {CrawlersRunRequest} crawlersRunRequest
|
|
4134
|
+
* @param {*} [options] Override http request option.
|
|
4135
|
+
* @throws {RequiredError}
|
|
4136
|
+
*/
|
|
4137
|
+
crawlersRun(organization, project, crawler, crawlersRunRequest, options) {
|
|
4138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4139
|
+
var _a, _b, _c;
|
|
4140
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersRun(organization, project, crawler, crawlersRunRequest, options);
|
|
4141
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4142
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4144
|
+
});
|
|
4145
|
+
},
|
|
3810
4146
|
/**
|
|
3811
4147
|
*
|
|
3812
4148
|
* @summary Update a crawler
|
|
@@ -3818,8 +4154,8 @@ export const CrawlersApiFp = function (configuration) {
|
|
|
3818
4154
|
* @throws {RequiredError}
|
|
3819
4155
|
*/
|
|
3820
4156
|
crawlersUpdate(organization, project, crawler, v2CrawlerRequest, options) {
|
|
3821
|
-
var _a, _b, _c;
|
|
3822
4157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4158
|
+
var _a, _b, _c;
|
|
3823
4159
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.crawlersUpdate(organization, project, crawler, v2CrawlerRequest, options);
|
|
3824
4160
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3825
4161
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrawlersApi.crawlersUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -3859,6 +4195,31 @@ export const CrawlersApiFactory = function (configuration, basePath, axios) {
|
|
|
3859
4195
|
crawlersDelete(organization, project, crawler, options) {
|
|
3860
4196
|
return localVarFp.crawlersDelete(organization, project, crawler, options).then((request) => request(axios, basePath));
|
|
3861
4197
|
},
|
|
4198
|
+
/**
|
|
4199
|
+
*
|
|
4200
|
+
* @summary Get a run by ID
|
|
4201
|
+
* @param {string} organization Organization identifier
|
|
4202
|
+
* @param {string} project Project identifier
|
|
4203
|
+
* @param {string} crawler Crawler identifier
|
|
4204
|
+
* @param {number} runId Run identifier
|
|
4205
|
+
* @param {*} [options] Override http request option.
|
|
4206
|
+
* @throws {RequiredError}
|
|
4207
|
+
*/
|
|
4208
|
+
crawlersGetRunById(organization, project, crawler, runId, options) {
|
|
4209
|
+
return localVarFp.crawlersGetRunById(organization, project, crawler, runId, options).then((request) => request(axios, basePath));
|
|
4210
|
+
},
|
|
4211
|
+
/**
|
|
4212
|
+
*
|
|
4213
|
+
* @summary Get all runs for a crawler
|
|
4214
|
+
* @param {string} organization Organization identifier
|
|
4215
|
+
* @param {string} project Project identifier
|
|
4216
|
+
* @param {string} crawler Crawler identifier
|
|
4217
|
+
* @param {*} [options] Override http request option.
|
|
4218
|
+
* @throws {RequiredError}
|
|
4219
|
+
*/
|
|
4220
|
+
crawlersGetRuns(organization, project, crawler, options) {
|
|
4221
|
+
return localVarFp.crawlersGetRuns(organization, project, crawler, options).then((request) => request(axios, basePath));
|
|
4222
|
+
},
|
|
3862
4223
|
/**
|
|
3863
4224
|
*
|
|
3864
4225
|
* @summary List crawlers for the project
|
|
@@ -3882,6 +4243,19 @@ export const CrawlersApiFactory = function (configuration, basePath, axios) {
|
|
|
3882
4243
|
crawlersRead(organization, project, crawler, options) {
|
|
3883
4244
|
return localVarFp.crawlersRead(organization, project, crawler, options).then((request) => request(axios, basePath));
|
|
3884
4245
|
},
|
|
4246
|
+
/**
|
|
4247
|
+
*
|
|
4248
|
+
* @summary Run a crawler
|
|
4249
|
+
* @param {string} organization Organization identifier
|
|
4250
|
+
* @param {string} project Project identifier
|
|
4251
|
+
* @param {string} crawler Crawler identifier
|
|
4252
|
+
* @param {CrawlersRunRequest} crawlersRunRequest
|
|
4253
|
+
* @param {*} [options] Override http request option.
|
|
4254
|
+
* @throws {RequiredError}
|
|
4255
|
+
*/
|
|
4256
|
+
crawlersRun(organization, project, crawler, crawlersRunRequest, options) {
|
|
4257
|
+
return localVarFp.crawlersRun(organization, project, crawler, crawlersRunRequest, options).then((request) => request(axios, basePath));
|
|
4258
|
+
},
|
|
3885
4259
|
/**
|
|
3886
4260
|
*
|
|
3887
4261
|
* @summary Update a crawler
|
|
@@ -3930,6 +4304,33 @@ export class CrawlersApi extends BaseAPI {
|
|
|
3930
4304
|
crawlersDelete(organization, project, crawler, options) {
|
|
3931
4305
|
return CrawlersApiFp(this.configuration).crawlersDelete(organization, project, crawler, options).then((request) => request(this.axios, this.basePath));
|
|
3932
4306
|
}
|
|
4307
|
+
/**
|
|
4308
|
+
*
|
|
4309
|
+
* @summary Get a run by ID
|
|
4310
|
+
* @param {string} organization Organization identifier
|
|
4311
|
+
* @param {string} project Project identifier
|
|
4312
|
+
* @param {string} crawler Crawler identifier
|
|
4313
|
+
* @param {number} runId Run identifier
|
|
4314
|
+
* @param {*} [options] Override http request option.
|
|
4315
|
+
* @throws {RequiredError}
|
|
4316
|
+
* @memberof CrawlersApi
|
|
4317
|
+
*/
|
|
4318
|
+
crawlersGetRunById(organization, project, crawler, runId, options) {
|
|
4319
|
+
return CrawlersApiFp(this.configuration).crawlersGetRunById(organization, project, crawler, runId, options).then((request) => request(this.axios, this.basePath));
|
|
4320
|
+
}
|
|
4321
|
+
/**
|
|
4322
|
+
*
|
|
4323
|
+
* @summary Get all runs for a crawler
|
|
4324
|
+
* @param {string} organization Organization identifier
|
|
4325
|
+
* @param {string} project Project identifier
|
|
4326
|
+
* @param {string} crawler Crawler identifier
|
|
4327
|
+
* @param {*} [options] Override http request option.
|
|
4328
|
+
* @throws {RequiredError}
|
|
4329
|
+
* @memberof CrawlersApi
|
|
4330
|
+
*/
|
|
4331
|
+
crawlersGetRuns(organization, project, crawler, options) {
|
|
4332
|
+
return CrawlersApiFp(this.configuration).crawlersGetRuns(organization, project, crawler, options).then((request) => request(this.axios, this.basePath));
|
|
4333
|
+
}
|
|
3933
4334
|
/**
|
|
3934
4335
|
*
|
|
3935
4336
|
* @summary List crawlers for the project
|
|
@@ -3955,6 +4356,20 @@ export class CrawlersApi extends BaseAPI {
|
|
|
3955
4356
|
crawlersRead(organization, project, crawler, options) {
|
|
3956
4357
|
return CrawlersApiFp(this.configuration).crawlersRead(organization, project, crawler, options).then((request) => request(this.axios, this.basePath));
|
|
3957
4358
|
}
|
|
4359
|
+
/**
|
|
4360
|
+
*
|
|
4361
|
+
* @summary Run a crawler
|
|
4362
|
+
* @param {string} organization Organization identifier
|
|
4363
|
+
* @param {string} project Project identifier
|
|
4364
|
+
* @param {string} crawler Crawler identifier
|
|
4365
|
+
* @param {CrawlersRunRequest} crawlersRunRequest
|
|
4366
|
+
* @param {*} [options] Override http request option.
|
|
4367
|
+
* @throws {RequiredError}
|
|
4368
|
+
* @memberof CrawlersApi
|
|
4369
|
+
*/
|
|
4370
|
+
crawlersRun(organization, project, crawler, crawlersRunRequest, options) {
|
|
4371
|
+
return CrawlersApiFp(this.configuration).crawlersRun(organization, project, crawler, crawlersRunRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4372
|
+
}
|
|
3958
4373
|
/**
|
|
3959
4374
|
*
|
|
3960
4375
|
* @summary Update a crawler
|
|
@@ -3986,7 +4401,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
3986
4401
|
* @param {*} [options] Override http request option.
|
|
3987
4402
|
* @throws {RequiredError}
|
|
3988
4403
|
*/
|
|
3989
|
-
createCronJob: (
|
|
4404
|
+
createCronJob: (organisation_1, application_1, environment_1, createCronJobRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, createCronJobRequest_1, ...args_1], void 0, function* (organisation, application, environment, createCronJobRequest, options = {}) {
|
|
3990
4405
|
// verify required parameter 'organisation' is not null or undefined
|
|
3991
4406
|
assertParamExists('createCronJob', 'organisation', organisation);
|
|
3992
4407
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4031,7 +4446,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4031
4446
|
* @param {*} [options] Override http request option.
|
|
4032
4447
|
* @throws {RequiredError}
|
|
4033
4448
|
*/
|
|
4034
|
-
deleteCronJob: (
|
|
4449
|
+
deleteCronJob: (organisation_1, application_1, environment_1, cron_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, cron_1, ...args_1], void 0, function* (organisation, application, environment, cron, options = {}) {
|
|
4035
4450
|
// verify required parameter 'organisation' is not null or undefined
|
|
4036
4451
|
assertParamExists('deleteCronJob', 'organisation', organisation);
|
|
4037
4452
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4075,7 +4490,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4075
4490
|
* @param {*} [options] Override http request option.
|
|
4076
4491
|
* @throws {RequiredError}
|
|
4077
4492
|
*/
|
|
4078
|
-
getCronJob: (
|
|
4493
|
+
getCronJob: (organisation_1, application_1, environment_1, cron_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, cron_1, ...args_1], void 0, function* (organisation, application, environment, cron, options = {}) {
|
|
4079
4494
|
// verify required parameter 'organisation' is not null or undefined
|
|
4080
4495
|
assertParamExists('getCronJob', 'organisation', organisation);
|
|
4081
4496
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4120,7 +4535,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4120
4535
|
* @param {*} [options] Override http request option.
|
|
4121
4536
|
* @throws {RequiredError}
|
|
4122
4537
|
*/
|
|
4123
|
-
getCronRun: (
|
|
4538
|
+
getCronRun: (organisation_1, application_1, environment_1, cron_1, run_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, cron_1, run_1, ...args_1], void 0, function* (organisation, application, environment, cron, run, options = {}) {
|
|
4124
4539
|
// verify required parameter 'organisation' is not null or undefined
|
|
4125
4540
|
assertParamExists('getCronRun', 'organisation', organisation);
|
|
4126
4541
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4167,7 +4582,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4167
4582
|
* @param {*} [options] Override http request option.
|
|
4168
4583
|
* @throws {RequiredError}
|
|
4169
4584
|
*/
|
|
4170
|
-
listCronJobRuns: (
|
|
4585
|
+
listCronJobRuns: (organisation_1, application_1, environment_1, cron_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, cron_1, ...args_1], void 0, function* (organisation, application, environment, cron, options = {}) {
|
|
4171
4586
|
// verify required parameter 'organisation' is not null or undefined
|
|
4172
4587
|
assertParamExists('listCronJobRuns', 'organisation', organisation);
|
|
4173
4588
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4210,7 +4625,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4210
4625
|
* @param {*} [options] Override http request option.
|
|
4211
4626
|
* @throws {RequiredError}
|
|
4212
4627
|
*/
|
|
4213
|
-
listCronJobs: (
|
|
4628
|
+
listCronJobs: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
4214
4629
|
// verify required parameter 'organisation' is not null or undefined
|
|
4215
4630
|
assertParamExists('listCronJobs', 'organisation', organisation);
|
|
4216
4631
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4252,7 +4667,7 @@ export const CronApiAxiosParamCreator = function (configuration) {
|
|
|
4252
4667
|
* @param {*} [options] Override http request option.
|
|
4253
4668
|
* @throws {RequiredError}
|
|
4254
4669
|
*/
|
|
4255
|
-
updateCronJob: (
|
|
4670
|
+
updateCronJob: (organisation_1, application_1, environment_1, cron_1, updateCronJobRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, cron_1, updateCronJobRequest_1, ...args_1], void 0, function* (organisation, application, environment, cron, updateCronJobRequest, options = {}) {
|
|
4256
4671
|
// verify required parameter 'organisation' is not null or undefined
|
|
4257
4672
|
assertParamExists('updateCronJob', 'organisation', organisation);
|
|
4258
4673
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -4310,8 +4725,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4310
4725
|
* @throws {RequiredError}
|
|
4311
4726
|
*/
|
|
4312
4727
|
createCronJob(organisation, application, environment, createCronJobRequest, options) {
|
|
4313
|
-
var _a, _b, _c;
|
|
4314
4728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4729
|
+
var _a, _b, _c;
|
|
4315
4730
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createCronJob(organisation, application, environment, createCronJobRequest, options);
|
|
4316
4731
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4317
4732
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.createCronJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4329,8 +4744,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4329
4744
|
* @throws {RequiredError}
|
|
4330
4745
|
*/
|
|
4331
4746
|
deleteCronJob(organisation, application, environment, cron, options) {
|
|
4332
|
-
var _a, _b, _c;
|
|
4333
4747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4748
|
+
var _a, _b, _c;
|
|
4334
4749
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCronJob(organisation, application, environment, cron, options);
|
|
4335
4750
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4336
4751
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.deleteCronJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4348,8 +4763,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4348
4763
|
* @throws {RequiredError}
|
|
4349
4764
|
*/
|
|
4350
4765
|
getCronJob(organisation, application, environment, cron, options) {
|
|
4351
|
-
var _a, _b, _c;
|
|
4352
4766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4767
|
+
var _a, _b, _c;
|
|
4353
4768
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCronJob(organisation, application, environment, cron, options);
|
|
4354
4769
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4355
4770
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.getCronJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4368,8 +4783,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4368
4783
|
* @throws {RequiredError}
|
|
4369
4784
|
*/
|
|
4370
4785
|
getCronRun(organisation, application, environment, cron, run, options) {
|
|
4371
|
-
var _a, _b, _c;
|
|
4372
4786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4787
|
+
var _a, _b, _c;
|
|
4373
4788
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCronRun(organisation, application, environment, cron, run, options);
|
|
4374
4789
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4375
4790
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.getCronRun']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4387,8 +4802,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4387
4802
|
* @throws {RequiredError}
|
|
4388
4803
|
*/
|
|
4389
4804
|
listCronJobRuns(organisation, application, environment, cron, options) {
|
|
4390
|
-
var _a, _b, _c;
|
|
4391
4805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4806
|
+
var _a, _b, _c;
|
|
4392
4807
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCronJobRuns(organisation, application, environment, cron, options);
|
|
4393
4808
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4394
4809
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.listCronJobRuns']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4405,8 +4820,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4405
4820
|
* @throws {RequiredError}
|
|
4406
4821
|
*/
|
|
4407
4822
|
listCronJobs(organisation, application, environment, options) {
|
|
4408
|
-
var _a, _b, _c;
|
|
4409
4823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4824
|
+
var _a, _b, _c;
|
|
4410
4825
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCronJobs(organisation, application, environment, options);
|
|
4411
4826
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4412
4827
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.listCronJobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4425,8 +4840,8 @@ export const CronApiFp = function (configuration) {
|
|
|
4425
4840
|
* @throws {RequiredError}
|
|
4426
4841
|
*/
|
|
4427
4842
|
updateCronJob(organisation, application, environment, cron, updateCronJobRequest, options) {
|
|
4428
|
-
var _a, _b, _c;
|
|
4429
4843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4844
|
+
var _a, _b, _c;
|
|
4430
4845
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCronJob(organisation, application, environment, cron, updateCronJobRequest, options);
|
|
4431
4846
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4432
4847
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CronApi.updateCronJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4658,7 +5073,7 @@ export const DomainsApiAxiosParamCreator = function (configuration) {
|
|
|
4658
5073
|
* @param {*} [options] Override http request option.
|
|
4659
5074
|
* @throws {RequiredError}
|
|
4660
5075
|
*/
|
|
4661
|
-
domainsCreate: (
|
|
5076
|
+
domainsCreate: (organization_1, project_1, v2DomainRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2DomainRequest_1, ...args_1], void 0, function* (organization, project, v2DomainRequest, options = {}) {
|
|
4662
5077
|
// verify required parameter 'organization' is not null or undefined
|
|
4663
5078
|
assertParamExists('domainsCreate', 'organization', organization);
|
|
4664
5079
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -4699,7 +5114,7 @@ export const DomainsApiAxiosParamCreator = function (configuration) {
|
|
|
4699
5114
|
* @param {*} [options] Override http request option.
|
|
4700
5115
|
* @throws {RequiredError}
|
|
4701
5116
|
*/
|
|
4702
|
-
domainsDelete: (
|
|
5117
|
+
domainsDelete: (organization_1, project_1, domain_1, ...args_1) => __awaiter(this, [organization_1, project_1, domain_1, ...args_1], void 0, function* (organization, project, domain, options = {}) {
|
|
4703
5118
|
// verify required parameter 'organization' is not null or undefined
|
|
4704
5119
|
assertParamExists('domainsDelete', 'organization', organization);
|
|
4705
5120
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -4738,7 +5153,7 @@ export const DomainsApiAxiosParamCreator = function (configuration) {
|
|
|
4738
5153
|
* @param {*} [options] Override http request option.
|
|
4739
5154
|
* @throws {RequiredError}
|
|
4740
5155
|
*/
|
|
4741
|
-
domainsList: (
|
|
5156
|
+
domainsList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
4742
5157
|
// verify required parameter 'organization' is not null or undefined
|
|
4743
5158
|
assertParamExists('domainsList', 'organization', organization);
|
|
4744
5159
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -4775,7 +5190,7 @@ export const DomainsApiAxiosParamCreator = function (configuration) {
|
|
|
4775
5190
|
* @param {*} [options] Override http request option.
|
|
4776
5191
|
* @throws {RequiredError}
|
|
4777
5192
|
*/
|
|
4778
|
-
domainsRead: (
|
|
5193
|
+
domainsRead: (organization_1, project_1, domain_1, ...args_1) => __awaiter(this, [organization_1, project_1, domain_1, ...args_1], void 0, function* (organization, project, domain, options = {}) {
|
|
4779
5194
|
// verify required parameter 'organization' is not null or undefined
|
|
4780
5195
|
assertParamExists('domainsRead', 'organization', organization);
|
|
4781
5196
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -4815,7 +5230,7 @@ export const DomainsApiAxiosParamCreator = function (configuration) {
|
|
|
4815
5230
|
* @param {*} [options] Override http request option.
|
|
4816
5231
|
* @throws {RequiredError}
|
|
4817
5232
|
*/
|
|
4818
|
-
domainsRenew: (
|
|
5233
|
+
domainsRenew: (organization_1, project_1, domain_1, ...args_1) => __awaiter(this, [organization_1, project_1, domain_1, ...args_1], void 0, function* (organization, project, domain, options = {}) {
|
|
4819
5234
|
// verify required parameter 'organization' is not null or undefined
|
|
4820
5235
|
assertParamExists('domainsRenew', 'organization', organization);
|
|
4821
5236
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -4865,8 +5280,8 @@ export const DomainsApiFp = function (configuration) {
|
|
|
4865
5280
|
* @throws {RequiredError}
|
|
4866
5281
|
*/
|
|
4867
5282
|
domainsCreate(organization, project, v2DomainRequest, options) {
|
|
4868
|
-
var _a, _b, _c;
|
|
4869
5283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5284
|
+
var _a, _b, _c;
|
|
4870
5285
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.domainsCreate(organization, project, v2DomainRequest, options);
|
|
4871
5286
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4872
5287
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DomainsApi.domainsCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4883,8 +5298,8 @@ export const DomainsApiFp = function (configuration) {
|
|
|
4883
5298
|
* @throws {RequiredError}
|
|
4884
5299
|
*/
|
|
4885
5300
|
domainsDelete(organization, project, domain, options) {
|
|
4886
|
-
var _a, _b, _c;
|
|
4887
5301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5302
|
+
var _a, _b, _c;
|
|
4888
5303
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.domainsDelete(organization, project, domain, options);
|
|
4889
5304
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4890
5305
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DomainsApi.domainsDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4900,8 +5315,8 @@ export const DomainsApiFp = function (configuration) {
|
|
|
4900
5315
|
* @throws {RequiredError}
|
|
4901
5316
|
*/
|
|
4902
5317
|
domainsList(organization, project, options) {
|
|
4903
|
-
var _a, _b, _c;
|
|
4904
5318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5319
|
+
var _a, _b, _c;
|
|
4905
5320
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.domainsList(organization, project, options);
|
|
4906
5321
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4907
5322
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DomainsApi.domainsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4918,8 +5333,8 @@ export const DomainsApiFp = function (configuration) {
|
|
|
4918
5333
|
* @throws {RequiredError}
|
|
4919
5334
|
*/
|
|
4920
5335
|
domainsRead(organization, project, domain, options) {
|
|
4921
|
-
var _a, _b, _c;
|
|
4922
5336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5337
|
+
var _a, _b, _c;
|
|
4923
5338
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.domainsRead(organization, project, domain, options);
|
|
4924
5339
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4925
5340
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DomainsApi.domainsRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -4936,8 +5351,8 @@ export const DomainsApiFp = function (configuration) {
|
|
|
4936
5351
|
* @throws {RequiredError}
|
|
4937
5352
|
*/
|
|
4938
5353
|
domainsRenew(organization, project, domain, options) {
|
|
4939
|
-
var _a, _b, _c;
|
|
4940
5354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5355
|
+
var _a, _b, _c;
|
|
4941
5356
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.domainsRenew(organization, project, domain, options);
|
|
4942
5357
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4943
5358
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DomainsApi.domainsRenew']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5101,7 +5516,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5101
5516
|
* @param {*} [options] Override http request option.
|
|
5102
5517
|
* @throws {RequiredError}
|
|
5103
5518
|
*/
|
|
5104
|
-
createEnvironment: (
|
|
5519
|
+
createEnvironment: (organisation_1, application_1, createEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, createEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, createEnvironmentRequest, options = {}) {
|
|
5105
5520
|
// verify required parameter 'organisation' is not null or undefined
|
|
5106
5521
|
assertParamExists('createEnvironment', 'organisation', organisation);
|
|
5107
5522
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5142,7 +5557,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5142
5557
|
* @param {*} [options] Override http request option.
|
|
5143
5558
|
* @throws {RequiredError}
|
|
5144
5559
|
*/
|
|
5145
|
-
deleteEnvironment: (
|
|
5560
|
+
deleteEnvironment: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
5146
5561
|
// verify required parameter 'organisation' is not null or undefined
|
|
5147
5562
|
assertParamExists('deleteEnvironment', 'organisation', organisation);
|
|
5148
5563
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5182,7 +5597,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5182
5597
|
* @param {*} [options] Override http request option.
|
|
5183
5598
|
* @throws {RequiredError}
|
|
5184
5599
|
*/
|
|
5185
|
-
getEnvironment: (
|
|
5600
|
+
getEnvironment: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
5186
5601
|
// verify required parameter 'organisation' is not null or undefined
|
|
5187
5602
|
assertParamExists('getEnvironment', 'organisation', organisation);
|
|
5188
5603
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5228,7 +5643,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5228
5643
|
* @param {*} [options] Override http request option.
|
|
5229
5644
|
* @throws {RequiredError}
|
|
5230
5645
|
*/
|
|
5231
|
-
getEnvironmentLogs: (
|
|
5646
|
+
getEnvironmentLogs: (organisation_1, application_1, environment_1, startTime_1, endTime_1, containerName_1, filterPattern_1, limit_1, nextToken_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, startTime_1, endTime_1, containerName_1, filterPattern_1, limit_1, nextToken_1, ...args_1], void 0, function* (organisation, application, environment, startTime, endTime, containerName, filterPattern, limit, nextToken, options = {}) {
|
|
5232
5647
|
// verify required parameter 'organisation' is not null or undefined
|
|
5233
5648
|
assertParamExists('getEnvironmentLogs', 'organisation', organisation);
|
|
5234
5649
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5291,7 +5706,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5291
5706
|
* @param {*} [options] Override http request option.
|
|
5292
5707
|
* @throws {RequiredError}
|
|
5293
5708
|
*/
|
|
5294
|
-
getEnvironmentMetrics: (
|
|
5709
|
+
getEnvironmentMetrics: (organisation_1, application_1, environment_1, startTime_1, endTime_1, period_1, statistics_1, containerName_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, startTime_1, endTime_1, period_1, statistics_1, containerName_1, ...args_1], void 0, function* (organisation, application, environment, startTime, endTime, period, statistics, containerName, options = {}) {
|
|
5295
5710
|
// verify required parameter 'organisation' is not null or undefined
|
|
5296
5711
|
assertParamExists('getEnvironmentMetrics', 'organisation', organisation);
|
|
5297
5712
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5345,7 +5760,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5345
5760
|
* @param {*} [options] Override http request option.
|
|
5346
5761
|
* @throws {RequiredError}
|
|
5347
5762
|
*/
|
|
5348
|
-
listEnvironments: (
|
|
5763
|
+
listEnvironments: (organisation_1, application_1, ...args_1) => __awaiter(this, [organisation_1, application_1, ...args_1], void 0, function* (organisation, application, options = {}) {
|
|
5349
5764
|
// verify required parameter 'organisation' is not null or undefined
|
|
5350
5765
|
assertParamExists('listEnvironments', 'organisation', organisation);
|
|
5351
5766
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5383,7 +5798,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5383
5798
|
* @param {*} [options] Override http request option.
|
|
5384
5799
|
* @throws {RequiredError}
|
|
5385
5800
|
*/
|
|
5386
|
-
listSyncOperations: (
|
|
5801
|
+
listSyncOperations: (organisation_1, application_1, environment_1, type_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, ...args_1], void 0, function* (organisation, application, environment, type, options = {}) {
|
|
5387
5802
|
// verify required parameter 'organisation' is not null or undefined
|
|
5388
5803
|
assertParamExists('listSyncOperations', 'organisation', organisation);
|
|
5389
5804
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5428,7 +5843,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5428
5843
|
* @param {*} [options] Override http request option.
|
|
5429
5844
|
* @throws {RequiredError}
|
|
5430
5845
|
*/
|
|
5431
|
-
syncToEnvironment: (
|
|
5846
|
+
syncToEnvironment: (organisation_1, application_1, environment_1, type_1, syncToEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, type_1, syncToEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, type, syncToEnvironmentRequest, options = {}) {
|
|
5432
5847
|
// verify required parameter 'organisation' is not null or undefined
|
|
5433
5848
|
assertParamExists('syncToEnvironment', 'organisation', organisation);
|
|
5434
5849
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5476,7 +5891,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5476
5891
|
* @param {*} [options] Override http request option.
|
|
5477
5892
|
* @throws {RequiredError}
|
|
5478
5893
|
*/
|
|
5479
|
-
updateEnvironment: (
|
|
5894
|
+
updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
|
|
5480
5895
|
// verify required parameter 'organisation' is not null or undefined
|
|
5481
5896
|
assertParamExists('updateEnvironment', 'organisation', organisation);
|
|
5482
5897
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5521,7 +5936,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
5521
5936
|
* @param {*} [options] Override http request option.
|
|
5522
5937
|
* @throws {RequiredError}
|
|
5523
5938
|
*/
|
|
5524
|
-
updateEnvironmentState: (
|
|
5939
|
+
updateEnvironmentState: (organisation_1, application_1, environment_1, updateEnvironmentStateRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentStateRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentStateRequest, options = {}) {
|
|
5525
5940
|
// verify required parameter 'organisation' is not null or undefined
|
|
5526
5941
|
assertParamExists('updateEnvironmentState', 'organisation', organisation);
|
|
5527
5942
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -5575,8 +5990,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5575
5990
|
* @throws {RequiredError}
|
|
5576
5991
|
*/
|
|
5577
5992
|
createEnvironment(organisation, application, createEnvironmentRequest, options) {
|
|
5578
|
-
var _a, _b, _c;
|
|
5579
5993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5994
|
+
var _a, _b, _c;
|
|
5580
5995
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironment(organisation, application, createEnvironmentRequest, options);
|
|
5581
5996
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5582
5997
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.createEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5593,8 +6008,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5593
6008
|
* @throws {RequiredError}
|
|
5594
6009
|
*/
|
|
5595
6010
|
deleteEnvironment(organisation, application, environment, options) {
|
|
5596
|
-
var _a, _b, _c;
|
|
5597
6011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6012
|
+
var _a, _b, _c;
|
|
5598
6013
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEnvironment(organisation, application, environment, options);
|
|
5599
6014
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5600
6015
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.deleteEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5611,8 +6026,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5611
6026
|
* @throws {RequiredError}
|
|
5612
6027
|
*/
|
|
5613
6028
|
getEnvironment(organisation, application, environment, options) {
|
|
5614
|
-
var _a, _b, _c;
|
|
5615
6029
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6030
|
+
var _a, _b, _c;
|
|
5616
6031
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironment(organisation, application, environment, options);
|
|
5617
6032
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5618
6033
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.getEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5635,8 +6050,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5635
6050
|
* @throws {RequiredError}
|
|
5636
6051
|
*/
|
|
5637
6052
|
getEnvironmentLogs(organisation, application, environment, startTime, endTime, containerName, filterPattern, limit, nextToken, options) {
|
|
5638
|
-
var _a, _b, _c;
|
|
5639
6053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6054
|
+
var _a, _b, _c;
|
|
5640
6055
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentLogs(organisation, application, environment, startTime, endTime, containerName, filterPattern, limit, nextToken, options);
|
|
5641
6056
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5642
6057
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.getEnvironmentLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5658,8 +6073,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5658
6073
|
* @throws {RequiredError}
|
|
5659
6074
|
*/
|
|
5660
6075
|
getEnvironmentMetrics(organisation, application, environment, startTime, endTime, period, statistics, containerName, options) {
|
|
5661
|
-
var _a, _b, _c;
|
|
5662
6076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6077
|
+
var _a, _b, _c;
|
|
5663
6078
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentMetrics(organisation, application, environment, startTime, endTime, period, statistics, containerName, options);
|
|
5664
6079
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5665
6080
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.getEnvironmentMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5675,8 +6090,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5675
6090
|
* @throws {RequiredError}
|
|
5676
6091
|
*/
|
|
5677
6092
|
listEnvironments(organisation, application, options) {
|
|
5678
|
-
var _a, _b, _c;
|
|
5679
6093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6094
|
+
var _a, _b, _c;
|
|
5680
6095
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironments(organisation, application, options);
|
|
5681
6096
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5682
6097
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.listEnvironments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5694,8 +6109,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5694
6109
|
* @throws {RequiredError}
|
|
5695
6110
|
*/
|
|
5696
6111
|
listSyncOperations(organisation, application, environment, type, options) {
|
|
5697
|
-
var _a, _b, _c;
|
|
5698
6112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6113
|
+
var _a, _b, _c;
|
|
5699
6114
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSyncOperations(organisation, application, environment, type, options);
|
|
5700
6115
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5701
6116
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.listSyncOperations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5714,8 +6129,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5714
6129
|
* @throws {RequiredError}
|
|
5715
6130
|
*/
|
|
5716
6131
|
syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
|
|
5717
|
-
var _a, _b, _c;
|
|
5718
6132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6133
|
+
var _a, _b, _c;
|
|
5719
6134
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options);
|
|
5720
6135
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5721
6136
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.syncToEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5733,8 +6148,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5733
6148
|
* @throws {RequiredError}
|
|
5734
6149
|
*/
|
|
5735
6150
|
updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
|
|
5736
|
-
var _a, _b, _c;
|
|
5737
6151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6152
|
+
var _a, _b, _c;
|
|
5738
6153
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
5739
6154
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5740
6155
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -5752,8 +6167,8 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
5752
6167
|
* @throws {RequiredError}
|
|
5753
6168
|
*/
|
|
5754
6169
|
updateEnvironmentState(organisation, application, environment, updateEnvironmentStateRequest, options) {
|
|
5755
|
-
var _a, _b, _c;
|
|
5756
6170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6171
|
+
var _a, _b, _c;
|
|
5757
6172
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironmentState(organisation, application, environment, updateEnvironmentStateRequest, options);
|
|
5758
6173
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5759
6174
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.updateEnvironmentState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6088,7 +6503,7 @@ export const HeadersApiAxiosParamCreator = function (configuration) {
|
|
|
6088
6503
|
* @param {*} [options] Override http request option.
|
|
6089
6504
|
* @throws {RequiredError}
|
|
6090
6505
|
*/
|
|
6091
|
-
headersCreate: (
|
|
6506
|
+
headersCreate: (organization_1, project_1, v2CustomHeaderRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2CustomHeaderRequest_1, ...args_1], void 0, function* (organization, project, v2CustomHeaderRequest, options = {}) {
|
|
6092
6507
|
// verify required parameter 'organization' is not null or undefined
|
|
6093
6508
|
assertParamExists('headersCreate', 'organization', organization);
|
|
6094
6509
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6129,7 +6544,7 @@ export const HeadersApiAxiosParamCreator = function (configuration) {
|
|
|
6129
6544
|
* @param {*} [options] Override http request option.
|
|
6130
6545
|
* @throws {RequiredError}
|
|
6131
6546
|
*/
|
|
6132
|
-
headersDelete: (
|
|
6547
|
+
headersDelete: (organization_1, project_1, v2CustomHeaderRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2CustomHeaderRequest_1, ...args_1], void 0, function* (organization, project, v2CustomHeaderRequest, options = {}) {
|
|
6133
6548
|
// verify required parameter 'organization' is not null or undefined
|
|
6134
6549
|
assertParamExists('headersDelete', 'organization', organization);
|
|
6135
6550
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6169,7 +6584,7 @@ export const HeadersApiAxiosParamCreator = function (configuration) {
|
|
|
6169
6584
|
* @param {*} [options] Override http request option.
|
|
6170
6585
|
* @throws {RequiredError}
|
|
6171
6586
|
*/
|
|
6172
|
-
headersList: (
|
|
6587
|
+
headersList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
6173
6588
|
// verify required parameter 'organization' is not null or undefined
|
|
6174
6589
|
assertParamExists('headersList', 'organization', organization);
|
|
6175
6590
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6216,8 +6631,8 @@ export const HeadersApiFp = function (configuration) {
|
|
|
6216
6631
|
* @throws {RequiredError}
|
|
6217
6632
|
*/
|
|
6218
6633
|
headersCreate(organization, project, v2CustomHeaderRequest, options) {
|
|
6219
|
-
var _a, _b, _c;
|
|
6220
6634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6635
|
+
var _a, _b, _c;
|
|
6221
6636
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.headersCreate(organization, project, v2CustomHeaderRequest, options);
|
|
6222
6637
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6223
6638
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HeadersApi.headersCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6234,8 +6649,8 @@ export const HeadersApiFp = function (configuration) {
|
|
|
6234
6649
|
* @throws {RequiredError}
|
|
6235
6650
|
*/
|
|
6236
6651
|
headersDelete(organization, project, v2CustomHeaderRequest, options) {
|
|
6237
|
-
var _a, _b, _c;
|
|
6238
6652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6653
|
+
var _a, _b, _c;
|
|
6239
6654
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.headersDelete(organization, project, v2CustomHeaderRequest, options);
|
|
6240
6655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6241
6656
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HeadersApi.headersDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6251,8 +6666,8 @@ export const HeadersApiFp = function (configuration) {
|
|
|
6251
6666
|
* @throws {RequiredError}
|
|
6252
6667
|
*/
|
|
6253
6668
|
headersList(organization, project, options) {
|
|
6254
|
-
var _a, _b, _c;
|
|
6255
6669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6670
|
+
var _a, _b, _c;
|
|
6256
6671
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.headersList(organization, project, options);
|
|
6257
6672
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6258
6673
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HeadersApi.headersList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6366,7 +6781,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6366
6781
|
* @param {*} [options] Override http request option.
|
|
6367
6782
|
* @throws {RequiredError}
|
|
6368
6783
|
*/
|
|
6369
|
-
kVCreate: (
|
|
6784
|
+
kVCreate: (organization_1, project_1, v2StoreRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2StoreRequest_1, ...args_1], void 0, function* (organization, project, v2StoreRequest, options = {}) {
|
|
6370
6785
|
// verify required parameter 'organization' is not null or undefined
|
|
6371
6786
|
assertParamExists('kVCreate', 'organization', organization);
|
|
6372
6787
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6407,7 +6822,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6407
6822
|
* @param {*} [options] Override http request option.
|
|
6408
6823
|
* @throws {RequiredError}
|
|
6409
6824
|
*/
|
|
6410
|
-
kVDelete: (
|
|
6825
|
+
kVDelete: (organization_1, project_1, storeId_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, ...args_1], void 0, function* (organization, project, storeId, options = {}) {
|
|
6411
6826
|
// verify required parameter 'organization' is not null or undefined
|
|
6412
6827
|
assertParamExists('kVDelete', 'organization', organization);
|
|
6413
6828
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6448,7 +6863,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6448
6863
|
* @param {*} [options] Override http request option.
|
|
6449
6864
|
* @throws {RequiredError}
|
|
6450
6865
|
*/
|
|
6451
|
-
kVItemsCreate: (
|
|
6866
|
+
kVItemsCreate: (organization_1, project_1, storeId_1, v2StoreItemRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, v2StoreItemRequest_1, ...args_1], void 0, function* (organization, project, storeId, v2StoreItemRequest, options = {}) {
|
|
6452
6867
|
// verify required parameter 'organization' is not null or undefined
|
|
6453
6868
|
assertParamExists('kVItemsCreate', 'organization', organization);
|
|
6454
6869
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6493,7 +6908,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6493
6908
|
* @param {*} [options] Override http request option.
|
|
6494
6909
|
* @throws {RequiredError}
|
|
6495
6910
|
*/
|
|
6496
|
-
kVItemsDelete: (
|
|
6911
|
+
kVItemsDelete: (organization_1, project_1, storeId_1, key_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, key_1, ...args_1], void 0, function* (organization, project, storeId, key, options = {}) {
|
|
6497
6912
|
// verify required parameter 'organization' is not null or undefined
|
|
6498
6913
|
assertParamExists('kVItemsDelete', 'organization', organization);
|
|
6499
6914
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6536,10 +6951,11 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6536
6951
|
* @param {string} [cursor] Cursor for pagination
|
|
6537
6952
|
* @param {number} [limit] Number of items to return
|
|
6538
6953
|
* @param {string} [search] Search filter for keys
|
|
6954
|
+
* @param {boolean} [includeValues] Include values in the response. Secret values will be redacted as \'[ENCRYPTED]\' for security.
|
|
6539
6955
|
* @param {*} [options] Override http request option.
|
|
6540
6956
|
* @throws {RequiredError}
|
|
6541
6957
|
*/
|
|
6542
|
-
kVItemsList: (
|
|
6958
|
+
kVItemsList: (organization_1, project_1, storeId_1, cursor_1, limit_1, search_1, includeValues_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, cursor_1, limit_1, search_1, includeValues_1, ...args_1], void 0, function* (organization, project, storeId, cursor, limit, search, includeValues, options = {}) {
|
|
6543
6959
|
// verify required parameter 'organization' is not null or undefined
|
|
6544
6960
|
assertParamExists('kVItemsList', 'organization', organization);
|
|
6545
6961
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6571,6 +6987,9 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6571
6987
|
if (search !== undefined) {
|
|
6572
6988
|
localVarQueryParameter['search'] = search;
|
|
6573
6989
|
}
|
|
6990
|
+
if (includeValues !== undefined) {
|
|
6991
|
+
localVarQueryParameter['include_values'] = includeValues;
|
|
6992
|
+
}
|
|
6574
6993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6575
6994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6576
6995
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6580,7 +6999,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6580
6999
|
};
|
|
6581
7000
|
}),
|
|
6582
7001
|
/**
|
|
6583
|
-
*
|
|
7002
|
+
* Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as \'[ENCRYPTED]\' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction.
|
|
6584
7003
|
* @summary Get an item from a kv store
|
|
6585
7004
|
* @param {string} organization
|
|
6586
7005
|
* @param {string} project
|
|
@@ -6589,7 +7008,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6589
7008
|
* @param {*} [options] Override http request option.
|
|
6590
7009
|
* @throws {RequiredError}
|
|
6591
7010
|
*/
|
|
6592
|
-
kVItemsShow: (
|
|
7011
|
+
kVItemsShow: (organization_1, project_1, storeId_1, key_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, key_1, ...args_1], void 0, function* (organization, project, storeId, key, options = {}) {
|
|
6593
7012
|
// verify required parameter 'organization' is not null or undefined
|
|
6594
7013
|
assertParamExists('kVItemsShow', 'organization', organization);
|
|
6595
7014
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6634,7 +7053,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6634
7053
|
* @param {*} [options] Override http request option.
|
|
6635
7054
|
* @throws {RequiredError}
|
|
6636
7055
|
*/
|
|
6637
|
-
kVItemsUpdate: (
|
|
7056
|
+
kVItemsUpdate: (organization_1, project_1, storeId_1, key_1, v2StoreItemUpdateRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, key_1, v2StoreItemUpdateRequest_1, ...args_1], void 0, function* (organization, project, storeId, key, v2StoreItemUpdateRequest, options = {}) {
|
|
6638
7057
|
// verify required parameter 'organization' is not null or undefined
|
|
6639
7058
|
assertParamExists('kVItemsUpdate', 'organization', organization);
|
|
6640
7059
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6680,7 +7099,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6680
7099
|
* @param {*} [options] Override http request option.
|
|
6681
7100
|
* @throws {RequiredError}
|
|
6682
7101
|
*/
|
|
6683
|
-
kVList: (
|
|
7102
|
+
kVList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
6684
7103
|
// verify required parameter 'organization' is not null or undefined
|
|
6685
7104
|
assertParamExists('kVList', 'organization', organization);
|
|
6686
7105
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6717,7 +7136,7 @@ export const KVApiAxiosParamCreator = function (configuration) {
|
|
|
6717
7136
|
* @param {*} [options] Override http request option.
|
|
6718
7137
|
* @throws {RequiredError}
|
|
6719
7138
|
*/
|
|
6720
|
-
kVShow: (
|
|
7139
|
+
kVShow: (organization_1, project_1, storeId_1, ...args_1) => __awaiter(this, [organization_1, project_1, storeId_1, ...args_1], void 0, function* (organization, project, storeId, options = {}) {
|
|
6721
7140
|
// verify required parameter 'organization' is not null or undefined
|
|
6722
7141
|
assertParamExists('kVShow', 'organization', organization);
|
|
6723
7142
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -6767,8 +7186,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6767
7186
|
* @throws {RequiredError}
|
|
6768
7187
|
*/
|
|
6769
7188
|
kVCreate(organization, project, v2StoreRequest, options) {
|
|
6770
|
-
var _a, _b, _c;
|
|
6771
7189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7190
|
+
var _a, _b, _c;
|
|
6772
7191
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVCreate(organization, project, v2StoreRequest, options);
|
|
6773
7192
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6774
7193
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6785,8 +7204,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6785
7204
|
* @throws {RequiredError}
|
|
6786
7205
|
*/
|
|
6787
7206
|
kVDelete(organization, project, storeId, options) {
|
|
6788
|
-
var _a, _b, _c;
|
|
6789
7207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7208
|
+
var _a, _b, _c;
|
|
6790
7209
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVDelete(organization, project, storeId, options);
|
|
6791
7210
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6792
7211
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6804,8 +7223,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6804
7223
|
* @throws {RequiredError}
|
|
6805
7224
|
*/
|
|
6806
7225
|
kVItemsCreate(organization, project, storeId, v2StoreItemRequest, options) {
|
|
6807
|
-
var _a, _b, _c;
|
|
6808
7226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7227
|
+
var _a, _b, _c;
|
|
6809
7228
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVItemsCreate(organization, project, storeId, v2StoreItemRequest, options);
|
|
6810
7229
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6811
7230
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVItemsCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6823,8 +7242,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6823
7242
|
* @throws {RequiredError}
|
|
6824
7243
|
*/
|
|
6825
7244
|
kVItemsDelete(organization, project, storeId, key, options) {
|
|
6826
|
-
var _a, _b, _c;
|
|
6827
7245
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7246
|
+
var _a, _b, _c;
|
|
6828
7247
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVItemsDelete(organization, project, storeId, key, options);
|
|
6829
7248
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6830
7249
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVItemsDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6840,20 +7259,21 @@ export const KVApiFp = function (configuration) {
|
|
|
6840
7259
|
* @param {string} [cursor] Cursor for pagination
|
|
6841
7260
|
* @param {number} [limit] Number of items to return
|
|
6842
7261
|
* @param {string} [search] Search filter for keys
|
|
7262
|
+
* @param {boolean} [includeValues] Include values in the response. Secret values will be redacted as \'[ENCRYPTED]\' for security.
|
|
6843
7263
|
* @param {*} [options] Override http request option.
|
|
6844
7264
|
* @throws {RequiredError}
|
|
6845
7265
|
*/
|
|
6846
|
-
kVItemsList(organization, project, storeId, cursor, limit, search, options) {
|
|
6847
|
-
var _a, _b, _c;
|
|
7266
|
+
kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options) {
|
|
6848
7267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6849
|
-
|
|
7268
|
+
var _a, _b, _c;
|
|
7269
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options);
|
|
6850
7270
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6851
7271
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVItemsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6852
7272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6853
7273
|
});
|
|
6854
7274
|
},
|
|
6855
7275
|
/**
|
|
6856
|
-
*
|
|
7276
|
+
* Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as \'[ENCRYPTED]\' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction.
|
|
6857
7277
|
* @summary Get an item from a kv store
|
|
6858
7278
|
* @param {string} organization
|
|
6859
7279
|
* @param {string} project
|
|
@@ -6863,8 +7283,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6863
7283
|
* @throws {RequiredError}
|
|
6864
7284
|
*/
|
|
6865
7285
|
kVItemsShow(organization, project, storeId, key, options) {
|
|
6866
|
-
var _a, _b, _c;
|
|
6867
7286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7287
|
+
var _a, _b, _c;
|
|
6868
7288
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVItemsShow(organization, project, storeId, key, options);
|
|
6869
7289
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6870
7290
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVItemsShow']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6883,8 +7303,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6883
7303
|
* @throws {RequiredError}
|
|
6884
7304
|
*/
|
|
6885
7305
|
kVItemsUpdate(organization, project, storeId, key, v2StoreItemUpdateRequest, options) {
|
|
6886
|
-
var _a, _b, _c;
|
|
6887
7306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7307
|
+
var _a, _b, _c;
|
|
6888
7308
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVItemsUpdate(organization, project, storeId, key, v2StoreItemUpdateRequest, options);
|
|
6889
7309
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6890
7310
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVItemsUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6900,8 +7320,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6900
7320
|
* @throws {RequiredError}
|
|
6901
7321
|
*/
|
|
6902
7322
|
kVList(organization, project, options) {
|
|
6903
|
-
var _a, _b, _c;
|
|
6904
7323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7324
|
+
var _a, _b, _c;
|
|
6905
7325
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVList(organization, project, options);
|
|
6906
7326
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6907
7327
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6918,8 +7338,8 @@ export const KVApiFp = function (configuration) {
|
|
|
6918
7338
|
* @throws {RequiredError}
|
|
6919
7339
|
*/
|
|
6920
7340
|
kVShow(organization, project, storeId, options) {
|
|
6921
|
-
var _a, _b, _c;
|
|
6922
7341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7342
|
+
var _a, _b, _c;
|
|
6923
7343
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.kVShow(organization, project, storeId, options);
|
|
6924
7344
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6925
7345
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['KVApi.kVShow']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -6994,14 +7414,15 @@ export const KVApiFactory = function (configuration, basePath, axios) {
|
|
|
6994
7414
|
* @param {string} [cursor] Cursor for pagination
|
|
6995
7415
|
* @param {number} [limit] Number of items to return
|
|
6996
7416
|
* @param {string} [search] Search filter for keys
|
|
7417
|
+
* @param {boolean} [includeValues] Include values in the response. Secret values will be redacted as \'[ENCRYPTED]\' for security.
|
|
6997
7418
|
* @param {*} [options] Override http request option.
|
|
6998
7419
|
* @throws {RequiredError}
|
|
6999
7420
|
*/
|
|
7000
|
-
kVItemsList(organization, project, storeId, cursor, limit, search, options) {
|
|
7001
|
-
return localVarFp.kVItemsList(organization, project, storeId, cursor, limit, search, options).then((request) => request(axios, basePath));
|
|
7421
|
+
kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options) {
|
|
7422
|
+
return localVarFp.kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options).then((request) => request(axios, basePath));
|
|
7002
7423
|
},
|
|
7003
7424
|
/**
|
|
7004
|
-
*
|
|
7425
|
+
* Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as \'[ENCRYPTED]\' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction.
|
|
7005
7426
|
* @summary Get an item from a kv store
|
|
7006
7427
|
* @param {string} organization
|
|
7007
7428
|
* @param {string} project
|
|
@@ -7122,15 +7543,16 @@ export class KVApi extends BaseAPI {
|
|
|
7122
7543
|
* @param {string} [cursor] Cursor for pagination
|
|
7123
7544
|
* @param {number} [limit] Number of items to return
|
|
7124
7545
|
* @param {string} [search] Search filter for keys
|
|
7546
|
+
* @param {boolean} [includeValues] Include values in the response. Secret values will be redacted as \'[ENCRYPTED]\' for security.
|
|
7125
7547
|
* @param {*} [options] Override http request option.
|
|
7126
7548
|
* @throws {RequiredError}
|
|
7127
7549
|
* @memberof KVApi
|
|
7128
7550
|
*/
|
|
7129
|
-
kVItemsList(organization, project, storeId, cursor, limit, search, options) {
|
|
7130
|
-
return KVApiFp(this.configuration).kVItemsList(organization, project, storeId, cursor, limit, search, options).then((request) => request(this.axios, this.basePath));
|
|
7551
|
+
kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options) {
|
|
7552
|
+
return KVApiFp(this.configuration).kVItemsList(organization, project, storeId, cursor, limit, search, includeValues, options).then((request) => request(this.axios, this.basePath));
|
|
7131
7553
|
}
|
|
7132
7554
|
/**
|
|
7133
|
-
*
|
|
7555
|
+
* Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as \'[ENCRYPTED]\' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction.
|
|
7134
7556
|
* @summary Get an item from a kv store
|
|
7135
7557
|
* @param {string} organization
|
|
7136
7558
|
* @param {string} project
|
|
@@ -7196,7 +7618,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
7196
7618
|
* @param {*} [options] Override http request option.
|
|
7197
7619
|
* @throws {RequiredError}
|
|
7198
7620
|
*/
|
|
7199
|
-
organizationsList: (
|
|
7621
|
+
organizationsList: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7200
7622
|
const localVarPath = `/api/v2/organizations`;
|
|
7201
7623
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7202
7624
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7225,7 +7647,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
7225
7647
|
* @param {*} [options] Override http request option.
|
|
7226
7648
|
* @throws {RequiredError}
|
|
7227
7649
|
*/
|
|
7228
|
-
organizationsRead: (
|
|
7650
|
+
organizationsRead: (organization_1, ...args_1) => __awaiter(this, [organization_1, ...args_1], void 0, function* (organization, options = {}) {
|
|
7229
7651
|
// verify required parameter 'organization' is not null or undefined
|
|
7230
7652
|
assertParamExists('organizationsRead', 'organization', organization);
|
|
7231
7653
|
const localVarPath = `/api/v2/organizations/{organization}`
|
|
@@ -7266,8 +7688,8 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
7266
7688
|
* @throws {RequiredError}
|
|
7267
7689
|
*/
|
|
7268
7690
|
organizationsList(options) {
|
|
7269
|
-
var _a, _b, _c;
|
|
7270
7691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7692
|
+
var _a, _b, _c;
|
|
7271
7693
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationsList(options);
|
|
7272
7694
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7273
7695
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.organizationsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7282,8 +7704,8 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
7282
7704
|
* @throws {RequiredError}
|
|
7283
7705
|
*/
|
|
7284
7706
|
organizationsRead(organization, options) {
|
|
7285
|
-
var _a, _b, _c;
|
|
7286
7707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7708
|
+
var _a, _b, _c;
|
|
7287
7709
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationsRead(organization, options);
|
|
7288
7710
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7289
7711
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.organizationsRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7363,7 +7785,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
7363
7785
|
* @param {*} [options] Override http request option.
|
|
7364
7786
|
* @throws {RequiredError}
|
|
7365
7787
|
*/
|
|
7366
|
-
projectsCreate: (
|
|
7788
|
+
projectsCreate: (organization_1, v2ProjectRequest_1, ...args_1) => __awaiter(this, [organization_1, v2ProjectRequest_1, ...args_1], void 0, function* (organization, v2ProjectRequest, options = {}) {
|
|
7367
7789
|
// verify required parameter 'organization' is not null or undefined
|
|
7368
7790
|
assertParamExists('projectsCreate', 'organization', organization);
|
|
7369
7791
|
// verify required parameter 'v2ProjectRequest' is not null or undefined
|
|
@@ -7400,7 +7822,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
7400
7822
|
* @param {*} [options] Override http request option.
|
|
7401
7823
|
* @throws {RequiredError}
|
|
7402
7824
|
*/
|
|
7403
|
-
projectsDelete: (
|
|
7825
|
+
projectsDelete: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
7404
7826
|
// verify required parameter 'organization' is not null or undefined
|
|
7405
7827
|
assertParamExists('projectsDelete', 'organization', organization);
|
|
7406
7828
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7435,7 +7857,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
7435
7857
|
* @param {*} [options] Override http request option.
|
|
7436
7858
|
* @throws {RequiredError}
|
|
7437
7859
|
*/
|
|
7438
|
-
projectsList: (
|
|
7860
|
+
projectsList: (organization_1, ...args_1) => __awaiter(this, [organization_1, ...args_1], void 0, function* (organization, options = {}) {
|
|
7439
7861
|
// verify required parameter 'organization' is not null or undefined
|
|
7440
7862
|
assertParamExists('projectsList', 'organization', organization);
|
|
7441
7863
|
const localVarPath = `/api/v2/organizations/{organization}/projects`
|
|
@@ -7469,7 +7891,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
7469
7891
|
* @param {*} [options] Override http request option.
|
|
7470
7892
|
* @throws {RequiredError}
|
|
7471
7893
|
*/
|
|
7472
|
-
projectsRead: (
|
|
7894
|
+
projectsRead: (organization_1, project_1, withToken_1, ...args_1) => __awaiter(this, [organization_1, project_1, withToken_1, ...args_1], void 0, function* (organization, project, withToken, options = {}) {
|
|
7473
7895
|
// verify required parameter 'organization' is not null or undefined
|
|
7474
7896
|
assertParamExists('projectsRead', 'organization', organization);
|
|
7475
7897
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7511,7 +7933,7 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
7511
7933
|
* @param {*} [options] Override http request option.
|
|
7512
7934
|
* @throws {RequiredError}
|
|
7513
7935
|
*/
|
|
7514
|
-
projectsUpdate: (
|
|
7936
|
+
projectsUpdate: (organization_1, project_1, v2ProjectRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2ProjectRequest_1, ...args_1], void 0, function* (organization, project, v2ProjectRequest, options = {}) {
|
|
7515
7937
|
// verify required parameter 'organization' is not null or undefined
|
|
7516
7938
|
assertParamExists('projectsUpdate', 'organization', organization);
|
|
7517
7939
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7561,8 +7983,8 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
7561
7983
|
* @throws {RequiredError}
|
|
7562
7984
|
*/
|
|
7563
7985
|
projectsCreate(organization, v2ProjectRequest, options) {
|
|
7564
|
-
var _a, _b, _c;
|
|
7565
7986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7987
|
+
var _a, _b, _c;
|
|
7566
7988
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectsCreate(organization, v2ProjectRequest, options);
|
|
7567
7989
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7568
7990
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectsCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7578,8 +8000,8 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
7578
8000
|
* @throws {RequiredError}
|
|
7579
8001
|
*/
|
|
7580
8002
|
projectsDelete(organization, project, options) {
|
|
7581
|
-
var _a, _b, _c;
|
|
7582
8003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8004
|
+
var _a, _b, _c;
|
|
7583
8005
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectsDelete(organization, project, options);
|
|
7584
8006
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7585
8007
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectsDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7594,8 +8016,8 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
7594
8016
|
* @throws {RequiredError}
|
|
7595
8017
|
*/
|
|
7596
8018
|
projectsList(organization, options) {
|
|
7597
|
-
var _a, _b, _c;
|
|
7598
8019
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8020
|
+
var _a, _b, _c;
|
|
7599
8021
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectsList(organization, options);
|
|
7600
8022
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7601
8023
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7612,8 +8034,8 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
7612
8034
|
* @throws {RequiredError}
|
|
7613
8035
|
*/
|
|
7614
8036
|
projectsRead(organization, project, withToken, options) {
|
|
7615
|
-
var _a, _b, _c;
|
|
7616
8037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8038
|
+
var _a, _b, _c;
|
|
7617
8039
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectsRead(organization, project, withToken, options);
|
|
7618
8040
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7619
8041
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectsRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7630,8 +8052,8 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
7630
8052
|
* @throws {RequiredError}
|
|
7631
8053
|
*/
|
|
7632
8054
|
projectsUpdate(organization, project, v2ProjectRequest, options) {
|
|
7633
|
-
var _a, _b, _c;
|
|
7634
8055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8056
|
+
var _a, _b, _c;
|
|
7635
8057
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.projectsUpdate(organization, project, v2ProjectRequest, options);
|
|
7636
8058
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7637
8059
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectsUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7789,7 +8211,7 @@ export const PurgeApiAxiosParamCreator = function (configuration) {
|
|
|
7789
8211
|
* @param {*} [options] Override http request option.
|
|
7790
8212
|
* @throws {RequiredError}
|
|
7791
8213
|
*/
|
|
7792
|
-
purgeCreate: (
|
|
8214
|
+
purgeCreate: (organization_1, project_1, purgeCreateRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, purgeCreateRequest_1, ...args_1], void 0, function* (organization, project, purgeCreateRequest, options = {}) {
|
|
7793
8215
|
// verify required parameter 'organization' is not null or undefined
|
|
7794
8216
|
assertParamExists('purgeCreate', 'organization', organization);
|
|
7795
8217
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7840,8 +8262,8 @@ export const PurgeApiFp = function (configuration) {
|
|
|
7840
8262
|
* @throws {RequiredError}
|
|
7841
8263
|
*/
|
|
7842
8264
|
purgeCreate(organization, project, purgeCreateRequest, options) {
|
|
7843
|
-
var _a, _b, _c;
|
|
7844
8265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8266
|
+
var _a, _b, _c;
|
|
7845
8267
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.purgeCreate(organization, project, purgeCreateRequest, options);
|
|
7846
8268
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7847
8269
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PurgeApi.purgeCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -7907,7 +8329,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
7907
8329
|
* @param {*} [options] Override http request option.
|
|
7908
8330
|
* @throws {RequiredError}
|
|
7909
8331
|
*/
|
|
7910
|
-
rulesAuthCreate: (
|
|
8332
|
+
rulesAuthCreate: (organization_1, project_1, v2RuleAuthRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleAuthRequest_1, ...args_1], void 0, function* (organization, project, v2RuleAuthRequest, options = {}) {
|
|
7911
8333
|
// verify required parameter 'organization' is not null or undefined
|
|
7912
8334
|
assertParamExists('rulesAuthCreate', 'organization', organization);
|
|
7913
8335
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7948,7 +8370,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
7948
8370
|
* @param {*} [options] Override http request option.
|
|
7949
8371
|
* @throws {RequiredError}
|
|
7950
8372
|
*/
|
|
7951
|
-
rulesAuthDelete: (
|
|
8373
|
+
rulesAuthDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
7952
8374
|
// verify required parameter 'organization' is not null or undefined
|
|
7953
8375
|
assertParamExists('rulesAuthDelete', 'organization', organization);
|
|
7954
8376
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -7987,7 +8409,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
7987
8409
|
* @param {*} [options] Override http request option.
|
|
7988
8410
|
* @throws {RequiredError}
|
|
7989
8411
|
*/
|
|
7990
|
-
rulesAuthList: (
|
|
8412
|
+
rulesAuthList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
7991
8413
|
// verify required parameter 'organization' is not null or undefined
|
|
7992
8414
|
assertParamExists('rulesAuthList', 'organization', organization);
|
|
7993
8415
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8024,7 +8446,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8024
8446
|
* @param {*} [options] Override http request option.
|
|
8025
8447
|
* @throws {RequiredError}
|
|
8026
8448
|
*/
|
|
8027
|
-
rulesAuthRead: (
|
|
8449
|
+
rulesAuthRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8028
8450
|
// verify required parameter 'organization' is not null or undefined
|
|
8029
8451
|
assertParamExists('rulesAuthRead', 'organization', organization);
|
|
8030
8452
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8065,7 +8487,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8065
8487
|
* @param {*} [options] Override http request option.
|
|
8066
8488
|
* @throws {RequiredError}
|
|
8067
8489
|
*/
|
|
8068
|
-
rulesAuthUpdate: (
|
|
8490
|
+
rulesAuthUpdate: (organization_1, project_1, rule_1, v2RuleAuthRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleAuthRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleAuthRequest, options = {}) {
|
|
8069
8491
|
// verify required parameter 'organization' is not null or undefined
|
|
8070
8492
|
assertParamExists('rulesAuthUpdate', 'organization', organization);
|
|
8071
8493
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8109,7 +8531,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8109
8531
|
* @param {*} [options] Override http request option.
|
|
8110
8532
|
* @throws {RequiredError}
|
|
8111
8533
|
*/
|
|
8112
|
-
rulesBotChallengeCreate: (
|
|
8534
|
+
rulesBotChallengeCreate: (organization_1, project_1, v2RuleBotChallengeRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleBotChallengeRequest_1, ...args_1], void 0, function* (organization, project, v2RuleBotChallengeRequest, options = {}) {
|
|
8113
8535
|
// verify required parameter 'organization' is not null or undefined
|
|
8114
8536
|
assertParamExists('rulesBotChallengeCreate', 'organization', organization);
|
|
8115
8537
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8150,7 +8572,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8150
8572
|
* @param {*} [options] Override http request option.
|
|
8151
8573
|
* @throws {RequiredError}
|
|
8152
8574
|
*/
|
|
8153
|
-
rulesBotChallengeDelete: (
|
|
8575
|
+
rulesBotChallengeDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8154
8576
|
// verify required parameter 'organization' is not null or undefined
|
|
8155
8577
|
assertParamExists('rulesBotChallengeDelete', 'organization', organization);
|
|
8156
8578
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8189,7 +8611,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8189
8611
|
* @param {*} [options] Override http request option.
|
|
8190
8612
|
* @throws {RequiredError}
|
|
8191
8613
|
*/
|
|
8192
|
-
rulesBotChallengeList: (
|
|
8614
|
+
rulesBotChallengeList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
8193
8615
|
// verify required parameter 'organization' is not null or undefined
|
|
8194
8616
|
assertParamExists('rulesBotChallengeList', 'organization', organization);
|
|
8195
8617
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8226,7 +8648,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8226
8648
|
* @param {*} [options] Override http request option.
|
|
8227
8649
|
* @throws {RequiredError}
|
|
8228
8650
|
*/
|
|
8229
|
-
rulesBotChallengeRead: (
|
|
8651
|
+
rulesBotChallengeRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8230
8652
|
// verify required parameter 'organization' is not null or undefined
|
|
8231
8653
|
assertParamExists('rulesBotChallengeRead', 'organization', organization);
|
|
8232
8654
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8267,7 +8689,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8267
8689
|
* @param {*} [options] Override http request option.
|
|
8268
8690
|
* @throws {RequiredError}
|
|
8269
8691
|
*/
|
|
8270
|
-
rulesBotChallengeUpdate: (
|
|
8692
|
+
rulesBotChallengeUpdate: (organization_1, project_1, rule_1, v2RuleBotChallengeRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleBotChallengeRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleBotChallengeRequest, options = {}) {
|
|
8271
8693
|
// verify required parameter 'organization' is not null or undefined
|
|
8272
8694
|
assertParamExists('rulesBotChallengeUpdate', 'organization', organization);
|
|
8273
8695
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8311,7 +8733,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8311
8733
|
* @param {*} [options] Override http request option.
|
|
8312
8734
|
* @throws {RequiredError}
|
|
8313
8735
|
*/
|
|
8314
|
-
rulesContentFilterCreate: (
|
|
8736
|
+
rulesContentFilterCreate: (organization_1, project_1, v2RuleContentFilterRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleContentFilterRequest_1, ...args_1], void 0, function* (organization, project, v2RuleContentFilterRequest, options = {}) {
|
|
8315
8737
|
// verify required parameter 'organization' is not null or undefined
|
|
8316
8738
|
assertParamExists('rulesContentFilterCreate', 'organization', organization);
|
|
8317
8739
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8352,7 +8774,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8352
8774
|
* @param {*} [options] Override http request option.
|
|
8353
8775
|
* @throws {RequiredError}
|
|
8354
8776
|
*/
|
|
8355
|
-
rulesContentFilterDelete: (
|
|
8777
|
+
rulesContentFilterDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8356
8778
|
// verify required parameter 'organization' is not null or undefined
|
|
8357
8779
|
assertParamExists('rulesContentFilterDelete', 'organization', organization);
|
|
8358
8780
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8391,7 +8813,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8391
8813
|
* @param {*} [options] Override http request option.
|
|
8392
8814
|
* @throws {RequiredError}
|
|
8393
8815
|
*/
|
|
8394
|
-
rulesContentFilterList: (
|
|
8816
|
+
rulesContentFilterList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
8395
8817
|
// verify required parameter 'organization' is not null or undefined
|
|
8396
8818
|
assertParamExists('rulesContentFilterList', 'organization', organization);
|
|
8397
8819
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8428,7 +8850,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8428
8850
|
* @param {*} [options] Override http request option.
|
|
8429
8851
|
* @throws {RequiredError}
|
|
8430
8852
|
*/
|
|
8431
|
-
rulesContentFilterRead: (
|
|
8853
|
+
rulesContentFilterRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8432
8854
|
// verify required parameter 'organization' is not null or undefined
|
|
8433
8855
|
assertParamExists('rulesContentFilterRead', 'organization', organization);
|
|
8434
8856
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8469,7 +8891,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8469
8891
|
* @param {*} [options] Override http request option.
|
|
8470
8892
|
* @throws {RequiredError}
|
|
8471
8893
|
*/
|
|
8472
|
-
rulesContentFilterUpdate: (
|
|
8894
|
+
rulesContentFilterUpdate: (organization_1, project_1, rule_1, v2RuleContentFilterRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleContentFilterRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleContentFilterRequest, options = {}) {
|
|
8473
8895
|
// verify required parameter 'organization' is not null or undefined
|
|
8474
8896
|
assertParamExists('rulesContentFilterUpdate', 'organization', organization);
|
|
8475
8897
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8513,7 +8935,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8513
8935
|
* @param {*} [options] Override http request option.
|
|
8514
8936
|
* @throws {RequiredError}
|
|
8515
8937
|
*/
|
|
8516
|
-
rulesCustomResponseCreate: (
|
|
8938
|
+
rulesCustomResponseCreate: (organization_1, project_1, v2RuleCustomResponseRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleCustomResponseRequest_1, ...args_1], void 0, function* (organization, project, v2RuleCustomResponseRequest, options = {}) {
|
|
8517
8939
|
// verify required parameter 'organization' is not null or undefined
|
|
8518
8940
|
assertParamExists('rulesCustomResponseCreate', 'organization', organization);
|
|
8519
8941
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8554,7 +8976,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8554
8976
|
* @param {*} [options] Override http request option.
|
|
8555
8977
|
* @throws {RequiredError}
|
|
8556
8978
|
*/
|
|
8557
|
-
rulesCustomResponseDelete: (
|
|
8979
|
+
rulesCustomResponseDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8558
8980
|
// verify required parameter 'organization' is not null or undefined
|
|
8559
8981
|
assertParamExists('rulesCustomResponseDelete', 'organization', organization);
|
|
8560
8982
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8593,7 +9015,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8593
9015
|
* @param {*} [options] Override http request option.
|
|
8594
9016
|
* @throws {RequiredError}
|
|
8595
9017
|
*/
|
|
8596
|
-
rulesCustomResponseList: (
|
|
9018
|
+
rulesCustomResponseList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
8597
9019
|
// verify required parameter 'organization' is not null or undefined
|
|
8598
9020
|
assertParamExists('rulesCustomResponseList', 'organization', organization);
|
|
8599
9021
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8630,7 +9052,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8630
9052
|
* @param {*} [options] Override http request option.
|
|
8631
9053
|
* @throws {RequiredError}
|
|
8632
9054
|
*/
|
|
8633
|
-
rulesCustomResponseRead: (
|
|
9055
|
+
rulesCustomResponseRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8634
9056
|
// verify required parameter 'organization' is not null or undefined
|
|
8635
9057
|
assertParamExists('rulesCustomResponseRead', 'organization', organization);
|
|
8636
9058
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8671,7 +9093,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8671
9093
|
* @param {*} [options] Override http request option.
|
|
8672
9094
|
* @throws {RequiredError}
|
|
8673
9095
|
*/
|
|
8674
|
-
rulesCustomResponseUpdate: (
|
|
9096
|
+
rulesCustomResponseUpdate: (organization_1, project_1, rule_1, v2RuleCustomResponseRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleCustomResponseRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleCustomResponseRequest, options = {}) {
|
|
8675
9097
|
// verify required parameter 'organization' is not null or undefined
|
|
8676
9098
|
assertParamExists('rulesCustomResponseUpdate', 'organization', organization);
|
|
8677
9099
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8715,7 +9137,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8715
9137
|
* @param {*} [options] Override http request option.
|
|
8716
9138
|
* @throws {RequiredError}
|
|
8717
9139
|
*/
|
|
8718
|
-
rulesFunctionCreate: (
|
|
9140
|
+
rulesFunctionCreate: (organization_1, project_1, v2RuleFunctionRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleFunctionRequest_1, ...args_1], void 0, function* (organization, project, v2RuleFunctionRequest, options = {}) {
|
|
8719
9141
|
// verify required parameter 'organization' is not null or undefined
|
|
8720
9142
|
assertParamExists('rulesFunctionCreate', 'organization', organization);
|
|
8721
9143
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8756,7 +9178,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8756
9178
|
* @param {*} [options] Override http request option.
|
|
8757
9179
|
* @throws {RequiredError}
|
|
8758
9180
|
*/
|
|
8759
|
-
rulesFunctionDelete: (
|
|
9181
|
+
rulesFunctionDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8760
9182
|
// verify required parameter 'organization' is not null or undefined
|
|
8761
9183
|
assertParamExists('rulesFunctionDelete', 'organization', organization);
|
|
8762
9184
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8795,7 +9217,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8795
9217
|
* @param {*} [options] Override http request option.
|
|
8796
9218
|
* @throws {RequiredError}
|
|
8797
9219
|
*/
|
|
8798
|
-
rulesFunctionList: (
|
|
9220
|
+
rulesFunctionList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
8799
9221
|
// verify required parameter 'organization' is not null or undefined
|
|
8800
9222
|
assertParamExists('rulesFunctionList', 'organization', organization);
|
|
8801
9223
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8832,7 +9254,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8832
9254
|
* @param {*} [options] Override http request option.
|
|
8833
9255
|
* @throws {RequiredError}
|
|
8834
9256
|
*/
|
|
8835
|
-
rulesFunctionRead: (
|
|
9257
|
+
rulesFunctionRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8836
9258
|
// verify required parameter 'organization' is not null or undefined
|
|
8837
9259
|
assertParamExists('rulesFunctionRead', 'organization', organization);
|
|
8838
9260
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8873,7 +9295,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8873
9295
|
* @param {*} [options] Override http request option.
|
|
8874
9296
|
* @throws {RequiredError}
|
|
8875
9297
|
*/
|
|
8876
|
-
rulesFunctionUpdate: (
|
|
9298
|
+
rulesFunctionUpdate: (organization_1, project_1, rule_1, v2RuleFunctionRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleFunctionRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleFunctionRequest, options = {}) {
|
|
8877
9299
|
// verify required parameter 'organization' is not null or undefined
|
|
8878
9300
|
assertParamExists('rulesFunctionUpdate', 'organization', organization);
|
|
8879
9301
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8917,7 +9339,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8917
9339
|
* @param {*} [options] Override http request option.
|
|
8918
9340
|
* @throws {RequiredError}
|
|
8919
9341
|
*/
|
|
8920
|
-
rulesHeadersCreate: (
|
|
9342
|
+
rulesHeadersCreate: (organization_1, project_1, v2RuleHeaderRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleHeaderRequest_1, ...args_1], void 0, function* (organization, project, v2RuleHeaderRequest, options = {}) {
|
|
8921
9343
|
// verify required parameter 'organization' is not null or undefined
|
|
8922
9344
|
assertParamExists('rulesHeadersCreate', 'organization', organization);
|
|
8923
9345
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8958,7 +9380,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8958
9380
|
* @param {*} [options] Override http request option.
|
|
8959
9381
|
* @throws {RequiredError}
|
|
8960
9382
|
*/
|
|
8961
|
-
rulesHeadersDelete: (
|
|
9383
|
+
rulesHeadersDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
8962
9384
|
// verify required parameter 'organization' is not null or undefined
|
|
8963
9385
|
assertParamExists('rulesHeadersDelete', 'organization', organization);
|
|
8964
9386
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -8997,7 +9419,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
8997
9419
|
* @param {*} [options] Override http request option.
|
|
8998
9420
|
* @throws {RequiredError}
|
|
8999
9421
|
*/
|
|
9000
|
-
rulesHeadersList: (
|
|
9422
|
+
rulesHeadersList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
9001
9423
|
// verify required parameter 'organization' is not null or undefined
|
|
9002
9424
|
assertParamExists('rulesHeadersList', 'organization', organization);
|
|
9003
9425
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9034,7 +9456,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9034
9456
|
* @param {*} [options] Override http request option.
|
|
9035
9457
|
* @throws {RequiredError}
|
|
9036
9458
|
*/
|
|
9037
|
-
rulesHeadersRead: (
|
|
9459
|
+
rulesHeadersRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9038
9460
|
// verify required parameter 'organization' is not null or undefined
|
|
9039
9461
|
assertParamExists('rulesHeadersRead', 'organization', organization);
|
|
9040
9462
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9075,7 +9497,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9075
9497
|
* @param {*} [options] Override http request option.
|
|
9076
9498
|
* @throws {RequiredError}
|
|
9077
9499
|
*/
|
|
9078
|
-
rulesHeadersUpdate: (
|
|
9500
|
+
rulesHeadersUpdate: (organization_1, project_1, rule_1, v2RuleHeaderRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleHeaderRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleHeaderRequest, options = {}) {
|
|
9079
9501
|
// verify required parameter 'organization' is not null or undefined
|
|
9080
9502
|
assertParamExists('rulesHeadersUpdate', 'organization', organization);
|
|
9081
9503
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9119,7 +9541,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9119
9541
|
* @param {*} [options] Override http request option.
|
|
9120
9542
|
* @throws {RequiredError}
|
|
9121
9543
|
*/
|
|
9122
|
-
rulesProxyCreate: (
|
|
9544
|
+
rulesProxyCreate: (organization_1, project_1, v2RuleProxyRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleProxyRequest_1, ...args_1], void 0, function* (organization, project, v2RuleProxyRequest, options = {}) {
|
|
9123
9545
|
// verify required parameter 'organization' is not null or undefined
|
|
9124
9546
|
assertParamExists('rulesProxyCreate', 'organization', organization);
|
|
9125
9547
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9160,7 +9582,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9160
9582
|
* @param {*} [options] Override http request option.
|
|
9161
9583
|
* @throws {RequiredError}
|
|
9162
9584
|
*/
|
|
9163
|
-
rulesProxyDelete: (
|
|
9585
|
+
rulesProxyDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9164
9586
|
// verify required parameter 'organization' is not null or undefined
|
|
9165
9587
|
assertParamExists('rulesProxyDelete', 'organization', organization);
|
|
9166
9588
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9199,7 +9621,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9199
9621
|
* @param {*} [options] Override http request option.
|
|
9200
9622
|
* @throws {RequiredError}
|
|
9201
9623
|
*/
|
|
9202
|
-
rulesProxyList: (
|
|
9624
|
+
rulesProxyList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
9203
9625
|
// verify required parameter 'organization' is not null or undefined
|
|
9204
9626
|
assertParamExists('rulesProxyList', 'organization', organization);
|
|
9205
9627
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9236,7 +9658,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9236
9658
|
* @param {*} [options] Override http request option.
|
|
9237
9659
|
* @throws {RequiredError}
|
|
9238
9660
|
*/
|
|
9239
|
-
rulesProxyRead: (
|
|
9661
|
+
rulesProxyRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9240
9662
|
// verify required parameter 'organization' is not null or undefined
|
|
9241
9663
|
assertParamExists('rulesProxyRead', 'organization', organization);
|
|
9242
9664
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9277,7 +9699,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9277
9699
|
* @param {*} [options] Override http request option.
|
|
9278
9700
|
* @throws {RequiredError}
|
|
9279
9701
|
*/
|
|
9280
|
-
rulesProxyUpdate: (
|
|
9702
|
+
rulesProxyUpdate: (organization_1, project_1, rule_1, v2RuleProxyRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleProxyRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleProxyRequest, options = {}) {
|
|
9281
9703
|
// verify required parameter 'organization' is not null or undefined
|
|
9282
9704
|
assertParamExists('rulesProxyUpdate', 'organization', organization);
|
|
9283
9705
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9321,7 +9743,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9321
9743
|
* @param {*} [options] Override http request option.
|
|
9322
9744
|
* @throws {RequiredError}
|
|
9323
9745
|
*/
|
|
9324
|
-
rulesRedirectCreate: (
|
|
9746
|
+
rulesRedirectCreate: (organization_1, project_1, v2RuleRedirectRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleRedirectRequest_1, ...args_1], void 0, function* (organization, project, v2RuleRedirectRequest, options = {}) {
|
|
9325
9747
|
// verify required parameter 'organization' is not null or undefined
|
|
9326
9748
|
assertParamExists('rulesRedirectCreate', 'organization', organization);
|
|
9327
9749
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9362,7 +9784,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9362
9784
|
* @param {*} [options] Override http request option.
|
|
9363
9785
|
* @throws {RequiredError}
|
|
9364
9786
|
*/
|
|
9365
|
-
rulesRedirectDelete: (
|
|
9787
|
+
rulesRedirectDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9366
9788
|
// verify required parameter 'organization' is not null or undefined
|
|
9367
9789
|
assertParamExists('rulesRedirectDelete', 'organization', organization);
|
|
9368
9790
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9401,7 +9823,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9401
9823
|
* @param {*} [options] Override http request option.
|
|
9402
9824
|
* @throws {RequiredError}
|
|
9403
9825
|
*/
|
|
9404
|
-
rulesRedirectList: (
|
|
9826
|
+
rulesRedirectList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
9405
9827
|
// verify required parameter 'organization' is not null or undefined
|
|
9406
9828
|
assertParamExists('rulesRedirectList', 'organization', organization);
|
|
9407
9829
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9438,7 +9860,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9438
9860
|
* @param {*} [options] Override http request option.
|
|
9439
9861
|
* @throws {RequiredError}
|
|
9440
9862
|
*/
|
|
9441
|
-
rulesRedirectRead: (
|
|
9863
|
+
rulesRedirectRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9442
9864
|
// verify required parameter 'organization' is not null or undefined
|
|
9443
9865
|
assertParamExists('rulesRedirectRead', 'organization', organization);
|
|
9444
9866
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9479,7 +9901,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9479
9901
|
* @param {*} [options] Override http request option.
|
|
9480
9902
|
* @throws {RequiredError}
|
|
9481
9903
|
*/
|
|
9482
|
-
rulesRedirectUpdate: (
|
|
9904
|
+
rulesRedirectUpdate: (organization_1, project_1, rule_1, v2RuleRedirectRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleRedirectRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleRedirectRequest, options = {}) {
|
|
9483
9905
|
// verify required parameter 'organization' is not null or undefined
|
|
9484
9906
|
assertParamExists('rulesRedirectUpdate', 'organization', organization);
|
|
9485
9907
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9523,7 +9945,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9523
9945
|
* @param {*} [options] Override http request option.
|
|
9524
9946
|
* @throws {RequiredError}
|
|
9525
9947
|
*/
|
|
9526
|
-
rulesServeStaticCreate: (
|
|
9948
|
+
rulesServeStaticCreate: (organization_1, project_1, v2RuleServeStaticRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, v2RuleServeStaticRequest_1, ...args_1], void 0, function* (organization, project, v2RuleServeStaticRequest, options = {}) {
|
|
9527
9949
|
// verify required parameter 'organization' is not null or undefined
|
|
9528
9950
|
assertParamExists('rulesServeStaticCreate', 'organization', organization);
|
|
9529
9951
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9564,7 +9986,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9564
9986
|
* @param {*} [options] Override http request option.
|
|
9565
9987
|
* @throws {RequiredError}
|
|
9566
9988
|
*/
|
|
9567
|
-
rulesServeStaticDelete: (
|
|
9989
|
+
rulesServeStaticDelete: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9568
9990
|
// verify required parameter 'organization' is not null or undefined
|
|
9569
9991
|
assertParamExists('rulesServeStaticDelete', 'organization', organization);
|
|
9570
9992
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9603,7 +10025,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9603
10025
|
* @param {*} [options] Override http request option.
|
|
9604
10026
|
* @throws {RequiredError}
|
|
9605
10027
|
*/
|
|
9606
|
-
rulesServeStaticList: (
|
|
10028
|
+
rulesServeStaticList: (organization_1, project_1, ...args_1) => __awaiter(this, [organization_1, project_1, ...args_1], void 0, function* (organization, project, options = {}) {
|
|
9607
10029
|
// verify required parameter 'organization' is not null or undefined
|
|
9608
10030
|
assertParamExists('rulesServeStaticList', 'organization', organization);
|
|
9609
10031
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9640,7 +10062,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9640
10062
|
* @param {*} [options] Override http request option.
|
|
9641
10063
|
* @throws {RequiredError}
|
|
9642
10064
|
*/
|
|
9643
|
-
rulesServeStaticRead: (
|
|
10065
|
+
rulesServeStaticRead: (organization_1, project_1, rule_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, ...args_1], void 0, function* (organization, project, rule, options = {}) {
|
|
9644
10066
|
// verify required parameter 'organization' is not null or undefined
|
|
9645
10067
|
assertParamExists('rulesServeStaticRead', 'organization', organization);
|
|
9646
10068
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9681,7 +10103,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
|
|
|
9681
10103
|
* @param {*} [options] Override http request option.
|
|
9682
10104
|
* @throws {RequiredError}
|
|
9683
10105
|
*/
|
|
9684
|
-
rulesServeStaticUpdate: (
|
|
10106
|
+
rulesServeStaticUpdate: (organization_1, project_1, rule_1, v2RuleServeStaticRequest_1, ...args_1) => __awaiter(this, [organization_1, project_1, rule_1, v2RuleServeStaticRequest_1, ...args_1], void 0, function* (organization, project, rule, v2RuleServeStaticRequest, options = {}) {
|
|
9685
10107
|
// verify required parameter 'organization' is not null or undefined
|
|
9686
10108
|
assertParamExists('rulesServeStaticUpdate', 'organization', organization);
|
|
9687
10109
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -9735,8 +10157,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9735
10157
|
* @throws {RequiredError}
|
|
9736
10158
|
*/
|
|
9737
10159
|
rulesAuthCreate(organization, project, v2RuleAuthRequest, options) {
|
|
9738
|
-
var _a, _b, _c;
|
|
9739
10160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10161
|
+
var _a, _b, _c;
|
|
9740
10162
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesAuthCreate(organization, project, v2RuleAuthRequest, options);
|
|
9741
10163
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9742
10164
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesAuthCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9753,8 +10175,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9753
10175
|
* @throws {RequiredError}
|
|
9754
10176
|
*/
|
|
9755
10177
|
rulesAuthDelete(organization, project, rule, options) {
|
|
9756
|
-
var _a, _b, _c;
|
|
9757
10178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10179
|
+
var _a, _b, _c;
|
|
9758
10180
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesAuthDelete(organization, project, rule, options);
|
|
9759
10181
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9760
10182
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesAuthDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9770,8 +10192,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9770
10192
|
* @throws {RequiredError}
|
|
9771
10193
|
*/
|
|
9772
10194
|
rulesAuthList(organization, project, options) {
|
|
9773
|
-
var _a, _b, _c;
|
|
9774
10195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10196
|
+
var _a, _b, _c;
|
|
9775
10197
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesAuthList(organization, project, options);
|
|
9776
10198
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9777
10199
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesAuthList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9788,8 +10210,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9788
10210
|
* @throws {RequiredError}
|
|
9789
10211
|
*/
|
|
9790
10212
|
rulesAuthRead(organization, project, rule, options) {
|
|
9791
|
-
var _a, _b, _c;
|
|
9792
10213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10214
|
+
var _a, _b, _c;
|
|
9793
10215
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesAuthRead(organization, project, rule, options);
|
|
9794
10216
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9795
10217
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesAuthRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9807,8 +10229,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9807
10229
|
* @throws {RequiredError}
|
|
9808
10230
|
*/
|
|
9809
10231
|
rulesAuthUpdate(organization, project, rule, v2RuleAuthRequest, options) {
|
|
9810
|
-
var _a, _b, _c;
|
|
9811
10232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10233
|
+
var _a, _b, _c;
|
|
9812
10234
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesAuthUpdate(organization, project, rule, v2RuleAuthRequest, options);
|
|
9813
10235
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9814
10236
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesAuthUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9825,8 +10247,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9825
10247
|
* @throws {RequiredError}
|
|
9826
10248
|
*/
|
|
9827
10249
|
rulesBotChallengeCreate(organization, project, v2RuleBotChallengeRequest, options) {
|
|
9828
|
-
var _a, _b, _c;
|
|
9829
10250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10251
|
+
var _a, _b, _c;
|
|
9830
10252
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesBotChallengeCreate(organization, project, v2RuleBotChallengeRequest, options);
|
|
9831
10253
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9832
10254
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesBotChallengeCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9843,8 +10265,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9843
10265
|
* @throws {RequiredError}
|
|
9844
10266
|
*/
|
|
9845
10267
|
rulesBotChallengeDelete(organization, project, rule, options) {
|
|
9846
|
-
var _a, _b, _c;
|
|
9847
10268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10269
|
+
var _a, _b, _c;
|
|
9848
10270
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesBotChallengeDelete(organization, project, rule, options);
|
|
9849
10271
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9850
10272
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesBotChallengeDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9860,8 +10282,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9860
10282
|
* @throws {RequiredError}
|
|
9861
10283
|
*/
|
|
9862
10284
|
rulesBotChallengeList(organization, project, options) {
|
|
9863
|
-
var _a, _b, _c;
|
|
9864
10285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10286
|
+
var _a, _b, _c;
|
|
9865
10287
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesBotChallengeList(organization, project, options);
|
|
9866
10288
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9867
10289
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesBotChallengeList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9878,8 +10300,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9878
10300
|
* @throws {RequiredError}
|
|
9879
10301
|
*/
|
|
9880
10302
|
rulesBotChallengeRead(organization, project, rule, options) {
|
|
9881
|
-
var _a, _b, _c;
|
|
9882
10303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10304
|
+
var _a, _b, _c;
|
|
9883
10305
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesBotChallengeRead(organization, project, rule, options);
|
|
9884
10306
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9885
10307
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesBotChallengeRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9897,8 +10319,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9897
10319
|
* @throws {RequiredError}
|
|
9898
10320
|
*/
|
|
9899
10321
|
rulesBotChallengeUpdate(organization, project, rule, v2RuleBotChallengeRequest, options) {
|
|
9900
|
-
var _a, _b, _c;
|
|
9901
10322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10323
|
+
var _a, _b, _c;
|
|
9902
10324
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesBotChallengeUpdate(organization, project, rule, v2RuleBotChallengeRequest, options);
|
|
9903
10325
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9904
10326
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesBotChallengeUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9915,8 +10337,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9915
10337
|
* @throws {RequiredError}
|
|
9916
10338
|
*/
|
|
9917
10339
|
rulesContentFilterCreate(organization, project, v2RuleContentFilterRequest, options) {
|
|
9918
|
-
var _a, _b, _c;
|
|
9919
10340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10341
|
+
var _a, _b, _c;
|
|
9920
10342
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesContentFilterCreate(organization, project, v2RuleContentFilterRequest, options);
|
|
9921
10343
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9922
10344
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesContentFilterCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9933,8 +10355,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9933
10355
|
* @throws {RequiredError}
|
|
9934
10356
|
*/
|
|
9935
10357
|
rulesContentFilterDelete(organization, project, rule, options) {
|
|
9936
|
-
var _a, _b, _c;
|
|
9937
10358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10359
|
+
var _a, _b, _c;
|
|
9938
10360
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesContentFilterDelete(organization, project, rule, options);
|
|
9939
10361
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9940
10362
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesContentFilterDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9950,8 +10372,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9950
10372
|
* @throws {RequiredError}
|
|
9951
10373
|
*/
|
|
9952
10374
|
rulesContentFilterList(organization, project, options) {
|
|
9953
|
-
var _a, _b, _c;
|
|
9954
10375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10376
|
+
var _a, _b, _c;
|
|
9955
10377
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesContentFilterList(organization, project, options);
|
|
9956
10378
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9957
10379
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesContentFilterList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9968,8 +10390,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9968
10390
|
* @throws {RequiredError}
|
|
9969
10391
|
*/
|
|
9970
10392
|
rulesContentFilterRead(organization, project, rule, options) {
|
|
9971
|
-
var _a, _b, _c;
|
|
9972
10393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10394
|
+
var _a, _b, _c;
|
|
9973
10395
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesContentFilterRead(organization, project, rule, options);
|
|
9974
10396
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9975
10397
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesContentFilterRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -9987,8 +10409,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
9987
10409
|
* @throws {RequiredError}
|
|
9988
10410
|
*/
|
|
9989
10411
|
rulesContentFilterUpdate(organization, project, rule, v2RuleContentFilterRequest, options) {
|
|
9990
|
-
var _a, _b, _c;
|
|
9991
10412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10413
|
+
var _a, _b, _c;
|
|
9992
10414
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesContentFilterUpdate(organization, project, rule, v2RuleContentFilterRequest, options);
|
|
9993
10415
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9994
10416
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesContentFilterUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10005,8 +10427,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10005
10427
|
* @throws {RequiredError}
|
|
10006
10428
|
*/
|
|
10007
10429
|
rulesCustomResponseCreate(organization, project, v2RuleCustomResponseRequest, options) {
|
|
10008
|
-
var _a, _b, _c;
|
|
10009
10430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10431
|
+
var _a, _b, _c;
|
|
10010
10432
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesCustomResponseCreate(organization, project, v2RuleCustomResponseRequest, options);
|
|
10011
10433
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10012
10434
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesCustomResponseCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10023,8 +10445,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10023
10445
|
* @throws {RequiredError}
|
|
10024
10446
|
*/
|
|
10025
10447
|
rulesCustomResponseDelete(organization, project, rule, options) {
|
|
10026
|
-
var _a, _b, _c;
|
|
10027
10448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10449
|
+
var _a, _b, _c;
|
|
10028
10450
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesCustomResponseDelete(organization, project, rule, options);
|
|
10029
10451
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10030
10452
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesCustomResponseDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10040,8 +10462,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10040
10462
|
* @throws {RequiredError}
|
|
10041
10463
|
*/
|
|
10042
10464
|
rulesCustomResponseList(organization, project, options) {
|
|
10043
|
-
var _a, _b, _c;
|
|
10044
10465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10466
|
+
var _a, _b, _c;
|
|
10045
10467
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesCustomResponseList(organization, project, options);
|
|
10046
10468
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10047
10469
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesCustomResponseList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10058,8 +10480,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10058
10480
|
* @throws {RequiredError}
|
|
10059
10481
|
*/
|
|
10060
10482
|
rulesCustomResponseRead(organization, project, rule, options) {
|
|
10061
|
-
var _a, _b, _c;
|
|
10062
10483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10484
|
+
var _a, _b, _c;
|
|
10063
10485
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesCustomResponseRead(organization, project, rule, options);
|
|
10064
10486
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10065
10487
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesCustomResponseRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10077,8 +10499,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10077
10499
|
* @throws {RequiredError}
|
|
10078
10500
|
*/
|
|
10079
10501
|
rulesCustomResponseUpdate(organization, project, rule, v2RuleCustomResponseRequest, options) {
|
|
10080
|
-
var _a, _b, _c;
|
|
10081
10502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10503
|
+
var _a, _b, _c;
|
|
10082
10504
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesCustomResponseUpdate(organization, project, rule, v2RuleCustomResponseRequest, options);
|
|
10083
10505
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10084
10506
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesCustomResponseUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10095,8 +10517,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10095
10517
|
* @throws {RequiredError}
|
|
10096
10518
|
*/
|
|
10097
10519
|
rulesFunctionCreate(organization, project, v2RuleFunctionRequest, options) {
|
|
10098
|
-
var _a, _b, _c;
|
|
10099
10520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10521
|
+
var _a, _b, _c;
|
|
10100
10522
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesFunctionCreate(organization, project, v2RuleFunctionRequest, options);
|
|
10101
10523
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10102
10524
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesFunctionCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10113,8 +10535,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10113
10535
|
* @throws {RequiredError}
|
|
10114
10536
|
*/
|
|
10115
10537
|
rulesFunctionDelete(organization, project, rule, options) {
|
|
10116
|
-
var _a, _b, _c;
|
|
10117
10538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10539
|
+
var _a, _b, _c;
|
|
10118
10540
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesFunctionDelete(organization, project, rule, options);
|
|
10119
10541
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10120
10542
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesFunctionDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10130,8 +10552,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10130
10552
|
* @throws {RequiredError}
|
|
10131
10553
|
*/
|
|
10132
10554
|
rulesFunctionList(organization, project, options) {
|
|
10133
|
-
var _a, _b, _c;
|
|
10134
10555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10556
|
+
var _a, _b, _c;
|
|
10135
10557
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesFunctionList(organization, project, options);
|
|
10136
10558
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10137
10559
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesFunctionList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10148,8 +10570,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10148
10570
|
* @throws {RequiredError}
|
|
10149
10571
|
*/
|
|
10150
10572
|
rulesFunctionRead(organization, project, rule, options) {
|
|
10151
|
-
var _a, _b, _c;
|
|
10152
10573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10574
|
+
var _a, _b, _c;
|
|
10153
10575
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesFunctionRead(organization, project, rule, options);
|
|
10154
10576
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10155
10577
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesFunctionRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10167,8 +10589,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10167
10589
|
* @throws {RequiredError}
|
|
10168
10590
|
*/
|
|
10169
10591
|
rulesFunctionUpdate(organization, project, rule, v2RuleFunctionRequest, options) {
|
|
10170
|
-
var _a, _b, _c;
|
|
10171
10592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10593
|
+
var _a, _b, _c;
|
|
10172
10594
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesFunctionUpdate(organization, project, rule, v2RuleFunctionRequest, options);
|
|
10173
10595
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10174
10596
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesFunctionUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10185,8 +10607,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10185
10607
|
* @throws {RequiredError}
|
|
10186
10608
|
*/
|
|
10187
10609
|
rulesHeadersCreate(organization, project, v2RuleHeaderRequest, options) {
|
|
10188
|
-
var _a, _b, _c;
|
|
10189
10610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10611
|
+
var _a, _b, _c;
|
|
10190
10612
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesHeadersCreate(organization, project, v2RuleHeaderRequest, options);
|
|
10191
10613
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10192
10614
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesHeadersCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10203,8 +10625,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10203
10625
|
* @throws {RequiredError}
|
|
10204
10626
|
*/
|
|
10205
10627
|
rulesHeadersDelete(organization, project, rule, options) {
|
|
10206
|
-
var _a, _b, _c;
|
|
10207
10628
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10629
|
+
var _a, _b, _c;
|
|
10208
10630
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesHeadersDelete(organization, project, rule, options);
|
|
10209
10631
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10210
10632
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesHeadersDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10220,8 +10642,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10220
10642
|
* @throws {RequiredError}
|
|
10221
10643
|
*/
|
|
10222
10644
|
rulesHeadersList(organization, project, options) {
|
|
10223
|
-
var _a, _b, _c;
|
|
10224
10645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10646
|
+
var _a, _b, _c;
|
|
10225
10647
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesHeadersList(organization, project, options);
|
|
10226
10648
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10227
10649
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesHeadersList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10238,8 +10660,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10238
10660
|
* @throws {RequiredError}
|
|
10239
10661
|
*/
|
|
10240
10662
|
rulesHeadersRead(organization, project, rule, options) {
|
|
10241
|
-
var _a, _b, _c;
|
|
10242
10663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10664
|
+
var _a, _b, _c;
|
|
10243
10665
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesHeadersRead(organization, project, rule, options);
|
|
10244
10666
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10245
10667
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesHeadersRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10257,8 +10679,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10257
10679
|
* @throws {RequiredError}
|
|
10258
10680
|
*/
|
|
10259
10681
|
rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options) {
|
|
10260
|
-
var _a, _b, _c;
|
|
10261
10682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10683
|
+
var _a, _b, _c;
|
|
10262
10684
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options);
|
|
10263
10685
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10264
10686
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesHeadersUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10275,8 +10697,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10275
10697
|
* @throws {RequiredError}
|
|
10276
10698
|
*/
|
|
10277
10699
|
rulesProxyCreate(organization, project, v2RuleProxyRequest, options) {
|
|
10278
|
-
var _a, _b, _c;
|
|
10279
10700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10701
|
+
var _a, _b, _c;
|
|
10280
10702
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesProxyCreate(organization, project, v2RuleProxyRequest, options);
|
|
10281
10703
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10282
10704
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesProxyCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10293,8 +10715,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10293
10715
|
* @throws {RequiredError}
|
|
10294
10716
|
*/
|
|
10295
10717
|
rulesProxyDelete(organization, project, rule, options) {
|
|
10296
|
-
var _a, _b, _c;
|
|
10297
10718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10719
|
+
var _a, _b, _c;
|
|
10298
10720
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesProxyDelete(organization, project, rule, options);
|
|
10299
10721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10300
10722
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesProxyDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10310,8 +10732,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10310
10732
|
* @throws {RequiredError}
|
|
10311
10733
|
*/
|
|
10312
10734
|
rulesProxyList(organization, project, options) {
|
|
10313
|
-
var _a, _b, _c;
|
|
10314
10735
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10736
|
+
var _a, _b, _c;
|
|
10315
10737
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesProxyList(organization, project, options);
|
|
10316
10738
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10317
10739
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesProxyList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10328,8 +10750,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10328
10750
|
* @throws {RequiredError}
|
|
10329
10751
|
*/
|
|
10330
10752
|
rulesProxyRead(organization, project, rule, options) {
|
|
10331
|
-
var _a, _b, _c;
|
|
10332
10753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10754
|
+
var _a, _b, _c;
|
|
10333
10755
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesProxyRead(organization, project, rule, options);
|
|
10334
10756
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10335
10757
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesProxyRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10347,8 +10769,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10347
10769
|
* @throws {RequiredError}
|
|
10348
10770
|
*/
|
|
10349
10771
|
rulesProxyUpdate(organization, project, rule, v2RuleProxyRequest, options) {
|
|
10350
|
-
var _a, _b, _c;
|
|
10351
10772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10773
|
+
var _a, _b, _c;
|
|
10352
10774
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesProxyUpdate(organization, project, rule, v2RuleProxyRequest, options);
|
|
10353
10775
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10354
10776
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesProxyUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10365,8 +10787,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10365
10787
|
* @throws {RequiredError}
|
|
10366
10788
|
*/
|
|
10367
10789
|
rulesRedirectCreate(organization, project, v2RuleRedirectRequest, options) {
|
|
10368
|
-
var _a, _b, _c;
|
|
10369
10790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10791
|
+
var _a, _b, _c;
|
|
10370
10792
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesRedirectCreate(organization, project, v2RuleRedirectRequest, options);
|
|
10371
10793
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10372
10794
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesRedirectCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10383,8 +10805,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10383
10805
|
* @throws {RequiredError}
|
|
10384
10806
|
*/
|
|
10385
10807
|
rulesRedirectDelete(organization, project, rule, options) {
|
|
10386
|
-
var _a, _b, _c;
|
|
10387
10808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10809
|
+
var _a, _b, _c;
|
|
10388
10810
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesRedirectDelete(organization, project, rule, options);
|
|
10389
10811
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10390
10812
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesRedirectDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10400,8 +10822,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10400
10822
|
* @throws {RequiredError}
|
|
10401
10823
|
*/
|
|
10402
10824
|
rulesRedirectList(organization, project, options) {
|
|
10403
|
-
var _a, _b, _c;
|
|
10404
10825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10826
|
+
var _a, _b, _c;
|
|
10405
10827
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesRedirectList(organization, project, options);
|
|
10406
10828
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10407
10829
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesRedirectList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10418,8 +10840,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10418
10840
|
* @throws {RequiredError}
|
|
10419
10841
|
*/
|
|
10420
10842
|
rulesRedirectRead(organization, project, rule, options) {
|
|
10421
|
-
var _a, _b, _c;
|
|
10422
10843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10844
|
+
var _a, _b, _c;
|
|
10423
10845
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesRedirectRead(organization, project, rule, options);
|
|
10424
10846
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10425
10847
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesRedirectRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10437,8 +10859,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10437
10859
|
* @throws {RequiredError}
|
|
10438
10860
|
*/
|
|
10439
10861
|
rulesRedirectUpdate(organization, project, rule, v2RuleRedirectRequest, options) {
|
|
10440
|
-
var _a, _b, _c;
|
|
10441
10862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10863
|
+
var _a, _b, _c;
|
|
10442
10864
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesRedirectUpdate(organization, project, rule, v2RuleRedirectRequest, options);
|
|
10443
10865
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10444
10866
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesRedirectUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10455,8 +10877,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10455
10877
|
* @throws {RequiredError}
|
|
10456
10878
|
*/
|
|
10457
10879
|
rulesServeStaticCreate(organization, project, v2RuleServeStaticRequest, options) {
|
|
10458
|
-
var _a, _b, _c;
|
|
10459
10880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10881
|
+
var _a, _b, _c;
|
|
10460
10882
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesServeStaticCreate(organization, project, v2RuleServeStaticRequest, options);
|
|
10461
10883
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10462
10884
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesServeStaticCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10473,8 +10895,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10473
10895
|
* @throws {RequiredError}
|
|
10474
10896
|
*/
|
|
10475
10897
|
rulesServeStaticDelete(organization, project, rule, options) {
|
|
10476
|
-
var _a, _b, _c;
|
|
10477
10898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10899
|
+
var _a, _b, _c;
|
|
10478
10900
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesServeStaticDelete(organization, project, rule, options);
|
|
10479
10901
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10480
10902
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesServeStaticDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10490,8 +10912,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10490
10912
|
* @throws {RequiredError}
|
|
10491
10913
|
*/
|
|
10492
10914
|
rulesServeStaticList(organization, project, options) {
|
|
10493
|
-
var _a, _b, _c;
|
|
10494
10915
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10916
|
+
var _a, _b, _c;
|
|
10495
10917
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesServeStaticList(organization, project, options);
|
|
10496
10918
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10497
10919
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesServeStaticList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10508,8 +10930,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10508
10930
|
* @throws {RequiredError}
|
|
10509
10931
|
*/
|
|
10510
10932
|
rulesServeStaticRead(organization, project, rule, options) {
|
|
10511
|
-
var _a, _b, _c;
|
|
10512
10933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10934
|
+
var _a, _b, _c;
|
|
10513
10935
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesServeStaticRead(organization, project, rule, options);
|
|
10514
10936
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10515
10937
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesServeStaticRead']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -10527,8 +10949,8 @@ export const RulesApiFp = function (configuration) {
|
|
|
10527
10949
|
* @throws {RequiredError}
|
|
10528
10950
|
*/
|
|
10529
10951
|
rulesServeStaticUpdate(organization, project, rule, v2RuleServeStaticRequest, options) {
|
|
10530
|
-
var _a, _b, _c;
|
|
10531
10952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10953
|
+
var _a, _b, _c;
|
|
10532
10954
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.rulesServeStaticUpdate(organization, project, rule, v2RuleServeStaticRequest, options);
|
|
10533
10955
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10534
10956
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RulesApi.rulesServeStaticUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -11694,7 +12116,7 @@ export const SSHAccessApiAxiosParamCreator = function (configuration) {
|
|
|
11694
12116
|
* @param {*} [options] Override http request option.
|
|
11695
12117
|
* @throws {RequiredError}
|
|
11696
12118
|
*/
|
|
11697
|
-
getSshAccessCredentials: (
|
|
12119
|
+
getSshAccessCredentials: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
11698
12120
|
// verify required parameter 'organisation' is not null or undefined
|
|
11699
12121
|
assertParamExists('getSshAccessCredentials', 'organisation', organisation);
|
|
11700
12122
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -11744,8 +12166,8 @@ export const SSHAccessApiFp = function (configuration) {
|
|
|
11744
12166
|
* @throws {RequiredError}
|
|
11745
12167
|
*/
|
|
11746
12168
|
getSshAccessCredentials(organisation, application, environment, options) {
|
|
11747
|
-
var _a, _b, _c;
|
|
11748
12169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12170
|
+
var _a, _b, _c;
|
|
11749
12171
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSshAccessCredentials(organisation, application, environment, options);
|
|
11750
12172
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11751
12173
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SSHAccessApi.getSshAccessCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -11812,7 +12234,7 @@ export const ScalingPolicyApiAxiosParamCreator = function (configuration) {
|
|
|
11812
12234
|
* @param {*} [options] Override http request option.
|
|
11813
12235
|
* @throws {RequiredError}
|
|
11814
12236
|
*/
|
|
11815
|
-
deleteScalingPolicy: (
|
|
12237
|
+
deleteScalingPolicy: (organisation_1, application_1, environment_1, policyName_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, policyName_1, ...args_1], void 0, function* (organisation, application, environment, policyName, options = {}) {
|
|
11816
12238
|
// verify required parameter 'organisation' is not null or undefined
|
|
11817
12239
|
assertParamExists('deleteScalingPolicy', 'organisation', organisation);
|
|
11818
12240
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -11855,7 +12277,7 @@ export const ScalingPolicyApiAxiosParamCreator = function (configuration) {
|
|
|
11855
12277
|
* @param {*} [options] Override http request option.
|
|
11856
12278
|
* @throws {RequiredError}
|
|
11857
12279
|
*/
|
|
11858
|
-
getScalingPolicies: (
|
|
12280
|
+
getScalingPolicies: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
11859
12281
|
// verify required parameter 'organisation' is not null or undefined
|
|
11860
12282
|
assertParamExists('getScalingPolicies', 'organisation', organisation);
|
|
11861
12283
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -11896,7 +12318,7 @@ export const ScalingPolicyApiAxiosParamCreator = function (configuration) {
|
|
|
11896
12318
|
* @param {*} [options] Override http request option.
|
|
11897
12319
|
* @throws {RequiredError}
|
|
11898
12320
|
*/
|
|
11899
|
-
updateScalingPolicy: (
|
|
12321
|
+
updateScalingPolicy: (organisation_1, application_1, environment_1, scalingPolicy_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, scalingPolicy_1, ...args_1], void 0, function* (organisation, application, environment, scalingPolicy, options = {}) {
|
|
11900
12322
|
// verify required parameter 'organisation' is not null or undefined
|
|
11901
12323
|
assertParamExists('updateScalingPolicy', 'organisation', organisation);
|
|
11902
12324
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -11951,8 +12373,8 @@ export const ScalingPolicyApiFp = function (configuration) {
|
|
|
11951
12373
|
* @throws {RequiredError}
|
|
11952
12374
|
*/
|
|
11953
12375
|
deleteScalingPolicy(organisation, application, environment, policyName, options) {
|
|
11954
|
-
var _a, _b, _c;
|
|
11955
12376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12377
|
+
var _a, _b, _c;
|
|
11956
12378
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteScalingPolicy(organisation, application, environment, policyName, options);
|
|
11957
12379
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11958
12380
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScalingPolicyApi.deleteScalingPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -11969,8 +12391,8 @@ export const ScalingPolicyApiFp = function (configuration) {
|
|
|
11969
12391
|
* @throws {RequiredError}
|
|
11970
12392
|
*/
|
|
11971
12393
|
getScalingPolicies(organisation, application, environment, options) {
|
|
11972
|
-
var _a, _b, _c;
|
|
11973
12394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12395
|
+
var _a, _b, _c;
|
|
11974
12396
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScalingPolicies(organisation, application, environment, options);
|
|
11975
12397
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11976
12398
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScalingPolicyApi.getScalingPolicies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -11988,8 +12410,8 @@ export const ScalingPolicyApiFp = function (configuration) {
|
|
|
11988
12410
|
* @throws {RequiredError}
|
|
11989
12411
|
*/
|
|
11990
12412
|
updateScalingPolicy(organisation, application, environment, scalingPolicy, options) {
|
|
11991
|
-
var _a, _b, _c;
|
|
11992
12413
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12414
|
+
var _a, _b, _c;
|
|
11993
12415
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateScalingPolicy(organisation, application, environment, scalingPolicy, options);
|
|
11994
12416
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11995
12417
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScalingPolicyApi.updateScalingPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12110,7 +12532,7 @@ export const VariablesApiAxiosParamCreator = function (configuration) {
|
|
|
12110
12532
|
* @param {*} [options] Override http request option.
|
|
12111
12533
|
* @throws {RequiredError}
|
|
12112
12534
|
*/
|
|
12113
|
-
bulkSetEnvironmentVariables: (
|
|
12535
|
+
bulkSetEnvironmentVariables: (apiOrganisation_1, apiApplication_1, apiEnvironment_1, bulkSetEnvironmentVariablesRequest_1, ...args_1) => __awaiter(this, [apiOrganisation_1, apiApplication_1, apiEnvironment_1, bulkSetEnvironmentVariablesRequest_1, ...args_1], void 0, function* (apiOrganisation, apiApplication, apiEnvironment, bulkSetEnvironmentVariablesRequest, options = {}) {
|
|
12114
12536
|
// verify required parameter 'apiOrganisation' is not null or undefined
|
|
12115
12537
|
assertParamExists('bulkSetEnvironmentVariables', 'apiOrganisation', apiOrganisation);
|
|
12116
12538
|
// verify required parameter 'apiApplication' is not null or undefined
|
|
@@ -12155,7 +12577,7 @@ export const VariablesApiAxiosParamCreator = function (configuration) {
|
|
|
12155
12577
|
* @param {*} [options] Override http request option.
|
|
12156
12578
|
* @throws {RequiredError}
|
|
12157
12579
|
*/
|
|
12158
|
-
deleteEnvironmentVariable: (
|
|
12580
|
+
deleteEnvironmentVariable: (apiOrganisation_1, apiApplication_1, apiEnvironment_1, apiVariable_1, ...args_1) => __awaiter(this, [apiOrganisation_1, apiApplication_1, apiEnvironment_1, apiVariable_1, ...args_1], void 0, function* (apiOrganisation, apiApplication, apiEnvironment, apiVariable, options = {}) {
|
|
12159
12581
|
// verify required parameter 'apiOrganisation' is not null or undefined
|
|
12160
12582
|
assertParamExists('deleteEnvironmentVariable', 'apiOrganisation', apiOrganisation);
|
|
12161
12583
|
// verify required parameter 'apiApplication' is not null or undefined
|
|
@@ -12198,7 +12620,7 @@ export const VariablesApiAxiosParamCreator = function (configuration) {
|
|
|
12198
12620
|
* @param {*} [options] Override http request option.
|
|
12199
12621
|
* @throws {RequiredError}
|
|
12200
12622
|
*/
|
|
12201
|
-
listEnvironmentVariables: (
|
|
12623
|
+
listEnvironmentVariables: (apiOrganisation_1, apiApplication_1, apiEnvironment_1, ...args_1) => __awaiter(this, [apiOrganisation_1, apiApplication_1, apiEnvironment_1, ...args_1], void 0, function* (apiOrganisation, apiApplication, apiEnvironment, options = {}) {
|
|
12202
12624
|
// verify required parameter 'apiOrganisation' is not null or undefined
|
|
12203
12625
|
assertParamExists('listEnvironmentVariables', 'apiOrganisation', apiOrganisation);
|
|
12204
12626
|
// verify required parameter 'apiApplication' is not null or undefined
|
|
@@ -12240,7 +12662,7 @@ export const VariablesApiAxiosParamCreator = function (configuration) {
|
|
|
12240
12662
|
* @param {*} [options] Override http request option.
|
|
12241
12663
|
* @throws {RequiredError}
|
|
12242
12664
|
*/
|
|
12243
|
-
updateEnvironmentVariable: (
|
|
12665
|
+
updateEnvironmentVariable: (apiOrganisation_1, apiApplication_1, apiEnvironment_1, apiVariable_1, updateEnvironmentVariableRequest_1, ...args_1) => __awaiter(this, [apiOrganisation_1, apiApplication_1, apiEnvironment_1, apiVariable_1, updateEnvironmentVariableRequest_1, ...args_1], void 0, function* (apiOrganisation, apiApplication, apiEnvironment, apiVariable, updateEnvironmentVariableRequest, options = {}) {
|
|
12244
12666
|
// verify required parameter 'apiOrganisation' is not null or undefined
|
|
12245
12667
|
assertParamExists('updateEnvironmentVariable', 'apiOrganisation', apiOrganisation);
|
|
12246
12668
|
// verify required parameter 'apiApplication' is not null or undefined
|
|
@@ -12298,8 +12720,8 @@ export const VariablesApiFp = function (configuration) {
|
|
|
12298
12720
|
* @throws {RequiredError}
|
|
12299
12721
|
*/
|
|
12300
12722
|
bulkSetEnvironmentVariables(apiOrganisation, apiApplication, apiEnvironment, bulkSetEnvironmentVariablesRequest, options) {
|
|
12301
|
-
var _a, _b, _c;
|
|
12302
12723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12724
|
+
var _a, _b, _c;
|
|
12303
12725
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkSetEnvironmentVariables(apiOrganisation, apiApplication, apiEnvironment, bulkSetEnvironmentVariablesRequest, options);
|
|
12304
12726
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12305
12727
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VariablesApi.bulkSetEnvironmentVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12317,8 +12739,8 @@ export const VariablesApiFp = function (configuration) {
|
|
|
12317
12739
|
* @throws {RequiredError}
|
|
12318
12740
|
*/
|
|
12319
12741
|
deleteEnvironmentVariable(apiOrganisation, apiApplication, apiEnvironment, apiVariable, options) {
|
|
12320
|
-
var _a, _b, _c;
|
|
12321
12742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12743
|
+
var _a, _b, _c;
|
|
12322
12744
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEnvironmentVariable(apiOrganisation, apiApplication, apiEnvironment, apiVariable, options);
|
|
12323
12745
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12324
12746
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VariablesApi.deleteEnvironmentVariable']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12335,8 +12757,8 @@ export const VariablesApiFp = function (configuration) {
|
|
|
12335
12757
|
* @throws {RequiredError}
|
|
12336
12758
|
*/
|
|
12337
12759
|
listEnvironmentVariables(apiOrganisation, apiApplication, apiEnvironment, options) {
|
|
12338
|
-
var _a, _b, _c;
|
|
12339
12760
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12761
|
+
var _a, _b, _c;
|
|
12340
12762
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentVariables(apiOrganisation, apiApplication, apiEnvironment, options);
|
|
12341
12763
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12342
12764
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VariablesApi.listEnvironmentVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12355,8 +12777,8 @@ export const VariablesApiFp = function (configuration) {
|
|
|
12355
12777
|
* @throws {RequiredError}
|
|
12356
12778
|
*/
|
|
12357
12779
|
updateEnvironmentVariable(apiOrganisation, apiApplication, apiEnvironment, apiVariable, updateEnvironmentVariableRequest, options) {
|
|
12358
|
-
var _a, _b, _c;
|
|
12359
12780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12781
|
+
var _a, _b, _c;
|
|
12360
12782
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironmentVariable(apiOrganisation, apiApplication, apiEnvironment, apiVariable, updateEnvironmentVariableRequest, options);
|
|
12361
12783
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12362
12784
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VariablesApi.updateEnvironmentVariable']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12502,16 +12924,19 @@ export const VolumesApiAxiosParamCreator = function (configuration) {
|
|
|
12502
12924
|
* @param {string} organisation The organisation ID
|
|
12503
12925
|
* @param {string} application The application ID
|
|
12504
12926
|
* @param {string} environment The environment ID
|
|
12927
|
+
* @param {CreateVolumeRequest} createVolumeRequest
|
|
12505
12928
|
* @param {*} [options] Override http request option.
|
|
12506
12929
|
* @throws {RequiredError}
|
|
12507
12930
|
*/
|
|
12508
|
-
createVolume: (
|
|
12931
|
+
createVolume: (organisation_1, application_1, environment_1, createVolumeRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, createVolumeRequest_1, ...args_1], void 0, function* (organisation, application, environment, createVolumeRequest, options = {}) {
|
|
12509
12932
|
// verify required parameter 'organisation' is not null or undefined
|
|
12510
12933
|
assertParamExists('createVolume', 'organisation', organisation);
|
|
12511
12934
|
// verify required parameter 'application' is not null or undefined
|
|
12512
12935
|
assertParamExists('createVolume', 'application', application);
|
|
12513
12936
|
// verify required parameter 'environment' is not null or undefined
|
|
12514
12937
|
assertParamExists('createVolume', 'environment', environment);
|
|
12938
|
+
// verify required parameter 'createVolumeRequest' is not null or undefined
|
|
12939
|
+
assertParamExists('createVolume', 'createVolumeRequest', createVolumeRequest);
|
|
12515
12940
|
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/volumes`
|
|
12516
12941
|
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
12517
12942
|
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
@@ -12528,9 +12953,11 @@ export const VolumesApiAxiosParamCreator = function (configuration) {
|
|
|
12528
12953
|
// authentication BearerAuth required
|
|
12529
12954
|
// http bearer authentication required
|
|
12530
12955
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12956
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12531
12957
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12532
12958
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12533
12959
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12960
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createVolumeRequest, localVarRequestOptions, configuration);
|
|
12534
12961
|
return {
|
|
12535
12962
|
url: toPathString(localVarUrlObj),
|
|
12536
12963
|
options: localVarRequestOptions,
|
|
@@ -12546,7 +12973,7 @@ export const VolumesApiAxiosParamCreator = function (configuration) {
|
|
|
12546
12973
|
* @param {*} [options] Override http request option.
|
|
12547
12974
|
* @throws {RequiredError}
|
|
12548
12975
|
*/
|
|
12549
|
-
deleteVolume: (
|
|
12976
|
+
deleteVolume: (organisation_1, application_1, environment_1, volume_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, volume_1, ...args_1], void 0, function* (organisation, application, environment, volume, options = {}) {
|
|
12550
12977
|
// verify required parameter 'organisation' is not null or undefined
|
|
12551
12978
|
assertParamExists('deleteVolume', 'organisation', organisation);
|
|
12552
12979
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -12590,7 +13017,7 @@ export const VolumesApiAxiosParamCreator = function (configuration) {
|
|
|
12590
13017
|
* @param {*} [options] Override http request option.
|
|
12591
13018
|
* @throws {RequiredError}
|
|
12592
13019
|
*/
|
|
12593
|
-
getVolume: (
|
|
13020
|
+
getVolume: (organisation_1, application_1, environment_1, volume_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, volume_1, ...args_1], void 0, function* (organisation, application, environment, volume, options = {}) {
|
|
12594
13021
|
// verify required parameter 'organisation' is not null or undefined
|
|
12595
13022
|
assertParamExists('getVolume', 'organisation', organisation);
|
|
12596
13023
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -12633,7 +13060,7 @@ export const VolumesApiAxiosParamCreator = function (configuration) {
|
|
|
12633
13060
|
* @param {*} [options] Override http request option.
|
|
12634
13061
|
* @throws {RequiredError}
|
|
12635
13062
|
*/
|
|
12636
|
-
listVolumes: (
|
|
13063
|
+
listVolumes: (organisation_1, application_1, environment_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, ...args_1], void 0, function* (organisation, application, environment, options = {}) {
|
|
12637
13064
|
// verify required parameter 'organisation' is not null or undefined
|
|
12638
13065
|
assertParamExists('listVolumes', 'organisation', organisation);
|
|
12639
13066
|
// verify required parameter 'application' is not null or undefined
|
|
@@ -12679,13 +13106,14 @@ export const VolumesApiFp = function (configuration) {
|
|
|
12679
13106
|
* @param {string} organisation The organisation ID
|
|
12680
13107
|
* @param {string} application The application ID
|
|
12681
13108
|
* @param {string} environment The environment ID
|
|
13109
|
+
* @param {CreateVolumeRequest} createVolumeRequest
|
|
12682
13110
|
* @param {*} [options] Override http request option.
|
|
12683
13111
|
* @throws {RequiredError}
|
|
12684
13112
|
*/
|
|
12685
|
-
createVolume(organisation, application, environment, options) {
|
|
12686
|
-
var _a, _b, _c;
|
|
13113
|
+
createVolume(organisation, application, environment, createVolumeRequest, options) {
|
|
12687
13114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12688
|
-
|
|
13115
|
+
var _a, _b, _c;
|
|
13116
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createVolume(organisation, application, environment, createVolumeRequest, options);
|
|
12689
13117
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12690
13118
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VolumesApi.createVolume']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12691
13119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12702,8 +13130,8 @@ export const VolumesApiFp = function (configuration) {
|
|
|
12702
13130
|
* @throws {RequiredError}
|
|
12703
13131
|
*/
|
|
12704
13132
|
deleteVolume(organisation, application, environment, volume, options) {
|
|
12705
|
-
var _a, _b, _c;
|
|
12706
13133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13134
|
+
var _a, _b, _c;
|
|
12707
13135
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteVolume(organisation, application, environment, volume, options);
|
|
12708
13136
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12709
13137
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VolumesApi.deleteVolume']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12721,8 +13149,8 @@ export const VolumesApiFp = function (configuration) {
|
|
|
12721
13149
|
* @throws {RequiredError}
|
|
12722
13150
|
*/
|
|
12723
13151
|
getVolume(organisation, application, environment, volume, options) {
|
|
12724
|
-
var _a, _b, _c;
|
|
12725
13152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13153
|
+
var _a, _b, _c;
|
|
12726
13154
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getVolume(organisation, application, environment, volume, options);
|
|
12727
13155
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12728
13156
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VolumesApi.getVolume']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12739,8 +13167,8 @@ export const VolumesApiFp = function (configuration) {
|
|
|
12739
13167
|
* @throws {RequiredError}
|
|
12740
13168
|
*/
|
|
12741
13169
|
listVolumes(organisation, application, environment, options) {
|
|
12742
|
-
var _a, _b, _c;
|
|
12743
13170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13171
|
+
var _a, _b, _c;
|
|
12744
13172
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.listVolumes(organisation, application, environment, options);
|
|
12745
13173
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12746
13174
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VolumesApi.listVolumes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -12762,11 +13190,12 @@ export const VolumesApiFactory = function (configuration, basePath, axios) {
|
|
|
12762
13190
|
* @param {string} organisation The organisation ID
|
|
12763
13191
|
* @param {string} application The application ID
|
|
12764
13192
|
* @param {string} environment The environment ID
|
|
13193
|
+
* @param {CreateVolumeRequest} createVolumeRequest
|
|
12765
13194
|
* @param {*} [options] Override http request option.
|
|
12766
13195
|
* @throws {RequiredError}
|
|
12767
13196
|
*/
|
|
12768
|
-
createVolume(organisation, application, environment, options) {
|
|
12769
|
-
return localVarFp.createVolume(organisation, application, environment, options).then((request) => request(axios, basePath));
|
|
13197
|
+
createVolume(organisation, application, environment, createVolumeRequest, options) {
|
|
13198
|
+
return localVarFp.createVolume(organisation, application, environment, createVolumeRequest, options).then((request) => request(axios, basePath));
|
|
12770
13199
|
},
|
|
12771
13200
|
/**
|
|
12772
13201
|
*
|
|
@@ -12821,12 +13250,13 @@ export class VolumesApi extends BaseAPI {
|
|
|
12821
13250
|
* @param {string} organisation The organisation ID
|
|
12822
13251
|
* @param {string} application The application ID
|
|
12823
13252
|
* @param {string} environment The environment ID
|
|
13253
|
+
* @param {CreateVolumeRequest} createVolumeRequest
|
|
12824
13254
|
* @param {*} [options] Override http request option.
|
|
12825
13255
|
* @throws {RequiredError}
|
|
12826
13256
|
* @memberof VolumesApi
|
|
12827
13257
|
*/
|
|
12828
|
-
createVolume(organisation, application, environment, options) {
|
|
12829
|
-
return VolumesApiFp(this.configuration).createVolume(organisation, application, environment, options).then((request) => request(this.axios, this.basePath));
|
|
13258
|
+
createVolume(organisation, application, environment, createVolumeRequest, options) {
|
|
13259
|
+
return VolumesApiFp(this.configuration).createVolume(organisation, application, environment, createVolumeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12830
13260
|
}
|
|
12831
13261
|
/**
|
|
12832
13262
|
*
|