@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20260213.1 → 1.20260306.1

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 (34) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/premium-distributions-api.ts +118 -0
  4. package/api/processes-api.ts +99 -0
  5. package/api/report-request-reinsurance-api.ts +661 -0
  6. package/api/report-request-reinsurance-detail-api.ts +693 -0
  7. package/api/vbainterface-profile-api.ts +242 -0
  8. package/api.ts +2 -0
  9. package/common.ts +2 -1
  10. package/docs/ClaimRepriceRemove.md +2 -0
  11. package/docs/PremiumDistributionsApi.md +62 -0
  12. package/docs/ProcessesApi.md +56 -0
  13. package/docs/ReportRequestReins.md +38 -0
  14. package/docs/ReportRequestReinsDetail.md +38 -0
  15. package/docs/ReportRequestReinsDetailListVBAResponse.md +24 -0
  16. package/docs/ReportRequestReinsDetailVBAResponse.md +24 -0
  17. package/docs/ReportRequestReinsListVBAResponse.md +24 -0
  18. package/docs/ReportRequestReinsVBAResponse.md +24 -0
  19. package/docs/ReportRequestReinsuranceApi.md +354 -0
  20. package/docs/ReportRequestReinsuranceDetailApi.md +366 -0
  21. package/docs/VBAEDIExecuteContent.md +22 -0
  22. package/docs/VBAEDIExecuteContentListVBAResponse.md +24 -0
  23. package/docs/VBAInterfaceProfileApi.md +124 -0
  24. package/models/claim-reprice-remove.ts +1 -0
  25. package/models/index.ts +8 -0
  26. package/models/report-request-reins-detail-list-vbaresponse.ts +31 -0
  27. package/models/report-request-reins-detail-vbaresponse.ts +31 -0
  28. package/models/report-request-reins-detail.ts +59 -0
  29. package/models/report-request-reins-list-vbaresponse.ts +31 -0
  30. package/models/report-request-reins-vbaresponse.ts +31 -0
  31. package/models/report-request-reins.ts +59 -0
  32. package/models/vbaediexecute-content-list-vbaresponse.ts +31 -0
  33. package/models/vbaediexecute-content.ts +21 -0
  34. package/package.json +1 -1
@@ -0,0 +1,661 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * VBASoftware
5
+ * APIs for VBASoftware
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { MultiCodeResponseListVBAResponse } from '../models';
26
+ // @ts-ignore
27
+ import type { ReportRequestReins } from '../models';
28
+ // @ts-ignore
29
+ import type { ReportRequestReinsListVBAResponse } from '../models';
30
+ // @ts-ignore
31
+ import type { ReportRequestReinsVBAResponse } from '../models';
32
+ /**
33
+ * ReportRequestReinsuranceApi - axios parameter creator
34
+ */
35
+ export const ReportRequestReinsuranceApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Creates a new ReportRequestReins
39
+ * @summary Create ReportRequestReins
40
+ * @param {string} vbasoftwareDatabase Target database
41
+ * @param {ReportRequestReins} reportRequestReins
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createReportRequestReins: async (vbasoftwareDatabase: string, reportRequestReins: ReportRequestReins, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
47
+ assertParamExists('createReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
48
+ // verify required parameter 'reportRequestReins' is not null or undefined
49
+ assertParamExists('createReportRequestReins', 'reportRequestReins', reportRequestReins)
50
+ const localVarPath = `/report-request-reinsurance`;
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ }
57
+
58
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
+ const localVarHeaderParameter = {} as any;
60
+ const localVarQueryParameter = {} as any;
61
+
62
+ // authentication apiKeyAuth required
63
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
64
+
65
+ // authentication bearerAuth required
66
+ // http bearer authentication required
67
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68
+
69
+ localVarHeaderParameter['Content-Type'] = 'application/json';
70
+ localVarHeaderParameter['Accept'] = 'text/plain,application/json,text/json';
71
+
72
+ if (vbasoftwareDatabase != null) {
73
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
74
+ }
75
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
76
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
77
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
78
+ localVarRequestOptions.data = serializeDataIfNeeded(reportRequestReins, localVarRequestOptions, configuration)
79
+
80
+ return {
81
+ url: toPathString(localVarUrlObj),
82
+ options: localVarRequestOptions,
83
+ };
84
+ },
85
+ /**
86
+ * Deletes an ReportRequestReins
87
+ * @summary Delete ReportRequestReins
88
+ * @param {string} vbasoftwareDatabase Target database
89
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ deleteReportRequestReins: async (vbasoftwareDatabase: string, reportRequestReinsKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
94
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
95
+ assertParamExists('deleteReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
96
+ // verify required parameter 'reportRequestReinsKey' is not null or undefined
97
+ assertParamExists('deleteReportRequestReins', 'reportRequestReinsKey', reportRequestReinsKey)
98
+ const localVarPath = `/report-request-reinsurance/{ReportRequestReins_Key}`
99
+ .replace(`{${"ReportRequestReins_Key"}}`, encodeURIComponent(String(reportRequestReinsKey)));
100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
102
+ let baseOptions;
103
+ if (configuration) {
104
+ baseOptions = configuration.baseOptions;
105
+ }
106
+
107
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
108
+ const localVarHeaderParameter = {} as any;
109
+ const localVarQueryParameter = {} as any;
110
+
111
+ // authentication apiKeyAuth required
112
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
113
+
114
+ // authentication bearerAuth required
115
+ // http bearer authentication required
116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
117
+
118
+
119
+ if (vbasoftwareDatabase != null) {
120
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
121
+ }
122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
125
+
126
+ return {
127
+ url: toPathString(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ };
130
+ },
131
+ /**
132
+ * Gets ReportRequestReins
133
+ * @summary Get ReportRequestReins
134
+ * @param {string} vbasoftwareDatabase Target database
135
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ getReportRequestReins: async (vbasoftwareDatabase: string, reportRequestReinsKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
140
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
141
+ assertParamExists('getReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
142
+ // verify required parameter 'reportRequestReinsKey' is not null or undefined
143
+ assertParamExists('getReportRequestReins', 'reportRequestReinsKey', reportRequestReinsKey)
144
+ const localVarPath = `/report-request-reinsurance/{ReportRequestReins_Key}`
145
+ .replace(`{${"ReportRequestReins_Key"}}`, encodeURIComponent(String(reportRequestReinsKey)));
146
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
148
+ let baseOptions;
149
+ if (configuration) {
150
+ baseOptions = configuration.baseOptions;
151
+ }
152
+
153
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
154
+ const localVarHeaderParameter = {} as any;
155
+ const localVarQueryParameter = {} as any;
156
+
157
+ // authentication apiKeyAuth required
158
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
159
+
160
+ // authentication bearerAuth required
161
+ // http bearer authentication required
162
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
163
+
164
+ localVarHeaderParameter['Accept'] = 'text/plain,application/json,text/json';
165
+
166
+ if (vbasoftwareDatabase != null) {
167
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
168
+ }
169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
172
+
173
+ return {
174
+ url: toPathString(localVarUrlObj),
175
+ options: localVarRequestOptions,
176
+ };
177
+ },
178
+ /**
179
+ * Lists all ReportRequestReins
180
+ * @summary List ReportRequestReins
181
+ * @param {string} vbasoftwareDatabase Target database
182
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
183
+ * @param {number} [page] Page
184
+ * @param {number} [pageSize] Page Size
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ listReportRequestReins: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
189
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
190
+ assertParamExists('listReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
191
+ const localVarPath = `/report-request-reinsurance`;
192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
193
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
194
+ let baseOptions;
195
+ if (configuration) {
196
+ baseOptions = configuration.baseOptions;
197
+ }
198
+
199
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
200
+ const localVarHeaderParameter = {} as any;
201
+ const localVarQueryParameter = {} as any;
202
+
203
+ // authentication apiKeyAuth required
204
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
205
+
206
+ // authentication bearerAuth required
207
+ // http bearer authentication required
208
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
209
+
210
+ if (sortBy !== undefined) {
211
+ localVarQueryParameter['sortBy'] = sortBy;
212
+ }
213
+
214
+ if (page !== undefined) {
215
+ localVarQueryParameter['page'] = page;
216
+ }
217
+
218
+ if (pageSize !== undefined) {
219
+ localVarQueryParameter['pageSize'] = pageSize;
220
+ }
221
+
222
+ localVarHeaderParameter['Accept'] = 'text/plain,application/json,text/json';
223
+
224
+ if (vbasoftwareDatabase != null) {
225
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
226
+ }
227
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
228
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
229
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
230
+
231
+ return {
232
+ url: toPathString(localVarUrlObj),
233
+ options: localVarRequestOptions,
234
+ };
235
+ },
236
+ /**
237
+ * Create or Update multiple ReportRequestReins at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
238
+ * @summary Create or Update Batch ReportRequestReins
239
+ * @param {string} vbasoftwareDatabase Target database
240
+ * @param {Array<ReportRequestReins>} reportRequestReins
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ updateBatchReportRequestReins: async (vbasoftwareDatabase: string, reportRequestReins: Array<ReportRequestReins>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
245
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
246
+ assertParamExists('updateBatchReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
247
+ // verify required parameter 'reportRequestReins' is not null or undefined
248
+ assertParamExists('updateBatchReportRequestReins', 'reportRequestReins', reportRequestReins)
249
+ const localVarPath = `/report-request-reinsurance-batch`;
250
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
251
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
252
+ let baseOptions;
253
+ if (configuration) {
254
+ baseOptions = configuration.baseOptions;
255
+ }
256
+
257
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
258
+ const localVarHeaderParameter = {} as any;
259
+ const localVarQueryParameter = {} as any;
260
+
261
+ // authentication apiKeyAuth required
262
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
263
+
264
+ // authentication bearerAuth required
265
+ // http bearer authentication required
266
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
267
+
268
+ localVarHeaderParameter['Content-Type'] = 'application/json';
269
+ localVarHeaderParameter['Accept'] = 'text/plain,application/json,text/json';
270
+
271
+ if (vbasoftwareDatabase != null) {
272
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
273
+ }
274
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
275
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
276
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
277
+ localVarRequestOptions.data = serializeDataIfNeeded(reportRequestReins, localVarRequestOptions, configuration)
278
+
279
+ return {
280
+ url: toPathString(localVarUrlObj),
281
+ options: localVarRequestOptions,
282
+ };
283
+ },
284
+ /**
285
+ * Updates a specific ReportRequestReins.
286
+ * @summary Update ReportRequestReins
287
+ * @param {string} vbasoftwareDatabase Target database
288
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
289
+ * @param {ReportRequestReins} reportRequestReins
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ updateReportRequestReins: async (vbasoftwareDatabase: string, reportRequestReinsKey: number, reportRequestReins: ReportRequestReins, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
294
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
295
+ assertParamExists('updateReportRequestReins', 'vbasoftwareDatabase', vbasoftwareDatabase)
296
+ // verify required parameter 'reportRequestReinsKey' is not null or undefined
297
+ assertParamExists('updateReportRequestReins', 'reportRequestReinsKey', reportRequestReinsKey)
298
+ // verify required parameter 'reportRequestReins' is not null or undefined
299
+ assertParamExists('updateReportRequestReins', 'reportRequestReins', reportRequestReins)
300
+ const localVarPath = `/report-request-reinsurance/{ReportRequestReins_Key}`
301
+ .replace(`{${"ReportRequestReins_Key"}}`, encodeURIComponent(String(reportRequestReinsKey)));
302
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
303
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
304
+ let baseOptions;
305
+ if (configuration) {
306
+ baseOptions = configuration.baseOptions;
307
+ }
308
+
309
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
310
+ const localVarHeaderParameter = {} as any;
311
+ const localVarQueryParameter = {} as any;
312
+
313
+ // authentication apiKeyAuth required
314
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
315
+
316
+ // authentication bearerAuth required
317
+ // http bearer authentication required
318
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
319
+
320
+ localVarHeaderParameter['Content-Type'] = 'application/json';
321
+ localVarHeaderParameter['Accept'] = 'text/plain,application/json,text/json';
322
+
323
+ if (vbasoftwareDatabase != null) {
324
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
325
+ }
326
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
328
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
329
+ localVarRequestOptions.data = serializeDataIfNeeded(reportRequestReins, localVarRequestOptions, configuration)
330
+
331
+ return {
332
+ url: toPathString(localVarUrlObj),
333
+ options: localVarRequestOptions,
334
+ };
335
+ },
336
+ }
337
+ };
338
+
339
+ /**
340
+ * ReportRequestReinsuranceApi - functional programming interface
341
+ */
342
+ export const ReportRequestReinsuranceApiFp = function(configuration?: Configuration) {
343
+ const localVarAxiosParamCreator = ReportRequestReinsuranceApiAxiosParamCreator(configuration)
344
+ return {
345
+ /**
346
+ * Creates a new ReportRequestReins
347
+ * @summary Create ReportRequestReins
348
+ * @param {string} vbasoftwareDatabase Target database
349
+ * @param {ReportRequestReins} reportRequestReins
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ */
353
+ async createReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRequestReinsVBAResponse>> {
354
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createReportRequestReins(vbasoftwareDatabase, reportRequestReins, options);
355
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
356
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.createReportRequestReins']?.[localVarOperationServerIndex]?.url;
357
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
358
+ },
359
+ /**
360
+ * Deletes an ReportRequestReins
361
+ * @summary Delete ReportRequestReins
362
+ * @param {string} vbasoftwareDatabase Target database
363
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ async deleteReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options);
369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
370
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.deleteReportRequestReins']?.[localVarOperationServerIndex]?.url;
371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
372
+ },
373
+ /**
374
+ * Gets ReportRequestReins
375
+ * @summary Get ReportRequestReins
376
+ * @param {string} vbasoftwareDatabase Target database
377
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ async getReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRequestReinsVBAResponse>> {
382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options);
383
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
384
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.getReportRequestReins']?.[localVarOperationServerIndex]?.url;
385
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
386
+ },
387
+ /**
388
+ * Lists all ReportRequestReins
389
+ * @summary List ReportRequestReins
390
+ * @param {string} vbasoftwareDatabase Target database
391
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
392
+ * @param {number} [page] Page
393
+ * @param {number} [pageSize] Page Size
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ */
397
+ async listReportRequestReins(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRequestReinsListVBAResponse>> {
398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReportRequestReins(vbasoftwareDatabase, sortBy, page, pageSize, options);
399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
400
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.listReportRequestReins']?.[localVarOperationServerIndex]?.url;
401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
402
+ },
403
+ /**
404
+ * Create or Update multiple ReportRequestReins at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
405
+ * @summary Create or Update Batch ReportRequestReins
406
+ * @param {string} vbasoftwareDatabase Target database
407
+ * @param {Array<ReportRequestReins>} reportRequestReins
408
+ * @param {*} [options] Override http request option.
409
+ * @throws {RequiredError}
410
+ */
411
+ async updateBatchReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: Array<ReportRequestReins>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchReportRequestReins(vbasoftwareDatabase, reportRequestReins, options);
413
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
414
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.updateBatchReportRequestReins']?.[localVarOperationServerIndex]?.url;
415
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
416
+ },
417
+ /**
418
+ * Updates a specific ReportRequestReins.
419
+ * @summary Update ReportRequestReins
420
+ * @param {string} vbasoftwareDatabase Target database
421
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
422
+ * @param {ReportRequestReins} reportRequestReins
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ async updateReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRequestReinsVBAResponse>> {
427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, reportRequestReins, options);
428
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
429
+ const localVarOperationServerBasePath = operationServerMap['ReportRequestReinsuranceApi.updateReportRequestReins']?.[localVarOperationServerIndex]?.url;
430
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
431
+ },
432
+ }
433
+ };
434
+
435
+ /**
436
+ * ReportRequestReinsuranceApi - factory interface
437
+ */
438
+ export const ReportRequestReinsuranceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
439
+ const localVarFp = ReportRequestReinsuranceApiFp(configuration)
440
+ return {
441
+ /**
442
+ * Creates a new ReportRequestReins
443
+ * @summary Create ReportRequestReins
444
+ * @param {string} vbasoftwareDatabase Target database
445
+ * @param {ReportRequestReins} reportRequestReins
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ */
449
+ createReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse> {
450
+ return localVarFp.createReportRequestReins(vbasoftwareDatabase, reportRequestReins, options).then((request) => request(axios, basePath));
451
+ },
452
+ /**
453
+ * Deletes an ReportRequestReins
454
+ * @summary Delete ReportRequestReins
455
+ * @param {string} vbasoftwareDatabase Target database
456
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ */
460
+ deleteReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
461
+ return localVarFp.deleteReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options).then((request) => request(axios, basePath));
462
+ },
463
+ /**
464
+ * Gets ReportRequestReins
465
+ * @summary Get ReportRequestReins
466
+ * @param {string} vbasoftwareDatabase Target database
467
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ */
471
+ getReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse> {
472
+ return localVarFp.getReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options).then((request) => request(axios, basePath));
473
+ },
474
+ /**
475
+ * Lists all ReportRequestReins
476
+ * @summary List ReportRequestReins
477
+ * @param {string} vbasoftwareDatabase Target database
478
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
479
+ * @param {number} [page] Page
480
+ * @param {number} [pageSize] Page Size
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ listReportRequestReins(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsListVBAResponse> {
485
+ return localVarFp.listReportRequestReins(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
486
+ },
487
+ /**
488
+ * Create or Update multiple ReportRequestReins at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
489
+ * @summary Create or Update Batch ReportRequestReins
490
+ * @param {string} vbasoftwareDatabase Target database
491
+ * @param {Array<ReportRequestReins>} reportRequestReins
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ updateBatchReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: Array<ReportRequestReins>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
496
+ return localVarFp.updateBatchReportRequestReins(vbasoftwareDatabase, reportRequestReins, options).then((request) => request(axios, basePath));
497
+ },
498
+ /**
499
+ * Updates a specific ReportRequestReins.
500
+ * @summary Update ReportRequestReins
501
+ * @param {string} vbasoftwareDatabase Target database
502
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
503
+ * @param {ReportRequestReins} reportRequestReins
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ */
507
+ updateReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse> {
508
+ return localVarFp.updateReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, reportRequestReins, options).then((request) => request(axios, basePath));
509
+ },
510
+ };
511
+ };
512
+
513
+ /**
514
+ * ReportRequestReinsuranceApi - interface
515
+ */
516
+ export interface ReportRequestReinsuranceApiInterface {
517
+ /**
518
+ * Creates a new ReportRequestReins
519
+ * @summary Create ReportRequestReins
520
+ * @param {string} vbasoftwareDatabase Target database
521
+ * @param {ReportRequestReins} reportRequestReins
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ createReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse>;
526
+
527
+ /**
528
+ * Deletes an ReportRequestReins
529
+ * @summary Delete ReportRequestReins
530
+ * @param {string} vbasoftwareDatabase Target database
531
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ deleteReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
536
+
537
+ /**
538
+ * Gets ReportRequestReins
539
+ * @summary Get ReportRequestReins
540
+ * @param {string} vbasoftwareDatabase Target database
541
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ */
545
+ getReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse>;
546
+
547
+ /**
548
+ * Lists all ReportRequestReins
549
+ * @summary List ReportRequestReins
550
+ * @param {string} vbasoftwareDatabase Target database
551
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
552
+ * @param {number} [page] Page
553
+ * @param {number} [pageSize] Page Size
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ */
557
+ listReportRequestReins(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsListVBAResponse>;
558
+
559
+ /**
560
+ * Create or Update multiple ReportRequestReins at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
561
+ * @summary Create or Update Batch ReportRequestReins
562
+ * @param {string} vbasoftwareDatabase Target database
563
+ * @param {Array<ReportRequestReins>} reportRequestReins
564
+ * @param {*} [options] Override http request option.
565
+ * @throws {RequiredError}
566
+ */
567
+ updateBatchReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: Array<ReportRequestReins>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
568
+
569
+ /**
570
+ * Updates a specific ReportRequestReins.
571
+ * @summary Update ReportRequestReins
572
+ * @param {string} vbasoftwareDatabase Target database
573
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
574
+ * @param {ReportRequestReins} reportRequestReins
575
+ * @param {*} [options] Override http request option.
576
+ * @throws {RequiredError}
577
+ */
578
+ updateReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig): AxiosPromise<ReportRequestReinsVBAResponse>;
579
+
580
+ }
581
+
582
+ /**
583
+ * ReportRequestReinsuranceApi - object-oriented interface
584
+ */
585
+ export class ReportRequestReinsuranceApi extends BaseAPI implements ReportRequestReinsuranceApiInterface {
586
+ /**
587
+ * Creates a new ReportRequestReins
588
+ * @summary Create ReportRequestReins
589
+ * @param {string} vbasoftwareDatabase Target database
590
+ * @param {ReportRequestReins} reportRequestReins
591
+ * @param {*} [options] Override http request option.
592
+ * @throws {RequiredError}
593
+ */
594
+ public createReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig) {
595
+ return ReportRequestReinsuranceApiFp(this.configuration).createReportRequestReins(vbasoftwareDatabase, reportRequestReins, options).then((request) => request(this.axios, this.basePath));
596
+ }
597
+
598
+ /**
599
+ * Deletes an ReportRequestReins
600
+ * @summary Delete ReportRequestReins
601
+ * @param {string} vbasoftwareDatabase Target database
602
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
603
+ * @param {*} [options] Override http request option.
604
+ * @throws {RequiredError}
605
+ */
606
+ public deleteReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig) {
607
+ return ReportRequestReinsuranceApiFp(this.configuration).deleteReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options).then((request) => request(this.axios, this.basePath));
608
+ }
609
+
610
+ /**
611
+ * Gets ReportRequestReins
612
+ * @summary Get ReportRequestReins
613
+ * @param {string} vbasoftwareDatabase Target database
614
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ */
618
+ public getReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, options?: RawAxiosRequestConfig) {
619
+ return ReportRequestReinsuranceApiFp(this.configuration).getReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, options).then((request) => request(this.axios, this.basePath));
620
+ }
621
+
622
+ /**
623
+ * Lists all ReportRequestReins
624
+ * @summary List ReportRequestReins
625
+ * @param {string} vbasoftwareDatabase Target database
626
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
627
+ * @param {number} [page] Page
628
+ * @param {number} [pageSize] Page Size
629
+ * @param {*} [options] Override http request option.
630
+ * @throws {RequiredError}
631
+ */
632
+ public listReportRequestReins(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
633
+ return ReportRequestReinsuranceApiFp(this.configuration).listReportRequestReins(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
634
+ }
635
+
636
+ /**
637
+ * Create or Update multiple ReportRequestReins at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
638
+ * @summary Create or Update Batch ReportRequestReins
639
+ * @param {string} vbasoftwareDatabase Target database
640
+ * @param {Array<ReportRequestReins>} reportRequestReins
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ */
644
+ public updateBatchReportRequestReins(vbasoftwareDatabase: string, reportRequestReins: Array<ReportRequestReins>, options?: RawAxiosRequestConfig) {
645
+ return ReportRequestReinsuranceApiFp(this.configuration).updateBatchReportRequestReins(vbasoftwareDatabase, reportRequestReins, options).then((request) => request(this.axios, this.basePath));
646
+ }
647
+
648
+ /**
649
+ * Updates a specific ReportRequestReins.
650
+ * @summary Update ReportRequestReins
651
+ * @param {string} vbasoftwareDatabase Target database
652
+ * @param {number} reportRequestReinsKey ReportRequestReins Key
653
+ * @param {ReportRequestReins} reportRequestReins
654
+ * @param {*} [options] Override http request option.
655
+ * @throws {RequiredError}
656
+ */
657
+ public updateReportRequestReins(vbasoftwareDatabase: string, reportRequestReinsKey: number, reportRequestReins: ReportRequestReins, options?: RawAxiosRequestConfig) {
658
+ return ReportRequestReinsuranceApiFp(this.configuration).updateReportRequestReins(vbasoftwareDatabase, reportRequestReinsKey, reportRequestReins, options).then((request) => request(this.axios, this.basePath));
659
+ }
660
+ }
661
+