@sfxcode/nuxt-mongocamp-server 1.2.8 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +1 -0
- package/dist/module.json +3 -3
- package/dist/module.mjs +4 -3
- package/dist/runtime/api/.openapi-generator/FILES +50 -0
- package/dist/runtime/api/.openapi-generator/VERSION +1 -1
- package/dist/runtime/api/apis/AdminApi.js +32 -12
- package/dist/runtime/api/apis/ApplicationApi.js +12 -5
- package/dist/runtime/api/apis/AuthApi.js +16 -8
- package/dist/runtime/api/apis/BucketApi.js +11 -4
- package/dist/runtime/api/apis/CollectionApi.js +30 -10
- package/dist/runtime/api/apis/DatabaseApi.js +13 -5
- package/dist/runtime/api/apis/DocumentApi.js +34 -10
- package/dist/runtime/api/apis/FileApi.js +25 -7
- package/dist/runtime/api/apis/IndexApi.js +31 -8
- package/dist/runtime/api/apis/InformationApi.js +2 -1
- package/dist/runtime/api/apis/JobsApi.js +18 -6
- package/dist/runtime/api/docs/AdminApi.md +972 -0
- package/dist/runtime/api/docs/ApplicationApi.md +387 -0
- package/dist/runtime/api/docs/AuthApi.md +577 -0
- package/dist/runtime/api/docs/BucketApi.md +312 -0
- package/dist/runtime/api/docs/BucketInformation.md +40 -0
- package/dist/runtime/api/docs/CollectionApi.md +822 -0
- package/dist/runtime/api/docs/CollectionStatus.md +58 -0
- package/dist/runtime/api/docs/DatabaseApi.md +382 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +42 -0
- package/dist/runtime/api/docs/DeleteResponse.md +36 -0
- package/dist/runtime/api/docs/DocumentApi.md +850 -0
- package/dist/runtime/api/docs/ErrorDescription.md +38 -0
- package/dist/runtime/api/docs/FileApi.md +606 -0
- package/dist/runtime/api/docs/FileInformation.md +44 -0
- package/dist/runtime/api/docs/Grant.md +42 -0
- package/dist/runtime/api/docs/IndexApi.md +682 -0
- package/dist/runtime/api/docs/IndexCreateRequest.md +36 -0
- package/dist/runtime/api/docs/IndexCreateResponse.md +34 -0
- package/dist/runtime/api/docs/IndexDropResponse.md +34 -0
- package/dist/runtime/api/docs/IndexOptionsRequest.md +48 -0
- package/dist/runtime/api/docs/InformationApi.md +69 -0
- package/dist/runtime/api/docs/InsertResponse.md +36 -0
- package/dist/runtime/api/docs/JobConfig.md +44 -0
- package/dist/runtime/api/docs/JobInformation.md +50 -0
- package/dist/runtime/api/docs/JobsApi.md +474 -0
- package/dist/runtime/api/docs/JsonSchema.md +38 -0
- package/dist/runtime/api/docs/JsonSchemaDefinition.md +42 -0
- package/dist/runtime/api/docs/JsonValueAny.md +34 -0
- package/dist/runtime/api/docs/JsonValueBoolean.md +34 -0
- package/dist/runtime/api/docs/JsonValueString.md +34 -0
- package/dist/runtime/api/docs/Login.md +36 -0
- package/dist/runtime/api/docs/LoginResult.md +38 -0
- package/dist/runtime/api/docs/MongoAggregateRequest.md +36 -0
- package/dist/runtime/api/docs/MongoCampConfiguration.md +42 -0
- package/dist/runtime/api/docs/MongoFindRequest.md +38 -0
- package/dist/runtime/api/docs/MongoIndex.md +56 -0
- package/dist/runtime/api/docs/PasswordUpdateRequest.md +34 -0
- package/dist/runtime/api/docs/PipelineStage.md +36 -0
- package/dist/runtime/api/docs/Role.md +38 -0
- package/dist/runtime/api/docs/SchemaAnalysis.md +40 -0
- package/dist/runtime/api/docs/SchemaAnalysisField.md +44 -0
- package/dist/runtime/api/docs/SchemaAnalysisFieldType.md +38 -0
- package/dist/runtime/api/docs/SettingsResponse.md +40 -0
- package/dist/runtime/api/docs/UpdateFileInformationRequest.md +36 -0
- package/dist/runtime/api/docs/UpdateRequest.md +36 -0
- package/dist/runtime/api/docs/UpdateResponse.md +40 -0
- package/dist/runtime/api/docs/UpdateRoleRequest.md +36 -0
- package/dist/runtime/api/docs/UserInformation.md +40 -0
- package/dist/runtime/api/docs/UserProfile.md +42 -0
- package/dist/runtime/api/docs/Version.md +38 -0
- package/dist/runtime/api/models/JobInformation.js +2 -2
- package/dist/runtime/composables/mongocampAuth.d.ts +3 -3
- package/dist/types.d.mts +2 -0
- package/package.json +16 -16
|
@@ -39,8 +39,11 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
39
39
|
if (this.configuration && this.configuration.apiKey) {
|
|
40
40
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
41
41
|
}
|
|
42
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/{documentId}`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
44
|
+
urlPath = urlPath.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters["documentId"])));
|
|
42
45
|
const response = await this.request({
|
|
43
|
-
path:
|
|
46
|
+
path: urlPath,
|
|
44
47
|
method: "DELETE",
|
|
45
48
|
headers: headerParameters,
|
|
46
49
|
query: queryParameters
|
|
@@ -88,8 +91,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
88
91
|
if (this.configuration && this.configuration.apiKey) {
|
|
89
92
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
90
93
|
}
|
|
94
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/many/delete`;
|
|
95
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
91
96
|
const response = await this.request({
|
|
92
|
-
path:
|
|
97
|
+
path: urlPath,
|
|
93
98
|
method: "DELETE",
|
|
94
99
|
headers: headerParameters,
|
|
95
100
|
query: queryParameters,
|
|
@@ -144,8 +149,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
144
149
|
if (this.configuration && this.configuration.apiKey) {
|
|
145
150
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
146
151
|
}
|
|
152
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents`;
|
|
153
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
147
154
|
const response = await this.request({
|
|
148
|
-
path:
|
|
155
|
+
path: urlPath,
|
|
149
156
|
method: "POST",
|
|
150
157
|
headers: headerParameters,
|
|
151
158
|
query: queryParameters,
|
|
@@ -193,8 +200,11 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
193
200
|
if (this.configuration && this.configuration.apiKey) {
|
|
194
201
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
195
202
|
}
|
|
203
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/{documentId}`;
|
|
204
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
205
|
+
urlPath = urlPath.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters["documentId"])));
|
|
196
206
|
const response = await this.request({
|
|
197
|
-
path:
|
|
207
|
+
path: urlPath,
|
|
198
208
|
method: "GET",
|
|
199
209
|
headers: headerParameters,
|
|
200
210
|
query: queryParameters
|
|
@@ -242,8 +252,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
242
252
|
if (this.configuration && this.configuration.apiKey) {
|
|
243
253
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
244
254
|
}
|
|
255
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents`;
|
|
256
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
245
257
|
const response = await this.request({
|
|
246
|
-
path:
|
|
258
|
+
path: urlPath,
|
|
247
259
|
method: "PUT",
|
|
248
260
|
headers: headerParameters,
|
|
249
261
|
query: queryParameters,
|
|
@@ -286,8 +298,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
286
298
|
if (this.configuration && this.configuration.apiKey) {
|
|
287
299
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
288
300
|
}
|
|
301
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/many/insert`;
|
|
302
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
289
303
|
const response = await this.request({
|
|
290
|
-
path:
|
|
304
|
+
path: urlPath,
|
|
291
305
|
method: "PUT",
|
|
292
306
|
headers: headerParameters,
|
|
293
307
|
query: queryParameters,
|
|
@@ -344,8 +358,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
344
358
|
if (this.configuration && this.configuration.apiKey) {
|
|
345
359
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
346
360
|
}
|
|
361
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents`;
|
|
362
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
347
363
|
const response = await this.request({
|
|
348
|
-
path:
|
|
364
|
+
path: urlPath,
|
|
349
365
|
method: "GET",
|
|
350
366
|
headers: headerParameters,
|
|
351
367
|
query: queryParameters
|
|
@@ -399,8 +415,11 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
399
415
|
if (this.configuration && this.configuration.apiKey) {
|
|
400
416
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
401
417
|
}
|
|
418
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/{documentId}`;
|
|
419
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
420
|
+
urlPath = urlPath.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters["documentId"])));
|
|
402
421
|
const response = await this.request({
|
|
403
|
-
path:
|
|
422
|
+
path: urlPath,
|
|
404
423
|
method: "PATCH",
|
|
405
424
|
headers: headerParameters,
|
|
406
425
|
query: queryParameters,
|
|
@@ -455,8 +474,11 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
455
474
|
if (this.configuration && this.configuration.apiKey) {
|
|
456
475
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
457
476
|
}
|
|
477
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/{documentId}/partial`;
|
|
478
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
479
|
+
urlPath = urlPath.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters["documentId"])));
|
|
458
480
|
const response = await this.request({
|
|
459
|
-
path:
|
|
481
|
+
path: urlPath,
|
|
460
482
|
method: "PATCH",
|
|
461
483
|
headers: headerParameters,
|
|
462
484
|
query: queryParameters,
|
|
@@ -505,8 +527,10 @@ export class DocumentApi extends runtime.BaseAPI {
|
|
|
505
527
|
if (this.configuration && this.configuration.apiKey) {
|
|
506
528
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
507
529
|
}
|
|
530
|
+
let urlPath = `/mongodb/collections/{collectionName}/documents/many/update`;
|
|
531
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
508
532
|
const response = await this.request({
|
|
509
|
-
path:
|
|
533
|
+
path: urlPath,
|
|
510
534
|
method: "PATCH",
|
|
511
535
|
headers: headerParameters,
|
|
512
536
|
query: queryParameters,
|
|
@@ -40,8 +40,11 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
40
40
|
if (this.configuration && this.configuration.apiKey) {
|
|
41
41
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
42
42
|
}
|
|
43
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files/{fileId}`;
|
|
44
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
45
|
+
urlPath = urlPath.replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters["fileId"])));
|
|
43
46
|
const response = await this.request({
|
|
44
|
-
path:
|
|
47
|
+
path: urlPath,
|
|
45
48
|
method: "DELETE",
|
|
46
49
|
headers: headerParameters,
|
|
47
50
|
query: queryParameters
|
|
@@ -95,8 +98,10 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
95
98
|
if (this.configuration && this.configuration.apiKey) {
|
|
96
99
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
97
100
|
}
|
|
101
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files`;
|
|
102
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
98
103
|
const response = await this.request({
|
|
99
|
-
path:
|
|
104
|
+
path: urlPath,
|
|
100
105
|
method: "POST",
|
|
101
106
|
headers: headerParameters,
|
|
102
107
|
query: queryParameters,
|
|
@@ -144,8 +149,11 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
144
149
|
if (this.configuration && this.configuration.apiKey) {
|
|
145
150
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
146
151
|
}
|
|
152
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files/{fileId}/file`;
|
|
153
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
154
|
+
urlPath = urlPath.replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters["fileId"])));
|
|
147
155
|
const response = await this.request({
|
|
148
|
-
path:
|
|
156
|
+
path: urlPath,
|
|
149
157
|
method: "GET",
|
|
150
158
|
headers: headerParameters,
|
|
151
159
|
query: queryParameters
|
|
@@ -192,8 +200,11 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
192
200
|
if (this.configuration && this.configuration.apiKey) {
|
|
193
201
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
194
202
|
}
|
|
203
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files/{fileId}`;
|
|
204
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
205
|
+
urlPath = urlPath.replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters["fileId"])));
|
|
195
206
|
const response = await this.request({
|
|
196
|
-
path:
|
|
207
|
+
path: urlPath,
|
|
197
208
|
method: "GET",
|
|
198
209
|
headers: headerParameters,
|
|
199
210
|
query: queryParameters
|
|
@@ -267,8 +278,10 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
267
278
|
if (requestParameters["metaData"] != null) {
|
|
268
279
|
formParams.append("metaData", requestParameters["metaData"]);
|
|
269
280
|
}
|
|
281
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files`;
|
|
282
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
270
283
|
const response = await this.request({
|
|
271
|
-
path:
|
|
284
|
+
path: urlPath,
|
|
272
285
|
method: "PUT",
|
|
273
286
|
headers: headerParameters,
|
|
274
287
|
query: queryParameters,
|
|
@@ -325,8 +338,10 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
325
338
|
if (this.configuration && this.configuration.apiKey) {
|
|
326
339
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
327
340
|
}
|
|
341
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files`;
|
|
342
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
328
343
|
const response = await this.request({
|
|
329
|
-
path:
|
|
344
|
+
path: urlPath,
|
|
330
345
|
method: "GET",
|
|
331
346
|
headers: headerParameters,
|
|
332
347
|
query: queryParameters
|
|
@@ -380,8 +395,11 @@ export class FileApi extends runtime.BaseAPI {
|
|
|
380
395
|
if (this.configuration && this.configuration.apiKey) {
|
|
381
396
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
382
397
|
}
|
|
398
|
+
let urlPath = `/mongodb/buckets/{bucketName}/files/{fileId}`;
|
|
399
|
+
urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
|
|
400
|
+
urlPath = urlPath.replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters["fileId"])));
|
|
383
401
|
const response = await this.request({
|
|
384
|
-
path:
|
|
402
|
+
path: urlPath,
|
|
385
403
|
method: "PATCH",
|
|
386
404
|
headers: headerParameters,
|
|
387
405
|
query: queryParameters,
|
|
@@ -51,8 +51,12 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
51
51
|
if (this.configuration && this.configuration.apiKey) {
|
|
52
52
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
53
53
|
}
|
|
54
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/field/{fieldName}/{duration}/expiring`;
|
|
55
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
56
|
+
urlPath = urlPath.replace(`{${"fieldName"}}`, encodeURIComponent(String(requestParameters["fieldName"])));
|
|
57
|
+
urlPath = urlPath.replace(`{${"duration"}}`, encodeURIComponent(String(requestParameters["duration"])));
|
|
54
58
|
const response = await this.request({
|
|
55
|
-
path:
|
|
59
|
+
path: urlPath,
|
|
56
60
|
method: "PUT",
|
|
57
61
|
headers: headerParameters,
|
|
58
62
|
query: queryParameters
|
|
@@ -100,8 +104,10 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
100
104
|
if (this.configuration && this.configuration.apiKey) {
|
|
101
105
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
102
106
|
}
|
|
107
|
+
let urlPath = `/mongodb/collections/{collectionName}/index`;
|
|
108
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
103
109
|
const response = await this.request({
|
|
104
|
-
path:
|
|
110
|
+
path: urlPath,
|
|
105
111
|
method: "PUT",
|
|
106
112
|
headers: headerParameters,
|
|
107
113
|
query: queryParameters,
|
|
@@ -153,8 +159,11 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
153
159
|
if (this.configuration && this.configuration.apiKey) {
|
|
154
160
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
155
161
|
}
|
|
162
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/field/{fieldName}`;
|
|
163
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
164
|
+
urlPath = urlPath.replace(`{${"fieldName"}}`, encodeURIComponent(String(requestParameters["fieldName"])));
|
|
156
165
|
const response = await this.request({
|
|
157
|
-
path:
|
|
166
|
+
path: urlPath,
|
|
158
167
|
method: "PUT",
|
|
159
168
|
headers: headerParameters,
|
|
160
169
|
query: queryParameters,
|
|
@@ -203,8 +212,11 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
203
212
|
if (this.configuration && this.configuration.apiKey) {
|
|
204
213
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
205
214
|
}
|
|
215
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/field/{fieldName}/text`;
|
|
216
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
217
|
+
urlPath = urlPath.replace(`{${"fieldName"}}`, encodeURIComponent(String(requestParameters["fieldName"])));
|
|
206
218
|
const response = await this.request({
|
|
207
|
-
path:
|
|
219
|
+
path: urlPath,
|
|
208
220
|
method: "PUT",
|
|
209
221
|
headers: headerParameters,
|
|
210
222
|
query: queryParameters,
|
|
@@ -258,8 +270,11 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
258
270
|
if (this.configuration && this.configuration.apiKey) {
|
|
259
271
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
260
272
|
}
|
|
273
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/field/{fieldName}/unique`;
|
|
274
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
275
|
+
urlPath = urlPath.replace(`{${"fieldName"}}`, encodeURIComponent(String(requestParameters["fieldName"])));
|
|
261
276
|
const response = await this.request({
|
|
262
|
-
path:
|
|
277
|
+
path: urlPath,
|
|
263
278
|
method: "PUT",
|
|
264
279
|
headers: headerParameters,
|
|
265
280
|
query: queryParameters
|
|
@@ -306,8 +321,11 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
306
321
|
if (this.configuration && this.configuration.apiKey) {
|
|
307
322
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
308
323
|
}
|
|
324
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/{indexName}`;
|
|
325
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
326
|
+
urlPath = urlPath.replace(`{${"indexName"}}`, encodeURIComponent(String(requestParameters["indexName"])));
|
|
309
327
|
const response = await this.request({
|
|
310
|
-
path:
|
|
328
|
+
path: urlPath,
|
|
311
329
|
method: "DELETE",
|
|
312
330
|
headers: headerParameters,
|
|
313
331
|
query: queryParameters
|
|
@@ -354,8 +372,11 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
354
372
|
if (this.configuration && this.configuration.apiKey) {
|
|
355
373
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
356
374
|
}
|
|
375
|
+
let urlPath = `/mongodb/collections/{collectionName}/index/{indexName}`;
|
|
376
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
377
|
+
urlPath = urlPath.replace(`{${"indexName"}}`, encodeURIComponent(String(requestParameters["indexName"])));
|
|
357
378
|
const response = await this.request({
|
|
358
|
-
path:
|
|
379
|
+
path: urlPath,
|
|
359
380
|
method: "GET",
|
|
360
381
|
headers: headerParameters,
|
|
361
382
|
query: queryParameters
|
|
@@ -396,8 +417,10 @@ export class IndexApi extends runtime.BaseAPI {
|
|
|
396
417
|
if (this.configuration && this.configuration.apiKey) {
|
|
397
418
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
398
419
|
}
|
|
420
|
+
let urlPath = `/mongodb/collections/{collectionName}/index`;
|
|
421
|
+
urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
|
|
399
422
|
const response = await this.request({
|
|
400
|
-
path:
|
|
423
|
+
path: urlPath,
|
|
401
424
|
method: "GET",
|
|
402
425
|
headers: headerParameters,
|
|
403
426
|
query: queryParameters
|
|
@@ -10,8 +10,9 @@ export class InformationApi extends runtime.BaseAPI {
|
|
|
10
10
|
async versionRaw(initOverrides) {
|
|
11
11
|
const queryParameters = {};
|
|
12
12
|
const headerParameters = {};
|
|
13
|
+
let urlPath = `/version`;
|
|
13
14
|
const response = await this.request({
|
|
14
|
-
path:
|
|
15
|
+
path: urlPath,
|
|
15
16
|
method: "GET",
|
|
16
17
|
headers: headerParameters,
|
|
17
18
|
query: queryParameters
|
|
@@ -37,8 +37,11 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
37
37
|
if (this.configuration && this.configuration.apiKey) {
|
|
38
38
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
39
39
|
}
|
|
40
|
+
let urlPath = `/system/jobs/{jobGroup}/{jobName}`;
|
|
41
|
+
urlPath = urlPath.replace(`{${"jobGroup"}}`, encodeURIComponent(String(requestParameters["jobGroup"])));
|
|
42
|
+
urlPath = urlPath.replace(`{${"jobName"}}`, encodeURIComponent(String(requestParameters["jobName"])));
|
|
40
43
|
const response = await this.request({
|
|
41
|
-
path:
|
|
44
|
+
path: urlPath,
|
|
42
45
|
method: "DELETE",
|
|
43
46
|
headers: headerParameters,
|
|
44
47
|
query: queryParameters
|
|
@@ -85,8 +88,11 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
85
88
|
if (this.configuration && this.configuration.apiKey) {
|
|
86
89
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
87
90
|
}
|
|
91
|
+
let urlPath = `/system/jobs/{jobGroup}/{jobName}`;
|
|
92
|
+
urlPath = urlPath.replace(`{${"jobGroup"}}`, encodeURIComponent(String(requestParameters["jobGroup"])));
|
|
93
|
+
urlPath = urlPath.replace(`{${"jobName"}}`, encodeURIComponent(String(requestParameters["jobName"])));
|
|
88
94
|
const response = await this.request({
|
|
89
|
-
path:
|
|
95
|
+
path: urlPath,
|
|
90
96
|
method: "POST",
|
|
91
97
|
headers: headerParameters,
|
|
92
98
|
query: queryParameters
|
|
@@ -121,8 +127,9 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
121
127
|
if (this.configuration && this.configuration.apiKey) {
|
|
122
128
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
123
129
|
}
|
|
130
|
+
let urlPath = `/system/jobs`;
|
|
124
131
|
const response = await this.request({
|
|
125
|
-
path:
|
|
132
|
+
path: urlPath,
|
|
126
133
|
method: "GET",
|
|
127
134
|
headers: headerParameters,
|
|
128
135
|
query: queryParameters
|
|
@@ -157,8 +164,9 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
157
164
|
if (this.configuration && this.configuration.apiKey) {
|
|
158
165
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
159
166
|
}
|
|
167
|
+
let urlPath = `/system/jobs/classes`;
|
|
160
168
|
const response = await this.request({
|
|
161
|
-
path:
|
|
169
|
+
path: urlPath,
|
|
162
170
|
method: "GET",
|
|
163
171
|
headers: headerParameters,
|
|
164
172
|
query: queryParameters
|
|
@@ -200,8 +208,9 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
200
208
|
if (this.configuration && this.configuration.apiKey) {
|
|
201
209
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
202
210
|
}
|
|
211
|
+
let urlPath = `/system/jobs`;
|
|
203
212
|
const response = await this.request({
|
|
204
|
-
path:
|
|
213
|
+
path: urlPath,
|
|
205
214
|
method: "PUT",
|
|
206
215
|
headers: headerParameters,
|
|
207
216
|
query: queryParameters,
|
|
@@ -256,8 +265,11 @@ export class JobsApi extends runtime.BaseAPI {
|
|
|
256
265
|
if (this.configuration && this.configuration.apiKey) {
|
|
257
266
|
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
258
267
|
}
|
|
268
|
+
let urlPath = `/system/jobs/{jobGroup}/{jobName}`;
|
|
269
|
+
urlPath = urlPath.replace(`{${"jobGroup"}}`, encodeURIComponent(String(requestParameters["jobGroup"])));
|
|
270
|
+
urlPath = urlPath.replace(`{${"jobName"}}`, encodeURIComponent(String(requestParameters["jobName"])));
|
|
259
271
|
const response = await this.request({
|
|
260
|
-
path:
|
|
272
|
+
path: urlPath,
|
|
261
273
|
method: "PATCH",
|
|
262
274
|
headers: headerParameters,
|
|
263
275
|
query: queryParameters,
|