@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,11 @@
1
+ export * from "./AdminApi.mjs";
2
+ export * from "./ApplicationApi.mjs";
3
+ export * from "./AuthApi.mjs";
4
+ export * from "./BucketApi.mjs";
5
+ export * from "./CollectionApi.mjs";
6
+ export * from "./DatabaseApi.mjs";
7
+ export * from "./DocumentApi.mjs";
8
+ export * from "./FileApi.mjs";
9
+ export * from "./IndexApi.mjs";
10
+ export * from "./InformationApi.mjs";
11
+ export * from "./JobsApi.mjs";
@@ -0,0 +1,3 @@
1
+ export * from './runtime';
2
+ export * from './apis';
3
+ export * from './models';
@@ -0,0 +1,3 @@
1
+ export * from "./runtime.mjs";
2
+ export * from "./apis/index.mjs";
3
+ export * from "./models/index.mjs";
@@ -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 BucketInformation
16
+ */
17
+ export interface BucketInformation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BucketInformation
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof BucketInformation
28
+ */
29
+ files: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof BucketInformation
34
+ */
35
+ size: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof BucketInformation
40
+ */
41
+ avgObjectSize: number;
42
+ }
43
+ export declare function BucketInformationFromJSON(json: any): BucketInformation;
44
+ export declare function BucketInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BucketInformation;
45
+ export declare function BucketInformationToJSON(value?: BucketInformation | null): any;
@@ -0,0 +1,28 @@
1
+ export function BucketInformationFromJSON(json) {
2
+ return BucketInformationFromJSONTyped(json, false);
3
+ }
4
+ export function BucketInformationFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "name": json["name"],
10
+ "files": json["files"],
11
+ "size": json["size"],
12
+ "avgObjectSize": json["avgObjectSize"]
13
+ };
14
+ }
15
+ export function BucketInformationToJSON(value) {
16
+ if (value === void 0) {
17
+ return void 0;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ "name": value.name,
24
+ "files": value.files,
25
+ "size": value.size,
26
+ "avgObjectSize": value.avgObjectSize
27
+ };
28
+ }
@@ -0,0 +1,103 @@
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 CollectionStatus
16
+ */
17
+ export interface CollectionStatus {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CollectionStatus
22
+ */
23
+ ns: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CollectionStatus
28
+ */
29
+ collectionType: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CollectionStatus
34
+ */
35
+ scaleFactor: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CollectionStatus
40
+ */
41
+ size: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CollectionStatus
46
+ */
47
+ count: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CollectionStatus
52
+ */
53
+ storageSize: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CollectionStatus
58
+ */
59
+ avgObjSize: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof CollectionStatus
64
+ */
65
+ nindexes: number;
66
+ /**
67
+ *
68
+ * @type {{ [key: string]: number; }}
69
+ * @memberof CollectionStatus
70
+ */
71
+ indexSizes: {
72
+ [key: string]: number;
73
+ };
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof CollectionStatus
78
+ */
79
+ totalIndexSize: number;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof CollectionStatus
84
+ */
85
+ ok: number;
86
+ /**
87
+ *
88
+ * @type {Date}
89
+ * @memberof CollectionStatus
90
+ */
91
+ fetched: Date;
92
+ /**
93
+ *
94
+ * @type {{ [key: string]: string; }}
95
+ * @memberof CollectionStatus
96
+ */
97
+ map: {
98
+ [key: string]: string;
99
+ };
100
+ }
101
+ export declare function CollectionStatusFromJSON(json: any): CollectionStatus;
102
+ export declare function CollectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionStatus;
103
+ export declare function CollectionStatusToJSON(value?: CollectionStatus | null): any;
@@ -0,0 +1,46 @@
1
+ export function CollectionStatusFromJSON(json) {
2
+ return CollectionStatusFromJSONTyped(json, false);
3
+ }
4
+ export function CollectionStatusFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "ns": json["ns"],
10
+ "collectionType": json["collectionType"],
11
+ "scaleFactor": json["scaleFactor"],
12
+ "size": json["size"],
13
+ "count": json["count"],
14
+ "storageSize": json["storageSize"],
15
+ "avgObjSize": json["avgObjSize"],
16
+ "nindexes": json["nindexes"],
17
+ "indexSizes": json["indexSizes"],
18
+ "totalIndexSize": json["totalIndexSize"],
19
+ "ok": json["ok"],
20
+ "fetched": new Date(json["fetched"]),
21
+ "map": json["map"]
22
+ };
23
+ }
24
+ export function CollectionStatusToJSON(value) {
25
+ if (value === void 0) {
26
+ return void 0;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ "ns": value.ns,
33
+ "collectionType": value.collectionType,
34
+ "scaleFactor": value.scaleFactor,
35
+ "size": value.size,
36
+ "count": value.count,
37
+ "storageSize": value.storageSize,
38
+ "avgObjSize": value.avgObjSize,
39
+ "nindexes": value.nindexes,
40
+ "indexSizes": value.indexSizes,
41
+ "totalIndexSize": value.totalIndexSize,
42
+ "ok": value.ok,
43
+ "fetched": value.fetched.toISOString(),
44
+ "map": value.map
45
+ };
46
+ }
@@ -0,0 +1,53 @@
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 DatabaseInfo
16
+ */
17
+ export interface DatabaseInfo {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DatabaseInfo
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof DatabaseInfo
28
+ */
29
+ sizeOnDisk: number;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof DatabaseInfo
34
+ */
35
+ empty: boolean;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof DatabaseInfo
40
+ */
41
+ fetched: Date;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: string; }}
45
+ * @memberof DatabaseInfo
46
+ */
47
+ map: {
48
+ [key: string]: string;
49
+ };
50
+ }
51
+ export declare function DatabaseInfoFromJSON(json: any): DatabaseInfo;
52
+ export declare function DatabaseInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseInfo;
53
+ export declare function DatabaseInfoToJSON(value?: DatabaseInfo | null): any;
@@ -0,0 +1,30 @@
1
+ export function DatabaseInfoFromJSON(json) {
2
+ return DatabaseInfoFromJSONTyped(json, false);
3
+ }
4
+ export function DatabaseInfoFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "name": json["name"],
10
+ "sizeOnDisk": json["sizeOnDisk"],
11
+ "empty": json["empty"],
12
+ "fetched": new Date(json["fetched"]),
13
+ "map": json["map"]
14
+ };
15
+ }
16
+ export function DatabaseInfoToJSON(value) {
17
+ if (value === void 0) {
18
+ return void 0;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ "name": value.name,
25
+ "sizeOnDisk": value.sizeOnDisk,
26
+ "empty": value.empty,
27
+ "fetched": value.fetched.toISOString(),
28
+ "map": value.map
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 DeleteResponse
16
+ */
17
+ export interface DeleteResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof DeleteResponse
22
+ */
23
+ wasAcknowledged: boolean;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof DeleteResponse
28
+ */
29
+ deletedCount: number;
30
+ }
31
+ export declare function DeleteResponseFromJSON(json: any): DeleteResponse;
32
+ export declare function DeleteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteResponse;
33
+ export declare function DeleteResponseToJSON(value?: DeleteResponse | null): any;
@@ -0,0 +1,24 @@
1
+ export function DeleteResponseFromJSON(json) {
2
+ return DeleteResponseFromJSONTyped(json, false);
3
+ }
4
+ export function DeleteResponseFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "wasAcknowledged": json["wasAcknowledged"],
10
+ "deletedCount": json["deletedCount"]
11
+ };
12
+ }
13
+ export function DeleteResponseToJSON(value) {
14
+ if (value === void 0) {
15
+ return void 0;
16
+ }
17
+ if (value === null) {
18
+ return null;
19
+ }
20
+ return {
21
+ "wasAcknowledged": value.wasAcknowledged,
22
+ "deletedCount": value.deletedCount
23
+ };
24
+ }
@@ -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 ErrorDescription
16
+ */
17
+ export interface ErrorDescription {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ErrorDescription
22
+ */
23
+ code: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ErrorDescription
28
+ */
29
+ msg: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ErrorDescription
34
+ */
35
+ additionalInfo: string;
36
+ }
37
+ export declare function ErrorDescriptionFromJSON(json: any): ErrorDescription;
38
+ export declare function ErrorDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDescription;
39
+ export declare function ErrorDescriptionToJSON(value?: ErrorDescription | null): any;
@@ -0,0 +1,26 @@
1
+ export function ErrorDescriptionFromJSON(json) {
2
+ return ErrorDescriptionFromJSONTyped(json, false);
3
+ }
4
+ export function ErrorDescriptionFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "code": json["code"],
10
+ "msg": json["msg"],
11
+ "additionalInfo": json["additionalInfo"]
12
+ };
13
+ }
14
+ export function ErrorDescriptionToJSON(value) {
15
+ if (value === void 0) {
16
+ return void 0;
17
+ }
18
+ if (value === null) {
19
+ return null;
20
+ }
21
+ return {
22
+ "code": value.code,
23
+ "msg": value.msg,
24
+ "additionalInfo": value.additionalInfo
25
+ };
26
+ }
@@ -0,0 +1,59 @@
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 FileInformation
16
+ */
17
+ export interface FileInformation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FileInformation
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FileInformation
28
+ */
29
+ filename: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof FileInformation
34
+ */
35
+ length: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof FileInformation
40
+ */
41
+ chunkSize: number;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof FileInformation
46
+ */
47
+ uploadDate: Date;
48
+ /**
49
+ *
50
+ * @type {{ [key: string]: string; }}
51
+ * @memberof FileInformation
52
+ */
53
+ metadata: {
54
+ [key: string]: string;
55
+ };
56
+ }
57
+ export declare function FileInformationFromJSON(json: any): FileInformation;
58
+ export declare function FileInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInformation;
59
+ export declare function FileInformationToJSON(value?: FileInformation | null): any;
@@ -0,0 +1,32 @@
1
+ export function FileInformationFromJSON(json) {
2
+ return FileInformationFromJSONTyped(json, false);
3
+ }
4
+ export function FileInformationFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "id": json["_id"],
10
+ "filename": json["filename"],
11
+ "length": json["length"],
12
+ "chunkSize": json["chunkSize"],
13
+ "uploadDate": new Date(json["uploadDate"]),
14
+ "metadata": json["metadata"]
15
+ };
16
+ }
17
+ export function FileInformationToJSON(value) {
18
+ if (value === void 0) {
19
+ return void 0;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ "_id": value.id,
26
+ "filename": value.filename,
27
+ "length": value.length,
28
+ "chunkSize": value.chunkSize,
29
+ "uploadDate": value.uploadDate.toISOString(),
30
+ "metadata": value.metadata
31
+ };
32
+ }
@@ -0,0 +1,51 @@
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 Grant
16
+ */
17
+ export interface Grant {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Grant
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof Grant
28
+ */
29
+ read: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof Grant
34
+ */
35
+ write: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof Grant
40
+ */
41
+ administrate: boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof Grant
46
+ */
47
+ grantType: string;
48
+ }
49
+ export declare function GrantFromJSON(json: any): Grant;
50
+ export declare function GrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Grant;
51
+ export declare function GrantToJSON(value?: Grant | null): any;
@@ -0,0 +1,30 @@
1
+ export function GrantFromJSON(json) {
2
+ return GrantFromJSONTyped(json, false);
3
+ }
4
+ export function GrantFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "name": json["name"],
10
+ "read": json["read"],
11
+ "write": json["write"],
12
+ "administrate": json["administrate"],
13
+ "grantType": json["grantType"]
14
+ };
15
+ }
16
+ export function GrantToJSON(value) {
17
+ if (value === void 0) {
18
+ return void 0;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ "name": value.name,
25
+ "read": value.read,
26
+ "write": value.write,
27
+ "administrate": value.administrate,
28
+ "grantType": value.grantType
29
+ };
30
+ }
@@ -0,0 +1,36 @@
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 { IndexOptionsRequest } from './IndexOptionsRequest';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IndexCreateRequest
17
+ */
18
+ export interface IndexCreateRequest {
19
+ /**
20
+ *
21
+ * @type {{ [key: string]: number; }}
22
+ * @memberof IndexCreateRequest
23
+ */
24
+ keys: {
25
+ [key: string]: number;
26
+ };
27
+ /**
28
+ *
29
+ * @type {IndexOptionsRequest}
30
+ * @memberof IndexCreateRequest
31
+ */
32
+ indexOptionsRequest?: IndexOptionsRequest;
33
+ }
34
+ export declare function IndexCreateRequestFromJSON(json: any): IndexCreateRequest;
35
+ export declare function IndexCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateRequest;
36
+ export declare function IndexCreateRequestToJSON(value?: IndexCreateRequest | null): any;