@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,22 @@
1
+ export function PasswordUpdateRequestFromJSON(json) {
2
+ return PasswordUpdateRequestFromJSONTyped(json, false);
3
+ }
4
+ export function PasswordUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "password": json["password"]
10
+ };
11
+ }
12
+ export function PasswordUpdateRequestToJSON(value) {
13
+ if (value === void 0) {
14
+ return void 0;
15
+ }
16
+ if (value === null) {
17
+ return null;
18
+ }
19
+ return {
20
+ "password": value.password
21
+ };
22
+ }
@@ -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 PipelineStage
16
+ */
17
+ export interface PipelineStage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PipelineStage
22
+ */
23
+ stage: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PipelineStage
28
+ */
29
+ value: string;
30
+ }
31
+ export declare function PipelineStageFromJSON(json: any): PipelineStage;
32
+ export declare function PipelineStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineStage;
33
+ export declare function PipelineStageToJSON(value?: PipelineStage | null): any;
@@ -0,0 +1,24 @@
1
+ export function PipelineStageFromJSON(json) {
2
+ return PipelineStageFromJSONTyped(json, false);
3
+ }
4
+ export function PipelineStageFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "stage": json["stage"],
10
+ "value": json["value"]
11
+ };
12
+ }
13
+ export function PipelineStageToJSON(value) {
14
+ if (value === void 0) {
15
+ return void 0;
16
+ }
17
+ if (value === null) {
18
+ return null;
19
+ }
20
+ return {
21
+ "stage": value.stage,
22
+ "value": value.value
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 { Grant } from './Grant';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Role
17
+ */
18
+ export interface Role {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof Role
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof Role
29
+ */
30
+ isAdmin: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<Grant>}
34
+ * @memberof Role
35
+ */
36
+ collectionGrants?: Array<Grant>;
37
+ }
38
+ export declare function RoleFromJSON(json: any): Role;
39
+ export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
40
+ export declare function RoleToJSON(value?: Role | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ GrantFromJSON,
4
+ GrantToJSON
5
+ } from "./Grant";
6
+ export function RoleFromJSON(json) {
7
+ return RoleFromJSONTyped(json, false);
8
+ }
9
+ export function RoleFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "name": json["name"],
15
+ "isAdmin": json["isAdmin"],
16
+ "collectionGrants": !exists(json, "collectionGrants") ? void 0 : json["collectionGrants"].map(GrantFromJSON)
17
+ };
18
+ }
19
+ export function RoleToJSON(value) {
20
+ if (value === void 0) {
21
+ return void 0;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ "name": value.name,
28
+ "isAdmin": value.isAdmin,
29
+ "collectionGrants": value.collectionGrants === void 0 ? void 0 : value.collectionGrants.map(GrantToJSON)
30
+ };
31
+ }
@@ -0,0 +1,46 @@
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 { SchemaAnalysisField } from './SchemaAnalysisField';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SchemaAnalysis
17
+ */
18
+ export interface SchemaAnalysis {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SchemaAnalysis
23
+ */
24
+ count: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SchemaAnalysis
29
+ */
30
+ sample: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof SchemaAnalysis
35
+ */
36
+ percentageOfAnalysed: number;
37
+ /**
38
+ *
39
+ * @type {Array<SchemaAnalysisField>}
40
+ * @memberof SchemaAnalysis
41
+ */
42
+ fields?: Array<SchemaAnalysisField>;
43
+ }
44
+ export declare function SchemaAnalysisFromJSON(json: any): SchemaAnalysis;
45
+ export declare function SchemaAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysis;
46
+ export declare function SchemaAnalysisToJSON(value?: SchemaAnalysis | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ SchemaAnalysisFieldFromJSON,
4
+ SchemaAnalysisFieldToJSON
5
+ } from "./SchemaAnalysisField";
6
+ export function SchemaAnalysisFromJSON(json) {
7
+ return SchemaAnalysisFromJSONTyped(json, false);
8
+ }
9
+ export function SchemaAnalysisFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "count": json["count"],
15
+ "sample": json["sample"],
16
+ "percentageOfAnalysed": json["percentageOfAnalysed"],
17
+ "fields": !exists(json, "fields") ? void 0 : json["fields"].map(SchemaAnalysisFieldFromJSON)
18
+ };
19
+ }
20
+ export function SchemaAnalysisToJSON(value) {
21
+ if (value === void 0) {
22
+ return void 0;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ "count": value.count,
29
+ "sample": value.sample,
30
+ "percentageOfAnalysed": value.percentageOfAnalysed,
31
+ "fields": value.fields === void 0 ? void 0 : value.fields.map(SchemaAnalysisFieldToJSON)
32
+ };
33
+ }
@@ -0,0 +1,58 @@
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 { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SchemaAnalysisField
17
+ */
18
+ export interface SchemaAnalysisField {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SchemaAnalysisField
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SchemaAnalysisField
29
+ */
30
+ fullName: string;
31
+ /**
32
+ *
33
+ * @type {Array<SchemaAnalysisFieldType>}
34
+ * @memberof SchemaAnalysisField
35
+ */
36
+ fieldTypes?: Array<SchemaAnalysisFieldType>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof SchemaAnalysisField
41
+ */
42
+ count: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof SchemaAnalysisField
47
+ */
48
+ percentageOfParent: number;
49
+ /**
50
+ *
51
+ * @type {Array<SchemaAnalysisField>}
52
+ * @memberof SchemaAnalysisField
53
+ */
54
+ subFields?: Array<SchemaAnalysisField>;
55
+ }
56
+ export declare function SchemaAnalysisFieldFromJSON(json: any): SchemaAnalysisField;
57
+ export declare function SchemaAnalysisFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisField;
58
+ export declare function SchemaAnalysisFieldToJSON(value?: SchemaAnalysisField | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ SchemaAnalysisFieldTypeFromJSON,
4
+ SchemaAnalysisFieldTypeToJSON
5
+ } from "./SchemaAnalysisFieldType";
6
+ export function SchemaAnalysisFieldFromJSON(json) {
7
+ return SchemaAnalysisFieldFromJSONTyped(json, false);
8
+ }
9
+ export function SchemaAnalysisFieldFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "name": json["name"],
15
+ "fullName": json["fullName"],
16
+ "fieldTypes": !exists(json, "fieldTypes") ? void 0 : json["fieldTypes"].map(SchemaAnalysisFieldTypeFromJSON),
17
+ "count": json["count"],
18
+ "percentageOfParent": json["percentageOfParent"],
19
+ "subFields": !exists(json, "subFields") ? void 0 : json["subFields"].map(SchemaAnalysisFieldFromJSON)
20
+ };
21
+ }
22
+ export function SchemaAnalysisFieldToJSON(value) {
23
+ if (value === void 0) {
24
+ return void 0;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ "name": value.name,
31
+ "fullName": value.fullName,
32
+ "fieldTypes": value.fieldTypes === void 0 ? void 0 : value.fieldTypes.map(SchemaAnalysisFieldTypeToJSON),
33
+ "count": value.count,
34
+ "percentageOfParent": value.percentageOfParent,
35
+ "subFields": value.subFields === void 0 ? void 0 : value.subFields.map(SchemaAnalysisFieldToJSON)
36
+ };
37
+ }
@@ -0,0 +1,39 @@
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 SchemaAnalysisFieldType
16
+ */
17
+ export interface SchemaAnalysisFieldType {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SchemaAnalysisFieldType
22
+ */
23
+ fieldType: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SchemaAnalysisFieldType
28
+ */
29
+ count: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SchemaAnalysisFieldType
34
+ */
35
+ percentageOfParent: number;
36
+ }
37
+ export declare function SchemaAnalysisFieldTypeFromJSON(json: any): SchemaAnalysisFieldType;
38
+ export declare function SchemaAnalysisFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisFieldType;
39
+ export declare function SchemaAnalysisFieldTypeToJSON(value?: SchemaAnalysisFieldType | null): any;
@@ -0,0 +1,26 @@
1
+ export function SchemaAnalysisFieldTypeFromJSON(json) {
2
+ return SchemaAnalysisFieldTypeFromJSONTyped(json, false);
3
+ }
4
+ export function SchemaAnalysisFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "fieldType": json["fieldType"],
10
+ "count": json["count"],
11
+ "percentageOfParent": json["percentageOfParent"]
12
+ };
13
+ }
14
+ export function SchemaAnalysisFieldTypeToJSON(value) {
15
+ if (value === void 0) {
16
+ return void 0;
17
+ }
18
+ if (value === null) {
19
+ return null;
20
+ }
21
+ return {
22
+ "fieldType": value.fieldType,
23
+ "count": value.count,
24
+ "percentageOfParent": value.percentageOfParent
25
+ };
26
+ }
@@ -0,0 +1,47 @@
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 SettingsResponse
16
+ */
17
+ export interface SettingsResponse {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof SettingsResponse
22
+ */
23
+ routesPlugins?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof SettingsResponse
28
+ */
29
+ filePlugins?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof SettingsResponse
34
+ */
35
+ ignoredPlugins?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: string; }}
39
+ * @memberof SettingsResponse
40
+ */
41
+ configurations: {
42
+ [key: string]: string;
43
+ };
44
+ }
45
+ export declare function SettingsResponseFromJSON(json: any): SettingsResponse;
46
+ export declare function SettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsResponse;
47
+ export declare function SettingsResponseToJSON(value?: SettingsResponse | null): any;
@@ -0,0 +1,29 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function SettingsResponseFromJSON(json) {
3
+ return SettingsResponseFromJSONTyped(json, false);
4
+ }
5
+ export function SettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "routesPlugins": !exists(json, "routesPlugins") ? void 0 : json["routesPlugins"],
11
+ "filePlugins": !exists(json, "filePlugins") ? void 0 : json["filePlugins"],
12
+ "ignoredPlugins": !exists(json, "ignoredPlugins") ? void 0 : json["ignoredPlugins"],
13
+ "configurations": json["configurations"]
14
+ };
15
+ }
16
+ export function SettingsResponseToJSON(value) {
17
+ if (value === void 0) {
18
+ return void 0;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ "routesPlugins": value.routesPlugins,
25
+ "filePlugins": value.filePlugins,
26
+ "ignoredPlugins": value.ignoredPlugins,
27
+ "configurations": value.configurations
28
+ };
29
+ }
@@ -0,0 +1,35 @@
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 UpdateFileInformationRequest
16
+ */
17
+ export interface UpdateFileInformationRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateFileInformationRequest
22
+ */
23
+ filename?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: string; }}
27
+ * @memberof UpdateFileInformationRequest
28
+ */
29
+ metadata?: {
30
+ [key: string]: string;
31
+ };
32
+ }
33
+ export declare function UpdateFileInformationRequestFromJSON(json: any): UpdateFileInformationRequest;
34
+ export declare function UpdateFileInformationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFileInformationRequest;
35
+ export declare function UpdateFileInformationRequestToJSON(value?: UpdateFileInformationRequest | null): any;
@@ -0,0 +1,25 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function UpdateFileInformationRequestFromJSON(json) {
3
+ return UpdateFileInformationRequestFromJSONTyped(json, false);
4
+ }
5
+ export function UpdateFileInformationRequestFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "filename": !exists(json, "filename") ? void 0 : json["filename"],
11
+ "metadata": !exists(json, "metadata") ? void 0 : json["metadata"]
12
+ };
13
+ }
14
+ export function UpdateFileInformationRequestToJSON(value) {
15
+ if (value === void 0) {
16
+ return void 0;
17
+ }
18
+ if (value === null) {
19
+ return null;
20
+ }
21
+ return {
22
+ "filename": value.filename,
23
+ "metadata": value.metadata
24
+ };
25
+ }
@@ -0,0 +1,37 @@
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 UpdateRequest
16
+ */
17
+ export interface UpdateRequest {
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: string; }}
21
+ * @memberof UpdateRequest
22
+ */
23
+ document: {
24
+ [key: string]: string;
25
+ };
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: string; }}
29
+ * @memberof UpdateRequest
30
+ */
31
+ filter: {
32
+ [key: string]: string;
33
+ };
34
+ }
35
+ export declare function UpdateRequestFromJSON(json: any): UpdateRequest;
36
+ export declare function UpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRequest;
37
+ export declare function UpdateRequestToJSON(value?: UpdateRequest | null): any;
@@ -0,0 +1,24 @@
1
+ export function UpdateRequestFromJSON(json) {
2
+ return UpdateRequestFromJSONTyped(json, false);
3
+ }
4
+ export function UpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "document": json["document"],
10
+ "filter": json["filter"]
11
+ };
12
+ }
13
+ export function UpdateRequestToJSON(value) {
14
+ if (value === void 0) {
15
+ return void 0;
16
+ }
17
+ if (value === null) {
18
+ return null;
19
+ }
20
+ return {
21
+ "document": value.document,
22
+ "filter": value.filter
23
+ };
24
+ }
@@ -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 UpdateResponse
16
+ */
17
+ export interface UpdateResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof UpdateResponse
22
+ */
23
+ wasAcknowledged: boolean;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof UpdateResponse
28
+ */
29
+ upsertedIds?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof UpdateResponse
34
+ */
35
+ modifiedCount: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof UpdateResponse
40
+ */
41
+ matchedCount: number;
42
+ }
43
+ export declare function UpdateResponseFromJSON(json: any): UpdateResponse;
44
+ export declare function UpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateResponse;
45
+ export declare function UpdateResponseToJSON(value?: UpdateResponse | null): any;
@@ -0,0 +1,29 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function UpdateResponseFromJSON(json) {
3
+ return UpdateResponseFromJSONTyped(json, false);
4
+ }
5
+ export function UpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "wasAcknowledged": json["wasAcknowledged"],
11
+ "upsertedIds": !exists(json, "upsertedIds") ? void 0 : json["upsertedIds"],
12
+ "modifiedCount": json["modifiedCount"],
13
+ "matchedCount": json["matchedCount"]
14
+ };
15
+ }
16
+ export function UpdateResponseToJSON(value) {
17
+ if (value === void 0) {
18
+ return void 0;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ "wasAcknowledged": value.wasAcknowledged,
25
+ "upsertedIds": value.upsertedIds,
26
+ "modifiedCount": value.modifiedCount,
27
+ "matchedCount": value.matchedCount
28
+ };
29
+ }