@sfxcode/nuxt-mongocamp-server 1.0.3 → 1.0.5

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 (134) hide show
  1. package/dist/module.cjs +5 -0
  2. package/dist/module.d.ts +9 -0
  3. package/dist/module.json +8 -0
  4. package/dist/module.mjs +555 -0
  5. package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
  6. package/dist/runtime/api/apis/AdminApi.mjs +509 -0
  7. package/dist/runtime/api/apis/ApplicationApi.d.ts +65 -0
  8. package/dist/runtime/api/apis/ApplicationApi.mjs +164 -0
  9. package/dist/runtime/api/apis/AuthApi.d.ts +104 -0
  10. package/dist/runtime/api/apis/AuthApi.mjs +296 -0
  11. package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
  12. package/dist/runtime/api/apis/BucketApi.mjs +160 -0
  13. package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
  14. package/dist/runtime/api/apis/CollectionApi.mjs +435 -0
  15. package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
  16. package/dist/runtime/api/apis/DatabaseApi.mjs +196 -0
  17. package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
  18. package/dist/runtime/api/apis/DocumentApi.mjs +465 -0
  19. package/dist/runtime/api/apis/FileApi.d.ts +125 -0
  20. package/dist/runtime/api/apis/FileApi.mjs +355 -0
  21. package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
  22. package/dist/runtime/api/apis/IndexApi.mjs +367 -0
  23. package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
  24. package/dist/runtime/api/apis/InformationApi.mjs +29 -0
  25. package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
  26. package/dist/runtime/api/apis/JobsApi.mjs +252 -0
  27. package/dist/runtime/api/apis/index.d.ts +11 -0
  28. package/dist/runtime/api/apis/index.mjs +11 -0
  29. package/dist/runtime/api/index.d.ts +3 -0
  30. package/dist/runtime/api/index.mjs +3 -0
  31. package/dist/runtime/api/models/BucketInformation.d.ts +49 -0
  32. package/dist/runtime/api/models/BucketInformation.mjs +36 -0
  33. package/dist/runtime/api/models/CollectionStatus.d.ts +107 -0
  34. package/dist/runtime/api/models/CollectionStatus.mjs +63 -0
  35. package/dist/runtime/api/models/DatabaseInfo.d.ts +57 -0
  36. package/dist/runtime/api/models/DatabaseInfo.mjs +39 -0
  37. package/dist/runtime/api/models/DeleteResponse.d.ts +37 -0
  38. package/dist/runtime/api/models/DeleteResponse.mjs +30 -0
  39. package/dist/runtime/api/models/ErrorDescription.d.ts +43 -0
  40. package/dist/runtime/api/models/ErrorDescription.mjs +33 -0
  41. package/dist/runtime/api/models/FileInformation.d.ts +63 -0
  42. package/dist/runtime/api/models/FileInformation.mjs +42 -0
  43. package/dist/runtime/api/models/Grant.d.ts +55 -0
  44. package/dist/runtime/api/models/Grant.mjs +39 -0
  45. package/dist/runtime/api/models/IndexCreateRequest.d.ts +40 -0
  46. package/dist/runtime/api/models/IndexCreateRequest.mjs +34 -0
  47. package/dist/runtime/api/models/IndexCreateResponse.d.ts +31 -0
  48. package/dist/runtime/api/models/IndexCreateResponse.mjs +27 -0
  49. package/dist/runtime/api/models/IndexDropResponse.d.ts +31 -0
  50. package/dist/runtime/api/models/IndexDropResponse.mjs +27 -0
  51. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +73 -0
  52. package/dist/runtime/api/models/IndexOptionsRequest.mjs +41 -0
  53. package/dist/runtime/api/models/InsertResponse.d.ts +37 -0
  54. package/dist/runtime/api/models/InsertResponse.mjs +30 -0
  55. package/dist/runtime/api/models/JobConfig.d.ts +61 -0
  56. package/dist/runtime/api/models/JobConfig.mjs +42 -0
  57. package/dist/runtime/api/models/JobInformation.d.ts +79 -0
  58. package/dist/runtime/api/models/JobInformation.mjs +49 -0
  59. package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
  60. package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
  61. package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
  62. package/dist/runtime/api/models/JsonResultString.mjs +22 -0
  63. package/dist/runtime/api/models/JsonSchema.d.ts +46 -0
  64. package/dist/runtime/api/models/JsonSchema.mjs +38 -0
  65. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +59 -0
  66. package/dist/runtime/api/models/JsonSchemaDefinition.mjs +39 -0
  67. package/dist/runtime/api/models/JsonValueAny.d.ts +31 -0
  68. package/dist/runtime/api/models/JsonValueAny.mjs +27 -0
  69. package/dist/runtime/api/models/JsonValueBoolean.d.ts +31 -0
  70. package/dist/runtime/api/models/JsonValueBoolean.mjs +27 -0
  71. package/dist/runtime/api/models/JsonValueString.d.ts +31 -0
  72. package/dist/runtime/api/models/JsonValueString.mjs +27 -0
  73. package/dist/runtime/api/models/Login.d.ts +37 -0
  74. package/dist/runtime/api/models/Login.mjs +30 -0
  75. package/dist/runtime/api/models/LoginResult.d.ts +44 -0
  76. package/dist/runtime/api/models/LoginResult.mjs +37 -0
  77. package/dist/runtime/api/models/Measurement.d.ts +33 -0
  78. package/dist/runtime/api/models/Measurement.mjs +24 -0
  79. package/dist/runtime/api/models/Metric.d.ts +52 -0
  80. package/dist/runtime/api/models/Metric.mjs +35 -0
  81. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +38 -0
  82. package/dist/runtime/api/models/MongoAggregateRequest.mjs +34 -0
  83. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +55 -0
  84. package/dist/runtime/api/models/MongoCampConfiguration.mjs +39 -0
  85. package/dist/runtime/api/models/MongoFindRequest.d.ts +49 -0
  86. package/dist/runtime/api/models/MongoFindRequest.mjs +33 -0
  87. package/dist/runtime/api/models/MongoIndex.d.ts +103 -0
  88. package/dist/runtime/api/models/MongoIndex.mjs +60 -0
  89. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +31 -0
  90. package/dist/runtime/api/models/PasswordUpdateRequest.mjs +27 -0
  91. package/dist/runtime/api/models/PipelineStage.d.ts +37 -0
  92. package/dist/runtime/api/models/PipelineStage.mjs +30 -0
  93. package/dist/runtime/api/models/Role.d.ts +44 -0
  94. package/dist/runtime/api/models/Role.mjs +37 -0
  95. package/dist/runtime/api/models/SchemaAnalysis.d.ts +50 -0
  96. package/dist/runtime/api/models/SchemaAnalysis.mjs +40 -0
  97. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +62 -0
  98. package/dist/runtime/api/models/SchemaAnalysisField.mjs +45 -0
  99. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +43 -0
  100. package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +33 -0
  101. package/dist/runtime/api/models/SettingsResponse.d.ts +51 -0
  102. package/dist/runtime/api/models/SettingsResponse.mjs +34 -0
  103. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +39 -0
  104. package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +29 -0
  105. package/dist/runtime/api/models/UpdateRequest.d.ts +41 -0
  106. package/dist/runtime/api/models/UpdateRequest.mjs +30 -0
  107. package/dist/runtime/api/models/UpdateResponse.d.ts +49 -0
  108. package/dist/runtime/api/models/UpdateResponse.mjs +36 -0
  109. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +38 -0
  110. package/dist/runtime/api/models/UpdateRoleRequest.mjs +34 -0
  111. package/dist/runtime/api/models/UserInformation.d.ts +49 -0
  112. package/dist/runtime/api/models/UserInformation.mjs +35 -0
  113. package/dist/runtime/api/models/UserProfile.d.ts +56 -0
  114. package/dist/runtime/api/models/UserProfile.mjs +41 -0
  115. package/dist/runtime/api/models/Version.d.ts +43 -0
  116. package/dist/runtime/api/models/Version.mjs +33 -0
  117. package/dist/runtime/api/models/index.d.ts +39 -0
  118. package/dist/runtime/api/models/index.mjs +39 -0
  119. package/dist/runtime/api/runtime.d.ts +182 -0
  120. package/dist/runtime/api/runtime.mjs +281 -0
  121. package/dist/runtime/composables/mongocampApi.d.ts +14 -0
  122. package/dist/runtime/composables/mongocampApi.mjs +45 -0
  123. package/dist/runtime/composables/mongocampAuth.d.ts +8 -0
  124. package/dist/runtime/composables/mongocampAuth.mjs +28 -0
  125. package/dist/runtime/composables/mongocampSearch.d.ts +11 -0
  126. package/dist/runtime/composables/mongocampSearch.mjs +20 -0
  127. package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
  128. package/dist/runtime/composables/mongocampStorage.mjs +5 -0
  129. package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
  130. package/dist/runtime/composables/mongocampUrl.mjs +5 -0
  131. package/dist/runtime/composables/mongocampUser.d.ts +3 -0
  132. package/dist/runtime/composables/mongocampUser.mjs +4 -0
  133. package/dist/types.d.ts +15 -0
  134. package/package.json +5 -4
@@ -0,0 +1,196 @@
1
+ import * as runtime from "../runtime.mjs";
2
+ import {
3
+ DatabaseInfoFromJSON,
4
+ JsonValueBooleanFromJSON
5
+ } from "../models/index.mjs";
6
+ export class DatabaseApi extends runtime.BaseAPI {
7
+ /**
8
+ * List of all Databases Infos
9
+ * List of Database Infos
10
+ */
11
+ async databaseInfosRaw(initOverrides) {
12
+ const queryParameters = {};
13
+ const headerParameters = {};
14
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
15
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
16
+ }
17
+ if (this.configuration && this.configuration.accessToken) {
18
+ const token = this.configuration.accessToken;
19
+ const tokenString = await token("httpAuth", []);
20
+ if (tokenString) {
21
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
22
+ }
23
+ }
24
+ if (this.configuration && this.configuration.apiKey) {
25
+ headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
26
+ }
27
+ const response = await this.request({
28
+ path: `/mongodb/databases/infos`,
29
+ method: "GET",
30
+ headers: headerParameters,
31
+ query: queryParameters
32
+ }, initOverrides);
33
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DatabaseInfoFromJSON));
34
+ }
35
+ /**
36
+ * List of all Databases Infos
37
+ * List of Database Infos
38
+ */
39
+ async databaseInfos(initOverrides) {
40
+ const response = await this.databaseInfosRaw(initOverrides);
41
+ return await response.value();
42
+ }
43
+ /**
44
+ * Delete given Database
45
+ * Delete Database
46
+ */
47
+ async deleteDatabaseRaw(requestParameters, initOverrides) {
48
+ if (requestParameters.databaseName === null || requestParameters.databaseName === void 0) {
49
+ throw new runtime.RequiredError("databaseName", "Required parameter requestParameters.databaseName was null or undefined when calling deleteDatabase.");
50
+ }
51
+ const queryParameters = {};
52
+ const headerParameters = {};
53
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
54
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
55
+ }
56
+ if (this.configuration && this.configuration.accessToken) {
57
+ const token = this.configuration.accessToken;
58
+ const tokenString = await token("httpAuth", []);
59
+ if (tokenString) {
60
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
61
+ }
62
+ }
63
+ if (this.configuration && this.configuration.apiKey) {
64
+ headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
65
+ }
66
+ const response = await this.request({
67
+ path: `/mongodb/databases/{databaseName}`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters.databaseName))),
68
+ method: "DELETE",
69
+ headers: headerParameters,
70
+ query: queryParameters
71
+ }, initOverrides);
72
+ return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
73
+ }
74
+ /**
75
+ * Delete given Database
76
+ * Delete Database
77
+ */
78
+ async deleteDatabase(requestParameters, initOverrides) {
79
+ const response = await this.deleteDatabaseRaw(requestParameters, initOverrides);
80
+ return await response.value();
81
+ }
82
+ /**
83
+ * All Information about given Database
84
+ * Database Infos of selected Database
85
+ */
86
+ async getDatabaseInfoRaw(requestParameters, initOverrides) {
87
+ if (requestParameters.databaseName === null || requestParameters.databaseName === void 0) {
88
+ throw new runtime.RequiredError("databaseName", "Required parameter requestParameters.databaseName was null or undefined when calling getDatabaseInfo.");
89
+ }
90
+ const queryParameters = {};
91
+ const headerParameters = {};
92
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
93
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
94
+ }
95
+ if (this.configuration && this.configuration.accessToken) {
96
+ const token = this.configuration.accessToken;
97
+ const tokenString = await token("httpAuth", []);
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
100
+ }
101
+ }
102
+ if (this.configuration && this.configuration.apiKey) {
103
+ headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
104
+ }
105
+ const response = await this.request({
106
+ path: `/mongodb/databases/{databaseName}`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters.databaseName))),
107
+ method: "GET",
108
+ headers: headerParameters,
109
+ query: queryParameters
110
+ }, initOverrides);
111
+ return new runtime.JSONApiResponse(response, (jsonValue) => DatabaseInfoFromJSON(jsonValue));
112
+ }
113
+ /**
114
+ * All Information about given Database
115
+ * Database Infos of selected Database
116
+ */
117
+ async getDatabaseInfo(requestParameters, initOverrides) {
118
+ const response = await this.getDatabaseInfoRaw(requestParameters, initOverrides);
119
+ return await response.value();
120
+ }
121
+ /**
122
+ * List of all Collections of the given database
123
+ * List of Collections
124
+ */
125
+ async listCollectionsByDatabaseRaw(requestParameters, initOverrides) {
126
+ if (requestParameters.databaseName === null || requestParameters.databaseName === void 0) {
127
+ throw new runtime.RequiredError("databaseName", "Required parameter requestParameters.databaseName was null or undefined when calling listCollectionsByDatabase.");
128
+ }
129
+ const queryParameters = {};
130
+ const headerParameters = {};
131
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
132
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
133
+ }
134
+ if (this.configuration && this.configuration.accessToken) {
135
+ const token = this.configuration.accessToken;
136
+ const tokenString = await token("httpAuth", []);
137
+ if (tokenString) {
138
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
139
+ }
140
+ }
141
+ if (this.configuration && this.configuration.apiKey) {
142
+ headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
143
+ }
144
+ const response = await this.request({
145
+ path: `/mongodb/databases/{databaseName}/collections`.replace(`{${"databaseName"}}`, encodeURIComponent(String(requestParameters.databaseName))),
146
+ method: "GET",
147
+ headers: headerParameters,
148
+ query: queryParameters
149
+ }, initOverrides);
150
+ return new runtime.JSONApiResponse(response);
151
+ }
152
+ /**
153
+ * List of all Collections of the given database
154
+ * List of Collections
155
+ */
156
+ async listCollectionsByDatabase(requestParameters, initOverrides) {
157
+ const response = await this.listCollectionsByDatabaseRaw(requestParameters, initOverrides);
158
+ return await response.value();
159
+ }
160
+ /**
161
+ * List of all Databases
162
+ * List of Databases
163
+ */
164
+ async listDatabasesRaw(initOverrides) {
165
+ const queryParameters = {};
166
+ const headerParameters = {};
167
+ if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
168
+ headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
169
+ }
170
+ if (this.configuration && this.configuration.accessToken) {
171
+ const token = this.configuration.accessToken;
172
+ const tokenString = await token("httpAuth", []);
173
+ if (tokenString) {
174
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
175
+ }
176
+ }
177
+ if (this.configuration && this.configuration.apiKey) {
178
+ headerParameters["X-AUTH-APIKEY"] = this.configuration.apiKey("X-AUTH-APIKEY");
179
+ }
180
+ const response = await this.request({
181
+ path: `/mongodb/databases`,
182
+ method: "GET",
183
+ headers: headerParameters,
184
+ query: queryParameters
185
+ }, initOverrides);
186
+ return new runtime.JSONApiResponse(response);
187
+ }
188
+ /**
189
+ * List of all Databases
190
+ * List of Databases
191
+ */
192
+ async listDatabases(initOverrides) {
193
+ const response = await this.listDatabasesRaw(initOverrides);
194
+ return await response.value();
195
+ }
196
+ }
@@ -0,0 +1,188 @@
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.4.2
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 * as runtime from '../runtime';
13
+ import type { DeleteResponse, InsertResponse, MongoFindRequest, UpdateRequest, UpdateResponse } from '../models';
14
+ export interface DeleteRequest {
15
+ collectionName: string;
16
+ documentId: string;
17
+ }
18
+ export interface DeleteManyRequest {
19
+ collectionName: string;
20
+ requestBody: {
21
+ [key: string]: string;
22
+ };
23
+ }
24
+ export interface FindRequest {
25
+ collectionName: string;
26
+ mongoFindRequest: MongoFindRequest;
27
+ rowsPerPage?: number;
28
+ page?: number;
29
+ }
30
+ export interface GetDocumentRequest {
31
+ collectionName: string;
32
+ documentId: string;
33
+ }
34
+ export interface InsertRequest {
35
+ collectionName: string;
36
+ requestBody: {
37
+ [key: string]: string;
38
+ };
39
+ }
40
+ export interface InsertManyRequest {
41
+ collectionName: string;
42
+ requestBody?: Array<{
43
+ [key: string]: string;
44
+ }>;
45
+ }
46
+ export interface ListDocumentsRequest {
47
+ collectionName: string;
48
+ filter?: string;
49
+ sort?: Array<string>;
50
+ projection?: Array<string>;
51
+ rowsPerPage?: number;
52
+ page?: number;
53
+ }
54
+ export interface UpdateRequest {
55
+ collectionName: string;
56
+ documentId: string;
57
+ requestBody: {
58
+ [key: string]: string;
59
+ };
60
+ }
61
+ export interface UpdateDocumentPartialRequest {
62
+ collectionName: string;
63
+ documentId: string;
64
+ requestBody: {
65
+ [key: string]: string;
66
+ };
67
+ }
68
+ export interface UpdateManyRequest {
69
+ collectionName: string;
70
+ updateRequest: UpdateRequest;
71
+ }
72
+ /**
73
+ *
74
+ */
75
+ export declare class DocumentApi extends runtime.BaseAPI {
76
+ /**
77
+ * Delete one Document from given Collection
78
+ * Delete Document from Collection
79
+ */
80
+ _deleteRaw(requestParameters: DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteResponse>>;
81
+ /**
82
+ * Delete one Document from given Collection
83
+ * Delete Document from Collection
84
+ */
85
+ _delete(requestParameters: DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteResponse>;
86
+ /**
87
+ * Delete many Document in given Collection
88
+ * Delete Many in Collection
89
+ */
90
+ deleteManyRaw(requestParameters: DeleteManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteResponse>>;
91
+ /**
92
+ * Delete many Document in given Collection
93
+ * Delete Many in Collection
94
+ */
95
+ deleteMany(requestParameters: DeleteManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteResponse>;
96
+ /**
97
+ * Alternative to GET Route for more complex queries and URL max. Length
98
+ * Documents in Collection
99
+ */
100
+ findRaw(requestParameters: FindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<{
101
+ [key: string]: string;
102
+ }>>>;
103
+ /**
104
+ * Alternative to GET Route for more complex queries and URL max. Length
105
+ * Documents in Collection
106
+ */
107
+ find(requestParameters: FindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<{
108
+ [key: string]: string;
109
+ }>>;
110
+ /**
111
+ * Get one Document from given Collection
112
+ * Document from Collection
113
+ */
114
+ getDocumentRaw(requestParameters: GetDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
115
+ [key: string]: string;
116
+ }>>;
117
+ /**
118
+ * Get one Document from given Collection
119
+ * Document from Collection
120
+ */
121
+ getDocument(requestParameters: GetDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
122
+ [key: string]: string;
123
+ }>;
124
+ /**
125
+ * Insert one Document in given Collection
126
+ * Insert Document
127
+ */
128
+ insertRaw(requestParameters: InsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InsertResponse>>;
129
+ /**
130
+ * Insert one Document in given Collection
131
+ * Insert Document
132
+ */
133
+ insert(requestParameters: InsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InsertResponse>;
134
+ /**
135
+ * Insert many documents in given Collection
136
+ * Insert many Documents
137
+ */
138
+ insertManyRaw(requestParameters: InsertManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InsertResponse>>;
139
+ /**
140
+ * Insert many documents in given Collection
141
+ * Insert many Documents
142
+ */
143
+ insertMany(requestParameters: InsertManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InsertResponse>;
144
+ /**
145
+ * Get Documents paginated from given Collection
146
+ * Documents in Collection
147
+ */
148
+ listDocumentsRaw(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<{
149
+ [key: string]: string;
150
+ }>>>;
151
+ /**
152
+ * Get Documents paginated from given Collection
153
+ * Documents in Collection
154
+ */
155
+ listDocuments(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<{
156
+ [key: string]: string;
157
+ }>>;
158
+ /**
159
+ * \'Replace\' one Document with the new document from Request in Collection
160
+ * Update Document in Collection
161
+ */
162
+ updateRaw(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateResponse>>;
163
+ /**
164
+ * \'Replace\' one Document with the new document from Request in Collection
165
+ * Update Document in Collection
166
+ */
167
+ update(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateResponse>;
168
+ /**
169
+ * Update the document Parts with the values from the Request
170
+ * Update Document Parts in Collection
171
+ */
172
+ updateDocumentPartialRaw(requestParameters: UpdateDocumentPartialRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateResponse>>;
173
+ /**
174
+ * Update the document Parts with the values from the Request
175
+ * Update Document Parts in Collection
176
+ */
177
+ updateDocumentPartial(requestParameters: UpdateDocumentPartialRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateResponse>;
178
+ /**
179
+ * Update many Document in given Collection
180
+ * Update many in Collection
181
+ */
182
+ updateManyRaw(requestParameters: UpdateManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateResponse>>;
183
+ /**
184
+ * Update many Document in given Collection
185
+ * Update many in Collection
186
+ */
187
+ updateMany(requestParameters: UpdateManyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateResponse>;
188
+ }