@sfxcode/nuxt-mongocamp-server 1.0.4 → 1.0.5
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.ts +9 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +553 -4
- package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
- package/dist/runtime/api/apis/AdminApi.mjs +509 -0
- package/dist/runtime/api/apis/ApplicationApi.d.ts +65 -0
- package/dist/runtime/api/apis/ApplicationApi.mjs +164 -0
- package/dist/runtime/api/apis/AuthApi.d.ts +104 -0
- package/dist/runtime/api/apis/AuthApi.mjs +296 -0
- package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
- package/dist/runtime/api/apis/BucketApi.mjs +160 -0
- package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
- package/dist/runtime/api/apis/CollectionApi.mjs +435 -0
- package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
- package/dist/runtime/api/apis/DatabaseApi.mjs +196 -0
- package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
- package/dist/runtime/api/apis/DocumentApi.mjs +465 -0
- package/dist/runtime/api/apis/FileApi.d.ts +125 -0
- package/dist/runtime/api/apis/FileApi.mjs +355 -0
- package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
- package/dist/runtime/api/apis/IndexApi.mjs +367 -0
- package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
- package/dist/runtime/api/apis/InformationApi.mjs +29 -0
- package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
- package/dist/runtime/api/apis/JobsApi.mjs +252 -0
- package/dist/runtime/api/apis/index.d.ts +11 -0
- package/dist/runtime/api/apis/index.mjs +11 -0
- package/dist/runtime/api/index.d.ts +3 -0
- package/dist/runtime/api/index.mjs +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +49 -0
- package/dist/runtime/api/models/BucketInformation.mjs +36 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +107 -0
- package/dist/runtime/api/models/CollectionStatus.mjs +63 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +57 -0
- package/dist/runtime/api/models/DatabaseInfo.mjs +39 -0
- package/dist/runtime/api/models/DeleteResponse.d.ts +37 -0
- package/dist/runtime/api/models/DeleteResponse.mjs +30 -0
- package/dist/runtime/api/models/ErrorDescription.d.ts +43 -0
- package/dist/runtime/api/models/ErrorDescription.mjs +33 -0
- package/dist/runtime/api/models/FileInformation.d.ts +63 -0
- package/dist/runtime/api/models/FileInformation.mjs +42 -0
- package/dist/runtime/api/models/Grant.d.ts +55 -0
- package/dist/runtime/api/models/Grant.mjs +39 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +40 -0
- package/dist/runtime/api/models/IndexCreateRequest.mjs +34 -0
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexCreateResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexDropResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexDropResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +73 -0
- package/dist/runtime/api/models/IndexOptionsRequest.mjs +41 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +37 -0
- package/dist/runtime/api/models/InsertResponse.mjs +30 -0
- package/dist/runtime/api/models/JobConfig.d.ts +61 -0
- package/dist/runtime/api/models/JobConfig.mjs +42 -0
- package/dist/runtime/api/models/JobInformation.d.ts +79 -0
- package/dist/runtime/api/models/JobInformation.mjs +49 -0
- package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
- package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultString.mjs +22 -0
- package/dist/runtime/api/models/JsonSchema.d.ts +46 -0
- package/dist/runtime/api/models/JsonSchema.mjs +38 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +59 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.mjs +39 -0
- package/dist/runtime/api/models/JsonValueAny.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueAny.mjs +27 -0
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueBoolean.mjs +27 -0
- package/dist/runtime/api/models/JsonValueString.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueString.mjs +27 -0
- package/dist/runtime/api/models/Login.d.ts +37 -0
- package/dist/runtime/api/models/Login.mjs +30 -0
- package/dist/runtime/api/models/LoginResult.d.ts +44 -0
- package/dist/runtime/api/models/LoginResult.mjs +37 -0
- package/dist/runtime/api/models/Measurement.d.ts +33 -0
- package/dist/runtime/api/models/Measurement.mjs +24 -0
- package/dist/runtime/api/models/Metric.d.ts +52 -0
- package/dist/runtime/api/models/Metric.mjs +35 -0
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +38 -0
- package/dist/runtime/api/models/MongoAggregateRequest.mjs +34 -0
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +55 -0
- package/dist/runtime/api/models/MongoCampConfiguration.mjs +39 -0
- package/dist/runtime/api/models/MongoFindRequest.d.ts +49 -0
- package/dist/runtime/api/models/MongoFindRequest.mjs +33 -0
- package/dist/runtime/api/models/MongoIndex.d.ts +103 -0
- package/dist/runtime/api/models/MongoIndex.mjs +60 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +31 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.mjs +27 -0
- package/dist/runtime/api/models/PipelineStage.d.ts +37 -0
- package/dist/runtime/api/models/PipelineStage.mjs +30 -0
- package/dist/runtime/api/models/Role.d.ts +44 -0
- package/dist/runtime/api/models/Role.mjs +37 -0
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +50 -0
- package/dist/runtime/api/models/SchemaAnalysis.mjs +40 -0
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +62 -0
- package/dist/runtime/api/models/SchemaAnalysisField.mjs +45 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +43 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +33 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +51 -0
- package/dist/runtime/api/models/SettingsResponse.mjs +34 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +39 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +29 -0
- package/dist/runtime/api/models/UpdateRequest.d.ts +41 -0
- package/dist/runtime/api/models/UpdateRequest.mjs +30 -0
- package/dist/runtime/api/models/UpdateResponse.d.ts +49 -0
- package/dist/runtime/api/models/UpdateResponse.mjs +36 -0
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +38 -0
- package/dist/runtime/api/models/UpdateRoleRequest.mjs +34 -0
- package/dist/runtime/api/models/UserInformation.d.ts +49 -0
- package/dist/runtime/api/models/UserInformation.mjs +35 -0
- package/dist/runtime/api/models/UserProfile.d.ts +56 -0
- package/dist/runtime/api/models/UserProfile.mjs +41 -0
- package/dist/runtime/api/models/Version.d.ts +43 -0
- package/dist/runtime/api/models/Version.mjs +33 -0
- package/dist/runtime/api/models/index.d.ts +39 -0
- package/dist/runtime/api/models/index.mjs +39 -0
- package/dist/runtime/api/runtime.d.ts +182 -0
- package/dist/runtime/api/runtime.mjs +281 -0
- package/dist/runtime/composables/mongocampApi.d.ts +14 -0
- package/dist/runtime/composables/mongocampApi.mjs +45 -0
- package/dist/runtime/composables/mongocampAuth.d.ts +8 -0
- package/dist/runtime/composables/mongocampAuth.mjs +28 -0
- package/dist/runtime/composables/mongocampSearch.d.ts +11 -0
- package/dist/runtime/composables/mongocampSearch.mjs +20 -0
- package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
- package/dist/runtime/composables/mongocampStorage.mjs +5 -0
- package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
- package/dist/runtime/composables/mongocampUrl.mjs +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +3 -0
- package/dist/runtime/composables/mongocampUser.mjs +4 -0
- package/dist/types.d.ts +2 -8
- package/package.json +4 -3
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function instanceOfDeleteResponse(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "wasAcknowledged" in value;
|
|
4
|
+
isInstance = isInstance && "deletedCount" in value;
|
|
5
|
+
return isInstance;
|
|
6
|
+
}
|
|
7
|
+
export function DeleteResponseFromJSON(json) {
|
|
8
|
+
return DeleteResponseFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function DeleteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json === void 0 || json === null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"wasAcknowledged": json["wasAcknowledged"],
|
|
16
|
+
"deletedCount": json["deletedCount"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function DeleteResponseToJSON(value) {
|
|
20
|
+
if (value === void 0) {
|
|
21
|
+
return void 0;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"wasAcknowledged": value.wasAcknowledged,
|
|
28
|
+
"deletedCount": value.deletedCount
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ErrorDescription
|
|
16
|
+
*/
|
|
17
|
+
export interface ErrorDescription {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ErrorDescription
|
|
22
|
+
*/
|
|
23
|
+
code: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ErrorDescription
|
|
28
|
+
*/
|
|
29
|
+
msg: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ErrorDescription
|
|
34
|
+
*/
|
|
35
|
+
additionalInfo: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ErrorDescription interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfErrorDescription(value: object): boolean;
|
|
41
|
+
export declare function ErrorDescriptionFromJSON(json: any): ErrorDescription;
|
|
42
|
+
export declare function ErrorDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDescription;
|
|
43
|
+
export declare function ErrorDescriptionToJSON(value?: ErrorDescription | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function instanceOfErrorDescription(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "code" in value;
|
|
4
|
+
isInstance = isInstance && "msg" in value;
|
|
5
|
+
isInstance = isInstance && "additionalInfo" in value;
|
|
6
|
+
return isInstance;
|
|
7
|
+
}
|
|
8
|
+
export function ErrorDescriptionFromJSON(json) {
|
|
9
|
+
return ErrorDescriptionFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function ErrorDescriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json === void 0 || json === null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"code": json["code"],
|
|
17
|
+
"msg": json["msg"],
|
|
18
|
+
"additionalInfo": json["additionalInfo"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function ErrorDescriptionToJSON(value) {
|
|
22
|
+
if (value === void 0) {
|
|
23
|
+
return void 0;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
"code": value.code,
|
|
30
|
+
"msg": value.msg,
|
|
31
|
+
"additionalInfo": value.additionalInfo
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FileInformation
|
|
16
|
+
*/
|
|
17
|
+
export interface FileInformation {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FileInformation
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FileInformation
|
|
28
|
+
*/
|
|
29
|
+
filename: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof FileInformation
|
|
34
|
+
*/
|
|
35
|
+
length: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof FileInformation
|
|
40
|
+
*/
|
|
41
|
+
chunkSize: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof FileInformation
|
|
46
|
+
*/
|
|
47
|
+
uploadDate: Date;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {{ [key: string]: string; }}
|
|
51
|
+
* @memberof FileInformation
|
|
52
|
+
*/
|
|
53
|
+
metadata: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the FileInformation interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfFileInformation(value: object): boolean;
|
|
61
|
+
export declare function FileInformationFromJSON(json: any): FileInformation;
|
|
62
|
+
export declare function FileInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInformation;
|
|
63
|
+
export declare function FileInformationToJSON(value?: FileInformation | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export function instanceOfFileInformation(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "id" in value;
|
|
4
|
+
isInstance = isInstance && "filename" in value;
|
|
5
|
+
isInstance = isInstance && "length" in value;
|
|
6
|
+
isInstance = isInstance && "chunkSize" in value;
|
|
7
|
+
isInstance = isInstance && "uploadDate" in value;
|
|
8
|
+
isInstance = isInstance && "metadata" in value;
|
|
9
|
+
return isInstance;
|
|
10
|
+
}
|
|
11
|
+
export function FileInformationFromJSON(json) {
|
|
12
|
+
return FileInformationFromJSONTyped(json, false);
|
|
13
|
+
}
|
|
14
|
+
export function FileInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if (json === void 0 || json === null) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
"id": json["_id"],
|
|
20
|
+
"filename": json["filename"],
|
|
21
|
+
"length": json["length"],
|
|
22
|
+
"chunkSize": json["chunkSize"],
|
|
23
|
+
"uploadDate": new Date(json["uploadDate"]),
|
|
24
|
+
"metadata": json["metadata"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function FileInformationToJSON(value) {
|
|
28
|
+
if (value === void 0) {
|
|
29
|
+
return void 0;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
"_id": value.id,
|
|
36
|
+
"filename": value.filename,
|
|
37
|
+
"length": value.length,
|
|
38
|
+
"chunkSize": value.chunkSize,
|
|
39
|
+
"uploadDate": value.uploadDate.toISOString(),
|
|
40
|
+
"metadata": value.metadata
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Grant
|
|
16
|
+
*/
|
|
17
|
+
export interface Grant {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Grant
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof Grant
|
|
28
|
+
*/
|
|
29
|
+
read: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof Grant
|
|
34
|
+
*/
|
|
35
|
+
write: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof Grant
|
|
40
|
+
*/
|
|
41
|
+
administrate: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Grant
|
|
46
|
+
*/
|
|
47
|
+
grantType: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the Grant interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGrant(value: object): boolean;
|
|
53
|
+
export declare function GrantFromJSON(json: any): Grant;
|
|
54
|
+
export declare function GrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Grant;
|
|
55
|
+
export declare function GrantToJSON(value?: Grant | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export function instanceOfGrant(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "name" in value;
|
|
4
|
+
isInstance = isInstance && "read" in value;
|
|
5
|
+
isInstance = isInstance && "write" in value;
|
|
6
|
+
isInstance = isInstance && "administrate" in value;
|
|
7
|
+
isInstance = isInstance && "grantType" in value;
|
|
8
|
+
return isInstance;
|
|
9
|
+
}
|
|
10
|
+
export function GrantFromJSON(json) {
|
|
11
|
+
return GrantFromJSONTyped(json, false);
|
|
12
|
+
}
|
|
13
|
+
export function GrantFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if (json === void 0 || json === null) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
"name": json["name"],
|
|
19
|
+
"read": json["read"],
|
|
20
|
+
"write": json["write"],
|
|
21
|
+
"administrate": json["administrate"],
|
|
22
|
+
"grantType": json["grantType"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function GrantToJSON(value) {
|
|
26
|
+
if (value === void 0) {
|
|
27
|
+
return void 0;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
"name": value.name,
|
|
34
|
+
"read": value.read,
|
|
35
|
+
"write": value.write,
|
|
36
|
+
"administrate": value.administrate,
|
|
37
|
+
"grantType": value.grantType
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IndexOptionsRequest } from './IndexOptionsRequest';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IndexCreateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface IndexCreateRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {{ [key: string]: number; }}
|
|
22
|
+
* @memberof IndexCreateRequest
|
|
23
|
+
*/
|
|
24
|
+
keys: {
|
|
25
|
+
[key: string]: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {IndexOptionsRequest}
|
|
30
|
+
* @memberof IndexCreateRequest
|
|
31
|
+
*/
|
|
32
|
+
indexOptionsRequest?: IndexOptionsRequest;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the IndexCreateRequest interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfIndexCreateRequest(value: object): boolean;
|
|
38
|
+
export declare function IndexCreateRequestFromJSON(json: any): IndexCreateRequest;
|
|
39
|
+
export declare function IndexCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateRequest;
|
|
40
|
+
export declare function IndexCreateRequestToJSON(value?: IndexCreateRequest | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
import {
|
|
3
|
+
IndexOptionsRequestFromJSON,
|
|
4
|
+
IndexOptionsRequestToJSON
|
|
5
|
+
} from "./IndexOptionsRequest.mjs";
|
|
6
|
+
export function instanceOfIndexCreateRequest(value) {
|
|
7
|
+
let isInstance = true;
|
|
8
|
+
isInstance = isInstance && "keys" in value;
|
|
9
|
+
return isInstance;
|
|
10
|
+
}
|
|
11
|
+
export function IndexCreateRequestFromJSON(json) {
|
|
12
|
+
return IndexCreateRequestFromJSONTyped(json, false);
|
|
13
|
+
}
|
|
14
|
+
export function IndexCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if (json === void 0 || json === null) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
"keys": json["keys"],
|
|
20
|
+
"indexOptionsRequest": !exists(json, "indexOptionsRequest") ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"])
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function IndexCreateRequestToJSON(value) {
|
|
24
|
+
if (value === void 0) {
|
|
25
|
+
return void 0;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
"keys": value.keys,
|
|
32
|
+
"indexOptionsRequest": IndexOptionsRequestToJSON(value.indexOptionsRequest)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IndexCreateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexCreateResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexCreateResponse
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the IndexCreateResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfIndexCreateResponse(value: object): boolean;
|
|
29
|
+
export declare function IndexCreateResponseFromJSON(json: any): IndexCreateResponse;
|
|
30
|
+
export declare function IndexCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateResponse;
|
|
31
|
+
export declare function IndexCreateResponseToJSON(value?: IndexCreateResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export function instanceOfIndexCreateResponse(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "name" in value;
|
|
4
|
+
return isInstance;
|
|
5
|
+
}
|
|
6
|
+
export function IndexCreateResponseFromJSON(json) {
|
|
7
|
+
return IndexCreateResponseFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function IndexCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"name": json["name"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function IndexCreateResponseToJSON(value) {
|
|
18
|
+
if (value === void 0) {
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
"name": value.name
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IndexDropResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexDropResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof IndexDropResponse
|
|
22
|
+
*/
|
|
23
|
+
dropped: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the IndexDropResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfIndexDropResponse(value: object): boolean;
|
|
29
|
+
export declare function IndexDropResponseFromJSON(json: any): IndexDropResponse;
|
|
30
|
+
export declare function IndexDropResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDropResponse;
|
|
31
|
+
export declare function IndexDropResponseToJSON(value?: IndexDropResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export function instanceOfIndexDropResponse(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "dropped" in value;
|
|
4
|
+
return isInstance;
|
|
5
|
+
}
|
|
6
|
+
export function IndexDropResponseFromJSON(json) {
|
|
7
|
+
return IndexDropResponseFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function IndexDropResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"dropped": json["dropped"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function IndexDropResponseToJSON(value) {
|
|
18
|
+
if (value === void 0) {
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
"dropped": value.dropped
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IndexOptionsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexOptionsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexOptionsRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof IndexOptionsRequest
|
|
28
|
+
*/
|
|
29
|
+
background?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IndexOptionsRequest
|
|
34
|
+
*/
|
|
35
|
+
defaultLanguage?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexOptionsRequest
|
|
40
|
+
*/
|
|
41
|
+
textVersion?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof IndexOptionsRequest
|
|
46
|
+
*/
|
|
47
|
+
expireAfter?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof IndexOptionsRequest
|
|
52
|
+
*/
|
|
53
|
+
unique?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof IndexOptionsRequest
|
|
58
|
+
*/
|
|
59
|
+
max?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof IndexOptionsRequest
|
|
64
|
+
*/
|
|
65
|
+
min?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the IndexOptionsRequest interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfIndexOptionsRequest(value: object): boolean;
|
|
71
|
+
export declare function IndexOptionsRequestFromJSON(json: any): IndexOptionsRequest;
|
|
72
|
+
export declare function IndexOptionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOptionsRequest;
|
|
73
|
+
export declare function IndexOptionsRequestToJSON(value?: IndexOptionsRequest | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
export function instanceOfIndexOptionsRequest(value) {
|
|
3
|
+
let isInstance = true;
|
|
4
|
+
return isInstance;
|
|
5
|
+
}
|
|
6
|
+
export function IndexOptionsRequestFromJSON(json) {
|
|
7
|
+
return IndexOptionsRequestFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function IndexOptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"name": !exists(json, "name") ? void 0 : json["name"],
|
|
15
|
+
"background": !exists(json, "background") ? void 0 : json["background"],
|
|
16
|
+
"defaultLanguage": !exists(json, "defaultLanguage") ? void 0 : json["defaultLanguage"],
|
|
17
|
+
"textVersion": !exists(json, "textVersion") ? void 0 : json["textVersion"],
|
|
18
|
+
"expireAfter": !exists(json, "expireAfter") ? void 0 : json["expireAfter"],
|
|
19
|
+
"unique": !exists(json, "unique") ? void 0 : json["unique"],
|
|
20
|
+
"max": !exists(json, "max") ? void 0 : json["max"],
|
|
21
|
+
"min": !exists(json, "min") ? void 0 : json["min"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export function IndexOptionsRequestToJSON(value) {
|
|
25
|
+
if (value === void 0) {
|
|
26
|
+
return void 0;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
"name": value.name,
|
|
33
|
+
"background": value.background,
|
|
34
|
+
"defaultLanguage": value.defaultLanguage,
|
|
35
|
+
"textVersion": value.textVersion,
|
|
36
|
+
"expireAfter": value.expireAfter,
|
|
37
|
+
"unique": value.unique,
|
|
38
|
+
"max": value.max,
|
|
39
|
+
"min": value.min
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InsertResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface InsertResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InsertResponse
|
|
22
|
+
*/
|
|
23
|
+
wasAcknowledged: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof InsertResponse
|
|
28
|
+
*/
|
|
29
|
+
insertedIds?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the InsertResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfInsertResponse(value: object): boolean;
|
|
35
|
+
export declare function InsertResponseFromJSON(json: any): InsertResponse;
|
|
36
|
+
export declare function InsertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertResponse;
|
|
37
|
+
export declare function InsertResponseToJSON(value?: InsertResponse | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
export function instanceOfInsertResponse(value) {
|
|
3
|
+
let isInstance = true;
|
|
4
|
+
isInstance = isInstance && "wasAcknowledged" in value;
|
|
5
|
+
return isInstance;
|
|
6
|
+
}
|
|
7
|
+
export function InsertResponseFromJSON(json) {
|
|
8
|
+
return InsertResponseFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json === void 0 || json === null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"wasAcknowledged": json["wasAcknowledged"],
|
|
16
|
+
"insertedIds": !exists(json, "insertedIds") ? void 0 : json["insertedIds"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function InsertResponseToJSON(value) {
|
|
20
|
+
if (value === void 0) {
|
|
21
|
+
return void 0;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"wasAcknowledged": value.wasAcknowledged,
|
|
28
|
+
"insertedIds": value.insertedIds
|
|
29
|
+
};
|
|
30
|
+
}
|