@finverse/sdk-typescript 0.0.85 → 0.0.86

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
@@ -4532,6 +4532,13 @@ export interface UserMessage {
4532
4532
  * @export
4533
4533
  */
4534
4534
  export declare const CustomerApiAxiosParamCreator: (configuration?: Configuration) => {
4535
+ /**
4536
+ * Cancel Payout Instruction by payout_instruction_id
4537
+ * @param {string} payoutInstructionId payout instruction id
4538
+ * @param {*} [options] Override http request option.
4539
+ * @throws {RequiredError}
4540
+ */
4541
+ cancelPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4535
4542
  /**
4536
4543
  * CREATE Mandate
4537
4544
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -4632,6 +4639,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
4632
4639
  * @throws {RequiredError}
4633
4640
  */
4634
4641
  getPaymentInstruction: (paymentInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4642
+ /**
4643
+ * Get Payout Instruction details by payout_instruction_id
4644
+ * @param {string} payoutInstructionId payout instruction id
4645
+ * @param {*} [options] Override http request option.
4646
+ * @throws {RequiredError}
4647
+ */
4648
+ getPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4635
4649
  /**
4636
4650
  * Get a list of institutions
4637
4651
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -4669,6 +4683,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
4669
4683
  * @export
4670
4684
  */
4671
4685
  export declare const CustomerApiFp: (configuration?: Configuration) => {
4686
+ /**
4687
+ * Cancel Payout Instruction by payout_instruction_id
4688
+ * @param {string} payoutInstructionId payout instruction id
4689
+ * @param {*} [options] Override http request option.
4690
+ * @throws {RequiredError}
4691
+ */
4692
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4672
4693
  /**
4673
4694
  * CREATE Mandate
4674
4695
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -4769,6 +4790,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
4769
4790
  * @throws {RequiredError}
4770
4791
  */
4771
4792
  getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentInstructionsResponse>>;
4793
+ /**
4794
+ * Get Payout Instruction details by payout_instruction_id
4795
+ * @param {string} payoutInstructionId payout instruction id
4796
+ * @param {*} [options] Override http request option.
4797
+ * @throws {RequiredError}
4798
+ */
4799
+ getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
4772
4800
  /**
4773
4801
  * Get a list of institutions
4774
4802
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -4806,6 +4834,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
4806
4834
  * @export
4807
4835
  */
4808
4836
  export declare const CustomerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4837
+ /**
4838
+ * Cancel Payout Instruction by payout_instruction_id
4839
+ * @param {string} payoutInstructionId payout instruction id
4840
+ * @param {*} [options] Override http request option.
4841
+ * @throws {RequiredError}
4842
+ */
4843
+ cancelPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<void>;
4809
4844
  /**
4810
4845
  * CREATE Mandate
4811
4846
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -4906,6 +4941,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
4906
4941
  * @throws {RequiredError}
4907
4942
  */
4908
4943
  getPaymentInstruction(paymentInstructionId: string, options?: any): AxiosPromise<GetPaymentInstructionsResponse>;
4944
+ /**
4945
+ * Get Payout Instruction details by payout_instruction_id
4946
+ * @param {string} payoutInstructionId payout instruction id
4947
+ * @param {*} [options] Override http request option.
4948
+ * @throws {RequiredError}
4949
+ */
4950
+ getPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
4909
4951
  /**
4910
4952
  * Get a list of institutions
4911
4953
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -4944,6 +4986,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
4944
4986
  * @interface CustomerApi
4945
4987
  */
4946
4988
  export interface CustomerApiInterface {
4989
+ /**
4990
+ * Cancel Payout Instruction by payout_instruction_id
4991
+ * @param {string} payoutInstructionId payout instruction id
4992
+ * @param {*} [options] Override http request option.
4993
+ * @throws {RequiredError}
4994
+ * @memberof CustomerApiInterface
4995
+ */
4996
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
4947
4997
  /**
4948
4998
  * CREATE Mandate
4949
4999
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -5058,6 +5108,14 @@ export interface CustomerApiInterface {
5058
5108
  * @memberof CustomerApiInterface
5059
5109
  */
5060
5110
  getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<GetPaymentInstructionsResponse>;
5111
+ /**
5112
+ * Get Payout Instruction details by payout_instruction_id
5113
+ * @param {string} payoutInstructionId payout instruction id
5114
+ * @param {*} [options] Override http request option.
5115
+ * @throws {RequiredError}
5116
+ * @memberof CustomerApiInterface
5117
+ */
5118
+ getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
5061
5119
  /**
5062
5120
  * Get a list of institutions
5063
5121
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5101,6 +5159,14 @@ export interface CustomerApiInterface {
5101
5159
  * @extends {BaseAPI}
5102
5160
  */
5103
5161
  export declare class CustomerApi extends BaseAPI implements CustomerApiInterface {
5162
+ /**
5163
+ * Cancel Payout Instruction by payout_instruction_id
5164
+ * @param {string} payoutInstructionId payout instruction id
5165
+ * @param {*} [options] Override http request option.
5166
+ * @throws {RequiredError}
5167
+ * @memberof CustomerApi
5168
+ */
5169
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5104
5170
  /**
5105
5171
  * CREATE Mandate
5106
5172
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -5215,6 +5281,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
5215
5281
  * @memberof CustomerApi
5216
5282
  */
5217
5283
  getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentInstructionsResponse>>;
5284
+ /**
5285
+ * Get Payout Instruction details by payout_instruction_id
5286
+ * @param {string} payoutInstructionId payout instruction id
5287
+ * @param {*} [options] Override http request option.
5288
+ * @throws {RequiredError}
5289
+ * @memberof CustomerApi
5290
+ */
5291
+ getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
5218
5292
  /**
5219
5293
  * Get a list of institutions
5220
5294
  * @param {string} [country] (Deprecated) The country the institution belongs to
package/dist/api.js CHANGED
@@ -243,6 +243,36 @@ exports.TransactionLimitsPeriodEnum = {
243
243
  */
244
244
  exports.CustomerApiAxiosParamCreator = function (configuration) {
245
245
  return {
246
+ /**
247
+ * Cancel Payout Instruction by payout_instruction_id
248
+ * @param {string} payoutInstructionId payout instruction id
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ cancelPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
253
+ // verify required parameter 'payoutInstructionId' is not null or undefined
254
+ common_1.assertParamExists('cancelPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
255
+ const localVarPath = `/payout_instruction/{payoutInstructionId}/cancel`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
256
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
257
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
258
+ let baseOptions;
259
+ if (configuration) {
260
+ baseOptions = configuration.baseOptions;
261
+ }
262
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
263
+ const localVarHeaderParameter = {};
264
+ const localVarQueryParameter = {};
265
+ // authentication Oauth2 required
266
+ // oauth required
267
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
268
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
269
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
271
+ return {
272
+ url: common_1.toPathString(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ };
275
+ }),
246
276
  /**
247
277
  * CREATE Mandate
248
278
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -686,6 +716,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
686
716
  options: localVarRequestOptions,
687
717
  };
688
718
  }),
719
+ /**
720
+ * Get Payout Instruction details by payout_instruction_id
721
+ * @param {string} payoutInstructionId payout instruction id
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ */
725
+ getPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
726
+ // verify required parameter 'payoutInstructionId' is not null or undefined
727
+ common_1.assertParamExists('getPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
728
+ const localVarPath = `/payout_instruction/{payoutInstructionId}`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
729
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
730
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
731
+ let baseOptions;
732
+ if (configuration) {
733
+ baseOptions = configuration.baseOptions;
734
+ }
735
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
736
+ const localVarHeaderParameter = {};
737
+ const localVarQueryParameter = {};
738
+ // authentication Oauth2 required
739
+ // oauth required
740
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
741
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
743
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
744
+ return {
745
+ url: common_1.toPathString(localVarUrlObj),
746
+ options: localVarRequestOptions,
747
+ };
748
+ }),
689
749
  /**
690
750
  * Get a list of institutions
691
751
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -834,6 +894,18 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
834
894
  exports.CustomerApiFp = function (configuration) {
835
895
  const localVarAxiosParamCreator = exports.CustomerApiAxiosParamCreator(configuration);
836
896
  return {
897
+ /**
898
+ * Cancel Payout Instruction by payout_instruction_id
899
+ * @param {string} payoutInstructionId payout instruction id
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ */
903
+ cancelPayoutInstruction(payoutInstructionId, options) {
904
+ return __awaiter(this, void 0, void 0, function* () {
905
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPayoutInstruction(payoutInstructionId, options);
906
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
907
+ });
908
+ },
837
909
  /**
838
910
  * CREATE Mandate
839
911
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -1004,6 +1076,18 @@ exports.CustomerApiFp = function (configuration) {
1004
1076
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1005
1077
  });
1006
1078
  },
1079
+ /**
1080
+ * Get Payout Instruction details by payout_instruction_id
1081
+ * @param {string} payoutInstructionId payout instruction id
1082
+ * @param {*} [options] Override http request option.
1083
+ * @throws {RequiredError}
1084
+ */
1085
+ getPayoutInstruction(payoutInstructionId, options) {
1086
+ return __awaiter(this, void 0, void 0, function* () {
1087
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutInstruction(payoutInstructionId, options);
1088
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1089
+ });
1090
+ },
1007
1091
  /**
1008
1092
  * Get a list of institutions
1009
1093
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -1064,6 +1148,17 @@ exports.CustomerApiFp = function (configuration) {
1064
1148
  exports.CustomerApiFactory = function (configuration, basePath, axios) {
1065
1149
  const localVarFp = exports.CustomerApiFp(configuration);
1066
1150
  return {
1151
+ /**
1152
+ * Cancel Payout Instruction by payout_instruction_id
1153
+ * @param {string} payoutInstructionId payout instruction id
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ */
1157
+ cancelPayoutInstruction(payoutInstructionId, options) {
1158
+ return localVarFp
1159
+ .cancelPayoutInstruction(payoutInstructionId, options)
1160
+ .then((request) => request(axios, basePath));
1161
+ },
1067
1162
  /**
1068
1163
  * CREATE Mandate
1069
1164
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -1204,6 +1299,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1204
1299
  .getPaymentInstruction(paymentInstructionId, options)
1205
1300
  .then((request) => request(axios, basePath));
1206
1301
  },
1302
+ /**
1303
+ * Get Payout Instruction details by payout_instruction_id
1304
+ * @param {string} payoutInstructionId payout instruction id
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ getPayoutInstruction(payoutInstructionId, options) {
1309
+ return localVarFp.getPayoutInstruction(payoutInstructionId, options).then((request) => request(axios, basePath));
1310
+ },
1207
1311
  /**
1208
1312
  * Get a list of institutions
1209
1313
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -1256,6 +1360,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1256
1360
  * @extends {BaseAPI}
1257
1361
  */
1258
1362
  class CustomerApi extends base_1.BaseAPI {
1363
+ /**
1364
+ * Cancel Payout Instruction by payout_instruction_id
1365
+ * @param {string} payoutInstructionId payout instruction id
1366
+ * @param {*} [options] Override http request option.
1367
+ * @throws {RequiredError}
1368
+ * @memberof CustomerApi
1369
+ */
1370
+ cancelPayoutInstruction(payoutInstructionId, options) {
1371
+ return exports.CustomerApiFp(this.configuration)
1372
+ .cancelPayoutInstruction(payoutInstructionId, options)
1373
+ .then((request) => request(this.axios, this.basePath));
1374
+ }
1259
1375
  /**
1260
1376
  * CREATE Mandate
1261
1377
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -1426,6 +1542,18 @@ class CustomerApi extends base_1.BaseAPI {
1426
1542
  .getPaymentInstruction(paymentInstructionId, options)
1427
1543
  .then((request) => request(this.axios, this.basePath));
1428
1544
  }
1545
+ /**
1546
+ * Get Payout Instruction details by payout_instruction_id
1547
+ * @param {string} payoutInstructionId payout instruction id
1548
+ * @param {*} [options] Override http request option.
1549
+ * @throws {RequiredError}
1550
+ * @memberof CustomerApi
1551
+ */
1552
+ getPayoutInstruction(payoutInstructionId, options) {
1553
+ return exports.CustomerApiFp(this.configuration)
1554
+ .getPayoutInstruction(payoutInstructionId, options)
1555
+ .then((request) => request(this.axios, this.basePath));
1556
+ }
1429
1557
  /**
1430
1558
  * Get a list of institutions
1431
1559
  * @param {string} [country] (Deprecated) The country the institution belongs to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.85",
3
+ "version": "0.0.86",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [