@finverse/sdk-typescript 0.0.310 → 0.0.312

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
@@ -1965,7 +1965,7 @@ export interface DisputeResponse {
1965
1965
  * @type {boolean}
1966
1966
  * @memberof DisputeResponse
1967
1967
  */
1968
- is_defendable?: boolean;
1968
+ is_defendable?: boolean | null;
1969
1969
  /**
1970
1970
  * The status of the dispute
1971
1971
  * @type {string}
@@ -1983,13 +1983,13 @@ export interface DisputeResponse {
1983
1983
  * @type {boolean}
1984
1984
  * @memberof DisputeResponse
1985
1985
  */
1986
- is_auto_defended?: boolean;
1986
+ is_auto_defended?: boolean | null;
1987
1987
  /**
1988
1988
  * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
1989
1989
  * @type {string}
1990
1990
  * @memberof DisputeResponse
1991
1991
  */
1992
- defense_period_deadline?: string;
1992
+ defense_period_deadline?: string | null;
1993
1993
  /**
1994
1994
  *
1995
1995
  * @type {{ [key: string]: string; }}
@@ -6737,6 +6737,12 @@ export interface PaymentSetupOptions {
6737
6737
  * @memberof PaymentSetupOptions
6738
6738
  */
6739
6739
  autopay_enrollment_configuration?: AutopayEnrollmentConfiguration;
6740
+ /**
6741
+ * The recurring payment mode
6742
+ * @type {string}
6743
+ * @memberof PaymentSetupOptions
6744
+ */
6745
+ recurring_payment_mode?: string;
6740
6746
  }
6741
6747
  export declare const PaymentSetupOptionsFuturePaymentsEnum: {
6742
6748
  readonly Autopay: "AUTOPAY";
@@ -6973,6 +6979,38 @@ export interface PayoutDetails {
6973
6979
  */
6974
6980
  scheduled_date: string;
6975
6981
  }
6982
+ /**
6983
+ *
6984
+ * @export
6985
+ * @interface PayoutProcessorDetails
6986
+ */
6987
+ export interface PayoutProcessorDetails {
6988
+ /**
6989
+ *
6990
+ * @type {string}
6991
+ * @memberof PayoutProcessorDetails
6992
+ */
6993
+ processor_id?: string;
6994
+ /**
6995
+ *
6996
+ * @type {string}
6997
+ * @memberof PayoutProcessorDetails
6998
+ */
6999
+ processor_reference?: string;
7000
+ }
7001
+ /**
7002
+ *
7003
+ * @export
7004
+ * @interface PayoutReferences
7005
+ */
7006
+ export interface PayoutReferences {
7007
+ /**
7008
+ *
7009
+ * @type {string}
7010
+ * @memberof PayoutReferences
7011
+ */
7012
+ recipient_reference?: string;
7013
+ }
6976
7014
  /**
6977
7015
  *
6978
7016
  * @export
@@ -7003,6 +7041,24 @@ export interface PayoutSnapshotDetails {
7003
7041
  * @memberof PayoutSnapshotDetails
7004
7042
  */
7005
7043
  scheduled_date?: string;
7044
+ /**
7045
+ *
7046
+ * @type {string}
7047
+ * @memberof PayoutSnapshotDetails
7048
+ */
7049
+ estimated_arrival_time?: string | null;
7050
+ /**
7051
+ *
7052
+ * @type {PayoutProcessorDetails}
7053
+ * @memberof PayoutSnapshotDetails
7054
+ */
7055
+ processor_details?: PayoutProcessorDetails;
7056
+ /**
7057
+ *
7058
+ * @type {PayoutReferences}
7059
+ * @memberof PayoutSnapshotDetails
7060
+ */
7061
+ references?: PayoutReferences;
7006
7062
  }
7007
7063
  /**
7008
7064
  *
@@ -7046,6 +7102,12 @@ export interface PayoutSnapshotResponse {
7046
7102
  * @memberof PayoutSnapshotResponse
7047
7103
  */
7048
7104
  transaction_date?: string;
7105
+ /**
7106
+ *
7107
+ * @type {string}
7108
+ * @memberof PayoutSnapshotResponse
7109
+ */
7110
+ transaction_time?: string | null;
7049
7111
  /**
7050
7112
  *
7051
7113
  * @type {PayoutSnapshotDetails}
@@ -7129,6 +7191,7 @@ export type PayoutSnapshotResponseStatusEnum = (typeof PayoutSnapshotResponseSta
7129
7191
  export declare const PayoutSnapshotResponseTypeEnum: {
7130
7192
  readonly Manual: "MANUAL";
7131
7193
  readonly Scheduled: "SCHEDULED";
7194
+ readonly Settlement: "SETTLEMENT";
7132
7195
  };
7133
7196
  export type PayoutSnapshotResponseTypeEnum = (typeof PayoutSnapshotResponseTypeEnum)[keyof typeof PayoutSnapshotResponseTypeEnum];
7134
7197
  /**
@@ -7343,6 +7406,12 @@ export interface RapidstorMetadataRequest {
7343
7406
  * @memberof RapidstorMetadataRequest
7344
7407
  */
7345
7408
  account_token: string;
7409
+ /**
7410
+ *
7411
+ * @type {string}
7412
+ * @memberof RapidstorMetadataRequest
7413
+ */
7414
+ unit_type_id?: string;
7346
7415
  }
7347
7416
  /**
7348
7417
  *
@@ -7386,6 +7455,12 @@ export interface RapidstorMetadataResponse {
7386
7455
  * @memberof RapidstorMetadataResponse
7387
7456
  */
7388
7457
  account_token?: string;
7458
+ /**
7459
+ *
7460
+ * @type {string}
7461
+ * @memberof RapidstorMetadataResponse
7462
+ */
7463
+ unit_type_id?: string;
7389
7464
  }
7390
7465
  /**
7391
7466
  *
@@ -9611,10 +9686,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
9611
9686
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
9612
9687
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
9613
9688
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
9689
+ * @param {number} [offset] default is 0
9690
+ * @param {number} [limit] default is 500, max is 1000
9614
9691
  * @param {*} [options] Override http request option.
9615
9692
  * @throws {RequiredError}
9616
9693
  */
9617
- listDisputes: (dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9694
+ listDisputes: (dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9618
9695
  /**
9619
9696
  * List mandates
9620
9697
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -9868,10 +9945,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9868
9945
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
9869
9946
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
9870
9947
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
9948
+ * @param {number} [offset] default is 0
9949
+ * @param {number} [limit] default is 500, max is 1000
9871
9950
  * @param {*} [options] Override http request option.
9872
9951
  * @throws {RequiredError}
9873
9952
  */
9874
- listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDisputesResponse>>;
9953
+ listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDisputesResponse>>;
9875
9954
  /**
9876
9955
  * List mandates
9877
9956
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10125,10 +10204,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
10125
10204
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
10126
10205
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
10127
10206
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
10207
+ * @param {number} [offset] default is 0
10208
+ * @param {number} [limit] default is 500, max is 1000
10128
10209
  * @param {*} [options] Override http request option.
10129
10210
  * @throws {RequiredError}
10130
10211
  */
10131
- listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<ListDisputesResponse>;
10212
+ listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListDisputesResponse>;
10132
10213
  /**
10133
10214
  * List mandates
10134
10215
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10406,11 +10487,13 @@ export interface DefaultApiInterface {
10406
10487
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
10407
10488
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
10408
10489
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
10490
+ * @param {number} [offset] default is 0
10491
+ * @param {number} [limit] default is 500, max is 1000
10409
10492
  * @param {*} [options] Override http request option.
10410
10493
  * @throws {RequiredError}
10411
10494
  * @memberof DefaultApiInterface
10412
10495
  */
10413
- listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<ListDisputesResponse>;
10496
+ listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListDisputesResponse>;
10414
10497
  /**
10415
10498
  * List mandates
10416
10499
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10696,11 +10779,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
10696
10779
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
10697
10780
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
10698
10781
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
10782
+ * @param {number} [offset] default is 0
10783
+ * @param {number} [limit] default is 500, max is 1000
10699
10784
  * @param {*} [options] Override http request option.
10700
10785
  * @throws {RequiredError}
10701
10786
  * @memberof DefaultApi
10702
10787
  */
10703
- listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDisputesResponse, any>>;
10788
+ listDisputes(dateFrom?: string, dateTo?: string, statuses?: Array<ListDisputesStatusesEnum>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDisputesResponse, any>>;
10704
10789
  /**
10705
10790
  * List mandates
10706
10791
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10912,6 +10997,7 @@ export type ListPayoutsStatusesEnum = (typeof ListPayoutsStatusesEnum)[keyof typ
10912
10997
  export declare const ListPayoutsPayoutTypesEnum: {
10913
10998
  readonly Manual: "MANUAL";
10914
10999
  readonly Scheduled: "SCHEDULED";
11000
+ readonly Settlement: "SETTLEMENT";
10915
11001
  };
10916
11002
  export type ListPayoutsPayoutTypesEnum = (typeof ListPayoutsPayoutTypesEnum)[keyof typeof ListPayoutsPayoutTypesEnum];
10917
11003
  /**
package/dist/api.js CHANGED
@@ -404,6 +404,7 @@ exports.PayoutSnapshotResponseStatusEnum = {
404
404
  exports.PayoutSnapshotResponseTypeEnum = {
405
405
  Manual: 'MANUAL',
406
406
  Scheduled: 'SCHEDULED',
407
+ Settlement: 'SETTLEMENT',
407
408
  };
408
409
  exports.RecipientAccountNumberTypeEnum = {
409
410
  Local: 'LOCAL',
@@ -3088,10 +3089,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
3088
3089
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
3089
3090
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
3090
3091
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
3092
+ * @param {number} [offset] default is 0
3093
+ * @param {number} [limit] default is 500, max is 1000
3091
3094
  * @param {*} [options] Override http request option.
3092
3095
  * @throws {RequiredError}
3093
3096
  */
3094
- listDisputes: (dateFrom_1, dateTo_1, statuses_1, ...args_1) => __awaiter(this, [dateFrom_1, dateTo_1, statuses_1, ...args_1], void 0, function* (dateFrom, dateTo, statuses, options = {}) {
3097
+ listDisputes: (dateFrom_1, dateTo_1, statuses_1, offset_1, limit_1, ...args_1) => __awaiter(this, [dateFrom_1, dateTo_1, statuses_1, offset_1, limit_1, ...args_1], void 0, function* (dateFrom, dateTo, statuses, offset, limit, options = {}) {
3095
3098
  const localVarPath = `/disputes`;
3096
3099
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3097
3100
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3116,6 +3119,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
3116
3119
  if (statuses) {
3117
3120
  localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
3118
3121
  }
3122
+ if (offset !== undefined) {
3123
+ localVarQueryParameter['offset'] = offset;
3124
+ }
3125
+ if (limit !== undefined) {
3126
+ localVarQueryParameter['limit'] = limit;
3127
+ }
3119
3128
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3120
3129
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3121
3130
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3829,13 +3838,15 @@ const DefaultApiFp = function (configuration) {
3829
3838
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
3830
3839
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
3831
3840
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
3841
+ * @param {number} [offset] default is 0
3842
+ * @param {number} [limit] default is 500, max is 1000
3832
3843
  * @param {*} [options] Override http request option.
3833
3844
  * @throws {RequiredError}
3834
3845
  */
3835
- listDisputes(dateFrom, dateTo, statuses, options) {
3846
+ listDisputes(dateFrom, dateTo, statuses, offset, limit, options) {
3836
3847
  return __awaiter(this, void 0, void 0, function* () {
3837
3848
  var _a, _b, _c;
3838
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listDisputes(dateFrom, dateTo, statuses, options);
3849
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDisputes(dateFrom, dateTo, statuses, offset, limit, options);
3839
3850
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3840
3851
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listDisputes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3841
3852
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4216,11 +4227,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4216
4227
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
4217
4228
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
4218
4229
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
4230
+ * @param {number} [offset] default is 0
4231
+ * @param {number} [limit] default is 500, max is 1000
4219
4232
  * @param {*} [options] Override http request option.
4220
4233
  * @throws {RequiredError}
4221
4234
  */
4222
- listDisputes(dateFrom, dateTo, statuses, options) {
4223
- return localVarFp.listDisputes(dateFrom, dateTo, statuses, options).then((request) => request(axios, basePath));
4235
+ listDisputes(dateFrom, dateTo, statuses, offset, limit, options) {
4236
+ return localVarFp
4237
+ .listDisputes(dateFrom, dateTo, statuses, offset, limit, options)
4238
+ .then((request) => request(axios, basePath));
4224
4239
  },
4225
4240
  /**
4226
4241
  * List mandates
@@ -4618,13 +4633,15 @@ class DefaultApi extends base_1.BaseAPI {
4618
4633
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
4619
4634
  * @param {string} [dateTo] ISO format (YYYY-MM-DD)
4620
4635
  * @param {Array<ListDisputesStatusesEnum>} [statuses] The dispute statuses to filter for, comma separated
4636
+ * @param {number} [offset] default is 0
4637
+ * @param {number} [limit] default is 500, max is 1000
4621
4638
  * @param {*} [options] Override http request option.
4622
4639
  * @throws {RequiredError}
4623
4640
  * @memberof DefaultApi
4624
4641
  */
4625
- listDisputes(dateFrom, dateTo, statuses, options) {
4642
+ listDisputes(dateFrom, dateTo, statuses, offset, limit, options) {
4626
4643
  return (0, exports.DefaultApiFp)(this.configuration)
4627
- .listDisputes(dateFrom, dateTo, statuses, options)
4644
+ .listDisputes(dateFrom, dateTo, statuses, offset, limit, options)
4628
4645
  .then((request) => request(this.axios, this.basePath));
4629
4646
  }
4630
4647
  /**
@@ -4857,6 +4874,7 @@ exports.ListPayoutsStatusesEnum = {
4857
4874
  exports.ListPayoutsPayoutTypesEnum = {
4858
4875
  Manual: 'MANUAL',
4859
4876
  Scheduled: 'SCHEDULED',
4877
+ Settlement: 'SETTLEMENT',
4860
4878
  };
4861
4879
  /**
4862
4880
  * LinkApi - axios parameter creator
package/dist/base.js CHANGED
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
17
  const axios_1 = require("axios");
18
- exports.BASE_PATH = 'https://api.sandbox.finverse.net'.replace(/\/+$/, '');
18
+ exports.BASE_PATH = 'https://api.prod.finverse.net'.replace(/\/+$/, '');
19
19
  /**
20
20
  *
21
21
  * @export
@@ -19,5 +19,5 @@ function getStatements() {
19
19
  };
20
20
  }
21
21
  function getStatementAsBuffer() {
22
- return new TextEncoder().encode("this is statement");
22
+ return new TextEncoder().encode("this is statement").buffer;
23
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.310",
3
+ "version": "0.0.312",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -31,8 +31,8 @@
31
31
  "@types/mocha": "^10.0.10",
32
32
  "@types/node": "12.11.5 - 12.20.42",
33
33
  "axios-mock-adapter": "^1.21.2",
34
- "chai": "^5.2.1",
35
- "mocha": "^11.7.1",
34
+ "chai": "^6.0.1",
35
+ "mocha": "^11.7.2",
36
36
  "ts-node": "^10.9.2",
37
37
  "typescript": "^4.0 || ^5.0"
38
38
  },