@payabli/sdk-node 0.0.145 → 0.0.146
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/README.md +2 -10
- package/dist/cjs/BaseClient.d.ts +0 -3
- package/dist/cjs/BaseClient.js +2 -17
- package/dist/cjs/api/resources/bill/client/Client.js +11 -35
- package/dist/cjs/api/resources/boarding/client/Client.js +13 -25
- package/dist/cjs/api/resources/chargeBacks/client/Client.js +3 -3
- package/dist/cjs/api/resources/checkCapture/client/Client.js +1 -1
- package/dist/cjs/api/resources/cloud/client/Client.js +4 -8
- package/dist/cjs/api/resources/customer/client/Client.js +6 -10
- package/dist/cjs/api/resources/export/client/Client.js +29 -145
- package/dist/cjs/api/resources/ghostCard/client/Client.js +2 -2
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +3 -3
- package/dist/cjs/api/resources/import/client/Client.js +3 -7
- package/dist/cjs/api/resources/invoice/client/Client.js +11 -35
- package/dist/cjs/api/resources/lineItem/client/Client.js +5 -9
- package/dist/cjs/api/resources/management/client/Client.js +1 -1
- package/dist/cjs/api/resources/moneyIn/client/Client.js +19 -43
- package/dist/cjs/api/resources/moneyOut/client/Client.js +12 -20
- package/dist/cjs/api/resources/notification/client/Client.js +5 -5
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +4 -8
- package/dist/cjs/api/resources/ocr/client/Client.js +2 -2
- package/dist/cjs/api/resources/organization/client/Client.js +7 -7
- package/dist/cjs/api/resources/paymentLink/client/Client.js +11 -31
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +7 -11
- package/dist/cjs/api/resources/payoutSubscription/client/Client.js +4 -4
- package/dist/cjs/api/resources/paypoint/client/Client.js +8 -12
- package/dist/cjs/api/resources/query/client/Client.js +42 -210
- package/dist/cjs/api/resources/statistic/client/Client.js +4 -20
- package/dist/cjs/api/resources/subscription/client/Client.js +4 -8
- package/dist/cjs/api/resources/templates/client/Client.js +4 -8
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +4 -16
- package/dist/cjs/api/resources/user/client/Client.js +12 -16
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -5
- package/dist/cjs/api/resources/wallet/client/Client.js +4 -4
- package/dist/cjs/core/auth/AuthProvider.d.ts +0 -1
- package/dist/cjs/core/auth/AuthProvider.js +0 -7
- package/dist/cjs/core/auth/index.d.ts +1 -1
- package/dist/cjs/core/auth/index.js +1 -3
- package/dist/cjs/core/fetcher/Fetcher.d.ts +0 -6
- package/dist/cjs/core/fetcher/Fetcher.js +8 -9
- package/dist/cjs/core/fetcher/requestWithRetries.js +1 -4
- package/dist/cjs/core/url/index.d.ts +0 -1
- package/dist/cjs/core/url/index.js +1 -3
- package/dist/cjs/core/url/qs.d.ts +1 -2
- package/dist/cjs/core/url/qs.js +12 -24
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +0 -3
- package/dist/esm/BaseClient.mjs +2 -17
- package/dist/esm/api/resources/bill/client/Client.mjs +11 -35
- package/dist/esm/api/resources/boarding/client/Client.mjs +13 -25
- package/dist/esm/api/resources/chargeBacks/client/Client.mjs +3 -3
- package/dist/esm/api/resources/checkCapture/client/Client.mjs +1 -1
- package/dist/esm/api/resources/cloud/client/Client.mjs +4 -8
- package/dist/esm/api/resources/customer/client/Client.mjs +6 -10
- package/dist/esm/api/resources/export/client/Client.mjs +29 -145
- package/dist/esm/api/resources/ghostCard/client/Client.mjs +2 -2
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +3 -3
- package/dist/esm/api/resources/import/client/Client.mjs +3 -7
- package/dist/esm/api/resources/invoice/client/Client.mjs +11 -35
- package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -9
- package/dist/esm/api/resources/management/client/Client.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +19 -43
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +12 -20
- package/dist/esm/api/resources/notification/client/Client.mjs +5 -5
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +4 -8
- package/dist/esm/api/resources/ocr/client/Client.mjs +2 -2
- package/dist/esm/api/resources/organization/client/Client.mjs +7 -7
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +11 -31
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +7 -11
- package/dist/esm/api/resources/payoutSubscription/client/Client.mjs +4 -4
- package/dist/esm/api/resources/paypoint/client/Client.mjs +8 -12
- package/dist/esm/api/resources/query/client/Client.mjs +42 -210
- package/dist/esm/api/resources/statistic/client/Client.mjs +4 -20
- package/dist/esm/api/resources/subscription/client/Client.mjs +4 -8
- package/dist/esm/api/resources/templates/client/Client.mjs +4 -8
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +4 -16
- package/dist/esm/api/resources/user/client/Client.mjs +12 -16
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -5
- package/dist/esm/api/resources/wallet/client/Client.mjs +4 -4
- package/dist/esm/core/auth/AuthProvider.d.mts +0 -1
- package/dist/esm/core/auth/AuthProvider.mjs +1 -6
- package/dist/esm/core/auth/index.d.mts +1 -1
- package/dist/esm/core/auth/index.mjs +0 -1
- package/dist/esm/core/fetcher/Fetcher.d.mts +0 -6
- package/dist/esm/core/fetcher/Fetcher.mjs +8 -9
- package/dist/esm/core/fetcher/requestWithRetries.mjs +1 -4
- package/dist/esm/core/url/index.d.mts +0 -1
- package/dist/esm/core/url/index.mjs +0 -1
- package/dist/esm/core/url/qs.d.mts +1 -2
- package/dist/esm/core/url/qs.mjs +12 -24
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +0 -47
- package/dist/cjs/core/url/QueryStringBuilder.js +0 -83
- package/dist/esm/core/url/QueryStringBuilder.d.mts +0 -47
- package/dist/esm/core/url/QueryStringBuilder.mjs +0 -80
|
@@ -61,11 +61,7 @@ export class ExportClient {
|
|
|
61
61
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/boarding/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
|
|
62
62
|
method: "GET",
|
|
63
63
|
headers: _headers,
|
|
64
|
-
|
|
65
|
-
.queryBuilder()
|
|
66
|
-
.addMany(_queryParams)
|
|
67
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
68
|
-
.build(),
|
|
64
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
69
65
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
70
66
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
71
67
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -137,11 +133,7 @@ export class ExportClient {
|
|
|
137
133
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
138
134
|
method: "GET",
|
|
139
135
|
headers: _headers,
|
|
140
|
-
|
|
141
|
-
.queryBuilder()
|
|
142
|
-
.addMany(_queryParams)
|
|
143
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
144
|
-
.build(),
|
|
136
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
145
137
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
146
138
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
147
139
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -213,11 +205,7 @@ export class ExportClient {
|
|
|
213
205
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
214
206
|
method: "GET",
|
|
215
207
|
headers: _headers,
|
|
216
|
-
|
|
217
|
-
.queryBuilder()
|
|
218
|
-
.addMany(_queryParams)
|
|
219
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
220
|
-
.build(),
|
|
208
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
221
209
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
222
210
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
223
211
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -289,11 +277,7 @@ export class ExportClient {
|
|
|
289
277
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
290
278
|
method: "GET",
|
|
291
279
|
headers: _headers,
|
|
292
|
-
|
|
293
|
-
.queryBuilder()
|
|
294
|
-
.addMany(_queryParams)
|
|
295
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
296
|
-
.build(),
|
|
280
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
297
281
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
298
282
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
299
283
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -365,11 +349,7 @@ export class ExportClient {
|
|
|
365
349
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
366
350
|
method: "GET",
|
|
367
351
|
headers: _headers,
|
|
368
|
-
|
|
369
|
-
.queryBuilder()
|
|
370
|
-
.addMany(_queryParams)
|
|
371
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
372
|
-
.build(),
|
|
352
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
373
353
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
374
354
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
375
355
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -441,11 +421,7 @@ export class ExportClient {
|
|
|
441
421
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
442
422
|
method: "GET",
|
|
443
423
|
headers: _headers,
|
|
444
|
-
|
|
445
|
-
.queryBuilder()
|
|
446
|
-
.addMany(_queryParams)
|
|
447
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
448
|
-
.build(),
|
|
424
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
449
425
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
450
426
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
451
427
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -517,11 +493,7 @@ export class ExportClient {
|
|
|
517
493
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
518
494
|
method: "GET",
|
|
519
495
|
headers: _headers,
|
|
520
|
-
|
|
521
|
-
.queryBuilder()
|
|
522
|
-
.addMany(_queryParams)
|
|
523
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
524
|
-
.build(),
|
|
496
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
525
497
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
526
498
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
527
499
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -593,11 +565,7 @@ export class ExportClient {
|
|
|
593
565
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
594
566
|
method: "GET",
|
|
595
567
|
headers: _headers,
|
|
596
|
-
|
|
597
|
-
.queryBuilder()
|
|
598
|
-
.addMany(_queryParams)
|
|
599
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
600
|
-
.build(),
|
|
568
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
601
569
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
602
570
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
603
571
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -669,11 +637,7 @@ export class ExportClient {
|
|
|
669
637
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
670
638
|
method: "GET",
|
|
671
639
|
headers: _headers,
|
|
672
|
-
|
|
673
|
-
.queryBuilder()
|
|
674
|
-
.addMany(_queryParams)
|
|
675
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
676
|
-
.build(),
|
|
640
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
677
641
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
678
642
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
679
643
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -745,11 +709,7 @@ export class ExportClient {
|
|
|
745
709
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
746
710
|
method: "GET",
|
|
747
711
|
headers: _headers,
|
|
748
|
-
|
|
749
|
-
.queryBuilder()
|
|
750
|
-
.addMany(_queryParams)
|
|
751
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
752
|
-
.build(),
|
|
712
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
753
713
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
754
714
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
755
715
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -821,11 +781,7 @@ export class ExportClient {
|
|
|
821
781
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
822
782
|
method: "GET",
|
|
823
783
|
headers: _headers,
|
|
824
|
-
|
|
825
|
-
.queryBuilder()
|
|
826
|
-
.addMany(_queryParams)
|
|
827
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
828
|
-
.build(),
|
|
784
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
829
785
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
830
786
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
831
787
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -897,11 +853,7 @@ export class ExportClient {
|
|
|
897
853
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
898
854
|
method: "GET",
|
|
899
855
|
headers: _headers,
|
|
900
|
-
|
|
901
|
-
.queryBuilder()
|
|
902
|
-
.addMany(_queryParams)
|
|
903
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
904
|
-
.build(),
|
|
856
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
905
857
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
906
858
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
907
859
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -973,11 +925,7 @@ export class ExportClient {
|
|
|
973
925
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
974
926
|
method: "GET",
|
|
975
927
|
headers: _headers,
|
|
976
|
-
|
|
977
|
-
.queryBuilder()
|
|
978
|
-
.addMany(_queryParams)
|
|
979
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
980
|
-
.build(),
|
|
928
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
981
929
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
982
930
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
983
931
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1049,11 +997,7 @@ export class ExportClient {
|
|
|
1049
997
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1050
998
|
method: "GET",
|
|
1051
999
|
headers: _headers,
|
|
1052
|
-
|
|
1053
|
-
.queryBuilder()
|
|
1054
|
-
.addMany(_queryParams)
|
|
1055
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1056
|
-
.build(),
|
|
1000
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1057
1001
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1058
1002
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1059
1003
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1125,11 +1069,7 @@ export class ExportClient {
|
|
|
1125
1069
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1126
1070
|
method: "GET",
|
|
1127
1071
|
headers: _headers,
|
|
1128
|
-
|
|
1129
|
-
.queryBuilder()
|
|
1130
|
-
.addMany(_queryParams)
|
|
1131
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1132
|
-
.build(),
|
|
1072
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1133
1073
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1134
1074
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1135
1075
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1201,11 +1141,7 @@ export class ExportClient {
|
|
|
1201
1141
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/organizations/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1202
1142
|
method: "GET",
|
|
1203
1143
|
headers: _headers,
|
|
1204
|
-
|
|
1205
|
-
.queryBuilder()
|
|
1206
|
-
.addMany(_queryParams)
|
|
1207
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1208
|
-
.build(),
|
|
1144
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1209
1145
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1210
1146
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1211
1147
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1277,11 +1213,7 @@ export class ExportClient {
|
|
|
1277
1213
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1278
1214
|
method: "GET",
|
|
1279
1215
|
headers: _headers,
|
|
1280
|
-
|
|
1281
|
-
.queryBuilder()
|
|
1282
|
-
.addMany(_queryParams)
|
|
1283
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1284
|
-
.build(),
|
|
1216
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1285
1217
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1286
1218
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1287
1219
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1353,11 +1285,7 @@ export class ExportClient {
|
|
|
1353
1285
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1354
1286
|
method: "GET",
|
|
1355
1287
|
headers: _headers,
|
|
1356
|
-
|
|
1357
|
-
.queryBuilder()
|
|
1358
|
-
.addMany(_queryParams)
|
|
1359
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1360
|
-
.build(),
|
|
1288
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1361
1289
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1362
1290
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1363
1291
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1429,11 +1357,7 @@ export class ExportClient {
|
|
|
1429
1357
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/paypoints/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
|
|
1430
1358
|
method: "GET",
|
|
1431
1359
|
headers: _headers,
|
|
1432
|
-
|
|
1433
|
-
.queryBuilder()
|
|
1434
|
-
.addMany(_queryParams)
|
|
1435
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1436
|
-
.build(),
|
|
1360
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1437
1361
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1438
1362
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1439
1363
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1505,11 +1429,7 @@ export class ExportClient {
|
|
|
1505
1429
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1506
1430
|
method: "GET",
|
|
1507
1431
|
headers: _headers,
|
|
1508
|
-
|
|
1509
|
-
.queryBuilder()
|
|
1510
|
-
.addMany(_queryParams)
|
|
1511
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1512
|
-
.build(),
|
|
1432
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1513
1433
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1514
1434
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1515
1435
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1581,11 +1501,7 @@ export class ExportClient {
|
|
|
1581
1501
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1582
1502
|
method: "GET",
|
|
1583
1503
|
headers: _headers,
|
|
1584
|
-
|
|
1585
|
-
.queryBuilder()
|
|
1586
|
-
.addMany(_queryParams)
|
|
1587
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1588
|
-
.build(),
|
|
1504
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1589
1505
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1590
1506
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1591
1507
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1657,11 +1573,7 @@ export class ExportClient {
|
|
|
1657
1573
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1658
1574
|
method: "GET",
|
|
1659
1575
|
headers: _headers,
|
|
1660
|
-
|
|
1661
|
-
.queryBuilder()
|
|
1662
|
-
.addMany(_queryParams)
|
|
1663
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1664
|
-
.build(),
|
|
1576
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1665
1577
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1666
1578
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1667
1579
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1733,11 +1645,7 @@ export class ExportClient {
|
|
|
1733
1645
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1734
1646
|
method: "GET",
|
|
1735
1647
|
headers: _headers,
|
|
1736
|
-
|
|
1737
|
-
.queryBuilder()
|
|
1738
|
-
.addMany(_queryParams)
|
|
1739
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1740
|
-
.build(),
|
|
1648
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1741
1649
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1742
1650
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1743
1651
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1809,11 +1717,7 @@ export class ExportClient {
|
|
|
1809
1717
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1810
1718
|
method: "GET",
|
|
1811
1719
|
headers: _headers,
|
|
1812
|
-
|
|
1813
|
-
.queryBuilder()
|
|
1814
|
-
.addMany(_queryParams)
|
|
1815
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1816
|
-
.build(),
|
|
1720
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1817
1721
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1818
1722
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1819
1723
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1885,11 +1789,7 @@ export class ExportClient {
|
|
|
1885
1789
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1886
1790
|
method: "GET",
|
|
1887
1791
|
headers: _headers,
|
|
1888
|
-
|
|
1889
|
-
.queryBuilder()
|
|
1890
|
-
.addMany(_queryParams)
|
|
1891
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1892
|
-
.build(),
|
|
1792
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1893
1793
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1894
1794
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1895
1795
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1964,11 +1864,7 @@ export class ExportClient {
|
|
|
1964
1864
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transferDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(transferId)}`),
|
|
1965
1865
|
method: "GET",
|
|
1966
1866
|
headers: _headers,
|
|
1967
|
-
|
|
1968
|
-
.queryBuilder()
|
|
1969
|
-
.addMany(_queryParams)
|
|
1970
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1971
|
-
.build(),
|
|
1867
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1972
1868
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1973
1869
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1974
1870
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -2041,11 +1937,7 @@ export class ExportClient {
|
|
|
2041
1937
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transfers/${core.url.encodePathParam(entry)}`),
|
|
2042
1938
|
method: "GET",
|
|
2043
1939
|
headers: _headers,
|
|
2044
|
-
|
|
2045
|
-
.queryBuilder()
|
|
2046
|
-
.addMany(_queryParams)
|
|
2047
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
2048
|
-
.build(),
|
|
1940
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2049
1941
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2050
1942
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2051
1943
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -2117,11 +2009,7 @@ export class ExportClient {
|
|
|
2117
2009
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
2118
2010
|
method: "GET",
|
|
2119
2011
|
headers: _headers,
|
|
2120
|
-
|
|
2121
|
-
.queryBuilder()
|
|
2122
|
-
.addMany(_queryParams)
|
|
2123
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
2124
|
-
.build(),
|
|
2012
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2125
2013
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2126
2014
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2127
2015
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -2188,11 +2076,7 @@ export class ExportClient {
|
|
|
2188
2076
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
2189
2077
|
method: "GET",
|
|
2190
2078
|
headers: _headers,
|
|
2191
|
-
|
|
2192
|
-
.queryBuilder()
|
|
2193
|
-
.addMany(_queryParams)
|
|
2194
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
2195
|
-
.build(),
|
|
2079
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2196
2080
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2197
2081
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2198
2082
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -67,7 +67,7 @@ export class GhostCardClient {
|
|
|
67
67
|
method: "POST",
|
|
68
68
|
headers: _headers,
|
|
69
69
|
contentType: "application/json",
|
|
70
|
-
|
|
70
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
71
71
|
requestType: "json",
|
|
72
72
|
body: request,
|
|
73
73
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -131,7 +131,7 @@ export class GhostCardClient {
|
|
|
131
131
|
method: "PATCH",
|
|
132
132
|
headers: _headers,
|
|
133
133
|
contentType: "application/json",
|
|
134
|
-
|
|
134
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
135
135
|
requestType: "json",
|
|
136
136
|
body: request,
|
|
137
137
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -46,7 +46,7 @@ export class HostedPaymentPagesClient {
|
|
|
46
46
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Paypoint/load/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(subdomain)}`),
|
|
47
47
|
method: "GET",
|
|
48
48
|
headers: _headers,
|
|
49
|
-
|
|
49
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
50
50
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
51
51
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
52
52
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -111,7 +111,7 @@ export class HostedPaymentPagesClient {
|
|
|
111
111
|
method: "POST",
|
|
112
112
|
headers: _headers,
|
|
113
113
|
contentType: "application/json",
|
|
114
|
-
|
|
114
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
115
115
|
requestType: "json",
|
|
116
116
|
body: _body,
|
|
117
117
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -176,7 +176,7 @@ export class HostedPaymentPagesClient {
|
|
|
176
176
|
method: "PUT",
|
|
177
177
|
headers: _headers,
|
|
178
178
|
contentType: "application/json",
|
|
179
|
-
|
|
179
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
180
180
|
requestType: "json",
|
|
181
181
|
body: request,
|
|
182
182
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -52,7 +52,7 @@ export class ImportClient {
|
|
|
52
52
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Import/billsForm/${core.url.encodePathParam(entry)}`),
|
|
53
53
|
method: "POST",
|
|
54
54
|
headers: _headers,
|
|
55
|
-
|
|
55
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
56
56
|
requestType: "file",
|
|
57
57
|
duplex: _maybeEncodedRequest.duplex,
|
|
58
58
|
body: _maybeEncodedRequest.body,
|
|
@@ -122,11 +122,7 @@ export class ImportClient {
|
|
|
122
122
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Import/customersForm/${core.url.encodePathParam(entry)}`),
|
|
123
123
|
method: "POST",
|
|
124
124
|
headers: _headers,
|
|
125
|
-
|
|
126
|
-
.queryBuilder()
|
|
127
|
-
.addMany(_queryParams)
|
|
128
|
-
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
129
|
-
.build(),
|
|
125
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
130
126
|
requestType: "file",
|
|
131
127
|
duplex: _maybeEncodedRequest.duplex,
|
|
132
128
|
body: _maybeEncodedRequest.body,
|
|
@@ -188,7 +184,7 @@ export class ImportClient {
|
|
|
188
184
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Import/vendorsForm/${core.url.encodePathParam(entry)}`),
|
|
189
185
|
method: "POST",
|
|
190
186
|
headers: _headers,
|
|
191
|
-
|
|
187
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
192
188
|
requestType: "file",
|
|
193
189
|
duplex: _maybeEncodedRequest.duplex,
|
|
194
190
|
body: _maybeEncodedRequest.body,
|