@rebilly/instruments 16.170.1 → 16.171.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 +6 -1
- package/dist/index.js +82 -82
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [16.
|
|
1
|
+
## [16.171.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.170.1...instruments/core-v16.171.0) (2026-08-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#24624](https://github.com/Rebilly/rebilly/issues/24624)) ([785859b](https://github.com/Rebilly/rebilly/commit/785859b2cb0b7cc95267447469811999bd2edd02))
|
package/dist/index.js
CHANGED
|
@@ -5889,30 +5889,30 @@ function st$1() {
|
|
|
5889
5889
|
}
|
|
5890
5890
|
return h2.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
5891
5891
|
};
|
|
5892
|
-
function t2(
|
|
5893
|
-
return typeof
|
|
5892
|
+
function t2(a) {
|
|
5893
|
+
return typeof a.constructor == "function" ? a.constructor.name : null;
|
|
5894
5894
|
}
|
|
5895
|
-
function s(
|
|
5896
|
-
return Array.isArray ? Array.isArray(
|
|
5895
|
+
function s(a) {
|
|
5896
|
+
return Array.isArray ? Array.isArray(a) : a instanceof Array;
|
|
5897
5897
|
}
|
|
5898
|
-
function r2(
|
|
5899
|
-
return
|
|
5898
|
+
function r2(a) {
|
|
5899
|
+
return a instanceof Error || typeof a.message == "string" && a.constructor && typeof a.constructor.stackTraceLimit == "number";
|
|
5900
5900
|
}
|
|
5901
|
-
function n2(
|
|
5902
|
-
return
|
|
5901
|
+
function n2(a) {
|
|
5902
|
+
return a instanceof Date ? true : typeof a.toDateString == "function" && typeof a.getDate == "function" && typeof a.setDate == "function";
|
|
5903
5903
|
}
|
|
5904
|
-
function u(
|
|
5905
|
-
return
|
|
5904
|
+
function u(a) {
|
|
5905
|
+
return a instanceof RegExp ? true : typeof a.flags == "string" && typeof a.ignoreCase == "boolean" && typeof a.multiline == "boolean" && typeof a.global == "boolean";
|
|
5906
5906
|
}
|
|
5907
|
-
function o2(
|
|
5908
|
-
return t2(
|
|
5907
|
+
function o2(a, p) {
|
|
5908
|
+
return t2(a) === "GeneratorFunction";
|
|
5909
5909
|
}
|
|
5910
|
-
function l(
|
|
5911
|
-
return typeof
|
|
5910
|
+
function l(a) {
|
|
5911
|
+
return typeof a.throw == "function" && typeof a.return == "function" && typeof a.next == "function";
|
|
5912
5912
|
}
|
|
5913
|
-
function i(
|
|
5913
|
+
function i(a) {
|
|
5914
5914
|
try {
|
|
5915
|
-
if (typeof
|
|
5915
|
+
if (typeof a.length == "number" && typeof a.callee == "function")
|
|
5916
5916
|
return true;
|
|
5917
5917
|
} catch (p) {
|
|
5918
5918
|
if (p.message.indexOf("callee") !== -1)
|
|
@@ -5920,8 +5920,8 @@ function st$1() {
|
|
|
5920
5920
|
}
|
|
5921
5921
|
return false;
|
|
5922
5922
|
}
|
|
5923
|
-
function f(
|
|
5924
|
-
return
|
|
5923
|
+
function f(a) {
|
|
5924
|
+
return a.constructor && typeof a.constructor.isBuffer == "function" ? a.constructor.isBuffer(a) : false;
|
|
5925
5925
|
}
|
|
5926
5926
|
return x$1;
|
|
5927
5927
|
}
|
|
@@ -5973,8 +5973,8 @@ function St$1() {
|
|
|
5973
5973
|
}
|
|
5974
5974
|
}
|
|
5975
5975
|
function r2(i) {
|
|
5976
|
-
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0,
|
|
5977
|
-
return
|
|
5976
|
+
const f = i.flags !== void 0 ? i.flags : /\w+$/.exec(i) || void 0, a = new i.constructor(i.source, f);
|
|
5977
|
+
return a.lastIndex = i.lastIndex, a;
|
|
5978
5978
|
}
|
|
5979
5979
|
function n2(i) {
|
|
5980
5980
|
const f = new i.constructor(i.byteLength);
|
|
@@ -5984,8 +5984,8 @@ function St$1() {
|
|
|
5984
5984
|
return new i.constructor(i.buffer, i.byteOffset, i.length);
|
|
5985
5985
|
}
|
|
5986
5986
|
function o2(i) {
|
|
5987
|
-
const f = i.length,
|
|
5988
|
-
return i.copy(
|
|
5987
|
+
const f = i.length, a = Buffer.allocUnsafe ? Buffer.allocUnsafe(f) : Buffer.from(f);
|
|
5988
|
+
return i.copy(a), a;
|
|
5989
5989
|
}
|
|
5990
5990
|
function l(i) {
|
|
5991
5991
|
return e2 ? Object(e2.call(i)) : {};
|
|
@@ -6174,10 +6174,10 @@ function O$1({ options: e2 }) {
|
|
|
6174
6174
|
return e2.apiVersion && (c = `${c}/${e2.apiVersion}`), e2.organizationId && (c = `${c}/organizations/${e2.organizationId}`), `${c}`;
|
|
6175
6175
|
}
|
|
6176
6176
|
function o2() {
|
|
6177
|
-
const
|
|
6178
|
-
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
6177
|
+
const g = {
|
|
6178
|
+
"REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((m2) => m2).join("/")}@785859b`
|
|
6179
6179
|
};
|
|
6180
|
-
return e2.apiKey && (
|
|
6180
|
+
return e2.apiKey && (g["REB-APIKEY"] = e2.apiKey), g;
|
|
6181
6181
|
}
|
|
6182
6182
|
function l() {
|
|
6183
6183
|
return Dt$1(t2.defaults.headers);
|
|
@@ -6186,38 +6186,38 @@ function O$1({ options: e2 }) {
|
|
|
6186
6186
|
e2.requestTimeout = Number(c), t2.defaults.timeout = e2.requestTimeout;
|
|
6187
6187
|
}
|
|
6188
6188
|
function f(c = e2.jwt) {
|
|
6189
|
-
const
|
|
6190
|
-
e2.apiKey = null, e2.jwt = c, delete
|
|
6189
|
+
const g = l();
|
|
6190
|
+
e2.apiKey = null, e2.jwt = c, delete g.common["REB-APIKEY"], g.common.Authorization = `Bearer ${c}`, t2.defaults.headers = g;
|
|
6191
6191
|
}
|
|
6192
|
-
function
|
|
6193
|
-
const
|
|
6194
|
-
e2.publishableKey = c,
|
|
6192
|
+
function a(c = e2.publishableKey) {
|
|
6193
|
+
const g = l();
|
|
6194
|
+
e2.publishableKey = c, g.common.Authorization = `${c}`, t2.defaults.headers = g;
|
|
6195
6195
|
}
|
|
6196
|
-
function p({ host: c, port:
|
|
6196
|
+
function p({ host: c, port: g, auth: m2 }) {
|
|
6197
6197
|
t2.defaults.proxy = {
|
|
6198
6198
|
host: c,
|
|
6199
|
-
port:
|
|
6199
|
+
port: g,
|
|
6200
6200
|
auth: m2
|
|
6201
6201
|
};
|
|
6202
6202
|
}
|
|
6203
|
-
function h2({ live: c = null, sandbox:
|
|
6204
|
-
c && (e2.apiEndpoints.live = c),
|
|
6203
|
+
function h2({ live: c = null, sandbox: g = null }) {
|
|
6204
|
+
c && (e2.apiEndpoints.live = c), g && (e2.apiEndpoints.sandbox = g), t2.defaults.baseURL = u();
|
|
6205
6205
|
}
|
|
6206
|
-
function K2(c, { thenDelegate:
|
|
6206
|
+
function K2(c, { thenDelegate: g, catchDelegate: m2 = () => {
|
|
6207
6207
|
} }) {
|
|
6208
6208
|
return tt$1(c) && t2.interceptors[w[c]].use(
|
|
6209
|
-
|
|
6209
|
+
g,
|
|
6210
6210
|
m2
|
|
6211
6211
|
);
|
|
6212
6212
|
}
|
|
6213
|
-
function N2(c,
|
|
6214
|
-
return tt$1(c) && t2.interceptors[w[c]].eject(
|
|
6213
|
+
function N2(c, g) {
|
|
6214
|
+
return tt$1(c) && t2.interceptors[w[c]].eject(g);
|
|
6215
6215
|
}
|
|
6216
|
-
function rt2({ thenDelegate: c, catchDelegate:
|
|
6216
|
+
function rt2({ thenDelegate: c, catchDelegate: g = () => {
|
|
6217
6217
|
} }) {
|
|
6218
6218
|
return K2(w.request, {
|
|
6219
6219
|
thenDelegate: c,
|
|
6220
|
-
catchDelegate:
|
|
6220
|
+
catchDelegate: g
|
|
6221
6221
|
});
|
|
6222
6222
|
}
|
|
6223
6223
|
function nt2(c) {
|
|
@@ -6225,18 +6225,18 @@ function O$1({ options: e2 }) {
|
|
|
6225
6225
|
}
|
|
6226
6226
|
function ut2({
|
|
6227
6227
|
thenDelegate: c,
|
|
6228
|
-
catchDelegate:
|
|
6228
|
+
catchDelegate: g = () => {
|
|
6229
6229
|
}
|
|
6230
6230
|
}) {
|
|
6231
6231
|
return K2(w.response, {
|
|
6232
6232
|
thenDelegate: c,
|
|
6233
|
-
catchDelegate:
|
|
6233
|
+
catchDelegate: g
|
|
6234
6234
|
});
|
|
6235
6235
|
}
|
|
6236
6236
|
function ot2(c) {
|
|
6237
6237
|
N2(w.response, c);
|
|
6238
6238
|
}
|
|
6239
|
-
function v({ request: c, isCollection:
|
|
6239
|
+
function v({ request: c, isCollection: g, config: m2 }) {
|
|
6240
6240
|
const $2 = z2(m2), { id: b, cancelToken: $t2 } = q$1.save();
|
|
6241
6241
|
$2.cancelToken = $t2;
|
|
6242
6242
|
const G2 = (async function() {
|
|
@@ -6244,7 +6244,7 @@ function O$1({ options: e2 }) {
|
|
|
6244
6244
|
const T = await c($2);
|
|
6245
6245
|
return lt2({
|
|
6246
6246
|
response: T,
|
|
6247
|
-
isCollection:
|
|
6247
|
+
isCollection: g,
|
|
6248
6248
|
config: $2
|
|
6249
6249
|
});
|
|
6250
6250
|
} catch (T) {
|
|
@@ -6255,8 +6255,8 @@ function O$1({ options: e2 }) {
|
|
|
6255
6255
|
})();
|
|
6256
6256
|
return G2.cancel = (T) => I$1.cancelById(b, T), G2;
|
|
6257
6257
|
}
|
|
6258
|
-
function lt2({ response: c, isCollection:
|
|
6259
|
-
return
|
|
6258
|
+
function lt2({ response: c, isCollection: g, config: m2 }) {
|
|
6259
|
+
return g ? new yt$1(c, m2) : new et$1(c, m2);
|
|
6260
6260
|
}
|
|
6261
6261
|
function L2({ error: c }) {
|
|
6262
6262
|
if (axios.isCancel(c))
|
|
@@ -6280,61 +6280,61 @@ function O$1({ options: e2 }) {
|
|
|
6280
6280
|
}
|
|
6281
6281
|
function ct2(c) {
|
|
6282
6282
|
return c.params !== void 0 && (c.params = Object.keys(c.params).filter(
|
|
6283
|
-
(
|
|
6283
|
+
(g) => {
|
|
6284
6284
|
var m2;
|
|
6285
|
-
return c.params[
|
|
6285
|
+
return c.params[g] !== null && c.params[g] !== "" && !(g === "sort" && ((m2 = c.params[g]) == null ? void 0 : m2.length) === 0);
|
|
6286
6286
|
}
|
|
6287
|
-
).reduce((
|
|
6287
|
+
).reduce((g, m2) => {
|
|
6288
6288
|
const $2 = c.params[m2];
|
|
6289
|
-
return
|
|
6289
|
+
return g[m2] = m2 === "sort" && Array.isArray($2) ? $2.join(",") : $2, g;
|
|
6290
6290
|
}, {})), c;
|
|
6291
6291
|
}
|
|
6292
6292
|
function z2(c = {}) {
|
|
6293
6293
|
return { ...ct2(c) };
|
|
6294
6294
|
}
|
|
6295
|
-
function U2(c,
|
|
6295
|
+
function U2(c, g = {}) {
|
|
6296
6296
|
return v({
|
|
6297
6297
|
request: (m2) => t2.get(c, m2),
|
|
6298
|
-
config: { params:
|
|
6298
|
+
config: { params: g }
|
|
6299
6299
|
});
|
|
6300
6300
|
}
|
|
6301
|
-
function it2(c,
|
|
6301
|
+
function it2(c, g) {
|
|
6302
6302
|
return v({
|
|
6303
6303
|
request: (m2) => t2.get(c, m2),
|
|
6304
|
-
config: { params:
|
|
6304
|
+
config: { params: g },
|
|
6305
6305
|
isCollection: true
|
|
6306
6306
|
});
|
|
6307
6307
|
}
|
|
6308
|
-
function V2(c,
|
|
6308
|
+
function V2(c, g, m2 = {}) {
|
|
6309
6309
|
let $2 = {};
|
|
6310
6310
|
return m2.authenticate === false && ($2 = { headers: l() }, delete $2.headers.common["REB-APIKEY"], delete $2.headers.common.Authorization), m2.params && ($2.params = { ...m2.params }), v({
|
|
6311
|
-
request: (b) => t2.post(c,
|
|
6311
|
+
request: (b) => t2.post(c, g, b),
|
|
6312
6312
|
config: $2
|
|
6313
6313
|
});
|
|
6314
6314
|
}
|
|
6315
|
-
function J2(c,
|
|
6315
|
+
function J2(c, g, m2 = {}) {
|
|
6316
6316
|
return v({
|
|
6317
|
-
request: ($2) => t2.put(c,
|
|
6317
|
+
request: ($2) => t2.put(c, g, $2),
|
|
6318
6318
|
config: { params: m2 }
|
|
6319
6319
|
});
|
|
6320
6320
|
}
|
|
6321
|
-
function
|
|
6321
|
+
function gt2(c, g) {
|
|
6322
6322
|
return v({
|
|
6323
|
-
request: (m2) => t2.patch(c,
|
|
6323
|
+
request: (m2) => t2.patch(c, g, m2),
|
|
6324
6324
|
config: {}
|
|
6325
6325
|
});
|
|
6326
6326
|
}
|
|
6327
|
-
function W2(c,
|
|
6327
|
+
function W2(c, g = null) {
|
|
6328
6328
|
return v({
|
|
6329
6329
|
request: (m2) => t2.delete(c, m2),
|
|
6330
|
-
config:
|
|
6330
|
+
config: g != null ? { data: g } : {}
|
|
6331
6331
|
});
|
|
6332
6332
|
}
|
|
6333
|
-
function
|
|
6334
|
-
return W2(c,
|
|
6333
|
+
function at2(c, g) {
|
|
6334
|
+
return W2(c, g);
|
|
6335
6335
|
}
|
|
6336
|
-
async function mt2(c,
|
|
6337
|
-
if (
|
|
6336
|
+
async function mt2(c, g, m2, $2 = {}) {
|
|
6337
|
+
if (g === "")
|
|
6338
6338
|
return V2(c, m2, { params: $2 });
|
|
6339
6339
|
try {
|
|
6340
6340
|
if ((await U2(c)).response.status === 200)
|
|
@@ -6347,8 +6347,8 @@ function O$1({ options: e2 }) {
|
|
|
6347
6347
|
throw b;
|
|
6348
6348
|
}
|
|
6349
6349
|
}
|
|
6350
|
-
async function ft2(c,
|
|
6351
|
-
const m2 = z2(
|
|
6350
|
+
async function ft2(c, g) {
|
|
6351
|
+
const m2 = z2(g);
|
|
6352
6352
|
try {
|
|
6353
6353
|
const $2 = await t2.get(c, m2);
|
|
6354
6354
|
return new At$1($2, m2);
|
|
@@ -6365,15 +6365,15 @@ function O$1({ options: e2 }) {
|
|
|
6365
6365
|
setTimeout: i,
|
|
6366
6366
|
setProxyAgent: p,
|
|
6367
6367
|
setSessionToken: f,
|
|
6368
|
-
setPublishableKey:
|
|
6368
|
+
setPublishableKey: a,
|
|
6369
6369
|
setEndpoints: h2,
|
|
6370
6370
|
get: U2,
|
|
6371
6371
|
getAll: it2,
|
|
6372
6372
|
post: V2,
|
|
6373
6373
|
put: J2,
|
|
6374
|
-
patch:
|
|
6374
|
+
patch: gt2,
|
|
6375
6375
|
delete: W2,
|
|
6376
|
-
deleteAll:
|
|
6376
|
+
deleteAll: at2,
|
|
6377
6377
|
create: mt2,
|
|
6378
6378
|
download: ft2
|
|
6379
6379
|
};
|
|
@@ -7405,7 +7405,7 @@ function ie$1({ apiHandler: e2 }) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
};
|
|
7407
7407
|
}
|
|
7408
|
-
function
|
|
7408
|
+
function ge({ apiHandler: e2 }) {
|
|
7409
7409
|
return {
|
|
7410
7410
|
/**
|
|
7411
7411
|
* @param { rebilly.GetEmailNotificationCollectionRequest } request
|
|
@@ -7417,7 +7417,7 @@ function ae$1({ apiHandler: e2 }) {
|
|
|
7417
7417
|
}
|
|
7418
7418
|
};
|
|
7419
7419
|
}
|
|
7420
|
-
function
|
|
7420
|
+
function ae$1({ apiHandler: e2 }) {
|
|
7421
7421
|
return {
|
|
7422
7422
|
/**
|
|
7423
7423
|
* @param { rebilly.GetEventCollectionRequest } request
|
|
@@ -7722,7 +7722,7 @@ function pe$1({ apiHandler: e2 }) {
|
|
|
7722
7722
|
const o2 = this.getAllAttachments(s);
|
|
7723
7723
|
r2.push(o2);
|
|
7724
7724
|
const i = (await o2).items.map(
|
|
7725
|
-
(
|
|
7725
|
+
(a) => this.detach({ id: a.fields.id })
|
|
7726
7726
|
);
|
|
7727
7727
|
r2 = [...r2, i], await Promise.all(i);
|
|
7728
7728
|
const f = e2.delete(`files/${t2}`);
|
|
@@ -9792,7 +9792,7 @@ function is({ apiHandler: e2 }) {
|
|
|
9792
9792
|
}
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
|
-
function
|
|
9795
|
+
function gs({ apiHandler: e2 }) {
|
|
9796
9796
|
return {
|
|
9797
9797
|
/**
|
|
9798
9798
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -9822,7 +9822,7 @@ function as({ apiHandler: e2 }) {
|
|
|
9822
9822
|
}
|
|
9823
9823
|
};
|
|
9824
9824
|
}
|
|
9825
|
-
function
|
|
9825
|
+
function as({ apiHandler: e2 }) {
|
|
9826
9826
|
return {
|
|
9827
9827
|
/**
|
|
9828
9828
|
* @param { rebilly.GetUserCollectionRequest } request
|
|
@@ -9945,7 +9945,7 @@ class $s {
|
|
|
9945
9945
|
apiHandler: t2
|
|
9946
9946
|
}), this.account = Bt$1({ apiHandler: t2 }), this.allowlists = Kt$1({ apiHandler: t2 }), this.amlChecks = Nt$1({ apiHandler: t2 }), this.amlSettings = Lt$1({ apiHandler: t2 }), this.apiKeys = zt$1({ apiHandler: t2 }), this.applicationInstances = Ut$1({ apiHandler: t2 }), this.applications = Vt$1({ apiHandler: t2 }), this.balanceTransactions = Jt$1({ apiHandler: t2 }), this.billingPortals = Wt$1({ apiHandler: t2 }), this.blocklists = Gt$1({ apiHandler: t2 }), this.broadcastMessages = Yt$1({ apiHandler: t2 }), this.cashiers = Qt$1({ apiHandler: t2 }), this.checkoutForms = Xt$1({ apiHandler: t2 }), this.coupons = Zt$1({ apiHandler: t2 }), this.creditMemos = _t$1({ apiHandler: t2 }), this.customDomains = Ht$1({ apiHandler: t2 }), this.customFields = te$1({ apiHandler: t2 }), this.customerAuthentication = ee$1({ apiHandler: t2 }), this.customers = se$1({ apiHandler: t2 }), this.depositCustomPropertySets = re$1({
|
|
9947
9947
|
apiHandler: t2
|
|
9948
|
-
}), this.depositRequests = ne$1({ apiHandler: t2 }), this.depositStrategies = ue$1({ apiHandler: t2 }), this.digitalWallets = oe$1({ apiHandler: t2 }), this.disputes = le$1({ apiHandler: t2 }), this.emailDeliverySettings = ce$1({ apiHandler: t2 }), this.emailMessages = ie$1({ apiHandler: t2 }), this.emailNotifications =
|
|
9948
|
+
}), this.depositRequests = ne$1({ apiHandler: t2 }), this.depositStrategies = ue$1({ apiHandler: t2 }), this.digitalWallets = oe$1({ apiHandler: t2 }), this.disputes = le$1({ apiHandler: t2 }), this.emailDeliverySettings = ce$1({ apiHandler: t2 }), this.emailMessages = ie$1({ apiHandler: t2 }), this.emailNotifications = ge({ apiHandler: t2 }), this.events = ae$1({ apiHandler: t2 }), this.externalIdentifiers = me$1({ apiHandler: t2 }), this.externalServicesSettings = fe$1({
|
|
9949
9949
|
apiHandler: t2
|
|
9950
9950
|
}), this.fees = $e$1({ apiHandler: t2 }), this.files = pe$1({ apiHandler: t2 }), this.gatewayAccounts = he$1({ apiHandler: t2 }), this.integrations = ye$1({ apiHandler: t2 }), this.invoices = Ae$1({ apiHandler: t2 }), this.journalAccounts = be({ apiHandler: t2 }), this.journalEntries = Re$1({ apiHandler: t2 }), this.journalRecords = we$1({ apiHandler: t2 }), this.kycDocuments = ke$1({ apiHandler: t2 }), this.kycRequests = ve$1({ apiHandler: t2 }), this.kycSettings = qe$1({ apiHandler: t2 }), this.lists = Te$1({ apiHandler: t2 }), this.memberships = de$1({ apiHandler: t2 }), this.orderCancellations = Ie$1({ apiHandler: t2 }), this.orderPauses = Se$1({ apiHandler: t2 }), this.orderReactivations = Ee$1({ apiHandler: t2 }), this.orders = xe$1({ apiHandler: t2 }), this.organizationExports = Pe$1({ apiHandler: t2 }), this.organizations = Ce$1({ apiHandler: t2 }), this.paymentCardsBankNames = De$1({ apiHandler: t2 }), this.paymentInstruments = je$1({ apiHandler: t2 }), this.paymentMethods = Me$1({ apiHandler: t2 }), this.paymentTokens = Oe$1({ apiHandler: t2 }), this.payoutRequestAllocations = Fe$1({
|
|
9951
9951
|
apiHandler: t2
|
|
@@ -9953,7 +9953,7 @@ class $s {
|
|
|
9953
9953
|
apiHandler: t2
|
|
9954
9954
|
}), this.subscriptionPauses = rs({ apiHandler: t2 }), this.subscriptionReactivations = ns({
|
|
9955
9955
|
apiHandler: t2
|
|
9956
|
-
}), this.subscriptions = us({ apiHandler: t2 }), this.tags = os({ apiHandler: t2 }), this.tagsRules = ls({ apiHandler: t2 }), this.tracking = cs({ apiHandler: t2 }), this.transactions = is({ apiHandler: t2 }), this.usages =
|
|
9956
|
+
}), this.subscriptions = us({ apiHandler: t2 }), this.tags = os({ apiHandler: t2 }), this.tagsRules = ls({ apiHandler: t2 }), this.tracking = cs({ apiHandler: t2 }), this.transactions = is({ apiHandler: t2 }), this.usages = gs({ apiHandler: t2 }), this.users = as({ apiHandler: t2 }), this.webhooks = ms({ apiHandler: t2 }), this.websites = fs({ apiHandler: t2 }), this.addRequestInterceptor = t2.addRequestInterceptor, this.removeRequestInterceptor = t2.removeRequestInterceptor, this.addResponseInterceptor = t2.addResponseInterceptor, this.removeResponseInterceptor = t2.removeResponseInterceptor, this.setTimeout = t2.setTimeout, this.setProxyAgent = t2.setProxyAgent, this.setSessionToken = t2.setSessionToken, this.setPublishableKey = t2.setPublishableKey, this.setEndpoints = t2.setEndpoints, this.getCancellationToken = t2.getCancellationToken, this.generateSignature = t2.generateSignature;
|
|
9957
9957
|
}
|
|
9958
9958
|
}
|
|
9959
9959
|
function ps({ apiHandler: e2 }) {
|
|
@@ -10360,7 +10360,7 @@ function As({ apiHandler: e2 }) {
|
|
|
10360
10360
|
filter: i = null,
|
|
10361
10361
|
criteria: f = null
|
|
10362
10362
|
}) {
|
|
10363
|
-
const
|
|
10363
|
+
const a = {
|
|
10364
10364
|
aggregationField: t2,
|
|
10365
10365
|
aggregationPeriod: s,
|
|
10366
10366
|
includeSwitchedSubscriptions: r2,
|
|
@@ -10371,7 +10371,7 @@ function As({ apiHandler: e2 }) {
|
|
|
10371
10371
|
filter: i,
|
|
10372
10372
|
criteria: f
|
|
10373
10373
|
};
|
|
10374
|
-
return e2.get("reports/retention-percentage",
|
|
10374
|
+
return e2.get("reports/retention-percentage", a);
|
|
10375
10375
|
},
|
|
10376
10376
|
/**
|
|
10377
10377
|
* @returns { rebilly.GetRetentionValueReportResponsePromise } response
|
|
@@ -10386,7 +10386,7 @@ function As({ apiHandler: e2 }) {
|
|
|
10386
10386
|
limit: l = null,
|
|
10387
10387
|
offset: i = null,
|
|
10388
10388
|
filter: f = null,
|
|
10389
|
-
sort:
|
|
10389
|
+
sort: a = null,
|
|
10390
10390
|
criteria: p = null
|
|
10391
10391
|
}) {
|
|
10392
10392
|
const h2 = {
|
|
@@ -10399,7 +10399,7 @@ function As({ apiHandler: e2 }) {
|
|
|
10399
10399
|
limit: l,
|
|
10400
10400
|
offset: i,
|
|
10401
10401
|
filter: f,
|
|
10402
|
-
sort:
|
|
10402
|
+
sort: a,
|
|
10403
10403
|
criteria: p
|
|
10404
10404
|
};
|
|
10405
10405
|
return e2.get("reports/retention-value", h2);
|