@rebilly/instruments 16.214.1 → 16.215.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 +3 -3
- package/dist/index.js +168 -184
- package/dist/index.min.js +9 -9
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -963,19 +963,23 @@ class Loader {
|
|
|
963
963
|
});
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
+
const globalThis_ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof self === "object" && self || typeof global === "object" && global || /* @__PURE__ */ (function() {
|
|
967
|
+
return this;
|
|
968
|
+
})();
|
|
966
969
|
function isPrimitive(value) {
|
|
967
970
|
return value == null || typeof value !== "object" && typeof value !== "function";
|
|
968
971
|
}
|
|
969
972
|
function isTypedArray$1(x2) {
|
|
970
973
|
return ArrayBuffer.isView(x2) && !(x2 instanceof DataView);
|
|
971
974
|
}
|
|
975
|
+
function isBuffer$1(x2) {
|
|
976
|
+
return typeof globalThis_.Buffer !== "undefined" && globalThis_.Buffer.isBuffer(x2);
|
|
977
|
+
}
|
|
972
978
|
function getSymbols(object) {
|
|
973
979
|
return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
|
|
974
980
|
}
|
|
975
981
|
function getTag(value) {
|
|
976
|
-
if (value == null)
|
|
977
|
-
return value === void 0 ? "[object Undefined]" : "[object Null]";
|
|
978
|
-
}
|
|
982
|
+
if (value == null) return value === void 0 ? "[object Undefined]" : "[object Null]";
|
|
979
983
|
return Object.prototype.toString.call(value);
|
|
980
984
|
}
|
|
981
985
|
const regexpTag = "[object RegExp]";
|
|
@@ -1002,32 +1006,18 @@ const float32ArrayTag = "[object Float32Array]";
|
|
|
1002
1006
|
const float64ArrayTag = "[object Float64Array]";
|
|
1003
1007
|
function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
|
|
1004
1008
|
const cloned = cloneValue == null ? void 0 : cloneValue(valueToClone, keyToClone, objectToClone, stack);
|
|
1005
|
-
if (cloned
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
if (isPrimitive(valueToClone)) {
|
|
1009
|
-
return valueToClone;
|
|
1010
|
-
}
|
|
1011
|
-
if (stack.has(valueToClone)) {
|
|
1012
|
-
return stack.get(valueToClone);
|
|
1013
|
-
}
|
|
1009
|
+
if (cloned !== void 0) return cloned;
|
|
1010
|
+
if (isPrimitive(valueToClone)) return valueToClone;
|
|
1011
|
+
if (stack.has(valueToClone)) return stack.get(valueToClone);
|
|
1014
1012
|
if (Array.isArray(valueToClone)) {
|
|
1015
1013
|
const result = new Array(valueToClone.length);
|
|
1016
1014
|
stack.set(valueToClone, result);
|
|
1017
|
-
for (let i = 0; i < valueToClone.length; i++)
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
if (Object.hasOwn(valueToClone, "index")) {
|
|
1021
|
-
result.index = valueToClone.index;
|
|
1022
|
-
}
|
|
1023
|
-
if (Object.hasOwn(valueToClone, "input")) {
|
|
1024
|
-
result.input = valueToClone.input;
|
|
1025
|
-
}
|
|
1015
|
+
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
1016
|
+
if (Object.hasOwn(valueToClone, "index")) result.index = valueToClone.index;
|
|
1017
|
+
if (Object.hasOwn(valueToClone, "input")) result.input = valueToClone.input;
|
|
1026
1018
|
return result;
|
|
1027
1019
|
}
|
|
1028
|
-
if (valueToClone instanceof Date)
|
|
1029
|
-
return new Date(valueToClone.getTime());
|
|
1030
|
-
}
|
|
1020
|
+
if (valueToClone instanceof Date) return new Date(valueToClone.getTime());
|
|
1031
1021
|
if (valueToClone instanceof RegExp) {
|
|
1032
1022
|
const result = new RegExp(valueToClone.source, valueToClone.flags);
|
|
1033
1023
|
result.lastIndex = valueToClone.lastIndex;
|
|
@@ -1036,33 +1026,23 @@ function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @
|
|
|
1036
1026
|
if (valueToClone instanceof Map) {
|
|
1037
1027
|
const result = /* @__PURE__ */ new Map();
|
|
1038
1028
|
stack.set(valueToClone, result);
|
|
1039
|
-
for (const [key, value] of valueToClone)
|
|
1040
|
-
result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
1041
|
-
}
|
|
1029
|
+
for (const [key, value] of valueToClone) result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
1042
1030
|
return result;
|
|
1043
1031
|
}
|
|
1044
1032
|
if (valueToClone instanceof Set) {
|
|
1045
1033
|
const result = /* @__PURE__ */ new Set();
|
|
1046
1034
|
stack.set(valueToClone, result);
|
|
1047
|
-
for (const value of valueToClone)
|
|
1048
|
-
result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
|
|
1049
|
-
}
|
|
1035
|
+
for (const value of valueToClone) result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
|
|
1050
1036
|
return result;
|
|
1051
1037
|
}
|
|
1052
|
-
if (
|
|
1053
|
-
return valueToClone.subarray();
|
|
1054
|
-
}
|
|
1038
|
+
if (isBuffer$1(valueToClone)) return valueToClone.subarray();
|
|
1055
1039
|
if (isTypedArray$1(valueToClone)) {
|
|
1056
1040
|
const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
|
|
1057
1041
|
stack.set(valueToClone, result);
|
|
1058
|
-
for (let i = 0; i < valueToClone.length; i++)
|
|
1059
|
-
result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
1060
|
-
}
|
|
1042
|
+
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
1061
1043
|
return result;
|
|
1062
1044
|
}
|
|
1063
|
-
if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer)
|
|
1064
|
-
return valueToClone.slice(0);
|
|
1065
|
-
}
|
|
1045
|
+
if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) return valueToClone.slice(0);
|
|
1066
1046
|
if (valueToClone instanceof DataView) {
|
|
1067
1047
|
const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
|
|
1068
1048
|
stack.set(valueToClone, result);
|
|
@@ -1070,26 +1050,43 @@ function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @
|
|
|
1070
1050
|
return result;
|
|
1071
1051
|
}
|
|
1072
1052
|
if (typeof File !== "undefined" && valueToClone instanceof File) {
|
|
1073
|
-
const result = new File([valueToClone], valueToClone.name, {
|
|
1074
|
-
type: valueToClone.type
|
|
1075
|
-
});
|
|
1053
|
+
const result = new File([valueToClone], valueToClone.name, { type: valueToClone.type });
|
|
1076
1054
|
stack.set(valueToClone, result);
|
|
1077
1055
|
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1078
1056
|
return result;
|
|
1079
1057
|
}
|
|
1080
|
-
if (valueToClone instanceof Blob) {
|
|
1058
|
+
if (typeof Blob !== "undefined" && valueToClone instanceof Blob) {
|
|
1081
1059
|
const result = new Blob([valueToClone], { type: valueToClone.type });
|
|
1082
1060
|
stack.set(valueToClone, result);
|
|
1083
1061
|
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1084
1062
|
return result;
|
|
1085
1063
|
}
|
|
1086
1064
|
if (valueToClone instanceof Error) {
|
|
1087
|
-
const result =
|
|
1065
|
+
const result = structuredClone(valueToClone);
|
|
1088
1066
|
stack.set(valueToClone, result);
|
|
1089
1067
|
result.message = valueToClone.message;
|
|
1090
1068
|
result.name = valueToClone.name;
|
|
1091
1069
|
result.stack = valueToClone.stack;
|
|
1092
1070
|
result.cause = valueToClone.cause;
|
|
1071
|
+
result.constructor = valueToClone.constructor;
|
|
1072
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1073
|
+
return result;
|
|
1074
|
+
}
|
|
1075
|
+
if (valueToClone instanceof Boolean) {
|
|
1076
|
+
const result = new Boolean(valueToClone.valueOf());
|
|
1077
|
+
stack.set(valueToClone, result);
|
|
1078
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1079
|
+
return result;
|
|
1080
|
+
}
|
|
1081
|
+
if (valueToClone instanceof Number) {
|
|
1082
|
+
const result = new Number(valueToClone.valueOf());
|
|
1083
|
+
stack.set(valueToClone, result);
|
|
1084
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1085
|
+
return result;
|
|
1086
|
+
}
|
|
1087
|
+
if (valueToClone instanceof String) {
|
|
1088
|
+
const result = new String(valueToClone.valueOf());
|
|
1089
|
+
stack.set(valueToClone, result);
|
|
1093
1090
|
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1094
1091
|
return result;
|
|
1095
1092
|
}
|
|
@@ -1106,9 +1103,7 @@ function copyProperties(target, source, objectToClone = target, stack, cloneValu
|
|
|
1106
1103
|
for (let i = 0; i < keys.length; i++) {
|
|
1107
1104
|
const key = keys[i];
|
|
1108
1105
|
const descriptor = Object.getOwnPropertyDescriptor(target, key);
|
|
1109
|
-
if (descriptor == null || descriptor.writable)
|
|
1110
|
-
target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
|
|
1111
|
-
}
|
|
1106
|
+
if (descriptor == null || descriptor.writable) target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
|
|
1112
1107
|
}
|
|
1113
1108
|
}
|
|
1114
1109
|
function isCloneableObject(object) {
|
|
@@ -1134,28 +1129,24 @@ function isCloneableObject(object) {
|
|
|
1134
1129
|
case uint8ArrayTag:
|
|
1135
1130
|
case uint8ClampedArrayTag:
|
|
1136
1131
|
case uint16ArrayTag:
|
|
1137
|
-
case uint32ArrayTag:
|
|
1132
|
+
case uint32ArrayTag:
|
|
1138
1133
|
return true;
|
|
1139
|
-
|
|
1140
|
-
default: {
|
|
1134
|
+
default:
|
|
1141
1135
|
return false;
|
|
1142
|
-
}
|
|
1143
1136
|
}
|
|
1144
1137
|
}
|
|
1145
1138
|
function cloneDeep(obj) {
|
|
1146
1139
|
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
|
|
1147
1140
|
}
|
|
1148
1141
|
function isPlainObject$1(value) {
|
|
1149
|
-
if (!value || typeof value !== "object")
|
|
1150
|
-
return false;
|
|
1151
|
-
}
|
|
1142
|
+
if (!value || typeof value !== "object") return false;
|
|
1152
1143
|
const proto = Object.getPrototypeOf(value);
|
|
1153
|
-
|
|
1154
|
-
if (!hasObjectPrototype) {
|
|
1155
|
-
return false;
|
|
1156
|
-
}
|
|
1144
|
+
if (!(proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null)) return false;
|
|
1157
1145
|
return Object.prototype.toString.call(value) === "[object Object]";
|
|
1158
1146
|
}
|
|
1147
|
+
function isMergeableValue(value) {
|
|
1148
|
+
return isPlainObject$1(value) || Array.isArray(value);
|
|
1149
|
+
}
|
|
1159
1150
|
function isUnsafeProperty(key) {
|
|
1160
1151
|
return key === "__proto__";
|
|
1161
1152
|
}
|
|
@@ -1163,26 +1154,13 @@ function merge$1(target, source) {
|
|
|
1163
1154
|
const sourceKeys = Object.keys(source);
|
|
1164
1155
|
for (let i = 0; i < sourceKeys.length; i++) {
|
|
1165
1156
|
const key = sourceKeys[i];
|
|
1166
|
-
if (isUnsafeProperty(key))
|
|
1167
|
-
continue;
|
|
1168
|
-
}
|
|
1157
|
+
if (isUnsafeProperty(key)) continue;
|
|
1169
1158
|
const sourceValue = source[key];
|
|
1170
1159
|
const targetValue = target[key];
|
|
1171
|
-
if (
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
target[key] = merge$1([], sourceValue);
|
|
1176
|
-
}
|
|
1177
|
-
} else if (isPlainObject$1(sourceValue)) {
|
|
1178
|
-
if (isPlainObject$1(targetValue)) {
|
|
1179
|
-
target[key] = merge$1(targetValue, sourceValue);
|
|
1180
|
-
} else {
|
|
1181
|
-
target[key] = merge$1({}, sourceValue);
|
|
1182
|
-
}
|
|
1183
|
-
} else if (targetValue === void 0 || sourceValue !== void 0) {
|
|
1184
|
-
target[key] = sourceValue;
|
|
1185
|
-
}
|
|
1160
|
+
if (isMergeableValue(sourceValue) && isMergeableValue(targetValue)) target[key] = merge$1(targetValue, sourceValue);
|
|
1161
|
+
else if (Array.isArray(sourceValue)) target[key] = merge$1([], sourceValue);
|
|
1162
|
+
else if (isPlainObject$1(sourceValue)) target[key] = merge$1({}, sourceValue);
|
|
1163
|
+
else if (targetValue === void 0 || sourceValue !== void 0) target[key] = sourceValue;
|
|
1186
1164
|
}
|
|
1187
1165
|
return target;
|
|
1188
1166
|
}
|
|
@@ -1195,15 +1173,12 @@ function words(str) {
|
|
|
1195
1173
|
}
|
|
1196
1174
|
function camelCase(str) {
|
|
1197
1175
|
const words$1 = words(str);
|
|
1198
|
-
if (words$1.length === 0)
|
|
1199
|
-
return "";
|
|
1200
|
-
}
|
|
1176
|
+
if (words$1.length === 0) return "";
|
|
1201
1177
|
const [first, ...rest] = words$1;
|
|
1202
1178
|
return `${first.toLowerCase()}${rest.map((word) => capitalize(word)).join("")}`;
|
|
1203
1179
|
}
|
|
1204
1180
|
function kebabCase(str) {
|
|
1205
|
-
|
|
1206
|
-
return words$1.map((word) => word.toLowerCase()).join("-");
|
|
1181
|
+
return words(str).map((word) => word.toLowerCase()).join("-");
|
|
1207
1182
|
}
|
|
1208
1183
|
const en$1 = { "summary": { "subTotal": "Subtotal", "discounts": "Discounts", "taxes": "Taxes", "shipping": "Shipping", "total": "Total" }, "deposit": { "goBack": "Choose another amount" }, "form": { "expressCheckout": "Express checkout", "or": "Or", "popupOverlayText": "Click here to show popup window", "andMore": "and more", "error": { "noPaymentMethods": "No payment methods available for this transaction, please contact support.", "invoiceIsPaid": "The invoice has been fully paid.", "invoiceIsVoid": "The invoice has been voided.", "invoiceIsAbandoned": "The invoice has been abandoned.", "invoiceIsRefunded": "The invoice has been refunded.", "transactionIsCompleted": "The transaction is completed and cannot be updated.", "payoutCannotSelectPaymentInstrument": "The payout request cannot be updated." }, "loaderMessages": { "processingPayment": "Processing payment instrument." }, "bumpOffer": { "title": "Yes, I want to upgrade!", "startingAt": "Starting at {basePrice}" } }, "paymentMethods": { "payment-card": "Payment card", "ach": "Bank account" } };
|
|
1209
1184
|
const en$2 = {
|
|
@@ -6408,7 +6383,7 @@ E$1(I$1, "cancelAll", async (e) => {
|
|
|
6408
6383
|
for (const s of q$1.getAll())
|
|
6409
6384
|
await s.cancel(e), q$1.deleteById(s.id);
|
|
6410
6385
|
});
|
|
6411
|
-
const
|
|
6386
|
+
const ur = {
|
|
6412
6387
|
/**
|
|
6413
6388
|
* @type Cancellation.cancelAll
|
|
6414
6389
|
*/
|
|
@@ -6442,7 +6417,7 @@ function O$1({ options: t }) {
|
|
|
6442
6417
|
}
|
|
6443
6418
|
function o() {
|
|
6444
6419
|
const a = {
|
|
6445
|
-
"REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
6420
|
+
"REB-API-CONSUMER": `${["Rebilly", t.appName, "js-sdk"].filter((m2) => m2).join("/")}@f3eab18`
|
|
6446
6421
|
};
|
|
6447
6422
|
return t.apiKey && (a["REB-APIKEY"] = t.apiKey), a;
|
|
6448
6423
|
}
|
|
@@ -8890,11 +8865,18 @@ function Ot$1({ apiHandler: t }) {
|
|
|
8890
8865
|
function Ft$1({ apiHandler: t }) {
|
|
8891
8866
|
return {
|
|
8892
8867
|
create({ data: e }) {
|
|
8893
|
-
return t.post("payout-request-batch-
|
|
8868
|
+
return t.post("payout-request-batch-operations", e);
|
|
8894
8869
|
}
|
|
8895
8870
|
};
|
|
8896
8871
|
}
|
|
8897
8872
|
function Bt$1({ apiHandler: t }) {
|
|
8873
|
+
return {
|
|
8874
|
+
create({ data: e }) {
|
|
8875
|
+
return t.post("payout-request-batch-previews", e);
|
|
8876
|
+
}
|
|
8877
|
+
};
|
|
8878
|
+
}
|
|
8879
|
+
function Kt$1({ apiHandler: t }) {
|
|
8898
8880
|
return {
|
|
8899
8881
|
/**
|
|
8900
8882
|
* @param { rebilly.GetPayoutRequestBatchCollectionRequest } request
|
|
@@ -8958,14 +8940,14 @@ function Bt$1({ apiHandler: t }) {
|
|
|
8958
8940
|
}
|
|
8959
8941
|
};
|
|
8960
8942
|
}
|
|
8961
|
-
function
|
|
8943
|
+
function Nt$1({ apiHandler: t }) {
|
|
8962
8944
|
return {
|
|
8963
8945
|
create({ data: e }) {
|
|
8964
8946
|
return t.post("payout-request-splits", e);
|
|
8965
8947
|
}
|
|
8966
8948
|
};
|
|
8967
8949
|
}
|
|
8968
|
-
function
|
|
8950
|
+
function Lt$1({ apiHandler: t }) {
|
|
8969
8951
|
return {
|
|
8970
8952
|
/**
|
|
8971
8953
|
* @param { rebilly.GetPayoutRequestCollectionRequest } request
|
|
@@ -9032,14 +9014,14 @@ function Nt$1({ apiHandler: t }) {
|
|
|
9032
9014
|
}
|
|
9033
9015
|
};
|
|
9034
9016
|
}
|
|
9035
|
-
function
|
|
9017
|
+
function zt$1({ apiHandler: t }) {
|
|
9036
9018
|
return {
|
|
9037
9019
|
create({ data: e }) {
|
|
9038
9020
|
return t.post("payouts", e);
|
|
9039
9021
|
}
|
|
9040
9022
|
};
|
|
9041
9023
|
}
|
|
9042
|
-
function
|
|
9024
|
+
function Ut$1({ apiHandler: t }) {
|
|
9043
9025
|
return {
|
|
9044
9026
|
/**
|
|
9045
9027
|
* @param { rebilly.GetPlanCollectionRequest } request
|
|
@@ -9079,7 +9061,7 @@ function zt$1({ apiHandler: t }) {
|
|
|
9079
9061
|
}
|
|
9080
9062
|
};
|
|
9081
9063
|
}
|
|
9082
|
-
function
|
|
9064
|
+
function Vt$1({ apiHandler: t }) {
|
|
9083
9065
|
return {
|
|
9084
9066
|
order({ data: e }) {
|
|
9085
9067
|
return t.post("previews/orders", e);
|
|
@@ -9092,7 +9074,7 @@ function Ut$1({ apiHandler: t }) {
|
|
|
9092
9074
|
}
|
|
9093
9075
|
};
|
|
9094
9076
|
}
|
|
9095
|
-
function
|
|
9077
|
+
function Jt$1({ apiHandler: t }) {
|
|
9096
9078
|
return {
|
|
9097
9079
|
/**
|
|
9098
9080
|
* @param { rebilly.GetProductCollectionRequest } request
|
|
@@ -9132,7 +9114,7 @@ function Vt$1({ apiHandler: t }) {
|
|
|
9132
9114
|
}
|
|
9133
9115
|
};
|
|
9134
9116
|
}
|
|
9135
|
-
function
|
|
9117
|
+
function Wt$1({ apiHandler: t }) {
|
|
9136
9118
|
return {
|
|
9137
9119
|
startPermissionsEmulation({ data: e }) {
|
|
9138
9120
|
return t.post("permissions-emulation", e);
|
|
@@ -9173,14 +9155,14 @@ function Jt$1({ apiHandler: t }) {
|
|
|
9173
9155
|
}
|
|
9174
9156
|
};
|
|
9175
9157
|
}
|
|
9176
|
-
function
|
|
9158
|
+
function Gt$1({ apiHandler: t }) {
|
|
9177
9159
|
return {
|
|
9178
9160
|
readyToPay({ data: e }) {
|
|
9179
9161
|
return t.post("ready-to-pay", e);
|
|
9180
9162
|
}
|
|
9181
9163
|
};
|
|
9182
9164
|
}
|
|
9183
|
-
function
|
|
9165
|
+
function Yt$1({ apiHandler: t }) {
|
|
9184
9166
|
return {
|
|
9185
9167
|
/**
|
|
9186
9168
|
* @param { rebilly.GetQuoteCollectionRequest } request
|
|
@@ -9273,7 +9255,7 @@ function Gt$1({ apiHandler: t }) {
|
|
|
9273
9255
|
}
|
|
9274
9256
|
};
|
|
9275
9257
|
}
|
|
9276
|
-
function
|
|
9258
|
+
function Qt$1({ apiHandler: t }) {
|
|
9277
9259
|
return {
|
|
9278
9260
|
/**
|
|
9279
9261
|
* @returns { rebilly.GetReleaseFlagsResponsePromise } response
|
|
@@ -9283,7 +9265,7 @@ function Yt$1({ apiHandler: t }) {
|
|
|
9283
9265
|
}
|
|
9284
9266
|
};
|
|
9285
9267
|
}
|
|
9286
|
-
function
|
|
9268
|
+
function Xt$1({ apiHandler: t }) {
|
|
9287
9269
|
return {
|
|
9288
9270
|
/**
|
|
9289
9271
|
* @returns { rebilly.GetExternalIdentifierResponsePromise } response
|
|
@@ -9314,7 +9296,7 @@ function Qt$1({ apiHandler: t }) {
|
|
|
9314
9296
|
}
|
|
9315
9297
|
};
|
|
9316
9298
|
}
|
|
9317
|
-
function
|
|
9299
|
+
function Zt$1({ apiHandler: t }) {
|
|
9318
9300
|
return {
|
|
9319
9301
|
/**
|
|
9320
9302
|
* @returns { rebilly.GetRiskScoreRulesResponsePromise } response
|
|
@@ -9342,7 +9324,7 @@ function Xt$1({ apiHandler: t }) {
|
|
|
9342
9324
|
}
|
|
9343
9325
|
};
|
|
9344
9326
|
}
|
|
9345
|
-
function
|
|
9327
|
+
function _t$1({ apiHandler: t }) {
|
|
9346
9328
|
return {
|
|
9347
9329
|
/**
|
|
9348
9330
|
* @param { rebilly.GetRoleCollectionRequest } request
|
|
@@ -9384,7 +9366,7 @@ function Zt$1({ apiHandler: t }) {
|
|
|
9384
9366
|
}
|
|
9385
9367
|
};
|
|
9386
9368
|
}
|
|
9387
|
-
function
|
|
9369
|
+
function Ht$1({ apiHandler: t }) {
|
|
9388
9370
|
return {
|
|
9389
9371
|
/**
|
|
9390
9372
|
* @returns { rebilly.GetSearchResponsePromise } response
|
|
@@ -9395,7 +9377,7 @@ function _t$1({ apiHandler: t }) {
|
|
|
9395
9377
|
}
|
|
9396
9378
|
};
|
|
9397
9379
|
}
|
|
9398
|
-
function
|
|
9380
|
+
function es({ apiHandler: t }) {
|
|
9399
9381
|
return {
|
|
9400
9382
|
/**
|
|
9401
9383
|
* @param { rebilly.GetGridSegmentCollectionRequest } request
|
|
@@ -9435,7 +9417,7 @@ function Ht$1({ apiHandler: t }) {
|
|
|
9435
9417
|
}
|
|
9436
9418
|
};
|
|
9437
9419
|
}
|
|
9438
|
-
function
|
|
9420
|
+
function ts({ apiHandler: t }) {
|
|
9439
9421
|
return {
|
|
9440
9422
|
/**
|
|
9441
9423
|
* @returns { rebilly.GetSendThroughAttributionCollectionResponsePromise } response
|
|
@@ -9445,7 +9427,7 @@ function es({ apiHandler: t }) {
|
|
|
9445
9427
|
}
|
|
9446
9428
|
};
|
|
9447
9429
|
}
|
|
9448
|
-
function
|
|
9430
|
+
function ss({ apiHandler: t }) {
|
|
9449
9431
|
return {
|
|
9450
9432
|
/**
|
|
9451
9433
|
* @param { rebilly.GetServiceCredentialCollectionRequest } request
|
|
@@ -9496,7 +9478,7 @@ function ts({ apiHandler: t }) {
|
|
|
9496
9478
|
}
|
|
9497
9479
|
};
|
|
9498
9480
|
}
|
|
9499
|
-
function
|
|
9481
|
+
function rs({ apiHandler: t }) {
|
|
9500
9482
|
return {
|
|
9501
9483
|
/**
|
|
9502
9484
|
* @param { rebilly.GetShippingRateCollectionRequest } request
|
|
@@ -9536,7 +9518,7 @@ function ss({ apiHandler: t }) {
|
|
|
9536
9518
|
}
|
|
9537
9519
|
};
|
|
9538
9520
|
}
|
|
9539
|
-
function
|
|
9521
|
+
function ns({ apiHandler: t }) {
|
|
9540
9522
|
return {
|
|
9541
9523
|
/**
|
|
9542
9524
|
* @returns { rebilly.GetStatusResponsePromise } response
|
|
@@ -9546,7 +9528,7 @@ function rs({ apiHandler: t }) {
|
|
|
9546
9528
|
}
|
|
9547
9529
|
};
|
|
9548
9530
|
}
|
|
9549
|
-
function
|
|
9531
|
+
function us({ apiHandler: t }) {
|
|
9550
9532
|
return {
|
|
9551
9533
|
/**
|
|
9552
9534
|
* @param { rebilly.GetSubscriptionCancellationCollectionRequest } request
|
|
@@ -9577,7 +9559,7 @@ function ns({ apiHandler: t }) {
|
|
|
9577
9559
|
}
|
|
9578
9560
|
};
|
|
9579
9561
|
}
|
|
9580
|
-
function
|
|
9562
|
+
function os({ apiHandler: t }) {
|
|
9581
9563
|
return {
|
|
9582
9564
|
/**
|
|
9583
9565
|
* @param { rebilly.GetSubscriptionPauseCollectionRequest } request
|
|
@@ -9611,7 +9593,7 @@ function us({ apiHandler: t }) {
|
|
|
9611
9593
|
}
|
|
9612
9594
|
};
|
|
9613
9595
|
}
|
|
9614
|
-
function
|
|
9596
|
+
function ls({ apiHandler: t }) {
|
|
9615
9597
|
return {
|
|
9616
9598
|
/**
|
|
9617
9599
|
* @param { rebilly.GetSubscriptionReactivationCollectionRequest } request
|
|
@@ -9632,7 +9614,7 @@ function os({ apiHandler: t }) {
|
|
|
9632
9614
|
}
|
|
9633
9615
|
};
|
|
9634
9616
|
}
|
|
9635
|
-
function
|
|
9617
|
+
function cs({ apiHandler: t }) {
|
|
9636
9618
|
return {
|
|
9637
9619
|
/**
|
|
9638
9620
|
* @param { rebilly.GetSubscriptionCollectionRequest } request
|
|
@@ -9743,7 +9725,7 @@ function ls({ apiHandler: t }) {
|
|
|
9743
9725
|
}
|
|
9744
9726
|
};
|
|
9745
9727
|
}
|
|
9746
|
-
function
|
|
9728
|
+
function is({ apiHandler: t }) {
|
|
9747
9729
|
return {
|
|
9748
9730
|
/**
|
|
9749
9731
|
* @param { rebilly.GetTagCollectionRequest } request
|
|
@@ -9812,7 +9794,7 @@ function cs({ apiHandler: t }) {
|
|
|
9812
9794
|
}
|
|
9813
9795
|
};
|
|
9814
9796
|
}
|
|
9815
|
-
function
|
|
9797
|
+
function as({ apiHandler: t }) {
|
|
9816
9798
|
return {
|
|
9817
9799
|
/**
|
|
9818
9800
|
* @param { rebilly.GetTagRuleCollectionRequest } request
|
|
@@ -9852,7 +9834,7 @@ function is({ apiHandler: t }) {
|
|
|
9852
9834
|
}
|
|
9853
9835
|
};
|
|
9854
9836
|
}
|
|
9855
|
-
function
|
|
9837
|
+
function gs({ apiHandler: t }) {
|
|
9856
9838
|
return {
|
|
9857
9839
|
/**
|
|
9858
9840
|
* @param { rebilly.GetTrackingApiCollectionRequest } request
|
|
@@ -9934,7 +9916,7 @@ function as({ apiHandler: t }) {
|
|
|
9934
9916
|
}
|
|
9935
9917
|
};
|
|
9936
9918
|
}
|
|
9937
|
-
function
|
|
9919
|
+
function ms({ apiHandler: t }) {
|
|
9938
9920
|
return {
|
|
9939
9921
|
/**
|
|
9940
9922
|
* @param { rebilly.GetTransactionCollectionRequest } request
|
|
@@ -10011,7 +9993,7 @@ function gs({ apiHandler: t }) {
|
|
|
10011
9993
|
}
|
|
10012
9994
|
};
|
|
10013
9995
|
}
|
|
10014
|
-
function
|
|
9996
|
+
function fs({ apiHandler: t }) {
|
|
10015
9997
|
return {
|
|
10016
9998
|
/**
|
|
10017
9999
|
* @param { rebilly.GetUsageCollectionRequest } request
|
|
@@ -10041,7 +10023,7 @@ function ms({ apiHandler: t }) {
|
|
|
10041
10023
|
}
|
|
10042
10024
|
};
|
|
10043
10025
|
}
|
|
10044
|
-
function
|
|
10026
|
+
function ps({ apiHandler: t }) {
|
|
10045
10027
|
return {
|
|
10046
10028
|
deleteUserMembership({ organizationId: e, userId: s }) {
|
|
10047
10029
|
return t.delete(`memberships/${e}/${s}`);
|
|
@@ -10081,7 +10063,7 @@ function fs({ apiHandler: t }) {
|
|
|
10081
10063
|
}
|
|
10082
10064
|
};
|
|
10083
10065
|
}
|
|
10084
|
-
function
|
|
10066
|
+
function $s({ apiHandler: t }) {
|
|
10085
10067
|
return {
|
|
10086
10068
|
/**
|
|
10087
10069
|
* @param { rebilly.GetWebhookCollectionRequest } request
|
|
@@ -10115,7 +10097,7 @@ function ps({ apiHandler: t }) {
|
|
|
10115
10097
|
}
|
|
10116
10098
|
};
|
|
10117
10099
|
}
|
|
10118
|
-
function
|
|
10100
|
+
function hs({ apiHandler: t }) {
|
|
10119
10101
|
return {
|
|
10120
10102
|
/**
|
|
10121
10103
|
* @param { rebilly.GetWebsiteCollectionRequest } request
|
|
@@ -10155,7 +10137,7 @@ function $s({ apiHandler: t }) {
|
|
|
10155
10137
|
}
|
|
10156
10138
|
};
|
|
10157
10139
|
}
|
|
10158
|
-
class
|
|
10140
|
+
class ys {
|
|
10159
10141
|
constructor({ apiHandler: e }) {
|
|
10160
10142
|
this.account = Fe$1({ apiHandler: e }), this.allowlists = Be$1({ apiHandler: e }), this.amlChecks = Ke$1({ apiHandler: e }), this.amlSettings = Ne$1({ apiHandler: e }), this.apiKeys = Le$1({ apiHandler: e }), this.applicationInstances = ze$1({ apiHandler: e }), this.applications = Ue$1({ apiHandler: e }), this.balanceTransactions = Ve$1({ apiHandler: e }), this.billingPortals = Je$1({ apiHandler: e }), this.blocklists = We$1({ apiHandler: e }), this.broadcastMessages = Ge$1({ apiHandler: e }), this.cashiers = Ye$1({ apiHandler: e }), this.checkoutForms = Qe$1({ apiHandler: e }), this.coupons = Xe$1({ apiHandler: e }), this.creditMemos = Ze$1({ apiHandler: e }), this.customDomains = _e$1({ apiHandler: e }), this.customFields = He$1({ apiHandler: e }), this.customerAuthentication = et$1({ apiHandler: e }), this.customers = tt$1({ apiHandler: e }), this.depositCustomPropertySets = st$1({
|
|
10161
10143
|
apiHandler: e
|
|
@@ -10165,16 +10147,18 @@ class hs {
|
|
|
10165
10147
|
apiHandler: e
|
|
10166
10148
|
}), this.payoutRequestAutoAllocations = Ot$1({
|
|
10167
10149
|
apiHandler: e
|
|
10168
|
-
}), this.
|
|
10150
|
+
}), this.payoutRequestBatchOperations = Ft$1({
|
|
10151
|
+
apiHandler: e
|
|
10152
|
+
}), this.payoutRequestBatchPreviews = Bt$1({
|
|
10169
10153
|
apiHandler: e
|
|
10170
|
-
}), this.payoutRequestBatches =
|
|
10154
|
+
}), this.payoutRequestBatches = Kt$1({ apiHandler: e }), this.payoutRequestSplits = Nt$1({ apiHandler: e }), this.payoutRequests = Lt$1({ apiHandler: e }), this.payouts = zt$1({ apiHandler: e }), this.plans = Ut$1({ apiHandler: e }), this.previews = Vt$1({ apiHandler: e }), this.products = Jt$1({ apiHandler: e }), this.profile = Wt$1({ apiHandler: e }), this.purchase = Gt$1({ apiHandler: e }), this.quotes = Yt$1({ apiHandler: e }), this.releaseFlags = Qt$1({ apiHandler: e }), this.resource = Xt$1({ apiHandler: e }), this.riskScoreRules = Zt$1({ apiHandler: e }), this.roles = _t$1({ apiHandler: e }), this.search = Ht$1({ apiHandler: e }), this.segments = es({ apiHandler: e }), this.sendThroughAttribution = ts({ apiHandler: e }), this.serviceCredentials = ss({ apiHandler: e }), this.shippingRates = rs({ apiHandler: e }), this.status = ns({ apiHandler: e }), this.subscriptionCancellations = us({
|
|
10171
10155
|
apiHandler: e
|
|
10172
|
-
}), this.subscriptionPauses =
|
|
10156
|
+
}), this.subscriptionPauses = os({ apiHandler: e }), this.subscriptionReactivations = ls({
|
|
10173
10157
|
apiHandler: e
|
|
10174
|
-
}), this.subscriptions =
|
|
10158
|
+
}), this.subscriptions = cs({ apiHandler: e }), this.tags = is({ apiHandler: e }), this.tagsRules = as({ apiHandler: e }), this.tracking = gs({ apiHandler: e }), this.transactions = ms({ apiHandler: e }), this.usages = fs({ apiHandler: e }), this.users = ps({ apiHandler: e }), this.webhooks = $s({ apiHandler: e }), this.websites = hs({ 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;
|
|
10175
10159
|
}
|
|
10176
10160
|
}
|
|
10177
|
-
function
|
|
10161
|
+
function As({ apiHandler: t }) {
|
|
10178
10162
|
return {
|
|
10179
10163
|
/**
|
|
10180
10164
|
* @returns { rebilly.GetCustomerSummaryMetricReportResponsePromise } response
|
|
@@ -10184,7 +10168,7 @@ function ys({ apiHandler: t }) {
|
|
|
10184
10168
|
}
|
|
10185
10169
|
};
|
|
10186
10170
|
}
|
|
10187
|
-
function
|
|
10171
|
+
function Rs({ apiHandler: t }) {
|
|
10188
10172
|
return {
|
|
10189
10173
|
/**
|
|
10190
10174
|
* @param { rebilly.GetDataExportCollectionRequest } request
|
|
@@ -10229,7 +10213,7 @@ function As({ apiHandler: t }) {
|
|
|
10229
10213
|
}
|
|
10230
10214
|
};
|
|
10231
10215
|
}
|
|
10232
|
-
function
|
|
10216
|
+
function bs({ apiHandler: t }) {
|
|
10233
10217
|
return {
|
|
10234
10218
|
/**
|
|
10235
10219
|
* @returns { rebilly.GetHistogramAmlCheckReportResponsePromise } response
|
|
@@ -10273,7 +10257,7 @@ function Rs({ apiHandler: t }) {
|
|
|
10273
10257
|
}
|
|
10274
10258
|
};
|
|
10275
10259
|
}
|
|
10276
|
-
function
|
|
10260
|
+
function ws({ apiHandler: t }) {
|
|
10277
10261
|
return {
|
|
10278
10262
|
/**
|
|
10279
10263
|
* @returns { rebilly.GetApiLogSummaryReportResponsePromise } response
|
|
@@ -10772,7 +10756,7 @@ function bs({ apiHandler: t }) {
|
|
|
10772
10756
|
}
|
|
10773
10757
|
};
|
|
10774
10758
|
}
|
|
10775
|
-
function
|
|
10759
|
+
function ks({ apiHandler: t }) {
|
|
10776
10760
|
return {
|
|
10777
10761
|
/**
|
|
10778
10762
|
* @returns { rebilly.GetSubscriptionSummaryMetricReportResponsePromise } response
|
|
@@ -10782,7 +10766,7 @@ function ws({ apiHandler: t }) {
|
|
|
10782
10766
|
}
|
|
10783
10767
|
};
|
|
10784
10768
|
}
|
|
10785
|
-
function
|
|
10769
|
+
function vs({ apiHandler: t }) {
|
|
10786
10770
|
return {
|
|
10787
10771
|
getActivityFeed({ eventTypes: e = null, limit: s = 1e3, offset: r = 0 }) {
|
|
10788
10772
|
const n = {
|
|
@@ -10810,7 +10794,7 @@ function ks({ apiHandler: t }) {
|
|
|
10810
10794
|
}
|
|
10811
10795
|
};
|
|
10812
10796
|
}
|
|
10813
|
-
function
|
|
10797
|
+
function qs({ apiHandler: t }) {
|
|
10814
10798
|
return {
|
|
10815
10799
|
query() {
|
|
10816
10800
|
return t.get("location");
|
|
@@ -10818,15 +10802,15 @@ function vs({ apiHandler: t }) {
|
|
|
10818
10802
|
};
|
|
10819
10803
|
}
|
|
10820
10804
|
const b = {
|
|
10821
|
-
CustomersResource:
|
|
10822
|
-
DataExportsResource:
|
|
10823
|
-
HistogramsResource:
|
|
10824
|
-
ReportsResource:
|
|
10825
|
-
SubscriptionsResource:
|
|
10826
|
-
TimelinesResource:
|
|
10827
|
-
LocationResource:
|
|
10805
|
+
CustomersResource: As,
|
|
10806
|
+
DataExportsResource: Rs,
|
|
10807
|
+
HistogramsResource: bs,
|
|
10808
|
+
ReportsResource: ws,
|
|
10809
|
+
SubscriptionsResource: ks,
|
|
10810
|
+
TimelinesResource: vs,
|
|
10811
|
+
LocationResource: qs
|
|
10828
10812
|
};
|
|
10829
|
-
class
|
|
10813
|
+
class ds {
|
|
10830
10814
|
constructor({ apiHandler: e }) {
|
|
10831
10815
|
this.customers = b.CustomersResource({ apiHandler: e }), this.dataExports = b.DataExportsResource({
|
|
10832
10816
|
apiHandler: e
|
|
@@ -10835,7 +10819,7 @@ class qs {
|
|
|
10835
10819
|
}), this.timelines = b.TimelinesResource({ apiHandler: e }), this.location = b.LocationResource({ 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.setEndpoints = e.setEndpoints, this.getCancellationToken = e.getCancellationToken;
|
|
10836
10820
|
}
|
|
10837
10821
|
}
|
|
10838
|
-
function
|
|
10822
|
+
function Ts({ apiHandler: t }) {
|
|
10839
10823
|
return {
|
|
10840
10824
|
/**
|
|
10841
10825
|
* @returns { rebilly.StorefrontGetAccountResponsePromise } response
|
|
@@ -10867,7 +10851,7 @@ function ds({ apiHandler: t }) {
|
|
|
10867
10851
|
}
|
|
10868
10852
|
};
|
|
10869
10853
|
}
|
|
10870
|
-
function
|
|
10854
|
+
function Is({ apiHandler: t }) {
|
|
10871
10855
|
return {
|
|
10872
10856
|
login({ data: e }) {
|
|
10873
10857
|
return t.post("login", e);
|
|
@@ -10877,7 +10861,7 @@ function Ts({ apiHandler: t }) {
|
|
|
10877
10861
|
}
|
|
10878
10862
|
};
|
|
10879
10863
|
}
|
|
10880
|
-
function
|
|
10864
|
+
function Ss({ apiHandler: t }) {
|
|
10881
10865
|
return {
|
|
10882
10866
|
/**
|
|
10883
10867
|
* @returns { rebilly.StorefrontGetBillingPortalResponsePromise } response
|
|
@@ -10887,7 +10871,7 @@ function Is({ apiHandler: t }) {
|
|
|
10887
10871
|
}
|
|
10888
10872
|
};
|
|
10889
10873
|
}
|
|
10890
|
-
function
|
|
10874
|
+
function Es({ apiHandler: t }) {
|
|
10891
10875
|
return {
|
|
10892
10876
|
/**
|
|
10893
10877
|
* @returns { rebilly.StorefrontGetCashierResponsePromise } response
|
|
@@ -10897,7 +10881,7 @@ function Ss({ apiHandler: t }) {
|
|
|
10897
10881
|
}
|
|
10898
10882
|
};
|
|
10899
10883
|
}
|
|
10900
|
-
function
|
|
10884
|
+
function Ps({ apiHandler: t }) {
|
|
10901
10885
|
return {
|
|
10902
10886
|
/**
|
|
10903
10887
|
* @returns { rebilly.StorefrontGetCheckoutFormResponsePromise } response
|
|
@@ -10907,7 +10891,7 @@ function Es({ apiHandler: t }) {
|
|
|
10907
10891
|
}
|
|
10908
10892
|
};
|
|
10909
10893
|
}
|
|
10910
|
-
function
|
|
10894
|
+
function xs({ apiHandler: t }) {
|
|
10911
10895
|
return {
|
|
10912
10896
|
/**
|
|
10913
10897
|
* @param { rebilly.StorefrontGetCustomFieldCollectionRequest } request
|
|
@@ -10919,7 +10903,7 @@ function Ps({ apiHandler: t }) {
|
|
|
10919
10903
|
}
|
|
10920
10904
|
};
|
|
10921
10905
|
}
|
|
10922
|
-
function
|
|
10906
|
+
function Cs({ apiHandler: t }) {
|
|
10923
10907
|
return {
|
|
10924
10908
|
/**
|
|
10925
10909
|
* @returns { rebilly.StorefrontGetDepositRequestResponsePromise } response
|
|
@@ -10930,14 +10914,14 @@ function xs({ apiHandler: t }) {
|
|
|
10930
10914
|
}
|
|
10931
10915
|
};
|
|
10932
10916
|
}
|
|
10933
|
-
function
|
|
10917
|
+
function Ds({ apiHandler: t }) {
|
|
10934
10918
|
return {
|
|
10935
10919
|
create({ data: e }) {
|
|
10936
10920
|
return t.post("deposit", e);
|
|
10937
10921
|
}
|
|
10938
10922
|
};
|
|
10939
10923
|
}
|
|
10940
|
-
function
|
|
10924
|
+
function js({ apiHandler: t }) {
|
|
10941
10925
|
return {
|
|
10942
10926
|
/**
|
|
10943
10927
|
* @returns { rebilly.StorefrontGetDepositStrategyResponsePromise } response
|
|
@@ -10947,7 +10931,7 @@ function Ds({ apiHandler: t }) {
|
|
|
10947
10931
|
}
|
|
10948
10932
|
};
|
|
10949
10933
|
}
|
|
10950
|
-
function
|
|
10934
|
+
function Ms({ apiHandler: t }) {
|
|
10951
10935
|
return {
|
|
10952
10936
|
/**
|
|
10953
10937
|
* @param { rebilly.StorefrontGetInvoiceCollectionRequest } request
|
|
@@ -10983,7 +10967,7 @@ function js({ apiHandler: t }) {
|
|
|
10983
10967
|
}
|
|
10984
10968
|
};
|
|
10985
10969
|
}
|
|
10986
|
-
function
|
|
10970
|
+
function Os({ apiHandler: t }) {
|
|
10987
10971
|
return {
|
|
10988
10972
|
create({ data: e }) {
|
|
10989
10973
|
return t.post("kyc-documents", e);
|
|
@@ -10999,7 +10983,7 @@ function Ms({ apiHandler: t }) {
|
|
|
10999
10983
|
}
|
|
11000
10984
|
};
|
|
11001
10985
|
}
|
|
11002
|
-
function
|
|
10986
|
+
function Fs({ apiHandler: t }) {
|
|
11003
10987
|
return {
|
|
11004
10988
|
create({ data: e }) {
|
|
11005
10989
|
return t.post("kyc-liveness-sessions", e);
|
|
@@ -11015,7 +10999,7 @@ function Os({ apiHandler: t }) {
|
|
|
11015
10999
|
}
|
|
11016
11000
|
};
|
|
11017
11001
|
}
|
|
11018
|
-
function
|
|
11002
|
+
function Bs({ apiHandler: t }) {
|
|
11019
11003
|
return {
|
|
11020
11004
|
/**
|
|
11021
11005
|
* @returns { rebilly.StorefrontGetKycRequestResponsePromise } response
|
|
@@ -11026,7 +11010,7 @@ function Fs({ apiHandler: t }) {
|
|
|
11026
11010
|
}
|
|
11027
11011
|
};
|
|
11028
11012
|
}
|
|
11029
|
-
function
|
|
11013
|
+
function Ks({ apiHandler: t }) {
|
|
11030
11014
|
return {
|
|
11031
11015
|
/**
|
|
11032
11016
|
* @returns { rebilly.StorefrontGetOrderUpcomingInvoiceResponsePromise } response
|
|
@@ -11068,7 +11052,7 @@ function Bs({ apiHandler: t }) {
|
|
|
11068
11052
|
}
|
|
11069
11053
|
};
|
|
11070
11054
|
}
|
|
11071
|
-
function
|
|
11055
|
+
function Ns({ apiHandler: t }) {
|
|
11072
11056
|
return {
|
|
11073
11057
|
/**
|
|
11074
11058
|
* @param { rebilly.StorefrontGetPaymentInstrumentCollectionRequest } request
|
|
@@ -11111,14 +11095,14 @@ function Ks({ apiHandler: t }) {
|
|
|
11111
11095
|
}
|
|
11112
11096
|
};
|
|
11113
11097
|
}
|
|
11114
|
-
function
|
|
11098
|
+
function Ls({ apiHandler: t }) {
|
|
11115
11099
|
return {
|
|
11116
11100
|
create({ data: e }) {
|
|
11117
11101
|
return t.post("payout-request-cancellations", e);
|
|
11118
11102
|
}
|
|
11119
11103
|
};
|
|
11120
11104
|
}
|
|
11121
|
-
function
|
|
11105
|
+
function zs({ apiHandler: t }) {
|
|
11122
11106
|
return {
|
|
11123
11107
|
/**
|
|
11124
11108
|
* @param { rebilly.StorefrontGetPayoutRequestCollectionRequest } request
|
|
@@ -11148,7 +11132,7 @@ function Ls({ apiHandler: t }) {
|
|
|
11148
11132
|
}
|
|
11149
11133
|
};
|
|
11150
11134
|
}
|
|
11151
|
-
function
|
|
11135
|
+
function Us({ apiHandler: t }) {
|
|
11152
11136
|
return {
|
|
11153
11137
|
/**
|
|
11154
11138
|
* @param { rebilly.StorefrontGetPlanCollectionRequest } request
|
|
@@ -11174,7 +11158,7 @@ function zs({ apiHandler: t }) {
|
|
|
11174
11158
|
}
|
|
11175
11159
|
};
|
|
11176
11160
|
}
|
|
11177
|
-
function
|
|
11161
|
+
function Vs({ apiHandler: t }) {
|
|
11178
11162
|
return {
|
|
11179
11163
|
/**
|
|
11180
11164
|
* @param { rebilly.StorefrontGetProductCollectionRequest } request
|
|
@@ -11198,7 +11182,7 @@ function Us({ apiHandler: t }) {
|
|
|
11198
11182
|
}
|
|
11199
11183
|
};
|
|
11200
11184
|
}
|
|
11201
|
-
function
|
|
11185
|
+
function Js({ apiHandler: t }) {
|
|
11202
11186
|
return {
|
|
11203
11187
|
payment({ data: e }) {
|
|
11204
11188
|
return t.post("payment", e);
|
|
@@ -11214,7 +11198,7 @@ function Vs({ apiHandler: t }) {
|
|
|
11214
11198
|
}
|
|
11215
11199
|
};
|
|
11216
11200
|
}
|
|
11217
|
-
function
|
|
11201
|
+
function Ws({ apiHandler: t }) {
|
|
11218
11202
|
return {
|
|
11219
11203
|
/**
|
|
11220
11204
|
* @returns { rebilly.StorefrontGetQuoteResponsePromise } response
|
|
@@ -11238,21 +11222,21 @@ function Js({ apiHandler: t }) {
|
|
|
11238
11222
|
}
|
|
11239
11223
|
};
|
|
11240
11224
|
}
|
|
11241
|
-
function
|
|
11225
|
+
function Gs({ apiHandler: t }) {
|
|
11242
11226
|
return {
|
|
11243
11227
|
readyToPayout({ data: e }) {
|
|
11244
11228
|
return t.post("ready-to-payout", e);
|
|
11245
11229
|
}
|
|
11246
11230
|
};
|
|
11247
11231
|
}
|
|
11248
|
-
function
|
|
11232
|
+
function Ys({ apiHandler: t }) {
|
|
11249
11233
|
return {
|
|
11250
11234
|
reactivation({ data: e }) {
|
|
11251
11235
|
return t.post("subscription-reactivations", e);
|
|
11252
11236
|
}
|
|
11253
11237
|
};
|
|
11254
11238
|
}
|
|
11255
|
-
function
|
|
11239
|
+
function Qs({ apiHandler: t }) {
|
|
11256
11240
|
return {
|
|
11257
11241
|
changeItems({ id: e, data: s }) {
|
|
11258
11242
|
return t.post(`subscriptions/${e}/change-items`, s);
|
|
@@ -11262,7 +11246,7 @@ function Ys({ apiHandler: t }) {
|
|
|
11262
11246
|
}
|
|
11263
11247
|
};
|
|
11264
11248
|
}
|
|
11265
|
-
function
|
|
11249
|
+
function Xs({ apiHandler: t }) {
|
|
11266
11250
|
return {
|
|
11267
11251
|
/**
|
|
11268
11252
|
* @param { rebilly.StorefrontGetTransactionCollectionRequest } request
|
|
@@ -11311,7 +11295,7 @@ function Qs({ apiHandler: t }) {
|
|
|
11311
11295
|
}
|
|
11312
11296
|
};
|
|
11313
11297
|
}
|
|
11314
|
-
function
|
|
11298
|
+
function Zs({ apiHandler: t }) {
|
|
11315
11299
|
return {
|
|
11316
11300
|
/**
|
|
11317
11301
|
* @returns { rebilly.StorefrontGetWebsiteResponsePromise } response
|
|
@@ -11321,29 +11305,29 @@ function Xs({ apiHandler: t }) {
|
|
|
11321
11305
|
}
|
|
11322
11306
|
};
|
|
11323
11307
|
}
|
|
11324
|
-
class
|
|
11308
|
+
class _s {
|
|
11325
11309
|
constructor({ apiHandler: e }) {
|
|
11326
|
-
this.account =
|
|
11310
|
+
this.account = Ts({ apiHandler: e }), this.authorization = Is({ apiHandler: e }), this.billingPortals = Ss({ apiHandler: e }), this.cashiers = Es({ apiHandler: e }), this.checkoutForms = Ps({ apiHandler: e }), this.customFields = xs({ apiHandler: e }), this.depositRequests = Cs({ apiHandler: e }), this.deposit = Ds({ apiHandler: e }), this.depositStrategies = js({ apiHandler: e }), this.invoices = Ms({ apiHandler: e }), this.kycDocuments = Os({ apiHandler: e }), this.kycLivenessSessions = Fs({ apiHandler: e }), this.kycRequests = Bs({ apiHandler: e }), this.orders = Ks({ apiHandler: e }), this.paymentInstruments = Ns({ apiHandler: e }), this.payoutRequestCancellations = Ls({
|
|
11327
11311
|
apiHandler: e
|
|
11328
|
-
}), this.payoutRequests =
|
|
11312
|
+
}), this.payoutRequests = zs({ apiHandler: e }), this.plans = Us({ apiHandler: e }), this.products = Vs({ apiHandler: e }), this.purchase = Js({ apiHandler: e }), this.quotes = Ws({ apiHandler: e }), this.readyToPayout = Gs({ apiHandler: e }), this.subscriptionReactivations = Ys({
|
|
11329
11313
|
apiHandler: e
|
|
11330
|
-
}), this.subscriptions =
|
|
11314
|
+
}), this.subscriptions = Qs({ apiHandler: e }), this.transactions = Xs({ apiHandler: e }), this.websites = Zs({ apiHandler: e }), this.checkoutForm = this.checkoutForms, this.billingPortal = this.billingPortals, 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;
|
|
11331
11315
|
}
|
|
11332
11316
|
}
|
|
11333
|
-
function _s({ apiHandler: t }) {
|
|
11334
|
-
return new hs({ apiHandler: t });
|
|
11335
|
-
}
|
|
11336
11317
|
function Hs({ apiHandler: t }) {
|
|
11337
|
-
return new
|
|
11318
|
+
return new ys({ apiHandler: t });
|
|
11338
11319
|
}
|
|
11339
11320
|
function er({ apiHandler: t }) {
|
|
11340
|
-
return new
|
|
11321
|
+
return new ds({ apiHandler: t });
|
|
11322
|
+
}
|
|
11323
|
+
function tr({ apiHandler: t }) {
|
|
11324
|
+
return new _s({ apiHandler: t });
|
|
11341
11325
|
}
|
|
11342
11326
|
const F$1 = {
|
|
11343
11327
|
live: "https://api.rebilly.com",
|
|
11344
11328
|
sandbox: "https://api-sandbox.rebilly.com"
|
|
11345
11329
|
}, B$1 = 6e3;
|
|
11346
|
-
function
|
|
11330
|
+
function or({
|
|
11347
11331
|
apiKey: t = null,
|
|
11348
11332
|
sandbox: e = false,
|
|
11349
11333
|
timeout: s = B$1,
|
|
@@ -11369,9 +11353,9 @@ function ur({
|
|
|
11369
11353
|
organizationId: r,
|
|
11370
11354
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11371
11355
|
}, l = O$1({ options: o });
|
|
11372
|
-
return
|
|
11356
|
+
return Hs({ apiHandler: l });
|
|
11373
11357
|
}
|
|
11374
|
-
function
|
|
11358
|
+
function lr({
|
|
11375
11359
|
apiKey: t = null,
|
|
11376
11360
|
sandbox: e = false,
|
|
11377
11361
|
timeout: s = B$1,
|
|
@@ -11397,9 +11381,9 @@ function or({
|
|
|
11397
11381
|
organizationId: r,
|
|
11398
11382
|
appName: (u == null ? void 0 : u.appName) ?? null
|
|
11399
11383
|
}, l = O$1({ options: o });
|
|
11400
|
-
return
|
|
11384
|
+
return er({ apiHandler: l });
|
|
11401
11385
|
}
|
|
11402
|
-
function
|
|
11386
|
+
function cr({
|
|
11403
11387
|
publishableKey: t = null,
|
|
11404
11388
|
jwt: e = null,
|
|
11405
11389
|
sandbox: s = false,
|
|
@@ -11426,7 +11410,7 @@ function lr({
|
|
|
11426
11410
|
organizationId: n,
|
|
11427
11411
|
appName: (o == null ? void 0 : o.appName) ?? null
|
|
11428
11412
|
}, i = O$1({ options: l });
|
|
11429
|
-
return i.setSessionToken(l.jwt),
|
|
11413
|
+
return i.setSessionToken(l.jwt), tr({ apiHandler: i });
|
|
11430
11414
|
}
|
|
11431
11415
|
const TIMEOUT = 6e4;
|
|
11432
11416
|
function validateStateForStorefront() {
|
|
@@ -11467,15 +11451,15 @@ class StorefrontInstance {
|
|
|
11467
11451
|
appName: appName ? `${appName}/instruments` : "instruments"
|
|
11468
11452
|
}
|
|
11469
11453
|
};
|
|
11470
|
-
const api =
|
|
11454
|
+
const api = cr(config);
|
|
11471
11455
|
const rebilly = (
|
|
11472
11456
|
// @ts-expect-error refactor with above todo
|
|
11473
|
-
typeof
|
|
11457
|
+
typeof or.default === "function" ? (
|
|
11474
11458
|
// @ts-expect-error refactor with above todo
|
|
11475
|
-
|
|
11476
|
-
) :
|
|
11459
|
+
or.default(config)
|
|
11460
|
+
) : or(config)
|
|
11477
11461
|
);
|
|
11478
|
-
const experimental =
|
|
11462
|
+
const experimental = lr(config);
|
|
11479
11463
|
api.setSessionToken(publishableKey || jwt);
|
|
11480
11464
|
rebilly.setSessionToken(publishableKey || jwt);
|
|
11481
11465
|
experimental.setSessionToken(publishableKey || jwt);
|
|
@@ -15257,7 +15241,7 @@ function handleComputedProperty(options) {
|
|
|
15257
15241
|
var _a;
|
|
15258
15242
|
return Object.assign({}, options, {
|
|
15259
15243
|
_computed: {
|
|
15260
|
-
version: "16.
|
|
15244
|
+
version: "16.215.0",
|
|
15261
15245
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
15262
15246
|
}
|
|
15263
15247
|
});
|
|
@@ -18868,7 +18852,7 @@ async function destroy() {
|
|
|
18868
18852
|
if (state.form instanceof HTMLElement) {
|
|
18869
18853
|
state.form.textContent = "";
|
|
18870
18854
|
}
|
|
18871
|
-
await
|
|
18855
|
+
await ur.cancelAll();
|
|
18872
18856
|
state.loader.clearAll();
|
|
18873
18857
|
}
|
|
18874
18858
|
async function update({ newOptions = {} } = {}) {
|
|
@@ -18909,7 +18893,7 @@ class RebillyInstrumentsInstance {
|
|
|
18909
18893
|
await show({ componentName, payload });
|
|
18910
18894
|
}
|
|
18911
18895
|
get version() {
|
|
18912
|
-
return `RebillyInstruments Ver.${"16.
|
|
18896
|
+
return `RebillyInstruments Ver.${"16.215.0"}`;
|
|
18913
18897
|
}
|
|
18914
18898
|
on(eventName, callback) {
|
|
18915
18899
|
on({ eventName, callback });
|