@sfxcode/nuxt-mongocamp-server 1.2.2 → 1.2.3

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 (101) hide show
  1. package/dist/module.d.mts +1 -1
  2. package/dist/module.d.ts +1 -1
  3. package/dist/module.json +2 -2
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/ApplicationApi.d.ts +14 -1
  7. package/dist/runtime/api/apis/ApplicationApi.js +39 -0
  8. package/dist/runtime/api/apis/AuthApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  10. package/dist/runtime/api/apis/CollectionApi.d.ts +4 -4
  11. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/DocumentApi.d.ts +1 -1
  13. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  14. package/dist/runtime/api/apis/IndexApi.d.ts +1 -1
  15. package/dist/runtime/api/apis/InformationApi.d.ts +1 -1
  16. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  17. package/dist/runtime/api/models/BucketInformation.d.ts +3 -2
  18. package/dist/runtime/api/models/BucketInformation.js +4 -1
  19. package/dist/runtime/api/models/CollectionStatus.d.ts +3 -2
  20. package/dist/runtime/api/models/CollectionStatus.js +4 -1
  21. package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -2
  22. package/dist/runtime/api/models/DatabaseInfo.js +4 -1
  23. package/dist/runtime/api/models/DeleteResponse.d.ts +3 -2
  24. package/dist/runtime/api/models/DeleteResponse.js +4 -1
  25. package/dist/runtime/api/models/ErrorDescription.d.ts +3 -2
  26. package/dist/runtime/api/models/ErrorDescription.js +4 -1
  27. package/dist/runtime/api/models/FileInformation.d.ts +3 -2
  28. package/dist/runtime/api/models/FileInformation.js +4 -1
  29. package/dist/runtime/api/models/Grant.d.ts +3 -2
  30. package/dist/runtime/api/models/Grant.js +4 -1
  31. package/dist/runtime/api/models/IndexCreateRequest.d.ts +3 -2
  32. package/dist/runtime/api/models/IndexCreateRequest.js +4 -1
  33. package/dist/runtime/api/models/IndexCreateResponse.d.ts +3 -2
  34. package/dist/runtime/api/models/IndexCreateResponse.js +4 -1
  35. package/dist/runtime/api/models/IndexDropResponse.d.ts +3 -2
  36. package/dist/runtime/api/models/IndexDropResponse.js +4 -1
  37. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -2
  38. package/dist/runtime/api/models/IndexOptionsRequest.js +4 -1
  39. package/dist/runtime/api/models/InsertResponse.d.ts +3 -2
  40. package/dist/runtime/api/models/InsertResponse.js +4 -1
  41. package/dist/runtime/api/models/JobConfig.d.ts +3 -2
  42. package/dist/runtime/api/models/JobConfig.js +4 -1
  43. package/dist/runtime/api/models/JobInformation.d.ts +3 -2
  44. package/dist/runtime/api/models/JobInformation.js +4 -1
  45. package/dist/runtime/api/models/JsonSchema.d.ts +3 -2
  46. package/dist/runtime/api/models/JsonSchema.js +4 -1
  47. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -2
  48. package/dist/runtime/api/models/JsonSchemaDefinition.js +4 -1
  49. package/dist/runtime/api/models/JsonValueAny.d.ts +3 -2
  50. package/dist/runtime/api/models/JsonValueAny.js +4 -1
  51. package/dist/runtime/api/models/JsonValueBoolean.d.ts +3 -2
  52. package/dist/runtime/api/models/JsonValueBoolean.js +4 -1
  53. package/dist/runtime/api/models/JsonValueString.d.ts +3 -2
  54. package/dist/runtime/api/models/JsonValueString.js +4 -1
  55. package/dist/runtime/api/models/Login.d.ts +3 -2
  56. package/dist/runtime/api/models/Login.js +4 -1
  57. package/dist/runtime/api/models/LoginResult.d.ts +3 -2
  58. package/dist/runtime/api/models/LoginResult.js +4 -1
  59. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +3 -2
  60. package/dist/runtime/api/models/MongoAggregateRequest.js +4 -1
  61. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +3 -2
  62. package/dist/runtime/api/models/MongoCampConfiguration.js +4 -1
  63. package/dist/runtime/api/models/MongoFindRequest.d.ts +3 -2
  64. package/dist/runtime/api/models/MongoFindRequest.js +4 -1
  65. package/dist/runtime/api/models/MongoIndex.d.ts +3 -2
  66. package/dist/runtime/api/models/MongoIndex.js +4 -1
  67. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +3 -2
  68. package/dist/runtime/api/models/PasswordUpdateRequest.js +4 -1
  69. package/dist/runtime/api/models/PipelineStage.d.ts +3 -2
  70. package/dist/runtime/api/models/PipelineStage.js +4 -1
  71. package/dist/runtime/api/models/Role.d.ts +3 -2
  72. package/dist/runtime/api/models/Role.js +4 -1
  73. package/dist/runtime/api/models/SchemaAnalysis.d.ts +3 -2
  74. package/dist/runtime/api/models/SchemaAnalysis.js +4 -1
  75. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +3 -2
  76. package/dist/runtime/api/models/SchemaAnalysisField.js +4 -1
  77. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +3 -2
  78. package/dist/runtime/api/models/SchemaAnalysisFieldType.js +4 -1
  79. package/dist/runtime/api/models/SettingsResponse.d.ts +3 -2
  80. package/dist/runtime/api/models/SettingsResponse.js +4 -1
  81. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -2
  82. package/dist/runtime/api/models/UpdateFileInformationRequest.js +4 -1
  83. package/dist/runtime/api/models/UpdateRequest.d.ts +3 -2
  84. package/dist/runtime/api/models/UpdateRequest.js +4 -1
  85. package/dist/runtime/api/models/UpdateResponse.d.ts +3 -2
  86. package/dist/runtime/api/models/UpdateResponse.js +4 -1
  87. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +3 -2
  88. package/dist/runtime/api/models/UpdateRoleRequest.js +4 -1
  89. package/dist/runtime/api/models/UserInformation.d.ts +3 -2
  90. package/dist/runtime/api/models/UserInformation.js +4 -1
  91. package/dist/runtime/api/models/UserProfile.d.ts +3 -2
  92. package/dist/runtime/api/models/UserProfile.js +4 -1
  93. package/dist/runtime/api/models/Version.d.ts +3 -2
  94. package/dist/runtime/api/models/Version.js +4 -1
  95. package/dist/runtime/api/runtime.d.ts +1 -1
  96. package/dist/runtime/composables/mongocampApi.d.ts +1 -1
  97. package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
  98. package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
  99. package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
  100. package/dist/runtime/composables/mongocampUser.d.ts +1 -1
  101. package/package.json +14 -16
package/dist/module.d.mts CHANGED
@@ -6,6 +6,6 @@ interface ModuleOptions {
6
6
  refreshToken: boolean;
7
7
  tokenRefreshIntervall: number;
8
8
  }
9
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
9
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
10
10
 
11
11
  export { type ModuleOptions, _default as default };
package/dist/module.d.ts CHANGED
@@ -6,6 +6,6 @@ interface ModuleOptions {
6
6
  refreshToken: boolean;
7
7
  tokenRefreshIntervall: number;
8
8
  }
9
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
9
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
10
10
 
11
11
  export { type ModuleOptions, _default as default };
package/dist/module.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "configKey": "mongocamp",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
7
7
  },
8
8
  "builder": {
9
- "@nuxt/module-builder": "0.8.1",
9
+ "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -534,7 +534,7 @@ function createConsola(options = {}) {
534
534
  const consola = createConsola();
535
535
 
536
536
  const name = "@sfxcode/nuxt-mongocamp-server";
537
- const version = "1.2.2";
537
+ const version = "1.2.3";
538
538
 
539
539
  const module = defineNuxtModule({
540
540
  meta: {
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,6 +14,9 @@ import type { JsonValueAny, JsonValueBoolean, MongoCampConfiguration, SettingsRe
14
14
  export interface GetConfigRequest {
15
15
  configurationKey: string;
16
16
  }
17
+ export interface ShutdownRequest {
18
+ force?: boolean;
19
+ }
17
20
  export interface UpdateConfigurationRequest {
18
21
  configurationKey: string;
19
22
  jsonValueAny: JsonValueAny;
@@ -52,6 +55,16 @@ export declare class ApplicationApi extends runtime.BaseAPI {
52
55
  * System Settings
53
56
  */
54
57
  settings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsResponse>;
58
+ /**
59
+ * Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
60
+ * Shutdown MongoCamp
61
+ */
62
+ shutdownRaw(requestParameters: ShutdownRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
63
+ /**
64
+ * Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
65
+ * Shutdown MongoCamp
66
+ */
67
+ shutdown(requestParameters?: ShutdownRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
55
68
  /**
56
69
  * Update Configuration with the value
57
70
  * Update Configuration
@@ -120,6 +120,45 @@ export class ApplicationApi extends runtime.BaseAPI {
120
120
  const response = await this.settingsRaw(initOverrides);
121
121
  return await response.value();
122
122
  }
123
+ /**
124
+ * Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
125
+ * Shutdown MongoCamp
126
+ */
127
+ async shutdownRaw(requestParameters, initOverrides) {
128
+ const queryParameters = {};
129
+ if (requestParameters["force"] != null) {
130
+ queryParameters["force"] = requestParameters["force"];
131
+ }
132
+ const headerParameters = {};
133
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
134
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
135
+ }
136
+ if (this.configuration && this.configuration.accessToken) {
137
+ const token = this.configuration.accessToken;
138
+ const tokenString = await token("httpAuth", []);
139
+ if (tokenString) {
140
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
141
+ }
142
+ }
143
+ if (this.configuration && this.configuration.apiKey) {
144
+ headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
145
+ }
146
+ const response = await this.request({
147
+ path: `/system`,
148
+ method: "DELETE",
149
+ headers: headerParameters,
150
+ query: queryParameters
151
+ }, initOverrides);
152
+ return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
153
+ }
154
+ /**
155
+ * Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
156
+ * Shutdown MongoCamp
157
+ */
158
+ async shutdown(requestParameters = {}, initOverrides) {
159
+ const response = await this.shutdownRaw(requestParameters, initOverrides);
160
+ return await response.value();
161
+ }
123
162
  /**
124
163
  * Update Configuration with the value
125
164
  * Update Configuration
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -47,7 +47,7 @@ export interface GetSchemaAnalysisRequest {
47
47
  sampleSize?: number;
48
48
  deepth?: number;
49
49
  }
50
- export interface ListCollectionsByDatabaseRequest {
50
+ export interface ListCollectionsByDatabase0Request {
51
51
  databaseName: string;
52
52
  }
53
53
  /**
@@ -152,10 +152,10 @@ export declare class CollectionApi extends runtime.BaseAPI {
152
152
  * List of all Collections of the given database
153
153
  * List of Collections
154
154
  */
155
- listCollectionsByDatabaseRaw(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
155
+ listCollectionsByDatabaseRaw(requestParameters: ListCollectionsByDatabase0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
156
156
  /**
157
157
  * List of all Collections of the given database
158
158
  * List of Collections
159
159
  */
160
- listCollectionsByDatabase(requestParameters: ListCollectionsByDatabaseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
160
+ listCollectionsByDatabase(requestParameters: ListCollectionsByDatabase0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
161
161
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,4 +46,5 @@ export interface BucketInformation {
46
46
  export declare function instanceOfBucketInformation(value: object): value is BucketInformation;
47
47
  export declare function BucketInformationFromJSON(json: any): BucketInformation;
48
48
  export declare function BucketInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BucketInformation;
49
- export declare function BucketInformationToJSON(value?: BucketInformation | null): any;
49
+ export declare function BucketInformationToJSON(json: any): BucketInformation;
50
+ export declare function BucketInformationToJSONTyped(value?: BucketInformation | null, ignoreDiscriminator?: boolean): any;
@@ -19,7 +19,10 @@ export function BucketInformationFromJSONTyped(json, ignoreDiscriminator) {
19
19
  "avgObjectSize": json["avgObjectSize"]
20
20
  };
21
21
  }
22
- export function BucketInformationToJSON(value) {
22
+ export function BucketInformationToJSON(json) {
23
+ return BucketInformationToJSONTyped(json, false);
24
+ }
25
+ export function BucketInformationToJSONTyped(value, ignoreDiscriminator = false) {
23
26
  if (value == null) {
24
27
  return value;
25
28
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -104,4 +104,5 @@ export interface CollectionStatus {
104
104
  export declare function instanceOfCollectionStatus(value: object): value is CollectionStatus;
105
105
  export declare function CollectionStatusFromJSON(json: any): CollectionStatus;
106
106
  export declare function CollectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionStatus;
107
- export declare function CollectionStatusToJSON(value?: CollectionStatus | null): any;
107
+ export declare function CollectionStatusToJSON(json: any): CollectionStatus;
108
+ export declare function CollectionStatusToJSONTyped(value?: CollectionStatus | null, ignoreDiscriminator?: boolean): any;
@@ -37,7 +37,10 @@ export function CollectionStatusFromJSONTyped(json, ignoreDiscriminator) {
37
37
  "map": json["map"]
38
38
  };
39
39
  }
40
- export function CollectionStatusToJSON(value) {
40
+ export function CollectionStatusToJSON(json) {
41
+ return CollectionStatusToJSONTyped(json, false);
42
+ }
43
+ export function CollectionStatusToJSONTyped(value, ignoreDiscriminator = false) {
41
44
  if (value == null) {
42
45
  return value;
43
46
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,4 +54,5 @@ export interface DatabaseInfo {
54
54
  export declare function instanceOfDatabaseInfo(value: object): value is DatabaseInfo;
55
55
  export declare function DatabaseInfoFromJSON(json: any): DatabaseInfo;
56
56
  export declare function DatabaseInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseInfo;
57
- export declare function DatabaseInfoToJSON(value?: DatabaseInfo | null): any;
57
+ export declare function DatabaseInfoToJSON(json: any): DatabaseInfo;
58
+ export declare function DatabaseInfoToJSONTyped(value?: DatabaseInfo | null, ignoreDiscriminator?: boolean): any;
@@ -21,7 +21,10 @@ export function DatabaseInfoFromJSONTyped(json, ignoreDiscriminator) {
21
21
  "map": json["map"]
22
22
  };
23
23
  }
24
- export function DatabaseInfoToJSON(value) {
24
+ export function DatabaseInfoToJSON(json) {
25
+ return DatabaseInfoToJSONTyped(json, false);
26
+ }
27
+ export function DatabaseInfoToJSONTyped(value, ignoreDiscriminator = false) {
25
28
  if (value == null) {
26
29
  return value;
27
30
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,4 +34,5 @@ export interface DeleteResponse {
34
34
  export declare function instanceOfDeleteResponse(value: object): value is DeleteResponse;
35
35
  export declare function DeleteResponseFromJSON(json: any): DeleteResponse;
36
36
  export declare function DeleteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteResponse;
37
- export declare function DeleteResponseToJSON(value?: DeleteResponse | null): any;
37
+ export declare function DeleteResponseToJSON(json: any): DeleteResponse;
38
+ export declare function DeleteResponseToJSONTyped(value?: DeleteResponse | null, ignoreDiscriminator?: boolean): any;
@@ -15,7 +15,10 @@ export function DeleteResponseFromJSONTyped(json, ignoreDiscriminator) {
15
15
  "deletedCount": json["deletedCount"]
16
16
  };
17
17
  }
18
- export function DeleteResponseToJSON(value) {
18
+ export function DeleteResponseToJSON(json) {
19
+ return DeleteResponseToJSONTyped(json, false);
20
+ }
21
+ export function DeleteResponseToJSONTyped(value, ignoreDiscriminator = false) {
19
22
  if (value == null) {
20
23
  return value;
21
24
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,4 +40,5 @@ export interface ErrorDescription {
40
40
  export declare function instanceOfErrorDescription(value: object): value is ErrorDescription;
41
41
  export declare function ErrorDescriptionFromJSON(json: any): ErrorDescription;
42
42
  export declare function ErrorDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDescription;
43
- export declare function ErrorDescriptionToJSON(value?: ErrorDescription | null): any;
43
+ export declare function ErrorDescriptionToJSON(json: any): ErrorDescription;
44
+ export declare function ErrorDescriptionToJSONTyped(value?: ErrorDescription | null, ignoreDiscriminator?: boolean): any;
@@ -17,7 +17,10 @@ export function ErrorDescriptionFromJSONTyped(json, ignoreDiscriminator) {
17
17
  "additionalInfo": json["additionalInfo"]
18
18
  };
19
19
  }
20
- export function ErrorDescriptionToJSON(value) {
20
+ export function ErrorDescriptionToJSON(json) {
21
+ return ErrorDescriptionToJSONTyped(json, false);
22
+ }
23
+ export function ErrorDescriptionToJSONTyped(value, ignoreDiscriminator = false) {
21
24
  if (value == null) {
22
25
  return value;
23
26
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,4 +60,5 @@ export interface FileInformation {
60
60
  export declare function instanceOfFileInformation(value: object): value is FileInformation;
61
61
  export declare function FileInformationFromJSON(json: any): FileInformation;
62
62
  export declare function FileInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInformation;
63
- export declare function FileInformationToJSON(value?: FileInformation | null): any;
63
+ export declare function FileInformationToJSON(json: any): FileInformation;
64
+ export declare function FileInformationToJSONTyped(value?: FileInformation | null, ignoreDiscriminator?: boolean): any;
@@ -23,7 +23,10 @@ export function FileInformationFromJSONTyped(json, ignoreDiscriminator) {
23
23
  "metadata": json["metadata"]
24
24
  };
25
25
  }
26
- export function FileInformationToJSON(value) {
26
+ export function FileInformationToJSON(json) {
27
+ return FileInformationToJSONTyped(json, false);
28
+ }
29
+ export function FileInformationToJSONTyped(value, ignoreDiscriminator = false) {
27
30
  if (value == null) {
28
31
  return value;
29
32
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,4 +52,5 @@ export interface Grant {
52
52
  export declare function instanceOfGrant(value: object): value is Grant;
53
53
  export declare function GrantFromJSON(json: any): Grant;
54
54
  export declare function GrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Grant;
55
- export declare function GrantToJSON(value?: Grant | null): any;
55
+ export declare function GrantToJSON(json: any): Grant;
56
+ export declare function GrantToJSONTyped(value?: Grant | null, ignoreDiscriminator?: boolean): any;
@@ -21,7 +21,10 @@ export function GrantFromJSONTyped(json, ignoreDiscriminator) {
21
21
  "grantType": json["grantType"]
22
22
  };
23
23
  }
24
- export function GrantToJSON(value) {
24
+ export function GrantToJSON(json) {
25
+ return GrantToJSONTyped(json, false);
26
+ }
27
+ export function GrantToJSONTyped(value, ignoreDiscriminator = false) {
25
28
  if (value == null) {
26
29
  return value;
27
30
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,4 +37,5 @@ export interface IndexCreateRequest {
37
37
  export declare function instanceOfIndexCreateRequest(value: object): value is IndexCreateRequest;
38
38
  export declare function IndexCreateRequestFromJSON(json: any): IndexCreateRequest;
39
39
  export declare function IndexCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateRequest;
40
- export declare function IndexCreateRequestToJSON(value?: IndexCreateRequest | null): any;
40
+ export declare function IndexCreateRequestToJSON(json: any): IndexCreateRequest;
41
+ export declare function IndexCreateRequestToJSONTyped(value?: IndexCreateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -18,7 +18,10 @@ export function IndexCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
18
18
  "indexOptionsRequest": json["indexOptionsRequest"] == null ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"])
19
19
  };
20
20
  }
21
- export function IndexCreateRequestToJSON(value) {
21
+ export function IndexCreateRequestToJSON(json) {
22
+ return IndexCreateRequestToJSONTyped(json, false);
23
+ }
24
+ export function IndexCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
22
25
  if (value == null) {
23
26
  return value;
24
27
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,4 +28,5 @@ export interface IndexCreateResponse {
28
28
  export declare function instanceOfIndexCreateResponse(value: object): value is IndexCreateResponse;
29
29
  export declare function IndexCreateResponseFromJSON(json: any): IndexCreateResponse;
30
30
  export declare function IndexCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateResponse;
31
- export declare function IndexCreateResponseToJSON(value?: IndexCreateResponse | null): any;
31
+ export declare function IndexCreateResponseToJSON(json: any): IndexCreateResponse;
32
+ export declare function IndexCreateResponseToJSONTyped(value?: IndexCreateResponse | null, ignoreDiscriminator?: boolean): any;
@@ -13,7 +13,10 @@ export function IndexCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
13
13
  "name": json["name"]
14
14
  };
15
15
  }
16
- export function IndexCreateResponseToJSON(value) {
16
+ export function IndexCreateResponseToJSON(json) {
17
+ return IndexCreateResponseToJSONTyped(json, false);
18
+ }
19
+ export function IndexCreateResponseToJSONTyped(value, ignoreDiscriminator = false) {
17
20
  if (value == null) {
18
21
  return value;
19
22
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,4 +28,5 @@ export interface IndexDropResponse {
28
28
  export declare function instanceOfIndexDropResponse(value: object): value is IndexDropResponse;
29
29
  export declare function IndexDropResponseFromJSON(json: any): IndexDropResponse;
30
30
  export declare function IndexDropResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDropResponse;
31
- export declare function IndexDropResponseToJSON(value?: IndexDropResponse | null): any;
31
+ export declare function IndexDropResponseToJSON(json: any): IndexDropResponse;
32
+ export declare function IndexDropResponseToJSONTyped(value?: IndexDropResponse | null, ignoreDiscriminator?: boolean): any;
@@ -13,7 +13,10 @@ export function IndexDropResponseFromJSONTyped(json, ignoreDiscriminator) {
13
13
  "dropped": json["dropped"]
14
14
  };
15
15
  }
16
- export function IndexDropResponseToJSON(value) {
16
+ export function IndexDropResponseToJSON(json) {
17
+ return IndexDropResponseToJSONTyped(json, false);
18
+ }
19
+ export function IndexDropResponseToJSONTyped(value, ignoreDiscriminator = false) {
17
20
  if (value == null) {
18
21
  return value;
19
22
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -70,4 +70,5 @@ export interface IndexOptionsRequest {
70
70
  export declare function instanceOfIndexOptionsRequest(value: object): value is IndexOptionsRequest;
71
71
  export declare function IndexOptionsRequestFromJSON(json: any): IndexOptionsRequest;
72
72
  export declare function IndexOptionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOptionsRequest;
73
- export declare function IndexOptionsRequestToJSON(value?: IndexOptionsRequest | null): any;
73
+ export declare function IndexOptionsRequestToJSON(json: any): IndexOptionsRequest;
74
+ export declare function IndexOptionsRequestToJSONTyped(value?: IndexOptionsRequest | null, ignoreDiscriminator?: boolean): any;
@@ -19,7 +19,10 @@ export function IndexOptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
19
19
  "min": json["min"] == null ? void 0 : json["min"]
20
20
  };
21
21
  }
22
- export function IndexOptionsRequestToJSON(value) {
22
+ export function IndexOptionsRequestToJSON(json) {
23
+ return IndexOptionsRequestToJSONTyped(json, false);
24
+ }
25
+ export function IndexOptionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
23
26
  if (value == null) {
24
27
  return value;
25
28
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,4 +34,5 @@ export interface InsertResponse {
34
34
  export declare function instanceOfInsertResponse(value: object): value is InsertResponse;
35
35
  export declare function InsertResponseFromJSON(json: any): InsertResponse;
36
36
  export declare function InsertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertResponse;
37
- export declare function InsertResponseToJSON(value?: InsertResponse | null): any;
37
+ export declare function InsertResponseToJSON(json: any): InsertResponse;
38
+ export declare function InsertResponseToJSONTyped(value?: InsertResponse | null, ignoreDiscriminator?: boolean): any;
@@ -14,7 +14,10 @@ export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
14
14
  "insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"]
15
15
  };
16
16
  }
17
- export function InsertResponseToJSON(value) {
17
+ export function InsertResponseToJSON(json) {
18
+ return InsertResponseToJSONTyped(json, false);
19
+ }
20
+ export function InsertResponseToJSONTyped(value, ignoreDiscriminator = false) {
18
21
  if (value == null) {
19
22
  return value;
20
23
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -58,4 +58,5 @@ export interface JobConfig {
58
58
  export declare function instanceOfJobConfig(value: object): value is JobConfig;
59
59
  export declare function JobConfigFromJSON(json: any): JobConfig;
60
60
  export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
61
- export declare function JobConfigToJSON(value?: JobConfig | null): any;
61
+ export declare function JobConfigToJSON(json: any): JobConfig;
62
+ export declare function JobConfigToJSONTyped(value?: JobConfig | null, ignoreDiscriminator?: boolean): any;
@@ -23,7 +23,10 @@ export function JobConfigFromJSONTyped(json, ignoreDiscriminator) {
23
23
  "priority": json["priority"]
24
24
  };
25
25
  }
26
- export function JobConfigToJSON(value) {
26
+ export function JobConfigToJSON(json) {
27
+ return JobConfigToJSONTyped(json, false);
28
+ }
29
+ export function JobConfigToJSONTyped(value, ignoreDiscriminator = false) {
27
30
  if (value == null) {
28
31
  return value;
29
32
  }