@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230512.1 → 1.20230518.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.
@@ -2999,6 +2999,8 @@ models/vbaauth-vbaresponse.ts
2999
2999
  models/vbaauth.ts
3000
3000
  models/vbacommission-rate-subscriber-list-vbaresponse.ts
3001
3001
  models/vbacommission-rate-subscriber.ts
3002
+ models/vbafunding-request-claim-summary-list-vbaresponse.ts
3003
+ models/vbafunding-request-claim-summary.ts
3002
3004
  models/vbagateway-subscription-detail-list-vbaresponse.ts
3003
3005
  models/vbagateway-subscription-detail-vbaresponse.ts
3004
3006
  models/vbagateway-subscription-detail.ts
@@ -28,6 +28,8 @@ import { FundingRequestClaimListVBAResponse } from '../models';
28
28
  import { FundingRequestClaimVBAResponse } from '../models';
29
29
  // @ts-ignore
30
30
  import { MultiCodeResponseListVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { VBAFundingRequestClaimSummaryListVBAResponse } from '../models';
31
33
  /**
32
34
  * FundingRequestClaimsApi - axios parameter creator
33
35
  * @export
@@ -249,6 +251,64 @@ export const FundingRequestClaimsApiAxiosParamCreator = function (configuration?
249
251
 
250
252
 
251
253
 
254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
257
+
258
+ return {
259
+ url: toPathString(localVarUrlObj),
260
+ options: localVarRequestOptions,
261
+ };
262
+ },
263
+ /**
264
+ * Lists all FundingRequestClaim Summary for the given requestKey. The Summary view has additional computed fields that are ot present on the FundingRequestClaim object.
265
+ * @summary List FundingRequestClaim Summary
266
+ * @param {string} vbasoftwareDatabase Target database
267
+ * @param {number} requestKey Request Key
268
+ * @param {number} [page] Page
269
+ * @param {number} [pageSize] Page Size
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ listFundingRequestClaimSummary: async (vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
274
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
275
+ assertParamExists('listFundingRequestClaimSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
276
+ // verify required parameter 'requestKey' is not null or undefined
277
+ assertParamExists('listFundingRequestClaimSummary', 'requestKey', requestKey)
278
+ const localVarPath = `/funding-requests/{requestKey}/claims-summary`
279
+ .replace(`{${"requestKey"}}`, encodeURIComponent(String(requestKey)));
280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
282
+ let baseOptions;
283
+ if (configuration) {
284
+ baseOptions = configuration.baseOptions;
285
+ }
286
+
287
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
288
+ const localVarHeaderParameter = {} as any;
289
+ const localVarQueryParameter = {} as any;
290
+
291
+ // authentication apiKeyAuth required
292
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
293
+
294
+ // authentication bearerAuth required
295
+ // http bearer authentication required
296
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
297
+
298
+ if (page !== undefined) {
299
+ localVarQueryParameter['page'] = page;
300
+ }
301
+
302
+ if (pageSize !== undefined) {
303
+ localVarQueryParameter['pageSize'] = pageSize;
304
+ }
305
+
306
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
307
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
308
+ }
309
+
310
+
311
+
252
312
  setSearchParams(localVarUrlObj, localVarQueryParameter);
253
313
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
314
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -439,6 +499,20 @@ export const FundingRequestClaimsApiFp = function(configuration?: Configuration)
439
499
  const localVarAxiosArgs = await localVarAxiosParamCreator.listFundingRequestClaim(vbasoftwareDatabase, requestKey, page, pageSize, options);
440
500
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
441
501
  },
502
+ /**
503
+ * Lists all FundingRequestClaim Summary for the given requestKey. The Summary view has additional computed fields that are ot present on the FundingRequestClaim object.
504
+ * @summary List FundingRequestClaim Summary
505
+ * @param {string} vbasoftwareDatabase Target database
506
+ * @param {number} requestKey Request Key
507
+ * @param {number} [page] Page
508
+ * @param {number} [pageSize] Page Size
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ */
512
+ async listFundingRequestClaimSummary(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAFundingRequestClaimSummaryListVBAResponse>> {
513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listFundingRequestClaimSummary(vbasoftwareDatabase, requestKey, page, pageSize, options);
514
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
515
+ },
442
516
  /**
443
517
  * Create or Update multiple FundingRequestClaim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
444
518
  * @summary Create or Update Batch FundingRequestClaim
@@ -528,6 +602,19 @@ export const FundingRequestClaimsApiFactory = function (configuration?: Configur
528
602
  listFundingRequestClaim(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: any): AxiosPromise<FundingRequestClaimListVBAResponse> {
529
603
  return localVarFp.listFundingRequestClaim(vbasoftwareDatabase, requestKey, page, pageSize, options).then((request) => request(axios, basePath));
530
604
  },
605
+ /**
606
+ * Lists all FundingRequestClaim Summary for the given requestKey. The Summary view has additional computed fields that are ot present on the FundingRequestClaim object.
607
+ * @summary List FundingRequestClaim Summary
608
+ * @param {string} vbasoftwareDatabase Target database
609
+ * @param {number} requestKey Request Key
610
+ * @param {number} [page] Page
611
+ * @param {number} [pageSize] Page Size
612
+ * @param {*} [options] Override http request option.
613
+ * @throws {RequiredError}
614
+ */
615
+ listFundingRequestClaimSummary(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: any): AxiosPromise<VBAFundingRequestClaimSummaryListVBAResponse> {
616
+ return localVarFp.listFundingRequestClaimSummary(vbasoftwareDatabase, requestKey, page, pageSize, options).then((request) => request(axios, basePath));
617
+ },
531
618
  /**
532
619
  * Create or Update multiple FundingRequestClaim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
533
620
  * @summary Create or Update Batch FundingRequestClaim
@@ -614,6 +701,19 @@ export interface FundingRequestClaimsApiInterface {
614
701
  */
615
702
  listFundingRequestClaim(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<FundingRequestClaimListVBAResponse>;
616
703
 
704
+ /**
705
+ * Lists all FundingRequestClaim Summary for the given requestKey. The Summary view has additional computed fields that are ot present on the FundingRequestClaim object.
706
+ * @summary List FundingRequestClaim Summary
707
+ * @param {string} vbasoftwareDatabase Target database
708
+ * @param {number} requestKey Request Key
709
+ * @param {number} [page] Page
710
+ * @param {number} [pageSize] Page Size
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ * @memberof FundingRequestClaimsApiInterface
714
+ */
715
+ listFundingRequestClaimSummary(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<VBAFundingRequestClaimSummaryListVBAResponse>;
716
+
617
717
  /**
618
718
  * Create or Update multiple FundingRequestClaim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
619
719
  * @summary Create or Update Batch FundingRequestClaim
@@ -708,6 +808,21 @@ export class FundingRequestClaimsApi extends BaseAPI implements FundingRequestCl
708
808
  return FundingRequestClaimsApiFp(this.configuration).listFundingRequestClaim(vbasoftwareDatabase, requestKey, page, pageSize, options).then((request) => request(this.axios, this.basePath));
709
809
  }
710
810
 
811
+ /**
812
+ * Lists all FundingRequestClaim Summary for the given requestKey. The Summary view has additional computed fields that are ot present on the FundingRequestClaim object.
813
+ * @summary List FundingRequestClaim Summary
814
+ * @param {string} vbasoftwareDatabase Target database
815
+ * @param {number} requestKey Request Key
816
+ * @param {number} [page] Page
817
+ * @param {number} [pageSize] Page Size
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ * @memberof FundingRequestClaimsApi
821
+ */
822
+ public listFundingRequestClaimSummary(vbasoftwareDatabase: string, requestKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
823
+ return FundingRequestClaimsApiFp(this.configuration).listFundingRequestClaimSummary(vbasoftwareDatabase, requestKey, page, pageSize, options).then((request) => request(this.axios, this.basePath));
824
+ }
825
+
711
826
  /**
712
827
  * Create or Update multiple FundingRequestClaim at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
713
828
  * @summary Create or Update Batch FundingRequestClaim
package/models/funding.ts CHANGED
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface Funding {
23
23
  /**
24
- * ID of the Funding record.
24
+ * ID of the Funding record. Note: The database will apply a default value of `0` for this field if a value is not provided. This field is also marked as NOT NULL in the database and therefore required by the API. If you do not have a value for this field, supply the database default value of `0` to meet the API requirements and ensure that the functionality occurs as expected.
25
25
  * @type {number}
26
26
  * @memberof Funding
27
27
  */
@@ -50,6 +50,18 @@ export interface Funding {
50
50
  * @memberof Funding
51
51
  */
52
52
  'deposit_Key'?: number | null;
53
+ /**
54
+ * Date record was first added to the system
55
+ * @type {string}
56
+ * @memberof Funding
57
+ */
58
+ 'entry_Date'?: string;
59
+ /**
60
+ * User that first added the record to the system
61
+ * @type {string}
62
+ * @memberof Funding
63
+ */
64
+ 'entry_User'?: string | null;
53
65
  /**
54
66
  * Status of the Funding.
55
67
  * @type {string}
@@ -104,5 +116,17 @@ export interface Funding {
104
116
  * @memberof Funding
105
117
  */
106
118
  'received_Date'?: string | null;
119
+ /**
120
+ * Date the record was last updated in the system
121
+ * @type {string}
122
+ * @memberof Funding
123
+ */
124
+ 'update_Date'?: string;
125
+ /**
126
+ * User that last updated the record in the system
127
+ * @type {string}
128
+ * @memberof Funding
129
+ */
130
+ 'update_User'?: string | null;
107
131
  }
108
132
 
package/models/index.ts CHANGED
@@ -2202,6 +2202,8 @@ export * from './vbaauth';
2202
2202
  export * from './vbaauth-vbaresponse';
2203
2203
  export * from './vbacommission-rate-subscriber';
2204
2204
  export * from './vbacommission-rate-subscriber-list-vbaresponse';
2205
+ export * from './vbafunding-request-claim-summary';
2206
+ export * from './vbafunding-request-claim-summary-list-vbaresponse';
2205
2207
  export * from './vbagateway-subscription';
2206
2208
  export * from './vbagateway-subscription-detail';
2207
2209
  export * from './vbagateway-subscription-detail-list-vbaresponse';
@@ -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 { VBAFundingRequestClaimSummary } from './vbafunding-request-claim-summary';
18
+ import { VBAProblemDetails } from './vbaproblem-details';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface VBAFundingRequestClaimSummaryListVBAResponse
24
+ */
25
+ export interface VBAFundingRequestClaimSummaryListVBAResponse {
26
+ /**
27
+ *
28
+ * @type {Array<VBAFundingRequestClaimSummary>}
29
+ * @memberof VBAFundingRequestClaimSummaryListVBAResponse
30
+ */
31
+ 'data'?: Array<VBAFundingRequestClaimSummary> | null;
32
+ /**
33
+ *
34
+ * @type {VBAProblemDetails}
35
+ * @memberof VBAFundingRequestClaimSummaryListVBAResponse
36
+ */
37
+ 'error'?: VBAProblemDetails;
38
+ /**
39
+ *
40
+ * @type {Debug}
41
+ * @memberof VBAFundingRequestClaimSummaryListVBAResponse
42
+ */
43
+ 'debug'?: Debug;
44
+ }
45
+
@@ -0,0 +1,90 @@
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 VBAFundingRequestClaimSummary
21
+ */
22
+ export interface VBAFundingRequestClaimSummary {
23
+ /**
24
+ * Gets or sets the claim number.
25
+ * @type {number}
26
+ * @memberof VBAFundingRequestClaimSummary
27
+ */
28
+ 'claimNumber'?: number;
29
+ /**
30
+ * Gets or sets the batch number.
31
+ * @type {number}
32
+ * @memberof VBAFundingRequestClaimSummary
33
+ */
34
+ 'batchNumber'?: number;
35
+ /**
36
+ * Gets or sets the batch claim.
37
+ * @type {number}
38
+ * @memberof VBAFundingRequestClaimSummary
39
+ */
40
+ 'batchClaim'?: number;
41
+ /**
42
+ * Gets or sets the claim paid amount.
43
+ * @type {number}
44
+ * @memberof VBAFundingRequestClaimSummary
45
+ */
46
+ 'claimPaidAmount'?: number;
47
+ /**
48
+ * Gets or sets the claim funded status.
49
+ * @type {string}
50
+ * @memberof VBAFundingRequestClaimSummary
51
+ */
52
+ 'claimFundedStatus'?: string | null;
53
+ /**
54
+ * Gets or sets the claim status.
55
+ * @type {string}
56
+ * @memberof VBAFundingRequestClaimSummary
57
+ */
58
+ 'claimStatus'?: string | null;
59
+ /**
60
+ * Gets or sets a value indicating whether the claim is funded.
61
+ * @type {boolean}
62
+ * @memberof VBAFundingRequestClaimSummary
63
+ */
64
+ 'funded'?: boolean;
65
+ /**
66
+ * Gets or sets the funded date.
67
+ * @type {string}
68
+ * @memberof VBAFundingRequestClaimSummary
69
+ */
70
+ 'fundedDate'?: string | null;
71
+ /**
72
+ * Gets or sets the processed date.
73
+ * @type {string}
74
+ * @memberof VBAFundingRequestClaimSummary
75
+ */
76
+ 'processedDate'?: string | null;
77
+ /**
78
+ * Gets or sets the request amount.
79
+ * @type {number}
80
+ * @memberof VBAFundingRequestClaimSummary
81
+ */
82
+ 'requestAmount'?: number;
83
+ /**
84
+ * Gets or sets the funded amount.
85
+ * @type {number}
86
+ * @memberof VBAFundingRequestClaimSummary
87
+ */
88
+ 'fundedAmount'?: number;
89
+ }
90
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vbasoftware/vbapi-vbasoftware-typescript-axios",
3
- "version": "1.20230512.1",
3
+ "version": "1.20230518.1",
4
4
  "description": "APIs for VBASoftware APIs",
5
5
  "main": "index.js",
6
6
  "scripts": {