@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
@@ -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 InsertError {
18
18
  /**
19
19
  *
20
- * @type {number}
21
- * @memberof InsertError
22
20
  */
23
21
  index: number;
24
22
  /**
25
23
  *
26
- * @type {number}
27
- * @memberof InsertError
28
24
  */
29
25
  code: number;
30
26
  /**
31
27
  *
32
- * @type {string}
33
- * @memberof InsertError
34
28
  */
35
29
  message: 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.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 { InsertError } from './InsertError.js';
18
18
  export interface InsertResponse {
19
19
  /**
20
20
  *
21
- * @type {boolean}
22
- * @memberof InsertResponse
23
21
  */
24
22
  wasAcknowledged: boolean;
25
23
  /**
26
24
  *
27
- * @type {Array<string>}
28
- * @memberof InsertResponse
29
25
  */
30
26
  insertedIds?: Array<string>;
31
27
  /**
32
28
  *
33
- * @type {number}
34
- * @memberof InsertResponse
35
29
  */
36
30
  insertedCount?: number;
37
31
  /**
38
32
  *
39
- * @type {Array<InsertError>}
40
- * @memberof InsertResponse
41
33
  */
42
34
  errors?: Array<InsertError>;
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.8.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,38 +17,26 @@
17
17
  export interface JobConfig {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof JobConfig
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof JobConfig
28
24
  */
29
25
  className: string;
30
26
  /**
31
27
  *
32
- * @type {string}
33
- * @memberof JobConfig
34
28
  */
35
29
  description: string;
36
30
  /**
37
31
  *
38
- * @type {string}
39
- * @memberof JobConfig
40
32
  */
41
33
  cronExpression: string;
42
34
  /**
43
35
  *
44
- * @type {string}
45
- * @memberof JobConfig
46
36
  */
47
37
  group: string;
48
38
  /**
49
39
  *
50
- * @type {number}
51
- * @memberof JobConfig
52
40
  */
53
41
  priority: number;
54
42
  }
@@ -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 JobInformation {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof JobInformation
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof JobInformation
28
24
  */
29
25
  group: string;
30
26
  /**
31
27
  *
32
- * @type {string}
33
- * @memberof JobInformation
34
28
  */
35
29
  jobClassName: string;
36
30
  /**
37
31
  *
38
- * @type {string}
39
- * @memberof JobInformation
40
32
  */
41
33
  description?: string;
42
34
  /**
43
35
  *
44
- * @type {string}
45
- * @memberof JobInformation
46
36
  */
47
37
  cronExpression: string;
48
38
  /**
49
39
  *
50
- * @type {number}
51
- * @memberof JobInformation
52
40
  */
53
41
  priority: number;
54
42
  /**
55
43
  *
56
- * @type {Date}
57
- * @memberof JobInformation
58
44
  */
59
45
  lastScheduledFireTime?: Date;
60
46
  /**
61
47
  *
62
- * @type {Date}
63
- * @memberof JobInformation
64
48
  */
65
49
  nextScheduledFireTime?: Date;
66
50
  /**
67
51
  *
68
- * @type {string}
69
- * @memberof JobInformation
70
52
  */
71
53
  scheduleInformation?: string;
72
54
  }
@@ -1,3 +1,4 @@
1
+ import { parseDateTime, serializeDateTime } from "../runtime.js";
1
2
  export function instanceOfJobInformation(value) {
2
3
  if (!("name" in value) || value["name"] === void 0) return false;
3
4
  if (!("group" in value) || value["group"] === void 0) return false;
@@ -20,8 +21,8 @@ export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
20
21
  "description": json["description"] == null ? void 0 : json["description"],
21
22
  "cronExpression": json["cronExpression"],
22
23
  "priority": json["priority"],
23
- "lastScheduledFireTime": json["lastScheduledFireTime"] == null ? void 0 : new Date(json["lastScheduledFireTime"]),
24
- "nextScheduledFireTime": json["nextScheduledFireTime"] == null ? void 0 : new Date(json["nextScheduledFireTime"]),
24
+ "lastScheduledFireTime": json["lastScheduledFireTime"] == null ? void 0 : parseDateTime(json["lastScheduledFireTime"]),
25
+ "nextScheduledFireTime": json["nextScheduledFireTime"] == null ? void 0 : parseDateTime(json["nextScheduledFireTime"]),
25
26
  "scheduleInformation": json["scheduleInformation"] == null ? void 0 : json["scheduleInformation"]
26
27
  };
27
28
  }
@@ -39,8 +40,8 @@ export function JobInformationToJSONTyped(value, ignoreDiscriminator = false) {
39
40
  "description": value["description"],
40
41
  "cronExpression": value["cronExpression"],
41
42
  "priority": value["priority"],
42
- "lastScheduledFireTime": value["lastScheduledFireTime"] == null ? value["lastScheduledFireTime"] : value["lastScheduledFireTime"].toISOString(),
43
- "nextScheduledFireTime": value["nextScheduledFireTime"] == null ? value["nextScheduledFireTime"] : value["nextScheduledFireTime"].toISOString(),
43
+ "lastScheduledFireTime": value["lastScheduledFireTime"] == null ? value["lastScheduledFireTime"] : serializeDateTime(value["lastScheduledFireTime"]),
44
+ "nextScheduledFireTime": value["nextScheduledFireTime"] == null ? value["nextScheduledFireTime"] : serializeDateTime(value["nextScheduledFireTime"]),
44
45
  "scheduleInformation": value["scheduleInformation"]
45
46
  };
46
47
  }
@@ -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,20 +18,14 @@ import type { JsonSchemaDefinition } from './JsonSchemaDefinition.js';
18
18
  export interface JsonSchema {
19
19
  /**
20
20
  *
21
- * @type {string}
22
- * @memberof JsonSchema
23
21
  */
24
22
  $schema: string;
25
23
  /**
26
24
  *
27
- * @type {string}
28
- * @memberof JsonSchema
29
25
  */
30
26
  $ref: string;
31
27
  /**
32
28
  *
33
- * @type {{ [key: string]: JsonSchemaDefinition; }}
34
- * @memberof JsonSchema
35
29
  */
36
30
  definitions: {
37
31
  [key: string]: JsonSchemaDefinition;
@@ -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,36 +17,26 @@
17
17
  export interface JsonSchemaDefinition {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof JsonSchemaDefinition
22
20
  */
23
21
  type: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof JsonSchemaDefinition
28
24
  */
29
25
  title: string;
30
26
  /**
31
27
  *
32
- * @type {boolean}
33
- * @memberof JsonSchemaDefinition
34
28
  */
35
29
  additionalProperties: boolean;
36
30
  /**
37
31
  *
38
- * @type {Array<string>}
39
- * @memberof JsonSchemaDefinition
40
32
  */
41
33
  required?: Array<string>;
42
34
  /**
43
35
  *
44
- * @type {{ [key: string]: { [key: string]: any; }; }}
45
- * @memberof JsonSchemaDefinition
46
36
  */
47
37
  properties: {
48
38
  [key: string]: {
49
- [key: string]: any;
39
+ [key: string]: any | null;
50
40
  };
51
41
  };
52
42
  }
@@ -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,8 +17,6 @@
17
17
  export interface JsonValueAny {
18
18
  /**
19
19
  *
20
- * @type {any}
21
- * @memberof JsonValueAny
22
20
  */
23
21
  value: any | null;
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.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 JsonValueBoolean {
18
18
  /**
19
19
  *
20
- * @type {boolean}
21
- * @memberof JsonValueBoolean
22
20
  */
23
21
  value: boolean;
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.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 JsonValueString {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof JsonValueString
22
20
  */
23
21
  value: 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.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 Login {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof Login
22
20
  */
23
21
  userId: string;
24
22
  /**
25
23
  *
26
- * @type {string}
27
- * @memberof Login
28
24
  */
29
25
  password: string;
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.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 { UserProfile } from './UserProfile.js';
18
18
  export interface LoginResult {
19
19
  /**
20
20
  *
21
- * @type {string}
22
- * @memberof LoginResult
23
21
  */
24
22
  authToken: string;
25
23
  /**
26
24
  *
27
- * @type {UserProfile}
28
- * @memberof LoginResult
29
25
  */
30
26
  userProfile: UserProfile;
31
27
  /**
32
28
  *
33
- * @type {Date}
34
- * @memberof LoginResult
35
29
  */
36
30
  expirationDate: Date;
37
31
  }
@@ -1,3 +1,4 @@
1
+ import { parseDateTime, serializeDateTime } from "../runtime.js";
1
2
  import {
2
3
  UserProfileFromJSON,
3
4
  UserProfileToJSON
@@ -18,7 +19,7 @@ export function LoginResultFromJSONTyped(json, ignoreDiscriminator) {
18
19
  return {
19
20
  "authToken": json["authToken"],
20
21
  "userProfile": UserProfileFromJSON(json["userProfile"]),
21
- "expirationDate": new Date(json["expirationDate"])
22
+ "expirationDate": json["expirationDate"] == null ? json["expirationDate"] : parseDateTime(json["expirationDate"])
22
23
  };
23
24
  }
24
25
  export function LoginResultToJSON(json) {
@@ -31,6 +32,6 @@ export function LoginResultToJSONTyped(value, ignoreDiscriminator = false) {
31
32
  return {
32
33
  "authToken": value["authToken"],
33
34
  "userProfile": UserProfileToJSON(value["userProfile"]),
34
- "expirationDate": value["expirationDate"].toISOString()
35
+ "expirationDate": value["expirationDate"] == null ? value["expirationDate"] : serializeDateTime(value["expirationDate"])
35
36
  };
36
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.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 { PipelineStage } from './PipelineStage.js';
18
18
  export interface MongoAggregateRequest {
19
19
  /**
20
20
  *
21
- * @type {Array<PipelineStage>}
22
- * @memberof MongoAggregateRequest
23
21
  */
24
22
  pipeline?: Array<PipelineStage>;
25
23
  /**
26
24
  *
27
- * @type {boolean}
28
- * @memberof MongoAggregateRequest
29
25
  */
30
26
  allowDiskUse: boolean;
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 MongoCampConfiguration {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof MongoCampConfiguration
22
20
  */
23
21
  key: string;
24
22
  /**
25
23
  *
26
- * @type {any}
27
- * @memberof MongoCampConfiguration
28
24
  */
29
25
  value: any | null;
30
26
  /**
31
27
  *
32
- * @type {string}
33
- * @memberof MongoCampConfiguration
34
28
  */
35
29
  configType: string;
36
30
  /**
37
31
  *
38
- * @type {string}
39
- * @memberof MongoCampConfiguration
40
32
  */
41
33
  comment: string;
42
34
  /**
43
35
  *
44
- * @type {boolean}
45
- * @memberof MongoCampConfiguration
46
36
  */
47
37
  needsRestartForActivation: 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,27 +17,21 @@
17
17
  export interface MongoFindRequest {
18
18
  /**
19
19
  *
20
- * @type {{ [key: string]: any; }}
21
- * @memberof MongoFindRequest
22
20
  */
23
21
  filter: {
24
- [key: string]: any;
22
+ [key: string]: any | null;
25
23
  };
26
24
  /**
27
25
  *
28
- * @type {{ [key: string]: any; }}
29
- * @memberof MongoFindRequest
30
26
  */
31
27
  sort: {
32
- [key: string]: any;
28
+ [key: string]: any | null;
33
29
  };
34
30
  /**
35
31
  *
36
- * @type {{ [key: string]: any; }}
37
- * @memberof MongoFindRequest
38
32
  */
39
33
  projection: {
40
- [key: string]: any;
34
+ [key: string]: any | null;
41
35
  };
42
36
  }
43
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.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,81 +17,57 @@
17
17
  export interface MongoIndex {
18
18
  /**
19
19
  *
20
- * @type {string}
21
- * @memberof MongoIndex
22
20
  */
23
21
  name: string;
24
22
  /**
25
23
  *
26
- * @type {Array<string>}
27
- * @memberof MongoIndex
28
24
  */
29
25
  fields?: Array<string>;
30
26
  /**
31
27
  *
32
- * @type {boolean}
33
- * @memberof MongoIndex
34
28
  */
35
29
  unique: boolean;
36
30
  /**
37
31
  *
38
- * @type {number}
39
- * @memberof MongoIndex
40
32
  */
41
33
  version: number;
42
34
  /**
43
35
  *
44
- * @type {string}
45
- * @memberof MongoIndex
46
36
  */
47
37
  namespace: string;
48
38
  /**
49
39
  *
50
- * @type {{ [key: string]: any; }}
51
- * @memberof MongoIndex
52
40
  */
53
41
  keys: {
54
- [key: string]: any;
42
+ [key: string]: any | null;
55
43
  };
56
44
  /**
57
45
  *
58
- * @type {{ [key: string]: any; }}
59
- * @memberof MongoIndex
60
46
  */
61
47
  weights: {
62
- [key: string]: any;
48
+ [key: string]: any | null;
63
49
  };
64
50
  /**
65
51
  *
66
- * @type {boolean}
67
- * @memberof MongoIndex
68
52
  */
69
53
  expire: boolean;
70
54
  /**
71
55
  *
72
- * @type {number}
73
- * @memberof MongoIndex
74
56
  */
75
57
  expireAfterSeconds: number;
76
58
  /**
77
59
  *
78
- * @type {boolean}
79
- * @memberof MongoIndex
80
60
  */
81
61
  text: boolean;
82
62
  /**
83
63
  *
84
- * @type {Date}
85
- * @memberof MongoIndex
86
64
  */
87
65
  fetched: Date;
88
66
  /**
89
67
  *
90
- * @type {{ [key: string]: any; }}
91
- * @memberof MongoIndex
92
68
  */
93
69
  map: {
94
- [key: string]: any;
70
+ [key: string]: any | null;
95
71
  };
96
72
  }
97
73
  /**
@@ -1,3 +1,4 @@
1
+ import { parseDateTime, serializeDateTime } from "../runtime.js";
1
2
  export function instanceOfMongoIndex(value) {
2
3
  if (!("name" in value) || value["name"] === void 0) return false;
3
4
  if (!("unique" in value) || value["unique"] === void 0) return false;
@@ -30,7 +31,7 @@ export function MongoIndexFromJSONTyped(json, ignoreDiscriminator) {
30
31
  "expire": json["expire"],
31
32
  "expireAfterSeconds": json["expireAfterSeconds"],
32
33
  "text": json["text"],
33
- "fetched": new Date(json["fetched"]),
34
+ "fetched": json["fetched"] == null ? json["fetched"] : parseDateTime(json["fetched"]),
34
35
  "map": json["map"]
35
36
  };
36
37
  }
@@ -52,7 +53,7 @@ export function MongoIndexToJSONTyped(value, ignoreDiscriminator = false) {
52
53
  "expire": value["expire"],
53
54
  "expireAfterSeconds": value["expireAfterSeconds"],
54
55
  "text": value["text"],
55
- "fetched": value["fetched"].toISOString(),
56
+ "fetched": value["fetched"] == null ? value["fetched"] : serializeDateTime(value["fetched"]),
56
57
  "map": value["map"]
57
58
  };
58
59
  }
@@ -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,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.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 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
  }