@sfxcode/nuxt-mongocamp-server 1.2.1 → 1.2.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 (131) hide show
  1. package/README.md +1 -1
  2. package/dist/module.d.mts +1 -1
  3. package/dist/module.d.ts +1 -1
  4. package/dist/module.json +5 -1
  5. package/dist/module.mjs +1 -1
  6. package/dist/runtime/api/apis/AdminApi.d.ts +3 -3
  7. package/dist/runtime/api/apis/{AdminApi.mjs → AdminApi.js} +2 -2
  8. package/dist/runtime/api/apis/ApplicationApi.d.ts +16 -3
  9. package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +41 -2
  10. package/dist/runtime/api/apis/AuthApi.d.ts +3 -3
  11. package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +2 -2
  12. package/dist/runtime/api/apis/BucketApi.d.ts +3 -3
  13. package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +2 -2
  14. package/dist/runtime/api/apis/CollectionApi.d.ts +6 -6
  15. package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +2 -2
  16. package/dist/runtime/api/apis/DatabaseApi.d.ts +3 -3
  17. package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +2 -2
  18. package/dist/runtime/api/apis/DocumentApi.d.ts +3 -3
  19. package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +2 -2
  20. package/dist/runtime/api/apis/FileApi.d.ts +3 -3
  21. package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +2 -2
  22. package/dist/runtime/api/apis/IndexApi.d.ts +3 -3
  23. package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +2 -2
  24. package/dist/runtime/api/apis/InformationApi.d.ts +3 -3
  25. package/dist/runtime/api/apis/{InformationApi.mjs → InformationApi.js} +2 -2
  26. package/dist/runtime/api/apis/JobsApi.d.ts +3 -3
  27. package/dist/runtime/api/apis/{JobsApi.mjs → JobsApi.js} +2 -2
  28. package/dist/runtime/api/apis/index.d.ts +11 -11
  29. package/dist/runtime/api/apis/index.js +11 -0
  30. package/dist/runtime/api/index.d.ts +3 -3
  31. package/dist/runtime/api/index.js +3 -0
  32. package/dist/runtime/api/models/BucketInformation.d.ts +4 -3
  33. package/dist/runtime/api/models/{BucketInformation.mjs → BucketInformation.js} +8 -9
  34. package/dist/runtime/api/models/CollectionStatus.d.ts +4 -3
  35. package/dist/runtime/api/models/{CollectionStatus.mjs → CollectionStatus.js} +17 -27
  36. package/dist/runtime/api/models/DatabaseInfo.d.ts +4 -3
  37. package/dist/runtime/api/models/{DatabaseInfo.mjs → DatabaseInfo.js} +9 -11
  38. package/dist/runtime/api/models/DeleteResponse.d.ts +4 -3
  39. package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +6 -5
  40. package/dist/runtime/api/models/ErrorDescription.d.ts +4 -3
  41. package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +7 -7
  42. package/dist/runtime/api/models/FileInformation.d.ts +4 -3
  43. package/dist/runtime/api/models/{FileInformation.mjs → FileInformation.js} +10 -13
  44. package/dist/runtime/api/models/Grant.d.ts +4 -3
  45. package/dist/runtime/api/models/{Grant.mjs → Grant.js} +9 -11
  46. package/dist/runtime/api/models/IndexCreateRequest.d.ts +5 -4
  47. package/dist/runtime/api/models/{IndexCreateRequest.mjs → IndexCreateRequest.js} +6 -4
  48. package/dist/runtime/api/models/IndexCreateResponse.d.ts +4 -3
  49. package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +5 -3
  50. package/dist/runtime/api/models/IndexDropResponse.d.ts +4 -3
  51. package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +5 -3
  52. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +4 -3
  53. package/dist/runtime/api/models/{IndexOptionsRequest.mjs → IndexOptionsRequest.js} +4 -1
  54. package/dist/runtime/api/models/InsertResponse.d.ts +4 -3
  55. package/dist/runtime/api/models/{InsertResponse.mjs → InsertResponse.js} +5 -3
  56. package/dist/runtime/api/models/JobConfig.d.ts +4 -3
  57. package/dist/runtime/api/models/{JobConfig.mjs → JobConfig.js} +10 -13
  58. package/dist/runtime/api/models/JobInformation.d.ts +4 -3
  59. package/dist/runtime/api/models/{JobInformation.mjs → JobInformation.js} +10 -13
  60. package/dist/runtime/api/models/JsonSchema.d.ts +5 -4
  61. package/dist/runtime/api/models/JsonSchema.js +37 -0
  62. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +4 -3
  63. package/dist/runtime/api/models/{JsonSchemaDefinition.mjs → JsonSchemaDefinition.js} +8 -9
  64. package/dist/runtime/api/models/JsonValueAny.d.ts +4 -3
  65. package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +5 -3
  66. package/dist/runtime/api/models/JsonValueBoolean.d.ts +4 -3
  67. package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +5 -3
  68. package/dist/runtime/api/models/JsonValueString.d.ts +4 -3
  69. package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +5 -3
  70. package/dist/runtime/api/models/Login.d.ts +4 -3
  71. package/dist/runtime/api/models/{Login.mjs → Login.js} +6 -5
  72. package/dist/runtime/api/models/LoginResult.d.ts +5 -4
  73. package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +8 -8
  74. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +5 -4
  75. package/dist/runtime/api/models/{MongoAggregateRequest.mjs → MongoAggregateRequest.js} +6 -4
  76. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +4 -3
  77. package/dist/runtime/api/models/{MongoCampConfiguration.mjs → MongoCampConfiguration.js} +9 -11
  78. package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -3
  79. package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +7 -7
  80. package/dist/runtime/api/models/MongoIndex.d.ts +4 -3
  81. package/dist/runtime/api/models/{MongoIndex.mjs → MongoIndex.js} +15 -23
  82. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +4 -3
  83. package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +5 -3
  84. package/dist/runtime/api/models/PipelineStage.d.ts +4 -3
  85. package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +6 -5
  86. package/dist/runtime/api/models/Role.d.ts +5 -4
  87. package/dist/runtime/api/models/{Role.mjs → Role.js} +7 -6
  88. package/dist/runtime/api/models/SchemaAnalysis.d.ts +5 -4
  89. package/dist/runtime/api/models/{SchemaAnalysis.mjs → SchemaAnalysis.js} +8 -8
  90. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +5 -4
  91. package/dist/runtime/api/models/{SchemaAnalysisField.mjs → SchemaAnalysisField.js} +9 -10
  92. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +4 -3
  93. package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +7 -7
  94. package/dist/runtime/api/models/SettingsResponse.d.ts +4 -3
  95. package/dist/runtime/api/models/{SettingsResponse.mjs → SettingsResponse.js} +5 -3
  96. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +4 -3
  97. package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js} +4 -1
  98. package/dist/runtime/api/models/UpdateRequest.d.ts +4 -3
  99. package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +6 -5
  100. package/dist/runtime/api/models/UpdateResponse.d.ts +4 -3
  101. package/dist/runtime/api/models/{UpdateResponse.mjs → UpdateResponse.js} +7 -7
  102. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +5 -4
  103. package/dist/runtime/api/models/{UpdateRoleRequest.mjs → UpdateRoleRequest.js} +6 -4
  104. package/dist/runtime/api/models/UserInformation.d.ts +4 -3
  105. package/dist/runtime/api/models/{UserInformation.mjs → UserInformation.js} +6 -5
  106. package/dist/runtime/api/models/UserProfile.d.ts +5 -4
  107. package/dist/runtime/api/models/{UserProfile.mjs → UserProfile.js} +7 -6
  108. package/dist/runtime/api/models/Version.d.ts +4 -3
  109. package/dist/runtime/api/models/{Version.mjs → Version.js} +7 -7
  110. package/dist/runtime/api/models/index.d.ts +39 -39
  111. package/dist/runtime/api/models/index.js +39 -0
  112. package/dist/runtime/api/runtime.d.ts +1 -1
  113. package/dist/runtime/composables/mongocampApi.d.ts +1 -1
  114. package/dist/runtime/composables/{mongocampApi.mjs → mongocampApi.js} +3 -3
  115. package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
  116. package/dist/runtime/composables/{mongocampAuth.mjs → mongocampAuth.js} +3 -3
  117. package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
  118. package/dist/runtime/composables/{mongocampSearch.mjs → mongocampSearch.js} +1 -1
  119. package/dist/runtime/composables/mongocampStorage.d.ts +5 -0
  120. package/dist/runtime/composables/mongocampUser.d.ts +1 -1
  121. package/dist/types.d.mts +1 -16
  122. package/dist/types.d.ts +1 -16
  123. package/package.json +18 -20
  124. package/dist/runtime/api/apis/index.mjs +0 -11
  125. package/dist/runtime/api/index.mjs +0 -3
  126. package/dist/runtime/api/models/JsonSchema.mjs +0 -32
  127. package/dist/runtime/api/models/index.mjs +0 -39
  128. /package/dist/runtime/api/{runtime.mjs → runtime.js} +0 -0
  129. /package/dist/runtime/composables/{mongocampStorage.mjs → mongocampStorage.js} +0 -0
  130. /package/dist/runtime/composables/{mongocampUrl.mjs → mongocampUrl.js} +0 -0
  131. /package/dist/runtime/composables/{mongocampUser.mjs → mongocampUser.js} +0 -0
@@ -2,14 +2,14 @@
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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { JsonSchemaDefinition } from './JsonSchemaDefinition';
12
+ import type { JsonSchemaDefinition } from './JsonSchemaDefinition.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -40,7 +40,8 @@ export interface JsonSchema {
40
40
  /**
41
41
  * Check if a given object implements the JsonSchema interface.
42
42
  */
43
- export declare function instanceOfJsonSchema(value: object): boolean;
43
+ export declare function instanceOfJsonSchema(value: object): value is JsonSchema;
44
44
  export declare function JsonSchemaFromJSON(json: any): JsonSchema;
45
45
  export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema;
46
- export declare function JsonSchemaToJSON(value?: JsonSchema | null): any;
46
+ export declare function JsonSchemaToJSON(json: any): JsonSchema;
47
+ export declare function JsonSchemaToJSONTyped(value?: JsonSchema | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,37 @@
1
+ import { mapValues } from "../runtime.js";
2
+ import {
3
+ JsonSchemaDefinitionFromJSON,
4
+ JsonSchemaDefinitionToJSON
5
+ } from "./JsonSchemaDefinition.js";
6
+ export function instanceOfJsonSchema(value) {
7
+ if (!("$schema" in value) || value["$schema"] === void 0) return false;
8
+ if (!("$ref" in value) || value["$ref"] === void 0) return false;
9
+ if (!("definitions" in value) || value["definitions"] === void 0) return false;
10
+ return true;
11
+ }
12
+ export function JsonSchemaFromJSON(json) {
13
+ return JsonSchemaFromJSONTyped(json, false);
14
+ }
15
+ export function JsonSchemaFromJSONTyped(json, ignoreDiscriminator) {
16
+ if (json == null) {
17
+ return json;
18
+ }
19
+ return {
20
+ "$schema": json["$schema"],
21
+ "$ref": json["$ref"],
22
+ "definitions": mapValues(json["definitions"], JsonSchemaDefinitionFromJSON)
23
+ };
24
+ }
25
+ export function JsonSchemaToJSON(json) {
26
+ return JsonSchemaToJSONTyped(json, false);
27
+ }
28
+ export function JsonSchemaToJSONTyped(value, ignoreDiscriminator = false) {
29
+ if (value == null) {
30
+ return value;
31
+ }
32
+ return {
33
+ "$schema": value["$schema"],
34
+ "$ref": value["$ref"],
35
+ "definitions": mapValues(value["definitions"], JsonSchemaDefinitionToJSON)
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,7 +53,8 @@ export interface JsonSchemaDefinition {
53
53
  /**
54
54
  * Check if a given object implements the JsonSchemaDefinition interface.
55
55
  */
56
- export declare function instanceOfJsonSchemaDefinition(value: object): boolean;
56
+ export declare function instanceOfJsonSchemaDefinition(value: object): value is JsonSchemaDefinition;
57
57
  export declare function JsonSchemaDefinitionFromJSON(json: any): JsonSchemaDefinition;
58
58
  export declare function JsonSchemaDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchemaDefinition;
59
- export declare function JsonSchemaDefinitionToJSON(value?: JsonSchemaDefinition | null): any;
59
+ export declare function JsonSchemaDefinitionToJSON(json: any): JsonSchemaDefinition;
60
+ export declare function JsonSchemaDefinitionToJSONTyped(value?: JsonSchemaDefinition | null, ignoreDiscriminator?: boolean): any;
@@ -1,12 +1,8 @@
1
1
  export function instanceOfJsonSchemaDefinition(value) {
2
- if (!("type" in value))
3
- return false;
4
- if (!("title" in value))
5
- return false;
6
- if (!("additionalProperties" in value))
7
- return false;
8
- if (!("properties" in value))
9
- return false;
2
+ if (!("type" in value) || value["type"] === void 0) return false;
3
+ if (!("title" in value) || value["title"] === void 0) return false;
4
+ if (!("additionalProperties" in value) || value["additionalProperties"] === void 0) return false;
5
+ if (!("properties" in value) || value["properties"] === void 0) return false;
10
6
  return true;
11
7
  }
12
8
  export function JsonSchemaDefinitionFromJSON(json) {
@@ -24,7 +20,10 @@ export function JsonSchemaDefinitionFromJSONTyped(json, ignoreDiscriminator) {
24
20
  "properties": json["properties"]
25
21
  };
26
22
  }
27
- export function JsonSchemaDefinitionToJSON(value) {
23
+ export function JsonSchemaDefinitionToJSON(json) {
24
+ return JsonSchemaDefinitionToJSONTyped(json, false);
25
+ }
26
+ export function JsonSchemaDefinitionToJSONTyped(value, ignoreDiscriminator = false) {
28
27
  if (value == null) {
29
28
  return value;
30
29
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,8 @@ export interface JsonValueAny {
25
25
  /**
26
26
  * Check if a given object implements the JsonValueAny interface.
27
27
  */
28
- export declare function instanceOfJsonValueAny(value: object): boolean;
28
+ export declare function instanceOfJsonValueAny(value: object): value is JsonValueAny;
29
29
  export declare function JsonValueAnyFromJSON(json: any): JsonValueAny;
30
30
  export declare function JsonValueAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueAny;
31
- export declare function JsonValueAnyToJSON(value?: JsonValueAny | null): any;
31
+ export declare function JsonValueAnyToJSON(json: any): JsonValueAny;
32
+ export declare function JsonValueAnyToJSONTyped(value?: JsonValueAny | null, ignoreDiscriminator?: boolean): any;
@@ -1,6 +1,5 @@
1
1
  export function instanceOfJsonValueAny(value) {
2
- if (!("value" in value))
3
- return false;
2
+ if (!("value" in value) || value["value"] === void 0) return false;
4
3
  return true;
5
4
  }
6
5
  export function JsonValueAnyFromJSON(json) {
@@ -14,7 +13,10 @@ export function JsonValueAnyFromJSONTyped(json, ignoreDiscriminator) {
14
13
  "value": json["value"]
15
14
  };
16
15
  }
17
- export function JsonValueAnyToJSON(value) {
16
+ export function JsonValueAnyToJSON(json) {
17
+ return JsonValueAnyToJSONTyped(json, false);
18
+ }
19
+ export function JsonValueAnyToJSONTyped(value, ignoreDiscriminator = false) {
18
20
  if (value == null) {
19
21
  return value;
20
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,8 @@ export interface JsonValueBoolean {
25
25
  /**
26
26
  * Check if a given object implements the JsonValueBoolean interface.
27
27
  */
28
- export declare function instanceOfJsonValueBoolean(value: object): boolean;
28
+ export declare function instanceOfJsonValueBoolean(value: object): value is JsonValueBoolean;
29
29
  export declare function JsonValueBooleanFromJSON(json: any): JsonValueBoolean;
30
30
  export declare function JsonValueBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueBoolean;
31
- export declare function JsonValueBooleanToJSON(value?: JsonValueBoolean | null): any;
31
+ export declare function JsonValueBooleanToJSON(json: any): JsonValueBoolean;
32
+ export declare function JsonValueBooleanToJSONTyped(value?: JsonValueBoolean | null, ignoreDiscriminator?: boolean): any;
@@ -1,6 +1,5 @@
1
1
  export function instanceOfJsonValueBoolean(value) {
2
- if (!("value" in value))
3
- return false;
2
+ if (!("value" in value) || value["value"] === void 0) return false;
4
3
  return true;
5
4
  }
6
5
  export function JsonValueBooleanFromJSON(json) {
@@ -14,7 +13,10 @@ export function JsonValueBooleanFromJSONTyped(json, ignoreDiscriminator) {
14
13
  "value": json["value"]
15
14
  };
16
15
  }
17
- export function JsonValueBooleanToJSON(value) {
16
+ export function JsonValueBooleanToJSON(json) {
17
+ return JsonValueBooleanToJSONTyped(json, false);
18
+ }
19
+ export function JsonValueBooleanToJSONTyped(value, ignoreDiscriminator = false) {
18
20
  if (value == null) {
19
21
  return value;
20
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,8 @@ export interface JsonValueString {
25
25
  /**
26
26
  * Check if a given object implements the JsonValueString interface.
27
27
  */
28
- export declare function instanceOfJsonValueString(value: object): boolean;
28
+ export declare function instanceOfJsonValueString(value: object): value is JsonValueString;
29
29
  export declare function JsonValueStringFromJSON(json: any): JsonValueString;
30
30
  export declare function JsonValueStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueString;
31
- export declare function JsonValueStringToJSON(value?: JsonValueString | null): any;
31
+ export declare function JsonValueStringToJSON(json: any): JsonValueString;
32
+ export declare function JsonValueStringToJSONTyped(value?: JsonValueString | null, ignoreDiscriminator?: boolean): any;
@@ -1,6 +1,5 @@
1
1
  export function instanceOfJsonValueString(value) {
2
- if (!("value" in value))
3
- return false;
2
+ if (!("value" in value) || value["value"] === void 0) return false;
4
3
  return true;
5
4
  }
6
5
  export function JsonValueStringFromJSON(json) {
@@ -14,7 +13,10 @@ export function JsonValueStringFromJSONTyped(json, ignoreDiscriminator) {
14
13
  "value": json["value"]
15
14
  };
16
15
  }
17
- export function JsonValueStringToJSON(value) {
16
+ export function JsonValueStringToJSON(json) {
17
+ return JsonValueStringToJSONTyped(json, false);
18
+ }
19
+ export function JsonValueStringToJSONTyped(value, ignoreDiscriminator = false) {
18
20
  if (value == null) {
19
21
  return value;
20
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,8 @@ export interface Login {
31
31
  /**
32
32
  * Check if a given object implements the Login interface.
33
33
  */
34
- export declare function instanceOfLogin(value: object): boolean;
34
+ export declare function instanceOfLogin(value: object): value is Login;
35
35
  export declare function LoginFromJSON(json: any): Login;
36
36
  export declare function LoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): Login;
37
- export declare function LoginToJSON(value?: Login | null): any;
37
+ export declare function LoginToJSON(json: any): Login;
38
+ export declare function LoginToJSONTyped(value?: Login | null, ignoreDiscriminator?: boolean): any;
@@ -1,8 +1,6 @@
1
1
  export function instanceOfLogin(value) {
2
- if (!("userId" in value))
3
- return false;
4
- if (!("password" in value))
5
- return false;
2
+ if (!("userId" in value) || value["userId"] === void 0) return false;
3
+ if (!("password" in value) || value["password"] === void 0) return false;
6
4
  return true;
7
5
  }
8
6
  export function LoginFromJSON(json) {
@@ -17,7 +15,10 @@ export function LoginFromJSONTyped(json, ignoreDiscriminator) {
17
15
  "password": json["password"]
18
16
  };
19
17
  }
20
- export function LoginToJSON(value) {
18
+ export function LoginToJSON(json) {
19
+ return LoginToJSONTyped(json, false);
20
+ }
21
+ export function LoginToJSONTyped(value, ignoreDiscriminator = false) {
21
22
  if (value == null) {
22
23
  return value;
23
24
  }
@@ -2,14 +2,14 @@
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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { UserProfile } from './UserProfile';
12
+ import type { UserProfile } from './UserProfile.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -38,7 +38,8 @@ export interface LoginResult {
38
38
  /**
39
39
  * Check if a given object implements the LoginResult interface.
40
40
  */
41
- export declare function instanceOfLoginResult(value: object): boolean;
41
+ export declare function instanceOfLoginResult(value: object): value is LoginResult;
42
42
  export declare function LoginResultFromJSON(json: any): LoginResult;
43
43
  export declare function LoginResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResult;
44
- export declare function LoginResultToJSON(value?: LoginResult | null): any;
44
+ export declare function LoginResultToJSON(json: any): LoginResult;
45
+ export declare function LoginResultToJSONTyped(value?: LoginResult | null, ignoreDiscriminator?: boolean): any;
@@ -1,14 +1,11 @@
1
1
  import {
2
2
  UserProfileFromJSON,
3
3
  UserProfileToJSON
4
- } from "./UserProfile.mjs";
4
+ } from "./UserProfile.js";
5
5
  export function instanceOfLoginResult(value) {
6
- if (!("authToken" in value))
7
- return false;
8
- if (!("userProfile" in value))
9
- return false;
10
- if (!("expirationDate" in value))
11
- return false;
6
+ if (!("authToken" in value) || value["authToken"] === void 0) return false;
7
+ if (!("userProfile" in value) || value["userProfile"] === void 0) return false;
8
+ if (!("expirationDate" in value) || value["expirationDate"] === void 0) return false;
12
9
  return true;
13
10
  }
14
11
  export function LoginResultFromJSON(json) {
@@ -24,7 +21,10 @@ export function LoginResultFromJSONTyped(json, ignoreDiscriminator) {
24
21
  "expirationDate": new Date(json["expirationDate"])
25
22
  };
26
23
  }
27
- export function LoginResultToJSON(value) {
24
+ export function LoginResultToJSON(json) {
25
+ return LoginResultToJSONTyped(json, false);
26
+ }
27
+ export function LoginResultToJSONTyped(value, ignoreDiscriminator = false) {
28
28
  if (value == null) {
29
29
  return value;
30
30
  }
@@ -2,14 +2,14 @@
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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PipelineStage } from './PipelineStage';
12
+ import type { PipelineStage } from './PipelineStage.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -32,7 +32,8 @@ export interface MongoAggregateRequest {
32
32
  /**
33
33
  * Check if a given object implements the MongoAggregateRequest interface.
34
34
  */
35
- export declare function instanceOfMongoAggregateRequest(value: object): boolean;
35
+ export declare function instanceOfMongoAggregateRequest(value: object): value is MongoAggregateRequest;
36
36
  export declare function MongoAggregateRequestFromJSON(json: any): MongoAggregateRequest;
37
37
  export declare function MongoAggregateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoAggregateRequest;
38
- export declare function MongoAggregateRequestToJSON(value?: MongoAggregateRequest | null): any;
38
+ export declare function MongoAggregateRequestToJSON(json: any): MongoAggregateRequest;
39
+ export declare function MongoAggregateRequestToJSONTyped(value?: MongoAggregateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,10 +1,9 @@
1
1
  import {
2
2
  PipelineStageFromJSON,
3
3
  PipelineStageToJSON
4
- } from "./PipelineStage.mjs";
4
+ } from "./PipelineStage.js";
5
5
  export function instanceOfMongoAggregateRequest(value) {
6
- if (!("allowDiskUse" in value))
7
- return false;
6
+ if (!("allowDiskUse" in value) || value["allowDiskUse"] === void 0) return false;
8
7
  return true;
9
8
  }
10
9
  export function MongoAggregateRequestFromJSON(json) {
@@ -19,7 +18,10 @@ export function MongoAggregateRequestFromJSONTyped(json, ignoreDiscriminator) {
19
18
  "allowDiskUse": json["allowDiskUse"]
20
19
  };
21
20
  }
22
- export function MongoAggregateRequestToJSON(value) {
21
+ export function MongoAggregateRequestToJSON(json) {
22
+ return MongoAggregateRequestToJSONTyped(json, false);
23
+ }
24
+ export function MongoAggregateRequestToJSONTyped(value, ignoreDiscriminator = false) {
23
25
  if (value == null) {
24
26
  return value;
25
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,8 @@ export interface MongoCampConfiguration {
49
49
  /**
50
50
  * Check if a given object implements the MongoCampConfiguration interface.
51
51
  */
52
- export declare function instanceOfMongoCampConfiguration(value: object): boolean;
52
+ export declare function instanceOfMongoCampConfiguration(value: object): value is MongoCampConfiguration;
53
53
  export declare function MongoCampConfigurationFromJSON(json: any): MongoCampConfiguration;
54
54
  export declare function MongoCampConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoCampConfiguration;
55
- export declare function MongoCampConfigurationToJSON(value?: MongoCampConfiguration | null): any;
55
+ export declare function MongoCampConfigurationToJSON(json: any): MongoCampConfiguration;
56
+ export declare function MongoCampConfigurationToJSONTyped(value?: MongoCampConfiguration | null, ignoreDiscriminator?: boolean): any;
@@ -1,14 +1,9 @@
1
1
  export function instanceOfMongoCampConfiguration(value) {
2
- if (!("key" in value))
3
- return false;
4
- if (!("value" in value))
5
- return false;
6
- if (!("configType" in value))
7
- return false;
8
- if (!("comment" in value))
9
- return false;
10
- if (!("needsRestartForActivation" in value))
11
- return false;
2
+ if (!("key" in value) || value["key"] === void 0) return false;
3
+ if (!("value" in value) || value["value"] === void 0) return false;
4
+ if (!("configType" in value) || value["configType"] === void 0) return false;
5
+ if (!("comment" in value) || value["comment"] === void 0) return false;
6
+ if (!("needsRestartForActivation" in value) || value["needsRestartForActivation"] === void 0) return false;
12
7
  return true;
13
8
  }
14
9
  export function MongoCampConfigurationFromJSON(json) {
@@ -26,7 +21,10 @@ export function MongoCampConfigurationFromJSONTyped(json, ignoreDiscriminator) {
26
21
  "needsRestartForActivation": json["needsRestartForActivation"]
27
22
  };
28
23
  }
29
- export function MongoCampConfigurationToJSON(value) {
24
+ export function MongoCampConfigurationToJSON(json) {
25
+ return MongoCampConfigurationToJSONTyped(json, false);
26
+ }
27
+ export function MongoCampConfigurationToJSONTyped(value, ignoreDiscriminator = false) {
30
28
  if (value == null) {
31
29
  return value;
32
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43,7 +43,8 @@ export interface MongoFindRequest {
43
43
  /**
44
44
  * Check if a given object implements the MongoFindRequest interface.
45
45
  */
46
- export declare function instanceOfMongoFindRequest(value: object): boolean;
46
+ export declare function instanceOfMongoFindRequest(value: object): value is MongoFindRequest;
47
47
  export declare function MongoFindRequestFromJSON(json: any): MongoFindRequest;
48
48
  export declare function MongoFindRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoFindRequest;
49
- export declare function MongoFindRequestToJSON(value?: MongoFindRequest | null): any;
49
+ export declare function MongoFindRequestToJSON(json: any): MongoFindRequest;
50
+ export declare function MongoFindRequestToJSONTyped(value?: MongoFindRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,10 +1,7 @@
1
1
  export function instanceOfMongoFindRequest(value) {
2
- if (!("filter" in value))
3
- return false;
4
- if (!("sort" in value))
5
- return false;
6
- if (!("projection" in value))
7
- return false;
2
+ if (!("filter" in value) || value["filter"] === void 0) return false;
3
+ if (!("sort" in value) || value["sort"] === void 0) return false;
4
+ if (!("projection" in value) || value["projection"] === void 0) return false;
8
5
  return true;
9
6
  }
10
7
  export function MongoFindRequestFromJSON(json) {
@@ -20,7 +17,10 @@ export function MongoFindRequestFromJSONTyped(json, ignoreDiscriminator) {
20
17
  "projection": json["projection"]
21
18
  };
22
19
  }
23
- export function MongoFindRequestToJSON(value) {
20
+ export function MongoFindRequestToJSON(json) {
21
+ return MongoFindRequestToJSONTyped(json, false);
22
+ }
23
+ export function MongoFindRequestToJSONTyped(value, ignoreDiscriminator = false) {
24
24
  if (value == null) {
25
25
  return value;
26
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,7 +97,8 @@ export interface MongoIndex {
97
97
  /**
98
98
  * Check if a given object implements the MongoIndex interface.
99
99
  */
100
- export declare function instanceOfMongoIndex(value: object): boolean;
100
+ export declare function instanceOfMongoIndex(value: object): value is MongoIndex;
101
101
  export declare function MongoIndexFromJSON(json: any): MongoIndex;
102
102
  export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex;
103
- export declare function MongoIndexToJSON(value?: MongoIndex | null): any;
103
+ export declare function MongoIndexToJSON(json: any): MongoIndex;
104
+ export declare function MongoIndexToJSONTyped(value?: MongoIndex | null, ignoreDiscriminator?: boolean): any;
@@ -1,26 +1,15 @@
1
1
  export function instanceOfMongoIndex(value) {
2
- if (!("name" in value))
3
- return false;
4
- if (!("unique" in value))
5
- return false;
6
- if (!("version" in value))
7
- return false;
8
- if (!("namespace" in value))
9
- return false;
10
- if (!("keys" in value))
11
- return false;
12
- if (!("weights" in value))
13
- return false;
14
- if (!("expire" in value))
15
- return false;
16
- if (!("expireAfterSeconds" in value))
17
- return false;
18
- if (!("text" in value))
19
- return false;
20
- if (!("fetched" in value))
21
- return false;
22
- if (!("map" in value))
23
- return false;
2
+ if (!("name" in value) || value["name"] === void 0) return false;
3
+ if (!("unique" in value) || value["unique"] === void 0) return false;
4
+ if (!("version" in value) || value["version"] === void 0) return false;
5
+ if (!("namespace" in value) || value["namespace"] === void 0) return false;
6
+ if (!("keys" in value) || value["keys"] === void 0) return false;
7
+ if (!("weights" in value) || value["weights"] === void 0) return false;
8
+ if (!("expire" in value) || value["expire"] === void 0) return false;
9
+ if (!("expireAfterSeconds" in value) || value["expireAfterSeconds"] === void 0) return false;
10
+ if (!("text" in value) || value["text"] === void 0) return false;
11
+ if (!("fetched" in value) || value["fetched"] === void 0) return false;
12
+ if (!("map" in value) || value["map"] === void 0) return false;
24
13
  return true;
25
14
  }
26
15
  export function MongoIndexFromJSON(json) {
@@ -45,7 +34,10 @@ export function MongoIndexFromJSONTyped(json, ignoreDiscriminator) {
45
34
  "map": json["map"]
46
35
  };
47
36
  }
48
- export function MongoIndexToJSON(value) {
37
+ export function MongoIndexToJSON(json) {
38
+ return MongoIndexToJSONTyped(json, false);
39
+ }
40
+ export function MongoIndexToJSONTyped(value, ignoreDiscriminator = false) {
49
41
  if (value == null) {
50
42
  return value;
51
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,8 @@ export interface PasswordUpdateRequest {
25
25
  /**
26
26
  * Check if a given object implements the PasswordUpdateRequest interface.
27
27
  */
28
- export declare function instanceOfPasswordUpdateRequest(value: object): boolean;
28
+ export declare function instanceOfPasswordUpdateRequest(value: object): value is PasswordUpdateRequest;
29
29
  export declare function PasswordUpdateRequestFromJSON(json: any): PasswordUpdateRequest;
30
30
  export declare function PasswordUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdateRequest;
31
- export declare function PasswordUpdateRequestToJSON(value?: PasswordUpdateRequest | null): any;
31
+ export declare function PasswordUpdateRequestToJSON(json: any): PasswordUpdateRequest;
32
+ export declare function PasswordUpdateRequestToJSONTyped(value?: PasswordUpdateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,6 +1,5 @@
1
1
  export function instanceOfPasswordUpdateRequest(value) {
2
- if (!("password" in value))
3
- return false;
2
+ if (!("password" in value) || value["password"] === void 0) return false;
4
3
  return true;
5
4
  }
6
5
  export function PasswordUpdateRequestFromJSON(json) {
@@ -14,7 +13,10 @@ export function PasswordUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
14
13
  "password": json["password"]
15
14
  };
16
15
  }
17
- export function PasswordUpdateRequestToJSON(value) {
16
+ export function PasswordUpdateRequestToJSON(json) {
17
+ return PasswordUpdateRequestToJSONTyped(json, false);
18
+ }
19
+ export function PasswordUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
18
20
  if (value == null) {
19
21
  return value;
20
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.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,8 @@ export interface PipelineStage {
31
31
  /**
32
32
  * Check if a given object implements the PipelineStage interface.
33
33
  */
34
- export declare function instanceOfPipelineStage(value: object): boolean;
34
+ export declare function instanceOfPipelineStage(value: object): value is PipelineStage;
35
35
  export declare function PipelineStageFromJSON(json: any): PipelineStage;
36
36
  export declare function PipelineStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineStage;
37
- export declare function PipelineStageToJSON(value?: PipelineStage | null): any;
37
+ export declare function PipelineStageToJSON(json: any): PipelineStage;
38
+ export declare function PipelineStageToJSONTyped(value?: PipelineStage | null, ignoreDiscriminator?: boolean): any;