@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230518.1 → 1.20230519.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.
@@ -3041,6 +3041,8 @@ models/vbaprocess-parameter-vbaresponse.ts
3041
3041
  models/vbaprocess-parameter.ts
3042
3042
  models/vbaprocess-vbaresponse.ts
3043
3043
  models/vbaprocess.ts
3044
+ models/vbareins-contract-transaction-summary-list-vbaresponse.ts
3045
+ models/vbareins-contract-transaction-summary.ts
3044
3046
  models/volume.ts
3045
3047
  models/workflow-detail-list-vbaresponse.ts
3046
3048
  models/workflow-detail-vbaresponse.ts
@@ -28,6 +28,8 @@ import { ReinsContractTrans } from '../models';
28
28
  import { ReinsContractTransListVBAResponse } from '../models';
29
29
  // @ts-ignore
30
30
  import { ReinsContractTransVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { VBAReinsContractTransactionSummaryListVBAResponse } from '../models';
31
33
  /**
32
34
  * ReinsuranceContractTransactionsApi - axios parameter creator
33
35
  * @export
@@ -241,6 +243,54 @@ export const ReinsuranceContractTransactionsApiAxiosParamCreator = function (con
241
243
 
242
244
 
243
245
 
246
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
248
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
249
+
250
+ return {
251
+ url: toPathString(localVarUrlObj),
252
+ options: localVarRequestOptions,
253
+ };
254
+ },
255
+ /**
256
+ * Lists all ReinsContractTransactions in a Summary for the given reinsContractKey
257
+ * @summary List ReinsContractTrans
258
+ * @param {string} vbasoftwareDatabase Target database
259
+ * @param {number} reinsContractKey ReinsContract Key
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ listVBAReinsContractTransactionSummary: async (vbasoftwareDatabase: string, reinsContractKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
265
+ assertParamExists('listVBAReinsContractTransactionSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
266
+ // verify required parameter 'reinsContractKey' is not null or undefined
267
+ assertParamExists('listVBAReinsContractTransactionSummary', 'reinsContractKey', reinsContractKey)
268
+ const localVarPath = `/reinsurance-contracts/{reinsContractKey}/transactions-summary`
269
+ .replace(`{${"reinsContractKey"}}`, encodeURIComponent(String(reinsContractKey)));
270
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
271
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
272
+ let baseOptions;
273
+ if (configuration) {
274
+ baseOptions = configuration.baseOptions;
275
+ }
276
+
277
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
278
+ const localVarHeaderParameter = {} as any;
279
+ const localVarQueryParameter = {} as any;
280
+
281
+ // authentication apiKeyAuth required
282
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
283
+
284
+ // authentication bearerAuth required
285
+ // http bearer authentication required
286
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
287
+
288
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
289
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
290
+ }
291
+
292
+
293
+
244
294
  setSearchParams(localVarUrlObj, localVarQueryParameter);
245
295
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
246
296
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -425,6 +475,18 @@ export const ReinsuranceContractTransactionsApiFp = function(configuration?: Con
425
475
  const localVarAxiosArgs = await localVarAxiosParamCreator.listReinsContractTrans(vbasoftwareDatabase, reinsContractKey, page, pageSize, options);
426
476
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
477
  },
478
+ /**
479
+ * Lists all ReinsContractTransactions in a Summary for the given reinsContractKey
480
+ * @summary List ReinsContractTrans
481
+ * @param {string} vbasoftwareDatabase Target database
482
+ * @param {number} reinsContractKey ReinsContract Key
483
+ * @param {*} [options] Override http request option.
484
+ * @throws {RequiredError}
485
+ */
486
+ async listVBAReinsContractTransactionSummary(vbasoftwareDatabase: string, reinsContractKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAReinsContractTransactionSummaryListVBAResponse>> {
487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listVBAReinsContractTransactionSummary(vbasoftwareDatabase, reinsContractKey, options);
488
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
489
+ },
428
490
  /**
429
491
  * Create or Update multiple ReinsContractTrans at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
430
492
  * @summary Create or Update Batch ReinsContractTrans
@@ -511,6 +573,17 @@ export const ReinsuranceContractTransactionsApiFactory = function (configuration
511
573
  listReinsContractTrans(vbasoftwareDatabase: string, reinsContractKey: number, page?: number, pageSize?: number, options?: any): AxiosPromise<ReinsContractTransListVBAResponse> {
512
574
  return localVarFp.listReinsContractTrans(vbasoftwareDatabase, reinsContractKey, page, pageSize, options).then((request) => request(axios, basePath));
513
575
  },
576
+ /**
577
+ * Lists all ReinsContractTransactions in a Summary for the given reinsContractKey
578
+ * @summary List ReinsContractTrans
579
+ * @param {string} vbasoftwareDatabase Target database
580
+ * @param {number} reinsContractKey ReinsContract Key
581
+ * @param {*} [options] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ listVBAReinsContractTransactionSummary(vbasoftwareDatabase: string, reinsContractKey: number, options?: any): AxiosPromise<VBAReinsContractTransactionSummaryListVBAResponse> {
585
+ return localVarFp.listVBAReinsContractTransactionSummary(vbasoftwareDatabase, reinsContractKey, options).then((request) => request(axios, basePath));
586
+ },
514
587
  /**
515
588
  * Create or Update multiple ReinsContractTrans at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
516
589
  * @summary Create or Update Batch ReinsContractTrans
@@ -594,6 +667,17 @@ export interface ReinsuranceContractTransactionsApiInterface {
594
667
  */
595
668
  listReinsContractTrans(vbasoftwareDatabase: string, reinsContractKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ReinsContractTransListVBAResponse>;
596
669
 
670
+ /**
671
+ * Lists all ReinsContractTransactions in a Summary for the given reinsContractKey
672
+ * @summary List ReinsContractTrans
673
+ * @param {string} vbasoftwareDatabase Target database
674
+ * @param {number} reinsContractKey ReinsContract Key
675
+ * @param {*} [options] Override http request option.
676
+ * @throws {RequiredError}
677
+ * @memberof ReinsuranceContractTransactionsApiInterface
678
+ */
679
+ listVBAReinsContractTransactionSummary(vbasoftwareDatabase: string, reinsContractKey: number, options?: AxiosRequestConfig): AxiosPromise<VBAReinsContractTransactionSummaryListVBAResponse>;
680
+
597
681
  /**
598
682
  * Create or Update multiple ReinsContractTrans at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
599
683
  * @summary Create or Update Batch ReinsContractTrans
@@ -685,6 +769,19 @@ export class ReinsuranceContractTransactionsApi extends BaseAPI implements Reins
685
769
  return ReinsuranceContractTransactionsApiFp(this.configuration).listReinsContractTrans(vbasoftwareDatabase, reinsContractKey, page, pageSize, options).then((request) => request(this.axios, this.basePath));
686
770
  }
687
771
 
772
+ /**
773
+ * Lists all ReinsContractTransactions in a Summary for the given reinsContractKey
774
+ * @summary List ReinsContractTrans
775
+ * @param {string} vbasoftwareDatabase Target database
776
+ * @param {number} reinsContractKey ReinsContract Key
777
+ * @param {*} [options] Override http request option.
778
+ * @throws {RequiredError}
779
+ * @memberof ReinsuranceContractTransactionsApi
780
+ */
781
+ public listVBAReinsContractTransactionSummary(vbasoftwareDatabase: string, reinsContractKey: number, options?: AxiosRequestConfig) {
782
+ return ReinsuranceContractTransactionsApiFp(this.configuration).listVBAReinsContractTransactionSummary(vbasoftwareDatabase, reinsContractKey, options).then((request) => request(this.axios, this.basePath));
783
+ }
784
+
688
785
  /**
689
786
  * Create or Update multiple ReinsContractTrans at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
690
787
  * @summary Create or Update Batch ReinsContractTrans
package/models/index.ts CHANGED
@@ -2244,6 +2244,8 @@ export * from './vbaprocess-log-vbaresponse';
2244
2244
  export * from './vbaprocess-parameter';
2245
2245
  export * from './vbaprocess-parameter-vbaresponse';
2246
2246
  export * from './vbaprocess-vbaresponse';
2247
+ export * from './vbareins-contract-transaction-summary';
2248
+ export * from './vbareins-contract-transaction-summary-list-vbaresponse';
2247
2249
  export * from './volume';
2248
2250
  export * from './workflow';
2249
2251
  export * from './workflow-detail';
@@ -0,0 +1,45 @@
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 { Debug } from './debug';
17
+ import { VBAProblemDetails } from './vbaproblem-details';
18
+ import { VBAReinsContractTransactionSummary } from './vbareins-contract-transaction-summary';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface VBAReinsContractTransactionSummaryListVBAResponse
24
+ */
25
+ export interface VBAReinsContractTransactionSummaryListVBAResponse {
26
+ /**
27
+ *
28
+ * @type {Array<VBAReinsContractTransactionSummary>}
29
+ * @memberof VBAReinsContractTransactionSummaryListVBAResponse
30
+ */
31
+ 'data'?: Array<VBAReinsContractTransactionSummary> | null;
32
+ /**
33
+ *
34
+ * @type {VBAProblemDetails}
35
+ * @memberof VBAReinsContractTransactionSummaryListVBAResponse
36
+ */
37
+ 'error'?: VBAProblemDetails;
38
+ /**
39
+ *
40
+ * @type {Debug}
41
+ * @memberof VBAReinsContractTransactionSummaryListVBAResponse
42
+ */
43
+ 'debug'?: Debug;
44
+ }
45
+
@@ -0,0 +1,108 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface VBAReinsContractTransactionSummary
21
+ */
22
+ export interface VBAReinsContractTransactionSummary {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof VBAReinsContractTransactionSummary
27
+ */
28
+ 'reinsContractTrans_Key'?: number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof VBAReinsContractTransactionSummary
33
+ */
34
+ 'reinsContract_Key'?: number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof VBAReinsContractTransactionSummary
39
+ */
40
+ 'description'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof VBAReinsContractTransactionSummary
45
+ */
46
+ 'subscriber_ID'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof VBAReinsContractTransactionSummary
51
+ */
52
+ 'member_Seq'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof VBAReinsContractTransactionSummary
57
+ */
58
+ 'transaction_Type'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof VBAReinsContractTransactionSummary
63
+ */
64
+ 'transaction_Status'?: string | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof VBAReinsContractTransactionSummary
69
+ */
70
+ 'transaction_Claim_Number'?: string | null;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof VBAReinsContractTransactionSummary
75
+ */
76
+ 'transaction_Amount'?: number | null;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof VBAReinsContractTransactionSummary
81
+ */
82
+ 'transaction_Date'?: string | null;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof VBAReinsContractTransactionSummary
87
+ */
88
+ 'submitted_Date'?: string | null;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof VBAReinsContractTransactionSummary
93
+ */
94
+ 'first_Name'?: string | null;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof VBAReinsContractTransactionSummary
99
+ */
100
+ 'last_Name'?: string | null;
101
+ /**
102
+ *
103
+ * @type {boolean}
104
+ * @memberof VBAReinsContractTransactionSummary
105
+ */
106
+ 'initial_Transaction'?: boolean;
107
+ }
108
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20230518.1",
3
+ "version": "1.20230519.1",
4
4
  "description": "APIs for VBASoftware APIs",
5
5
  "main": "index.js",
6
6
  "scripts": {