@sfxcode/nuxt-mongocamp-server 1.8.0 → 1.9.1

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.
Files changed (143) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/FILES +20 -0
  4. package/dist/runtime/api/.openapi-generator/VERSION +1 -1
  5. package/dist/runtime/api/apis/AdminApi.d.ts +65 -2
  6. package/dist/runtime/api/apis/AdminApi.js +39 -27
  7. package/dist/runtime/api/apis/ApplicationApi.d.ts +17 -2
  8. package/dist/runtime/api/apis/ApplicationApi.js +17 -11
  9. package/dist/runtime/api/apis/AuthApi.d.ts +17 -2
  10. package/dist/runtime/api/apis/AuthApi.js +27 -15
  11. package/dist/runtime/api/apis/BucketApi.d.ts +12 -2
  12. package/dist/runtime/api/apis/BucketApi.js +11 -9
  13. package/dist/runtime/api/apis/CollectionApi.d.ts +183 -6
  14. package/dist/runtime/api/apis/CollectionApi.js +233 -40
  15. package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -2
  16. package/dist/runtime/api/apis/DatabaseApi.js +12 -10
  17. package/dist/runtime/api/apis/DocumentApi.d.ts +178 -15
  18. package/dist/runtime/api/apis/DocumentApi.js +54 -40
  19. package/dist/runtime/api/apis/FileApi.d.ts +78 -4
  20. package/dist/runtime/api/apis/FileApi.js +34 -24
  21. package/dist/runtime/api/apis/IndexApi.d.ts +83 -2
  22. package/dist/runtime/api/apis/IndexApi.js +46 -34
  23. package/dist/runtime/api/apis/JobsApi.d.ts +28 -2
  24. package/dist/runtime/api/apis/JobsApi.js +19 -15
  25. package/dist/runtime/api/apis/SystemApi.d.ts +48 -2
  26. package/dist/runtime/api/apis/SystemApi.js +146 -3
  27. package/dist/runtime/api/docs/Capabilities.md +42 -0
  28. package/dist/runtime/api/docs/CapabilityLimits.md +36 -0
  29. package/dist/runtime/api/docs/CollectionApi.md +251 -6
  30. package/dist/runtime/api/docs/CollectionCollation.md +40 -0
  31. package/dist/runtime/api/docs/CollectionOptions.md +46 -0
  32. package/dist/runtime/api/docs/CollectionStatus.md +1 -1
  33. package/dist/runtime/api/docs/ConnectionStats.md +38 -0
  34. package/dist/runtime/api/docs/CreateCollectionResponse.md +34 -0
  35. package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
  36. package/dist/runtime/api/docs/DocumentApi.md +19 -19
  37. package/dist/runtime/api/docs/FileInformation.md +1 -1
  38. package/dist/runtime/api/docs/IndexInfo.md +3 -3
  39. package/dist/runtime/api/docs/IndexOptionsRequest.md +2 -2
  40. package/dist/runtime/api/docs/IndexUsage.md +1 -1
  41. package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
  42. package/dist/runtime/api/docs/MongoFindRequest.md +3 -3
  43. package/dist/runtime/api/docs/MongoIndex.md +3 -3
  44. package/dist/runtime/api/docs/OpCounters.md +44 -0
  45. package/dist/runtime/api/docs/ReplicaSetState.md +40 -0
  46. package/dist/runtime/api/docs/SettingsResponse.md +1 -1
  47. package/dist/runtime/api/docs/SystemApi.md +210 -0
  48. package/dist/runtime/api/docs/SystemInfo.md +36 -0
  49. package/dist/runtime/api/docs/SystemStats.md +42 -0
  50. package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
  51. package/dist/runtime/api/docs/UpdateRequest.md +2 -2
  52. package/dist/runtime/api/models/BucketInformation.d.ts +1 -9
  53. package/dist/runtime/api/models/Capabilities.d.ts +47 -0
  54. package/dist/runtime/api/models/Capabilities.js +39 -0
  55. package/dist/runtime/api/models/CapabilityLimits.d.ts +34 -0
  56. package/dist/runtime/api/models/CapabilityLimits.js +29 -0
  57. package/dist/runtime/api/models/ClusterInformation.d.ts +1 -5
  58. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -11
  59. package/dist/runtime/api/models/CollectionCollation.d.ts +42 -0
  60. package/dist/runtime/api/models/CollectionCollation.js +32 -0
  61. package/dist/runtime/api/models/CollectionOptions.d.ts +57 -0
  62. package/dist/runtime/api/models/CollectionOptions.js +41 -0
  63. package/dist/runtime/api/models/CollectionPermission.d.ts +1 -9
  64. package/dist/runtime/api/models/CollectionStatus.d.ts +2 -28
  65. package/dist/runtime/api/models/CollectionStatus.js +3 -2
  66. package/dist/runtime/api/models/CollectionSummary.d.ts +1 -19
  67. package/dist/runtime/api/models/ConnectionStats.d.ts +38 -0
  68. package/dist/runtime/api/models/ConnectionStats.js +32 -0
  69. package/dist/runtime/api/models/CopyRequest.d.ts +1 -9
  70. package/dist/runtime/api/models/CopyResponse.d.ts +1 -7
  71. package/dist/runtime/api/models/CountResponse.d.ts +1 -3
  72. package/dist/runtime/api/models/CreateCollectionResponse.d.ts +30 -0
  73. package/dist/runtime/api/models/CreateCollectionResponse.js +26 -0
  74. package/dist/runtime/api/models/DatabaseInfo.d.ts +2 -12
  75. package/dist/runtime/api/models/DatabaseInfo.js +3 -2
  76. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -5
  77. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -7
  78. package/dist/runtime/api/models/FieldInfo.d.ts +1 -5
  79. package/dist/runtime/api/models/FieldTypeCount.d.ts +1 -5
  80. package/dist/runtime/api/models/FileInformation.d.ts +2 -14
  81. package/dist/runtime/api/models/FileInformation.js +4 -3
  82. package/dist/runtime/api/models/Grant.d.ts +1 -11
  83. package/dist/runtime/api/models/ImportResponse.d.ts +1 -11
  84. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -7
  85. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -3
  86. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -3
  87. package/dist/runtime/api/models/IndexInfo.d.ts +4 -26
  88. package/dist/runtime/api/models/IndexKey.d.ts +1 -5
  89. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -29
  90. package/dist/runtime/api/models/IndexUsage.d.ts +2 -10
  91. package/dist/runtime/api/models/IndexUsage.js +3 -2
  92. package/dist/runtime/api/models/InsertError.d.ts +1 -7
  93. package/dist/runtime/api/models/InsertResponse.d.ts +1 -9
  94. package/dist/runtime/api/models/JobConfig.d.ts +1 -13
  95. package/dist/runtime/api/models/JobInformation.d.ts +1 -19
  96. package/dist/runtime/api/models/JobInformation.js +5 -4
  97. package/dist/runtime/api/models/JsonSchema.d.ts +1 -7
  98. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +2 -12
  99. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -3
  100. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -3
  101. package/dist/runtime/api/models/JsonValueString.d.ts +1 -3
  102. package/dist/runtime/api/models/Login.d.ts +1 -5
  103. package/dist/runtime/api/models/LoginResult.d.ts +1 -7
  104. package/dist/runtime/api/models/LoginResult.js +3 -2
  105. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -5
  106. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -11
  107. package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -10
  108. package/dist/runtime/api/models/MongoIndex.d.ts +4 -28
  109. package/dist/runtime/api/models/MongoIndex.js +3 -2
  110. package/dist/runtime/api/models/OpCounters.d.ts +50 -0
  111. package/dist/runtime/api/models/OpCounters.js +41 -0
  112. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -3
  113. package/dist/runtime/api/models/PipelineStage.d.ts +1 -5
  114. package/dist/runtime/api/models/RenameRequest.d.ts +1 -5
  115. package/dist/runtime/api/models/RenameResponse.d.ts +1 -3
  116. package/dist/runtime/api/models/ReplicaSetState.d.ts +42 -0
  117. package/dist/runtime/api/models/ReplicaSetState.js +35 -0
  118. package/dist/runtime/api/models/Role.d.ts +1 -7
  119. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -9
  120. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -13
  121. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -7
  122. package/dist/runtime/api/models/SearchRequest.d.ts +1 -7
  123. package/dist/runtime/api/models/SettingsResponse.d.ts +2 -10
  124. package/dist/runtime/api/models/SystemInfo.d.ts +34 -0
  125. package/dist/runtime/api/models/SystemInfo.js +28 -0
  126. package/dist/runtime/api/models/SystemStats.d.ts +49 -0
  127. package/dist/runtime/api/models/SystemStats.js +46 -0
  128. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +2 -6
  129. package/dist/runtime/api/models/UpdateRequest.d.ts +3 -7
  130. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -9
  131. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -5
  132. package/dist/runtime/api/models/UserInformation.d.ts +1 -9
  133. package/dist/runtime/api/models/UserProfile.d.ts +1 -11
  134. package/dist/runtime/api/models/Version.d.ts +1 -7
  135. package/dist/runtime/api/models/Version.js +3 -2
  136. package/dist/runtime/api/models/index.d.ts +10 -0
  137. package/dist/runtime/api/models/index.js +10 -0
  138. package/dist/runtime/api/runtime.d.ts +35 -2
  139. package/dist/runtime/api/runtime.js +84 -4
  140. package/dist/runtime/composables/mongocampApiFiles.d.ts +1 -1
  141. package/dist/runtime/composables/mongocampStorage.d.ts +7 -1
  142. package/dist/runtime/composables/mongocampStorage.js +12 -8
  143. package/package.json +4 -4
@@ -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.9.0
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 OpCounters
16
+ */
17
+ export interface OpCounters {
18
+ /**
19
+ *
20
+ */
21
+ insert: number;
22
+ /**
23
+ *
24
+ */
25
+ query: number;
26
+ /**
27
+ *
28
+ */
29
+ update: number;
30
+ /**
31
+ *
32
+ */
33
+ _delete: number;
34
+ /**
35
+ *
36
+ */
37
+ getmore: number;
38
+ /**
39
+ *
40
+ */
41
+ command: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the OpCounters interface.
45
+ */
46
+ export declare function instanceOfOpCounters(value: object): value is OpCounters;
47
+ export declare function OpCountersFromJSON(json: any): OpCounters;
48
+ export declare function OpCountersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpCounters;
49
+ export declare function OpCountersToJSON(json: any): OpCounters;
50
+ export declare function OpCountersToJSONTyped(value?: OpCounters | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
1
+ export function instanceOfOpCounters(value) {
2
+ if (!("insert" in value) || value["insert"] === void 0) return false;
3
+ if (!("query" in value) || value["query"] === void 0) return false;
4
+ if (!("update" in value) || value["update"] === void 0) return false;
5
+ if (!("_delete" in value) && !("delete" in value) || value["_delete"] === void 0 && value["delete"] === void 0) return false;
6
+ if (!("getmore" in value) || value["getmore"] === void 0) return false;
7
+ if (!("command" in value) || value["command"] === void 0) return false;
8
+ return true;
9
+ }
10
+ export function OpCountersFromJSON(json) {
11
+ return OpCountersFromJSONTyped(json, false);
12
+ }
13
+ export function OpCountersFromJSONTyped(json, ignoreDiscriminator) {
14
+ if (json == null) {
15
+ return json;
16
+ }
17
+ return {
18
+ "insert": json["insert"],
19
+ "query": json["query"],
20
+ "update": json["update"],
21
+ "_delete": json["delete"],
22
+ "getmore": json["getmore"],
23
+ "command": json["command"]
24
+ };
25
+ }
26
+ export function OpCountersToJSON(json) {
27
+ return OpCountersToJSONTyped(json, false);
28
+ }
29
+ export function OpCountersToJSONTyped(value, ignoreDiscriminator = false) {
30
+ if (value == null) {
31
+ return value;
32
+ }
33
+ return {
34
+ "insert": value["insert"],
35
+ "query": value["query"],
36
+ "update": value["update"],
37
+ "delete": value["_delete"],
38
+ "getmore": value["getmore"],
39
+ "command": value["command"]
40
+ };
41
+ }
@@ -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.1
5
+ * The version of the OpenAPI document: 1.9.0
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 PasswordUpdateRequest {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof PasswordUpdateRequest
22
20
  */
23
21
  password: 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.1
5
+ * The version of the OpenAPI document: 1.9.0
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 PipelineStage {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof PipelineStage
22
20
  */
23
21
  stage: string;
24
22
  /**
25
23
  *
26
- * @type {any}
27
- * @memberof PipelineStage
28
24
  */
29
25
  value: any | null;
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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
  }
@@ -0,0 +1,42 @@
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.9.0
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 ReplicaSetState
16
+ */
17
+ export interface ReplicaSetState {
18
+ /**
19
+ *
20
+ */
21
+ name: string;
22
+ /**
23
+ *
24
+ */
25
+ state: string;
26
+ /**
27
+ *
28
+ */
29
+ memberCount: number;
30
+ /**
31
+ *
32
+ */
33
+ healthyMembers: number;
34
+ }
35
+ /**
36
+ * Check if a given object implements the ReplicaSetState interface.
37
+ */
38
+ export declare function instanceOfReplicaSetState(value: object): value is ReplicaSetState;
39
+ export declare function ReplicaSetStateFromJSON(json: any): ReplicaSetState;
40
+ export declare function ReplicaSetStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReplicaSetState;
41
+ export declare function ReplicaSetStateToJSON(json: any): ReplicaSetState;
42
+ export declare function ReplicaSetStateToJSONTyped(value?: ReplicaSetState | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,35 @@
1
+ export function instanceOfReplicaSetState(value) {
2
+ if (!("name" in value) || value["name"] === void 0) return false;
3
+ if (!("state" in value) || value["state"] === void 0) return false;
4
+ if (!("memberCount" in value) || value["memberCount"] === void 0) return false;
5
+ if (!("healthyMembers" in value) || value["healthyMembers"] === void 0) return false;
6
+ return true;
7
+ }
8
+ export function ReplicaSetStateFromJSON(json) {
9
+ return ReplicaSetStateFromJSONTyped(json, false);
10
+ }
11
+ export function ReplicaSetStateFromJSONTyped(json, ignoreDiscriminator) {
12
+ if (json == null) {
13
+ return json;
14
+ }
15
+ return {
16
+ "name": json["name"],
17
+ "state": json["state"],
18
+ "memberCount": json["memberCount"],
19
+ "healthyMembers": json["healthyMembers"]
20
+ };
21
+ }
22
+ export function ReplicaSetStateToJSON(json) {
23
+ return ReplicaSetStateToJSONTyped(json, false);
24
+ }
25
+ export function ReplicaSetStateToJSONTyped(value, ignoreDiscriminator = false) {
26
+ if (value == null) {
27
+ return value;
28
+ }
29
+ return {
30
+ "name": value["name"],
31
+ "state": value["state"],
32
+ "memberCount": value["memberCount"],
33
+ "healthyMembers": value["healthyMembers"]
34
+ };
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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.1
5
+ * The version of the OpenAPI document: 1.9.0
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
  /**
@@ -0,0 +1,34 @@
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.9.0
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 SystemInfo
16
+ */
17
+ export interface SystemInfo {
18
+ /**
19
+ *
20
+ */
21
+ mongoDbVersion: string;
22
+ /**
23
+ *
24
+ */
25
+ mongoDbVersionArray?: Array<number>;
26
+ }
27
+ /**
28
+ * Check if a given object implements the SystemInfo interface.
29
+ */
30
+ export declare function instanceOfSystemInfo(value: object): value is SystemInfo;
31
+ export declare function SystemInfoFromJSON(json: any): SystemInfo;
32
+ export declare function SystemInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfo;
33
+ export declare function SystemInfoToJSON(json: any): SystemInfo;
34
+ export declare function SystemInfoToJSONTyped(value?: SystemInfo | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,28 @@
1
+ export function instanceOfSystemInfo(value) {
2
+ if (!("mongoDbVersion" in value) || value["mongoDbVersion"] === void 0) return false;
3
+ return true;
4
+ }
5
+ export function SystemInfoFromJSON(json) {
6
+ return SystemInfoFromJSONTyped(json, false);
7
+ }
8
+ export function SystemInfoFromJSONTyped(json, ignoreDiscriminator) {
9
+ if (json == null) {
10
+ return json;
11
+ }
12
+ return {
13
+ "mongoDbVersion": json["mongoDbVersion"],
14
+ "mongoDbVersionArray": json["mongoDbVersionArray"] == null ? void 0 : json["mongoDbVersionArray"]
15
+ };
16
+ }
17
+ export function SystemInfoToJSON(json) {
18
+ return SystemInfoToJSONTyped(json, false);
19
+ }
20
+ export function SystemInfoToJSONTyped(value, ignoreDiscriminator = false) {
21
+ if (value == null) {
22
+ return value;
23
+ }
24
+ return {
25
+ "mongoDbVersion": value["mongoDbVersion"],
26
+ "mongoDbVersionArray": value["mongoDbVersionArray"]
27
+ };
28
+ }
@@ -0,0 +1,49 @@
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.9.0
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 { OpCounters } from './OpCounters.js';
13
+ import type { ReplicaSetState } from './ReplicaSetState.js';
14
+ import type { ConnectionStats } from './ConnectionStats.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SystemStats
19
+ */
20
+ export interface SystemStats {
21
+ /**
22
+ *
23
+ */
24
+ uptimeSeconds?: number;
25
+ /**
26
+ *
27
+ */
28
+ connections?: ConnectionStats;
29
+ /**
30
+ *
31
+ */
32
+ opcounters?: OpCounters;
33
+ /**
34
+ *
35
+ */
36
+ replicaSet?: ReplicaSetState;
37
+ /**
38
+ *
39
+ */
40
+ partial: boolean;
41
+ }
42
+ /**
43
+ * Check if a given object implements the SystemStats interface.
44
+ */
45
+ export declare function instanceOfSystemStats(value: object): value is SystemStats;
46
+ export declare function SystemStatsFromJSON(json: any): SystemStats;
47
+ export declare function SystemStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemStats;
48
+ export declare function SystemStatsToJSON(json: any): SystemStats;
49
+ export declare function SystemStatsToJSONTyped(value?: SystemStats | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,46 @@
1
+ import {
2
+ OpCountersFromJSON,
3
+ OpCountersToJSON
4
+ } from "./OpCounters.js";
5
+ import {
6
+ ReplicaSetStateFromJSON,
7
+ ReplicaSetStateToJSON
8
+ } from "./ReplicaSetState.js";
9
+ import {
10
+ ConnectionStatsFromJSON,
11
+ ConnectionStatsToJSON
12
+ } from "./ConnectionStats.js";
13
+ export function instanceOfSystemStats(value) {
14
+ if (!("partial" in value) || value["partial"] === void 0) return false;
15
+ return true;
16
+ }
17
+ export function SystemStatsFromJSON(json) {
18
+ return SystemStatsFromJSONTyped(json, false);
19
+ }
20
+ export function SystemStatsFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json == null) {
22
+ return json;
23
+ }
24
+ return {
25
+ "uptimeSeconds": json["uptimeSeconds"] == null ? void 0 : json["uptimeSeconds"],
26
+ "connections": json["connections"] == null ? void 0 : ConnectionStatsFromJSON(json["connections"]),
27
+ "opcounters": json["opcounters"] == null ? void 0 : OpCountersFromJSON(json["opcounters"]),
28
+ "replicaSet": json["replicaSet"] == null ? void 0 : ReplicaSetStateFromJSON(json["replicaSet"]),
29
+ "partial": json["partial"]
30
+ };
31
+ }
32
+ export function SystemStatsToJSON(json) {
33
+ return SystemStatsToJSONTyped(json, false);
34
+ }
35
+ export function SystemStatsToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ "uptimeSeconds": value["uptimeSeconds"],
41
+ "connections": ConnectionStatsToJSON(value["connections"]),
42
+ "opcounters": OpCountersToJSON(value["opcounters"]),
43
+ "replicaSet": ReplicaSetStateToJSON(value["replicaSet"]),
44
+ "partial": value["partial"]
45
+ };
46
+ }
@@ -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.1
5
+ * The version of the OpenAPI document: 1.9.0
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
  /**