@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
package/dist/module.d.mts
CHANGED
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/nuxt-mongocamp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"configKey": "mongocamp",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": ">=3.16.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "1.0.
|
|
10
|
-
"unbuild": "3.
|
|
9
|
+
"@nuxt/module-builder": "1.0.2",
|
|
10
|
+
"unbuild": "3.6.1"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
|
|
2
|
+
export * from '../dist/runtime/api/models/index.js';
|
|
2
3
|
|
|
3
4
|
function isPlainObject$2(value) {
|
|
4
5
|
if (value === null || typeof value !== "object") {
|
|
@@ -631,9 +632,9 @@ function createConsola(options = {}) {
|
|
|
631
632
|
const consola = createConsola();
|
|
632
633
|
|
|
633
634
|
const name = "@sfxcode/nuxt-mongocamp-server";
|
|
634
|
-
const version = "1.
|
|
635
|
+
const version = "1.3.0";
|
|
635
636
|
|
|
636
|
-
const module = defineNuxtModule({
|
|
637
|
+
const module$1 = defineNuxtModule({
|
|
637
638
|
meta: {
|
|
638
639
|
name,
|
|
639
640
|
version,
|
|
@@ -668,4 +669,4 @@ const module = defineNuxtModule({
|
|
|
668
669
|
}
|
|
669
670
|
});
|
|
670
671
|
|
|
671
|
-
export { module as default };
|
|
672
|
+
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
198
|
+
path: urlPath,
|
|
191
199
|
method: "GET",
|
|
192
200
|
headers: headerParameters,
|
|
193
201
|
query: queryParameters
|