@finverse/sdk-typescript 0.0.127 → 0.0.129

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 CHANGED
@@ -3560,6 +3560,38 @@ export declare const MandateSenderAccountAccountTypeEnum: {
3560
3560
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
3561
3561
  };
3562
3562
  export declare type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
3563
+ /**
3564
+ *
3565
+ * @export
3566
+ * @interface ManualPaymentConfirmationRequest
3567
+ */
3568
+ export interface ManualPaymentConfirmationRequest {
3569
+ /**
3570
+ *
3571
+ * @type {string}
3572
+ * @memberof ManualPaymentConfirmationRequest
3573
+ */
3574
+ accountholder_name: string;
3575
+ /**
3576
+ *
3577
+ * @type {string}
3578
+ * @memberof ManualPaymentConfirmationRequest
3579
+ */
3580
+ account_number_last4: string;
3581
+ }
3582
+ /**
3583
+ *
3584
+ * @export
3585
+ * @interface ManualPaymentConfirmationResponse
3586
+ */
3587
+ export interface ManualPaymentConfirmationResponse {
3588
+ /**
3589
+ *
3590
+ * @type {string}
3591
+ * @memberof ManualPaymentConfirmationResponse
3592
+ */
3593
+ payment_id?: string;
3594
+ }
3563
3595
  /**
3564
3596
  *
3565
3597
  * @export
@@ -5786,6 +5818,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
5786
5818
  * @export
5787
5819
  */
5788
5820
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
5821
+ /**
5822
+ * Submit manual payment confirmation
5823
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
5824
+ * @param {*} [options] Override http request option.
5825
+ * @throws {RequiredError}
5826
+ */
5827
+ confirmManualPayment: (manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5789
5828
  /**
5790
5829
  * Confirm a payment against a payment Link
5791
5830
  * @param {*} [options] Override http request option.
@@ -5849,6 +5888,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5849
5888
  * @export
5850
5889
  */
5851
5890
  export declare const DefaultApiFp: (configuration?: Configuration) => {
5891
+ /**
5892
+ * Submit manual payment confirmation
5893
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
5894
+ * @param {*} [options] Override http request option.
5895
+ * @throws {RequiredError}
5896
+ */
5897
+ confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManualPaymentConfirmationResponse>>;
5852
5898
  /**
5853
5899
  * Confirm a payment against a payment Link
5854
5900
  * @param {*} [options] Override http request option.
@@ -5912,6 +5958,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
5912
5958
  * @export
5913
5959
  */
5914
5960
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5961
+ /**
5962
+ * Submit manual payment confirmation
5963
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
5964
+ * @param {*} [options] Override http request option.
5965
+ * @throws {RequiredError}
5966
+ */
5967
+ confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: any): AxiosPromise<ManualPaymentConfirmationResponse>;
5915
5968
  /**
5916
5969
  * Confirm a payment against a payment Link
5917
5970
  * @param {*} [options] Override http request option.
@@ -5976,6 +6029,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
5976
6029
  * @interface DefaultApi
5977
6030
  */
5978
6031
  export interface DefaultApiInterface {
6032
+ /**
6033
+ * Submit manual payment confirmation
6034
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
6035
+ * @param {*} [options] Override http request option.
6036
+ * @throws {RequiredError}
6037
+ * @memberof DefaultApiInterface
6038
+ */
6039
+ confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): AxiosPromise<ManualPaymentConfirmationResponse>;
5979
6040
  /**
5980
6041
  * Confirm a payment against a payment Link
5981
6042
  * @param {*} [options] Override http request option.
@@ -6047,6 +6108,14 @@ export interface DefaultApiInterface {
6047
6108
  * @extends {BaseAPI}
6048
6109
  */
6049
6110
  export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
6111
+ /**
6112
+ * Submit manual payment confirmation
6113
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
6114
+ * @param {*} [options] Override http request option.
6115
+ * @throws {RequiredError}
6116
+ * @memberof DefaultApi
6117
+ */
6118
+ confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManualPaymentConfirmationResponse>>;
6050
6119
  /**
6051
6120
  * Confirm a payment against a payment Link
6052
6121
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -1574,6 +1574,38 @@ exports.CustomerApi = CustomerApi;
1574
1574
  */
1575
1575
  exports.DefaultApiAxiosParamCreator = function (configuration) {
1576
1576
  return {
1577
+ /**
1578
+ * Submit manual payment confirmation
1579
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
1580
+ * @param {*} [options] Override http request option.
1581
+ * @throws {RequiredError}
1582
+ */
1583
+ confirmManualPayment: (manualPaymentIdentifiers, options = {}) => __awaiter(this, void 0, void 0, function* () {
1584
+ // verify required parameter 'manualPaymentIdentifiers' is not null or undefined
1585
+ common_1.assertParamExists('confirmManualPayment', 'manualPaymentIdentifiers', manualPaymentIdentifiers);
1586
+ const localVarPath = `/payments/manual_payment`;
1587
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1588
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1589
+ let baseOptions;
1590
+ if (configuration) {
1591
+ baseOptions = configuration.baseOptions;
1592
+ }
1593
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1594
+ const localVarHeaderParameter = {};
1595
+ const localVarQueryParameter = {};
1596
+ // authentication Oauth2 required
1597
+ // oauth required
1598
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1599
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1600
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1601
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1602
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1603
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(manualPaymentIdentifiers, localVarRequestOptions, configuration);
1604
+ return {
1605
+ url: common_1.toPathString(localVarUrlObj),
1606
+ options: localVarRequestOptions,
1607
+ };
1608
+ }),
1577
1609
  /**
1578
1610
  * Confirm a payment against a payment Link
1579
1611
  * @param {*} [options] Override http request option.
@@ -1835,6 +1867,18 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
1835
1867
  exports.DefaultApiFp = function (configuration) {
1836
1868
  const localVarAxiosParamCreator = exports.DefaultApiAxiosParamCreator(configuration);
1837
1869
  return {
1870
+ /**
1871
+ * Submit manual payment confirmation
1872
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
1873
+ * @param {*} [options] Override http request option.
1874
+ * @throws {RequiredError}
1875
+ */
1876
+ confirmManualPayment(manualPaymentIdentifiers, options) {
1877
+ return __awaiter(this, void 0, void 0, function* () {
1878
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmManualPayment(manualPaymentIdentifiers, options);
1879
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1880
+ });
1881
+ },
1838
1882
  /**
1839
1883
  * Confirm a payment against a payment Link
1840
1884
  * @param {*} [options] Override http request option.
@@ -1931,6 +1975,17 @@ exports.DefaultApiFp = function (configuration) {
1931
1975
  exports.DefaultApiFactory = function (configuration, basePath, axios) {
1932
1976
  const localVarFp = exports.DefaultApiFp(configuration);
1933
1977
  return {
1978
+ /**
1979
+ * Submit manual payment confirmation
1980
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
1981
+ * @param {*} [options] Override http request option.
1982
+ * @throws {RequiredError}
1983
+ */
1984
+ confirmManualPayment(manualPaymentIdentifiers, options) {
1985
+ return localVarFp
1986
+ .confirmManualPayment(manualPaymentIdentifiers, options)
1987
+ .then((request) => request(axios, basePath));
1988
+ },
1934
1989
  /**
1935
1990
  * Confirm a payment against a payment Link
1936
1991
  * @param {*} [options] Override http request option.
@@ -2017,6 +2072,18 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2017
2072
  * @extends {BaseAPI}
2018
2073
  */
2019
2074
  class DefaultApi extends base_1.BaseAPI {
2075
+ /**
2076
+ * Submit manual payment confirmation
2077
+ * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
2078
+ * @param {*} [options] Override http request option.
2079
+ * @throws {RequiredError}
2080
+ * @memberof DefaultApi
2081
+ */
2082
+ confirmManualPayment(manualPaymentIdentifiers, options) {
2083
+ return exports.DefaultApiFp(this.configuration)
2084
+ .confirmManualPayment(manualPaymentIdentifiers, options)
2085
+ .then((request) => request(this.axios, this.basePath));
2086
+ }
2020
2087
  /**
2021
2088
  * Confirm a payment against a payment Link
2022
2089
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.127",
3
+ "version": "0.0.129",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [