@sfxcode/nuxt-mongocamp-server 1.5.2 → 1.6.3

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 (98) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/FILES +6 -2
  4. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  5. package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/AuthApi.d.ts +3 -3
  7. package/dist/runtime/api/apis/AuthApi.js +2 -2
  8. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/CollectionApi.d.ts +7 -7
  10. package/dist/runtime/api/apis/CollectionApi.js +2 -2
  11. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/DocumentApi.d.ts +14 -12
  13. package/dist/runtime/api/apis/DocumentApi.js +6 -0
  14. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  15. package/dist/runtime/api/apis/IndexApi.d.ts +1 -1
  16. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  17. package/dist/runtime/api/apis/{InformationApi.d.ts → SystemApi.d.ts} +17 -3
  18. package/dist/runtime/api/apis/SystemApi.js +82 -0
  19. package/dist/runtime/api/apis/index.d.ts +1 -1
  20. package/dist/runtime/api/apis/index.js +1 -1
  21. package/dist/runtime/api/docs/AdminApi.md +2 -2
  22. package/dist/runtime/api/docs/AuthApi.md +1 -1
  23. package/dist/runtime/api/docs/ClusterInformation.md +36 -0
  24. package/dist/runtime/api/docs/ClusterMemberInformation.md +42 -0
  25. package/dist/runtime/api/docs/CollectionApi.md +5 -5
  26. package/dist/runtime/api/docs/CollectionStatus.md +1 -1
  27. package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
  28. package/dist/runtime/api/docs/DocumentApi.md +28 -22
  29. package/dist/runtime/api/docs/FileApi.md +2 -2
  30. package/dist/runtime/api/docs/FileInformation.md +1 -1
  31. package/dist/runtime/api/docs/IndexApi.md +2 -2
  32. package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
  33. package/dist/runtime/api/docs/JsonValueAny.md +1 -1
  34. package/dist/runtime/api/docs/MongoCampConfiguration.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/PipelineStage.md +1 -1
  38. package/dist/runtime/api/docs/SettingsResponse.md +1 -1
  39. package/dist/runtime/api/docs/SystemApi.md +139 -0
  40. package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
  41. package/dist/runtime/api/docs/UpdateRequest.md +2 -2
  42. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  43. package/dist/runtime/api/models/ClusterInformation.d.ts +39 -0
  44. package/dist/runtime/api/models/ClusterInformation.js +32 -0
  45. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +56 -0
  46. package/dist/runtime/api/models/ClusterMemberInformation.js +38 -0
  47. package/dist/runtime/api/models/CollectionStatus.d.ts +3 -3
  48. package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -3
  49. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  50. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  51. package/dist/runtime/api/models/FileInformation.d.ts +3 -3
  52. package/dist/runtime/api/models/Grant.d.ts +1 -1
  53. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
  54. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  55. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  56. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
  57. package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
  58. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  59. package/dist/runtime/api/models/JobInformation.d.ts +2 -2
  60. package/dist/runtime/api/models/JobInformation.js +1 -2
  61. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  62. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -3
  63. package/dist/runtime/api/models/JsonValueAny.d.ts +3 -3
  64. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  65. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  66. package/dist/runtime/api/models/Login.d.ts +1 -1
  67. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  68. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  69. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +3 -3
  70. package/dist/runtime/api/models/MongoFindRequest.d.ts +7 -7
  71. package/dist/runtime/api/models/MongoIndex.d.ts +7 -7
  72. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  73. package/dist/runtime/api/models/PipelineStage.d.ts +3 -3
  74. package/dist/runtime/api/models/Role.d.ts +1 -1
  75. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  76. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  77. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  78. package/dist/runtime/api/models/SettingsResponse.d.ts +3 -3
  79. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -3
  80. package/dist/runtime/api/models/UpdateRequest.d.ts +5 -5
  81. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  82. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  83. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  84. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  85. package/dist/runtime/api/models/Version.d.ts +1 -1
  86. package/dist/runtime/api/models/index.d.ts +2 -0
  87. package/dist/runtime/api/models/index.js +2 -0
  88. package/dist/runtime/api/runtime.d.ts +1 -1
  89. package/dist/runtime/composables/mongocampApi.d.ts +1 -1
  90. package/dist/runtime/composables/mongocampApiCollection.d.ts +2 -2
  91. package/dist/runtime/composables/mongocampSearch.d.ts +3 -3
  92. package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
  93. package/dist/runtime/server/composables/mongocampApi.d.ts +1 -1
  94. package/dist/runtime/server/composables/mongocampServerApi.d.ts +1 -1
  95. package/dist/runtime/utils/createMongocampApis.d.ts +2 -2
  96. package/dist/runtime/utils/createMongocampApis.js +2 -2
  97. package/package.json +13 -13
  98. package/dist/runtime/api/apis/InformationApi.js +0 -37
@@ -18,7 +18,7 @@ Name | Type
18
18
  `totalIndexSize` | number
19
19
  `ok` | number
20
20
  `fetched` | Date
21
- `map` | { [key: string]: string; }
21
+ `map` | { [key: string]: any; }
22
22
 
23
23
  ## Example
24
24
 
@@ -10,7 +10,7 @@ Name | Type
10
10
  `sizeOnDisk` | number
11
11
  `empty` | boolean
12
12
  `fetched` | Date
13
- `map` | { [key: string]: string; }
13
+ `map` | { [key: string]: any; }
14
14
 
15
15
  ## Example
16
16
 
@@ -99,7 +99,7 @@ example().catch(console.error);
99
99
 
100
100
  ## deleteMany
101
101
 
102
- > DeleteResponse deleteMany(collectionName, requestBody)
102
+ > DeleteResponse deleteMany(collectionName, requestBody, matchAll)
103
103
 
104
104
  Delete Many in Collection
105
105
 
@@ -130,8 +130,10 @@ async function example() {
130
130
  const body = {
131
131
  // string | The name of your MongoDb Collection
132
132
  collectionName: collectionName_example,
133
- // { [key: string]: string; }
133
+ // { [key: string]: any; }
134
134
  requestBody: Object,
135
+ // boolean | Allow an empty filter, that matches all documents of the collection (optional)
136
+ matchAll: true,
135
137
  } satisfies DeleteManyRequest;
136
138
 
137
139
  try {
@@ -152,7 +154,8 @@ example().catch(console.error);
152
154
  | Name | Type | Description | Notes |
153
155
  |------------- | ------------- | ------------- | -------------|
154
156
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
155
- | **requestBody** | `{ [key: string]: string; }` | | |
157
+ | **requestBody** | `{ [key: string]: any; }` | | |
158
+ | **matchAll** | `boolean` | Allow an empty filter, that matches all documents of the collection | [Optional] [Defaults to `false`] |
156
159
 
157
160
  ### Return type
158
161
 
@@ -172,7 +175,7 @@ example().catch(console.error);
172
175
  | Status code | Description | Response headers |
173
176
  |-------------|-------------|------------------|
174
177
  | **200** | | - |
175
- | **400** | Invalid value for: body | - |
178
+ | **400** | Invalid value for: body, Invalid value for: query parameter matchAll | - |
176
179
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
177
180
 
178
181
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -180,7 +183,7 @@ example().catch(console.error);
180
183
 
181
184
  ## find
182
185
 
183
- > Array&lt;{ [key: string]: string; }&gt; find(collectionName, mongoFindRequest, rowsPerPage, page)
186
+ > Array&lt;{ [key: string]: any; }&gt; find(collectionName, mongoFindRequest, rowsPerPage, page)
184
187
 
185
188
  Documents in Collection
186
189
 
@@ -243,7 +246,7 @@ example().catch(console.error);
243
246
 
244
247
  ### Return type
245
248
 
246
- **Array<{ [key: string]: string; }>**
249
+ **Array<{ [key: string]: any; }>**
247
250
 
248
251
  ### Authorization
249
252
 
@@ -267,7 +270,7 @@ example().catch(console.error);
267
270
 
268
271
  ## getDocument
269
272
 
270
- > { [key: string]: string; } getDocument(collectionName, documentId)
273
+ > { [key: string]: any; } getDocument(collectionName, documentId)
271
274
 
272
275
  Document from Collection
273
276
 
@@ -324,7 +327,7 @@ example().catch(console.error);
324
327
 
325
328
  ### Return type
326
329
 
327
- **{ [key: string]: string; }**
330
+ **{ [key: string]: any; }**
328
331
 
329
332
  ### Authorization
330
333
 
@@ -378,8 +381,8 @@ async function example() {
378
381
  const body = {
379
382
  // string | The name of your MongoDb Collection
380
383
  collectionName: collectionName_example,
381
- // { [key: string]: string; } | JSON Representation for your Document.
382
- requestBody: {"key1":"value","key2":true,"key3":{"creationDate":"2024-10-11T16:43:24.553Z"}},
384
+ // { [key: string]: any; } | JSON Representation for your Document.
385
+ requestBody: {"key1":"value","key2":true,"key3":{"creationDate":"2026-11-02T05:03:40.430Z"}},
383
386
  } satisfies InsertRequest;
384
387
 
385
388
  try {
@@ -400,7 +403,7 @@ example().catch(console.error);
400
403
  | Name | Type | Description | Notes |
401
404
  |------------- | ------------- | ------------- | -------------|
402
405
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
403
- | **requestBody** | `{ [key: string]: string; }` | JSON Representation for your Document. | |
406
+ | **requestBody** | `{ [key: string]: any; }` | JSON Representation for your Document. | |
404
407
 
405
408
  ### Return type
406
409
 
@@ -459,7 +462,7 @@ async function example() {
459
462
  const body = {
460
463
  // string | The name of your MongoDb Collection
461
464
  collectionName: collectionName_example,
462
- // Array<{ [key: string]: string; }> (optional)
465
+ // Array<{ [key: string]: any; }> (optional)
463
466
  requestBody: ...,
464
467
  } satisfies InsertManyRequest;
465
468
 
@@ -481,7 +484,7 @@ example().catch(console.error);
481
484
  | Name | Type | Description | Notes |
482
485
  |------------- | ------------- | ------------- | -------------|
483
486
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
484
- | **requestBody** | `Array<{ [key: string]: string; }>` | | [Optional] |
487
+ | **requestBody** | `Array<{ [key: string]: any; }>` | | [Optional] |
485
488
 
486
489
  ### Return type
487
490
 
@@ -509,7 +512,7 @@ example().catch(console.error);
509
512
 
510
513
  ## listDocuments
511
514
 
512
- > Array&lt;{ [key: string]: string; }&gt; listDocuments(collectionName, filter, sort, projection, rowsPerPage, page)
515
+ > Array&lt;{ [key: string]: any; }&gt; listDocuments(collectionName, filter, sort, projection, rowsPerPage, page)
513
516
 
514
517
  Documents in Collection
515
518
 
@@ -578,7 +581,7 @@ example().catch(console.error);
578
581
 
579
582
  ### Return type
580
583
 
581
- **Array<{ [key: string]: string; }>**
584
+ **Array<{ [key: string]: any; }>**
582
585
 
583
586
  ### Authorization
584
587
 
@@ -594,7 +597,7 @@ example().catch(console.error);
594
597
  | Status code | Description | Response headers |
595
598
  |-------------|-------------|------------------|
596
599
  | **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
597
- | **400** | Invalid value for: query parameter filter, Invalid value for: query parameter sort, Invalid value for: query parameter projection, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
600
+ | **400** | Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
598
601
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
599
602
 
600
603
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -635,7 +638,7 @@ async function example() {
635
638
  collectionName: collectionName_example,
636
639
  // string | DocumentId to update
637
640
  documentId: documentId_example,
638
- // { [key: string]: string; }
641
+ // { [key: string]: any; }
639
642
  requestBody: Object,
640
643
  } satisfies UpdateRequest;
641
644
 
@@ -658,7 +661,7 @@ example().catch(console.error);
658
661
  |------------- | ------------- | ------------- | -------------|
659
662
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
660
663
  | **documentId** | `string` | DocumentId to update | [Defaults to `undefined`] |
661
- | **requestBody** | `{ [key: string]: string; }` | | |
664
+ | **requestBody** | `{ [key: string]: any; }` | | |
662
665
 
663
666
  ### Return type
664
667
 
@@ -719,7 +722,7 @@ async function example() {
719
722
  collectionName: collectionName_example,
720
723
  // string | DocumentId to update
721
724
  documentId: documentId_example,
722
- // { [key: string]: string; }
725
+ // { [key: string]: any; }
723
726
  requestBody: Object,
724
727
  } satisfies UpdateDocumentPartialRequest;
725
728
 
@@ -742,7 +745,7 @@ example().catch(console.error);
742
745
  |------------- | ------------- | ------------- | -------------|
743
746
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
744
747
  | **documentId** | `string` | DocumentId to update | [Defaults to `undefined`] |
745
- | **requestBody** | `{ [key: string]: string; }` | | |
748
+ | **requestBody** | `{ [key: string]: any; }` | | |
746
749
 
747
750
  ### Return type
748
751
 
@@ -770,7 +773,7 @@ example().catch(console.error);
770
773
 
771
774
  ## updateMany
772
775
 
773
- > UpdateResponse updateMany(collectionName, updateRequest)
776
+ > UpdateResponse updateMany(collectionName, updateRequest, matchAll)
774
777
 
775
778
  Update many in Collection
776
779
 
@@ -803,6 +806,8 @@ async function example() {
803
806
  collectionName: collectionName_example,
804
807
  // UpdateRequest
805
808
  updateRequest: ...,
809
+ // boolean | Allow an empty filter, that matches all documents of the collection (optional)
810
+ matchAll: true,
806
811
  } satisfies UpdateManyRequest;
807
812
 
808
813
  try {
@@ -824,6 +829,7 @@ example().catch(console.error);
824
829
  |------------- | ------------- | ------------- | -------------|
825
830
  | **collectionName** | `string` | The name of your MongoDb Collection | [Defaults to `undefined`] |
826
831
  | **updateRequest** | [UpdateRequest](UpdateRequest.md) | | |
832
+ | **matchAll** | `boolean` | Allow an empty filter, that matches all documents of the collection | [Optional] [Defaults to `false`] |
827
833
 
828
834
  ### Return type
829
835
 
@@ -843,7 +849,7 @@ example().catch(console.error);
843
849
  | Status code | Description | Response headers |
844
850
  |-------------|-------------|------------------|
845
851
  | **200** | | - |
846
- | **400** | Invalid value for: body | - |
852
+ | **400** | Invalid value for: body, Invalid value for: query parameter matchAll | - |
847
853
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
848
854
 
849
855
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -422,7 +422,7 @@ example().catch(console.error);
422
422
  | Status code | Description | Response headers |
423
423
  |-------------|-------------|------------------|
424
424
  | **200** | | - |
425
- | **400** | Invalid value for: body, Invalid value for: query parameter fileName | - |
425
+ | **400** | Invalid value for: body | - |
426
426
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
427
427
 
428
428
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -515,7 +515,7 @@ example().catch(console.error);
515
515
  | Status code | Description | Response headers |
516
516
  |-------------|-------------|------------------|
517
517
  | **200** | | * x-pagination-count-rows - count all elements <br> * x-pagination-rows-per-page - Count elements per page <br> * x-pagination-current-page - Current page <br> * x-pagination-count-pages - Count pages <br> |
518
- | **400** | Invalid value for: query parameter filter, Invalid value for: query parameter sort, Invalid value for: query parameter projection, Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
518
+ | **400** | Invalid value for: query parameter rowsPerPage, Invalid value for: query parameter page | - |
519
519
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
520
520
 
521
521
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -11,7 +11,7 @@ Name | Type
11
11
  `length` | number
12
12
  `chunkSize` | number
13
13
  `uploadDate` | Date
14
- `metadata` | { [key: string]: string; }
14
+ `metadata` | { [key: string]: any; }
15
15
 
16
16
  ## Example
17
17
 
@@ -99,7 +99,7 @@ example().catch(console.error);
99
99
  | Status code | Description | Response headers |
100
100
  |-------------|-------------|------------------|
101
101
  | **200** | | - |
102
- | **400** | Invalid value for: query parameter sortAscending, Invalid value for: query parameter name | - |
102
+ | **400** | Invalid value for: query parameter sortAscending | - |
103
103
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
104
104
 
105
105
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -438,7 +438,7 @@ example().catch(console.error);
438
438
  | Status code | Description | Response headers |
439
439
  |-------------|-------------|------------------|
440
440
  | **200** | | - |
441
- | **400** | Invalid value for: query parameter sortAscending, Invalid value for: query parameter name | - |
441
+ | **400** | Invalid value for: query parameter sortAscending | - |
442
442
  | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
443
443
 
444
444
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -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]: string; }; }
13
+ `properties` | { [key: string]: { [key: string]: any; }; }
14
14
 
15
15
  ## Example
16
16
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `value` | string
9
+ `value` | any
10
10
 
11
11
  ## Example
12
12
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `key` | string
10
- `value` | string
10
+ `value` | any
11
11
  `configType` | string
12
12
  `comment` | string
13
13
  `needsRestartForActivation` | boolean
@@ -6,9 +6,9 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `filter` | { [key: string]: string; }
10
- `sort` | { [key: string]: string; }
11
- `projection` | { [key: string]: string; }
9
+ `filter` | { [key: string]: any; }
10
+ `sort` | { [key: string]: any; }
11
+ `projection` | { [key: string]: any; }
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]: string; }
15
- `weights` | { [key: string]: string; }
14
+ `keys` | { [key: string]: any; }
15
+ `weights` | { [key: string]: any; }
16
16
  `expire` | boolean
17
17
  `expireAfterSeconds` | number
18
18
  `text` | boolean
19
19
  `fetched` | Date
20
- `map` | { [key: string]: string; }
20
+ `map` | { [key: string]: any; }
21
21
 
22
22
  ## Example
23
23
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `stage` | string
10
- `value` | string
10
+ `value` | any
11
11
 
12
12
  ## Example
13
13
 
@@ -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]: string; }
12
+ `configurations` | { [key: string]: any; }
13
13
 
14
14
  ## Example
15
15
 
@@ -0,0 +1,139 @@
1
+ # SystemApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**version**](SystemApi.md#version) | **GET** /version | Version Information |
8
+ | [**viewCluster**](SystemApi.md#viewcluster) | **GET** /system/cluster | Registered Jobs |
9
+
10
+
11
+
12
+ ## version
13
+
14
+ > Version version()
15
+
16
+ Version Information
17
+
18
+ Version Info of the MongoCamp API
19
+
20
+ ### Example
21
+
22
+ ```ts
23
+ import {
24
+ Configuration,
25
+ SystemApi,
26
+ } from '';
27
+ import type { VersionRequest } from '';
28
+
29
+ async function example() {
30
+ console.log("🚀 Testing SDK...");
31
+ const api = new SystemApi();
32
+
33
+ try {
34
+ const data = await api.version();
35
+ console.log(data);
36
+ } catch (error) {
37
+ console.error(error);
38
+ }
39
+ }
40
+
41
+ // Run the test
42
+ example().catch(console.error);
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ This endpoint does not need any parameter.
48
+
49
+ ### Return type
50
+
51
+ [**Version**](Version.md)
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: `application/json`
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ | **200** | | - |
67
+ | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
68
+
69
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
70
+
71
+
72
+ ## viewCluster
73
+
74
+ > ClusterInformation viewCluster()
75
+
76
+ Registered Jobs
77
+
78
+ Returns the List of all registered Jobs with full information
79
+
80
+ ### Example
81
+
82
+ ```ts
83
+ import {
84
+ Configuration,
85
+ SystemApi,
86
+ } from '';
87
+ import type { ViewClusterRequest } from '';
88
+
89
+ async function example() {
90
+ console.log("🚀 Testing SDK...");
91
+ const config = new Configuration({
92
+ // To configure HTTP basic authorization: httpAuth1
93
+ username: "YOUR USERNAME",
94
+ password: "YOUR PASSWORD",
95
+ // Configure HTTP bearer authorization: httpAuth
96
+ accessToken: "YOUR BEARER TOKEN",
97
+ // To configure API key authorization: apiKeyAuth
98
+ apiKey: "YOUR API KEY",
99
+ });
100
+ const api = new SystemApi(config);
101
+
102
+ try {
103
+ const data = await api.viewCluster();
104
+ console.log(data);
105
+ } catch (error) {
106
+ console.error(error);
107
+ }
108
+ }
109
+
110
+ // Run the test
111
+ example().catch(console.error);
112
+ ```
113
+
114
+ ### Parameters
115
+
116
+ This endpoint does not need any parameter.
117
+
118
+ ### Return type
119
+
120
+ [**ClusterInformation**](ClusterInformation.md)
121
+
122
+ ### Authorization
123
+
124
+ [httpAuth1](../README.md#httpAuth1), [httpAuth](../README.md#httpAuth), [apiKeyAuth](../README.md#apiKeyAuth)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: `application/json`
130
+
131
+
132
+ ### HTTP response details
133
+ | Status code | Description | Response headers |
134
+ |-------------|-------------|------------------|
135
+ | **200** | | - |
136
+ | **0** | | * x-error-code - Error Code <br> * x-error-message - Message of the MongoCampException <br> * x-error-additional-info - Additional information for the MongoCampException <br> |
137
+
138
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
139
+
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `filename` | string
10
- `metadata` | { [key: string]: string; }
10
+ `metadata` | { [key: string]: any; }
11
11
 
12
12
  ## Example
13
13
 
@@ -6,8 +6,8 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `document` | { [key: string]: string; }
10
- `filter` | { [key: string]: string; }
9
+ `document` | { [key: string]: any; }
10
+ `filter` | { [key: string]: any; }
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.5.10
5
+ * The version of the OpenAPI document: 1.6.3
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.6.3
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 { ClusterMemberInformation } from './ClusterMemberInformation.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ClusterInformation
17
+ */
18
+ export interface ClusterInformation {
19
+ /**
20
+ *
21
+ * @type {Array<ClusterMemberInformation>}
22
+ * @memberof ClusterInformation
23
+ */
24
+ members?: Array<ClusterMemberInformation>;
25
+ /**
26
+ *
27
+ * @type {ClusterMemberInformation}
28
+ * @memberof ClusterInformation
29
+ */
30
+ coordinator: ClusterMemberInformation;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ClusterInformation interface.
34
+ */
35
+ export declare function instanceOfClusterInformation(value: object): value is ClusterInformation;
36
+ export declare function ClusterInformationFromJSON(json: any): ClusterInformation;
37
+ export declare function ClusterInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterInformation;
38
+ export declare function ClusterInformationToJSON(json: any): ClusterInformation;
39
+ export declare function ClusterInformationToJSONTyped(value?: ClusterInformation | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,32 @@
1
+ import {
2
+ ClusterMemberInformationFromJSON,
3
+ ClusterMemberInformationToJSON
4
+ } from "./ClusterMemberInformation.js";
5
+ export function instanceOfClusterInformation(value) {
6
+ if (!("coordinator" in value) || value["coordinator"] === void 0) return false;
7
+ return true;
8
+ }
9
+ export function ClusterInformationFromJSON(json) {
10
+ return ClusterInformationFromJSONTyped(json, false);
11
+ }
12
+ export function ClusterInformationFromJSONTyped(json, ignoreDiscriminator) {
13
+ if (json == null) {
14
+ return json;
15
+ }
16
+ return {
17
+ "members": json["members"] == null ? void 0 : json["members"].map(ClusterMemberInformationFromJSON),
18
+ "coordinator": ClusterMemberInformationFromJSON(json["coordinator"])
19
+ };
20
+ }
21
+ export function ClusterInformationToJSON(json) {
22
+ return ClusterInformationToJSONTyped(json, false);
23
+ }
24
+ export function ClusterInformationToJSONTyped(value, ignoreDiscriminator = false) {
25
+ if (value == null) {
26
+ return value;
27
+ }
28
+ return {
29
+ "members": value["members"] == null ? void 0 : value["members"].map(ClusterMemberInformationToJSON),
30
+ "coordinator": ClusterMemberInformationToJSON(value["coordinator"])
31
+ };
32
+ }
@@ -0,0 +1,56 @@
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.6.3
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 ClusterMemberInformation
16
+ */
17
+ export interface ClusterMemberInformation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ClusterMemberInformation
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof ClusterMemberInformation
28
+ */
29
+ siteMaster: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ClusterMemberInformation
34
+ */
35
+ siteAddress: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ClusterMemberInformation
40
+ */
41
+ multicast: boolean;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof ClusterMemberInformation
46
+ */
47
+ coordinator: boolean;
48
+ }
49
+ /**
50
+ * Check if a given object implements the ClusterMemberInformation interface.
51
+ */
52
+ export declare function instanceOfClusterMemberInformation(value: object): value is ClusterMemberInformation;
53
+ export declare function ClusterMemberInformationFromJSON(json: any): ClusterMemberInformation;
54
+ export declare function ClusterMemberInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterMemberInformation;
55
+ export declare function ClusterMemberInformationToJSON(json: any): ClusterMemberInformation;
56
+ export declare function ClusterMemberInformationToJSONTyped(value?: ClusterMemberInformation | null, ignoreDiscriminator?: boolean): any;