@finverse/sdk-typescript 0.0.381 → 0.0.382

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
@@ -2009,45 +2009,6 @@ export declare const CreateRecipientAccountAccountTypeEnum: {
2009
2009
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
2010
2010
  };
2011
2011
  export type CreateRecipientAccountAccountTypeEnum = (typeof CreateRecipientAccountAccountTypeEnum)[keyof typeof CreateRecipientAccountAccountTypeEnum];
2012
- /**
2013
- *
2014
- * @export
2015
- * @interface CreateScheduledPayoutRequest
2016
- */
2017
- export interface CreateScheduledPayoutRequest {
2018
- /**
2019
- * Amount to be paid, in currency\'s smallest unit or “minor unit”, as defined in ISO 4217. For example, HKD 100.01 is represented as amount = 10001 (minor unit = cents). For currencies without minor units (e.g. VND, JPY), the amount is represented as is, without modification. For example, VND 15101 is represented as amount = 15101.
2020
- * @type {number}
2021
- * @memberof CreateScheduledPayoutRequest
2022
- */
2023
- amount: number;
2024
- /**
2025
- * The currency code as defined in ISO 4217.
2026
- * @type {string}
2027
- * @memberof CreateScheduledPayoutRequest
2028
- */
2029
- currency: string;
2030
- /**
2031
- *
2032
- * @type {PayoutDetails}
2033
- * @memberof CreateScheduledPayoutRequest
2034
- */
2035
- payment_details: PayoutDetails;
2036
- /**
2037
- *
2038
- * @type {MandateRecipientRequest}
2039
- * @memberof CreateScheduledPayoutRequest
2040
- */
2041
- recipient_account: MandateRecipientRequest;
2042
- /**
2043
- *
2044
- * @type {{ [key: string]: string; }}
2045
- * @memberof CreateScheduledPayoutRequest
2046
- */
2047
- metadata?: {
2048
- [key: string]: string;
2049
- };
2050
- }
2051
2012
  /**
2052
2013
  *
2053
2014
  * @export
@@ -10862,14 +10823,6 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
10862
10823
  * @throws {RequiredError}
10863
10824
  */
10864
10825
  createPaymentUser: (createPaymentUserRequest: CreatePaymentUserRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10865
- /**
10866
- * Create a scheduled payout
10867
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
10868
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
10869
- * @param {*} [options] Override http request option.
10870
- * @throws {RequiredError}
10871
- */
10872
- createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10873
10826
  /**
10874
10827
  * delete payment account
10875
10828
  * @param {string} paymentAccountId The payment account id
@@ -11220,14 +11173,6 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
11220
11173
  * @throws {RequiredError}
11221
11174
  */
11222
11175
  createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentUser>>;
11223
- /**
11224
- * Create a scheduled payout
11225
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
11226
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
11227
- * @param {*} [options] Override http request option.
11228
- * @throws {RequiredError}
11229
- */
11230
- createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
11231
11176
  /**
11232
11177
  * delete payment account
11233
11178
  * @param {string} paymentAccountId The payment account id
@@ -11584,14 +11529,6 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
11584
11529
  * @throws {RequiredError}
11585
11530
  */
11586
11531
  createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentUser>;
11587
- /**
11588
- * Create a scheduled payout
11589
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
11590
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
11591
- * @param {*} [options] Override http request option.
11592
- * @throws {RequiredError}
11593
- */
11594
- createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
11595
11532
  /**
11596
11533
  * delete payment account
11597
11534
  * @param {string} paymentAccountId The payment account id
@@ -11961,15 +11898,6 @@ export interface PaymentApiInterface {
11961
11898
  * @memberof PaymentApiInterface
11962
11899
  */
11963
11900
  createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentUser>;
11964
- /**
11965
- * Create a scheduled payout
11966
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
11967
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
11968
- * @param {*} [options] Override http request option.
11969
- * @throws {RequiredError}
11970
- * @memberof PaymentApiInterface
11971
- */
11972
- createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
11973
11901
  /**
11974
11902
  * delete payment account
11975
11903
  * @param {string} paymentAccountId The payment account id
@@ -12368,15 +12296,6 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
12368
12296
  * @memberof PaymentApi
12369
12297
  */
12370
12298
  createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentUser, any, {}>>;
12371
- /**
12372
- * Create a scheduled payout
12373
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
12374
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
12375
- * @param {*} [options] Override http request option.
12376
- * @throws {RequiredError}
12377
- * @memberof PaymentApi
12378
- */
12379
- createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse, any, {}>>;
12380
12299
  /**
12381
12300
  * delete payment account
12382
12301
  * @param {string} paymentAccountId The payment account id
package/dist/api.js CHANGED
@@ -2937,44 +2937,6 @@ const PaymentApiAxiosParamCreator = function (configuration) {
2937
2937
  options: localVarRequestOptions,
2938
2938
  };
2939
2939
  }),
2940
- /**
2941
- * Create a scheduled payout
2942
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
2943
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
2944
- * @param {*} [options] Override http request option.
2945
- * @throws {RequiredError}
2946
- */
2947
- createScheduledPayout: (idempotencyKey_1, createScheduledPayoutRequest_1, ...args_1) => __awaiter(this, [idempotencyKey_1, createScheduledPayoutRequest_1, ...args_1], void 0, function* (idempotencyKey, createScheduledPayoutRequest, options = {}) {
2948
- // verify required parameter 'idempotencyKey' is not null or undefined
2949
- (0, common_1.assertParamExists)('createScheduledPayout', 'idempotencyKey', idempotencyKey);
2950
- // verify required parameter 'createScheduledPayoutRequest' is not null or undefined
2951
- (0, common_1.assertParamExists)('createScheduledPayout', 'createScheduledPayoutRequest', createScheduledPayoutRequest);
2952
- const localVarPath = `/payouts/scheduled`;
2953
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2954
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2955
- let baseOptions;
2956
- if (configuration) {
2957
- baseOptions = configuration.baseOptions;
2958
- }
2959
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2960
- const localVarHeaderParameter = {};
2961
- const localVarQueryParameter = {};
2962
- // authentication Oauth2 required
2963
- // oauth required
2964
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2965
- localVarHeaderParameter['Content-Type'] = 'application/json';
2966
- if (idempotencyKey != null) {
2967
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
2968
- }
2969
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2970
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2971
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2972
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createScheduledPayoutRequest, localVarRequestOptions, configuration);
2973
- return {
2974
- url: (0, common_1.toPathString)(localVarUrlObj),
2975
- options: localVarRequestOptions,
2976
- };
2977
- }),
2978
2940
  /**
2979
2941
  * delete payment account
2980
2942
  * @param {string} paymentAccountId The payment account id
@@ -4264,22 +4226,6 @@ const PaymentApiFp = function (configuration) {
4264
4226
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4265
4227
  });
4266
4228
  },
4267
- /**
4268
- * Create a scheduled payout
4269
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
4270
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
4271
- * @param {*} [options] Override http request option.
4272
- * @throws {RequiredError}
4273
- */
4274
- createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options) {
4275
- return __awaiter(this, void 0, void 0, function* () {
4276
- var _a, _b, _c;
4277
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options);
4278
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4279
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentApi.createScheduledPayout']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4280
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4281
- });
4282
- },
4283
4229
  /**
4284
4230
  * delete payment account
4285
4231
  * @param {string} paymentAccountId The payment account id
@@ -4896,18 +4842,6 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
4896
4842
  .createPaymentUser(createPaymentUserRequest, options)
4897
4843
  .then((request) => request(axios, basePath));
4898
4844
  },
4899
- /**
4900
- * Create a scheduled payout
4901
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
4902
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
4903
- * @param {*} [options] Override http request option.
4904
- * @throws {RequiredError}
4905
- */
4906
- createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options) {
4907
- return localVarFp
4908
- .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4909
- .then((request) => request(axios, basePath));
4910
- },
4911
4845
  /**
4912
4846
  * delete payment account
4913
4847
  * @param {string} paymentAccountId The payment account id
@@ -5404,19 +5338,6 @@ class PaymentApi extends base_1.BaseAPI {
5404
5338
  .createPaymentUser(createPaymentUserRequest, options)
5405
5339
  .then((request) => request(this.axios, this.basePath));
5406
5340
  }
5407
- /**
5408
- * Create a scheduled payout
5409
- * @param {string} idempotencyKey A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
5410
- * @param {CreateScheduledPayoutRequest} createScheduledPayoutRequest Request body containing information to create scheduled payout
5411
- * @param {*} [options] Override http request option.
5412
- * @throws {RequiredError}
5413
- * @memberof PaymentApi
5414
- */
5415
- createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options) {
5416
- return (0, exports.PaymentApiFp)(this.configuration)
5417
- .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
5418
- .then((request) => request(this.axios, this.basePath));
5419
- }
5420
5341
  /**
5421
5342
  * delete payment account
5422
5343
  * @param {string} paymentAccountId The payment account id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.381",
3
+ "version": "0.0.382",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {