@sfxcode/nuxt-mongocamp-server 0.7.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 (129) hide show
  1. package/README.md +38 -0
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.d.ts +9 -0
  4. package/dist/module.json +5 -0
  5. package/dist/module.mjs +72 -0
  6. package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
  7. package/dist/runtime/api/apis/AdminApi.mjs +413 -0
  8. package/dist/runtime/api/apis/ApplicationApi.d.ts +68 -0
  9. package/dist/runtime/api/apis/ApplicationApi.mjs +147 -0
  10. package/dist/runtime/api/apis/AuthApi.d.ts +107 -0
  11. package/dist/runtime/api/apis/AuthApi.mjs +235 -0
  12. package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
  13. package/dist/runtime/api/apis/BucketApi.mjs +128 -0
  14. package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
  15. package/dist/runtime/api/apis/CollectionApi.mjs +355 -0
  16. package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
  17. package/dist/runtime/api/apis/DatabaseApi.mjs +156 -0
  18. package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
  19. package/dist/runtime/api/apis/DocumentApi.mjs +385 -0
  20. package/dist/runtime/api/apis/FileApi.d.ts +125 -0
  21. package/dist/runtime/api/apis/FileApi.mjs +299 -0
  22. package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
  23. package/dist/runtime/api/apis/IndexApi.mjs +303 -0
  24. package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
  25. package/dist/runtime/api/apis/InformationApi.mjs +21 -0
  26. package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
  27. package/dist/runtime/api/apis/JobsApi.mjs +204 -0
  28. package/dist/runtime/api/apis/index.d.ts +11 -0
  29. package/dist/runtime/api/apis/index.mjs +11 -0
  30. package/dist/runtime/api/index.d.ts +3 -0
  31. package/dist/runtime/api/index.mjs +3 -0
  32. package/dist/runtime/api/models/BucketInformation.d.ts +45 -0
  33. package/dist/runtime/api/models/BucketInformation.mjs +28 -0
  34. package/dist/runtime/api/models/CollectionStatus.d.ts +103 -0
  35. package/dist/runtime/api/models/CollectionStatus.mjs +46 -0
  36. package/dist/runtime/api/models/DatabaseInfo.d.ts +53 -0
  37. package/dist/runtime/api/models/DatabaseInfo.mjs +30 -0
  38. package/dist/runtime/api/models/DeleteResponse.d.ts +33 -0
  39. package/dist/runtime/api/models/DeleteResponse.mjs +24 -0
  40. package/dist/runtime/api/models/ErrorDescription.d.ts +39 -0
  41. package/dist/runtime/api/models/ErrorDescription.mjs +26 -0
  42. package/dist/runtime/api/models/FileInformation.d.ts +59 -0
  43. package/dist/runtime/api/models/FileInformation.mjs +32 -0
  44. package/dist/runtime/api/models/Grant.d.ts +51 -0
  45. package/dist/runtime/api/models/Grant.mjs +30 -0
  46. package/dist/runtime/api/models/IndexCreateRequest.d.ts +36 -0
  47. package/dist/runtime/api/models/IndexCreateRequest.mjs +29 -0
  48. package/dist/runtime/api/models/IndexCreateResponse.d.ts +27 -0
  49. package/dist/runtime/api/models/IndexCreateResponse.mjs +22 -0
  50. package/dist/runtime/api/models/IndexDropResponse.d.ts +27 -0
  51. package/dist/runtime/api/models/IndexDropResponse.mjs +22 -0
  52. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +69 -0
  53. package/dist/runtime/api/models/IndexOptionsRequest.mjs +37 -0
  54. package/dist/runtime/api/models/InsertResponse.d.ts +33 -0
  55. package/dist/runtime/api/models/InsertResponse.mjs +25 -0
  56. package/dist/runtime/api/models/JobConfig.d.ts +57 -0
  57. package/dist/runtime/api/models/JobConfig.mjs +32 -0
  58. package/dist/runtime/api/models/JobInformation.d.ts +75 -0
  59. package/dist/runtime/api/models/JobInformation.mjs +39 -0
  60. package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
  61. package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
  62. package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
  63. package/dist/runtime/api/models/JsonResultString.mjs +22 -0
  64. package/dist/runtime/api/models/JsonSchema.d.ts +42 -0
  65. package/dist/runtime/api/models/JsonSchema.mjs +31 -0
  66. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +55 -0
  67. package/dist/runtime/api/models/JsonSchemaDefinition.mjs +31 -0
  68. package/dist/runtime/api/models/Login.d.ts +33 -0
  69. package/dist/runtime/api/models/Login.mjs +24 -0
  70. package/dist/runtime/api/models/LoginResult.d.ts +40 -0
  71. package/dist/runtime/api/models/LoginResult.mjs +30 -0
  72. package/dist/runtime/api/models/Measurement.d.ts +33 -0
  73. package/dist/runtime/api/models/Measurement.mjs +24 -0
  74. package/dist/runtime/api/models/Metric.d.ts +52 -0
  75. package/dist/runtime/api/models/Metric.mjs +35 -0
  76. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +34 -0
  77. package/dist/runtime/api/models/MongoAggregateRequest.mjs +29 -0
  78. package/dist/runtime/api/models/MongoFindRequest.d.ts +45 -0
  79. package/dist/runtime/api/models/MongoFindRequest.mjs +26 -0
  80. package/dist/runtime/api/models/MongoIndex.d.ts +99 -0
  81. package/dist/runtime/api/models/MongoIndex.mjs +45 -0
  82. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +27 -0
  83. package/dist/runtime/api/models/PasswordUpdateRequest.mjs +22 -0
  84. package/dist/runtime/api/models/PipelineStage.d.ts +33 -0
  85. package/dist/runtime/api/models/PipelineStage.mjs +24 -0
  86. package/dist/runtime/api/models/Role.d.ts +40 -0
  87. package/dist/runtime/api/models/Role.mjs +31 -0
  88. package/dist/runtime/api/models/SchemaAnalysis.d.ts +46 -0
  89. package/dist/runtime/api/models/SchemaAnalysis.mjs +33 -0
  90. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +58 -0
  91. package/dist/runtime/api/models/SchemaAnalysisField.mjs +37 -0
  92. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +39 -0
  93. package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +26 -0
  94. package/dist/runtime/api/models/SettingsResponse.d.ts +47 -0
  95. package/dist/runtime/api/models/SettingsResponse.mjs +29 -0
  96. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +35 -0
  97. package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +25 -0
  98. package/dist/runtime/api/models/UpdateRequest.d.ts +37 -0
  99. package/dist/runtime/api/models/UpdateRequest.mjs +24 -0
  100. package/dist/runtime/api/models/UpdateResponse.d.ts +45 -0
  101. package/dist/runtime/api/models/UpdateResponse.mjs +29 -0
  102. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +34 -0
  103. package/dist/runtime/api/models/UpdateRoleRequest.mjs +29 -0
  104. package/dist/runtime/api/models/UserInformation.d.ts +45 -0
  105. package/dist/runtime/api/models/UserInformation.mjs +29 -0
  106. package/dist/runtime/api/models/UserProfile.d.ts +52 -0
  107. package/dist/runtime/api/models/UserProfile.mjs +35 -0
  108. package/dist/runtime/api/models/Version.d.ts +39 -0
  109. package/dist/runtime/api/models/Version.mjs +26 -0
  110. package/dist/runtime/api/models/index.d.ts +39 -0
  111. package/dist/runtime/api/models/index.mjs +39 -0
  112. package/dist/runtime/api/runtime.d.ts +140 -0
  113. package/dist/runtime/api/runtime.mjs +196 -0
  114. package/dist/runtime/composables/mongocampApi.d.ts +14 -0
  115. package/dist/runtime/composables/mongocampApi.mjs +45 -0
  116. package/dist/runtime/composables/mongocampAuth.d.ts +9 -0
  117. package/dist/runtime/composables/mongocampAuth.mjs +52 -0
  118. package/dist/runtime/composables/mongocampSearch.d.ts +6 -0
  119. package/dist/runtime/composables/mongocampSearch.mjs +12 -0
  120. package/dist/runtime/composables/mongocampToken.d.ts +1 -0
  121. package/dist/runtime/composables/mongocampToken.mjs +10 -0
  122. package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
  123. package/dist/runtime/composables/mongocampUrl.mjs +5 -0
  124. package/dist/runtime/composables/mongocampUser.d.ts +3 -0
  125. package/dist/runtime/composables/mongocampUser.mjs +2 -0
  126. package/dist/runtime/plugin.d.ts +2 -0
  127. package/dist/runtime/plugin.mjs +6 -0
  128. package/dist/types.d.ts +10 -0
  129. package/package.json +37 -0
@@ -0,0 +1,55 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface JsonSchemaDefinition
16
+ */
17
+ export interface JsonSchemaDefinition {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof JsonSchemaDefinition
22
+ */
23
+ type: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof JsonSchemaDefinition
28
+ */
29
+ title: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof JsonSchemaDefinition
34
+ */
35
+ additionalProperties: boolean;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof JsonSchemaDefinition
40
+ */
41
+ required?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: { [key: string]: string; }; }}
45
+ * @memberof JsonSchemaDefinition
46
+ */
47
+ properties: {
48
+ [key: string]: {
49
+ [key: string]: string;
50
+ };
51
+ };
52
+ }
53
+ export declare function JsonSchemaDefinitionFromJSON(json: any): JsonSchemaDefinition;
54
+ export declare function JsonSchemaDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchemaDefinition;
55
+ export declare function JsonSchemaDefinitionToJSON(value?: JsonSchemaDefinition | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function JsonSchemaDefinitionFromJSON(json) {
3
+ return JsonSchemaDefinitionFromJSONTyped(json, false);
4
+ }
5
+ export function JsonSchemaDefinitionFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "type": json["type"],
11
+ "title": json["title"],
12
+ "additionalProperties": json["additionalProperties"],
13
+ "required": !exists(json, "required") ? void 0 : json["required"],
14
+ "properties": json["properties"]
15
+ };
16
+ }
17
+ export function JsonSchemaDefinitionToJSON(value) {
18
+ if (value === void 0) {
19
+ return void 0;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ "type": value.type,
26
+ "title": value.title,
27
+ "additionalProperties": value.additionalProperties,
28
+ "required": value.required,
29
+ "properties": value.properties
30
+ };
31
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Login
16
+ */
17
+ export interface Login {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Login
22
+ */
23
+ userId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Login
28
+ */
29
+ password: string;
30
+ }
31
+ export declare function LoginFromJSON(json: any): Login;
32
+ export declare function LoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): Login;
33
+ export declare function LoginToJSON(value?: Login | null): any;
@@ -0,0 +1,24 @@
1
+ export function LoginFromJSON(json) {
2
+ return LoginFromJSONTyped(json, false);
3
+ }
4
+ export function LoginFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "userId": json["userId"],
10
+ "password": json["password"]
11
+ };
12
+ }
13
+ export function LoginToJSON(value) {
14
+ if (value === void 0) {
15
+ return void 0;
16
+ }
17
+ if (value === null) {
18
+ return null;
19
+ }
20
+ return {
21
+ "userId": value.userId,
22
+ "password": value.password
23
+ };
24
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { UserProfile } from './UserProfile';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LoginResult
17
+ */
18
+ export interface LoginResult {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof LoginResult
23
+ */
24
+ authToken: string;
25
+ /**
26
+ *
27
+ * @type {UserProfile}
28
+ * @memberof LoginResult
29
+ */
30
+ userProfile: UserProfile;
31
+ /**
32
+ *
33
+ * @type {Date}
34
+ * @memberof LoginResult
35
+ */
36
+ expirationDate: Date;
37
+ }
38
+ export declare function LoginResultFromJSON(json: any): LoginResult;
39
+ export declare function LoginResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResult;
40
+ export declare function LoginResultToJSON(value?: LoginResult | null): any;
@@ -0,0 +1,30 @@
1
+ import {
2
+ UserProfileFromJSON,
3
+ UserProfileToJSON
4
+ } from "./UserProfile";
5
+ export function LoginResultFromJSON(json) {
6
+ return LoginResultFromJSONTyped(json, false);
7
+ }
8
+ export function LoginResultFromJSONTyped(json, ignoreDiscriminator) {
9
+ if (json === void 0 || json === null) {
10
+ return json;
11
+ }
12
+ return {
13
+ "authToken": json["authToken"],
14
+ "userProfile": UserProfileFromJSON(json["userProfile"]),
15
+ "expirationDate": new Date(json["expirationDate"])
16
+ };
17
+ }
18
+ export function LoginResultToJSON(value) {
19
+ if (value === void 0) {
20
+ return void 0;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ "authToken": value.authToken,
27
+ "userProfile": UserProfileToJSON(value.userProfile),
28
+ "expirationDate": value.expirationDate.toISOString()
29
+ };
30
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Measurement
16
+ */
17
+ export interface Measurement {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Measurement
22
+ */
23
+ statisticType: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof Measurement
28
+ */
29
+ value: number;
30
+ }
31
+ export declare function MeasurementFromJSON(json: any): Measurement;
32
+ export declare function MeasurementFromJSONTyped(json: any, ignoreDiscriminator: boolean): Measurement;
33
+ export declare function MeasurementToJSON(value?: Measurement | null): any;
@@ -0,0 +1,24 @@
1
+ export function MeasurementFromJSON(json) {
2
+ return MeasurementFromJSONTyped(json, false);
3
+ }
4
+ export function MeasurementFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "statisticType": json["statisticType"],
10
+ "value": json["value"]
11
+ };
12
+ }
13
+ export function MeasurementToJSON(value) {
14
+ if (value === void 0) {
15
+ return void 0;
16
+ }
17
+ if (value === null) {
18
+ return null;
19
+ }
20
+ return {
21
+ "statisticType": value.statisticType,
22
+ "value": value.value
23
+ };
24
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Measurement } from './Measurement';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Metric
17
+ */
18
+ export interface Metric {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof Metric
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof Metric
29
+ */
30
+ metricsType: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof Metric
35
+ */
36
+ description: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof Metric
41
+ */
42
+ baseUnit: string;
43
+ /**
44
+ *
45
+ * @type {Array<Measurement>}
46
+ * @memberof Metric
47
+ */
48
+ measurements?: Array<Measurement>;
49
+ }
50
+ export declare function MetricFromJSON(json: any): Metric;
51
+ export declare function MetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): Metric;
52
+ export declare function MetricToJSON(value?: Metric | null): any;
@@ -0,0 +1,35 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ MeasurementFromJSON,
4
+ MeasurementToJSON
5
+ } from "./Measurement";
6
+ export function MetricFromJSON(json) {
7
+ return MetricFromJSONTyped(json, false);
8
+ }
9
+ export function MetricFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "name": json["name"],
15
+ "metricsType": json["metricsType"],
16
+ "description": json["description"],
17
+ "baseUnit": json["baseUnit"],
18
+ "measurements": !exists(json, "measurements") ? void 0 : json["measurements"].map(MeasurementFromJSON)
19
+ };
20
+ }
21
+ export function MetricToJSON(value) {
22
+ if (value === void 0) {
23
+ return void 0;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ "name": value.name,
30
+ "metricsType": value.metricsType,
31
+ "description": value.description,
32
+ "baseUnit": value.baseUnit,
33
+ "measurements": value.measurements === void 0 ? void 0 : value.measurements.map(MeasurementToJSON)
34
+ };
35
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PipelineStage } from './PipelineStage';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MongoAggregateRequest
17
+ */
18
+ export interface MongoAggregateRequest {
19
+ /**
20
+ *
21
+ * @type {Array<PipelineStage>}
22
+ * @memberof MongoAggregateRequest
23
+ */
24
+ pipeline?: Array<PipelineStage>;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof MongoAggregateRequest
29
+ */
30
+ allowDiskUse: boolean;
31
+ }
32
+ export declare function MongoAggregateRequestFromJSON(json: any): MongoAggregateRequest;
33
+ export declare function MongoAggregateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoAggregateRequest;
34
+ export declare function MongoAggregateRequestToJSON(value?: MongoAggregateRequest | null): any;
@@ -0,0 +1,29 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ PipelineStageFromJSON,
4
+ PipelineStageToJSON
5
+ } from "./PipelineStage";
6
+ export function MongoAggregateRequestFromJSON(json) {
7
+ return MongoAggregateRequestFromJSONTyped(json, false);
8
+ }
9
+ export function MongoAggregateRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "pipeline": !exists(json, "pipeline") ? void 0 : json["pipeline"].map(PipelineStageFromJSON),
15
+ "allowDiskUse": json["allowDiskUse"]
16
+ };
17
+ }
18
+ export function MongoAggregateRequestToJSON(value) {
19
+ if (value === void 0) {
20
+ return void 0;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ "pipeline": value.pipeline === void 0 ? void 0 : value.pipeline.map(PipelineStageToJSON),
27
+ "allowDiskUse": value.allowDiskUse
28
+ };
29
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MongoFindRequest
16
+ */
17
+ export interface MongoFindRequest {
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: string; }}
21
+ * @memberof MongoFindRequest
22
+ */
23
+ filter: {
24
+ [key: string]: string;
25
+ };
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: string; }}
29
+ * @memberof MongoFindRequest
30
+ */
31
+ sort: {
32
+ [key: string]: string;
33
+ };
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: string; }}
37
+ * @memberof MongoFindRequest
38
+ */
39
+ projection: {
40
+ [key: string]: string;
41
+ };
42
+ }
43
+ export declare function MongoFindRequestFromJSON(json: any): MongoFindRequest;
44
+ export declare function MongoFindRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoFindRequest;
45
+ export declare function MongoFindRequestToJSON(value?: MongoFindRequest | null): any;
@@ -0,0 +1,26 @@
1
+ export function MongoFindRequestFromJSON(json) {
2
+ return MongoFindRequestFromJSONTyped(json, false);
3
+ }
4
+ export function MongoFindRequestFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "filter": json["filter"],
10
+ "sort": json["sort"],
11
+ "projection": json["projection"]
12
+ };
13
+ }
14
+ export function MongoFindRequestToJSON(value) {
15
+ if (value === void 0) {
16
+ return void 0;
17
+ }
18
+ if (value === null) {
19
+ return null;
20
+ }
21
+ return {
22
+ "filter": value.filter,
23
+ "sort": value.sort,
24
+ "projection": value.projection
25
+ };
26
+ }
@@ -0,0 +1,99 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MongoIndex
16
+ */
17
+ export interface MongoIndex {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MongoIndex
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof MongoIndex
28
+ */
29
+ fields?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof MongoIndex
34
+ */
35
+ unique: boolean;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof MongoIndex
40
+ */
41
+ version: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof MongoIndex
46
+ */
47
+ namespace: string;
48
+ /**
49
+ *
50
+ * @type {{ [key: string]: string; }}
51
+ * @memberof MongoIndex
52
+ */
53
+ keys: {
54
+ [key: string]: string;
55
+ };
56
+ /**
57
+ *
58
+ * @type {{ [key: string]: string; }}
59
+ * @memberof MongoIndex
60
+ */
61
+ weights: {
62
+ [key: string]: string;
63
+ };
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof MongoIndex
68
+ */
69
+ expire: boolean;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof MongoIndex
74
+ */
75
+ expireAfterSeconds: number;
76
+ /**
77
+ *
78
+ * @type {boolean}
79
+ * @memberof MongoIndex
80
+ */
81
+ text: boolean;
82
+ /**
83
+ *
84
+ * @type {Date}
85
+ * @memberof MongoIndex
86
+ */
87
+ fetched: Date;
88
+ /**
89
+ *
90
+ * @type {{ [key: string]: string; }}
91
+ * @memberof MongoIndex
92
+ */
93
+ map: {
94
+ [key: string]: string;
95
+ };
96
+ }
97
+ export declare function MongoIndexFromJSON(json: any): MongoIndex;
98
+ export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex;
99
+ export declare function MongoIndexToJSON(value?: MongoIndex | null): any;
@@ -0,0 +1,45 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function MongoIndexFromJSON(json) {
3
+ return MongoIndexFromJSONTyped(json, false);
4
+ }
5
+ export function MongoIndexFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "name": json["name"],
11
+ "fields": !exists(json, "fields") ? void 0 : json["fields"],
12
+ "unique": json["unique"],
13
+ "version": json["version"],
14
+ "namespace": json["namespace"],
15
+ "keys": json["keys"],
16
+ "weights": json["weights"],
17
+ "expire": json["expire"],
18
+ "expireAfterSeconds": json["expireAfterSeconds"],
19
+ "text": json["text"],
20
+ "fetched": new Date(json["fetched"]),
21
+ "map": json["map"]
22
+ };
23
+ }
24
+ export function MongoIndexToJSON(value) {
25
+ if (value === void 0) {
26
+ return void 0;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ "name": value.name,
33
+ "fields": value.fields,
34
+ "unique": value.unique,
35
+ "version": value.version,
36
+ "namespace": value.namespace,
37
+ "keys": value.keys,
38
+ "weights": value.weights,
39
+ "expire": value.expire,
40
+ "expireAfterSeconds": value.expireAfterSeconds,
41
+ "text": value.text,
42
+ "fetched": value.fetched.toISOString(),
43
+ "map": value.map
44
+ };
45
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PasswordUpdateRequest
16
+ */
17
+ export interface PasswordUpdateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PasswordUpdateRequest
22
+ */
23
+ password: string;
24
+ }
25
+ export declare function PasswordUpdateRequestFromJSON(json: any): PasswordUpdateRequest;
26
+ export declare function PasswordUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdateRequest;
27
+ export declare function PasswordUpdateRequestToJSON(value?: PasswordUpdateRequest | null): any;