@rebilly/instruments 16.156.0 → 16.157.1
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 +1 -6
- package/dist/index.js +80 -80
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
## [16.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Features
|
|
5
|
-
|
|
6
|
-
* **replay:** backend for realtime SSE balance updates ([#23242](https://github.com/Rebilly/rebilly/issues/23242)) ([e91d83b](https://github.com/Rebilly/rebilly/commit/e91d83b201e43768d559655bb6307b66ae3133c3)), closes [#23243](https://github.com/Rebilly/rebilly/issues/23243)
|
|
1
|
+
## [16.157.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.157.0...instruments/core-v16.157.1) (2026-07-14)
|
package/dist/index.js
CHANGED
|
@@ -5493,30 +5493,30 @@ function te$1() {
|
|
|
5493
5493
|
}
|
|
5494
5494
|
return h2.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
5495
5495
|
};
|
|
5496
|
-
function e2(
|
|
5497
|
-
return typeof
|
|
5496
|
+
function e2(g) {
|
|
5497
|
+
return typeof g.constructor == "function" ? g.constructor.name : null;
|
|
5498
5498
|
}
|
|
5499
|
-
function s(
|
|
5500
|
-
return Array.isArray ? Array.isArray(
|
|
5499
|
+
function s(g) {
|
|
5500
|
+
return Array.isArray ? Array.isArray(g) : g instanceof Array;
|
|
5501
5501
|
}
|
|
5502
|
-
function r2(
|
|
5503
|
-
return
|
|
5502
|
+
function r2(g) {
|
|
5503
|
+
return g instanceof Error || typeof g.message == "string" && g.constructor && typeof g.constructor.stackTraceLimit == "number";
|
|
5504
5504
|
}
|
|
5505
|
-
function n2(
|
|
5506
|
-
return
|
|
5505
|
+
function n2(g) {
|
|
5506
|
+
return g instanceof Date ? true : typeof g.toDateString == "function" && typeof g.getDate == "function" && typeof g.setDate == "function";
|
|
5507
5507
|
}
|
|
5508
|
-
function u(
|
|
5509
|
-
return
|
|
5508
|
+
function u(g) {
|
|
5509
|
+
return g instanceof RegExp ? true : typeof g.flags == "string" && typeof g.ignoreCase == "boolean" && typeof g.multiline == "boolean" && typeof g.global == "boolean";
|
|
5510
5510
|
}
|
|
5511
|
-
function o2(
|
|
5512
|
-
return e2(
|
|
5511
|
+
function o2(g, $2) {
|
|
5512
|
+
return e2(g) === "GeneratorFunction";
|
|
5513
5513
|
}
|
|
5514
|
-
function l(
|
|
5515
|
-
return typeof
|
|
5514
|
+
function l(g) {
|
|
5515
|
+
return typeof g.throw == "function" && typeof g.return == "function" && typeof g.next == "function";
|
|
5516
5516
|
}
|
|
5517
|
-
function i(
|
|
5517
|
+
function i(g) {
|
|
5518
5518
|
try {
|
|
5519
|
-
if (typeof
|
|
5519
|
+
if (typeof g.length == "number" && typeof g.callee == "function")
|
|
5520
5520
|
return true;
|
|
5521
5521
|
} catch ($2) {
|
|
5522
5522
|
if ($2.message.indexOf("callee") !== -1)
|
|
@@ -5524,8 +5524,8 @@ function te$1() {
|
|
|
5524
5524
|
}
|
|
5525
5525
|
return false;
|
|
5526
5526
|
}
|
|
5527
|
-
function f(
|
|
5528
|
-
return
|
|
5527
|
+
function f(g) {
|
|
5528
|
+
return g.constructor && typeof g.constructor.isBuffer == "function" ? g.constructor.isBuffer(g) : false;
|
|
5529
5529
|
}
|
|
5530
5530
|
return x$1;
|
|
5531
5531
|
}
|
|
@@ -5577,8 +5577,8 @@ function Se$1() {
|
|
|
5577
5577
|
}
|
|
5578
5578
|
}
|
|
5579
5579
|
function r2(i) {
|
|
5580
|
-
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0,
|
|
5581
|
-
return
|
|
5580
|
+
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0, g = new i.constructor(i.source, f);
|
|
5581
|
+
return g.lastIndex = i.lastIndex, g;
|
|
5582
5582
|
}
|
|
5583
5583
|
function n2(i) {
|
|
5584
5584
|
const f = new i.constructor(i.byteLength);
|
|
@@ -5588,8 +5588,8 @@ function Se$1() {
|
|
|
5588
5588
|
return new i.constructor(i.buffer, i.byteOffset, i.length);
|
|
5589
5589
|
}
|
|
5590
5590
|
function o2(i) {
|
|
5591
|
-
const f = i.length,
|
|
5592
|
-
return i.copy(
|
|
5591
|
+
const f = i.length, g = Buffer.allocUnsafe ? Buffer.allocUnsafe(f) : Buffer.from(f);
|
|
5592
|
+
return i.copy(g), g;
|
|
5593
5593
|
}
|
|
5594
5594
|
function l(i) {
|
|
5595
5595
|
return t2 ? Object(t2.call(i)) : {};
|
|
@@ -5778,10 +5778,10 @@ function O$1({ options: t2 }) {
|
|
|
5778
5778
|
return t2.apiVersion && (c = `${c}/${t2.apiVersion}`), t2.organizationId && (c = `${c}/organizations/${t2.organizationId}`), `${c}`;
|
|
5779
5779
|
}
|
|
5780
5780
|
function o2() {
|
|
5781
|
-
const
|
|
5782
|
-
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
5781
|
+
const a = {
|
|
5782
|
+
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((m2) => m2).join("/")}@a2a31ca`
|
|
5783
5783
|
};
|
|
5784
|
-
return t2.apiKey && (
|
|
5784
|
+
return t2.apiKey && (a["REB-APIKEY"] = t2.apiKey), a;
|
|
5785
5785
|
}
|
|
5786
5786
|
function l() {
|
|
5787
5787
|
return De$1(e2.defaults.headers);
|
|
@@ -5790,38 +5790,38 @@ function O$1({ options: t2 }) {
|
|
|
5790
5790
|
t2.requestTimeout = Number(c), e2.defaults.timeout = t2.requestTimeout;
|
|
5791
5791
|
}
|
|
5792
5792
|
function f(c = t2.jwt) {
|
|
5793
|
-
const
|
|
5794
|
-
t2.apiKey = null, t2.jwt = c, delete
|
|
5793
|
+
const a = l();
|
|
5794
|
+
t2.apiKey = null, t2.jwt = c, delete a.common["REB-APIKEY"], a.common.Authorization = `Bearer ${c}`, e2.defaults.headers = a;
|
|
5795
5795
|
}
|
|
5796
|
-
function
|
|
5797
|
-
const
|
|
5798
|
-
t2.publishableKey = c,
|
|
5796
|
+
function g(c = t2.publishableKey) {
|
|
5797
|
+
const a = l();
|
|
5798
|
+
t2.publishableKey = c, a.common.Authorization = `${c}`, e2.defaults.headers = a;
|
|
5799
5799
|
}
|
|
5800
|
-
function $2({ host: c, port:
|
|
5800
|
+
function $2({ host: c, port: a, auth: m2 }) {
|
|
5801
5801
|
e2.defaults.proxy = {
|
|
5802
5802
|
host: c,
|
|
5803
|
-
port:
|
|
5803
|
+
port: a,
|
|
5804
5804
|
auth: m2
|
|
5805
5805
|
};
|
|
5806
5806
|
}
|
|
5807
|
-
function h2({ live: c = null, sandbox:
|
|
5808
|
-
c && (t2.apiEndpoints.live = c),
|
|
5807
|
+
function h2({ live: c = null, sandbox: a = null }) {
|
|
5808
|
+
c && (t2.apiEndpoints.live = c), a && (t2.apiEndpoints.sandbox = a), e2.defaults.baseURL = u();
|
|
5809
5809
|
}
|
|
5810
|
-
function K2(c, { thenDelegate:
|
|
5810
|
+
function K2(c, { thenDelegate: a, catchDelegate: m2 = () => {
|
|
5811
5811
|
} }) {
|
|
5812
5812
|
return H$1(c) && e2.interceptors[v[c]].use(
|
|
5813
|
-
|
|
5813
|
+
a,
|
|
5814
5814
|
m2
|
|
5815
5815
|
);
|
|
5816
5816
|
}
|
|
5817
|
-
function N2(c,
|
|
5818
|
-
return H$1(c) && e2.interceptors[v[c]].eject(
|
|
5817
|
+
function N2(c, a) {
|
|
5818
|
+
return H$1(c) && e2.interceptors[v[c]].eject(a);
|
|
5819
5819
|
}
|
|
5820
|
-
function se2({ thenDelegate: c, catchDelegate:
|
|
5820
|
+
function se2({ thenDelegate: c, catchDelegate: a = () => {
|
|
5821
5821
|
} }) {
|
|
5822
5822
|
return K2(v.request, {
|
|
5823
5823
|
thenDelegate: c,
|
|
5824
|
-
catchDelegate:
|
|
5824
|
+
catchDelegate: a
|
|
5825
5825
|
});
|
|
5826
5826
|
}
|
|
5827
5827
|
function re2(c) {
|
|
@@ -5829,18 +5829,18 @@ function O$1({ options: t2 }) {
|
|
|
5829
5829
|
}
|
|
5830
5830
|
function ne2({
|
|
5831
5831
|
thenDelegate: c,
|
|
5832
|
-
catchDelegate:
|
|
5832
|
+
catchDelegate: a = () => {
|
|
5833
5833
|
}
|
|
5834
5834
|
}) {
|
|
5835
5835
|
return K2(v.response, {
|
|
5836
5836
|
thenDelegate: c,
|
|
5837
|
-
catchDelegate:
|
|
5837
|
+
catchDelegate: a
|
|
5838
5838
|
});
|
|
5839
5839
|
}
|
|
5840
5840
|
function ue2(c) {
|
|
5841
5841
|
N2(v.response, c);
|
|
5842
5842
|
}
|
|
5843
|
-
function w({ request: c, isCollection:
|
|
5843
|
+
function w({ request: c, isCollection: a, config: m2 }) {
|
|
5844
5844
|
const p = z2(m2), { id: R, cancelToken: $e2 } = q$1.save();
|
|
5845
5845
|
p.cancelToken = $e2;
|
|
5846
5846
|
const W2 = (async function() {
|
|
@@ -5848,7 +5848,7 @@ function O$1({ options: t2 }) {
|
|
|
5848
5848
|
const d = await c(p);
|
|
5849
5849
|
return oe2({
|
|
5850
5850
|
response: d,
|
|
5851
|
-
isCollection:
|
|
5851
|
+
isCollection: a,
|
|
5852
5852
|
config: p
|
|
5853
5853
|
});
|
|
5854
5854
|
} catch (d) {
|
|
@@ -5859,8 +5859,8 @@ function O$1({ options: t2 }) {
|
|
|
5859
5859
|
})();
|
|
5860
5860
|
return W2.cancel = (d) => I$1.cancelById(R, d), W2;
|
|
5861
5861
|
}
|
|
5862
|
-
function oe2({ response: c, isCollection:
|
|
5863
|
-
return
|
|
5862
|
+
function oe2({ response: c, isCollection: a, config: m2 }) {
|
|
5863
|
+
return a ? new ye$1(c, m2) : new ee$1(c, m2);
|
|
5864
5864
|
}
|
|
5865
5865
|
function L2({ error: c }) {
|
|
5866
5866
|
if (axios.isCancel(c))
|
|
@@ -5884,58 +5884,58 @@ function O$1({ options: t2 }) {
|
|
|
5884
5884
|
}
|
|
5885
5885
|
function le2(c) {
|
|
5886
5886
|
return c.params !== void 0 && (c.params = Object.keys(c.params).filter(
|
|
5887
|
-
(
|
|
5888
|
-
).reduce((
|
|
5887
|
+
(a) => c.params[a] !== null && c.params[a] !== ""
|
|
5888
|
+
).reduce((a, m2) => (a[m2] = c.params[m2], a), {})), c;
|
|
5889
5889
|
}
|
|
5890
5890
|
function z2(c = {}) {
|
|
5891
5891
|
return { ...le2(c) };
|
|
5892
5892
|
}
|
|
5893
|
-
function U2(c,
|
|
5893
|
+
function U2(c, a = {}) {
|
|
5894
5894
|
return w({
|
|
5895
5895
|
request: (m2) => e2.get(c, m2),
|
|
5896
|
-
config: { params:
|
|
5896
|
+
config: { params: a }
|
|
5897
5897
|
});
|
|
5898
5898
|
}
|
|
5899
|
-
function ce2(c,
|
|
5899
|
+
function ce2(c, a) {
|
|
5900
5900
|
return w({
|
|
5901
5901
|
request: (m2) => e2.get(c, m2),
|
|
5902
|
-
config: { params:
|
|
5902
|
+
config: { params: a },
|
|
5903
5903
|
isCollection: true
|
|
5904
5904
|
});
|
|
5905
5905
|
}
|
|
5906
|
-
function V2(c,
|
|
5906
|
+
function V2(c, a, m2 = {}) {
|
|
5907
5907
|
let p = {};
|
|
5908
5908
|
return m2.authenticate === false && (p = { headers: l() }, delete p.headers.common["REB-APIKEY"], delete p.headers.common.Authorization), m2.params && (p.params = { ...m2.params }), w({
|
|
5909
|
-
request: (R) => e2.post(c,
|
|
5909
|
+
request: (R) => e2.post(c, a, R),
|
|
5910
5910
|
config: p
|
|
5911
5911
|
});
|
|
5912
5912
|
}
|
|
5913
|
-
function J2(c,
|
|
5913
|
+
function J2(c, a, m2 = {}) {
|
|
5914
5914
|
return w({
|
|
5915
|
-
request: (p) => e2.put(c,
|
|
5915
|
+
request: (p) => e2.put(c, a, p),
|
|
5916
5916
|
config: { params: m2 }
|
|
5917
5917
|
});
|
|
5918
5918
|
}
|
|
5919
|
-
function ie2(c,
|
|
5919
|
+
function ie2(c, a) {
|
|
5920
5920
|
return w({
|
|
5921
|
-
request: (m2) => e2.patch(c,
|
|
5921
|
+
request: (m2) => e2.patch(c, a, m2),
|
|
5922
5922
|
config: {}
|
|
5923
5923
|
});
|
|
5924
5924
|
}
|
|
5925
|
-
function
|
|
5925
|
+
function ae2(c) {
|
|
5926
5926
|
return w({
|
|
5927
|
-
request: (
|
|
5927
|
+
request: (a) => e2.delete(c, a),
|
|
5928
5928
|
config: {}
|
|
5929
5929
|
});
|
|
5930
5930
|
}
|
|
5931
|
-
function
|
|
5931
|
+
function ge(c, a) {
|
|
5932
5932
|
return w({
|
|
5933
5933
|
request: (m2) => e2.delete(c, m2),
|
|
5934
|
-
config: { data: { ...
|
|
5934
|
+
config: { data: { ...a } }
|
|
5935
5935
|
});
|
|
5936
5936
|
}
|
|
5937
|
-
async function me2(c,
|
|
5938
|
-
if (
|
|
5937
|
+
async function me2(c, a, m2, p = {}) {
|
|
5938
|
+
if (a === "")
|
|
5939
5939
|
return V2(c, m2, { params: p });
|
|
5940
5940
|
try {
|
|
5941
5941
|
if ((await U2(c)).response.status === 200)
|
|
@@ -5948,8 +5948,8 @@ function O$1({ options: t2 }) {
|
|
|
5948
5948
|
throw R;
|
|
5949
5949
|
}
|
|
5950
5950
|
}
|
|
5951
|
-
async function fe2(c,
|
|
5952
|
-
const m2 = z2(
|
|
5951
|
+
async function fe2(c, a) {
|
|
5952
|
+
const m2 = z2(a);
|
|
5953
5953
|
try {
|
|
5954
5954
|
const p = await e2.get(c, m2);
|
|
5955
5955
|
return new Ae$1(p, m2);
|
|
@@ -5966,15 +5966,15 @@ function O$1({ options: t2 }) {
|
|
|
5966
5966
|
setTimeout: i,
|
|
5967
5967
|
setProxyAgent: $2,
|
|
5968
5968
|
setSessionToken: f,
|
|
5969
|
-
setPublishableKey:
|
|
5969
|
+
setPublishableKey: g,
|
|
5970
5970
|
setEndpoints: h2,
|
|
5971
5971
|
get: U2,
|
|
5972
5972
|
getAll: ce2,
|
|
5973
5973
|
post: V2,
|
|
5974
5974
|
put: J2,
|
|
5975
5975
|
patch: ie2,
|
|
5976
|
-
delete:
|
|
5977
|
-
deleteAll:
|
|
5976
|
+
delete: ae2,
|
|
5977
|
+
deleteAll: ge,
|
|
5978
5978
|
create: me2,
|
|
5979
5979
|
download: fe2
|
|
5980
5980
|
};
|
|
@@ -7015,7 +7015,7 @@ function it$1({ apiHandler: t2 }) {
|
|
|
7015
7015
|
}
|
|
7016
7016
|
};
|
|
7017
7017
|
}
|
|
7018
|
-
function
|
|
7018
|
+
function at$1({ apiHandler: t2 }) {
|
|
7019
7019
|
return {
|
|
7020
7020
|
/**
|
|
7021
7021
|
* @param { rebilly.GetEmailNotificationCollectionRequest } request
|
|
@@ -7027,7 +7027,7 @@ function gt$1({ apiHandler: t2 }) {
|
|
|
7027
7027
|
}
|
|
7028
7028
|
};
|
|
7029
7029
|
}
|
|
7030
|
-
function
|
|
7030
|
+
function gt$1({ apiHandler: t2 }) {
|
|
7031
7031
|
return {
|
|
7032
7032
|
/**
|
|
7033
7033
|
* @param { rebilly.GetEventCollectionRequest } request
|
|
@@ -7332,7 +7332,7 @@ function pt$1({ apiHandler: t2 }) {
|
|
|
7332
7332
|
const o2 = this.getAllAttachments(s);
|
|
7333
7333
|
r2.push(o2);
|
|
7334
7334
|
const i = (await o2).items.map(
|
|
7335
|
-
(
|
|
7335
|
+
(g) => this.detach({ id: g.fields.id })
|
|
7336
7336
|
);
|
|
7337
7337
|
r2 = [...r2, i], await Promise.all(i);
|
|
7338
7338
|
const f = t2.delete(`files/${e2}`);
|
|
@@ -9378,7 +9378,7 @@ function is({ apiHandler: t2 }) {
|
|
|
9378
9378
|
}
|
|
9379
9379
|
};
|
|
9380
9380
|
}
|
|
9381
|
-
function
|
|
9381
|
+
function as({ apiHandler: t2 }) {
|
|
9382
9382
|
return {
|
|
9383
9383
|
/**
|
|
9384
9384
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -9408,7 +9408,7 @@ function gs({ apiHandler: t2 }) {
|
|
|
9408
9408
|
}
|
|
9409
9409
|
};
|
|
9410
9410
|
}
|
|
9411
|
-
function
|
|
9411
|
+
function gs({ apiHandler: t2 }) {
|
|
9412
9412
|
return {
|
|
9413
9413
|
/**
|
|
9414
9414
|
* @param { rebilly.GetUserCollectionRequest } request
|
|
@@ -9531,7 +9531,7 @@ class $s {
|
|
|
9531
9531
|
apiHandler: e2
|
|
9532
9532
|
}), this.account = Be$1({ apiHandler: e2 }), this.allowlists = Ke$1({ apiHandler: e2 }), this.amlChecks = Ne$1({ apiHandler: e2 }), this.amlSettings = Le$1({ apiHandler: e2 }), this.apiKeys = ze$1({ apiHandler: e2 }), this.applicationInstances = Ue$1({ apiHandler: e2 }), this.applications = Ve$1({ apiHandler: e2 }), this.balanceTransactions = Je$1({ apiHandler: e2 }), this.billingPortals = We$1({ apiHandler: e2 }), this.blocklists = Ge$1({ apiHandler: e2 }), this.broadcastMessages = Ye$1({ apiHandler: e2 }), this.cashiers = Qe$1({ apiHandler: e2 }), this.checkoutForms = Xe$1({ apiHandler: e2 }), this.coupons = Ze$1({ apiHandler: e2 }), this.creditMemos = _e$1({ apiHandler: e2 }), this.customDomains = He$1({ apiHandler: e2 }), this.customFields = et$1({ apiHandler: e2 }), this.customerAuthentication = tt$1({ apiHandler: e2 }), this.customers = st$1({ apiHandler: e2 }), this.depositCustomPropertySets = rt$1({
|
|
9533
9533
|
apiHandler: e2
|
|
9534
|
-
}), this.depositRequests = nt$1({ apiHandler: e2 }), this.depositStrategies = ut$1({ apiHandler: e2 }), this.digitalWallets = ot$1({ apiHandler: e2 }), this.disputes = lt$1({ apiHandler: e2 }), this.emailDeliverySettings = ct$1({ apiHandler: e2 }), this.emailMessages = it$1({ apiHandler: e2 }), this.emailNotifications =
|
|
9534
|
+
}), this.depositRequests = nt$1({ apiHandler: e2 }), this.depositStrategies = ut$1({ apiHandler: e2 }), this.digitalWallets = ot$1({ apiHandler: e2 }), this.disputes = lt$1({ apiHandler: e2 }), this.emailDeliverySettings = ct$1({ apiHandler: e2 }), this.emailMessages = it$1({ apiHandler: e2 }), this.emailNotifications = at$1({ apiHandler: e2 }), this.events = gt$1({ apiHandler: e2 }), this.externalIdentifiers = mt$1({ apiHandler: e2 }), this.externalServicesSettings = ft$1({
|
|
9535
9535
|
apiHandler: e2
|
|
9536
9536
|
}), this.fees = $t$1({ apiHandler: e2 }), this.files = pt$1({ apiHandler: e2 }), this.gatewayAccounts = ht$1({ apiHandler: e2 }), this.integrations = yt$1({ apiHandler: e2 }), this.invoices = At$1({ apiHandler: e2 }), this.journalAccounts = Rt$1({ apiHandler: e2 }), this.journalEntries = bt$1({ apiHandler: e2 }), this.journalRecords = wt$1({ apiHandler: e2 }), this.kycDocuments = kt$1({ apiHandler: e2 }), this.kycRequests = vt$1({ apiHandler: e2 }), this.kycSettings = qt$1({ apiHandler: e2 }), this.lists = dt$1({ apiHandler: e2 }), this.memberships = Tt$1({ apiHandler: e2 }), this.orderCancellations = It$1({ apiHandler: e2 }), this.orderPauses = St$1({ apiHandler: e2 }), this.orderReactivations = Et$1({ apiHandler: e2 }), this.orders = xt$1({ apiHandler: e2 }), this.organizationExports = Pt$1({ apiHandler: e2 }), this.organizations = Ct$1({ apiHandler: e2 }), this.paymentCardsBankNames = Dt$1({ apiHandler: e2 }), this.paymentInstruments = jt$1({ apiHandler: e2 }), this.paymentMethods = Mt$1({ apiHandler: e2 }), this.paymentTokens = Ot$1({ apiHandler: e2 }), this.payoutRequestAllocations = Ft$1({
|
|
9537
9537
|
apiHandler: e2
|
|
@@ -9539,7 +9539,7 @@ class $s {
|
|
|
9539
9539
|
apiHandler: e2
|
|
9540
9540
|
}), this.subscriptionPauses = rs({ apiHandler: e2 }), this.subscriptionReactivations = ns({
|
|
9541
9541
|
apiHandler: e2
|
|
9542
|
-
}), this.subscriptions = us({ apiHandler: e2 }), this.tags = os({ apiHandler: e2 }), this.tagsRules = ls({ apiHandler: e2 }), this.tracking = cs({ apiHandler: e2 }), this.transactions = is({ apiHandler: e2 }), this.usages =
|
|
9542
|
+
}), this.subscriptions = us({ apiHandler: e2 }), this.tags = os({ apiHandler: e2 }), this.tagsRules = ls({ apiHandler: e2 }), this.tracking = cs({ apiHandler: e2 }), this.transactions = is({ apiHandler: e2 }), this.usages = as({ apiHandler: e2 }), this.users = gs({ apiHandler: e2 }), this.webhooks = ms({ apiHandler: e2 }), this.websites = fs({ apiHandler: e2 }), this.addRequestInterceptor = e2.addRequestInterceptor, this.removeRequestInterceptor = e2.removeRequestInterceptor, this.addResponseInterceptor = e2.addResponseInterceptor, this.removeResponseInterceptor = e2.removeResponseInterceptor, this.setTimeout = e2.setTimeout, this.setProxyAgent = e2.setProxyAgent, this.setSessionToken = e2.setSessionToken, this.setPublishableKey = e2.setPublishableKey, this.setEndpoints = e2.setEndpoints, this.getCancellationToken = e2.getCancellationToken, this.generateSignature = e2.generateSignature;
|
|
9543
9543
|
}
|
|
9544
9544
|
}
|
|
9545
9545
|
function ps({ apiHandler: t2 }) {
|
|
@@ -9946,7 +9946,7 @@ function As({ apiHandler: t2 }) {
|
|
|
9946
9946
|
filter: i = null,
|
|
9947
9947
|
criteria: f = null
|
|
9948
9948
|
}) {
|
|
9949
|
-
const
|
|
9949
|
+
const g = {
|
|
9950
9950
|
aggregationField: e2,
|
|
9951
9951
|
aggregationPeriod: s,
|
|
9952
9952
|
includeSwitchedSubscriptions: r2,
|
|
@@ -9957,7 +9957,7 @@ function As({ apiHandler: t2 }) {
|
|
|
9957
9957
|
filter: i,
|
|
9958
9958
|
criteria: f
|
|
9959
9959
|
};
|
|
9960
|
-
return t2.get("reports/retention-percentage",
|
|
9960
|
+
return t2.get("reports/retention-percentage", g);
|
|
9961
9961
|
},
|
|
9962
9962
|
/**
|
|
9963
9963
|
* @returns { rebilly.GetRetentionValueReportResponsePromise } response
|
|
@@ -9972,7 +9972,7 @@ function As({ apiHandler: t2 }) {
|
|
|
9972
9972
|
limit: l = null,
|
|
9973
9973
|
offset: i = null,
|
|
9974
9974
|
filter: f = null,
|
|
9975
|
-
sort:
|
|
9975
|
+
sort: g = null,
|
|
9976
9976
|
criteria: $2 = null
|
|
9977
9977
|
}) {
|
|
9978
9978
|
const h2 = {
|
|
@@ -9985,7 +9985,7 @@ function As({ apiHandler: t2 }) {
|
|
|
9985
9985
|
limit: l,
|
|
9986
9986
|
offset: i,
|
|
9987
9987
|
filter: f,
|
|
9988
|
-
sort:
|
|
9988
|
+
sort: g,
|
|
9989
9989
|
criteria: $2
|
|
9990
9990
|
};
|
|
9991
9991
|
return t2.get("reports/retention-value", h2);
|