@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,29 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ IndexOptionsRequestFromJSON,
4
+ IndexOptionsRequestToJSON
5
+ } from "./IndexOptionsRequest";
6
+ export function IndexCreateRequestFromJSON(json) {
7
+ return IndexCreateRequestFromJSONTyped(json, false);
8
+ }
9
+ export function IndexCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "keys": json["keys"],
15
+ "indexOptionsRequest": !exists(json, "indexOptionsRequest") ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"])
16
+ };
17
+ }
18
+ export function IndexCreateRequestToJSON(value) {
19
+ if (value === void 0) {
20
+ return void 0;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ "keys": value.keys,
27
+ "indexOptionsRequest": IndexOptionsRequestToJSON(value.indexOptionsRequest)
28
+ };
29
+ }
@@ -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 IndexCreateResponse
16
+ */
17
+ export interface IndexCreateResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexCreateResponse
22
+ */
23
+ name: string;
24
+ }
25
+ export declare function IndexCreateResponseFromJSON(json: any): IndexCreateResponse;
26
+ export declare function IndexCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateResponse;
27
+ export declare function IndexCreateResponseToJSON(value?: IndexCreateResponse | null): any;
@@ -0,0 +1,22 @@
1
+ export function IndexCreateResponseFromJSON(json) {
2
+ return IndexCreateResponseFromJSONTyped(json, false);
3
+ }
4
+ export function IndexCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "name": json["name"]
10
+ };
11
+ }
12
+ export function IndexCreateResponseToJSON(value) {
13
+ if (value === void 0) {
14
+ return void 0;
15
+ }
16
+ if (value === null) {
17
+ return null;
18
+ }
19
+ return {
20
+ "name": value.name
21
+ };
22
+ }
@@ -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 IndexDropResponse
16
+ */
17
+ export interface IndexDropResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof IndexDropResponse
22
+ */
23
+ dropped: boolean;
24
+ }
25
+ export declare function IndexDropResponseFromJSON(json: any): IndexDropResponse;
26
+ export declare function IndexDropResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDropResponse;
27
+ export declare function IndexDropResponseToJSON(value?: IndexDropResponse | null): any;
@@ -0,0 +1,22 @@
1
+ export function IndexDropResponseFromJSON(json) {
2
+ return IndexDropResponseFromJSONTyped(json, false);
3
+ }
4
+ export function IndexDropResponseFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "dropped": json["dropped"]
10
+ };
11
+ }
12
+ export function IndexDropResponseToJSON(value) {
13
+ if (value === void 0) {
14
+ return void 0;
15
+ }
16
+ if (value === null) {
17
+ return null;
18
+ }
19
+ return {
20
+ "dropped": value.dropped
21
+ };
22
+ }
@@ -0,0 +1,69 @@
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 IndexOptionsRequest
16
+ */
17
+ export interface IndexOptionsRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexOptionsRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof IndexOptionsRequest
28
+ */
29
+ background?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IndexOptionsRequest
34
+ */
35
+ defaultLanguage?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexOptionsRequest
40
+ */
41
+ textVersion?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof IndexOptionsRequest
46
+ */
47
+ expireAfter?: string;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof IndexOptionsRequest
52
+ */
53
+ unique?: boolean;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof IndexOptionsRequest
58
+ */
59
+ max?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof IndexOptionsRequest
64
+ */
65
+ min?: number;
66
+ }
67
+ export declare function IndexOptionsRequestFromJSON(json: any): IndexOptionsRequest;
68
+ export declare function IndexOptionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOptionsRequest;
69
+ export declare function IndexOptionsRequestToJSON(value?: IndexOptionsRequest | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function IndexOptionsRequestFromJSON(json) {
3
+ return IndexOptionsRequestFromJSONTyped(json, false);
4
+ }
5
+ export function IndexOptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "name": !exists(json, "name") ? void 0 : json["name"],
11
+ "background": !exists(json, "background") ? void 0 : json["background"],
12
+ "defaultLanguage": !exists(json, "defaultLanguage") ? void 0 : json["defaultLanguage"],
13
+ "textVersion": !exists(json, "textVersion") ? void 0 : json["textVersion"],
14
+ "expireAfter": !exists(json, "expireAfter") ? void 0 : json["expireAfter"],
15
+ "unique": !exists(json, "unique") ? void 0 : json["unique"],
16
+ "max": !exists(json, "max") ? void 0 : json["max"],
17
+ "min": !exists(json, "min") ? void 0 : json["min"]
18
+ };
19
+ }
20
+ export function IndexOptionsRequestToJSON(value) {
21
+ if (value === void 0) {
22
+ return void 0;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ "name": value.name,
29
+ "background": value.background,
30
+ "defaultLanguage": value.defaultLanguage,
31
+ "textVersion": value.textVersion,
32
+ "expireAfter": value.expireAfter,
33
+ "unique": value.unique,
34
+ "max": value.max,
35
+ "min": value.min
36
+ };
37
+ }
@@ -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 InsertResponse
16
+ */
17
+ export interface InsertResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof InsertResponse
22
+ */
23
+ wasAcknowledged: boolean;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof InsertResponse
28
+ */
29
+ insertedIds?: Array<string>;
30
+ }
31
+ export declare function InsertResponseFromJSON(json: any): InsertResponse;
32
+ export declare function InsertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertResponse;
33
+ export declare function InsertResponseToJSON(value?: InsertResponse | null): any;
@@ -0,0 +1,25 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function InsertResponseFromJSON(json) {
3
+ return InsertResponseFromJSONTyped(json, false);
4
+ }
5
+ export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "wasAcknowledged": json["wasAcknowledged"],
11
+ "insertedIds": !exists(json, "insertedIds") ? void 0 : json["insertedIds"]
12
+ };
13
+ }
14
+ export function InsertResponseToJSON(value) {
15
+ if (value === void 0) {
16
+ return void 0;
17
+ }
18
+ if (value === null) {
19
+ return null;
20
+ }
21
+ return {
22
+ "wasAcknowledged": value.wasAcknowledged,
23
+ "insertedIds": value.insertedIds
24
+ };
25
+ }
@@ -0,0 +1,57 @@
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 JobConfig
16
+ */
17
+ export interface JobConfig {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof JobConfig
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof JobConfig
28
+ */
29
+ className: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof JobConfig
34
+ */
35
+ description: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof JobConfig
40
+ */
41
+ cronExpression: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof JobConfig
46
+ */
47
+ group: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof JobConfig
52
+ */
53
+ priority: number;
54
+ }
55
+ export declare function JobConfigFromJSON(json: any): JobConfig;
56
+ export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
57
+ export declare function JobConfigToJSON(value?: JobConfig | null): any;
@@ -0,0 +1,32 @@
1
+ export function JobConfigFromJSON(json) {
2
+ return JobConfigFromJSONTyped(json, false);
3
+ }
4
+ export function JobConfigFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "name": json["name"],
10
+ "className": json["className"],
11
+ "description": json["description"],
12
+ "cronExpression": json["cronExpression"],
13
+ "group": json["group"],
14
+ "priority": json["priority"]
15
+ };
16
+ }
17
+ export function JobConfigToJSON(value) {
18
+ if (value === void 0) {
19
+ return void 0;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ "name": value.name,
26
+ "className": value.className,
27
+ "description": value.description,
28
+ "cronExpression": value.cronExpression,
29
+ "group": value.group,
30
+ "priority": value.priority
31
+ };
32
+ }
@@ -0,0 +1,75 @@
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 JobInformation
16
+ */
17
+ export interface JobInformation {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof JobInformation
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof JobInformation
28
+ */
29
+ group: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof JobInformation
34
+ */
35
+ jobClassName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof JobInformation
40
+ */
41
+ description: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof JobInformation
46
+ */
47
+ cronExpression: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof JobInformation
52
+ */
53
+ priority: number;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof JobInformation
58
+ */
59
+ lastScheduledFireTime?: Date;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof JobInformation
64
+ */
65
+ nextScheduledFireTime?: Date;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof JobInformation
70
+ */
71
+ scheduleInformation?: string;
72
+ }
73
+ export declare function JobInformationFromJSON(json: any): JobInformation;
74
+ export declare function JobInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobInformation;
75
+ export declare function JobInformationToJSON(value?: JobInformation | null): any;
@@ -0,0 +1,39 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function JobInformationFromJSON(json) {
3
+ return JobInformationFromJSONTyped(json, false);
4
+ }
5
+ export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
6
+ if (json === void 0 || json === null) {
7
+ return json;
8
+ }
9
+ return {
10
+ "name": json["name"],
11
+ "group": json["group"],
12
+ "jobClassName": json["jobClassName"],
13
+ "description": json["description"],
14
+ "cronExpression": json["cronExpression"],
15
+ "priority": json["priority"],
16
+ "lastScheduledFireTime": !exists(json, "lastScheduledFireTime") ? void 0 : new Date(json["lastScheduledFireTime"]),
17
+ "nextScheduledFireTime": !exists(json, "nextScheduledFireTime") ? void 0 : new Date(json["nextScheduledFireTime"]),
18
+ "scheduleInformation": !exists(json, "scheduleInformation") ? void 0 : json["scheduleInformation"]
19
+ };
20
+ }
21
+ export function JobInformationToJSON(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
+ "group": value.group,
31
+ "jobClassName": value.jobClassName,
32
+ "description": value.description,
33
+ "cronExpression": value.cronExpression,
34
+ "priority": value.priority,
35
+ "lastScheduledFireTime": value.lastScheduledFireTime === void 0 ? void 0 : value.lastScheduledFireTime.toISOString(),
36
+ "nextScheduledFireTime": value.nextScheduledFireTime === void 0 ? void 0 : value.nextScheduledFireTime.toISOString(),
37
+ "scheduleInformation": value.scheduleInformation
38
+ };
39
+ }
@@ -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 JsonResultBoolean
16
+ */
17
+ export interface JsonResultBoolean {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof JsonResultBoolean
22
+ */
23
+ value: boolean;
24
+ }
25
+ export declare function JsonResultBooleanFromJSON(json: any): JsonResultBoolean;
26
+ export declare function JsonResultBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonResultBoolean;
27
+ export declare function JsonResultBooleanToJSON(value?: JsonResultBoolean | null): any;
@@ -0,0 +1,22 @@
1
+ export function JsonResultBooleanFromJSON(json) {
2
+ return JsonResultBooleanFromJSONTyped(json, false);
3
+ }
4
+ export function JsonResultBooleanFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "value": json["value"]
10
+ };
11
+ }
12
+ export function JsonResultBooleanToJSON(value) {
13
+ if (value === void 0) {
14
+ return void 0;
15
+ }
16
+ if (value === null) {
17
+ return null;
18
+ }
19
+ return {
20
+ "value": value.value
21
+ };
22
+ }
@@ -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 JsonResultString
16
+ */
17
+ export interface JsonResultString {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof JsonResultString
22
+ */
23
+ value: string;
24
+ }
25
+ export declare function JsonResultStringFromJSON(json: any): JsonResultString;
26
+ export declare function JsonResultStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonResultString;
27
+ export declare function JsonResultStringToJSON(value?: JsonResultString | null): any;
@@ -0,0 +1,22 @@
1
+ export function JsonResultStringFromJSON(json) {
2
+ return JsonResultStringFromJSONTyped(json, false);
3
+ }
4
+ export function JsonResultStringFromJSONTyped(json, ignoreDiscriminator) {
5
+ if (json === void 0 || json === null) {
6
+ return json;
7
+ }
8
+ return {
9
+ "value": json["value"]
10
+ };
11
+ }
12
+ export function JsonResultStringToJSON(value) {
13
+ if (value === void 0) {
14
+ return void 0;
15
+ }
16
+ if (value === null) {
17
+ return null;
18
+ }
19
+ return {
20
+ "value": value.value
21
+ };
22
+ }
@@ -0,0 +1,42 @@
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 { JsonSchemaDefinition } from './JsonSchemaDefinition';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface JsonSchema
17
+ */
18
+ export interface JsonSchema {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof JsonSchema
23
+ */
24
+ $schema: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof JsonSchema
29
+ */
30
+ $ref: string;
31
+ /**
32
+ *
33
+ * @type {{ [key: string]: JsonSchemaDefinition; }}
34
+ * @memberof JsonSchema
35
+ */
36
+ definitions: {
37
+ [key: string]: JsonSchemaDefinition;
38
+ };
39
+ }
40
+ export declare function JsonSchemaFromJSON(json: any): JsonSchema;
41
+ export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema;
42
+ export declare function JsonSchemaToJSON(value?: JsonSchema | null): any;
@@ -0,0 +1,31 @@
1
+ import { mapValues } from "../runtime.mjs";
2
+ import {
3
+ JsonSchemaDefinitionFromJSON,
4
+ JsonSchemaDefinitionToJSON
5
+ } from "./JsonSchemaDefinition";
6
+ export function JsonSchemaFromJSON(json) {
7
+ return JsonSchemaFromJSONTyped(json, false);
8
+ }
9
+ export function JsonSchemaFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "$schema": json["$schema"],
15
+ "$ref": json["$ref"],
16
+ "definitions": mapValues(json["definitions"], JsonSchemaDefinitionFromJSON)
17
+ };
18
+ }
19
+ export function JsonSchemaToJSON(value) {
20
+ if (value === void 0) {
21
+ return void 0;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ "$schema": value.$schema,
28
+ "$ref": value.$ref,
29
+ "definitions": mapValues(value.definitions, JsonSchemaDefinitionToJSON)
30
+ };
31
+ }