@finverse/sdk-typescript 0.0.340 → 0.0.342
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.
- package/dist/api.d.ts +51 -0
- package/dist/api.js +60 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2790,6 +2790,19 @@ export interface GetLineItemsForDisplayResponse {
|
|
|
2790
2790
|
*/
|
|
2791
2791
|
line_items?: Array<LineItem>;
|
|
2792
2792
|
}
|
|
2793
|
+
/**
|
|
2794
|
+
*
|
|
2795
|
+
* @export
|
|
2796
|
+
* @interface GetLineItemsForDisplayResponseV2
|
|
2797
|
+
*/
|
|
2798
|
+
export interface GetLineItemsForDisplayResponseV2 {
|
|
2799
|
+
/**
|
|
2800
|
+
*
|
|
2801
|
+
* @type {Array<LineItem>}
|
|
2802
|
+
* @memberof GetLineItemsForDisplayResponseV2
|
|
2803
|
+
*/
|
|
2804
|
+
line_items?: Array<LineItem>;
|
|
2805
|
+
}
|
|
2793
2806
|
/**
|
|
2794
2807
|
*
|
|
2795
2808
|
* @export
|
|
@@ -7520,6 +7533,12 @@ export interface Principal {
|
|
|
7520
7533
|
* @memberof Principal
|
|
7521
7534
|
*/
|
|
7522
7535
|
payment_id?: string;
|
|
7536
|
+
/**
|
|
7537
|
+
*
|
|
7538
|
+
* @type {string}
|
|
7539
|
+
* @memberof Principal
|
|
7540
|
+
*/
|
|
7541
|
+
payment_account_id?: string;
|
|
7523
7542
|
/**
|
|
7524
7543
|
*
|
|
7525
7544
|
* @type {string}
|
|
@@ -8901,6 +8920,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8901
8920
|
* @throws {RequiredError}
|
|
8902
8921
|
*/
|
|
8903
8922
|
getLineItemsForDisplay: (paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8923
|
+
/**
|
|
8924
|
+
* Get line items for display
|
|
8925
|
+
* @param {*} [options] Override http request option.
|
|
8926
|
+
* @throws {RequiredError}
|
|
8927
|
+
*/
|
|
8928
|
+
getLineItemsForDisplayV2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8904
8929
|
/**
|
|
8905
8930
|
* Get a specific loginIdentity
|
|
8906
8931
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9099,6 +9124,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
9099
9124
|
* @throws {RequiredError}
|
|
9100
9125
|
*/
|
|
9101
9126
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponse>>;
|
|
9127
|
+
/**
|
|
9128
|
+
* Get line items for display
|
|
9129
|
+
* @param {*} [options] Override http request option.
|
|
9130
|
+
* @throws {RequiredError}
|
|
9131
|
+
*/
|
|
9132
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponseV2>>;
|
|
9102
9133
|
/**
|
|
9103
9134
|
* Get a specific loginIdentity
|
|
9104
9135
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9297,6 +9328,12 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
9297
9328
|
* @throws {RequiredError}
|
|
9298
9329
|
*/
|
|
9299
9330
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9331
|
+
/**
|
|
9332
|
+
* Get line items for display
|
|
9333
|
+
* @param {*} [options] Override http request option.
|
|
9334
|
+
* @throws {RequiredError}
|
|
9335
|
+
*/
|
|
9336
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponseV2>;
|
|
9300
9337
|
/**
|
|
9301
9338
|
* Get a specific loginIdentity
|
|
9302
9339
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9506,6 +9543,13 @@ export interface CustomerApiInterface {
|
|
|
9506
9543
|
* @memberof CustomerApiInterface
|
|
9507
9544
|
*/
|
|
9508
9545
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9546
|
+
/**
|
|
9547
|
+
* Get line items for display
|
|
9548
|
+
* @param {*} [options] Override http request option.
|
|
9549
|
+
* @throws {RequiredError}
|
|
9550
|
+
* @memberof CustomerApiInterface
|
|
9551
|
+
*/
|
|
9552
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponseV2>;
|
|
9509
9553
|
/**
|
|
9510
9554
|
* Get a specific loginIdentity
|
|
9511
9555
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9732,6 +9776,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
9732
9776
|
* @memberof CustomerApi
|
|
9733
9777
|
*/
|
|
9734
9778
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponse, any, {}>>;
|
|
9779
|
+
/**
|
|
9780
|
+
* Get line items for display
|
|
9781
|
+
* @param {*} [options] Override http request option.
|
|
9782
|
+
* @throws {RequiredError}
|
|
9783
|
+
* @memberof CustomerApi
|
|
9784
|
+
*/
|
|
9785
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponseV2, any, {}>>;
|
|
9735
9786
|
/**
|
|
9736
9787
|
* Get a specific loginIdentity
|
|
9737
9788
|
* @param {string} loginIdentityId The login identity id
|
package/dist/api.js
CHANGED
|
@@ -825,6 +825,33 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
825
825
|
options: localVarRequestOptions,
|
|
826
826
|
};
|
|
827
827
|
}),
|
|
828
|
+
/**
|
|
829
|
+
* Get line items for display
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
getLineItemsForDisplayV2: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
834
|
+
const localVarPath = `/calculate/line_items_v2`;
|
|
835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
836
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
837
|
+
let baseOptions;
|
|
838
|
+
if (configuration) {
|
|
839
|
+
baseOptions = configuration.baseOptions;
|
|
840
|
+
}
|
|
841
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
842
|
+
const localVarHeaderParameter = {};
|
|
843
|
+
const localVarQueryParameter = {};
|
|
844
|
+
// authentication Oauth2 required
|
|
845
|
+
// oauth required
|
|
846
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
847
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
849
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
850
|
+
return {
|
|
851
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
852
|
+
options: localVarRequestOptions,
|
|
853
|
+
};
|
|
854
|
+
}),
|
|
828
855
|
/**
|
|
829
856
|
* Get a specific loginIdentity
|
|
830
857
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -1509,6 +1536,20 @@ const CustomerApiFp = function (configuration) {
|
|
|
1509
1536
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1510
1537
|
});
|
|
1511
1538
|
},
|
|
1539
|
+
/**
|
|
1540
|
+
* Get line items for display
|
|
1541
|
+
* @param {*} [options] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
*/
|
|
1544
|
+
getLineItemsForDisplayV2(options) {
|
|
1545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1546
|
+
var _a, _b, _c;
|
|
1547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLineItemsForDisplayV2(options);
|
|
1548
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1549
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomerApi.getLineItemsForDisplayV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1550
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1551
|
+
});
|
|
1552
|
+
},
|
|
1512
1553
|
/**
|
|
1513
1554
|
* Get a specific loginIdentity
|
|
1514
1555
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -1871,6 +1912,14 @@ const CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1871
1912
|
getLineItemsForDisplay(paymentType, options) {
|
|
1872
1913
|
return localVarFp.getLineItemsForDisplay(paymentType, options).then((request) => request(axios, basePath));
|
|
1873
1914
|
},
|
|
1915
|
+
/**
|
|
1916
|
+
* Get line items for display
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
1920
|
+
getLineItemsForDisplayV2(options) {
|
|
1921
|
+
return localVarFp.getLineItemsForDisplayV2(options).then((request) => request(axios, basePath));
|
|
1922
|
+
},
|
|
1874
1923
|
/**
|
|
1875
1924
|
* Get a specific loginIdentity
|
|
1876
1925
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -2169,6 +2218,17 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
2169
2218
|
.getLineItemsForDisplay(paymentType, options)
|
|
2170
2219
|
.then((request) => request(this.axios, this.basePath));
|
|
2171
2220
|
}
|
|
2221
|
+
/**
|
|
2222
|
+
* Get line items for display
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
* @memberof CustomerApi
|
|
2226
|
+
*/
|
|
2227
|
+
getLineItemsForDisplayV2(options) {
|
|
2228
|
+
return (0, exports.CustomerApiFp)(this.configuration)
|
|
2229
|
+
.getLineItemsForDisplayV2(options)
|
|
2230
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2231
|
+
}
|
|
2172
2232
|
/**
|
|
2173
2233
|
* Get a specific loginIdentity
|
|
2174
2234
|
* @param {string} loginIdentityId The login identity id
|