@sfxcode/nuxt-mongocamp-server 0.8.7 → 0.9.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.json +1 -1
- package/dist/module.mjs +470 -13
- package/dist/runtime/api/apis/AdminApi.d.ts +26 -26
- package/dist/runtime/api/apis/AdminApi.mjs +145 -49
- package/dist/runtime/api/apis/ApplicationApi.d.ts +10 -50
- package/dist/runtime/api/apis/ApplicationApi.mjs +47 -128
- package/dist/runtime/api/apis/AuthApi.d.ts +18 -18
- package/dist/runtime/api/apis/AuthApi.mjs +93 -29
- package/dist/runtime/api/apis/BucketApi.d.ts +10 -10
- package/dist/runtime/api/apis/BucketApi.mjs +49 -17
- package/dist/runtime/api/apis/CollectionApi.d.ts +22 -22
- package/dist/runtime/api/apis/CollectionApi.mjs +121 -41
- package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -12
- package/dist/runtime/api/apis/DatabaseApi.mjs +61 -21
- package/dist/runtime/api/apis/DocumentApi.d.ts +22 -22
- package/dist/runtime/api/apis/DocumentApi.mjs +121 -41
- package/dist/runtime/api/apis/FileApi.d.ts +16 -16
- package/dist/runtime/api/apis/FileApi.mjs +85 -29
- package/dist/runtime/api/apis/IndexApi.d.ts +18 -18
- package/dist/runtime/api/apis/IndexApi.mjs +97 -33
- package/dist/runtime/api/apis/InformationApi.d.ts +4 -4
- package/dist/runtime/api/apis/InformationApi.mjs +9 -1
- package/dist/runtime/api/apis/JobsApi.d.ts +14 -14
- package/dist/runtime/api/apis/JobsApi.mjs +73 -25
- package/dist/runtime/api/models/BucketInformation.d.ts +5 -1
- package/dist/runtime/api/models/BucketInformation.mjs +8 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +5 -1
- package/dist/runtime/api/models/CollectionStatus.mjs +17 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +5 -1
- package/dist/runtime/api/models/DatabaseInfo.mjs +9 -0
- package/dist/runtime/api/models/DeleteResponse.d.ts +5 -1
- package/dist/runtime/api/models/DeleteResponse.mjs +6 -0
- package/dist/runtime/api/models/ErrorDescription.d.ts +5 -1
- package/dist/runtime/api/models/ErrorDescription.mjs +7 -0
- package/dist/runtime/api/models/FileInformation.d.ts +5 -1
- package/dist/runtime/api/models/FileInformation.mjs +10 -0
- package/dist/runtime/api/models/Grant.d.ts +5 -1
- package/dist/runtime/api/models/Grant.mjs +9 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +6 -2
- package/dist/runtime/api/models/IndexCreateRequest.mjs +6 -1
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +5 -1
- package/dist/runtime/api/models/IndexCreateResponse.mjs +5 -0
- package/dist/runtime/api/models/IndexDropResponse.d.ts +5 -1
- package/dist/runtime/api/models/IndexDropResponse.mjs +5 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +5 -1
- package/dist/runtime/api/models/IndexOptionsRequest.mjs +4 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +5 -1
- package/dist/runtime/api/models/InsertResponse.mjs +5 -0
- package/dist/runtime/api/models/JobConfig.d.ts +5 -1
- package/dist/runtime/api/models/JobConfig.mjs +10 -0
- package/dist/runtime/api/models/JobInformation.d.ts +5 -1
- package/dist/runtime/api/models/JobInformation.mjs +10 -0
- package/dist/runtime/api/models/JsonSchema.d.ts +6 -2
- package/dist/runtime/api/models/JsonSchema.mjs +8 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +5 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.mjs +8 -0
- package/dist/runtime/api/models/JsonValueAny.d.ts +5 -1
- package/dist/runtime/api/models/JsonValueAny.mjs +5 -0
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +5 -1
- package/dist/runtime/api/models/JsonValueBoolean.mjs +5 -0
- package/dist/runtime/api/models/JsonValueString.d.ts +5 -1
- package/dist/runtime/api/models/JsonValueString.mjs +5 -0
- package/dist/runtime/api/models/Login.d.ts +5 -1
- package/dist/runtime/api/models/Login.mjs +6 -0
- package/dist/runtime/api/models/LoginResult.d.ts +6 -2
- package/dist/runtime/api/models/LoginResult.mjs +8 -1
- package/dist/runtime/api/models/Metric.mjs +1 -1
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +6 -2
- package/dist/runtime/api/models/MongoAggregateRequest.mjs +6 -1
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +5 -1
- package/dist/runtime/api/models/MongoCampConfiguration.mjs +9 -0
- package/dist/runtime/api/models/MongoFindRequest.d.ts +5 -1
- package/dist/runtime/api/models/MongoFindRequest.mjs +7 -0
- package/dist/runtime/api/models/MongoIndex.d.ts +5 -1
- package/dist/runtime/api/models/MongoIndex.mjs +15 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +5 -1
- package/dist/runtime/api/models/PasswordUpdateRequest.mjs +5 -0
- package/dist/runtime/api/models/PipelineStage.d.ts +5 -1
- package/dist/runtime/api/models/PipelineStage.mjs +6 -0
- package/dist/runtime/api/models/Role.d.ts +6 -2
- package/dist/runtime/api/models/Role.mjs +7 -1
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +6 -2
- package/dist/runtime/api/models/SchemaAnalysis.mjs +8 -1
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +6 -2
- package/dist/runtime/api/models/SchemaAnalysisField.mjs +9 -1
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +5 -1
- package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +7 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +5 -1
- package/dist/runtime/api/models/SettingsResponse.mjs +5 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +5 -1
- package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +4 -0
- package/dist/runtime/api/models/UpdateRequest.d.ts +5 -1
- package/dist/runtime/api/models/UpdateRequest.mjs +6 -0
- package/dist/runtime/api/models/UpdateResponse.d.ts +5 -1
- package/dist/runtime/api/models/UpdateResponse.mjs +7 -0
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +6 -2
- package/dist/runtime/api/models/UpdateRoleRequest.mjs +6 -1
- package/dist/runtime/api/models/UserInformation.d.ts +5 -1
- package/dist/runtime/api/models/UserInformation.mjs +6 -0
- package/dist/runtime/api/models/UserProfile.d.ts +6 -2
- package/dist/runtime/api/models/UserProfile.mjs +7 -1
- package/dist/runtime/api/models/Version.d.ts +5 -1
- package/dist/runtime/api/models/Version.mjs +7 -0
- package/dist/runtime/api/models/index.d.ts +0 -2
- package/dist/runtime/api/models/index.mjs +0 -2
- package/dist/runtime/api/runtime.d.ts +71 -29
- package/dist/runtime/api/runtime.mjs +154 -72
- package/dist/runtime/composables/mongocampApi.mjs +1 -1
- package/dist/runtime/composables/mongocampSearch.mjs +4 -4
- package/dist/runtime/composables/mongocampStorage.mjs +1 -2
- package/dist/runtime/composables/mongocampUrl.mjs +1 -1
- package/package.json +8 -8
|
@@ -6,13 +6,17 @@ import {
|
|
|
6
6
|
LoginResultFromJSON,
|
|
7
7
|
PasswordUpdateRequestToJSON,
|
|
8
8
|
UserProfileFromJSON
|
|
9
|
-
} from "../models";
|
|
9
|
+
} from "../models/index.mjs";
|
|
10
10
|
export class AuthApi extends runtime.BaseAPI {
|
|
11
|
+
/**
|
|
12
|
+
* Generate new ApiKey of logged in User
|
|
13
|
+
* Update ApiKey
|
|
14
|
+
*/
|
|
11
15
|
async generateNewApiKeyRaw(initOverrides) {
|
|
12
16
|
const queryParameters = {};
|
|
13
17
|
const headerParameters = {};
|
|
14
|
-
if (this.configuration && this.configuration.
|
|
15
|
-
headerParameters["
|
|
18
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
19
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
16
20
|
}
|
|
17
21
|
if (this.configuration && this.configuration.accessToken) {
|
|
18
22
|
const token = this.configuration.accessToken;
|
|
@@ -21,8 +25,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
21
25
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
|
-
if (this.configuration &&
|
|
25
|
-
headerParameters["
|
|
28
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
29
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
26
30
|
}
|
|
27
31
|
const response = await this.request({
|
|
28
32
|
path: `/auth/profile/apikey`,
|
|
@@ -32,15 +36,23 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
32
36
|
}, initOverrides);
|
|
33
37
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueStringFromJSON(jsonValue));
|
|
34
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Generate new ApiKey of logged in User
|
|
41
|
+
* Update ApiKey
|
|
42
|
+
*/
|
|
35
43
|
async generateNewApiKey(initOverrides) {
|
|
36
44
|
const response = await this.generateNewApiKeyRaw(initOverrides);
|
|
37
45
|
return await response.value();
|
|
38
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Check a given Login for is authenticated
|
|
49
|
+
* Check Authentication
|
|
50
|
+
*/
|
|
39
51
|
async isAuthenticatedRaw(initOverrides) {
|
|
40
52
|
const queryParameters = {};
|
|
41
53
|
const headerParameters = {};
|
|
42
|
-
if (this.configuration && this.configuration.
|
|
43
|
-
headerParameters["
|
|
54
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
55
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
44
56
|
}
|
|
45
57
|
if (this.configuration && this.configuration.accessToken) {
|
|
46
58
|
const token = this.configuration.accessToken;
|
|
@@ -49,8 +61,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
49
61
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
50
62
|
}
|
|
51
63
|
}
|
|
52
|
-
if (this.configuration &&
|
|
53
|
-
headerParameters["
|
|
64
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
65
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
54
66
|
}
|
|
55
67
|
const response = await this.request({
|
|
56
68
|
path: `/auth/authenticated`,
|
|
@@ -60,10 +72,18 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
60
72
|
}, initOverrides);
|
|
61
73
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
62
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Check a given Login for is authenticated
|
|
77
|
+
* Check Authentication
|
|
78
|
+
*/
|
|
63
79
|
async isAuthenticated(initOverrides) {
|
|
64
80
|
const response = await this.isAuthenticatedRaw(initOverrides);
|
|
65
81
|
return await response.value();
|
|
66
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Login for one user and return Login Information
|
|
85
|
+
* Login User
|
|
86
|
+
*/
|
|
67
87
|
async loginRaw(requestParameters, initOverrides) {
|
|
68
88
|
if (requestParameters.login === null || requestParameters.login === void 0) {
|
|
69
89
|
throw new runtime.RequiredError("login", "Required parameter requestParameters.login was null or undefined when calling login.");
|
|
@@ -80,15 +100,23 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
80
100
|
}, initOverrides);
|
|
81
101
|
return new runtime.JSONApiResponse(response, (jsonValue) => LoginResultFromJSON(jsonValue));
|
|
82
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Login for one user and return Login Information
|
|
105
|
+
* Login User
|
|
106
|
+
*/
|
|
83
107
|
async login(requestParameters, initOverrides) {
|
|
84
108
|
const response = await this.loginRaw(requestParameters, initOverrides);
|
|
85
109
|
return await response.value();
|
|
86
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Logout by bearer Token
|
|
113
|
+
* Logout User
|
|
114
|
+
*/
|
|
87
115
|
async logoutRaw(initOverrides) {
|
|
88
116
|
const queryParameters = {};
|
|
89
117
|
const headerParameters = {};
|
|
90
|
-
if (this.configuration && this.configuration.
|
|
91
|
-
headerParameters["
|
|
118
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
119
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
92
120
|
}
|
|
93
121
|
if (this.configuration && this.configuration.accessToken) {
|
|
94
122
|
const token = this.configuration.accessToken;
|
|
@@ -97,8 +125,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
97
125
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
98
126
|
}
|
|
99
127
|
}
|
|
100
|
-
if (this.configuration &&
|
|
101
|
-
headerParameters["
|
|
128
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
129
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
102
130
|
}
|
|
103
131
|
const response = await this.request({
|
|
104
132
|
path: `/auth/logout`,
|
|
@@ -108,15 +136,23 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
108
136
|
}, initOverrides);
|
|
109
137
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
110
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Logout by bearer Token
|
|
141
|
+
* Logout User
|
|
142
|
+
*/
|
|
111
143
|
async logout(initOverrides) {
|
|
112
144
|
const response = await this.logoutRaw(initOverrides);
|
|
113
145
|
return await response.value();
|
|
114
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Logout by bearer Token
|
|
149
|
+
* Logout User
|
|
150
|
+
*/
|
|
115
151
|
async logoutByDeleteRaw(initOverrides) {
|
|
116
152
|
const queryParameters = {};
|
|
117
153
|
const headerParameters = {};
|
|
118
|
-
if (this.configuration && this.configuration.
|
|
119
|
-
headerParameters["
|
|
154
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
155
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
120
156
|
}
|
|
121
157
|
if (this.configuration && this.configuration.accessToken) {
|
|
122
158
|
const token = this.configuration.accessToken;
|
|
@@ -125,8 +161,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
125
161
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
126
162
|
}
|
|
127
163
|
}
|
|
128
|
-
if (this.configuration &&
|
|
129
|
-
headerParameters["
|
|
164
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
165
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
130
166
|
}
|
|
131
167
|
const response = await this.request({
|
|
132
168
|
path: `/auth/logout`,
|
|
@@ -136,15 +172,23 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
136
172
|
}, initOverrides);
|
|
137
173
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
138
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Logout by bearer Token
|
|
177
|
+
* Logout User
|
|
178
|
+
*/
|
|
139
179
|
async logoutByDelete(initOverrides) {
|
|
140
180
|
const response = await this.logoutByDeleteRaw(initOverrides);
|
|
141
181
|
return await response.value();
|
|
142
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Refresh Token and return Login Information
|
|
185
|
+
* Refresh User
|
|
186
|
+
*/
|
|
143
187
|
async refreshTokenRaw(initOverrides) {
|
|
144
188
|
const queryParameters = {};
|
|
145
189
|
const headerParameters = {};
|
|
146
|
-
if (this.configuration && this.configuration.
|
|
147
|
-
headerParameters["
|
|
190
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
191
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
148
192
|
}
|
|
149
193
|
if (this.configuration && this.configuration.accessToken) {
|
|
150
194
|
const token = this.configuration.accessToken;
|
|
@@ -153,8 +197,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
153
197
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
154
198
|
}
|
|
155
199
|
}
|
|
156
|
-
if (this.configuration &&
|
|
157
|
-
headerParameters["
|
|
200
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
201
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
158
202
|
}
|
|
159
203
|
const response = await this.request({
|
|
160
204
|
path: `/auth/token/refresh`,
|
|
@@ -164,10 +208,18 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
164
208
|
}, initOverrides);
|
|
165
209
|
return new runtime.JSONApiResponse(response, (jsonValue) => LoginResultFromJSON(jsonValue));
|
|
166
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* Refresh Token and return Login Information
|
|
213
|
+
* Refresh User
|
|
214
|
+
*/
|
|
167
215
|
async refreshToken(initOverrides) {
|
|
168
216
|
const response = await this.refreshTokenRaw(initOverrides);
|
|
169
217
|
return await response.value();
|
|
170
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* Change Password of logged in User
|
|
221
|
+
* Update Password
|
|
222
|
+
*/
|
|
171
223
|
async updatePasswordRaw(requestParameters, initOverrides) {
|
|
172
224
|
if (requestParameters.passwordUpdateRequest === null || requestParameters.passwordUpdateRequest === void 0) {
|
|
173
225
|
throw new runtime.RequiredError("passwordUpdateRequest", "Required parameter requestParameters.passwordUpdateRequest was null or undefined when calling updatePassword.");
|
|
@@ -175,8 +227,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
175
227
|
const queryParameters = {};
|
|
176
228
|
const headerParameters = {};
|
|
177
229
|
headerParameters["Content-Type"] = "application/json";
|
|
178
|
-
if (this.configuration && this.configuration.
|
|
179
|
-
headerParameters["
|
|
230
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
231
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
180
232
|
}
|
|
181
233
|
if (this.configuration && this.configuration.accessToken) {
|
|
182
234
|
const token = this.configuration.accessToken;
|
|
@@ -185,8 +237,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
185
237
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
186
238
|
}
|
|
187
239
|
}
|
|
188
|
-
if (this.configuration &&
|
|
189
|
-
headerParameters["
|
|
240
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
241
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
190
242
|
}
|
|
191
243
|
const response = await this.request({
|
|
192
244
|
path: `/auth/profile/password`,
|
|
@@ -197,15 +249,23 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
197
249
|
}, initOverrides);
|
|
198
250
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
199
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* Change Password of logged in User
|
|
254
|
+
* Update Password
|
|
255
|
+
*/
|
|
200
256
|
async updatePassword(requestParameters, initOverrides) {
|
|
201
257
|
const response = await this.updatePasswordRaw(requestParameters, initOverrides);
|
|
202
258
|
return await response.value();
|
|
203
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* Return the User Profile of loggedin user
|
|
262
|
+
* User Profile
|
|
263
|
+
*/
|
|
204
264
|
async userProfileRaw(initOverrides) {
|
|
205
265
|
const queryParameters = {};
|
|
206
266
|
const headerParameters = {};
|
|
207
|
-
if (this.configuration && this.configuration.
|
|
208
|
-
headerParameters["
|
|
267
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
268
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
209
269
|
}
|
|
210
270
|
if (this.configuration && this.configuration.accessToken) {
|
|
211
271
|
const token = this.configuration.accessToken;
|
|
@@ -214,8 +274,8 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
214
274
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
215
275
|
}
|
|
216
276
|
}
|
|
217
|
-
if (this.configuration &&
|
|
218
|
-
headerParameters["
|
|
277
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
278
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
219
279
|
}
|
|
220
280
|
const response = await this.request({
|
|
221
281
|
path: `/auth/profile`,
|
|
@@ -225,6 +285,10 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
225
285
|
}, initOverrides);
|
|
226
286
|
return new runtime.JSONApiResponse(response, (jsonValue) => UserProfileFromJSON(jsonValue));
|
|
227
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* Return the User Profile of loggedin user
|
|
290
|
+
* User Profile
|
|
291
|
+
*/
|
|
228
292
|
async userProfile(initOverrides) {
|
|
229
293
|
const response = await this.userProfileRaw(initOverrides);
|
|
230
294
|
return await response.value();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.4.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { BucketInformation, JsonValueBoolean } from '../models';
|
|
13
|
+
import type { BucketInformation, JsonValueBoolean } from '../models';
|
|
14
14
|
export interface ClearBucketRequest {
|
|
15
15
|
bucketName: string;
|
|
16
16
|
}
|
|
@@ -28,40 +28,40 @@ export declare class BucketApi extends runtime.BaseAPI {
|
|
|
28
28
|
* Delete all Files in Bucket
|
|
29
29
|
* Clear Bucket
|
|
30
30
|
*/
|
|
31
|
-
clearBucketRaw(requestParameters: ClearBucketRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
31
|
+
clearBucketRaw(requestParameters: ClearBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
32
32
|
/**
|
|
33
33
|
* Delete all Files in Bucket
|
|
34
34
|
* Clear Bucket
|
|
35
35
|
*/
|
|
36
|
-
clearBucket(requestParameters: ClearBucketRequest, initOverrides?: RequestInit): Promise<JsonValueBoolean>;
|
|
36
|
+
clearBucket(requestParameters: ClearBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
37
37
|
/**
|
|
38
38
|
* Delete a given Bucket
|
|
39
39
|
* Delete Bucket
|
|
40
40
|
*/
|
|
41
|
-
deleteBucketRaw(requestParameters: DeleteBucketRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
41
|
+
deleteBucketRaw(requestParameters: DeleteBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
42
42
|
/**
|
|
43
43
|
* Delete a given Bucket
|
|
44
44
|
* Delete Bucket
|
|
45
45
|
*/
|
|
46
|
-
deleteBucket(requestParameters: DeleteBucketRequest, initOverrides?: RequestInit): Promise<JsonValueBoolean>;
|
|
46
|
+
deleteBucket(requestParameters: DeleteBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
47
47
|
/**
|
|
48
48
|
* All Information about a single Bucket
|
|
49
49
|
* Bucket Information
|
|
50
50
|
*/
|
|
51
|
-
getBucketRaw(requestParameters: GetBucketRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BucketInformation>>;
|
|
51
|
+
getBucketRaw(requestParameters: GetBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BucketInformation>>;
|
|
52
52
|
/**
|
|
53
53
|
* All Information about a single Bucket
|
|
54
54
|
* Bucket Information
|
|
55
55
|
*/
|
|
56
|
-
getBucket(requestParameters: GetBucketRequest, initOverrides?: RequestInit): Promise<BucketInformation>;
|
|
56
|
+
getBucket(requestParameters: GetBucketRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BucketInformation>;
|
|
57
57
|
/**
|
|
58
58
|
* List of all Buckets of the default database
|
|
59
59
|
* List of Buckets
|
|
60
60
|
*/
|
|
61
|
-
listBucketsRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
61
|
+
listBucketsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
62
62
|
/**
|
|
63
63
|
* List of all Buckets of the default database
|
|
64
64
|
* List of Buckets
|
|
65
65
|
*/
|
|
66
|
-
listBuckets(initOverrides?: RequestInit): Promise<Array<string>>;
|
|
66
|
+
listBuckets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
67
67
|
}
|
|
@@ -2,16 +2,20 @@ import * as runtime from "../runtime.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
BucketInformationFromJSON,
|
|
4
4
|
JsonValueBooleanFromJSON
|
|
5
|
-
} from "../models";
|
|
5
|
+
} from "../models/index.mjs";
|
|
6
6
|
export class BucketApi extends runtime.BaseAPI {
|
|
7
|
+
/**
|
|
8
|
+
* Delete all Files in Bucket
|
|
9
|
+
* Clear Bucket
|
|
10
|
+
*/
|
|
7
11
|
async clearBucketRaw(requestParameters, initOverrides) {
|
|
8
12
|
if (requestParameters.bucketName === null || requestParameters.bucketName === void 0) {
|
|
9
13
|
throw new runtime.RequiredError("bucketName", "Required parameter requestParameters.bucketName was null or undefined when calling clearBucket.");
|
|
10
14
|
}
|
|
11
15
|
const queryParameters = {};
|
|
12
16
|
const headerParameters = {};
|
|
13
|
-
if (this.configuration && this.configuration.
|
|
14
|
-
headerParameters["
|
|
17
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
18
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
15
19
|
}
|
|
16
20
|
if (this.configuration && this.configuration.accessToken) {
|
|
17
21
|
const token = this.configuration.accessToken;
|
|
@@ -20,8 +24,8 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
20
24
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
|
-
if (this.configuration &&
|
|
24
|
-
headerParameters["
|
|
27
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
28
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
25
29
|
}
|
|
26
30
|
const response = await this.request({
|
|
27
31
|
path: `/mongodb/buckets/{bucketName}/clear`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters.bucketName))),
|
|
@@ -31,18 +35,26 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
31
35
|
}, initOverrides);
|
|
32
36
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
33
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Delete all Files in Bucket
|
|
40
|
+
* Clear Bucket
|
|
41
|
+
*/
|
|
34
42
|
async clearBucket(requestParameters, initOverrides) {
|
|
35
43
|
const response = await this.clearBucketRaw(requestParameters, initOverrides);
|
|
36
44
|
return await response.value();
|
|
37
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Delete a given Bucket
|
|
48
|
+
* Delete Bucket
|
|
49
|
+
*/
|
|
38
50
|
async deleteBucketRaw(requestParameters, initOverrides) {
|
|
39
51
|
if (requestParameters.bucketName === null || requestParameters.bucketName === void 0) {
|
|
40
52
|
throw new runtime.RequiredError("bucketName", "Required parameter requestParameters.bucketName was null or undefined when calling deleteBucket.");
|
|
41
53
|
}
|
|
42
54
|
const queryParameters = {};
|
|
43
55
|
const headerParameters = {};
|
|
44
|
-
if (this.configuration && this.configuration.
|
|
45
|
-
headerParameters["
|
|
56
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
57
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
46
58
|
}
|
|
47
59
|
if (this.configuration && this.configuration.accessToken) {
|
|
48
60
|
const token = this.configuration.accessToken;
|
|
@@ -51,8 +63,8 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
51
63
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
52
64
|
}
|
|
53
65
|
}
|
|
54
|
-
if (this.configuration &&
|
|
55
|
-
headerParameters["
|
|
66
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
67
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
56
68
|
}
|
|
57
69
|
const response = await this.request({
|
|
58
70
|
path: `/mongodb/buckets/{bucketName}`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters.bucketName))),
|
|
@@ -62,18 +74,26 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
62
74
|
}, initOverrides);
|
|
63
75
|
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
64
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Delete a given Bucket
|
|
79
|
+
* Delete Bucket
|
|
80
|
+
*/
|
|
65
81
|
async deleteBucket(requestParameters, initOverrides) {
|
|
66
82
|
const response = await this.deleteBucketRaw(requestParameters, initOverrides);
|
|
67
83
|
return await response.value();
|
|
68
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* All Information about a single Bucket
|
|
87
|
+
* Bucket Information
|
|
88
|
+
*/
|
|
69
89
|
async getBucketRaw(requestParameters, initOverrides) {
|
|
70
90
|
if (requestParameters.bucketName === null || requestParameters.bucketName === void 0) {
|
|
71
91
|
throw new runtime.RequiredError("bucketName", "Required parameter requestParameters.bucketName was null or undefined when calling getBucket.");
|
|
72
92
|
}
|
|
73
93
|
const queryParameters = {};
|
|
74
94
|
const headerParameters = {};
|
|
75
|
-
if (this.configuration && this.configuration.
|
|
76
|
-
headerParameters["
|
|
95
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
96
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
77
97
|
}
|
|
78
98
|
if (this.configuration && this.configuration.accessToken) {
|
|
79
99
|
const token = this.configuration.accessToken;
|
|
@@ -82,8 +102,8 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
82
102
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
83
103
|
}
|
|
84
104
|
}
|
|
85
|
-
if (this.configuration &&
|
|
86
|
-
headerParameters["
|
|
105
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
106
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
87
107
|
}
|
|
88
108
|
const response = await this.request({
|
|
89
109
|
path: `/mongodb/buckets/{bucketName}`.replace(`{${"bucketName"}}`, encodeURIComponent(String(requestParameters.bucketName))),
|
|
@@ -93,15 +113,23 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
93
113
|
}, initOverrides);
|
|
94
114
|
return new runtime.JSONApiResponse(response, (jsonValue) => BucketInformationFromJSON(jsonValue));
|
|
95
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* All Information about a single Bucket
|
|
118
|
+
* Bucket Information
|
|
119
|
+
*/
|
|
96
120
|
async getBucket(requestParameters, initOverrides) {
|
|
97
121
|
const response = await this.getBucketRaw(requestParameters, initOverrides);
|
|
98
122
|
return await response.value();
|
|
99
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* List of all Buckets of the default database
|
|
126
|
+
* List of Buckets
|
|
127
|
+
*/
|
|
100
128
|
async listBucketsRaw(initOverrides) {
|
|
101
129
|
const queryParameters = {};
|
|
102
130
|
const headerParameters = {};
|
|
103
|
-
if (this.configuration && this.configuration.
|
|
104
|
-
headerParameters["
|
|
131
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
132
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
105
133
|
}
|
|
106
134
|
if (this.configuration && this.configuration.accessToken) {
|
|
107
135
|
const token = this.configuration.accessToken;
|
|
@@ -110,8 +138,8 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
110
138
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
111
139
|
}
|
|
112
140
|
}
|
|
113
|
-
if (this.configuration &&
|
|
114
|
-
headerParameters["
|
|
141
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
142
|
+
headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
|
|
115
143
|
}
|
|
116
144
|
const response = await this.request({
|
|
117
145
|
path: `/mongodb/buckets`,
|
|
@@ -121,6 +149,10 @@ export class BucketApi extends runtime.BaseAPI {
|
|
|
121
149
|
}, initOverrides);
|
|
122
150
|
return new runtime.JSONApiResponse(response);
|
|
123
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* List of all Buckets of the default database
|
|
154
|
+
* List of Buckets
|
|
155
|
+
*/
|
|
124
156
|
async listBuckets(initOverrides) {
|
|
125
157
|
const response = await this.listBucketsRaw(initOverrides);
|
|
126
158
|
return await response.value();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-server
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.4.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CollectionStatus, JsonSchema, JsonValueBoolean, MongoAggregateRequest, SchemaAnalysis } from '../models';
|
|
13
|
+
import type { CollectionStatus, JsonSchema, JsonValueBoolean, MongoAggregateRequest, SchemaAnalysis } from '../models';
|
|
14
14
|
export interface AggregateRequest {
|
|
15
15
|
collectionName: string;
|
|
16
16
|
mongoAggregateRequest: MongoAggregateRequest;
|
|
@@ -58,104 +58,104 @@ export declare class CollectionApi extends runtime.BaseAPI {
|
|
|
58
58
|
* Aggregate in a given Collection
|
|
59
59
|
* Aggregate in Collection
|
|
60
60
|
*/
|
|
61
|
-
aggregateRaw(requestParameters: AggregateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<{
|
|
61
|
+
aggregateRaw(requestParameters: AggregateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<{
|
|
62
62
|
[key: string]: string;
|
|
63
63
|
}>>>;
|
|
64
64
|
/**
|
|
65
65
|
* Aggregate in a given Collection
|
|
66
66
|
* Aggregate in Collection
|
|
67
67
|
*/
|
|
68
|
-
aggregate(requestParameters: AggregateRequest, initOverrides?: RequestInit): Promise<Array<{
|
|
68
|
+
aggregate(requestParameters: AggregateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<{
|
|
69
69
|
[key: string]: string;
|
|
70
70
|
}>>;
|
|
71
71
|
/**
|
|
72
72
|
* Delete all Document in Collection
|
|
73
73
|
* Clear Collection
|
|
74
74
|
*/
|
|
75
|
-
clearCollectionRaw(requestParameters: ClearCollectionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
75
|
+
clearCollectionRaw(requestParameters: ClearCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
76
76
|
/**
|
|
77
77
|
* Delete all Document in Collection
|
|
78
78
|
* Clear Collection
|
|
79
79
|
*/
|
|
80
|
-
clearCollection(requestParameters: ClearCollectionRequest, initOverrides?: RequestInit): Promise<JsonValueBoolean>;
|
|
80
|
+
clearCollection(requestParameters: ClearCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
81
81
|
/**
|
|
82
82
|
* Delete a given Collection
|
|
83
83
|
* Delete Collection
|
|
84
84
|
*/
|
|
85
|
-
deleteCollectionRaw(requestParameters: DeleteCollectionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
85
|
+
deleteCollectionRaw(requestParameters: DeleteCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
86
86
|
/**
|
|
87
87
|
* Delete a given Collection
|
|
88
88
|
* Delete Collection
|
|
89
89
|
*/
|
|
90
|
-
deleteCollection(requestParameters: DeleteCollectionRequest, initOverrides?: RequestInit): Promise<JsonValueBoolean>;
|
|
90
|
+
deleteCollection(requestParameters: DeleteCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
91
91
|
/**
|
|
92
92
|
* Distinct for Field in a given Collection
|
|
93
93
|
* Distinct in Collection
|
|
94
94
|
*/
|
|
95
|
-
distinctRaw(requestParameters: DistinctRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
95
|
+
distinctRaw(requestParameters: DistinctRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
96
96
|
/**
|
|
97
97
|
* Distinct for Field in a given Collection
|
|
98
98
|
* Distinct in Collection
|
|
99
99
|
*/
|
|
100
|
-
distinct(requestParameters: DistinctRequest, initOverrides?: RequestInit): Promise<Array<string>>;
|
|
100
|
+
distinct(requestParameters: DistinctRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
101
101
|
/**
|
|
102
102
|
* List the Fields in a given collection
|
|
103
103
|
* Collection Fields
|
|
104
104
|
*/
|
|
105
|
-
getCollectionFieldsRaw(requestParameters: GetCollectionFieldsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
105
|
+
getCollectionFieldsRaw(requestParameters: GetCollectionFieldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
106
106
|
/**
|
|
107
107
|
* List the Fields in a given collection
|
|
108
108
|
* Collection Fields
|
|
109
109
|
*/
|
|
110
|
-
getCollectionFields(requestParameters: GetCollectionFieldsRequest, initOverrides?: RequestInit): Promise<Array<string>>;
|
|
110
|
+
getCollectionFields(requestParameters: GetCollectionFieldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
111
111
|
/**
|
|
112
112
|
* All Information about a single Collection
|
|
113
113
|
* Collection Information
|
|
114
114
|
*/
|
|
115
|
-
getCollectionInformationRaw(requestParameters: GetCollectionInformationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CollectionStatus>>;
|
|
115
|
+
getCollectionInformationRaw(requestParameters: GetCollectionInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectionStatus>>;
|
|
116
116
|
/**
|
|
117
117
|
* All Information about a single Collection
|
|
118
118
|
* Collection Information
|
|
119
119
|
*/
|
|
120
|
-
getCollectionInformation(requestParameters: GetCollectionInformationRequest, initOverrides?: RequestInit): Promise<CollectionStatus>;
|
|
120
|
+
getCollectionInformation(requestParameters: GetCollectionInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectionStatus>;
|
|
121
121
|
/**
|
|
122
122
|
* List the Fields in a given collection
|
|
123
123
|
* Collection Fields
|
|
124
124
|
*/
|
|
125
|
-
getJsonSchemaRaw(requestParameters: GetJsonSchemaRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JsonSchema>>;
|
|
125
|
+
getJsonSchemaRaw(requestParameters: GetJsonSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonSchema>>;
|
|
126
126
|
/**
|
|
127
127
|
* List the Fields in a given collection
|
|
128
128
|
* Collection Fields
|
|
129
129
|
*/
|
|
130
|
-
getJsonSchema(requestParameters: GetJsonSchemaRequest, initOverrides?: RequestInit): Promise<JsonSchema>;
|
|
130
|
+
getJsonSchema(requestParameters: GetJsonSchemaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonSchema>;
|
|
131
131
|
/**
|
|
132
132
|
* List the Fields in a given collection
|
|
133
133
|
* Collection Fields
|
|
134
134
|
*/
|
|
135
|
-
getSchemaAnalysisRaw(requestParameters: GetSchemaAnalysisRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SchemaAnalysis>>;
|
|
135
|
+
getSchemaAnalysisRaw(requestParameters: GetSchemaAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SchemaAnalysis>>;
|
|
136
136
|
/**
|
|
137
137
|
* List the Fields in a given collection
|
|
138
138
|
* Collection Fields
|
|
139
139
|
*/
|
|
140
|
-
getSchemaAnalysis(requestParameters: GetSchemaAnalysisRequest, initOverrides?: RequestInit): Promise<SchemaAnalysis>;
|
|
140
|
+
getSchemaAnalysis(requestParameters: GetSchemaAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SchemaAnalysis>;
|
|
141
141
|
/**
|
|
142
142
|
* List of all Collections of the default database
|
|
143
143
|
* List of Collections
|
|
144
144
|
*/
|
|
145
|
-
listCollectionsRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
145
|
+
listCollectionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
146
146
|
/**
|
|
147
147
|
* List of all Collections of the default database
|
|
148
148
|
* List of Collections
|
|
149
149
|
*/
|
|
150
|
-
listCollections(initOverrides?: RequestInit): Promise<Array<string>>;
|
|
150
|
+
listCollections(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
151
151
|
/**
|
|
152
152
|
* List of all Collections of the given database
|
|
153
153
|
* List of Collections
|
|
154
154
|
*/
|
|
155
|
-
listCollectionsByDatabaseRaw(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<string>>>;
|
|
155
|
+
listCollectionsByDatabaseRaw(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
156
156
|
/**
|
|
157
157
|
* List of all Collections of the given database
|
|
158
158
|
* List of Collections
|
|
159
159
|
*/
|
|
160
|
-
listCollectionsByDatabase(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit): Promise<Array<string>>;
|
|
160
|
+
listCollectionsByDatabase(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
161
161
|
}
|