@sfxcode/nuxt-mongocamp-server 0.8.8 → 0.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 (109) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +466 -11
  3. package/dist/runtime/api/apis/AdminApi.d.ts +26 -26
  4. package/dist/runtime/api/apis/AdminApi.mjs +145 -49
  5. package/dist/runtime/api/apis/ApplicationApi.d.ts +10 -50
  6. package/dist/runtime/api/apis/ApplicationApi.mjs +47 -128
  7. package/dist/runtime/api/apis/AuthApi.d.ts +18 -18
  8. package/dist/runtime/api/apis/AuthApi.mjs +93 -29
  9. package/dist/runtime/api/apis/BucketApi.d.ts +10 -10
  10. package/dist/runtime/api/apis/BucketApi.mjs +49 -17
  11. package/dist/runtime/api/apis/CollectionApi.d.ts +22 -22
  12. package/dist/runtime/api/apis/CollectionApi.mjs +121 -41
  13. package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -12
  14. package/dist/runtime/api/apis/DatabaseApi.mjs +61 -21
  15. package/dist/runtime/api/apis/DocumentApi.d.ts +22 -22
  16. package/dist/runtime/api/apis/DocumentApi.mjs +121 -41
  17. package/dist/runtime/api/apis/FileApi.d.ts +16 -16
  18. package/dist/runtime/api/apis/FileApi.mjs +85 -29
  19. package/dist/runtime/api/apis/IndexApi.d.ts +18 -18
  20. package/dist/runtime/api/apis/IndexApi.mjs +97 -33
  21. package/dist/runtime/api/apis/InformationApi.d.ts +4 -4
  22. package/dist/runtime/api/apis/InformationApi.mjs +9 -1
  23. package/dist/runtime/api/apis/JobsApi.d.ts +14 -14
  24. package/dist/runtime/api/apis/JobsApi.mjs +73 -25
  25. package/dist/runtime/api/models/BucketInformation.d.ts +5 -1
  26. package/dist/runtime/api/models/BucketInformation.mjs +8 -0
  27. package/dist/runtime/api/models/CollectionStatus.d.ts +5 -1
  28. package/dist/runtime/api/models/CollectionStatus.mjs +17 -0
  29. package/dist/runtime/api/models/DatabaseInfo.d.ts +5 -1
  30. package/dist/runtime/api/models/DatabaseInfo.mjs +9 -0
  31. package/dist/runtime/api/models/DeleteResponse.d.ts +5 -1
  32. package/dist/runtime/api/models/DeleteResponse.mjs +6 -0
  33. package/dist/runtime/api/models/ErrorDescription.d.ts +5 -1
  34. package/dist/runtime/api/models/ErrorDescription.mjs +7 -0
  35. package/dist/runtime/api/models/FileInformation.d.ts +5 -1
  36. package/dist/runtime/api/models/FileInformation.mjs +10 -0
  37. package/dist/runtime/api/models/Grant.d.ts +5 -1
  38. package/dist/runtime/api/models/Grant.mjs +9 -0
  39. package/dist/runtime/api/models/IndexCreateRequest.d.ts +6 -2
  40. package/dist/runtime/api/models/IndexCreateRequest.mjs +6 -1
  41. package/dist/runtime/api/models/IndexCreateResponse.d.ts +5 -1
  42. package/dist/runtime/api/models/IndexCreateResponse.mjs +5 -0
  43. package/dist/runtime/api/models/IndexDropResponse.d.ts +5 -1
  44. package/dist/runtime/api/models/IndexDropResponse.mjs +5 -0
  45. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +5 -1
  46. package/dist/runtime/api/models/IndexOptionsRequest.mjs +4 -0
  47. package/dist/runtime/api/models/InsertResponse.d.ts +5 -1
  48. package/dist/runtime/api/models/InsertResponse.mjs +5 -0
  49. package/dist/runtime/api/models/JobConfig.d.ts +5 -1
  50. package/dist/runtime/api/models/JobConfig.mjs +10 -0
  51. package/dist/runtime/api/models/JobInformation.d.ts +5 -1
  52. package/dist/runtime/api/models/JobInformation.mjs +10 -0
  53. package/dist/runtime/api/models/JsonSchema.d.ts +6 -2
  54. package/dist/runtime/api/models/JsonSchema.mjs +8 -1
  55. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +5 -1
  56. package/dist/runtime/api/models/JsonSchemaDefinition.mjs +8 -0
  57. package/dist/runtime/api/models/JsonValueAny.d.ts +5 -1
  58. package/dist/runtime/api/models/JsonValueAny.mjs +5 -0
  59. package/dist/runtime/api/models/JsonValueBoolean.d.ts +5 -1
  60. package/dist/runtime/api/models/JsonValueBoolean.mjs +5 -0
  61. package/dist/runtime/api/models/JsonValueString.d.ts +5 -1
  62. package/dist/runtime/api/models/JsonValueString.mjs +5 -0
  63. package/dist/runtime/api/models/Login.d.ts +5 -1
  64. package/dist/runtime/api/models/Login.mjs +6 -0
  65. package/dist/runtime/api/models/LoginResult.d.ts +6 -2
  66. package/dist/runtime/api/models/LoginResult.mjs +8 -1
  67. package/dist/runtime/api/models/Metric.mjs +1 -1
  68. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +6 -2
  69. package/dist/runtime/api/models/MongoAggregateRequest.mjs +6 -1
  70. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +5 -1
  71. package/dist/runtime/api/models/MongoCampConfiguration.mjs +9 -0
  72. package/dist/runtime/api/models/MongoFindRequest.d.ts +5 -1
  73. package/dist/runtime/api/models/MongoFindRequest.mjs +7 -0
  74. package/dist/runtime/api/models/MongoIndex.d.ts +5 -1
  75. package/dist/runtime/api/models/MongoIndex.mjs +15 -0
  76. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +5 -1
  77. package/dist/runtime/api/models/PasswordUpdateRequest.mjs +5 -0
  78. package/dist/runtime/api/models/PipelineStage.d.ts +5 -1
  79. package/dist/runtime/api/models/PipelineStage.mjs +6 -0
  80. package/dist/runtime/api/models/Role.d.ts +6 -2
  81. package/dist/runtime/api/models/Role.mjs +7 -1
  82. package/dist/runtime/api/models/SchemaAnalysis.d.ts +6 -2
  83. package/dist/runtime/api/models/SchemaAnalysis.mjs +8 -1
  84. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +6 -2
  85. package/dist/runtime/api/models/SchemaAnalysisField.mjs +9 -1
  86. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +5 -1
  87. package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +7 -0
  88. package/dist/runtime/api/models/SettingsResponse.d.ts +5 -1
  89. package/dist/runtime/api/models/SettingsResponse.mjs +5 -0
  90. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +5 -1
  91. package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +4 -0
  92. package/dist/runtime/api/models/UpdateRequest.d.ts +5 -1
  93. package/dist/runtime/api/models/UpdateRequest.mjs +6 -0
  94. package/dist/runtime/api/models/UpdateResponse.d.ts +5 -1
  95. package/dist/runtime/api/models/UpdateResponse.mjs +7 -0
  96. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +6 -2
  97. package/dist/runtime/api/models/UpdateRoleRequest.mjs +6 -1
  98. package/dist/runtime/api/models/UserInformation.d.ts +5 -1
  99. package/dist/runtime/api/models/UserInformation.mjs +6 -0
  100. package/dist/runtime/api/models/UserProfile.d.ts +6 -2
  101. package/dist/runtime/api/models/UserProfile.mjs +7 -1
  102. package/dist/runtime/api/models/Version.d.ts +5 -1
  103. package/dist/runtime/api/models/Version.mjs +7 -0
  104. package/dist/runtime/api/models/index.d.ts +0 -2
  105. package/dist/runtime/api/models/index.mjs +0 -2
  106. package/dist/runtime/api/runtime.d.ts +71 -29
  107. package/dist/runtime/api/runtime.mjs +154 -72
  108. package/dist/runtime/composables/mongocampApi.mjs +1 -1
  109. package/package.json +6 -6
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,6 +52,10 @@ export interface JobConfig {
52
52
  */
53
53
  priority: number;
54
54
  }
55
+ /**
56
+ * Check if a given object implements the JobConfig interface.
57
+ */
58
+ export declare function instanceOfJobConfig(value: object): boolean;
55
59
  export declare function JobConfigFromJSON(json: any): JobConfig;
56
60
  export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
57
61
  export declare function JobConfigToJSON(value?: JobConfig | null): any;
@@ -1,3 +1,13 @@
1
+ export function instanceOfJobConfig(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "name" in value;
4
+ isInstance = isInstance && "className" in value;
5
+ isInstance = isInstance && "description" in value;
6
+ isInstance = isInstance && "cronExpression" in value;
7
+ isInstance = isInstance && "group" in value;
8
+ isInstance = isInstance && "priority" in value;
9
+ return isInstance;
10
+ }
1
11
  export function JobConfigFromJSON(json) {
2
12
  return JobConfigFromJSONTyped(json, false);
3
13
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -70,6 +70,10 @@ export interface JobInformation {
70
70
  */
71
71
  scheduleInformation?: string;
72
72
  }
73
+ /**
74
+ * Check if a given object implements the JobInformation interface.
75
+ */
76
+ export declare function instanceOfJobInformation(value: object): boolean;
73
77
  export declare function JobInformationFromJSON(json: any): JobInformation;
74
78
  export declare function JobInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobInformation;
75
79
  export declare function JobInformationToJSON(value?: JobInformation | null): any;
@@ -1,4 +1,14 @@
1
1
  import { exists } from "../runtime.mjs";
2
+ export function instanceOfJobInformation(value) {
3
+ let isInstance = true;
4
+ isInstance = isInstance && "name" in value;
5
+ isInstance = isInstance && "group" in value;
6
+ isInstance = isInstance && "jobClassName" in value;
7
+ isInstance = isInstance && "description" in value;
8
+ isInstance = isInstance && "cronExpression" in value;
9
+ isInstance = isInstance && "priority" in value;
10
+ return isInstance;
11
+ }
2
12
  export function JobInformationFromJSON(json) {
3
13
  return JobInformationFromJSONTyped(json, false);
4
14
  }
@@ -2,14 +2,14 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
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 { JsonSchemaDefinition } from './JsonSchemaDefinition';
12
+ import type { JsonSchemaDefinition } from './JsonSchemaDefinition';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -37,6 +37,10 @@ export interface JsonSchema {
37
37
  [key: string]: JsonSchemaDefinition;
38
38
  };
39
39
  }
40
+ /**
41
+ * Check if a given object implements the JsonSchema interface.
42
+ */
43
+ export declare function instanceOfJsonSchema(value: object): boolean;
40
44
  export declare function JsonSchemaFromJSON(json: any): JsonSchema;
41
45
  export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema;
42
46
  export declare function JsonSchemaToJSON(value?: JsonSchema | null): any;
@@ -2,7 +2,14 @@ import { mapValues } from "../runtime.mjs";
2
2
  import {
3
3
  JsonSchemaDefinitionFromJSON,
4
4
  JsonSchemaDefinitionToJSON
5
- } from "./JsonSchemaDefinition";
5
+ } from "./JsonSchemaDefinition.mjs";
6
+ export function instanceOfJsonSchema(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "$schema" in value;
9
+ isInstance = isInstance && "$ref" in value;
10
+ isInstance = isInstance && "definitions" in value;
11
+ return isInstance;
12
+ }
6
13
  export function JsonSchemaFromJSON(json) {
7
14
  return JsonSchemaFromJSONTyped(json, false);
8
15
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -50,6 +50,10 @@ export interface JsonSchemaDefinition {
50
50
  };
51
51
  };
52
52
  }
53
+ /**
54
+ * Check if a given object implements the JsonSchemaDefinition interface.
55
+ */
56
+ export declare function instanceOfJsonSchemaDefinition(value: object): boolean;
53
57
  export declare function JsonSchemaDefinitionFromJSON(json: any): JsonSchemaDefinition;
54
58
  export declare function JsonSchemaDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchemaDefinition;
55
59
  export declare function JsonSchemaDefinitionToJSON(value?: JsonSchemaDefinition | null): any;
@@ -1,4 +1,12 @@
1
1
  import { exists } from "../runtime.mjs";
2
+ export function instanceOfJsonSchemaDefinition(value) {
3
+ let isInstance = true;
4
+ isInstance = isInstance && "type" in value;
5
+ isInstance = isInstance && "title" in value;
6
+ isInstance = isInstance && "additionalProperties" in value;
7
+ isInstance = isInstance && "properties" in value;
8
+ return isInstance;
9
+ }
2
10
  export function JsonSchemaDefinitionFromJSON(json) {
3
11
  return JsonSchemaDefinitionFromJSONTyped(json, false);
4
12
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export interface JsonValueAny {
22
22
  */
23
23
  value: string;
24
24
  }
25
+ /**
26
+ * Check if a given object implements the JsonValueAny interface.
27
+ */
28
+ export declare function instanceOfJsonValueAny(value: object): boolean;
25
29
  export declare function JsonValueAnyFromJSON(json: any): JsonValueAny;
26
30
  export declare function JsonValueAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueAny;
27
31
  export declare function JsonValueAnyToJSON(value?: JsonValueAny | null): any;
@@ -1,3 +1,8 @@
1
+ export function instanceOfJsonValueAny(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "value" in value;
4
+ return isInstance;
5
+ }
1
6
  export function JsonValueAnyFromJSON(json) {
2
7
  return JsonValueAnyFromJSONTyped(json, false);
3
8
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export interface JsonValueBoolean {
22
22
  */
23
23
  value: boolean;
24
24
  }
25
+ /**
26
+ * Check if a given object implements the JsonValueBoolean interface.
27
+ */
28
+ export declare function instanceOfJsonValueBoolean(value: object): boolean;
25
29
  export declare function JsonValueBooleanFromJSON(json: any): JsonValueBoolean;
26
30
  export declare function JsonValueBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueBoolean;
27
31
  export declare function JsonValueBooleanToJSON(value?: JsonValueBoolean | null): any;
@@ -1,3 +1,8 @@
1
+ export function instanceOfJsonValueBoolean(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "value" in value;
4
+ return isInstance;
5
+ }
1
6
  export function JsonValueBooleanFromJSON(json) {
2
7
  return JsonValueBooleanFromJSONTyped(json, false);
3
8
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export interface JsonValueString {
22
22
  */
23
23
  value: string;
24
24
  }
25
+ /**
26
+ * Check if a given object implements the JsonValueString interface.
27
+ */
28
+ export declare function instanceOfJsonValueString(value: object): boolean;
25
29
  export declare function JsonValueStringFromJSON(json: any): JsonValueString;
26
30
  export declare function JsonValueStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueString;
27
31
  export declare function JsonValueStringToJSON(value?: JsonValueString | null): any;
@@ -1,3 +1,8 @@
1
+ export function instanceOfJsonValueString(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "value" in value;
4
+ return isInstance;
5
+ }
1
6
  export function JsonValueStringFromJSON(json) {
2
7
  return JsonValueStringFromJSONTyped(json, false);
3
8
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,10 @@ export interface Login {
28
28
  */
29
29
  password: string;
30
30
  }
31
+ /**
32
+ * Check if a given object implements the Login interface.
33
+ */
34
+ export declare function instanceOfLogin(value: object): boolean;
31
35
  export declare function LoginFromJSON(json: any): Login;
32
36
  export declare function LoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): Login;
33
37
  export declare function LoginToJSON(value?: Login | null): any;
@@ -1,3 +1,9 @@
1
+ export function instanceOfLogin(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "userId" in value;
4
+ isInstance = isInstance && "password" in value;
5
+ return isInstance;
6
+ }
1
7
  export function LoginFromJSON(json) {
2
8
  return LoginFromJSONTyped(json, false);
3
9
  }
@@ -2,14 +2,14 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
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 { UserProfile } from './UserProfile';
12
+ import type { UserProfile } from './UserProfile';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -35,6 +35,10 @@ export interface LoginResult {
35
35
  */
36
36
  expirationDate: Date;
37
37
  }
38
+ /**
39
+ * Check if a given object implements the LoginResult interface.
40
+ */
41
+ export declare function instanceOfLoginResult(value: object): boolean;
38
42
  export declare function LoginResultFromJSON(json: any): LoginResult;
39
43
  export declare function LoginResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResult;
40
44
  export declare function LoginResultToJSON(value?: LoginResult | null): any;
@@ -1,7 +1,14 @@
1
1
  import {
2
2
  UserProfileFromJSON,
3
3
  UserProfileToJSON
4
- } from "./UserProfile";
4
+ } from "./UserProfile.mjs";
5
+ export function instanceOfLoginResult(value) {
6
+ let isInstance = true;
7
+ isInstance = isInstance && "authToken" in value;
8
+ isInstance = isInstance && "userProfile" in value;
9
+ isInstance = isInstance && "expirationDate" in value;
10
+ return isInstance;
11
+ }
5
12
  export function LoginResultFromJSON(json) {
6
13
  return LoginResultFromJSONTyped(json, false);
7
14
  }
@@ -2,7 +2,7 @@ import { exists } from "../runtime.mjs";
2
2
  import {
3
3
  MeasurementFromJSON,
4
4
  MeasurementToJSON
5
- } from "./Measurement";
5
+ } from "./Measurement.mjs";
6
6
  export function MetricFromJSON(json) {
7
7
  return MetricFromJSONTyped(json, false);
8
8
  }
@@ -2,14 +2,14 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
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 { PipelineStage } from './PipelineStage';
12
+ import type { PipelineStage } from './PipelineStage';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -29,6 +29,10 @@ export interface MongoAggregateRequest {
29
29
  */
30
30
  allowDiskUse: boolean;
31
31
  }
32
+ /**
33
+ * Check if a given object implements the MongoAggregateRequest interface.
34
+ */
35
+ export declare function instanceOfMongoAggregateRequest(value: object): boolean;
32
36
  export declare function MongoAggregateRequestFromJSON(json: any): MongoAggregateRequest;
33
37
  export declare function MongoAggregateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoAggregateRequest;
34
38
  export declare function MongoAggregateRequestToJSON(value?: MongoAggregateRequest | null): any;
@@ -2,7 +2,12 @@ import { exists } from "../runtime.mjs";
2
2
  import {
3
3
  PipelineStageFromJSON,
4
4
  PipelineStageToJSON
5
- } from "./PipelineStage";
5
+ } from "./PipelineStage.mjs";
6
+ export function instanceOfMongoAggregateRequest(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "allowDiskUse" in value;
9
+ return isInstance;
10
+ }
6
11
  export function MongoAggregateRequestFromJSON(json) {
7
12
  return MongoAggregateRequestFromJSONTyped(json, false);
8
13
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,6 +46,10 @@ export interface MongoCampConfiguration {
46
46
  */
47
47
  needsRestartForActivation: boolean;
48
48
  }
49
+ /**
50
+ * Check if a given object implements the MongoCampConfiguration interface.
51
+ */
52
+ export declare function instanceOfMongoCampConfiguration(value: object): boolean;
49
53
  export declare function MongoCampConfigurationFromJSON(json: any): MongoCampConfiguration;
50
54
  export declare function MongoCampConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoCampConfiguration;
51
55
  export declare function MongoCampConfigurationToJSON(value?: MongoCampConfiguration | null): any;
@@ -1,3 +1,12 @@
1
+ export function instanceOfMongoCampConfiguration(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "key" in value;
4
+ isInstance = isInstance && "value" in value;
5
+ isInstance = isInstance && "configType" in value;
6
+ isInstance = isInstance && "comment" in value;
7
+ isInstance = isInstance && "needsRestartForActivation" in value;
8
+ return isInstance;
9
+ }
1
10
  export function MongoCampConfigurationFromJSON(json) {
2
11
  return MongoCampConfigurationFromJSONTyped(json, false);
3
12
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,6 +40,10 @@ export interface MongoFindRequest {
40
40
  [key: string]: string;
41
41
  };
42
42
  }
43
+ /**
44
+ * Check if a given object implements the MongoFindRequest interface.
45
+ */
46
+ export declare function instanceOfMongoFindRequest(value: object): boolean;
43
47
  export declare function MongoFindRequestFromJSON(json: any): MongoFindRequest;
44
48
  export declare function MongoFindRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoFindRequest;
45
49
  export declare function MongoFindRequestToJSON(value?: MongoFindRequest | null): any;
@@ -1,3 +1,10 @@
1
+ export function instanceOfMongoFindRequest(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "filter" in value;
4
+ isInstance = isInstance && "sort" in value;
5
+ isInstance = isInstance && "projection" in value;
6
+ return isInstance;
7
+ }
1
8
  export function MongoFindRequestFromJSON(json) {
2
9
  return MongoFindRequestFromJSONTyped(json, false);
3
10
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -94,6 +94,10 @@ export interface MongoIndex {
94
94
  [key: string]: string;
95
95
  };
96
96
  }
97
+ /**
98
+ * Check if a given object implements the MongoIndex interface.
99
+ */
100
+ export declare function instanceOfMongoIndex(value: object): boolean;
97
101
  export declare function MongoIndexFromJSON(json: any): MongoIndex;
98
102
  export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex;
99
103
  export declare function MongoIndexToJSON(value?: MongoIndex | null): any;
@@ -1,4 +1,19 @@
1
1
  import { exists } from "../runtime.mjs";
2
+ export function instanceOfMongoIndex(value) {
3
+ let isInstance = true;
4
+ isInstance = isInstance && "name" in value;
5
+ isInstance = isInstance && "unique" in value;
6
+ isInstance = isInstance && "version" in value;
7
+ isInstance = isInstance && "namespace" in value;
8
+ isInstance = isInstance && "keys" in value;
9
+ isInstance = isInstance && "weights" in value;
10
+ isInstance = isInstance && "expire" in value;
11
+ isInstance = isInstance && "expireAfterSeconds" in value;
12
+ isInstance = isInstance && "text" in value;
13
+ isInstance = isInstance && "fetched" in value;
14
+ isInstance = isInstance && "map" in value;
15
+ return isInstance;
16
+ }
2
17
  export function MongoIndexFromJSON(json) {
3
18
  return MongoIndexFromJSONTyped(json, false);
4
19
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,10 @@ export interface PasswordUpdateRequest {
22
22
  */
23
23
  password: string;
24
24
  }
25
+ /**
26
+ * Check if a given object implements the PasswordUpdateRequest interface.
27
+ */
28
+ export declare function instanceOfPasswordUpdateRequest(value: object): boolean;
25
29
  export declare function PasswordUpdateRequestFromJSON(json: any): PasswordUpdateRequest;
26
30
  export declare function PasswordUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdateRequest;
27
31
  export declare function PasswordUpdateRequestToJSON(value?: PasswordUpdateRequest | null): any;
@@ -1,3 +1,8 @@
1
+ export function instanceOfPasswordUpdateRequest(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "password" in value;
4
+ return isInstance;
5
+ }
1
6
  export function PasswordUpdateRequestFromJSON(json) {
2
7
  return PasswordUpdateRequestFromJSONTyped(json, false);
3
8
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,10 @@ export interface PipelineStage {
28
28
  */
29
29
  value: string;
30
30
  }
31
+ /**
32
+ * Check if a given object implements the PipelineStage interface.
33
+ */
34
+ export declare function instanceOfPipelineStage(value: object): boolean;
31
35
  export declare function PipelineStageFromJSON(json: any): PipelineStage;
32
36
  export declare function PipelineStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineStage;
33
37
  export declare function PipelineStageToJSON(value?: PipelineStage | null): any;
@@ -1,3 +1,9 @@
1
+ export function instanceOfPipelineStage(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "stage" in value;
4
+ isInstance = isInstance && "value" in value;
5
+ return isInstance;
6
+ }
1
7
  export function PipelineStageFromJSON(json) {
2
8
  return PipelineStageFromJSONTyped(json, false);
3
9
  }
@@ -2,14 +2,14 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
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 { Grant } from './Grant';
12
+ import type { Grant } from './Grant';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -35,6 +35,10 @@ export interface Role {
35
35
  */
36
36
  collectionGrants?: Array<Grant>;
37
37
  }
38
+ /**
39
+ * Check if a given object implements the Role interface.
40
+ */
41
+ export declare function instanceOfRole(value: object): boolean;
38
42
  export declare function RoleFromJSON(json: any): Role;
39
43
  export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
40
44
  export declare function RoleToJSON(value?: Role | null): any;
@@ -2,7 +2,13 @@ import { exists } from "../runtime.mjs";
2
2
  import {
3
3
  GrantFromJSON,
4
4
  GrantToJSON
5
- } from "./Grant";
5
+ } from "./Grant.mjs";
6
+ export function instanceOfRole(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "name" in value;
9
+ isInstance = isInstance && "isAdmin" in value;
10
+ return isInstance;
11
+ }
6
12
  export function RoleFromJSON(json) {
7
13
  return RoleFromJSONTyped(json, false);
8
14
  }
@@ -2,14 +2,14 @@
2
2
  * mongocamp-server
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.4.0
5
+ * The version of the OpenAPI document: 1.4.1
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 { SchemaAnalysisField } from './SchemaAnalysisField';
12
+ import type { SchemaAnalysisField } from './SchemaAnalysisField';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -41,6 +41,10 @@ export interface SchemaAnalysis {
41
41
  */
42
42
  fields?: Array<SchemaAnalysisField>;
43
43
  }
44
+ /**
45
+ * Check if a given object implements the SchemaAnalysis interface.
46
+ */
47
+ export declare function instanceOfSchemaAnalysis(value: object): boolean;
44
48
  export declare function SchemaAnalysisFromJSON(json: any): SchemaAnalysis;
45
49
  export declare function SchemaAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysis;
46
50
  export declare function SchemaAnalysisToJSON(value?: SchemaAnalysis | null): any;
@@ -2,7 +2,14 @@ import { exists } from "../runtime.mjs";
2
2
  import {
3
3
  SchemaAnalysisFieldFromJSON,
4
4
  SchemaAnalysisFieldToJSON
5
- } from "./SchemaAnalysisField";
5
+ } from "./SchemaAnalysisField.mjs";
6
+ export function instanceOfSchemaAnalysis(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "count" in value;
9
+ isInstance = isInstance && "sample" in value;
10
+ isInstance = isInstance && "percentageOfAnalysed" in value;
11
+ return isInstance;
12
+ }
6
13
  export function SchemaAnalysisFromJSON(json) {
7
14
  return SchemaAnalysisFromJSONTyped(json, false);
8
15
  }