@sfxcode/nuxt-mongocamp-server 1.2.7 → 1.2.9

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.
Files changed (70) hide show
  1. package/dist/module.json +3 -3
  2. package/dist/module.mjs +3 -3
  3. package/dist/runtime/api/.openapi-generator/FILES +50 -0
  4. package/dist/runtime/api/.openapi-generator/VERSION +1 -1
  5. package/dist/runtime/api/apis/AdminApi.js +32 -12
  6. package/dist/runtime/api/apis/ApplicationApi.js +12 -5
  7. package/dist/runtime/api/apis/AuthApi.js +16 -8
  8. package/dist/runtime/api/apis/BucketApi.js +11 -4
  9. package/dist/runtime/api/apis/CollectionApi.js +30 -10
  10. package/dist/runtime/api/apis/DatabaseApi.js +13 -5
  11. package/dist/runtime/api/apis/DocumentApi.js +34 -10
  12. package/dist/runtime/api/apis/FileApi.js +25 -7
  13. package/dist/runtime/api/apis/IndexApi.js +31 -8
  14. package/dist/runtime/api/apis/InformationApi.js +2 -1
  15. package/dist/runtime/api/apis/JobsApi.js +18 -6
  16. package/dist/runtime/api/docs/AdminApi.md +972 -0
  17. package/dist/runtime/api/docs/ApplicationApi.md +387 -0
  18. package/dist/runtime/api/docs/AuthApi.md +577 -0
  19. package/dist/runtime/api/docs/BucketApi.md +312 -0
  20. package/dist/runtime/api/docs/BucketInformation.md +40 -0
  21. package/dist/runtime/api/docs/CollectionApi.md +822 -0
  22. package/dist/runtime/api/docs/CollectionStatus.md +58 -0
  23. package/dist/runtime/api/docs/DatabaseApi.md +382 -0
  24. package/dist/runtime/api/docs/DatabaseInfo.md +42 -0
  25. package/dist/runtime/api/docs/DeleteResponse.md +36 -0
  26. package/dist/runtime/api/docs/DocumentApi.md +850 -0
  27. package/dist/runtime/api/docs/ErrorDescription.md +38 -0
  28. package/dist/runtime/api/docs/FileApi.md +606 -0
  29. package/dist/runtime/api/docs/FileInformation.md +44 -0
  30. package/dist/runtime/api/docs/Grant.md +42 -0
  31. package/dist/runtime/api/docs/IndexApi.md +682 -0
  32. package/dist/runtime/api/docs/IndexCreateRequest.md +36 -0
  33. package/dist/runtime/api/docs/IndexCreateResponse.md +34 -0
  34. package/dist/runtime/api/docs/IndexDropResponse.md +34 -0
  35. package/dist/runtime/api/docs/IndexOptionsRequest.md +48 -0
  36. package/dist/runtime/api/docs/InformationApi.md +69 -0
  37. package/dist/runtime/api/docs/InsertResponse.md +36 -0
  38. package/dist/runtime/api/docs/JobConfig.md +44 -0
  39. package/dist/runtime/api/docs/JobInformation.md +50 -0
  40. package/dist/runtime/api/docs/JobsApi.md +474 -0
  41. package/dist/runtime/api/docs/JsonSchema.md +38 -0
  42. package/dist/runtime/api/docs/JsonSchemaDefinition.md +42 -0
  43. package/dist/runtime/api/docs/JsonValueAny.md +34 -0
  44. package/dist/runtime/api/docs/JsonValueBoolean.md +34 -0
  45. package/dist/runtime/api/docs/JsonValueString.md +34 -0
  46. package/dist/runtime/api/docs/Login.md +36 -0
  47. package/dist/runtime/api/docs/LoginResult.md +38 -0
  48. package/dist/runtime/api/docs/MongoAggregateRequest.md +36 -0
  49. package/dist/runtime/api/docs/MongoCampConfiguration.md +42 -0
  50. package/dist/runtime/api/docs/MongoFindRequest.md +38 -0
  51. package/dist/runtime/api/docs/MongoIndex.md +56 -0
  52. package/dist/runtime/api/docs/PasswordUpdateRequest.md +34 -0
  53. package/dist/runtime/api/docs/PipelineStage.md +36 -0
  54. package/dist/runtime/api/docs/Role.md +38 -0
  55. package/dist/runtime/api/docs/SchemaAnalysis.md +40 -0
  56. package/dist/runtime/api/docs/SchemaAnalysisField.md +44 -0
  57. package/dist/runtime/api/docs/SchemaAnalysisFieldType.md +38 -0
  58. package/dist/runtime/api/docs/SettingsResponse.md +40 -0
  59. package/dist/runtime/api/docs/UpdateFileInformationRequest.md +36 -0
  60. package/dist/runtime/api/docs/UpdateRequest.md +36 -0
  61. package/dist/runtime/api/docs/UpdateResponse.md +40 -0
  62. package/dist/runtime/api/docs/UpdateRoleRequest.md +36 -0
  63. package/dist/runtime/api/docs/UserInformation.md +40 -0
  64. package/dist/runtime/api/docs/UserProfile.md +42 -0
  65. package/dist/runtime/api/docs/Version.md +38 -0
  66. package/dist/runtime/api/models/JobInformation.js +2 -2
  67. package/dist/runtime/composables/mongocampApi.d.ts +11 -1
  68. package/dist/runtime/composables/mongocampApi.js +12 -14
  69. package/dist/runtime/composables/mongocampAuth.d.ts +3 -3
  70. package/package.json +14 -14
package/dist/module.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "configKey": "mongocamp",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.16.0"
7
7
  },
8
8
  "builder": {
9
- "@nuxt/module-builder": "1.0.1",
10
- "unbuild": "3.5.0"
9
+ "@nuxt/module-builder": "1.0.2",
10
+ "unbuild": "3.6.1"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -631,9 +631,9 @@ function createConsola(options = {}) {
631
631
  const consola = createConsola();
632
632
 
633
633
  const name = "@sfxcode/nuxt-mongocamp-server";
634
- const version = "1.2.7";
634
+ const version = "1.2.9";
635
635
 
636
- const module = defineNuxtModule({
636
+ const module$1 = defineNuxtModule({
637
637
  meta: {
638
638
  name,
639
639
  version,
@@ -668,4 +668,4 @@ const module = defineNuxtModule({
668
668
  }
669
669
  });
670
670
 
671
- export { module as default };
671
+ export { module$1 as default };
@@ -10,6 +10,56 @@ apis/IndexApi.ts
10
10
  apis/InformationApi.ts
11
11
  apis/JobsApi.ts
12
12
  apis/index.ts
13
+ docs/AdminApi.md
14
+ docs/ApplicationApi.md
15
+ docs/AuthApi.md
16
+ docs/BucketApi.md
17
+ docs/BucketInformation.md
18
+ docs/CollectionApi.md
19
+ docs/CollectionStatus.md
20
+ docs/DatabaseApi.md
21
+ docs/DatabaseInfo.md
22
+ docs/DeleteResponse.md
23
+ docs/DocumentApi.md
24
+ docs/ErrorDescription.md
25
+ docs/FileApi.md
26
+ docs/FileInformation.md
27
+ docs/Grant.md
28
+ docs/IndexApi.md
29
+ docs/IndexCreateRequest.md
30
+ docs/IndexCreateResponse.md
31
+ docs/IndexDropResponse.md
32
+ docs/IndexOptionsRequest.md
33
+ docs/InformationApi.md
34
+ docs/InsertResponse.md
35
+ docs/JobConfig.md
36
+ docs/JobInformation.md
37
+ docs/JobsApi.md
38
+ docs/JsonSchema.md
39
+ docs/JsonSchemaDefinition.md
40
+ docs/JsonValueAny.md
41
+ docs/JsonValueBoolean.md
42
+ docs/JsonValueString.md
43
+ docs/Login.md
44
+ docs/LoginResult.md
45
+ docs/MongoAggregateRequest.md
46
+ docs/MongoCampConfiguration.md
47
+ docs/MongoFindRequest.md
48
+ docs/MongoIndex.md
49
+ docs/PasswordUpdateRequest.md
50
+ docs/PipelineStage.md
51
+ docs/Role.md
52
+ docs/SchemaAnalysis.md
53
+ docs/SchemaAnalysisField.md
54
+ docs/SchemaAnalysisFieldType.md
55
+ docs/SettingsResponse.md
56
+ docs/UpdateFileInformationRequest.md
57
+ docs/UpdateRequest.md
58
+ docs/UpdateResponse.md
59
+ docs/UpdateRoleRequest.md
60
+ docs/UserInformation.md
61
+ docs/UserProfile.md
62
+ docs/Version.md
13
63
  index.ts
14
64
  models/BucketInformation.ts
15
65
  models/CollectionStatus.ts
@@ -1 +1 @@
1
- 7.13.0
1
+ 7.19.0
@@ -37,8 +37,9 @@ export class AdminApi 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 = `/admin/roles`;
40
41
  const response = await this.request({
41
- path: `/admin/roles`,
42
+ path: urlPath,
42
43
  method: "PUT",
43
44
  headers: headerParameters,
44
45
  query: queryParameters,
@@ -81,8 +82,9 @@ export class AdminApi extends runtime.BaseAPI {
81
82
  if (this.configuration && this.configuration.apiKey) {
82
83
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
83
84
  }
85
+ let urlPath = `/admin/users`;
84
86
  const response = await this.request({
85
- path: `/admin/users`,
87
+ path: urlPath,
86
88
  method: "PUT",
87
89
  headers: headerParameters,
88
90
  query: queryParameters,
@@ -124,8 +126,10 @@ export class AdminApi extends runtime.BaseAPI {
124
126
  if (this.configuration && this.configuration.apiKey) {
125
127
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
126
128
  }
129
+ let urlPath = `/admin/roles/{roleName}`;
130
+ urlPath = urlPath.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"])));
127
131
  const response = await this.request({
128
- path: `/admin/roles/{roleName}`.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"]))),
132
+ path: urlPath,
129
133
  method: "DELETE",
130
134
  headers: headerParameters,
131
135
  query: queryParameters
@@ -166,8 +170,10 @@ export class AdminApi extends runtime.BaseAPI {
166
170
  if (this.configuration && this.configuration.apiKey) {
167
171
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
168
172
  }
173
+ let urlPath = `/admin/users/{userId}`;
174
+ urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"])));
169
175
  const response = await this.request({
170
- path: `/admin/users/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
176
+ path: urlPath,
171
177
  method: "DELETE",
172
178
  headers: headerParameters,
173
179
  query: queryParameters
@@ -208,8 +214,10 @@ export class AdminApi extends runtime.BaseAPI {
208
214
  if (this.configuration && this.configuration.apiKey) {
209
215
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
210
216
  }
217
+ let urlPath = `/admin/roles/{roleName}`;
218
+ urlPath = urlPath.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"])));
211
219
  const response = await this.request({
212
- path: `/admin/roles/{roleName}`.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"]))),
220
+ path: urlPath,
213
221
  method: "GET",
214
222
  headers: headerParameters,
215
223
  query: queryParameters
@@ -250,8 +258,10 @@ export class AdminApi extends runtime.BaseAPI {
250
258
  if (this.configuration && this.configuration.apiKey) {
251
259
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
252
260
  }
261
+ let urlPath = `/admin/users/{userId}`;
262
+ urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"])));
253
263
  const response = await this.request({
254
- path: `/admin/users/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
264
+ path: urlPath,
255
265
  method: "GET",
256
266
  headers: headerParameters,
257
267
  query: queryParameters
@@ -292,8 +302,10 @@ export class AdminApi extends runtime.BaseAPI {
292
302
  if (this.configuration && this.configuration.apiKey) {
293
303
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
294
304
  }
305
+ let urlPath = `/admin/users/{userId}/apikey`;
306
+ urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"])));
295
307
  const response = await this.request({
296
- path: `/admin/users/{userId}/apikey`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
308
+ path: urlPath,
297
309
  method: "PATCH",
298
310
  headers: headerParameters,
299
311
  query: queryParameters
@@ -337,8 +349,9 @@ export class AdminApi extends runtime.BaseAPI {
337
349
  if (this.configuration && this.configuration.apiKey) {
338
350
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
339
351
  }
352
+ let urlPath = `/admin/roles`;
340
353
  const response = await this.request({
341
- path: `/admin/roles`,
354
+ path: urlPath,
342
355
  method: "GET",
343
356
  headers: headerParameters,
344
357
  query: queryParameters
@@ -382,8 +395,9 @@ export class AdminApi extends runtime.BaseAPI {
382
395
  if (this.configuration && this.configuration.apiKey) {
383
396
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
384
397
  }
398
+ let urlPath = `/admin/users`;
385
399
  const response = await this.request({
386
- path: `/admin/users`,
400
+ path: urlPath,
387
401
  method: "GET",
388
402
  headers: headerParameters,
389
403
  query: queryParameters
@@ -431,8 +445,10 @@ export class AdminApi extends runtime.BaseAPI {
431
445
  if (this.configuration && this.configuration.apiKey) {
432
446
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
433
447
  }
448
+ let urlPath = `/admin/users/{userId}/password`;
449
+ urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"])));
434
450
  const response = await this.request({
435
- path: `/admin/users/{userId}/password`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
451
+ path: urlPath,
436
452
  method: "PATCH",
437
453
  headers: headerParameters,
438
454
  query: queryParameters,
@@ -481,8 +497,10 @@ export class AdminApi extends runtime.BaseAPI {
481
497
  if (this.configuration && this.configuration.apiKey) {
482
498
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
483
499
  }
500
+ let urlPath = `/admin/roles/{roleName}`;
501
+ urlPath = urlPath.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"])));
484
502
  const response = await this.request({
485
- path: `/admin/roles/{roleName}`.replace(`{${"roleName"}}`, encodeURIComponent(String(requestParameters["roleName"]))),
503
+ path: urlPath,
486
504
  method: "PATCH",
487
505
  headers: headerParameters,
488
506
  query: queryParameters,
@@ -525,8 +543,10 @@ export class AdminApi extends runtime.BaseAPI {
525
543
  if (this.configuration && this.configuration.apiKey) {
526
544
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
527
545
  }
546
+ let urlPath = `/admin/users/{userId}/roles`;
547
+ urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"])));
528
548
  const response = await this.request({
529
- path: `/admin/users/{userId}/roles`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
549
+ path: urlPath,
530
550
  method: "PATCH",
531
551
  headers: headerParameters,
532
552
  query: queryParameters,
@@ -32,8 +32,10 @@ export class ApplicationApi extends runtime.BaseAPI {
32
32
  if (this.configuration && this.configuration.apiKey) {
33
33
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
34
34
  }
35
+ let urlPath = `/system/configurations/{configurationKey}`;
36
+ urlPath = urlPath.replace(`{${"configurationKey"}}`, encodeURIComponent(String(requestParameters["configurationKey"])));
35
37
  const response = await this.request({
36
- path: `/system/configurations/{configurationKey}`.replace(`{${"configurationKey"}}`, encodeURIComponent(String(requestParameters["configurationKey"]))),
38
+ path: urlPath,
37
39
  method: "GET",
38
40
  headers: headerParameters,
39
41
  query: queryParameters
@@ -68,8 +70,9 @@ export class ApplicationApi extends runtime.BaseAPI {
68
70
  if (this.configuration && this.configuration.apiKey) {
69
71
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
70
72
  }
73
+ let urlPath = `/system/configurations`;
71
74
  const response = await this.request({
72
- path: `/system/configurations`,
75
+ path: urlPath,
73
76
  method: "GET",
74
77
  headers: headerParameters,
75
78
  query: queryParameters
@@ -104,8 +107,9 @@ export class ApplicationApi extends runtime.BaseAPI {
104
107
  if (this.configuration && this.configuration.apiKey) {
105
108
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
106
109
  }
110
+ let urlPath = `/system/settings`;
107
111
  const response = await this.request({
108
- path: `/system/settings`,
112
+ path: urlPath,
109
113
  method: "GET",
110
114
  headers: headerParameters,
111
115
  query: queryParameters
@@ -143,8 +147,9 @@ export class ApplicationApi extends runtime.BaseAPI {
143
147
  if (this.configuration && this.configuration.apiKey) {
144
148
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
145
149
  }
150
+ let urlPath = `/system`;
146
151
  const response = await this.request({
147
- path: `/system`,
152
+ path: urlPath,
148
153
  method: "DELETE",
149
154
  headers: headerParameters,
150
155
  query: queryParameters
@@ -192,8 +197,10 @@ export class ApplicationApi extends runtime.BaseAPI {
192
197
  if (this.configuration && this.configuration.apiKey) {
193
198
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
194
199
  }
200
+ let urlPath = `/system/configurations/{configurationKey}`;
201
+ urlPath = urlPath.replace(`{${"configurationKey"}}`, encodeURIComponent(String(requestParameters["configurationKey"])));
195
202
  const response = await this.request({
196
- path: `/system/configurations/{configurationKey}`.replace(`{${"configurationKey"}}`, encodeURIComponent(String(requestParameters["configurationKey"]))),
203
+ path: urlPath,
197
204
  method: "PATCH",
198
205
  headers: headerParameters,
199
206
  query: queryParameters,
@@ -28,8 +28,9 @@ export class AuthApi extends runtime.BaseAPI {
28
28
  if (this.configuration && this.configuration.apiKey) {
29
29
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
30
30
  }
31
+ let urlPath = `/auth/profile/apikey`;
31
32
  const response = await this.request({
32
- path: `/auth/profile/apikey`,
33
+ path: urlPath,
33
34
  method: "PATCH",
34
35
  headers: headerParameters,
35
36
  query: queryParameters
@@ -64,8 +65,9 @@ export class AuthApi extends runtime.BaseAPI {
64
65
  if (this.configuration && this.configuration.apiKey) {
65
66
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
66
67
  }
68
+ let urlPath = `/auth/authenticated`;
67
69
  const response = await this.request({
68
- path: `/auth/authenticated`,
70
+ path: urlPath,
69
71
  method: "GET",
70
72
  headers: headerParameters,
71
73
  query: queryParameters
@@ -94,8 +96,9 @@ export class AuthApi extends runtime.BaseAPI {
94
96
  const queryParameters = {};
95
97
  const headerParameters = {};
96
98
  headerParameters["Content-Type"] = "application/json";
99
+ let urlPath = `/auth/login`;
97
100
  const response = await this.request({
98
- path: `/auth/login`,
101
+ path: urlPath,
99
102
  method: "POST",
100
103
  headers: headerParameters,
101
104
  query: queryParameters,
@@ -131,8 +134,9 @@ export class AuthApi extends runtime.BaseAPI {
131
134
  if (this.configuration && this.configuration.apiKey) {
132
135
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
133
136
  }
137
+ let urlPath = `/auth/logout`;
134
138
  const response = await this.request({
135
- path: `/auth/logout`,
139
+ path: urlPath,
136
140
  method: "POST",
137
141
  headers: headerParameters,
138
142
  query: queryParameters
@@ -167,8 +171,9 @@ export class AuthApi extends runtime.BaseAPI {
167
171
  if (this.configuration && this.configuration.apiKey) {
168
172
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
169
173
  }
174
+ let urlPath = `/auth/logout`;
170
175
  const response = await this.request({
171
- path: `/auth/logout`,
176
+ path: urlPath,
172
177
  method: "DELETE",
173
178
  headers: headerParameters,
174
179
  query: queryParameters
@@ -203,8 +208,9 @@ export class AuthApi extends runtime.BaseAPI {
203
208
  if (this.configuration && this.configuration.apiKey) {
204
209
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
205
210
  }
211
+ let urlPath = `/auth/token/refresh`;
206
212
  const response = await this.request({
207
- path: `/auth/token/refresh`,
213
+ path: urlPath,
208
214
  method: "GET",
209
215
  headers: headerParameters,
210
216
  query: queryParameters
@@ -246,8 +252,9 @@ export class AuthApi extends runtime.BaseAPI {
246
252
  if (this.configuration && this.configuration.apiKey) {
247
253
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
248
254
  }
255
+ let urlPath = `/auth/profile/password`;
249
256
  const response = await this.request({
250
- path: `/auth/profile/password`,
257
+ path: urlPath,
251
258
  method: "PATCH",
252
259
  headers: headerParameters,
253
260
  query: queryParameters,
@@ -283,8 +290,9 @@ export class AuthApi extends runtime.BaseAPI {
283
290
  if (this.configuration && this.configuration.apiKey) {
284
291
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
285
292
  }
293
+ let urlPath = `/auth/profile`;
286
294
  const response = await this.request({
287
- path: `/auth/profile`,
295
+ path: urlPath,
288
296
  method: "GET",
289
297
  headers: headerParameters,
290
298
  query: queryParameters
@@ -30,8 +30,10 @@ export class BucketApi extends runtime.BaseAPI {
30
30
  if (this.configuration && this.configuration.apiKey) {
31
31
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
32
32
  }
33
+ let urlPath = `/mongodb/buckets/{bucketName}/clear`;
34
+ urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
33
35
  const response = await this.request({
34
- path: `/mongodb/buckets/{bucketName}/clear`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"]))),
36
+ path: urlPath,
35
37
  method: "DELETE",
36
38
  headers: headerParameters,
37
39
  query: queryParameters
@@ -72,8 +74,10 @@ export class BucketApi extends runtime.BaseAPI {
72
74
  if (this.configuration && this.configuration.apiKey) {
73
75
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
74
76
  }
77
+ let urlPath = `/mongodb/buckets/{bucketName}`;
78
+ urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
75
79
  const response = await this.request({
76
- path: `/mongodb/buckets/{bucketName}`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"]))),
80
+ path: urlPath,
77
81
  method: "DELETE",
78
82
  headers: headerParameters,
79
83
  query: queryParameters
@@ -114,8 +118,10 @@ export class BucketApi extends runtime.BaseAPI {
114
118
  if (this.configuration && this.configuration.apiKey) {
115
119
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
116
120
  }
121
+ let urlPath = `/mongodb/buckets/{bucketName}`;
122
+ urlPath = urlPath.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"])));
117
123
  const response = await this.request({
118
- path: `/mongodb/buckets/{bucketName}`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters["bucketName"]))),
124
+ path: urlPath,
119
125
  method: "GET",
120
126
  headers: headerParameters,
121
127
  query: queryParameters
@@ -150,8 +156,9 @@ export class BucketApi extends runtime.BaseAPI {
150
156
  if (this.configuration && this.configuration.apiKey) {
151
157
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
152
158
  }
159
+ let urlPath = `/mongodb/buckets`;
153
160
  const response = await this.request({
154
- path: `/mongodb/buckets`,
161
+ path: urlPath,
155
162
  method: "GET",
156
163
  headers: headerParameters,
157
164
  query: queryParameters
@@ -46,8 +46,10 @@ export class CollectionApi extends runtime.BaseAPI {
46
46
  if (this.configuration && this.configuration.apiKey) {
47
47
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
48
48
  }
49
+ let urlPath = `/mongodb/collections/{collectionName}/aggregate`;
50
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
49
51
  const response = await this.request({
50
- path: `/mongodb/collections/{collectionName}/aggregate`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
52
+ path: urlPath,
51
53
  method: "POST",
52
54
  headers: headerParameters,
53
55
  query: queryParameters,
@@ -89,8 +91,10 @@ export class CollectionApi extends runtime.BaseAPI {
89
91
  if (this.configuration && this.configuration.apiKey) {
90
92
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
91
93
  }
94
+ let urlPath = `/mongodb/collections/{collectionName}/clear`;
95
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
92
96
  const response = await this.request({
93
- path: `/mongodb/collections/{collectionName}/clear`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
97
+ path: urlPath,
94
98
  method: "DELETE",
95
99
  headers: headerParameters,
96
100
  query: queryParameters
@@ -131,8 +135,10 @@ export class CollectionApi extends runtime.BaseAPI {
131
135
  if (this.configuration && this.configuration.apiKey) {
132
136
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
133
137
  }
138
+ let urlPath = `/mongodb/collections/{collectionName}`;
139
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
134
140
  const response = await this.request({
135
- path: `/mongodb/collections/{collectionName}`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
141
+ path: urlPath,
136
142
  method: "DELETE",
137
143
  headers: headerParameters,
138
144
  query: queryParameters
@@ -185,8 +191,11 @@ export class CollectionApi extends runtime.BaseAPI {
185
191
  if (this.configuration && this.configuration.apiKey) {
186
192
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
187
193
  }
194
+ let urlPath = `/mongodb/collections/{collectionName}/distinct/{field}`;
195
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
196
+ urlPath = urlPath.replace(`{${"field"}}`, encodeURIComponent(String(requestParameters["field"])));
188
197
  const response = await this.request({
189
- path: `/mongodb/collections/{collectionName}/distinct/{field}`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))).replace(`{${"field"}}`, encodeURIComponent(String(requestParameters["field"]))),
198
+ path: urlPath,
190
199
  method: "POST",
191
200
  headers: headerParameters,
192
201
  query: queryParameters
@@ -230,8 +239,10 @@ export class CollectionApi extends runtime.BaseAPI {
230
239
  if (this.configuration && this.configuration.apiKey) {
231
240
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
232
241
  }
242
+ let urlPath = `/mongodb/collections/{collectionName}/fields`;
243
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
233
244
  const response = await this.request({
234
- path: `/mongodb/collections/{collectionName}/fields`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
245
+ path: urlPath,
235
246
  method: "GET",
236
247
  headers: headerParameters,
237
248
  query: queryParameters
@@ -275,8 +286,10 @@ export class CollectionApi extends runtime.BaseAPI {
275
286
  if (this.configuration && this.configuration.apiKey) {
276
287
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
277
288
  }
289
+ let urlPath = `/mongodb/collections/{collectionName}`;
290
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
278
291
  const response = await this.request({
279
- path: `/mongodb/collections/{collectionName}`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
292
+ path: urlPath,
280
293
  method: "GET",
281
294
  headers: headerParameters,
282
295
  query: queryParameters
@@ -323,8 +336,10 @@ export class CollectionApi extends runtime.BaseAPI {
323
336
  if (this.configuration && this.configuration.apiKey) {
324
337
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
325
338
  }
339
+ let urlPath = `/mongodb/collections/{collectionName}/schema`;
340
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
326
341
  const response = await this.request({
327
- path: `/mongodb/collections/{collectionName}/schema`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
342
+ path: urlPath,
328
343
  method: "GET",
329
344
  headers: headerParameters,
330
345
  query: queryParameters
@@ -371,8 +386,10 @@ export class CollectionApi extends runtime.BaseAPI {
371
386
  if (this.configuration && this.configuration.apiKey) {
372
387
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
373
388
  }
389
+ let urlPath = `/mongodb/collections/{collectionName}/schema/analysis`;
390
+ urlPath = urlPath.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"])));
374
391
  const response = await this.request({
375
- path: `/mongodb/collections/{collectionName}/schema/analysis`.replace(`{${"collectionName"}}`, encodeURIComponent(String(requestParameters["collectionName"]))),
392
+ path: urlPath,
376
393
  method: "GET",
377
394
  headers: headerParameters,
378
395
  query: queryParameters
@@ -407,8 +424,9 @@ export class CollectionApi extends runtime.BaseAPI {
407
424
  if (this.configuration && this.configuration.apiKey) {
408
425
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
409
426
  }
427
+ let urlPath = `/mongodb/collections`;
410
428
  const response = await this.request({
411
- path: `/mongodb/collections`,
429
+ path: urlPath,
412
430
  method: "GET",
413
431
  headers: headerParameters,
414
432
  query: queryParameters
@@ -449,8 +467,10 @@ export class CollectionApi extends runtime.BaseAPI {
449
467
  if (this.configuration && this.configuration.apiKey) {
450
468
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
451
469
  }
470
+ let urlPath = `/mongodb/databases/{databaseName}/collections`;
471
+ urlPath = urlPath.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"])));
452
472
  const response = await this.request({
453
- path: `/mongodb/databases/{databaseName}/collections`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"]))),
473
+ path: urlPath,
454
474
  method: "GET",
455
475
  headers: headerParameters,
456
476
  query: queryParameters
@@ -24,8 +24,9 @@ export class DatabaseApi extends runtime.BaseAPI {
24
24
  if (this.configuration && this.configuration.apiKey) {
25
25
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
26
26
  }
27
+ let urlPath = `/mongodb/databases/infos`;
27
28
  const response = await this.request({
28
- path: `/mongodb/databases/infos`,
29
+ path: urlPath,
29
30
  method: "GET",
30
31
  headers: headerParameters,
31
32
  query: queryParameters
@@ -66,8 +67,10 @@ export class DatabaseApi extends runtime.BaseAPI {
66
67
  if (this.configuration && this.configuration.apiKey) {
67
68
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
68
69
  }
70
+ let urlPath = `/mongodb/databases/{databaseName}`;
71
+ urlPath = urlPath.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"])));
69
72
  const response = await this.request({
70
- path: `/mongodb/databases/{databaseName}`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"]))),
73
+ path: urlPath,
71
74
  method: "DELETE",
72
75
  headers: headerParameters,
73
76
  query: queryParameters
@@ -108,8 +111,10 @@ export class DatabaseApi extends runtime.BaseAPI {
108
111
  if (this.configuration && this.configuration.apiKey) {
109
112
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
110
113
  }
114
+ let urlPath = `/mongodb/databases/{databaseName}`;
115
+ urlPath = urlPath.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"])));
111
116
  const response = await this.request({
112
- path: `/mongodb/databases/{databaseName}`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"]))),
117
+ path: urlPath,
113
118
  method: "GET",
114
119
  headers: headerParameters,
115
120
  query: queryParameters
@@ -150,8 +155,10 @@ export class DatabaseApi extends runtime.BaseAPI {
150
155
  if (this.configuration && this.configuration.apiKey) {
151
156
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
152
157
  }
158
+ let urlPath = `/mongodb/databases/{databaseName}/collections`;
159
+ urlPath = urlPath.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"])));
153
160
  const response = await this.request({
154
- path: `/mongodb/databases/{databaseName}/collections`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters["databaseName"]))),
161
+ path: urlPath,
155
162
  method: "GET",
156
163
  headers: headerParameters,
157
164
  query: queryParameters
@@ -186,8 +193,9 @@ export class DatabaseApi extends runtime.BaseAPI {
186
193
  if (this.configuration && this.configuration.apiKey) {
187
194
  headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
188
195
  }
196
+ let urlPath = `/mongodb/databases`;
189
197
  const response = await this.request({
190
- path: `/mongodb/databases`,
198
+ path: urlPath,
191
199
  method: "GET",
192
200
  headers: headerParameters,
193
201
  query: queryParameters