rebilly-js-sdk 62.152.0 → 62.154.0
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/CHANGELOG.md +2 -2
- package/dist/rebilly-js-sdk.d.cts +803 -99
- package/dist/rebilly-js-sdk.d.mts +803 -99
- package/dist/rebilly-js-sdk.d.ts +803 -99
- package/dist/rebilly-js-sdk.es.mjs +83 -80
- package/dist/rebilly-js-sdk.umd.js +3 -3
- package/package.json +1 -1
- package/src/resources/customers-resource.js +3 -0
|
@@ -196,30 +196,30 @@ function te() {
|
|
|
196
196
|
}
|
|
197
197
|
return h.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
198
198
|
};
|
|
199
|
-
function e(
|
|
200
|
-
return typeof
|
|
199
|
+
function e(a) {
|
|
200
|
+
return typeof a.constructor == "function" ? a.constructor.name : null;
|
|
201
201
|
}
|
|
202
|
-
function s(
|
|
203
|
-
return Array.isArray ? Array.isArray(
|
|
202
|
+
function s(a) {
|
|
203
|
+
return Array.isArray ? Array.isArray(a) : a instanceof Array;
|
|
204
204
|
}
|
|
205
|
-
function r(
|
|
206
|
-
return
|
|
205
|
+
function r(a) {
|
|
206
|
+
return a instanceof Error || typeof a.message == "string" && a.constructor && typeof a.constructor.stackTraceLimit == "number";
|
|
207
207
|
}
|
|
208
|
-
function n(
|
|
209
|
-
return
|
|
208
|
+
function n(a) {
|
|
209
|
+
return a instanceof Date ? !0 : typeof a.toDateString == "function" && typeof a.getDate == "function" && typeof a.setDate == "function";
|
|
210
210
|
}
|
|
211
|
-
function u(
|
|
212
|
-
return
|
|
211
|
+
function u(a) {
|
|
212
|
+
return a instanceof RegExp ? !0 : typeof a.flags == "string" && typeof a.ignoreCase == "boolean" && typeof a.multiline == "boolean" && typeof a.global == "boolean";
|
|
213
213
|
}
|
|
214
|
-
function o(
|
|
215
|
-
return e(
|
|
214
|
+
function o(a, $) {
|
|
215
|
+
return e(a) === "GeneratorFunction";
|
|
216
216
|
}
|
|
217
|
-
function l(
|
|
218
|
-
return typeof
|
|
217
|
+
function l(a) {
|
|
218
|
+
return typeof a.throw == "function" && typeof a.return == "function" && typeof a.next == "function";
|
|
219
219
|
}
|
|
220
|
-
function i(
|
|
220
|
+
function i(a) {
|
|
221
221
|
try {
|
|
222
|
-
if (typeof
|
|
222
|
+
if (typeof a.length == "number" && typeof a.callee == "function")
|
|
223
223
|
return !0;
|
|
224
224
|
} catch ($) {
|
|
225
225
|
if ($.message.indexOf("callee") !== -1)
|
|
@@ -227,8 +227,8 @@ function te() {
|
|
|
227
227
|
}
|
|
228
228
|
return !1;
|
|
229
229
|
}
|
|
230
|
-
function f(
|
|
231
|
-
return
|
|
230
|
+
function f(a) {
|
|
231
|
+
return a.constructor && typeof a.constructor.isBuffer == "function" ? a.constructor.isBuffer(a) : !1;
|
|
232
232
|
}
|
|
233
233
|
return x;
|
|
234
234
|
}
|
|
@@ -280,8 +280,8 @@ function Se() {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
function r(i) {
|
|
283
|
-
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0,
|
|
284
|
-
return
|
|
283
|
+
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0, a = new i.constructor(i.source, f);
|
|
284
|
+
return a.lastIndex = i.lastIndex, a;
|
|
285
285
|
}
|
|
286
286
|
function n(i) {
|
|
287
287
|
const f = new i.constructor(i.byteLength);
|
|
@@ -291,8 +291,8 @@ function Se() {
|
|
|
291
291
|
return new i.constructor(i.buffer, i.byteOffset, i.length);
|
|
292
292
|
}
|
|
293
293
|
function o(i) {
|
|
294
|
-
const f = i.length,
|
|
295
|
-
return i.copy(
|
|
294
|
+
const f = i.length, a = Buffer.allocUnsafe ? Buffer.allocUnsafe(f) : Buffer.from(f);
|
|
295
|
+
return i.copy(a), a;
|
|
296
296
|
}
|
|
297
297
|
function l(i) {
|
|
298
298
|
return t ? Object(t.call(i)) : {};
|
|
@@ -488,10 +488,10 @@ function O({ options: t }) {
|
|
|
488
488
|
return t.apiVersion && (c = `${c}/${t.apiVersion}`), t.organizationId && (c = `${c}/organizations/${t.organizationId}`), `${c}`;
|
|
489
489
|
}
|
|
490
490
|
function o() {
|
|
491
|
-
const
|
|
492
|
-
"REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m) => m).join("/")}@
|
|
491
|
+
const g = {
|
|
492
|
+
"REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m) => m).join("/")}@0c66ce4`
|
|
493
493
|
};
|
|
494
|
-
return t.apiKey && (
|
|
494
|
+
return t.apiKey && (g["REB-APIKEY"] = t.apiKey), g;
|
|
495
495
|
}
|
|
496
496
|
function l() {
|
|
497
497
|
return De(e.defaults.headers);
|
|
@@ -500,38 +500,38 @@ function O({ options: t }) {
|
|
|
500
500
|
t.requestTimeout = Number(c), e.defaults.timeout = t.requestTimeout;
|
|
501
501
|
}
|
|
502
502
|
function f(c = t.jwt) {
|
|
503
|
-
const
|
|
504
|
-
t.apiKey = null, t.jwt = c, delete
|
|
503
|
+
const g = l();
|
|
504
|
+
t.apiKey = null, t.jwt = c, delete g.common["REB-APIKEY"], g.common.Authorization = `Bearer ${c}`, e.defaults.headers = g;
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
const
|
|
508
|
-
t.publishableKey = c,
|
|
506
|
+
function a(c = t.publishableKey) {
|
|
507
|
+
const g = l();
|
|
508
|
+
t.publishableKey = c, g.common.Authorization = `${c}`, e.defaults.headers = g;
|
|
509
509
|
}
|
|
510
|
-
function $({ host: c, port:
|
|
510
|
+
function $({ host: c, port: g, auth: m }) {
|
|
511
511
|
e.defaults.proxy = {
|
|
512
512
|
host: c,
|
|
513
|
-
port:
|
|
513
|
+
port: g,
|
|
514
514
|
auth: m
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
|
-
function h({ live: c = null, sandbox:
|
|
518
|
-
c && (t.apiEndpoints.live = c),
|
|
517
|
+
function h({ live: c = null, sandbox: g = null }) {
|
|
518
|
+
c && (t.apiEndpoints.live = c), g && (t.apiEndpoints.sandbox = g), e.defaults.baseURL = u();
|
|
519
519
|
}
|
|
520
|
-
function K(c, { thenDelegate:
|
|
520
|
+
function K(c, { thenDelegate: g, catchDelegate: m = () => {
|
|
521
521
|
} }) {
|
|
522
522
|
return H(c) && e.interceptors[v[c]].use(
|
|
523
|
-
|
|
523
|
+
g,
|
|
524
524
|
m
|
|
525
525
|
);
|
|
526
526
|
}
|
|
527
|
-
function N(c,
|
|
528
|
-
return H(c) && e.interceptors[v[c]].eject(
|
|
527
|
+
function N(c, g) {
|
|
528
|
+
return H(c) && e.interceptors[v[c]].eject(g);
|
|
529
529
|
}
|
|
530
|
-
function se({ thenDelegate: c, catchDelegate:
|
|
530
|
+
function se({ thenDelegate: c, catchDelegate: g = () => {
|
|
531
531
|
} }) {
|
|
532
532
|
return K(v.request, {
|
|
533
533
|
thenDelegate: c,
|
|
534
|
-
catchDelegate:
|
|
534
|
+
catchDelegate: g
|
|
535
535
|
});
|
|
536
536
|
}
|
|
537
537
|
function re(c) {
|
|
@@ -539,18 +539,18 @@ function O({ options: t }) {
|
|
|
539
539
|
}
|
|
540
540
|
function ne({
|
|
541
541
|
thenDelegate: c,
|
|
542
|
-
catchDelegate:
|
|
542
|
+
catchDelegate: g = () => {
|
|
543
543
|
}
|
|
544
544
|
}) {
|
|
545
545
|
return K(v.response, {
|
|
546
546
|
thenDelegate: c,
|
|
547
|
-
catchDelegate:
|
|
547
|
+
catchDelegate: g
|
|
548
548
|
});
|
|
549
549
|
}
|
|
550
550
|
function ue(c) {
|
|
551
551
|
N(v.response, c);
|
|
552
552
|
}
|
|
553
|
-
function w({ request: c, isCollection:
|
|
553
|
+
function w({ request: c, isCollection: g, config: m }) {
|
|
554
554
|
const p = z(m), { id: b, cancelToken: $e } = q.save();
|
|
555
555
|
p.cancelToken = $e;
|
|
556
556
|
const W = async function() {
|
|
@@ -558,7 +558,7 @@ function O({ options: t }) {
|
|
|
558
558
|
const d = await c(p);
|
|
559
559
|
return oe({
|
|
560
560
|
response: d,
|
|
561
|
-
isCollection:
|
|
561
|
+
isCollection: g,
|
|
562
562
|
config: p
|
|
563
563
|
});
|
|
564
564
|
} catch (d) {
|
|
@@ -569,8 +569,8 @@ function O({ options: t }) {
|
|
|
569
569
|
}();
|
|
570
570
|
return W.cancel = (d) => I.cancelById(b, d), W;
|
|
571
571
|
}
|
|
572
|
-
function oe({ response: c, isCollection:
|
|
573
|
-
return
|
|
572
|
+
function oe({ response: c, isCollection: g, config: m }) {
|
|
573
|
+
return g ? new ye(c, m) : new ee(c, m);
|
|
574
574
|
}
|
|
575
575
|
function L({ error: c }) {
|
|
576
576
|
if (M.isCancel(c))
|
|
@@ -594,58 +594,58 @@ function O({ options: t }) {
|
|
|
594
594
|
}
|
|
595
595
|
function le(c) {
|
|
596
596
|
return c.params !== void 0 && (c.params = Object.keys(c.params).filter(
|
|
597
|
-
(
|
|
598
|
-
).reduce((
|
|
597
|
+
(g) => c.params[g] !== null && c.params[g] !== ""
|
|
598
|
+
).reduce((g, m) => (g[m] = c.params[m], g), {})), c;
|
|
599
599
|
}
|
|
600
600
|
function z(c = {}) {
|
|
601
601
|
return { ...le(c) };
|
|
602
602
|
}
|
|
603
|
-
function U(c,
|
|
603
|
+
function U(c, g = {}) {
|
|
604
604
|
return w({
|
|
605
605
|
request: (m) => e.get(c, m),
|
|
606
|
-
config: { params:
|
|
606
|
+
config: { params: g }
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function ce(c,
|
|
609
|
+
function ce(c, g) {
|
|
610
610
|
return w({
|
|
611
611
|
request: (m) => e.get(c, m),
|
|
612
|
-
config: { params:
|
|
612
|
+
config: { params: g },
|
|
613
613
|
isCollection: !0
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
function V(c,
|
|
616
|
+
function V(c, g, m = {}) {
|
|
617
617
|
let p = {};
|
|
618
618
|
return m.authenticate === !1 && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m.params && (p.params = { ...m.params }), w({
|
|
619
|
-
request: (b) => e.post(c,
|
|
619
|
+
request: (b) => e.post(c, g, b),
|
|
620
620
|
config: p
|
|
621
621
|
});
|
|
622
622
|
}
|
|
623
|
-
function J(c,
|
|
623
|
+
function J(c, g, m = {}) {
|
|
624
624
|
return w({
|
|
625
|
-
request: (p) => e.put(c,
|
|
625
|
+
request: (p) => e.put(c, g, p),
|
|
626
626
|
config: { params: m }
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
|
-
function ie(c,
|
|
629
|
+
function ie(c, g) {
|
|
630
630
|
return w({
|
|
631
|
-
request: (m) => e.patch(c,
|
|
631
|
+
request: (m) => e.patch(c, g, m),
|
|
632
632
|
config: {}
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function ge(c) {
|
|
636
636
|
return w({
|
|
637
|
-
request: (
|
|
637
|
+
request: (g) => e.delete(c, g),
|
|
638
638
|
config: {}
|
|
639
639
|
});
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function ae(c, g) {
|
|
642
642
|
return w({
|
|
643
643
|
request: (m) => e.delete(c, m),
|
|
644
|
-
config: { data: { ...
|
|
644
|
+
config: { data: { ...g } }
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
|
-
async function me(c,
|
|
648
|
-
if (
|
|
647
|
+
async function me(c, g, m, p = {}) {
|
|
648
|
+
if (g === "")
|
|
649
649
|
return V(c, m, { params: p });
|
|
650
650
|
try {
|
|
651
651
|
if ((await U(c)).response.status === 200)
|
|
@@ -658,8 +658,8 @@ function O({ options: t }) {
|
|
|
658
658
|
throw b;
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
async function fe(c,
|
|
662
|
-
const m = z(
|
|
661
|
+
async function fe(c, g) {
|
|
662
|
+
const m = z(g);
|
|
663
663
|
try {
|
|
664
664
|
const p = await e.get(c, m);
|
|
665
665
|
return new Ae(p, m);
|
|
@@ -676,15 +676,15 @@ function O({ options: t }) {
|
|
|
676
676
|
setTimeout: i,
|
|
677
677
|
setProxyAgent: $,
|
|
678
678
|
setSessionToken: f,
|
|
679
|
-
setPublishableKey:
|
|
679
|
+
setPublishableKey: a,
|
|
680
680
|
setEndpoints: h,
|
|
681
681
|
get: U,
|
|
682
682
|
getAll: ce,
|
|
683
683
|
post: V,
|
|
684
684
|
put: J,
|
|
685
685
|
patch: ie,
|
|
686
|
-
delete:
|
|
687
|
-
deleteAll:
|
|
686
|
+
delete: ge,
|
|
687
|
+
deleteAll: ae,
|
|
688
688
|
create: me,
|
|
689
689
|
download: fe
|
|
690
690
|
};
|
|
@@ -1488,6 +1488,9 @@ function st({ apiHandler: t }) {
|
|
|
1488
1488
|
getCustomerCreditBalance({ id: e }) {
|
|
1489
1489
|
return t.get(`customers/${e}/credit-balance`);
|
|
1490
1490
|
},
|
|
1491
|
+
generateComplianceScreeningReport({ id: e }) {
|
|
1492
|
+
return t.post(`customers/${e}/compliance-screening-report`);
|
|
1493
|
+
},
|
|
1491
1494
|
downloadComplianceScreeningReport({ id: e }) {
|
|
1492
1495
|
const s = {
|
|
1493
1496
|
headers: R,
|
|
@@ -1723,7 +1726,7 @@ function it({ apiHandler: t }) {
|
|
|
1723
1726
|
}
|
|
1724
1727
|
};
|
|
1725
1728
|
}
|
|
1726
|
-
function
|
|
1729
|
+
function gt({ apiHandler: t }) {
|
|
1727
1730
|
return {
|
|
1728
1731
|
/**
|
|
1729
1732
|
* @param { rebilly.GetEmailNotificationCollectionRequest } request
|
|
@@ -1735,7 +1738,7 @@ function at({ apiHandler: t }) {
|
|
|
1735
1738
|
}
|
|
1736
1739
|
};
|
|
1737
1740
|
}
|
|
1738
|
-
function
|
|
1741
|
+
function at({ apiHandler: t }) {
|
|
1739
1742
|
return {
|
|
1740
1743
|
/**
|
|
1741
1744
|
* @param { rebilly.GetEventCollectionRequest } request
|
|
@@ -2040,7 +2043,7 @@ function pt({ apiHandler: t }) {
|
|
|
2040
2043
|
const o = this.getAllAttachments(s);
|
|
2041
2044
|
r.push(o);
|
|
2042
2045
|
const i = (await o).items.map(
|
|
2043
|
-
(
|
|
2046
|
+
(a) => this.detach({ id: a.fields.id })
|
|
2044
2047
|
);
|
|
2045
2048
|
r = [...r, i], await Promise.all(i);
|
|
2046
2049
|
const f = t.delete(`files/${e}`);
|
|
@@ -4110,7 +4113,7 @@ function is({ apiHandler: t }) {
|
|
|
4110
4113
|
}
|
|
4111
4114
|
};
|
|
4112
4115
|
}
|
|
4113
|
-
function
|
|
4116
|
+
function gs({ apiHandler: t }) {
|
|
4114
4117
|
return {
|
|
4115
4118
|
/**
|
|
4116
4119
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -4140,7 +4143,7 @@ function as({ apiHandler: t }) {
|
|
|
4140
4143
|
}
|
|
4141
4144
|
};
|
|
4142
4145
|
}
|
|
4143
|
-
function
|
|
4146
|
+
function as({ apiHandler: t }) {
|
|
4144
4147
|
return {
|
|
4145
4148
|
/**
|
|
4146
4149
|
* @param { rebilly.GetUserCollectionRequest } request
|
|
@@ -4263,7 +4266,7 @@ class $s {
|
|
|
4263
4266
|
apiHandler: e
|
|
4264
4267
|
}), this.account = Be({ apiHandler: e }), this.allowlists = Ke({ apiHandler: e }), this.amlChecks = Ne({ apiHandler: e }), this.amlSettings = Le({ apiHandler: e }), this.apiKeys = ze({ apiHandler: e }), this.applicationInstances = Ue({ apiHandler: e }), this.applications = Ve({ apiHandler: e }), this.balanceTransactions = Je({ apiHandler: e }), this.billingPortals = We({ apiHandler: e }), this.blocklists = Ge({ apiHandler: e }), this.broadcastMessages = Ye({ apiHandler: e }), this.cashiers = Qe({ apiHandler: e }), this.checkoutForms = Xe({ apiHandler: e }), this.coupons = Ze({ apiHandler: e }), this.creditMemos = _e({ apiHandler: e }), this.customDomains = He({ apiHandler: e }), this.customFields = et({ apiHandler: e }), this.customerAuthentication = tt({ apiHandler: e }), this.customers = st({ apiHandler: e }), this.depositCustomPropertySets = rt({
|
|
4265
4268
|
apiHandler: e
|
|
4266
|
-
}), this.depositRequests = nt({ apiHandler: e }), this.depositStrategies = ut({ apiHandler: e }), this.digitalWallets = ot({ apiHandler: e }), this.disputes = lt({ apiHandler: e }), this.emailDeliverySettings = ct({ apiHandler: e }), this.emailMessages = it({ apiHandler: e }), this.emailNotifications =
|
|
4269
|
+
}), this.depositRequests = nt({ apiHandler: e }), this.depositStrategies = ut({ apiHandler: e }), this.digitalWallets = ot({ apiHandler: e }), this.disputes = lt({ apiHandler: e }), this.emailDeliverySettings = ct({ apiHandler: e }), this.emailMessages = it({ apiHandler: e }), this.emailNotifications = gt({ apiHandler: e }), this.events = at({ apiHandler: e }), this.externalIdentifiers = mt({ apiHandler: e }), this.externalServicesSettings = ft({
|
|
4267
4270
|
apiHandler: e
|
|
4268
4271
|
}), this.fees = $t({ apiHandler: e }), this.files = pt({ apiHandler: e }), this.gatewayAccounts = ht({ apiHandler: e }), this.integrations = yt({ apiHandler: e }), this.invoices = At({ apiHandler: e }), this.journalAccounts = bt({ apiHandler: e }), this.journalEntries = Rt({ apiHandler: e }), this.journalRecords = wt({ apiHandler: e }), this.kycDocuments = kt({ apiHandler: e }), this.kycRequests = vt({ apiHandler: e }), this.kycSettings = qt({ apiHandler: e }), this.lists = dt({ apiHandler: e }), this.memberships = Tt({ apiHandler: e }), this.orderCancellations = It({ apiHandler: e }), this.orderPauses = St({ apiHandler: e }), this.orderReactivations = Et({ apiHandler: e }), this.orders = xt({ apiHandler: e }), this.organizationExports = Pt({ apiHandler: e }), this.organizations = Ct({ apiHandler: e }), this.paymentCardsBankNames = Dt({ apiHandler: e }), this.paymentInstruments = jt({ apiHandler: e }), this.paymentMethods = Mt({ apiHandler: e }), this.paymentTokens = Ot({ apiHandler: e }), this.payoutRequestAllocations = Ft({
|
|
4269
4272
|
apiHandler: e
|
|
@@ -4271,7 +4274,7 @@ class $s {
|
|
|
4271
4274
|
apiHandler: e
|
|
4272
4275
|
}), this.subscriptionPauses = rs({ apiHandler: e }), this.subscriptionReactivations = ns({
|
|
4273
4276
|
apiHandler: e
|
|
4274
|
-
}), this.subscriptions = us({ apiHandler: e }), this.tags = os({ apiHandler: e }), this.tagsRules = ls({ apiHandler: e }), this.tracking = cs({ apiHandler: e }), this.transactions = is({ apiHandler: e }), this.usages =
|
|
4277
|
+
}), this.subscriptions = us({ apiHandler: e }), this.tags = os({ apiHandler: e }), this.tagsRules = ls({ apiHandler: e }), this.tracking = cs({ apiHandler: e }), this.transactions = is({ apiHandler: e }), this.usages = gs({ apiHandler: e }), this.users = as({ apiHandler: e }), this.webhooks = ms({ apiHandler: e }), this.websites = fs({ apiHandler: e }), this.addRequestInterceptor = e.addRequestInterceptor, this.removeRequestInterceptor = e.removeRequestInterceptor, this.addResponseInterceptor = e.addResponseInterceptor, this.removeResponseInterceptor = e.removeResponseInterceptor, this.setTimeout = e.setTimeout, this.setProxyAgent = e.setProxyAgent, this.setSessionToken = e.setSessionToken, this.setPublishableKey = e.setPublishableKey, this.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken, this.generateSignature = e.generateSignature;
|
|
4275
4278
|
}
|
|
4276
4279
|
}
|
|
4277
4280
|
function ps({ apiHandler: t }) {
|
|
@@ -4678,7 +4681,7 @@ function As({ apiHandler: t }) {
|
|
|
4678
4681
|
filter: i = null,
|
|
4679
4682
|
criteria: f = null
|
|
4680
4683
|
}) {
|
|
4681
|
-
const
|
|
4684
|
+
const a = {
|
|
4682
4685
|
aggregationField: e,
|
|
4683
4686
|
aggregationPeriod: s,
|
|
4684
4687
|
includeSwitchedSubscriptions: r,
|
|
@@ -4689,7 +4692,7 @@ function As({ apiHandler: t }) {
|
|
|
4689
4692
|
filter: i,
|
|
4690
4693
|
criteria: f
|
|
4691
4694
|
};
|
|
4692
|
-
return t.get("reports/retention-percentage",
|
|
4695
|
+
return t.get("reports/retention-percentage", a);
|
|
4693
4696
|
},
|
|
4694
4697
|
/**
|
|
4695
4698
|
* @returns { rebilly.GetRetentionValueReportResponsePromise } response
|
|
@@ -4704,7 +4707,7 @@ function As({ apiHandler: t }) {
|
|
|
4704
4707
|
limit: l = null,
|
|
4705
4708
|
offset: i = null,
|
|
4706
4709
|
filter: f = null,
|
|
4707
|
-
sort:
|
|
4710
|
+
sort: a = null,
|
|
4708
4711
|
criteria: $ = null
|
|
4709
4712
|
}) {
|
|
4710
4713
|
const h = {
|
|
@@ -4717,7 +4720,7 @@ function As({ apiHandler: t }) {
|
|
|
4717
4720
|
limit: l,
|
|
4718
4721
|
offset: i,
|
|
4719
4722
|
filter: f,
|
|
4720
|
-
sort:
|
|
4723
|
+
sort: a,
|
|
4721
4724
|
criteria: $
|
|
4722
4725
|
};
|
|
4723
4726
|
return t.get("reports/retention-value", h);
|