@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.
Files changed (108) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/VERSION +1 -1
  4. package/dist/runtime/api/apis/AdminApi.d.ts +65 -2
  5. package/dist/runtime/api/apis/AdminApi.js +39 -27
  6. package/dist/runtime/api/apis/ApplicationApi.d.ts +17 -2
  7. package/dist/runtime/api/apis/ApplicationApi.js +17 -11
  8. package/dist/runtime/api/apis/AuthApi.d.ts +17 -2
  9. package/dist/runtime/api/apis/AuthApi.js +27 -15
  10. package/dist/runtime/api/apis/BucketApi.d.ts +12 -2
  11. package/dist/runtime/api/apis/BucketApi.js +11 -9
  12. package/dist/runtime/api/apis/CollectionApi.d.ts +107 -4
  13. package/dist/runtime/api/apis/CollectionApi.js +58 -38
  14. package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -2
  15. package/dist/runtime/api/apis/DatabaseApi.js +12 -10
  16. package/dist/runtime/api/apis/DocumentApi.d.ts +178 -15
  17. package/dist/runtime/api/apis/DocumentApi.js +54 -40
  18. package/dist/runtime/api/apis/FileApi.d.ts +78 -4
  19. package/dist/runtime/api/apis/FileApi.js +34 -24
  20. package/dist/runtime/api/apis/IndexApi.d.ts +83 -2
  21. package/dist/runtime/api/apis/IndexApi.js +46 -34
  22. package/dist/runtime/api/apis/JobsApi.d.ts +28 -2
  23. package/dist/runtime/api/apis/JobsApi.js +19 -15
  24. package/dist/runtime/api/apis/SystemApi.d.ts +3 -2
  25. package/dist/runtime/api/apis/SystemApi.js +5 -3
  26. package/dist/runtime/api/docs/CollectionApi.md +2 -2
  27. package/dist/runtime/api/docs/CollectionStatus.md +1 -1
  28. package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
  29. package/dist/runtime/api/docs/DocumentApi.md +19 -19
  30. package/dist/runtime/api/docs/FileInformation.md +1 -1
  31. package/dist/runtime/api/docs/IndexInfo.md +3 -3
  32. package/dist/runtime/api/docs/IndexOptionsRequest.md +2 -2
  33. package/dist/runtime/api/docs/IndexUsage.md +1 -1
  34. package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
  35. package/dist/runtime/api/docs/MongoFindRequest.md +3 -3
  36. package/dist/runtime/api/docs/MongoIndex.md +3 -3
  37. package/dist/runtime/api/docs/SettingsResponse.md +1 -1
  38. package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
  39. package/dist/runtime/api/docs/UpdateRequest.md +2 -2
  40. package/dist/runtime/api/models/BucketInformation.d.ts +1 -9
  41. package/dist/runtime/api/models/ClusterInformation.d.ts +1 -5
  42. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -11
  43. package/dist/runtime/api/models/CollectionPermission.d.ts +1 -9
  44. package/dist/runtime/api/models/CollectionStatus.d.ts +2 -28
  45. package/dist/runtime/api/models/CollectionStatus.js +3 -2
  46. package/dist/runtime/api/models/CollectionSummary.d.ts +1 -19
  47. package/dist/runtime/api/models/CopyRequest.d.ts +1 -9
  48. package/dist/runtime/api/models/CopyResponse.d.ts +1 -7
  49. package/dist/runtime/api/models/CountResponse.d.ts +1 -3
  50. package/dist/runtime/api/models/DatabaseInfo.d.ts +2 -12
  51. package/dist/runtime/api/models/DatabaseInfo.js +3 -2
  52. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -5
  53. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -7
  54. package/dist/runtime/api/models/FieldInfo.d.ts +1 -5
  55. package/dist/runtime/api/models/FieldTypeCount.d.ts +1 -5
  56. package/dist/runtime/api/models/FileInformation.d.ts +2 -14
  57. package/dist/runtime/api/models/FileInformation.js +4 -3
  58. package/dist/runtime/api/models/Grant.d.ts +1 -11
  59. package/dist/runtime/api/models/ImportResponse.d.ts +1 -11
  60. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -7
  61. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -3
  62. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -3
  63. package/dist/runtime/api/models/IndexInfo.d.ts +4 -26
  64. package/dist/runtime/api/models/IndexKey.d.ts +1 -5
  65. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -29
  66. package/dist/runtime/api/models/IndexUsage.d.ts +2 -10
  67. package/dist/runtime/api/models/IndexUsage.js +3 -2
  68. package/dist/runtime/api/models/InsertError.d.ts +1 -7
  69. package/dist/runtime/api/models/InsertResponse.d.ts +1 -9
  70. package/dist/runtime/api/models/JobConfig.d.ts +1 -13
  71. package/dist/runtime/api/models/JobInformation.d.ts +1 -19
  72. package/dist/runtime/api/models/JobInformation.js +5 -4
  73. package/dist/runtime/api/models/JsonSchema.d.ts +1 -7
  74. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +2 -12
  75. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -3
  76. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -3
  77. package/dist/runtime/api/models/JsonValueString.d.ts +1 -3
  78. package/dist/runtime/api/models/Login.d.ts +1 -5
  79. package/dist/runtime/api/models/LoginResult.d.ts +1 -7
  80. package/dist/runtime/api/models/LoginResult.js +3 -2
  81. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -5
  82. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -11
  83. package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -10
  84. package/dist/runtime/api/models/MongoIndex.d.ts +4 -28
  85. package/dist/runtime/api/models/MongoIndex.js +3 -2
  86. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -3
  87. package/dist/runtime/api/models/PipelineStage.d.ts +1 -5
  88. package/dist/runtime/api/models/RenameRequest.d.ts +1 -5
  89. package/dist/runtime/api/models/RenameResponse.d.ts +1 -3
  90. package/dist/runtime/api/models/Role.d.ts +1 -7
  91. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -9
  92. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -13
  93. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -7
  94. package/dist/runtime/api/models/SearchRequest.d.ts +1 -7
  95. package/dist/runtime/api/models/SettingsResponse.d.ts +2 -10
  96. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +2 -6
  97. package/dist/runtime/api/models/UpdateRequest.d.ts +3 -7
  98. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -9
  99. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -5
  100. package/dist/runtime/api/models/UserInformation.d.ts +1 -9
  101. package/dist/runtime/api/models/UserProfile.d.ts +1 -11
  102. package/dist/runtime/api/models/Version.d.ts +1 -7
  103. package/dist/runtime/api/models/Version.js +3 -2
  104. package/dist/runtime/api/runtime.d.ts +35 -2
  105. package/dist/runtime/api/runtime.js +84 -4
  106. package/dist/runtime/composables/mongocampApiFiles.d.ts +1 -1
  107. package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
  108. package/package.json +3 -3
@@ -214,7 +214,7 @@ async function example() {
214
214
  const body = {
215
215
  // string | The name of your MongoDb Collection
216
216
  collectionName: collectionName_example,
217
- // { [key: string]: any; }
217
+ // { [key: string]: any | null; }
218
218
  requestBody: Object,
219
219
  // boolean | Allow an empty filter, that matches all documents of the collection (optional)
220
220
  matchAll: true,
@@ -240,7 +240,7 @@ example().catch(console.error);
240
240
  | Name | Type | Description | Notes |
241
241
  |------------- | ------------- | ------------- | -------------|
242
242
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
243
- | **requestBody** | `{ [key: string]: any; }` | | |
243
+ | **requestBody** | `{ [key: string]: any | null; }` | | |
244
244
  | **matchAll** | `boolean` | Allow an empty filter, that matches all documents of the collection | [Optional] [Defaults to `false`] |
245
245
  | **filter** | `string` | Filter Query like on the list of documents, as an alternative to the filter of the request body. Use only one of both. | [Optional] [Defaults to `undefined`] |
246
246
 
@@ -366,7 +366,7 @@ example().catch(console.error);
366
366
 
367
367
  ## find
368
368
 
369
- > Array<{ [key: string]: any; }> find(collectionName, mongoFindRequest, rowsPerPage, page, extendedJson)
369
+ > Array<{ [key: string]: any | null; }> find(collectionName, mongoFindRequest, rowsPerPage, page, extendedJson)
370
370
 
371
371
  Documents in Collection
372
372
 
@@ -432,7 +432,7 @@ example().catch(console.error);
432
432
 
433
433
  ### Return type
434
434
 
435
- **Array<{ [key: string]: any; }>**
435
+ **Array<{ [key: string]: any | null; }>**
436
436
 
437
437
  ### Authorization
438
438
 
@@ -456,7 +456,7 @@ example().catch(console.error);
456
456
 
457
457
  ## getDocument
458
458
 
459
- > { [key: string]: any; } getDocument(collectionName, documentId, extendedJson)
459
+ > { [key: string]: any | null; } getDocument(collectionName, documentId, extendedJson)
460
460
 
461
461
  Document from Collection
462
462
 
@@ -516,7 +516,7 @@ example().catch(console.error);
516
516
 
517
517
  ### Return type
518
518
 
519
- **{ [key: string]: any; }**
519
+ **{ [key: string]: any | null; }**
520
520
 
521
521
  ### Authorization
522
522
 
@@ -651,8 +651,8 @@ async function example() {
651
651
  const body = {
652
652
  // string | The name of your MongoDb Collection
653
653
  collectionName: collectionName_example,
654
- // { [key: string]: any; } | JSON Representation for your Document.
655
- requestBody: {"key1":"value","key2":true,"key3":{"creationDate":"2026-11-08T16:48:08.839Z"}},
654
+ // { [key: string]: any | null; } | JSON Representation for your Document.
655
+ requestBody: {"key1":"value","key2":true,"key3":{"creationDate":"2026-11-12T19:00:42.728Z"}},
656
656
  } satisfies InsertRequest;
657
657
 
658
658
  try {
@@ -673,7 +673,7 @@ example().catch(console.error);
673
673
  | Name | Type | Description | Notes |
674
674
  |------------- | ------------- | ------------- | -------------|
675
675
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
676
- | **requestBody** | `{ [key: string]: any; }` | JSON Representation for your Document. | |
676
+ | **requestBody** | `{ [key: string]: any | null; }` | JSON Representation for your Document. | |
677
677
 
678
678
  ### Return type
679
679
 
@@ -734,7 +734,7 @@ async function example() {
734
734
  collectionName: collectionName_example,
735
735
  // boolean | true (default): the insert stops at the first document that fails (answer 409 for a duplicate key). false: all documents that can be stored are stored, the others are listed in `errors` of the answer. (optional)
736
736
  ordered: true,
737
- // Array<{ [key: string]: any; }> (optional)
737
+ // Array<{ [key: string]: any | null; }> (optional)
738
738
  requestBody: ...,
739
739
  } satisfies InsertManyRequest;
740
740
 
@@ -757,7 +757,7 @@ example().catch(console.error);
757
757
  |------------- | ------------- | ------------- | -------------|
758
758
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
759
759
  | **ordered** | `boolean` | true (default): the insert stops at the first document that fails (answer 409 for a duplicate key). false: all documents that can be stored are stored, the others are listed in &#x60;errors&#x60; of the answer. | [Optional] [Defaults to `true`] |
760
- | **requestBody** | `Array<{ [key: string]: any; }>` | | [Optional] |
760
+ | **requestBody** | `Array<{ [key: string]: any | null; }>` | | [Optional] |
761
761
 
762
762
  ### Return type
763
763
 
@@ -785,7 +785,7 @@ example().catch(console.error);
785
785
 
786
786
  ## listDocuments
787
787
 
788
- > Array&lt;{ [key: string]: any; }&gt; listDocuments(collectionName, filter, sort, projection, rowsPerPage, page, extendedJson)
788
+ > Array&lt;{ [key: string]: any | null; }&gt; listDocuments(collectionName, filter, sort, projection, rowsPerPage, page, extendedJson)
789
789
 
790
790
  Documents in Collection
791
791
 
@@ -857,7 +857,7 @@ example().catch(console.error);
857
857
 
858
858
  ### Return type
859
859
 
860
- **Array<{ [key: string]: any; }>**
860
+ **Array<{ [key: string]: any | null; }>**
861
861
 
862
862
  ### Authorization
863
863
 
@@ -881,7 +881,7 @@ example().catch(console.error);
881
881
 
882
882
  ## searchDocuments
883
883
 
884
- > Array&lt;{ [key: string]: any; }&gt; searchDocuments(collectionName, searchRequest, rowsPerPage, page, extendedJson)
884
+ > Array&lt;{ [key: string]: any | null; }&gt; searchDocuments(collectionName, searchRequest, rowsPerPage, page, extendedJson)
885
885
 
886
886
  Search Documents in Collection
887
887
 
@@ -947,7 +947,7 @@ example().catch(console.error);
947
947
 
948
948
  ### Return type
949
949
 
950
- **Array<{ [key: string]: any; }>**
950
+ **Array<{ [key: string]: any | null; }>**
951
951
 
952
952
  ### Authorization
953
953
 
@@ -1004,7 +1004,7 @@ async function example() {
1004
1004
  collectionName: collectionName_example,
1005
1005
  // string | DocumentId to update
1006
1006
  documentId: documentId_example,
1007
- // { [key: string]: any; }
1007
+ // { [key: string]: any | null; }
1008
1008
  requestBody: Object,
1009
1009
  } satisfies UpdateRequest;
1010
1010
 
@@ -1027,7 +1027,7 @@ example().catch(console.error);
1027
1027
  |------------- | ------------- | ------------- | -------------|
1028
1028
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
1029
1029
  | **documentId** | `string` | DocumentId to update | [Defaults to `undefined`] |
1030
- | **requestBody** | `{ [key: string]: any; }` | | |
1030
+ | **requestBody** | `{ [key: string]: any | null; }` | | |
1031
1031
 
1032
1032
  ### Return type
1033
1033
 
@@ -1088,7 +1088,7 @@ async function example() {
1088
1088
  collectionName: collectionName_example,
1089
1089
  // string | DocumentId to update
1090
1090
  documentId: documentId_example,
1091
- // { [key: string]: any; }
1091
+ // { [key: string]: any | null; }
1092
1092
  requestBody: Object,
1093
1093
  } satisfies UpdateDocumentPartialRequest;
1094
1094
 
@@ -1111,7 +1111,7 @@ example().catch(console.error);
1111
1111
  |------------- | ------------- | ------------- | -------------|
1112
1112
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
1113
1113
  | **documentId** | `string` | DocumentId to update | [Defaults to `undefined`] |
1114
- | **requestBody** | `{ [key: string]: any; }` | | |
1114
+ | **requestBody** | `{ [key: string]: any | null; }` | | |
1115
1115
 
1116
1116
  ### Return type
1117
1117
 
@@ -11,7 +11,7 @@ Name | Type
11
11
  `length` | number
12
12
  `chunkSize` | number
13
13
  `uploadDate` | Date
14
- `metadata` | { [key: string]: any; }
14
+ `metadata` | { [key: string]: any | null; }
15
15
 
16
16
  ## Example
17
17
 
@@ -11,9 +11,9 @@ Name | Type
11
11
  `unique` | boolean
12
12
  `sparse` | boolean
13
13
  `hidden` | boolean
14
- `partialFilterExpression` | { [key: string]: any; }
15
- `collation` | { [key: string]: any; }
16
- `weights` | { [key: string]: any; }
14
+ `partialFilterExpression` | { [key: string]: any | null; }
15
+ `collation` | { [key: string]: any | null; }
16
+ `weights` | { [key: string]: any | null; }
17
17
  `defaultLanguage` | string
18
18
  `expireAfterSeconds` | number
19
19
  `version` | number
@@ -16,9 +16,9 @@ Name | Type
16
16
  `min` | number
17
17
  `sparse` | boolean
18
18
  `hidden` | boolean
19
- `partialFilterExpression` | { [key: string]: any; }
19
+ `partialFilterExpression` | { [key: string]: any | null; }
20
20
  `weights` | { [key: string]: number; }
21
- `collation` | { [key: string]: any; }
21
+ `collation` | { [key: string]: any | null; }
22
22
 
23
23
  ## Example
24
24
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
- `key` | { [key: string]: any; }
10
+ `key` | { [key: string]: any | null; }
11
11
  `ops` | number
12
12
  `since` | Date
13
13
 
@@ -10,7 +10,7 @@ Name | Type
10
10
  `title` | string
11
11
  `additionalProperties` | boolean
12
12
  `required` | Array&lt;string&gt;
13
- `properties` | { [key: string]: { [key: string]: any; }; }
13
+ `properties` | { [key: string]: { [key: string]: any | null; }; }
14
14
 
15
15
  ## Example
16
16
 
@@ -6,9 +6,9 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `filter` | { [key: string]: any; }
10
- `sort` | { [key: string]: any; }
11
- `projection` | { [key: string]: any; }
9
+ `filter` | { [key: string]: any | null; }
10
+ `sort` | { [key: string]: any | null; }
11
+ `projection` | { [key: string]: any | null; }
12
12
 
13
13
  ## Example
14
14
 
@@ -11,13 +11,13 @@ Name | Type
11
11
  `unique` | boolean
12
12
  `version` | number
13
13
  `namespace` | string
14
- `keys` | { [key: string]: any; }
15
- `weights` | { [key: string]: any; }
14
+ `keys` | { [key: string]: any | null; }
15
+ `weights` | { [key: string]: any | null; }
16
16
  `expire` | boolean
17
17
  `expireAfterSeconds` | number
18
18
  `text` | boolean
19
19
  `fetched` | Date
20
- `map` | { [key: string]: any; }
20
+ `map` | { [key: string]: any | null; }
21
21
 
22
22
  ## Example
23
23
 
@@ -9,7 +9,7 @@ Name | Type
9
9
  `routesPlugins` | Array&lt;string&gt;
10
10
  `filePlugins` | Array&lt;string&gt;
11
11
  `ignoredPlugins` | Array&lt;string&gt;
12
- `configurations` | { [key: string]: any; }
12
+ `configurations` | { [key: string]: any | null; }
13
13
 
14
14
  ## Example
15
15
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `filename` | string
10
- `metadata` | { [key: string]: any; }
10
+ `metadata` | { [key: string]: any | null; }
11
11
 
12
12
  ## Example
13
13
 
@@ -6,8 +6,8 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `document` | { [key: string]: any; }
10
- `filter` | { [key: string]: any; }
9
+ `document` | { [key: string]: any | null; }
10
+ `filter` | { [key: string]: any | null; }
11
11
 
12
12
  ## Example
13
13
 
@@ -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.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 BucketInformation {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof BucketInformation
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {number}
27
- * @memberof BucketInformation
28
24
  */
29
25
  files: number;
30
26
  /**
31
27
  *
32
- * @type {number}
33
- * @memberof BucketInformation
34
28
  */
35
29
  size: number;
36
30
  /**
37
31
  *
38
- * @type {number}
39
- * @memberof BucketInformation
40
32
  */
41
33
  avgObjectSize: 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.1
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 { ClusterMemberInformation } from './ClusterMemberInformation.js';
18
18
  export interface ClusterInformation {
19
19
  /**
20
20
  *
21
- * @type {Array<ClusterMemberInformation>}
22
- * @memberof ClusterInformation
23
21
  */
24
22
  members?: Array<ClusterMemberInformation>;
25
23
  /**
26
24
  *
27
- * @type {ClusterMemberInformation}
28
- * @memberof ClusterInformation
29
25
  */
30
26
  coordinator: ClusterMemberInformation;
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.1
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,32 +17,22 @@
17
17
  export interface ClusterMemberInformation {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof ClusterMemberInformation
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {boolean}
27
- * @memberof ClusterMemberInformation
28
24
  */
29
25
  siteMaster: boolean;
30
26
  /**
31
27
  *
32
- * @type {boolean}
33
- * @memberof ClusterMemberInformation
34
28
  */
35
29
  siteAddress: boolean;
36
30
  /**
37
31
  *
38
- * @type {boolean}
39
- * @memberof ClusterMemberInformation
40
32
  */
41
33
  multicast: boolean;
42
34
  /**
43
35
  *
44
- * @type {boolean}
45
- * @memberof ClusterMemberInformation
46
36
  */
47
37
  coordinator: boolean;
48
38
  }
@@ -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.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 CollectionPermission {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof CollectionPermission
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {boolean}
27
- * @memberof CollectionPermission
28
24
  */
29
25
  read: boolean;
30
26
  /**
31
27
  *
32
- * @type {boolean}
33
- * @memberof CollectionPermission
34
28
  */
35
29
  write: boolean;
36
30
  /**
37
31
  *
38
- * @type {boolean}
39
- * @memberof CollectionPermission
40
32
  */
41
33
  administrate: boolean;
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.1
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,85 +17,59 @@
17
17
  export interface CollectionStatus {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof CollectionStatus
22
20
  */
23
21
  ns: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof CollectionStatus
28
24
  */
29
25
  collectionType: string;
30
26
  /**
31
27
  *
32
- * @type {number}
33
- * @memberof CollectionStatus
34
28
  */
35
29
  scaleFactor: number;
36
30
  /**
37
31
  *
38
- * @type {number}
39
- * @memberof CollectionStatus
40
32
  */
41
33
  size: number;
42
34
  /**
43
35
  *
44
- * @type {number}
45
- * @memberof CollectionStatus
46
36
  */
47
37
  count: number;
48
38
  /**
49
39
  *
50
- * @type {number}
51
- * @memberof CollectionStatus
52
40
  */
53
41
  storageSize: number;
54
42
  /**
55
43
  *
56
- * @type {number}
57
- * @memberof CollectionStatus
58
44
  */
59
45
  avgObjSize: number;
60
46
  /**
61
47
  *
62
- * @type {number}
63
- * @memberof CollectionStatus
64
48
  */
65
49
  nindexes: number;
66
50
  /**
67
51
  *
68
- * @type {{ [key: string]: number; }}
69
- * @memberof CollectionStatus
70
52
  */
71
53
  indexSizes: {
72
54
  [key: string]: number;
73
55
  };
74
56
  /**
75
57
  *
76
- * @type {number}
77
- * @memberof CollectionStatus
78
58
  */
79
59
  totalIndexSize: number;
80
60
  /**
81
61
  *
82
- * @type {number}
83
- * @memberof CollectionStatus
84
62
  */
85
63
  ok: number;
86
64
  /**
87
65
  *
88
- * @type {Date}
89
- * @memberof CollectionStatus
90
66
  */
91
67
  fetched: Date;
92
68
  /**
93
69
  *
94
- * @type {{ [key: string]: any; }}
95
- * @memberof CollectionStatus
96
70
  */
97
71
  map: {
98
- [key: string]: any;
72
+ [key: string]: any | null;
99
73
  };
100
74
  }
101
75
  /**
@@ -1,3 +1,4 @@
1
+ import { parseDateTime, serializeDateTime } from "../runtime.js";
1
2
  export function instanceOfCollectionStatus(value) {
2
3
  if (!("ns" in value) || value["ns"] === void 0) return false;
3
4
  if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
@@ -33,7 +34,7 @@ export function CollectionStatusFromJSONTyped(json, ignoreDiscriminator) {
33
34
  "indexSizes": json["indexSizes"],
34
35
  "totalIndexSize": json["totalIndexSize"],
35
36
  "ok": json["ok"],
36
- "fetched": new Date(json["fetched"]),
37
+ "fetched": json["fetched"] == null ? json["fetched"] : parseDateTime(json["fetched"]),
37
38
  "map": json["map"]
38
39
  };
39
40
  }
@@ -56,7 +57,7 @@ export function CollectionStatusToJSONTyped(value, ignoreDiscriminator = false)
56
57
  "indexSizes": value["indexSizes"],
57
58
  "totalIndexSize": value["totalIndexSize"],
58
59
  "ok": value["ok"],
59
- "fetched": value["fetched"].toISOString(),
60
+ "fetched": value["fetched"] == null ? value["fetched"] : serializeDateTime(value["fetched"]),
60
61
  "map": value["map"]
61
62
  };
62
63
  }
@@ -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.8.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,56 +17,38 @@
17
17
  export interface CollectionSummary {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof CollectionSummary
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof CollectionSummary
28
24
  */
29
25
  collectionType: string;
30
26
  /**
31
27
  *
32
- * @type {number}
33
- * @memberof CollectionSummary
34
28
  */
35
29
  count: number;
36
30
  /**
37
31
  *
38
- * @type {number}
39
- * @memberof CollectionSummary
40
32
  */
41
33
  size: number;
42
34
  /**
43
35
  *
44
- * @type {number}
45
- * @memberof CollectionSummary
46
36
  */
47
37
  storageSize: number;
48
38
  /**
49
39
  *
50
- * @type {number}
51
- * @memberof CollectionSummary
52
40
  */
53
41
  avgObjSize: number;
54
42
  /**
55
43
  *
56
- * @type {number}
57
- * @memberof CollectionSummary
58
44
  */
59
45
  nindexes: number;
60
46
  /**
61
47
  *
62
- * @type {number}
63
- * @memberof CollectionSummary
64
48
  */
65
49
  totalIndexSize: number;
66
50
  /**
67
51
  *
68
- * @type {boolean}
69
- * @memberof CollectionSummary
70
52
  */
71
53
  available: boolean;
72
54
  }
@@ -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.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 CopyRequest {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof CopyRequest
22
20
  */
23
21
  target: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof CopyRequest
28
24
  */
29
25
  filter?: string;
30
26
  /**
31
27
  *
32
- * @type {boolean}
33
- * @memberof CopyRequest
34
28
  */
35
29
  withIndexes?: boolean;
36
30
  /**
37
31
  *
38
- * @type {boolean}
39
- * @memberof CopyRequest
40
32
  */
41
33
  dropTarget?: boolean;
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.1
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 CopyResponse {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof CopyResponse
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {number}
27
- * @memberof CopyResponse
28
24
  */
29
25
  count: number;
30
26
  /**
31
27
  *
32
- * @type {number}
33
- * @memberof CopyResponse
34
28
  */
35
29
  indexes: number;
36
30
  }