@finverse/sdk-typescript 0.0.340 → 0.0.341
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 +45 -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
|
|
@@ -8901,6 +8914,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8901
8914
|
* @throws {RequiredError}
|
|
8902
8915
|
*/
|
|
8903
8916
|
getLineItemsForDisplay: (paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8917
|
+
/**
|
|
8918
|
+
* Get line items for display
|
|
8919
|
+
* @param {*} [options] Override http request option.
|
|
8920
|
+
* @throws {RequiredError}
|
|
8921
|
+
*/
|
|
8922
|
+
getLineItemsForDisplayV2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8904
8923
|
/**
|
|
8905
8924
|
* Get a specific loginIdentity
|
|
8906
8925
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9099,6 +9118,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
9099
9118
|
* @throws {RequiredError}
|
|
9100
9119
|
*/
|
|
9101
9120
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponse>>;
|
|
9121
|
+
/**
|
|
9122
|
+
* Get line items for display
|
|
9123
|
+
* @param {*} [options] Override http request option.
|
|
9124
|
+
* @throws {RequiredError}
|
|
9125
|
+
*/
|
|
9126
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponseV2>>;
|
|
9102
9127
|
/**
|
|
9103
9128
|
* Get a specific loginIdentity
|
|
9104
9129
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9297,6 +9322,12 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
9297
9322
|
* @throws {RequiredError}
|
|
9298
9323
|
*/
|
|
9299
9324
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9325
|
+
/**
|
|
9326
|
+
* Get line items for display
|
|
9327
|
+
* @param {*} [options] Override http request option.
|
|
9328
|
+
* @throws {RequiredError}
|
|
9329
|
+
*/
|
|
9330
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponseV2>;
|
|
9300
9331
|
/**
|
|
9301
9332
|
* Get a specific loginIdentity
|
|
9302
9333
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9506,6 +9537,13 @@ export interface CustomerApiInterface {
|
|
|
9506
9537
|
* @memberof CustomerApiInterface
|
|
9507
9538
|
*/
|
|
9508
9539
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9540
|
+
/**
|
|
9541
|
+
* Get line items for display
|
|
9542
|
+
* @param {*} [options] Override http request option.
|
|
9543
|
+
* @throws {RequiredError}
|
|
9544
|
+
* @memberof CustomerApiInterface
|
|
9545
|
+
*/
|
|
9546
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponseV2>;
|
|
9509
9547
|
/**
|
|
9510
9548
|
* Get a specific loginIdentity
|
|
9511
9549
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -9732,6 +9770,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
9732
9770
|
* @memberof CustomerApi
|
|
9733
9771
|
*/
|
|
9734
9772
|
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponse, any, {}>>;
|
|
9773
|
+
/**
|
|
9774
|
+
* Get line items for display
|
|
9775
|
+
* @param {*} [options] Override http request option.
|
|
9776
|
+
* @throws {RequiredError}
|
|
9777
|
+
* @memberof CustomerApi
|
|
9778
|
+
*/
|
|
9779
|
+
getLineItemsForDisplayV2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponseV2, any, {}>>;
|
|
9735
9780
|
/**
|
|
9736
9781
|
* Get a specific loginIdentity
|
|
9737
9782
|
* @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
|