@sfxcode/nuxt-mongocamp-server 1.6.3 → 1.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 (87) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/FILES +12 -0
  4. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  5. package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/AuthApi.d.ts +19 -2
  7. package/dist/runtime/api/apis/AuthApi.js +48 -0
  8. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/CollectionApi.d.ts +22 -4
  10. package/dist/runtime/api/apis/CollectionApi.js +53 -2
  11. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/DocumentApi.d.ts +47 -2
  13. package/dist/runtime/api/apis/DocumentApi.js +130 -0
  14. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  15. package/dist/runtime/api/apis/IndexApi.d.ts +19 -2
  16. package/dist/runtime/api/apis/IndexApi.js +52 -0
  17. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  18. package/dist/runtime/api/apis/SystemApi.d.ts +1 -1
  19. package/dist/runtime/api/docs/AuthApi.md +78 -0
  20. package/dist/runtime/api/docs/CollectionApi.md +83 -2
  21. package/dist/runtime/api/docs/CollectionPermission.md +40 -0
  22. package/dist/runtime/api/docs/CollectionSummary.md +50 -0
  23. package/dist/runtime/api/docs/CountResponse.md +34 -0
  24. package/dist/runtime/api/docs/DocumentApi.md +183 -5
  25. package/dist/runtime/api/docs/IndexApi.md +78 -0
  26. package/dist/runtime/api/docs/IndexUsage.md +40 -0
  27. package/dist/runtime/api/docs/InsertError.md +38 -0
  28. package/dist/runtime/api/docs/InsertResponse.md +4 -0
  29. package/dist/runtime/api/docs/SearchRequest.md +38 -0
  30. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  31. package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
  32. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -1
  33. package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
  34. package/dist/runtime/api/models/CollectionPermission.js +35 -0
  35. package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
  36. package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
  37. package/dist/runtime/api/models/CollectionSummary.js +50 -0
  38. package/dist/runtime/api/models/CountResponse.d.ts +32 -0
  39. package/dist/runtime/api/models/CountResponse.js +26 -0
  40. package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
  41. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  42. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  43. package/dist/runtime/api/models/FileInformation.d.ts +1 -1
  44. package/dist/runtime/api/models/Grant.d.ts +1 -1
  45. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
  46. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  47. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  48. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
  49. package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
  50. package/dist/runtime/api/models/IndexUsage.js +35 -0
  51. package/dist/runtime/api/models/InsertError.d.ts +44 -0
  52. package/dist/runtime/api/models/InsertError.js +32 -0
  53. package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
  54. package/dist/runtime/api/models/InsertResponse.js +10 -2
  55. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  56. package/dist/runtime/api/models/JobInformation.d.ts +1 -1
  57. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  58. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
  59. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
  60. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  61. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  62. package/dist/runtime/api/models/Login.d.ts +1 -1
  63. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  64. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  65. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
  66. package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
  67. package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
  68. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  69. package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
  70. package/dist/runtime/api/models/Role.d.ts +1 -1
  71. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  72. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  73. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  74. package/dist/runtime/api/models/SearchRequest.d.ts +44 -0
  75. package/dist/runtime/api/models/SearchRequest.js +29 -0
  76. package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
  77. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
  78. package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
  79. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  80. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  81. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  82. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  83. package/dist/runtime/api/models/Version.d.ts +1 -1
  84. package/dist/runtime/api/models/index.d.ts +6 -0
  85. package/dist/runtime/api/models/index.js +6 -0
  86. package/dist/runtime/api/runtime.d.ts +1 -1
  87. package/package.json +7 -7
@@ -0,0 +1,80 @@
1
+ /**
2
+ * mongocamp-library
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.7.1
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 CollectionSummary
16
+ */
17
+ export interface CollectionSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CollectionSummary
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CollectionSummary
28
+ */
29
+ collectionType: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CollectionSummary
34
+ */
35
+ count: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof CollectionSummary
40
+ */
41
+ size: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CollectionSummary
46
+ */
47
+ storageSize: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof CollectionSummary
52
+ */
53
+ avgObjSize: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof CollectionSummary
58
+ */
59
+ nindexes: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof CollectionSummary
64
+ */
65
+ totalIndexSize: number;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof CollectionSummary
70
+ */
71
+ available: boolean;
72
+ }
73
+ /**
74
+ * Check if a given object implements the CollectionSummary interface.
75
+ */
76
+ export declare function instanceOfCollectionSummary(value: object): value is CollectionSummary;
77
+ export declare function CollectionSummaryFromJSON(json: any): CollectionSummary;
78
+ export declare function CollectionSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionSummary;
79
+ export declare function CollectionSummaryToJSON(json: any): CollectionSummary;
80
+ export declare function CollectionSummaryToJSONTyped(value?: CollectionSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ export function instanceOfCollectionSummary(value) {
2
+ if (!("name" in value) || value["name"] === void 0) return false;
3
+ if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
4
+ if (!("count" in value) || value["count"] === void 0) return false;
5
+ if (!("size" in value) || value["size"] === void 0) return false;
6
+ if (!("storageSize" in value) || value["storageSize"] === void 0) return false;
7
+ if (!("avgObjSize" in value) || value["avgObjSize"] === void 0) return false;
8
+ if (!("nindexes" in value) || value["nindexes"] === void 0) return false;
9
+ if (!("totalIndexSize" in value) || value["totalIndexSize"] === void 0) return false;
10
+ if (!("available" in value) || value["available"] === void 0) return false;
11
+ return true;
12
+ }
13
+ export function CollectionSummaryFromJSON(json) {
14
+ return CollectionSummaryFromJSONTyped(json, false);
15
+ }
16
+ export function CollectionSummaryFromJSONTyped(json, ignoreDiscriminator) {
17
+ if (json == null) {
18
+ return json;
19
+ }
20
+ return {
21
+ "name": json["name"],
22
+ "collectionType": json["collectionType"],
23
+ "count": json["count"],
24
+ "size": json["size"],
25
+ "storageSize": json["storageSize"],
26
+ "avgObjSize": json["avgObjSize"],
27
+ "nindexes": json["nindexes"],
28
+ "totalIndexSize": json["totalIndexSize"],
29
+ "available": json["available"]
30
+ };
31
+ }
32
+ export function CollectionSummaryToJSON(json) {
33
+ return CollectionSummaryToJSONTyped(json, false);
34
+ }
35
+ export function CollectionSummaryToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ "name": value["name"],
41
+ "collectionType": value["collectionType"],
42
+ "count": value["count"],
43
+ "size": value["size"],
44
+ "storageSize": value["storageSize"],
45
+ "avgObjSize": value["avgObjSize"],
46
+ "nindexes": value["nindexes"],
47
+ "totalIndexSize": value["totalIndexSize"],
48
+ "available": value["available"]
49
+ };
50
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * mongocamp-library
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.7.1
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 CountResponse
16
+ */
17
+ export interface CountResponse {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CountResponse
22
+ */
23
+ count: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the CountResponse interface.
27
+ */
28
+ export declare function instanceOfCountResponse(value: object): value is CountResponse;
29
+ export declare function CountResponseFromJSON(json: any): CountResponse;
30
+ export declare function CountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountResponse;
31
+ export declare function CountResponseToJSON(json: any): CountResponse;
32
+ export declare function CountResponseToJSONTyped(value?: CountResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,26 @@
1
+ export function instanceOfCountResponse(value) {
2
+ if (!("count" in value) || value["count"] === void 0) return false;
3
+ return true;
4
+ }
5
+ export function CountResponseFromJSON(json) {
6
+ return CountResponseFromJSONTyped(json, false);
7
+ }
8
+ export function CountResponseFromJSONTyped(json, ignoreDiscriminator) {
9
+ if (json == null) {
10
+ return json;
11
+ }
12
+ return {
13
+ "count": json["count"]
14
+ };
15
+ }
16
+ export function CountResponseToJSON(json) {
17
+ return CountResponseToJSONTyped(json, false);
18
+ }
19
+ export function CountResponseToJSONTyped(value, ignoreDiscriminator = false) {
20
+ if (value == null) {
21
+ return value;
22
+ }
23
+ return {
24
+ "count": value["count"]
25
+ };
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,52 @@
1
+ /**
2
+ * mongocamp-library
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.7.1
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 IndexUsage
16
+ */
17
+ export interface IndexUsage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexUsage
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: any; }}
27
+ * @memberof IndexUsage
28
+ */
29
+ key: {
30
+ [key: string]: any;
31
+ };
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof IndexUsage
36
+ */
37
+ ops: number;
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof IndexUsage
42
+ */
43
+ since: Date;
44
+ }
45
+ /**
46
+ * Check if a given object implements the IndexUsage interface.
47
+ */
48
+ export declare function instanceOfIndexUsage(value: object): value is IndexUsage;
49
+ export declare function IndexUsageFromJSON(json: any): IndexUsage;
50
+ export declare function IndexUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexUsage;
51
+ export declare function IndexUsageToJSON(json: any): IndexUsage;
52
+ export declare function IndexUsageToJSONTyped(value?: IndexUsage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,35 @@
1
+ export function instanceOfIndexUsage(value) {
2
+ if (!("name" in value) || value["name"] === void 0) return false;
3
+ if (!("key" in value) || value["key"] === void 0) return false;
4
+ if (!("ops" in value) || value["ops"] === void 0) return false;
5
+ if (!("since" in value) || value["since"] === void 0) return false;
6
+ return true;
7
+ }
8
+ export function IndexUsageFromJSON(json) {
9
+ return IndexUsageFromJSONTyped(json, false);
10
+ }
11
+ export function IndexUsageFromJSONTyped(json, ignoreDiscriminator) {
12
+ if (json == null) {
13
+ return json;
14
+ }
15
+ return {
16
+ "name": json["name"],
17
+ "key": json["key"],
18
+ "ops": json["ops"],
19
+ "since": new Date(json["since"])
20
+ };
21
+ }
22
+ export function IndexUsageToJSON(json) {
23
+ return IndexUsageToJSONTyped(json, false);
24
+ }
25
+ export function IndexUsageToJSONTyped(value, ignoreDiscriminator = false) {
26
+ if (value == null) {
27
+ return value;
28
+ }
29
+ return {
30
+ "name": value["name"],
31
+ "key": value["key"],
32
+ "ops": value["ops"],
33
+ "since": value["since"].toISOString()
34
+ };
35
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * mongocamp-library
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.7.1
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 InsertError
16
+ */
17
+ export interface InsertError {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof InsertError
22
+ */
23
+ index: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof InsertError
28
+ */
29
+ code: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InsertError
34
+ */
35
+ message: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the InsertError interface.
39
+ */
40
+ export declare function instanceOfInsertError(value: object): value is InsertError;
41
+ export declare function InsertErrorFromJSON(json: any): InsertError;
42
+ export declare function InsertErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertError;
43
+ export declare function InsertErrorToJSON(json: any): InsertError;
44
+ export declare function InsertErrorToJSONTyped(value?: InsertError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,32 @@
1
+ export function instanceOfInsertError(value) {
2
+ if (!("index" in value) || value["index"] === void 0) return false;
3
+ if (!("code" in value) || value["code"] === void 0) return false;
4
+ if (!("message" in value) || value["message"] === void 0) return false;
5
+ return true;
6
+ }
7
+ export function InsertErrorFromJSON(json) {
8
+ return InsertErrorFromJSONTyped(json, false);
9
+ }
10
+ export function InsertErrorFromJSONTyped(json, ignoreDiscriminator) {
11
+ if (json == null) {
12
+ return json;
13
+ }
14
+ return {
15
+ "index": json["index"],
16
+ "code": json["code"],
17
+ "message": json["message"]
18
+ };
19
+ }
20
+ export function InsertErrorToJSON(json) {
21
+ return InsertErrorToJSONTyped(json, false);
22
+ }
23
+ export function InsertErrorToJSONTyped(value, ignoreDiscriminator = false) {
24
+ if (value == null) {
25
+ return value;
26
+ }
27
+ return {
28
+ "index": value["index"],
29
+ "code": value["code"],
30
+ "message": value["message"]
31
+ };
32
+ }
@@ -2,13 +2,14 @@
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { InsertError } from './InsertError.js';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,6 +28,18 @@ export interface InsertResponse {
27
28
  * @memberof InsertResponse
28
29
  */
29
30
  insertedIds?: Array<string>;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof InsertResponse
35
+ */
36
+ insertedCount?: number;
37
+ /**
38
+ *
39
+ * @type {Array<InsertError>}
40
+ * @memberof InsertResponse
41
+ */
42
+ errors?: Array<InsertError>;
30
43
  }
31
44
  /**
32
45
  * Check if a given object implements the InsertResponse interface.
@@ -1,3 +1,7 @@
1
+ import {
2
+ InsertErrorFromJSON,
3
+ InsertErrorToJSON
4
+ } from "./InsertError.js";
1
5
  export function instanceOfInsertResponse(value) {
2
6
  if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
3
7
  return true;
@@ -11,7 +15,9 @@ export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
11
15
  }
12
16
  return {
13
17
  "wasAcknowledged": json["wasAcknowledged"],
14
- "insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"]
18
+ "insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"],
19
+ "insertedCount": json["insertedCount"] == null ? void 0 : json["insertedCount"],
20
+ "errors": json["errors"] == null ? void 0 : json["errors"].map(InsertErrorFromJSON)
15
21
  };
16
22
  }
17
23
  export function InsertResponseToJSON(json) {
@@ -23,6 +29,8 @@ export function InsertResponseToJSONTyped(value, ignoreDiscriminator = false) {
23
29
  }
24
30
  return {
25
31
  "wasAcknowledged": value["wasAcknowledged"],
26
- "insertedIds": value["insertedIds"]
32
+ "insertedIds": value["insertedIds"],
33
+ "insertedCount": value["insertedCount"],
34
+ "errors": value["errors"] == null ? void 0 : value["errors"].map(InsertErrorToJSON)
27
35
  };
28
36
  }
@@ -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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).