@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20231019.1 → 1.20231021.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.
@@ -3066,6 +3066,8 @@ models/users-vbaresponse.ts
3066
3066
  models/users.ts
3067
3067
  models/vbaauth-vbaresponse.ts
3068
3068
  models/vbaauth.ts
3069
+ models/vbaclaim-timeline-list-vbaresponse.ts
3070
+ models/vbaclaim-timeline.ts
3069
3071
  models/vbacommission-rate-subscriber-list-vbaresponse.ts
3070
3072
  models/vbacommission-rate-subscriber.ts
3071
3073
  models/vbafunding-account-claim-info-list-vbaresponse.ts
package/api/claims-api.ts CHANGED
@@ -26,6 +26,8 @@ import { Claim } from '../models';
26
26
  import { ClaimVBAResponse } from '../models';
27
27
  // @ts-ignore
28
28
  import { MultiCodeResponseListVBAResponse } from '../models';
29
+ // @ts-ignore
30
+ import { VBAClaimTimelineListVBAResponse } from '../models';
29
31
  /**
30
32
  * ClaimsApi - axios parameter creator
31
33
  * @export
@@ -169,6 +171,64 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
169
171
 
170
172
 
171
173
 
174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
176
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
177
+
178
+ return {
179
+ url: toPathString(localVarUrlObj),
180
+ options: localVarRequestOptions,
181
+ };
182
+ },
183
+ /**
184
+ * Lists all ClaimTimeline
185
+ * @summary List ClaimTimeline
186
+ * @param {string} vbasoftwareDatabase Target database
187
+ * @param {number} batchId Batch ID
188
+ * @param {number} batchClaimId Batch Claim ID
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ listClaimTimeline: async (vbasoftwareDatabase: string, batchId: number, batchClaimId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
194
+ assertParamExists('listClaimTimeline', 'vbasoftwareDatabase', vbasoftwareDatabase)
195
+ // verify required parameter 'batchId' is not null or undefined
196
+ assertParamExists('listClaimTimeline', 'batchId', batchId)
197
+ // verify required parameter 'batchClaimId' is not null or undefined
198
+ assertParamExists('listClaimTimeline', 'batchClaimId', batchClaimId)
199
+ const localVarPath = `/claim-timeline`;
200
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
202
+ let baseOptions;
203
+ if (configuration) {
204
+ baseOptions = configuration.baseOptions;
205
+ }
206
+
207
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
208
+ const localVarHeaderParameter = {} as any;
209
+ const localVarQueryParameter = {} as any;
210
+
211
+ // authentication apiKeyAuth required
212
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
213
+
214
+ // authentication bearerAuth required
215
+ // http bearer authentication required
216
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
217
+
218
+ if (batchId !== undefined) {
219
+ localVarQueryParameter['batch-id'] = batchId;
220
+ }
221
+
222
+ if (batchClaimId !== undefined) {
223
+ localVarQueryParameter['batch-claim-id'] = batchClaimId;
224
+ }
225
+
226
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
227
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
228
+ }
229
+
230
+
231
+
172
232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
173
233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
234
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -328,6 +388,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
328
388
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(vbasoftwareDatabase, claimNumber, options);
329
389
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
390
  },
391
+ /**
392
+ * Lists all ClaimTimeline
393
+ * @summary List ClaimTimeline
394
+ * @param {string} vbasoftwareDatabase Target database
395
+ * @param {number} batchId Batch ID
396
+ * @param {number} batchClaimId Batch Claim ID
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ async listClaimTimeline(vbasoftwareDatabase: string, batchId: number, batchClaimId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAClaimTimelineListVBAResponse>> {
401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimTimeline(vbasoftwareDatabase, batchId, batchClaimId, options);
402
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
+ },
331
404
  /**
332
405
  * Create or Update multiple Claim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
333
406
  * @summary Create or Update Batch Claim
@@ -396,6 +469,18 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
396
469
  getClaim(vbasoftwareDatabase: string, claimNumber: number, options?: any): AxiosPromise<ClaimVBAResponse> {
397
470
  return localVarFp.getClaim(vbasoftwareDatabase, claimNumber, options).then((request) => request(axios, basePath));
398
471
  },
472
+ /**
473
+ * Lists all ClaimTimeline
474
+ * @summary List ClaimTimeline
475
+ * @param {string} vbasoftwareDatabase Target database
476
+ * @param {number} batchId Batch ID
477
+ * @param {number} batchClaimId Batch Claim ID
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ listClaimTimeline(vbasoftwareDatabase: string, batchId: number, batchClaimId: number, options?: any): AxiosPromise<VBAClaimTimelineListVBAResponse> {
482
+ return localVarFp.listClaimTimeline(vbasoftwareDatabase, batchId, batchClaimId, options).then((request) => request(axios, basePath));
483
+ },
399
484
  /**
400
485
  * Create or Update multiple Claim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
401
486
  * @summary Create or Update Batch Claim
@@ -461,6 +546,18 @@ export interface ClaimsApiInterface {
461
546
  */
462
547
  getClaim(vbasoftwareDatabase: string, claimNumber: number, options?: AxiosRequestConfig): AxiosPromise<ClaimVBAResponse>;
463
548
 
549
+ /**
550
+ * Lists all ClaimTimeline
551
+ * @summary List ClaimTimeline
552
+ * @param {string} vbasoftwareDatabase Target database
553
+ * @param {number} batchId Batch ID
554
+ * @param {number} batchClaimId Batch Claim ID
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ * @memberof ClaimsApiInterface
558
+ */
559
+ listClaimTimeline(vbasoftwareDatabase: string, batchId: number, batchClaimId: number, options?: AxiosRequestConfig): AxiosPromise<VBAClaimTimelineListVBAResponse>;
560
+
464
561
  /**
465
562
  * Create or Update multiple Claim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
466
563
  * @summary Create or Update Batch Claim
@@ -532,6 +629,20 @@ export class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
532
629
  return ClaimsApiFp(this.configuration).getClaim(vbasoftwareDatabase, claimNumber, options).then((request) => request(this.axios, this.basePath));
533
630
  }
534
631
 
632
+ /**
633
+ * Lists all ClaimTimeline
634
+ * @summary List ClaimTimeline
635
+ * @param {string} vbasoftwareDatabase Target database
636
+ * @param {number} batchId Batch ID
637
+ * @param {number} batchClaimId Batch Claim ID
638
+ * @param {*} [options] Override http request option.
639
+ * @throws {RequiredError}
640
+ * @memberof ClaimsApi
641
+ */
642
+ public listClaimTimeline(vbasoftwareDatabase: string, batchId: number, batchClaimId: number, options?: AxiosRequestConfig) {
643
+ return ClaimsApiFp(this.configuration).listClaimTimeline(vbasoftwareDatabase, batchId, batchClaimId, options).then((request) => request(this.axios, this.basePath));
644
+ }
645
+
535
646
  /**
536
647
  * Create or Update multiple Claim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
537
648
  * @summary Create or Update Batch Claim
package/models/index.ts CHANGED
@@ -2250,6 +2250,8 @@ export * from './users-list-vbaresponse';
2250
2250
  export * from './users-vbaresponse';
2251
2251
  export * from './vbaauth';
2252
2252
  export * from './vbaauth-vbaresponse';
2253
+ export * from './vbaclaim-timeline';
2254
+ export * from './vbaclaim-timeline-list-vbaresponse';
2253
2255
  export * from './vbacommission-rate-subscriber';
2254
2256
  export * from './vbacommission-rate-subscriber-list-vbaresponse';
2255
2257
  export * from './vbafunding-account-claim-info';
@@ -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 { VBAClaimTimeline } from './vbaclaim-timeline';
18
+ import { VBAProblemDetails } from './vbaproblem-details';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface VBAClaimTimelineListVBAResponse
24
+ */
25
+ export interface VBAClaimTimelineListVBAResponse {
26
+ /**
27
+ *
28
+ * @type {Array<VBAClaimTimeline>}
29
+ * @memberof VBAClaimTimelineListVBAResponse
30
+ */
31
+ 'data'?: Array<VBAClaimTimeline> | null;
32
+ /**
33
+ *
34
+ * @type {VBAProblemDetails}
35
+ * @memberof VBAClaimTimelineListVBAResponse
36
+ */
37
+ 'error'?: VBAProblemDetails;
38
+ /**
39
+ *
40
+ * @type {Debug}
41
+ * @memberof VBAClaimTimelineListVBAResponse
42
+ */
43
+ 'debug'?: Debug;
44
+ }
45
+
@@ -0,0 +1,120 @@
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 VBAClaimTimeline
21
+ */
22
+ export interface VBAClaimTimeline {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof VBAClaimTimeline
27
+ */
28
+ 'sort'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof VBAClaimTimeline
33
+ */
34
+ 'transaction_Type'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof VBAClaimTimeline
39
+ */
40
+ 'transaction_Date'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof VBAClaimTimeline
45
+ */
46
+ 'pre_Process_Image'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof VBAClaimTimeline
51
+ */
52
+ 'pre_Process_Arrow_Right'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof VBAClaimTimeline
57
+ */
58
+ 'pre_Process_Arrow_Down'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof VBAClaimTimeline
63
+ */
64
+ 'pre_Process_Description'?: string | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof VBAClaimTimeline
69
+ */
70
+ 'post_Process_Image'?: string | null;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof VBAClaimTimeline
75
+ */
76
+ 'post_Process_Arrow_Right'?: string | null;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof VBAClaimTimeline
81
+ */
82
+ 'post_Process_Arrow_Left'?: string | null;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof VBAClaimTimeline
87
+ */
88
+ 'post_Process_Arrow_Down'?: string | null;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof VBAClaimTimeline
93
+ */
94
+ 'post_Process_Description'?: string | null;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof VBAClaimTimeline
99
+ */
100
+ 'post_Payment_Image'?: string | null;
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof VBAClaimTimeline
105
+ */
106
+ 'post_Payment_Arrow_Left'?: string | null;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof VBAClaimTimeline
111
+ */
112
+ 'post_Payment_Arrow_Down'?: string | null;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof VBAClaimTimeline
117
+ */
118
+ 'post_Payment_Description'?: string | null;
119
+ }
120
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20231019.1",
3
+ "version": "1.20231021.1",
4
4
  "description": "APIs for VBASoftware APIs",
5
5
  "main": "index.js",
6
6
  "scripts": {