@sfxcode/nuxt-mongocamp-server 1.6.3 → 1.8.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/README.md +8 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +30 -0
- package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
- package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
- package/dist/runtime/api/apis/AuthApi.d.ts +19 -2
- package/dist/runtime/api/apis/AuthApi.js +48 -0
- package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
- package/dist/runtime/api/apis/CollectionApi.d.ts +78 -4
- package/dist/runtime/api/apis/CollectionApi.js +236 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
- package/dist/runtime/api/apis/DocumentApi.d.ts +92 -2
- package/dist/runtime/api/apis/DocumentApi.js +275 -0
- package/dist/runtime/api/apis/FileApi.d.ts +1 -1
- package/dist/runtime/api/apis/IndexApi.d.ts +36 -2
- package/dist/runtime/api/apis/IndexApi.js +104 -0
- package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
- package/dist/runtime/api/apis/SystemApi.d.ts +1 -1
- package/dist/runtime/api/docs/AuthApi.md +78 -0
- package/dist/runtime/api/docs/CollectionApi.md +335 -2
- package/dist/runtime/api/docs/CollectionPermission.md +40 -0
- package/dist/runtime/api/docs/CollectionSummary.md +50 -0
- package/dist/runtime/api/docs/CopyRequest.md +40 -0
- package/dist/runtime/api/docs/CopyResponse.md +38 -0
- package/dist/runtime/api/docs/CountResponse.md +34 -0
- package/dist/runtime/api/docs/DocumentApi.md +377 -8
- package/dist/runtime/api/docs/FieldInfo.md +36 -0
- package/dist/runtime/api/docs/FieldTypeCount.md +36 -0
- package/dist/runtime/api/docs/ImportResponse.md +42 -0
- package/dist/runtime/api/docs/IndexApi.md +156 -0
- package/dist/runtime/api/docs/IndexCreateRequest.md +2 -0
- package/dist/runtime/api/docs/IndexInfo.md +54 -0
- package/dist/runtime/api/docs/IndexKey.md +36 -0
- package/dist/runtime/api/docs/IndexOptionsRequest.md +10 -0
- package/dist/runtime/api/docs/IndexUsage.md +40 -0
- package/dist/runtime/api/docs/InsertError.md +38 -0
- package/dist/runtime/api/docs/InsertResponse.md +4 -0
- package/dist/runtime/api/docs/RenameRequest.md +36 -0
- package/dist/runtime/api/docs/RenameResponse.md +34 -0
- package/dist/runtime/api/docs/SearchRequest.md +38 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -1
- package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
- package/dist/runtime/api/models/CollectionPermission.js +35 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
- package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
- package/dist/runtime/api/models/CollectionSummary.js +50 -0
- package/dist/runtime/api/models/CopyRequest.d.ts +50 -0
- package/dist/runtime/api/models/CopyRequest.js +32 -0
- package/dist/runtime/api/models/CopyResponse.d.ts +44 -0
- package/dist/runtime/api/models/CopyResponse.js +32 -0
- package/dist/runtime/api/models/CountResponse.d.ts +32 -0
- package/dist/runtime/api/models/CountResponse.js +26 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/FieldInfo.d.ts +39 -0
- package/dist/runtime/api/models/FieldInfo.js +32 -0
- package/dist/runtime/api/models/FieldTypeCount.d.ts +38 -0
- package/dist/runtime/api/models/FieldTypeCount.js +29 -0
- package/dist/runtime/api/models/FileInformation.d.ts +1 -1
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/ImportResponse.d.ts +57 -0
- package/dist/runtime/api/models/ImportResponse.js +41 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +9 -2
- package/dist/runtime/api/models/IndexCreateRequest.js +9 -4
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexInfo.d.ts +99 -0
- package/dist/runtime/api/models/IndexInfo.js +54 -0
- package/dist/runtime/api/models/IndexKey.d.ts +38 -0
- package/dist/runtime/api/models/IndexKey.js +29 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +37 -1
- package/dist/runtime/api/models/IndexOptionsRequest.js +12 -2
- package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
- package/dist/runtime/api/models/IndexUsage.js +35 -0
- package/dist/runtime/api/models/InsertError.d.ts +44 -0
- package/dist/runtime/api/models/InsertError.js +32 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
- package/dist/runtime/api/models/InsertResponse.js +10 -2
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/LoginResult.d.ts +1 -1
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
- package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/RenameRequest.d.ts +38 -0
- package/dist/runtime/api/models/RenameRequest.js +28 -0
- package/dist/runtime/api/models/RenameResponse.d.ts +32 -0
- package/dist/runtime/api/models/RenameResponse.js +26 -0
- package/dist/runtime/api/models/Role.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/SearchRequest.d.ts +44 -0
- package/dist/runtime/api/models/SearchRequest.js +29 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/UserProfile.d.ts +1 -1
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/models/index.d.ts +15 -0
- package/dist/runtime/api/models/index.js +15 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 CollectionSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface CollectionSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CollectionSummary
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CollectionSummary
|
|
28
|
+
*/
|
|
29
|
+
collectionType: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CollectionSummary
|
|
34
|
+
*/
|
|
35
|
+
count: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CollectionSummary
|
|
40
|
+
*/
|
|
41
|
+
size: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CollectionSummary
|
|
46
|
+
*/
|
|
47
|
+
storageSize: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CollectionSummary
|
|
52
|
+
*/
|
|
53
|
+
avgObjSize: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CollectionSummary
|
|
58
|
+
*/
|
|
59
|
+
nindexes: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CollectionSummary
|
|
64
|
+
*/
|
|
65
|
+
totalIndexSize: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof CollectionSummary
|
|
70
|
+
*/
|
|
71
|
+
available: boolean;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the CollectionSummary interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfCollectionSummary(value: object): value is CollectionSummary;
|
|
77
|
+
export declare function CollectionSummaryFromJSON(json: any): CollectionSummary;
|
|
78
|
+
export declare function CollectionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionSummary;
|
|
79
|
+
export declare function CollectionSummaryToJSON(json: any): CollectionSummary;
|
|
80
|
+
export declare function CollectionSummaryToJSONTyped(value?: CollectionSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export function instanceOfCollectionSummary(value) {
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
|
|
4
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
5
|
+
if (!("size" in value) || value["size"] === void 0) return false;
|
|
6
|
+
if (!("storageSize" in value) || value["storageSize"] === void 0) return false;
|
|
7
|
+
if (!("avgObjSize" in value) || value["avgObjSize"] === void 0) return false;
|
|
8
|
+
if (!("nindexes" in value) || value["nindexes"] === void 0) return false;
|
|
9
|
+
if (!("totalIndexSize" in value) || value["totalIndexSize"] === void 0) return false;
|
|
10
|
+
if (!("available" in value) || value["available"] === void 0) return false;
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
export function CollectionSummaryFromJSON(json) {
|
|
14
|
+
return CollectionSummaryFromJSONTyped(json, false);
|
|
15
|
+
}
|
|
16
|
+
export function CollectionSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if (json == null) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
"name": json["name"],
|
|
22
|
+
"collectionType": json["collectionType"],
|
|
23
|
+
"count": json["count"],
|
|
24
|
+
"size": json["size"],
|
|
25
|
+
"storageSize": json["storageSize"],
|
|
26
|
+
"avgObjSize": json["avgObjSize"],
|
|
27
|
+
"nindexes": json["nindexes"],
|
|
28
|
+
"totalIndexSize": json["totalIndexSize"],
|
|
29
|
+
"available": json["available"]
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function CollectionSummaryToJSON(json) {
|
|
33
|
+
return CollectionSummaryToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function CollectionSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
"name": value["name"],
|
|
41
|
+
"collectionType": value["collectionType"],
|
|
42
|
+
"count": value["count"],
|
|
43
|
+
"size": value["size"],
|
|
44
|
+
"storageSize": value["storageSize"],
|
|
45
|
+
"avgObjSize": value["avgObjSize"],
|
|
46
|
+
"nindexes": value["nindexes"],
|
|
47
|
+
"totalIndexSize": value["totalIndexSize"],
|
|
48
|
+
"available": value["available"]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 CopyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CopyRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CopyRequest
|
|
22
|
+
*/
|
|
23
|
+
target: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CopyRequest
|
|
28
|
+
*/
|
|
29
|
+
filter?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CopyRequest
|
|
34
|
+
*/
|
|
35
|
+
withIndexes?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CopyRequest
|
|
40
|
+
*/
|
|
41
|
+
dropTarget?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CopyRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCopyRequest(value: object): value is CopyRequest;
|
|
47
|
+
export declare function CopyRequestFromJSON(json: any): CopyRequest;
|
|
48
|
+
export declare function CopyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CopyRequest;
|
|
49
|
+
export declare function CopyRequestToJSON(json: any): CopyRequest;
|
|
50
|
+
export declare function CopyRequestToJSONTyped(value?: CopyRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function instanceOfCopyRequest(value) {
|
|
2
|
+
if (!("target" in value) || value["target"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function CopyRequestFromJSON(json) {
|
|
6
|
+
return CopyRequestFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function CopyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"target": json["target"],
|
|
14
|
+
"filter": json["filter"] == null ? void 0 : json["filter"],
|
|
15
|
+
"withIndexes": json["withIndexes"] == null ? void 0 : json["withIndexes"],
|
|
16
|
+
"dropTarget": json["dropTarget"] == null ? void 0 : json["dropTarget"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function CopyRequestToJSON(json) {
|
|
20
|
+
return CopyRequestToJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
export function CopyRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
23
|
+
if (value == null) {
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"target": value["target"],
|
|
28
|
+
"filter": value["filter"],
|
|
29
|
+
"withIndexes": value["withIndexes"],
|
|
30
|
+
"dropTarget": value["dropTarget"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 CopyResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CopyResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CopyResponse
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CopyResponse
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CopyResponse
|
|
34
|
+
*/
|
|
35
|
+
indexes: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CopyResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCopyResponse(value: object): value is CopyResponse;
|
|
41
|
+
export declare function CopyResponseFromJSON(json: any): CopyResponse;
|
|
42
|
+
export declare function CopyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CopyResponse;
|
|
43
|
+
export declare function CopyResponseToJSON(json: any): CopyResponse;
|
|
44
|
+
export declare function CopyResponseToJSONTyped(value?: CopyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function instanceOfCopyResponse(value) {
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
4
|
+
if (!("indexes" in value) || value["indexes"] === void 0) return false;
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
export function CopyResponseFromJSON(json) {
|
|
8
|
+
return CopyResponseFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function CopyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json == null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"name": json["name"],
|
|
16
|
+
"count": json["count"],
|
|
17
|
+
"indexes": json["indexes"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function CopyResponseToJSON(json) {
|
|
21
|
+
return CopyResponseToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CopyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
24
|
+
if (value == null) {
|
|
25
|
+
return value;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
"name": value["name"],
|
|
29
|
+
"count": value["count"],
|
|
30
|
+
"indexes": value["indexes"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 CountResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CountResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CountResponse
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CountResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCountResponse(value: object): value is CountResponse;
|
|
29
|
+
export declare function CountResponseFromJSON(json: any): CountResponse;
|
|
30
|
+
export declare function CountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountResponse;
|
|
31
|
+
export declare function CountResponseToJSON(json: any): CountResponse;
|
|
32
|
+
export declare function CountResponseToJSONTyped(value?: CountResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function instanceOfCountResponse(value) {
|
|
2
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function CountResponseFromJSON(json) {
|
|
6
|
+
return CountResponseFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function CountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"count": json["count"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function CountResponseToJSON(json) {
|
|
17
|
+
return CountResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function CountResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
20
|
+
if (value == null) {
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
"count": value["count"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 { FieldTypeCount } from './FieldTypeCount.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FieldInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface FieldInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FieldInfo
|
|
23
|
+
*/
|
|
24
|
+
path: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<FieldTypeCount>}
|
|
28
|
+
* @memberof FieldInfo
|
|
29
|
+
*/
|
|
30
|
+
types?: Array<FieldTypeCount>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the FieldInfo interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfFieldInfo(value: object): value is FieldInfo;
|
|
36
|
+
export declare function FieldInfoFromJSON(json: any): FieldInfo;
|
|
37
|
+
export declare function FieldInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FieldInfo;
|
|
38
|
+
export declare function FieldInfoToJSON(json: any): FieldInfo;
|
|
39
|
+
export declare function FieldInfoToJSONTyped(value?: FieldInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FieldTypeCountFromJSON,
|
|
3
|
+
FieldTypeCountToJSON
|
|
4
|
+
} from "./FieldTypeCount.js";
|
|
5
|
+
export function instanceOfFieldInfo(value) {
|
|
6
|
+
if (!("path" in value) || value["path"] === void 0) return false;
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
export function FieldInfoFromJSON(json) {
|
|
10
|
+
return FieldInfoFromJSONTyped(json, false);
|
|
11
|
+
}
|
|
12
|
+
export function FieldInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if (json == null) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
"path": json["path"],
|
|
18
|
+
"types": json["types"] == null ? void 0 : json["types"].map(FieldTypeCountFromJSON)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function FieldInfoToJSON(json) {
|
|
22
|
+
return FieldInfoToJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function FieldInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
25
|
+
if (value == null) {
|
|
26
|
+
return value;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
"path": value["path"],
|
|
30
|
+
"types": value["types"] == null ? void 0 : value["types"].map(FieldTypeCountToJSON)
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 FieldTypeCount
|
|
16
|
+
*/
|
|
17
|
+
export interface FieldTypeCount {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FieldTypeCount
|
|
22
|
+
*/
|
|
23
|
+
type: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FieldTypeCount
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FieldTypeCount interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFieldTypeCount(value: object): value is FieldTypeCount;
|
|
35
|
+
export declare function FieldTypeCountFromJSON(json: any): FieldTypeCount;
|
|
36
|
+
export declare function FieldTypeCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): FieldTypeCount;
|
|
37
|
+
export declare function FieldTypeCountToJSON(json: any): FieldTypeCount;
|
|
38
|
+
export declare function FieldTypeCountToJSONTyped(value?: FieldTypeCount | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export function instanceOfFieldTypeCount(value) {
|
|
2
|
+
if (!("type" in value) || value["type"] === void 0) return false;
|
|
3
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
4
|
+
return true;
|
|
5
|
+
}
|
|
6
|
+
export function FieldTypeCountFromJSON(json) {
|
|
7
|
+
return FieldTypeCountFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function FieldTypeCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json == null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"type": json["type"],
|
|
15
|
+
"count": json["count"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function FieldTypeCountToJSON(json) {
|
|
19
|
+
return FieldTypeCountToJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function FieldTypeCountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
22
|
+
if (value == null) {
|
|
23
|
+
return value;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
"type": value["type"],
|
|
27
|
+
"count": value["count"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
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 { InsertError } from './InsertError.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ImportResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ImportResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ImportResponse
|
|
23
|
+
*/
|
|
24
|
+
read: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ImportResponse
|
|
29
|
+
*/
|
|
30
|
+
inserted: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ImportResponse
|
|
35
|
+
*/
|
|
36
|
+
failed: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<InsertError>}
|
|
40
|
+
* @memberof ImportResponse
|
|
41
|
+
*/
|
|
42
|
+
errors?: Array<InsertError>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ImportResponse
|
|
47
|
+
*/
|
|
48
|
+
errorsTruncated: boolean;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ImportResponse interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfImportResponse(value: object): value is ImportResponse;
|
|
54
|
+
export declare function ImportResponseFromJSON(json: any): ImportResponse;
|
|
55
|
+
export declare function ImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportResponse;
|
|
56
|
+
export declare function ImportResponseToJSON(json: any): ImportResponse;
|
|
57
|
+
export declare function ImportResponseToJSONTyped(value?: ImportResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InsertErrorFromJSON,
|
|
3
|
+
InsertErrorToJSON
|
|
4
|
+
} from "./InsertError.js";
|
|
5
|
+
export function instanceOfImportResponse(value) {
|
|
6
|
+
if (!("read" in value) || value["read"] === void 0) return false;
|
|
7
|
+
if (!("inserted" in value) || value["inserted"] === void 0) return false;
|
|
8
|
+
if (!("failed" in value) || value["failed"] === void 0) return false;
|
|
9
|
+
if (!("errorsTruncated" in value) || value["errorsTruncated"] === void 0) return false;
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
export function ImportResponseFromJSON(json) {
|
|
13
|
+
return ImportResponseFromJSONTyped(json, false);
|
|
14
|
+
}
|
|
15
|
+
export function ImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if (json == null) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
"read": json["read"],
|
|
21
|
+
"inserted": json["inserted"],
|
|
22
|
+
"failed": json["failed"],
|
|
23
|
+
"errors": json["errors"] == null ? void 0 : json["errors"].map(InsertErrorFromJSON),
|
|
24
|
+
"errorsTruncated": json["errorsTruncated"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function ImportResponseToJSON(json) {
|
|
28
|
+
return ImportResponseToJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ImportResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
31
|
+
if (value == null) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
"read": value["read"],
|
|
36
|
+
"inserted": value["inserted"],
|
|
37
|
+
"failed": value["failed"],
|
|
38
|
+
"errors": value["errors"] == null ? void 0 : value["errors"].map(InsertErrorToJSON),
|
|
39
|
+
"errorsTruncated": value["errorsTruncated"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { IndexKey } from './IndexKey.js';
|
|
12
13
|
import type { IndexOptionsRequest } from './IndexOptionsRequest.js';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -21,7 +22,7 @@ export interface IndexCreateRequest {
|
|
|
21
22
|
* @type {{ [key: string]: number; }}
|
|
22
23
|
* @memberof IndexCreateRequest
|
|
23
24
|
*/
|
|
24
|
-
keys
|
|
25
|
+
keys?: {
|
|
25
26
|
[key: string]: number;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
@@ -30,6 +31,12 @@ export interface IndexCreateRequest {
|
|
|
30
31
|
* @memberof IndexCreateRequest
|
|
31
32
|
*/
|
|
32
33
|
indexOptionsRequest?: IndexOptionsRequest;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<IndexKey>}
|
|
37
|
+
* @memberof IndexCreateRequest
|
|
38
|
+
*/
|
|
39
|
+
orderedKeys?: Array<IndexKey>;
|
|
33
40
|
}
|
|
34
41
|
/**
|
|
35
42
|
* Check if a given object implements the IndexCreateRequest interface.
|