@sfxcode/nuxt-mongocamp-server 1.8.0 → 1.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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/VERSION +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +65 -2
- package/dist/runtime/api/apis/AdminApi.js +39 -27
- package/dist/runtime/api/apis/ApplicationApi.d.ts +17 -2
- package/dist/runtime/api/apis/ApplicationApi.js +17 -11
- package/dist/runtime/api/apis/AuthApi.d.ts +17 -2
- package/dist/runtime/api/apis/AuthApi.js +27 -15
- package/dist/runtime/api/apis/BucketApi.d.ts +12 -2
- package/dist/runtime/api/apis/BucketApi.js +11 -9
- package/dist/runtime/api/apis/CollectionApi.d.ts +107 -4
- package/dist/runtime/api/apis/CollectionApi.js +58 -38
- package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -2
- package/dist/runtime/api/apis/DatabaseApi.js +12 -10
- package/dist/runtime/api/apis/DocumentApi.d.ts +178 -15
- package/dist/runtime/api/apis/DocumentApi.js +54 -40
- package/dist/runtime/api/apis/FileApi.d.ts +78 -4
- package/dist/runtime/api/apis/FileApi.js +34 -24
- package/dist/runtime/api/apis/IndexApi.d.ts +83 -2
- package/dist/runtime/api/apis/IndexApi.js +46 -34
- package/dist/runtime/api/apis/JobsApi.d.ts +28 -2
- package/dist/runtime/api/apis/JobsApi.js +19 -15
- package/dist/runtime/api/apis/SystemApi.d.ts +3 -2
- package/dist/runtime/api/apis/SystemApi.js +5 -3
- package/dist/runtime/api/docs/CollectionApi.md +2 -2
- package/dist/runtime/api/docs/CollectionStatus.md +1 -1
- package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
- package/dist/runtime/api/docs/DocumentApi.md +19 -19
- package/dist/runtime/api/docs/FileInformation.md +1 -1
- package/dist/runtime/api/docs/IndexInfo.md +3 -3
- package/dist/runtime/api/docs/IndexOptionsRequest.md +2 -2
- package/dist/runtime/api/docs/IndexUsage.md +1 -1
- package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
- package/dist/runtime/api/docs/MongoFindRequest.md +3 -3
- package/dist/runtime/api/docs/MongoIndex.md +3 -3
- package/dist/runtime/api/docs/SettingsResponse.md +1 -1
- package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
- package/dist/runtime/api/docs/UpdateRequest.md +2 -2
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -9
- package/dist/runtime/api/models/ClusterInformation.d.ts +1 -5
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -11
- package/dist/runtime/api/models/CollectionPermission.d.ts +1 -9
- package/dist/runtime/api/models/CollectionStatus.d.ts +2 -28
- package/dist/runtime/api/models/CollectionStatus.js +3 -2
- package/dist/runtime/api/models/CollectionSummary.d.ts +1 -19
- package/dist/runtime/api/models/CopyRequest.d.ts +1 -9
- package/dist/runtime/api/models/CopyResponse.d.ts +1 -7
- package/dist/runtime/api/models/CountResponse.d.ts +1 -3
- package/dist/runtime/api/models/DatabaseInfo.d.ts +2 -12
- package/dist/runtime/api/models/DatabaseInfo.js +3 -2
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -5
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -7
- package/dist/runtime/api/models/FieldInfo.d.ts +1 -5
- package/dist/runtime/api/models/FieldTypeCount.d.ts +1 -5
- package/dist/runtime/api/models/FileInformation.d.ts +2 -14
- package/dist/runtime/api/models/FileInformation.js +4 -3
- package/dist/runtime/api/models/Grant.d.ts +1 -11
- package/dist/runtime/api/models/ImportResponse.d.ts +1 -11
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -7
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -3
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -3
- package/dist/runtime/api/models/IndexInfo.d.ts +4 -26
- package/dist/runtime/api/models/IndexKey.d.ts +1 -5
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -29
- package/dist/runtime/api/models/IndexUsage.d.ts +2 -10
- package/dist/runtime/api/models/IndexUsage.js +3 -2
- package/dist/runtime/api/models/InsertError.d.ts +1 -7
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -9
- package/dist/runtime/api/models/JobConfig.d.ts +1 -13
- package/dist/runtime/api/models/JobInformation.d.ts +1 -19
- package/dist/runtime/api/models/JobInformation.js +5 -4
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -7
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +2 -12
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -3
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -3
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -3
- package/dist/runtime/api/models/Login.d.ts +1 -5
- package/dist/runtime/api/models/LoginResult.d.ts +1 -7
- package/dist/runtime/api/models/LoginResult.js +3 -2
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -5
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -11
- package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -10
- package/dist/runtime/api/models/MongoIndex.d.ts +4 -28
- package/dist/runtime/api/models/MongoIndex.js +3 -2
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -3
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -5
- package/dist/runtime/api/models/RenameRequest.d.ts +1 -5
- package/dist/runtime/api/models/RenameResponse.d.ts +1 -3
- package/dist/runtime/api/models/Role.d.ts +1 -7
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -9
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -13
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -7
- package/dist/runtime/api/models/SearchRequest.d.ts +1 -7
- package/dist/runtime/api/models/SettingsResponse.d.ts +2 -10
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +2 -6
- package/dist/runtime/api/models/UpdateRequest.d.ts +3 -7
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -9
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -5
- package/dist/runtime/api/models/UserInformation.d.ts +1 -9
- package/dist/runtime/api/models/UserProfile.d.ts +1 -11
- package/dist/runtime/api/models/Version.d.ts +1 -7
- package/dist/runtime/api/models/Version.js +3 -2
- package/dist/runtime/api/runtime.d.ts +35 -2
- package/dist/runtime/api/runtime.js +84 -4
- package/dist/runtime/composables/mongocampApiFiles.d.ts +1 -1
- package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,14 +17,10 @@
|
|
|
17
17
|
export interface RenameRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RenameRequest
|
|
22
20
|
*/
|
|
23
21
|
target: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof RenameRequest
|
|
28
24
|
*/
|
|
29
25
|
dropTarget?: boolean;
|
|
30
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
export interface RenameResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RenameResponse
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,20 +18,14 @@ import type { Grant } from './Grant.js';
|
|
|
18
18
|
export interface Role {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Role
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof Role
|
|
29
25
|
*/
|
|
30
26
|
isAdmin: boolean;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {Array<Grant>}
|
|
34
|
-
* @memberof Role
|
|
35
29
|
*/
|
|
36
30
|
collectionGrants?: Array<Grant>;
|
|
37
31
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,26 +18,18 @@ import type { SchemaAnalysisField } from './SchemaAnalysisField.js';
|
|
|
18
18
|
export interface SchemaAnalysis {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SchemaAnalysis
|
|
23
21
|
*/
|
|
24
22
|
count: number;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof SchemaAnalysis
|
|
29
25
|
*/
|
|
30
26
|
sample: number;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof SchemaAnalysis
|
|
35
29
|
*/
|
|
36
30
|
percentageOfAnalysed: number;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {Array<SchemaAnalysisField>}
|
|
40
|
-
* @memberof SchemaAnalysis
|
|
41
33
|
*/
|
|
42
34
|
fields?: Array<SchemaAnalysisField>;
|
|
43
35
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,38 +18,26 @@ import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType.js';
|
|
|
18
18
|
export interface SchemaAnalysisField {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SchemaAnalysisField
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SchemaAnalysisField
|
|
29
25
|
*/
|
|
30
26
|
fullName: string;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {Array<SchemaAnalysisFieldType>}
|
|
34
|
-
* @memberof SchemaAnalysisField
|
|
35
29
|
*/
|
|
36
30
|
fieldTypes?: Array<SchemaAnalysisFieldType>;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof SchemaAnalysisField
|
|
41
33
|
*/
|
|
42
34
|
count: number;
|
|
43
35
|
/**
|
|
44
36
|
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof SchemaAnalysisField
|
|
47
37
|
*/
|
|
48
38
|
percentageOfParent: number;
|
|
49
39
|
/**
|
|
50
40
|
*
|
|
51
|
-
* @type {Array<SchemaAnalysisField>}
|
|
52
|
-
* @memberof SchemaAnalysisField
|
|
53
41
|
*/
|
|
54
42
|
subFields?: Array<SchemaAnalysisField>;
|
|
55
43
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface SchemaAnalysisFieldType {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SchemaAnalysisFieldType
|
|
22
20
|
*/
|
|
23
21
|
fieldType: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SchemaAnalysisFieldType
|
|
28
24
|
*/
|
|
29
25
|
count: number;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SchemaAnalysisFieldType
|
|
34
28
|
*/
|
|
35
29
|
percentageOfParent: number;
|
|
36
30
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface SearchRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SearchRequest
|
|
22
20
|
*/
|
|
23
21
|
filter?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof SearchRequest
|
|
28
24
|
*/
|
|
29
25
|
sort?: Array<string>;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof SearchRequest
|
|
34
28
|
*/
|
|
35
29
|
projection?: Array<string>;
|
|
36
30
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,29 +17,21 @@
|
|
|
17
17
|
export interface SettingsResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof SettingsResponse
|
|
22
20
|
*/
|
|
23
21
|
routesPlugins?: Array<string>;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof SettingsResponse
|
|
28
24
|
*/
|
|
29
25
|
filePlugins?: Array<string>;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof SettingsResponse
|
|
34
28
|
*/
|
|
35
29
|
ignoredPlugins?: Array<string>;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {{ [key: string]: any; }}
|
|
39
|
-
* @memberof SettingsResponse
|
|
40
32
|
*/
|
|
41
33
|
configurations: {
|
|
42
|
-
[key: string]: any;
|
|
34
|
+
[key: string]: any | null;
|
|
43
35
|
};
|
|
44
36
|
}
|
|
45
37
|
/**
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,17 +17,13 @@
|
|
|
17
17
|
export interface UpdateFileInformationRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateFileInformationRequest
|
|
22
20
|
*/
|
|
23
21
|
filename?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {{ [key: string]: any; }}
|
|
27
|
-
* @memberof UpdateFileInformationRequest
|
|
28
24
|
*/
|
|
29
25
|
metadata?: {
|
|
30
|
-
[key: string]: any;
|
|
26
|
+
[key: string]: any | null;
|
|
31
27
|
};
|
|
32
28
|
}
|
|
33
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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,19 +17,15 @@
|
|
|
17
17
|
export interface UpdateRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]: any; }}
|
|
21
|
-
* @memberof UpdateRequest
|
|
22
20
|
*/
|
|
23
21
|
document: {
|
|
24
|
-
[key: string]: any;
|
|
22
|
+
[key: string]: any | null;
|
|
25
23
|
};
|
|
26
24
|
/**
|
|
27
25
|
*
|
|
28
|
-
* @type {{ [key: string]: any; }}
|
|
29
|
-
* @memberof UpdateRequest
|
|
30
26
|
*/
|
|
31
27
|
filter: {
|
|
32
|
-
[key: string]: any;
|
|
28
|
+
[key: string]: any | null;
|
|
33
29
|
};
|
|
34
30
|
}
|
|
35
31
|
/**
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface UpdateResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof UpdateResponse
|
|
22
20
|
*/
|
|
23
21
|
wasAcknowledged: boolean;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof UpdateResponse
|
|
28
24
|
*/
|
|
29
25
|
upsertedIds?: Array<string>;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof UpdateResponse
|
|
34
28
|
*/
|
|
35
29
|
modifiedCount: number;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof UpdateResponse
|
|
40
32
|
*/
|
|
41
33
|
matchedCount: number;
|
|
42
34
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,14 +18,10 @@ import type { Grant } from './Grant.js';
|
|
|
18
18
|
export interface UpdateRoleRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof UpdateRoleRequest
|
|
23
21
|
*/
|
|
24
22
|
isAdmin: boolean;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {Array<Grant>}
|
|
28
|
-
* @memberof UpdateRoleRequest
|
|
29
25
|
*/
|
|
30
26
|
collectionGrants?: Array<Grant>;
|
|
31
27
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface UserInformation {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserInformation
|
|
22
20
|
*/
|
|
23
21
|
userId: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserInformation
|
|
28
24
|
*/
|
|
29
25
|
password: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserInformation
|
|
34
28
|
*/
|
|
35
29
|
apiKey?: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof UserInformation
|
|
40
32
|
*/
|
|
41
33
|
roles?: Array<string>;
|
|
42
34
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,32 +18,22 @@ import type { Grant } from './Grant.js';
|
|
|
18
18
|
export interface UserProfile {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UserProfile
|
|
23
21
|
*/
|
|
24
22
|
user: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof UserProfile
|
|
29
25
|
*/
|
|
30
26
|
isAdmin: boolean;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UserProfile
|
|
35
29
|
*/
|
|
36
30
|
apiKey?: string;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {Array<string>}
|
|
40
|
-
* @memberof UserProfile
|
|
41
33
|
*/
|
|
42
34
|
roles?: Array<string>;
|
|
43
35
|
/**
|
|
44
36
|
*
|
|
45
|
-
* @type {Array<Grant>}
|
|
46
|
-
* @memberof UserProfile
|
|
47
37
|
*/
|
|
48
38
|
grants?: Array<Grant>;
|
|
49
39
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface Version {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Version
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Version
|
|
28
24
|
*/
|
|
29
25
|
version: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof Version
|
|
34
28
|
*/
|
|
35
29
|
builtAt: Date;
|
|
36
30
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
export function instanceOfVersion(value) {
|
|
2
3
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
4
|
if (!("version" in value) || value["version"] === void 0) return false;
|
|
@@ -14,7 +15,7 @@ export function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
15
|
return {
|
|
15
16
|
"name": json["name"],
|
|
16
17
|
"version": json["version"],
|
|
17
|
-
"builtAt":
|
|
18
|
+
"builtAt": json["builtAt"] == null ? json["builtAt"] : parseDateTime(json["builtAt"])
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
export function VersionToJSON(json) {
|
|
@@ -27,6 +28,6 @@ export function VersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
27
28
|
return {
|
|
28
29
|
"name": value["name"],
|
|
29
30
|
"version": value["version"],
|
|
30
|
-
"builtAt": value["builtAt"]
|
|
31
|
+
"builtAt": value["builtAt"] == null ? value["builtAt"] : serializeDateTime(value["builtAt"])
|
|
31
32
|
};
|
|
32
33
|
}
|
|
@@ -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.8.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -124,9 +124,21 @@ export interface RequestOpts {
|
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
126
|
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Every generated date call site routes through these.
|
|
129
|
+
*
|
|
130
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
131
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
132
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
133
|
+
*/
|
|
134
|
+
export declare function serializeDateTime(value: Date): string;
|
|
135
|
+
export declare function serializeDate(value: Date): string;
|
|
136
|
+
export declare function parseDate(value: Date | string): Date;
|
|
137
|
+
export declare function parseDateTime(value: any): Date;
|
|
127
138
|
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
139
|
[key: string]: any;
|
|
129
140
|
};
|
|
141
|
+
export declare function anyToJSON(value: any): any;
|
|
130
142
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
131
143
|
export interface Consume {
|
|
132
144
|
contentType: string;
|
|
@@ -172,11 +184,32 @@ export declare class VoidApiResponse {
|
|
|
172
184
|
constructor(raw: Response);
|
|
173
185
|
value(): Promise<void>;
|
|
174
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* A Blob carrying the file name the server advertised, empty when it did not send one. It is a File
|
|
189
|
+
* wherever one can be built, and the bare Blob given a name otherwise. Same name and shape as the
|
|
190
|
+
* `typescript` generator's browser HttpFile.
|
|
191
|
+
*/
|
|
192
|
+
export type HttpFile = Blob & {
|
|
193
|
+
readonly name: string;
|
|
194
|
+
};
|
|
175
195
|
export declare class BlobApiResponse {
|
|
176
196
|
raw: Response;
|
|
177
197
|
constructor(raw: Response);
|
|
178
|
-
|
|
198
|
+
/**
|
|
199
|
+
* The body named after the Content-Disposition header, so that a download keeps the name the
|
|
200
|
+
* server gave it. A File is built from a native Blob; the Blob itself is named where there is no
|
|
201
|
+
* global File (Node.js before 20), where File cannot be constructed, or where the Blob is not the
|
|
202
|
+
* native one, as returned by an injected fetch implementation such as node-fetch, which a File
|
|
203
|
+
* would stringify instead of wrapping.
|
|
204
|
+
*/
|
|
205
|
+
value(): Promise<HttpFile>;
|
|
179
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* The file name advertised by a Content-Disposition header (RFC 6266): the RFC 5987 encoded
|
|
209
|
+
* `filename*` parameter first, falling back to the plain `filename` when it is malformed, not UTF-8
|
|
210
|
+
* or has no usable name. Any directory part is dropped; undefined when no usable name is advertised.
|
|
211
|
+
*/
|
|
212
|
+
export declare function parseContentDispositionFilename(headers: Headers): string | undefined;
|
|
180
213
|
export declare class TextApiResponse {
|
|
181
214
|
raw: Response;
|
|
182
215
|
constructor(raw: Response);
|