@stacksjs/payments 0.59.11 → 0.61.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/dist/index.js +1363 -928
- package/package.json +3 -3
- package/src/drivers/stripe.ts +18 -18
- package/dist/drivers/stripe.d.ts +0 -35
- package/dist/index.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1457,6 +1457,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
1457
1457
|
return strWithoutPlus;
|
|
1458
1458
|
}
|
|
1459
1459
|
};
|
|
1460
|
+
var limit = 1024;
|
|
1460
1461
|
var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
|
1461
1462
|
if (str.length === 0) {
|
|
1462
1463
|
return str;
|
|
@@ -1473,27 +1474,32 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
1473
1474
|
});
|
|
1474
1475
|
}
|
|
1475
1476
|
var out = "";
|
|
1476
|
-
for (var
|
|
1477
|
-
var
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1477
|
+
for (var j = 0;j < string.length; j += limit) {
|
|
1478
|
+
var segment = string.length >= limit ? string.slice(j, j + limit) : string;
|
|
1479
|
+
var arr = [];
|
|
1480
|
+
for (var i = 0;i < segment.length; ++i) {
|
|
1481
|
+
var c = segment.charCodeAt(i);
|
|
1482
|
+
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
|
|
1483
|
+
arr[arr.length] = segment.charAt(i);
|
|
1484
|
+
continue;
|
|
1485
|
+
}
|
|
1486
|
+
if (c < 128) {
|
|
1487
|
+
arr[arr.length] = hexTable[c];
|
|
1488
|
+
continue;
|
|
1489
|
+
}
|
|
1490
|
+
if (c < 2048) {
|
|
1491
|
+
arr[arr.length] = hexTable[192 | c >> 6] + hexTable[128 | c & 63];
|
|
1492
|
+
continue;
|
|
1493
|
+
}
|
|
1494
|
+
if (c < 55296 || c >= 57344) {
|
|
1495
|
+
arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
1496
|
+
continue;
|
|
1497
|
+
}
|
|
1498
|
+
i += 1;
|
|
1499
|
+
c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
|
|
1500
|
+
arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
1493
1501
|
}
|
|
1494
|
-
|
|
1495
|
-
c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i) & 1023);
|
|
1496
|
-
out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
1502
|
+
out += arr.join("");
|
|
1497
1503
|
}
|
|
1498
1504
|
return out;
|
|
1499
1505
|
};
|
|
@@ -1580,10 +1586,13 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1580
1586
|
var defaults = {
|
|
1581
1587
|
addQueryPrefix: false,
|
|
1582
1588
|
allowDots: false,
|
|
1589
|
+
allowEmptyArrays: false,
|
|
1590
|
+
arrayFormat: "indices",
|
|
1583
1591
|
charset: "utf-8",
|
|
1584
1592
|
charsetSentinel: false,
|
|
1585
1593
|
delimiter: "&",
|
|
1586
1594
|
encode: true,
|
|
1595
|
+
encodeDotInKeys: false,
|
|
1587
1596
|
encoder: utils.encode,
|
|
1588
1597
|
encodeValuesOnly: false,
|
|
1589
1598
|
format: defaultFormat,
|
|
@@ -1599,7 +1608,7 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1599
1608
|
return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
|
|
1600
1609
|
};
|
|
1601
1610
|
var sentinel = {};
|
|
1602
|
-
var stringify = function stringify(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
1611
|
+
var stringify = function stringify(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
1603
1612
|
var obj = object;
|
|
1604
1613
|
var tmpSc = sideChannel;
|
|
1605
1614
|
var step = 0;
|
|
@@ -1659,18 +1668,23 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1659
1668
|
var keys = Object.keys(obj);
|
|
1660
1669
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
1661
1670
|
}
|
|
1662
|
-
var
|
|
1671
|
+
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, "%2E") : prefix;
|
|
1672
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
|
|
1673
|
+
if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
|
|
1674
|
+
return adjustedPrefix + "[]";
|
|
1675
|
+
}
|
|
1663
1676
|
for (var j = 0;j < objKeys.length; ++j) {
|
|
1664
1677
|
var key = objKeys[j];
|
|
1665
1678
|
var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
1666
1679
|
if (skipNulls && value === null) {
|
|
1667
1680
|
continue;
|
|
1668
1681
|
}
|
|
1669
|
-
var
|
|
1682
|
+
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, "%2E") : key;
|
|
1683
|
+
var keyPrefix = isArray(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
|
|
1670
1684
|
sideChannel.set(object, step);
|
|
1671
1685
|
var valueSideChannel = getSideChannel();
|
|
1672
1686
|
valueSideChannel.set(sentinel, sideChannel);
|
|
1673
|
-
pushToArray(values, stringify(value, keyPrefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, generateArrayPrefix === "comma" && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, valueSideChannel));
|
|
1687
|
+
pushToArray(values, stringify(value, keyPrefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, generateArrayPrefix === "comma" && encodeValuesOnly && isArray(obj) ? null : encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, valueSideChannel));
|
|
1674
1688
|
}
|
|
1675
1689
|
return values;
|
|
1676
1690
|
};
|
|
@@ -1678,6 +1692,12 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1678
1692
|
if (!opts) {
|
|
1679
1693
|
return defaults;
|
|
1680
1694
|
}
|
|
1695
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
1696
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1697
|
+
}
|
|
1698
|
+
if (typeof opts.encodeDotInKeys !== "undefined" && typeof opts.encodeDotInKeys !== "boolean") {
|
|
1699
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1700
|
+
}
|
|
1681
1701
|
if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
|
|
1682
1702
|
throw new TypeError("Encoder has to be a function.");
|
|
1683
1703
|
}
|
|
@@ -1697,13 +1717,29 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1697
1717
|
if (typeof opts.filter === "function" || isArray(opts.filter)) {
|
|
1698
1718
|
filter = opts.filter;
|
|
1699
1719
|
}
|
|
1720
|
+
var arrayFormat;
|
|
1721
|
+
if (opts.arrayFormat in arrayPrefixGenerators) {
|
|
1722
|
+
arrayFormat = opts.arrayFormat;
|
|
1723
|
+
} else if ("indices" in opts) {
|
|
1724
|
+
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
1725
|
+
} else {
|
|
1726
|
+
arrayFormat = defaults.arrayFormat;
|
|
1727
|
+
}
|
|
1728
|
+
if ("commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
1729
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1730
|
+
}
|
|
1731
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
1700
1732
|
return {
|
|
1701
1733
|
addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
1702
|
-
allowDots
|
|
1734
|
+
allowDots,
|
|
1735
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
1736
|
+
arrayFormat,
|
|
1703
1737
|
charset,
|
|
1704
1738
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
1739
|
+
commaRoundTrip: opts.commaRoundTrip,
|
|
1705
1740
|
delimiter: typeof opts.delimiter === "undefined" ? defaults.delimiter : opts.delimiter,
|
|
1706
1741
|
encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
|
|
1742
|
+
encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
1707
1743
|
encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
|
|
1708
1744
|
encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
1709
1745
|
filter,
|
|
@@ -1731,19 +1767,8 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1731
1767
|
if (typeof obj !== "object" || obj === null) {
|
|
1732
1768
|
return "";
|
|
1733
1769
|
}
|
|
1734
|
-
var arrayFormat;
|
|
1735
|
-
|
|
1736
|
-
arrayFormat = opts.arrayFormat;
|
|
1737
|
-
} else if (opts && "indices" in opts) {
|
|
1738
|
-
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
1739
|
-
} else {
|
|
1740
|
-
arrayFormat = "indices";
|
|
1741
|
-
}
|
|
1742
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
1743
|
-
if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
1744
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1745
|
-
}
|
|
1746
|
-
var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
|
|
1770
|
+
var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
|
|
1771
|
+
var commaRoundTrip = generateArrayPrefix === "comma" && options.commaRoundTrip;
|
|
1747
1772
|
if (!objKeys) {
|
|
1748
1773
|
objKeys = Object.keys(obj);
|
|
1749
1774
|
}
|
|
@@ -1756,7 +1781,7 @@ var require_stringify = __commonJS((exports, module) => {
|
|
|
1756
1781
|
if (options.skipNulls && obj[key] === null) {
|
|
1757
1782
|
continue;
|
|
1758
1783
|
}
|
|
1759
|
-
pushToArray(keys, stringify(obj[key], key, generateArrayPrefix, commaRoundTrip, options.strictNullHandling, options.skipNulls, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel));
|
|
1784
|
+
pushToArray(keys, stringify(obj[key], key, generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel));
|
|
1760
1785
|
}
|
|
1761
1786
|
var joined = keys.join(options.delimiter);
|
|
1762
1787
|
var prefix = options.addQueryPrefix === true ? "?" : "";
|
|
@@ -1778,15 +1803,18 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
1778
1803
|
var isArray = Array.isArray;
|
|
1779
1804
|
var defaults = {
|
|
1780
1805
|
allowDots: false,
|
|
1806
|
+
allowEmptyArrays: false,
|
|
1781
1807
|
allowPrototypes: false,
|
|
1782
1808
|
allowSparse: false,
|
|
1783
1809
|
arrayLimit: 20,
|
|
1784
1810
|
charset: "utf-8",
|
|
1785
1811
|
charsetSentinel: false,
|
|
1786
1812
|
comma: false,
|
|
1813
|
+
decodeDotInKeys: false,
|
|
1787
1814
|
decoder: utils.decode,
|
|
1788
1815
|
delimiter: "&",
|
|
1789
1816
|
depth: 5,
|
|
1817
|
+
duplicates: "combine",
|
|
1790
1818
|
ignoreQueryPrefix: false,
|
|
1791
1819
|
interpretNumericEntities: false,
|
|
1792
1820
|
parameterLimit: 1000,
|
|
@@ -1851,9 +1879,10 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
1851
1879
|
if (part.indexOf("[]=") > -1) {
|
|
1852
1880
|
val = isArray(val) ? [val] : val;
|
|
1853
1881
|
}
|
|
1854
|
-
|
|
1882
|
+
var existing = has.call(obj, key);
|
|
1883
|
+
if (existing && options.duplicates === "combine") {
|
|
1855
1884
|
obj[key] = utils.combine(obj[key], val);
|
|
1856
|
-
} else {
|
|
1885
|
+
} else if (!existing || options.duplicates === "last") {
|
|
1857
1886
|
obj[key] = val;
|
|
1858
1887
|
}
|
|
1859
1888
|
}
|
|
@@ -1865,18 +1894,19 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
1865
1894
|
var obj;
|
|
1866
1895
|
var root = chain[i];
|
|
1867
1896
|
if (root === "[]" && options.parseArrays) {
|
|
1868
|
-
obj = [].concat(leaf);
|
|
1897
|
+
obj = options.allowEmptyArrays && leaf === "" ? [] : [].concat(leaf);
|
|
1869
1898
|
} else {
|
|
1870
1899
|
obj = options.plainObjects ? Object.create(null) : {};
|
|
1871
1900
|
var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
|
|
1872
|
-
var
|
|
1873
|
-
|
|
1901
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
|
|
1902
|
+
var index = parseInt(decodedRoot, 10);
|
|
1903
|
+
if (!options.parseArrays && decodedRoot === "") {
|
|
1874
1904
|
obj = { 0: leaf };
|
|
1875
|
-
} else if (!isNaN(index) && root !==
|
|
1905
|
+
} else if (!isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
|
|
1876
1906
|
obj = [];
|
|
1877
1907
|
obj[index] = leaf;
|
|
1878
|
-
} else if (
|
|
1879
|
-
obj[
|
|
1908
|
+
} else if (decodedRoot !== "__proto__") {
|
|
1909
|
+
obj[decodedRoot] = leaf;
|
|
1880
1910
|
}
|
|
1881
1911
|
}
|
|
1882
1912
|
leaf = obj;
|
|
@@ -1920,24 +1950,38 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
1920
1950
|
if (!opts) {
|
|
1921
1951
|
return defaults;
|
|
1922
1952
|
}
|
|
1923
|
-
if (
|
|
1953
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
1954
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1955
|
+
}
|
|
1956
|
+
if (typeof opts.decodeDotInKeys !== "undefined" && typeof opts.decodeDotInKeys !== "boolean") {
|
|
1957
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1958
|
+
}
|
|
1959
|
+
if (opts.decoder !== null && typeof opts.decoder !== "undefined" && typeof opts.decoder !== "function") {
|
|
1924
1960
|
throw new TypeError("Decoder has to be a function.");
|
|
1925
1961
|
}
|
|
1926
1962
|
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
1927
1963
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1928
1964
|
}
|
|
1929
1965
|
var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
|
|
1966
|
+
var duplicates = typeof opts.duplicates === "undefined" ? defaults.duplicates : opts.duplicates;
|
|
1967
|
+
if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
|
|
1968
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
1969
|
+
}
|
|
1970
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
1930
1971
|
return {
|
|
1931
|
-
allowDots
|
|
1972
|
+
allowDots,
|
|
1973
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
1932
1974
|
allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
1933
1975
|
allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
|
|
1934
1976
|
arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
|
|
1935
1977
|
charset,
|
|
1936
1978
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
1937
1979
|
comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
|
|
1980
|
+
decodeDotInKeys: typeof opts.decodeDotInKeys === "boolean" ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
|
|
1938
1981
|
decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
|
|
1939
1982
|
delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
1940
1983
|
depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
|
|
1984
|
+
duplicates,
|
|
1941
1985
|
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
1942
1986
|
interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
1943
1987
|
parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
|
|
@@ -2018,6 +2062,41 @@ __export(exports_stripe, {
|
|
|
2018
2062
|
}
|
|
2019
2063
|
});
|
|
2020
2064
|
|
|
2065
|
+
// ../../../../node_modules/stripe/esm/platform/NodePlatformFunctions.js
|
|
2066
|
+
import * as crypto3 from "crypto";
|
|
2067
|
+
import {EventEmitter} from "events";
|
|
2068
|
+
|
|
2069
|
+
// ../../../../node_modules/stripe/esm/crypto/NodeCryptoProvider.js
|
|
2070
|
+
import * as crypto2 from "crypto";
|
|
2071
|
+
|
|
2072
|
+
// ../../../../node_modules/stripe/esm/crypto/CryptoProvider.js
|
|
2073
|
+
class CryptoProvider {
|
|
2074
|
+
computeHMACSignature(payload, secret) {
|
|
2075
|
+
throw new Error("computeHMACSignature not implemented.");
|
|
2076
|
+
}
|
|
2077
|
+
computeHMACSignatureAsync(payload, secret) {
|
|
2078
|
+
throw new Error("computeHMACSignatureAsync not implemented.");
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
class CryptoProviderOnlySupportsAsyncError extends Error {
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
// ../../../../node_modules/stripe/esm/crypto/NodeCryptoProvider.js
|
|
2086
|
+
class NodeCryptoProvider extends CryptoProvider {
|
|
2087
|
+
computeHMACSignature(payload, secret) {
|
|
2088
|
+
return crypto2.createHmac("sha256", secret).update(payload, "utf8").digest("hex");
|
|
2089
|
+
}
|
|
2090
|
+
async computeHMACSignatureAsync(payload, secret) {
|
|
2091
|
+
const signature = await this.computeHMACSignature(payload, secret);
|
|
2092
|
+
return signature;
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
// ../../../../node_modules/stripe/esm/net/NodeHttpClient.js
|
|
2097
|
+
import * as http_ from "http";
|
|
2098
|
+
import * as https_ from "https";
|
|
2099
|
+
|
|
2021
2100
|
// ../../../../node_modules/stripe/esm/net/HttpClient.js
|
|
2022
2101
|
class HttpClient {
|
|
2023
2102
|
getClientName() {
|
|
@@ -2057,6 +2136,91 @@ class HttpClientResponse {
|
|
|
2057
2136
|
}
|
|
2058
2137
|
}
|
|
2059
2138
|
|
|
2139
|
+
// ../../../../node_modules/stripe/esm/net/NodeHttpClient.js
|
|
2140
|
+
var http = http_.default || http_;
|
|
2141
|
+
var https = https_.default || https_;
|
|
2142
|
+
var defaultHttpAgent = new http.Agent({ keepAlive: true });
|
|
2143
|
+
var defaultHttpsAgent = new https.Agent({ keepAlive: true });
|
|
2144
|
+
|
|
2145
|
+
class NodeHttpClient extends HttpClient {
|
|
2146
|
+
constructor(agent) {
|
|
2147
|
+
super();
|
|
2148
|
+
this._agent = agent;
|
|
2149
|
+
}
|
|
2150
|
+
getClientName() {
|
|
2151
|
+
return "node";
|
|
2152
|
+
}
|
|
2153
|
+
makeRequest(host, port, path, method, headers, requestData, protocol, timeout) {
|
|
2154
|
+
const isInsecureConnection = protocol === "http";
|
|
2155
|
+
let agent = this._agent;
|
|
2156
|
+
if (!agent) {
|
|
2157
|
+
agent = isInsecureConnection ? defaultHttpAgent : defaultHttpsAgent;
|
|
2158
|
+
}
|
|
2159
|
+
const requestPromise = new Promise((resolve, reject) => {
|
|
2160
|
+
const req = (isInsecureConnection ? http : https).request({
|
|
2161
|
+
host,
|
|
2162
|
+
port,
|
|
2163
|
+
path,
|
|
2164
|
+
method,
|
|
2165
|
+
agent,
|
|
2166
|
+
headers,
|
|
2167
|
+
ciphers: "DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2:!MD5"
|
|
2168
|
+
});
|
|
2169
|
+
req.setTimeout(timeout, () => {
|
|
2170
|
+
req.destroy(HttpClient.makeTimeoutError());
|
|
2171
|
+
});
|
|
2172
|
+
req.on("response", (res) => {
|
|
2173
|
+
resolve(new NodeHttpClientResponse(res));
|
|
2174
|
+
});
|
|
2175
|
+
req.on("error", (error) => {
|
|
2176
|
+
reject(error);
|
|
2177
|
+
});
|
|
2178
|
+
req.once("socket", (socket) => {
|
|
2179
|
+
if (socket.connecting) {
|
|
2180
|
+
socket.once(isInsecureConnection ? "connect" : "secureConnect", () => {
|
|
2181
|
+
req.write(requestData);
|
|
2182
|
+
req.end();
|
|
2183
|
+
});
|
|
2184
|
+
} else {
|
|
2185
|
+
req.write(requestData);
|
|
2186
|
+
req.end();
|
|
2187
|
+
}
|
|
2188
|
+
});
|
|
2189
|
+
});
|
|
2190
|
+
return requestPromise;
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
class NodeHttpClientResponse extends HttpClientResponse {
|
|
2195
|
+
constructor(res) {
|
|
2196
|
+
super(res.statusCode, res.headers || {});
|
|
2197
|
+
this._res = res;
|
|
2198
|
+
}
|
|
2199
|
+
getRawResponse() {
|
|
2200
|
+
return this._res;
|
|
2201
|
+
}
|
|
2202
|
+
toStream(streamCompleteCallback) {
|
|
2203
|
+
this._res.once("end", () => streamCompleteCallback());
|
|
2204
|
+
return this._res;
|
|
2205
|
+
}
|
|
2206
|
+
toJSON() {
|
|
2207
|
+
return new Promise((resolve, reject) => {
|
|
2208
|
+
let response = "";
|
|
2209
|
+
this._res.setEncoding("utf8");
|
|
2210
|
+
this._res.on("data", (chunk) => {
|
|
2211
|
+
response += chunk;
|
|
2212
|
+
});
|
|
2213
|
+
this._res.once("end", () => {
|
|
2214
|
+
try {
|
|
2215
|
+
resolve(JSON.parse(response));
|
|
2216
|
+
} catch (e) {
|
|
2217
|
+
reject(e);
|
|
2218
|
+
}
|
|
2219
|
+
});
|
|
2220
|
+
});
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2060
2224
|
// ../../../../node_modules/stripe/esm/net/FetchHttpClient.js
|
|
2061
2225
|
class FetchHttpClient extends HttpClient {
|
|
2062
2226
|
constructor(fetchFn) {
|
|
@@ -2157,19 +2321,6 @@ class FetchHttpClientResponse extends HttpClientResponse {
|
|
|
2157
2321
|
}
|
|
2158
2322
|
}
|
|
2159
2323
|
|
|
2160
|
-
// ../../../../node_modules/stripe/esm/crypto/CryptoProvider.js
|
|
2161
|
-
class CryptoProvider {
|
|
2162
|
-
computeHMACSignature(payload, secret) {
|
|
2163
|
-
throw new Error("computeHMACSignature not implemented.");
|
|
2164
|
-
}
|
|
2165
|
-
computeHMACSignatureAsync(payload, secret) {
|
|
2166
|
-
throw new Error("computeHMACSignatureAsync not implemented.");
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
class CryptoProviderOnlySupportsAsyncError extends Error {
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
2324
|
// ../../../../node_modules/stripe/esm/crypto/SubtleCryptoProvider.js
|
|
2174
2325
|
class SubtleCryptoProvider extends CryptoProvider {
|
|
2175
2326
|
constructor(subtleCrypto) {
|
|
@@ -2252,73 +2403,6 @@ class PlatformFunctions {
|
|
|
2252
2403
|
}
|
|
2253
2404
|
}
|
|
2254
2405
|
|
|
2255
|
-
// ../../../../node_modules/stripe/esm/StripeEmitter.js
|
|
2256
|
-
class _StripeEvent extends Event {
|
|
2257
|
-
constructor(eventName, data) {
|
|
2258
|
-
super(eventName);
|
|
2259
|
-
this.data = data;
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
|
|
2263
|
-
class StripeEmitter {
|
|
2264
|
-
constructor() {
|
|
2265
|
-
this.eventTarget = new EventTarget;
|
|
2266
|
-
this.listenerMapping = new Map;
|
|
2267
|
-
}
|
|
2268
|
-
on(eventName, listener) {
|
|
2269
|
-
const listenerWrapper = (event) => {
|
|
2270
|
-
listener(event.data);
|
|
2271
|
-
};
|
|
2272
|
-
this.listenerMapping.set(listener, listenerWrapper);
|
|
2273
|
-
return this.eventTarget.addEventListener(eventName, listenerWrapper);
|
|
2274
|
-
}
|
|
2275
|
-
removeListener(eventName, listener) {
|
|
2276
|
-
const listenerWrapper = this.listenerMapping.get(listener);
|
|
2277
|
-
this.listenerMapping.delete(listener);
|
|
2278
|
-
return this.eventTarget.removeEventListener(eventName, listenerWrapper);
|
|
2279
|
-
}
|
|
2280
|
-
once(eventName, listener) {
|
|
2281
|
-
const listenerWrapper = (event) => {
|
|
2282
|
-
listener(event.data);
|
|
2283
|
-
};
|
|
2284
|
-
this.listenerMapping.set(listener, listenerWrapper);
|
|
2285
|
-
return this.eventTarget.addEventListener(eventName, listenerWrapper, {
|
|
2286
|
-
once: true
|
|
2287
|
-
});
|
|
2288
|
-
}
|
|
2289
|
-
emit(eventName, data) {
|
|
2290
|
-
return this.eventTarget.dispatchEvent(new _StripeEvent(eventName, data));
|
|
2291
|
-
}
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
// ../../../../node_modules/stripe/esm/platform/WebPlatformFunctions.js
|
|
2295
|
-
class WebPlatformFunctions extends PlatformFunctions {
|
|
2296
|
-
getUname() {
|
|
2297
|
-
return Promise.resolve(null);
|
|
2298
|
-
}
|
|
2299
|
-
createEmitter() {
|
|
2300
|
-
return new StripeEmitter;
|
|
2301
|
-
}
|
|
2302
|
-
tryBufferData(data) {
|
|
2303
|
-
if (data.file.data instanceof ReadableStream) {
|
|
2304
|
-
throw new Error("Uploading a file as a stream is not supported in non-Node environments. Please open or upvote an issue at github.com/stripe/stripe-node if you use this, detailing your use-case.");
|
|
2305
|
-
}
|
|
2306
|
-
return Promise.resolve(data);
|
|
2307
|
-
}
|
|
2308
|
-
createNodeHttpClient() {
|
|
2309
|
-
throw new Error("Stripe: `createNodeHttpClient()` is not available in non-Node environments. Please use `createFetchHttpClient()` instead.");
|
|
2310
|
-
}
|
|
2311
|
-
createDefaultHttpClient() {
|
|
2312
|
-
return super.createFetchHttpClient();
|
|
2313
|
-
}
|
|
2314
|
-
createNodeCryptoProvider() {
|
|
2315
|
-
throw new Error("Stripe: `createNodeCryptoProvider()` is not available in non-Node environments. Please use `createSubtleCryptoProvider()` instead.");
|
|
2316
|
-
}
|
|
2317
|
-
createDefaultCryptoProvider() {
|
|
2318
|
-
return this.createSubtleCryptoProvider();
|
|
2319
|
-
}
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
2406
|
// ../../../../node_modules/stripe/esm/Error.js
|
|
2323
2407
|
var exports_Error = {};
|
|
2324
2408
|
__export(exports_Error, {
|
|
@@ -2410,9 +2494,9 @@ var generate = (rawStripeError) => {
|
|
|
2410
2494
|
};
|
|
2411
2495
|
|
|
2412
2496
|
class StripeError extends Error {
|
|
2413
|
-
constructor(raw = {}) {
|
|
2497
|
+
constructor(raw = {}, type = null) {
|
|
2414
2498
|
super(raw.message);
|
|
2415
|
-
this.type = this.constructor.name;
|
|
2499
|
+
this.type = type || this.constructor.name;
|
|
2416
2500
|
this.raw = raw;
|
|
2417
2501
|
this.rawType = raw.type;
|
|
2418
2502
|
this.code = raw.code;
|
|
@@ -2435,74 +2519,398 @@ class StripeError extends Error {
|
|
|
2435
2519
|
StripeError.generate = generate;
|
|
2436
2520
|
|
|
2437
2521
|
class StripeCardError extends StripeError {
|
|
2522
|
+
constructor(raw = {}) {
|
|
2523
|
+
super(raw, "StripeCardError");
|
|
2524
|
+
}
|
|
2438
2525
|
}
|
|
2439
2526
|
|
|
2440
2527
|
class StripeInvalidRequestError extends StripeError {
|
|
2528
|
+
constructor(raw = {}) {
|
|
2529
|
+
super(raw, "StripeInvalidRequestError");
|
|
2530
|
+
}
|
|
2441
2531
|
}
|
|
2442
2532
|
|
|
2443
2533
|
class StripeAPIError extends StripeError {
|
|
2534
|
+
constructor(raw = {}) {
|
|
2535
|
+
super(raw, "StripeAPIError");
|
|
2536
|
+
}
|
|
2444
2537
|
}
|
|
2445
2538
|
|
|
2446
2539
|
class StripeAuthenticationError extends StripeError {
|
|
2540
|
+
constructor(raw = {}) {
|
|
2541
|
+
super(raw, "StripeAuthenticationError");
|
|
2542
|
+
}
|
|
2447
2543
|
}
|
|
2448
2544
|
|
|
2449
2545
|
class StripePermissionError extends StripeError {
|
|
2546
|
+
constructor(raw = {}) {
|
|
2547
|
+
super(raw, "StripePermissionError");
|
|
2548
|
+
}
|
|
2450
2549
|
}
|
|
2451
2550
|
|
|
2452
2551
|
class StripeRateLimitError extends StripeError {
|
|
2552
|
+
constructor(raw = {}) {
|
|
2553
|
+
super(raw, "StripeRateLimitError");
|
|
2554
|
+
}
|
|
2453
2555
|
}
|
|
2454
2556
|
|
|
2455
2557
|
class StripeConnectionError extends StripeError {
|
|
2558
|
+
constructor(raw = {}) {
|
|
2559
|
+
super(raw, "StripeConnectionError");
|
|
2560
|
+
}
|
|
2456
2561
|
}
|
|
2457
2562
|
|
|
2458
2563
|
class StripeSignatureVerificationError extends StripeError {
|
|
2459
2564
|
constructor(header, payload, raw = {}) {
|
|
2460
|
-
super(raw);
|
|
2565
|
+
super(raw, "StripeSignatureVerificationError");
|
|
2461
2566
|
this.header = header;
|
|
2462
2567
|
this.payload = payload;
|
|
2463
2568
|
}
|
|
2464
2569
|
}
|
|
2465
2570
|
|
|
2466
2571
|
class StripeIdempotencyError extends StripeError {
|
|
2572
|
+
constructor(raw = {}) {
|
|
2573
|
+
super(raw, "StripeIdempotencyError");
|
|
2574
|
+
}
|
|
2467
2575
|
}
|
|
2468
2576
|
|
|
2469
2577
|
class StripeInvalidGrantError extends StripeError {
|
|
2578
|
+
constructor(raw = {}) {
|
|
2579
|
+
super(raw, "StripeInvalidGrantError");
|
|
2580
|
+
}
|
|
2470
2581
|
}
|
|
2471
2582
|
|
|
2472
2583
|
class StripeUnknownError extends StripeError {
|
|
2584
|
+
constructor(raw = {}) {
|
|
2585
|
+
super(raw, "StripeUnknownError");
|
|
2586
|
+
}
|
|
2473
2587
|
}
|
|
2474
2588
|
|
|
2475
|
-
// ../../../../node_modules/stripe/esm/
|
|
2476
|
-
var
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
},
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
}
|
|
2495
|
-
}
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
{
|
|
2503
|
-
|
|
2589
|
+
// ../../../../node_modules/stripe/esm/utils.js
|
|
2590
|
+
var qs = __toESM(require_lib(), 1);
|
|
2591
|
+
function isOptionsHash(o) {
|
|
2592
|
+
return o && typeof o === "object" && OPTIONS_KEYS.some((prop) => Object.prototype.hasOwnProperty.call(o, prop));
|
|
2593
|
+
}
|
|
2594
|
+
function stringifyRequestData(data) {
|
|
2595
|
+
return qs.stringify(data, {
|
|
2596
|
+
serializeDate: (d) => Math.floor(d.getTime() / 1000).toString()
|
|
2597
|
+
}).replace(/%5B/g, "[").replace(/%5D/g, "]");
|
|
2598
|
+
}
|
|
2599
|
+
function extractUrlParams(path) {
|
|
2600
|
+
const params = path.match(/\{\w+\}/g);
|
|
2601
|
+
if (!params) {
|
|
2602
|
+
return [];
|
|
2603
|
+
}
|
|
2604
|
+
return params.map((param) => param.replace(/[{}]/g, ""));
|
|
2605
|
+
}
|
|
2606
|
+
function getDataFromArgs(args) {
|
|
2607
|
+
if (!Array.isArray(args) || !args[0] || typeof args[0] !== "object") {
|
|
2608
|
+
return {};
|
|
2609
|
+
}
|
|
2610
|
+
if (!isOptionsHash(args[0])) {
|
|
2611
|
+
return args.shift();
|
|
2612
|
+
}
|
|
2613
|
+
const argKeys = Object.keys(args[0]);
|
|
2614
|
+
const optionKeysInArgs = argKeys.filter((key) => OPTIONS_KEYS.includes(key));
|
|
2615
|
+
if (optionKeysInArgs.length > 0 && optionKeysInArgs.length !== argKeys.length) {
|
|
2616
|
+
emitWarning(`Options found in arguments (${optionKeysInArgs.join(", ")}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.`);
|
|
2617
|
+
}
|
|
2618
|
+
return {};
|
|
2619
|
+
}
|
|
2620
|
+
function getOptionsFromArgs(args) {
|
|
2621
|
+
const opts = {
|
|
2622
|
+
auth: null,
|
|
2623
|
+
host: null,
|
|
2624
|
+
headers: {},
|
|
2625
|
+
settings: {}
|
|
2626
|
+
};
|
|
2627
|
+
if (args.length > 0) {
|
|
2628
|
+
const arg = args[args.length - 1];
|
|
2629
|
+
if (typeof arg === "string") {
|
|
2630
|
+
opts.auth = args.pop();
|
|
2631
|
+
} else if (isOptionsHash(arg)) {
|
|
2632
|
+
const params = Object.assign({}, args.pop());
|
|
2633
|
+
const extraKeys = Object.keys(params).filter((key) => !OPTIONS_KEYS.includes(key));
|
|
2634
|
+
if (extraKeys.length) {
|
|
2635
|
+
emitWarning(`Invalid options found (${extraKeys.join(", ")}); ignoring.`);
|
|
2636
|
+
}
|
|
2637
|
+
if (params.apiKey) {
|
|
2638
|
+
opts.auth = params.apiKey;
|
|
2639
|
+
}
|
|
2640
|
+
if (params.idempotencyKey) {
|
|
2641
|
+
opts.headers["Idempotency-Key"] = params.idempotencyKey;
|
|
2642
|
+
}
|
|
2643
|
+
if (params.stripeAccount) {
|
|
2644
|
+
opts.headers["Stripe-Account"] = params.stripeAccount;
|
|
2645
|
+
}
|
|
2646
|
+
if (params.apiVersion) {
|
|
2647
|
+
opts.headers["Stripe-Version"] = params.apiVersion;
|
|
2648
|
+
}
|
|
2649
|
+
if (Number.isInteger(params.maxNetworkRetries)) {
|
|
2650
|
+
opts.settings.maxNetworkRetries = params.maxNetworkRetries;
|
|
2651
|
+
}
|
|
2652
|
+
if (Number.isInteger(params.timeout)) {
|
|
2653
|
+
opts.settings.timeout = params.timeout;
|
|
2654
|
+
}
|
|
2655
|
+
if (params.host) {
|
|
2656
|
+
opts.host = params.host;
|
|
2657
|
+
}
|
|
2504
2658
|
}
|
|
2505
|
-
}
|
|
2659
|
+
}
|
|
2660
|
+
return opts;
|
|
2661
|
+
}
|
|
2662
|
+
function protoExtend(sub) {
|
|
2663
|
+
const Super = this;
|
|
2664
|
+
const Constructor = Object.prototype.hasOwnProperty.call(sub, "constructor") ? sub.constructor : function(...args) {
|
|
2665
|
+
Super.apply(this, args);
|
|
2666
|
+
};
|
|
2667
|
+
Object.assign(Constructor, Super);
|
|
2668
|
+
Constructor.prototype = Object.create(Super.prototype);
|
|
2669
|
+
Object.assign(Constructor.prototype, sub);
|
|
2670
|
+
return Constructor;
|
|
2671
|
+
}
|
|
2672
|
+
function removeNullish(obj) {
|
|
2673
|
+
if (typeof obj !== "object") {
|
|
2674
|
+
throw new Error("Argument must be an object");
|
|
2675
|
+
}
|
|
2676
|
+
return Object.keys(obj).reduce((result, key) => {
|
|
2677
|
+
if (obj[key] != null) {
|
|
2678
|
+
result[key] = obj[key];
|
|
2679
|
+
}
|
|
2680
|
+
return result;
|
|
2681
|
+
}, {});
|
|
2682
|
+
}
|
|
2683
|
+
function normalizeHeaders(obj) {
|
|
2684
|
+
if (!(obj && typeof obj === "object")) {
|
|
2685
|
+
return obj;
|
|
2686
|
+
}
|
|
2687
|
+
return Object.keys(obj).reduce((result, header) => {
|
|
2688
|
+
result[normalizeHeader(header)] = obj[header];
|
|
2689
|
+
return result;
|
|
2690
|
+
}, {});
|
|
2691
|
+
}
|
|
2692
|
+
function normalizeHeader(header) {
|
|
2693
|
+
return header.split("-").map((text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase()).join("-");
|
|
2694
|
+
}
|
|
2695
|
+
function callbackifyPromiseWithTimeout(promise, callback) {
|
|
2696
|
+
if (callback) {
|
|
2697
|
+
return promise.then((res) => {
|
|
2698
|
+
setTimeout(() => {
|
|
2699
|
+
callback(null, res);
|
|
2700
|
+
}, 0);
|
|
2701
|
+
}, (err) => {
|
|
2702
|
+
setTimeout(() => {
|
|
2703
|
+
callback(err, null);
|
|
2704
|
+
}, 0);
|
|
2705
|
+
});
|
|
2706
|
+
}
|
|
2707
|
+
return promise;
|
|
2708
|
+
}
|
|
2709
|
+
function pascalToCamelCase(name) {
|
|
2710
|
+
if (name === "OAuth") {
|
|
2711
|
+
return "oauth";
|
|
2712
|
+
} else {
|
|
2713
|
+
return name[0].toLowerCase() + name.substring(1);
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
function emitWarning(warning) {
|
|
2717
|
+
if (typeof process.emitWarning !== "function") {
|
|
2718
|
+
return console.warn(`Stripe: ${warning}`);
|
|
2719
|
+
}
|
|
2720
|
+
return process.emitWarning(warning, "Stripe");
|
|
2721
|
+
}
|
|
2722
|
+
function isObject(obj) {
|
|
2723
|
+
const type = typeof obj;
|
|
2724
|
+
return (type === "function" || type === "object") && !!obj;
|
|
2725
|
+
}
|
|
2726
|
+
function flattenAndStringify(data) {
|
|
2727
|
+
const result = {};
|
|
2728
|
+
const step = (obj, prevKey) => {
|
|
2729
|
+
Object.keys(obj).forEach((key) => {
|
|
2730
|
+
const value = obj[key];
|
|
2731
|
+
const newKey = prevKey ? `${prevKey}[${key}]` : key;
|
|
2732
|
+
if (isObject(value)) {
|
|
2733
|
+
if (!(value instanceof Uint8Array) && !Object.prototype.hasOwnProperty.call(value, "data")) {
|
|
2734
|
+
return step(value, newKey);
|
|
2735
|
+
} else {
|
|
2736
|
+
result[newKey] = value;
|
|
2737
|
+
}
|
|
2738
|
+
} else {
|
|
2739
|
+
result[newKey] = String(value);
|
|
2740
|
+
}
|
|
2741
|
+
});
|
|
2742
|
+
};
|
|
2743
|
+
step(data, null);
|
|
2744
|
+
return result;
|
|
2745
|
+
}
|
|
2746
|
+
function validateInteger(name, n, defaultVal) {
|
|
2747
|
+
if (!Number.isInteger(n)) {
|
|
2748
|
+
if (defaultVal !== undefined) {
|
|
2749
|
+
return defaultVal;
|
|
2750
|
+
} else {
|
|
2751
|
+
throw new Error(`${name} must be an integer`);
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
return n;
|
|
2755
|
+
}
|
|
2756
|
+
function determineProcessUserAgentProperties() {
|
|
2757
|
+
return typeof process === "undefined" ? {} : {
|
|
2758
|
+
lang_version: process.version,
|
|
2759
|
+
platform: process.platform
|
|
2760
|
+
};
|
|
2761
|
+
}
|
|
2762
|
+
function concat(arrays) {
|
|
2763
|
+
const totalLength = arrays.reduce((len, array) => len + array.length, 0);
|
|
2764
|
+
const merged = new Uint8Array(totalLength);
|
|
2765
|
+
let offset = 0;
|
|
2766
|
+
arrays.forEach((array) => {
|
|
2767
|
+
merged.set(array, offset);
|
|
2768
|
+
offset += array.length;
|
|
2769
|
+
});
|
|
2770
|
+
return merged;
|
|
2771
|
+
}
|
|
2772
|
+
var OPTIONS_KEYS = [
|
|
2773
|
+
"apiKey",
|
|
2774
|
+
"idempotencyKey",
|
|
2775
|
+
"stripeAccount",
|
|
2776
|
+
"apiVersion",
|
|
2777
|
+
"maxNetworkRetries",
|
|
2778
|
+
"timeout",
|
|
2779
|
+
"host"
|
|
2780
|
+
];
|
|
2781
|
+
var makeURLInterpolator = (() => {
|
|
2782
|
+
const rc = {
|
|
2783
|
+
"\n": "\\n",
|
|
2784
|
+
'"': '\\"',
|
|
2785
|
+
"\u2028": "\\u2028",
|
|
2786
|
+
"\u2029": "\\u2029"
|
|
2787
|
+
};
|
|
2788
|
+
return (str) => {
|
|
2789
|
+
const cleanString = str.replace(/["\n\r\u2028\u2029]/g, ($0) => rc[$0]);
|
|
2790
|
+
return (outputs) => {
|
|
2791
|
+
return cleanString.replace(/\{([\s\S]+?)\}/g, ($0, $1) => encodeURIComponent(outputs[$1] || ""));
|
|
2792
|
+
};
|
|
2793
|
+
};
|
|
2794
|
+
})();
|
|
2795
|
+
|
|
2796
|
+
// ../../../../node_modules/stripe/esm/platform/NodePlatformFunctions.js
|
|
2797
|
+
import {exec} from "child_process";
|
|
2798
|
+
|
|
2799
|
+
class StreamProcessingError extends StripeError {
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
class NodePlatformFunctions extends PlatformFunctions {
|
|
2803
|
+
constructor() {
|
|
2804
|
+
super();
|
|
2805
|
+
this._exec = exec;
|
|
2806
|
+
this._UNAME_CACHE = null;
|
|
2807
|
+
}
|
|
2808
|
+
uuid4() {
|
|
2809
|
+
if (crypto3.randomUUID) {
|
|
2810
|
+
return crypto3.randomUUID();
|
|
2811
|
+
}
|
|
2812
|
+
return super.uuid4();
|
|
2813
|
+
}
|
|
2814
|
+
getUname() {
|
|
2815
|
+
if (!this._UNAME_CACHE) {
|
|
2816
|
+
this._UNAME_CACHE = new Promise((resolve, reject) => {
|
|
2817
|
+
try {
|
|
2818
|
+
this._exec("uname -a", (err, uname) => {
|
|
2819
|
+
if (err) {
|
|
2820
|
+
return resolve(null);
|
|
2821
|
+
}
|
|
2822
|
+
resolve(uname);
|
|
2823
|
+
});
|
|
2824
|
+
} catch (e) {
|
|
2825
|
+
resolve(null);
|
|
2826
|
+
}
|
|
2827
|
+
});
|
|
2828
|
+
}
|
|
2829
|
+
return this._UNAME_CACHE;
|
|
2830
|
+
}
|
|
2831
|
+
secureCompare(a, b) {
|
|
2832
|
+
if (!a || !b) {
|
|
2833
|
+
throw new Error("secureCompare must receive two arguments");
|
|
2834
|
+
}
|
|
2835
|
+
if (a.length !== b.length) {
|
|
2836
|
+
return false;
|
|
2837
|
+
}
|
|
2838
|
+
if (crypto3.timingSafeEqual) {
|
|
2839
|
+
const textEncoder = new TextEncoder;
|
|
2840
|
+
const aEncoded = textEncoder.encode(a);
|
|
2841
|
+
const bEncoded = textEncoder.encode(b);
|
|
2842
|
+
return crypto3.timingSafeEqual(aEncoded, bEncoded);
|
|
2843
|
+
}
|
|
2844
|
+
return super.secureCompare(a, b);
|
|
2845
|
+
}
|
|
2846
|
+
createEmitter() {
|
|
2847
|
+
return new EventEmitter;
|
|
2848
|
+
}
|
|
2849
|
+
tryBufferData(data) {
|
|
2850
|
+
if (!(data.file.data instanceof EventEmitter)) {
|
|
2851
|
+
return Promise.resolve(data);
|
|
2852
|
+
}
|
|
2853
|
+
const bufferArray = [];
|
|
2854
|
+
return new Promise((resolve, reject) => {
|
|
2855
|
+
data.file.data.on("data", (line) => {
|
|
2856
|
+
bufferArray.push(line);
|
|
2857
|
+
}).once("end", () => {
|
|
2858
|
+
const bufferData = Object.assign({}, data);
|
|
2859
|
+
bufferData.file.data = concat(bufferArray);
|
|
2860
|
+
resolve(bufferData);
|
|
2861
|
+
}).on("error", (err) => {
|
|
2862
|
+
reject(new StreamProcessingError({
|
|
2863
|
+
message: "An error occurred while attempting to process the file for upload.",
|
|
2864
|
+
detail: err
|
|
2865
|
+
}));
|
|
2866
|
+
});
|
|
2867
|
+
});
|
|
2868
|
+
}
|
|
2869
|
+
createNodeHttpClient(agent) {
|
|
2870
|
+
return new NodeHttpClient(agent);
|
|
2871
|
+
}
|
|
2872
|
+
createDefaultHttpClient() {
|
|
2873
|
+
return new NodeHttpClient;
|
|
2874
|
+
}
|
|
2875
|
+
createNodeCryptoProvider() {
|
|
2876
|
+
return new NodeCryptoProvider;
|
|
2877
|
+
}
|
|
2878
|
+
createDefaultCryptoProvider() {
|
|
2879
|
+
return this.createNodeCryptoProvider();
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
// ../../../../node_modules/stripe/esm/apiVersion.js
|
|
2884
|
+
var ApiVersion = "2024-04-10";
|
|
2885
|
+
|
|
2886
|
+
// ../../../../node_modules/stripe/esm/resources.js
|
|
2887
|
+
var exports_resources = {};
|
|
2888
|
+
__export(exports_resources, {
|
|
2889
|
+
WebhookEndpoints: () => {
|
|
2890
|
+
{
|
|
2891
|
+
return WebhookEndpoints;
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
Treasury: () => {
|
|
2895
|
+
{
|
|
2896
|
+
return Treasury;
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
Transfers: () => {
|
|
2900
|
+
{
|
|
2901
|
+
return Transfers;
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
Topups: () => {
|
|
2905
|
+
{
|
|
2906
|
+
return Topups;
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
Tokens: () => {
|
|
2910
|
+
{
|
|
2911
|
+
return Tokens2;
|
|
2912
|
+
}
|
|
2913
|
+
},
|
|
2506
2914
|
TestHelpers: () => {
|
|
2507
2915
|
{
|
|
2508
2916
|
return TestHelpers;
|
|
@@ -2678,6 +3086,11 @@ __export(exports_resources, {
|
|
|
2678
3086
|
return Identity;
|
|
2679
3087
|
}
|
|
2680
3088
|
},
|
|
3089
|
+
Forwarding: () => {
|
|
3090
|
+
{
|
|
3091
|
+
return Forwarding;
|
|
3092
|
+
}
|
|
3093
|
+
},
|
|
2681
3094
|
FinancialConnections: () => {
|
|
2682
3095
|
{
|
|
2683
3096
|
return FinancialConnections;
|
|
@@ -2708,6 +3121,11 @@ __export(exports_resources, {
|
|
|
2708
3121
|
return EphemeralKeys;
|
|
2709
3122
|
}
|
|
2710
3123
|
},
|
|
3124
|
+
Entitlements: () => {
|
|
3125
|
+
{
|
|
3126
|
+
return Entitlements;
|
|
3127
|
+
}
|
|
3128
|
+
},
|
|
2711
3129
|
Disputes: () => {
|
|
2712
3130
|
{
|
|
2713
3131
|
return Disputes2;
|
|
@@ -2738,6 +3156,11 @@ __export(exports_resources, {
|
|
|
2738
3156
|
return CountrySpecs;
|
|
2739
3157
|
}
|
|
2740
3158
|
},
|
|
3159
|
+
ConfirmationTokens: () => {
|
|
3160
|
+
{
|
|
3161
|
+
return ConfirmationTokens2;
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
2741
3164
|
Climate: () => {
|
|
2742
3165
|
{
|
|
2743
3166
|
return Climate;
|
|
@@ -2758,6 +3181,11 @@ __export(exports_resources, {
|
|
|
2758
3181
|
return BillingPortal;
|
|
2759
3182
|
}
|
|
2760
3183
|
},
|
|
3184
|
+
Billing: () => {
|
|
3185
|
+
{
|
|
3186
|
+
return Billing;
|
|
3187
|
+
}
|
|
3188
|
+
},
|
|
2761
3189
|
BalanceTransactions: () => {
|
|
2762
3190
|
{
|
|
2763
3191
|
return BalanceTransactions;
|
|
@@ -2819,203 +3247,6 @@ function resourceNamespace(namespace, resources) {
|
|
|
2819
3247
|
};
|
|
2820
3248
|
}
|
|
2821
3249
|
|
|
2822
|
-
// ../../../../node_modules/stripe/esm/utils.js
|
|
2823
|
-
var qs = __toESM(require_lib(), 1);
|
|
2824
|
-
function isOptionsHash(o) {
|
|
2825
|
-
return o && typeof o === "object" && OPTIONS_KEYS.some((prop) => Object.prototype.hasOwnProperty.call(o, prop));
|
|
2826
|
-
}
|
|
2827
|
-
function stringifyRequestData(data) {
|
|
2828
|
-
return qs.stringify(data, {
|
|
2829
|
-
serializeDate: (d) => Math.floor(d.getTime() / 1000).toString()
|
|
2830
|
-
}).replace(/%5B/g, "[").replace(/%5D/g, "]");
|
|
2831
|
-
}
|
|
2832
|
-
function extractUrlParams(path) {
|
|
2833
|
-
const params = path.match(/\{\w+\}/g);
|
|
2834
|
-
if (!params) {
|
|
2835
|
-
return [];
|
|
2836
|
-
}
|
|
2837
|
-
return params.map((param) => param.replace(/[{}]/g, ""));
|
|
2838
|
-
}
|
|
2839
|
-
function getDataFromArgs(args) {
|
|
2840
|
-
if (!Array.isArray(args) || !args[0] || typeof args[0] !== "object") {
|
|
2841
|
-
return {};
|
|
2842
|
-
}
|
|
2843
|
-
if (!isOptionsHash(args[0])) {
|
|
2844
|
-
return args.shift();
|
|
2845
|
-
}
|
|
2846
|
-
const argKeys = Object.keys(args[0]);
|
|
2847
|
-
const optionKeysInArgs = argKeys.filter((key) => OPTIONS_KEYS.includes(key));
|
|
2848
|
-
if (optionKeysInArgs.length > 0 && optionKeysInArgs.length !== argKeys.length) {
|
|
2849
|
-
emitWarning(`Options found in arguments (${optionKeysInArgs.join(", ")}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.`);
|
|
2850
|
-
}
|
|
2851
|
-
return {};
|
|
2852
|
-
}
|
|
2853
|
-
function getOptionsFromArgs(args) {
|
|
2854
|
-
const opts = {
|
|
2855
|
-
auth: null,
|
|
2856
|
-
host: null,
|
|
2857
|
-
headers: {},
|
|
2858
|
-
settings: {}
|
|
2859
|
-
};
|
|
2860
|
-
if (args.length > 0) {
|
|
2861
|
-
const arg = args[args.length - 1];
|
|
2862
|
-
if (typeof arg === "string") {
|
|
2863
|
-
opts.auth = args.pop();
|
|
2864
|
-
} else if (isOptionsHash(arg)) {
|
|
2865
|
-
const params = Object.assign({}, args.pop());
|
|
2866
|
-
const extraKeys = Object.keys(params).filter((key) => !OPTIONS_KEYS.includes(key));
|
|
2867
|
-
if (extraKeys.length) {
|
|
2868
|
-
emitWarning(`Invalid options found (${extraKeys.join(", ")}); ignoring.`);
|
|
2869
|
-
}
|
|
2870
|
-
if (params.apiKey) {
|
|
2871
|
-
opts.auth = params.apiKey;
|
|
2872
|
-
}
|
|
2873
|
-
if (params.idempotencyKey) {
|
|
2874
|
-
opts.headers["Idempotency-Key"] = params.idempotencyKey;
|
|
2875
|
-
}
|
|
2876
|
-
if (params.stripeAccount) {
|
|
2877
|
-
opts.headers["Stripe-Account"] = params.stripeAccount;
|
|
2878
|
-
}
|
|
2879
|
-
if (params.apiVersion) {
|
|
2880
|
-
opts.headers["Stripe-Version"] = params.apiVersion;
|
|
2881
|
-
}
|
|
2882
|
-
if (Number.isInteger(params.maxNetworkRetries)) {
|
|
2883
|
-
opts.settings.maxNetworkRetries = params.maxNetworkRetries;
|
|
2884
|
-
}
|
|
2885
|
-
if (Number.isInteger(params.timeout)) {
|
|
2886
|
-
opts.settings.timeout = params.timeout;
|
|
2887
|
-
}
|
|
2888
|
-
if (params.host) {
|
|
2889
|
-
opts.host = params.host;
|
|
2890
|
-
}
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
return opts;
|
|
2894
|
-
}
|
|
2895
|
-
function protoExtend(sub) {
|
|
2896
|
-
const Super = this;
|
|
2897
|
-
const Constructor = Object.prototype.hasOwnProperty.call(sub, "constructor") ? sub.constructor : function(...args) {
|
|
2898
|
-
Super.apply(this, args);
|
|
2899
|
-
};
|
|
2900
|
-
Object.assign(Constructor, Super);
|
|
2901
|
-
Constructor.prototype = Object.create(Super.prototype);
|
|
2902
|
-
Object.assign(Constructor.prototype, sub);
|
|
2903
|
-
return Constructor;
|
|
2904
|
-
}
|
|
2905
|
-
function removeNullish(obj) {
|
|
2906
|
-
if (typeof obj !== "object") {
|
|
2907
|
-
throw new Error("Argument must be an object");
|
|
2908
|
-
}
|
|
2909
|
-
return Object.keys(obj).reduce((result, key) => {
|
|
2910
|
-
if (obj[key] != null) {
|
|
2911
|
-
result[key] = obj[key];
|
|
2912
|
-
}
|
|
2913
|
-
return result;
|
|
2914
|
-
}, {});
|
|
2915
|
-
}
|
|
2916
|
-
function normalizeHeaders(obj) {
|
|
2917
|
-
if (!(obj && typeof obj === "object")) {
|
|
2918
|
-
return obj;
|
|
2919
|
-
}
|
|
2920
|
-
return Object.keys(obj).reduce((result, header) => {
|
|
2921
|
-
result[normalizeHeader(header)] = obj[header];
|
|
2922
|
-
return result;
|
|
2923
|
-
}, {});
|
|
2924
|
-
}
|
|
2925
|
-
function normalizeHeader(header) {
|
|
2926
|
-
return header.split("-").map((text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase()).join("-");
|
|
2927
|
-
}
|
|
2928
|
-
function callbackifyPromiseWithTimeout(promise, callback) {
|
|
2929
|
-
if (callback) {
|
|
2930
|
-
return promise.then((res) => {
|
|
2931
|
-
setTimeout(() => {
|
|
2932
|
-
callback(null, res);
|
|
2933
|
-
}, 0);
|
|
2934
|
-
}, (err) => {
|
|
2935
|
-
setTimeout(() => {
|
|
2936
|
-
callback(err, null);
|
|
2937
|
-
}, 0);
|
|
2938
|
-
});
|
|
2939
|
-
}
|
|
2940
|
-
return promise;
|
|
2941
|
-
}
|
|
2942
|
-
function pascalToCamelCase(name) {
|
|
2943
|
-
if (name === "OAuth") {
|
|
2944
|
-
return "oauth";
|
|
2945
|
-
} else {
|
|
2946
|
-
return name[0].toLowerCase() + name.substring(1);
|
|
2947
|
-
}
|
|
2948
|
-
}
|
|
2949
|
-
function emitWarning(warning) {
|
|
2950
|
-
if (typeof process.emitWarning !== "function") {
|
|
2951
|
-
return console.warn(`Stripe: ${warning}`);
|
|
2952
|
-
}
|
|
2953
|
-
return process.emitWarning(warning, "Stripe");
|
|
2954
|
-
}
|
|
2955
|
-
function isObject(obj) {
|
|
2956
|
-
const type = typeof obj;
|
|
2957
|
-
return (type === "function" || type === "object") && !!obj;
|
|
2958
|
-
}
|
|
2959
|
-
function flattenAndStringify(data) {
|
|
2960
|
-
const result = {};
|
|
2961
|
-
const step = (obj, prevKey) => {
|
|
2962
|
-
Object.keys(obj).forEach((key) => {
|
|
2963
|
-
const value = obj[key];
|
|
2964
|
-
const newKey = prevKey ? `${prevKey}[${key}]` : key;
|
|
2965
|
-
if (isObject(value)) {
|
|
2966
|
-
if (!(value instanceof Uint8Array) && !Object.prototype.hasOwnProperty.call(value, "data")) {
|
|
2967
|
-
return step(value, newKey);
|
|
2968
|
-
} else {
|
|
2969
|
-
result[newKey] = value;
|
|
2970
|
-
}
|
|
2971
|
-
} else {
|
|
2972
|
-
result[newKey] = String(value);
|
|
2973
|
-
}
|
|
2974
|
-
});
|
|
2975
|
-
};
|
|
2976
|
-
step(data, null);
|
|
2977
|
-
return result;
|
|
2978
|
-
}
|
|
2979
|
-
function validateInteger(name, n, defaultVal) {
|
|
2980
|
-
if (!Number.isInteger(n)) {
|
|
2981
|
-
if (defaultVal !== undefined) {
|
|
2982
|
-
return defaultVal;
|
|
2983
|
-
} else {
|
|
2984
|
-
throw new Error(`${name} must be an integer`);
|
|
2985
|
-
}
|
|
2986
|
-
}
|
|
2987
|
-
return n;
|
|
2988
|
-
}
|
|
2989
|
-
function determineProcessUserAgentProperties() {
|
|
2990
|
-
return typeof process === "undefined" ? {} : {
|
|
2991
|
-
lang_version: process.version,
|
|
2992
|
-
platform: process.platform
|
|
2993
|
-
};
|
|
2994
|
-
}
|
|
2995
|
-
var OPTIONS_KEYS = [
|
|
2996
|
-
"apiKey",
|
|
2997
|
-
"idempotencyKey",
|
|
2998
|
-
"stripeAccount",
|
|
2999
|
-
"apiVersion",
|
|
3000
|
-
"maxNetworkRetries",
|
|
3001
|
-
"timeout",
|
|
3002
|
-
"host"
|
|
3003
|
-
];
|
|
3004
|
-
var makeURLInterpolator = (() => {
|
|
3005
|
-
const rc = {
|
|
3006
|
-
"\n": "\\n",
|
|
3007
|
-
'"': '\\"',
|
|
3008
|
-
"\u2028": "\\u2028",
|
|
3009
|
-
"\u2029": "\\u2029"
|
|
3010
|
-
};
|
|
3011
|
-
return (str) => {
|
|
3012
|
-
const cleanString = str.replace(/["\n\r\u2028\u2029]/g, ($0) => rc[$0]);
|
|
3013
|
-
return (outputs) => {
|
|
3014
|
-
return cleanString.replace(/\{([\s\S]+?)\}/g, ($0, $1) => encodeURIComponent(outputs[$1] || ""));
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
})();
|
|
3018
|
-
|
|
3019
3250
|
// ../../../../node_modules/stripe/esm/autoPagination.js
|
|
3020
3251
|
var getAsyncIteratorSymbol = function() {
|
|
3021
3252
|
if (typeof Symbol !== "undefined" && Symbol.asyncIterator) {
|
|
@@ -3379,68 +3610,82 @@ var Accounts = StripeResource.extend({
|
|
|
3379
3610
|
method: "POST",
|
|
3380
3611
|
fullPath: "/v1/financial_connections/accounts/{account}/subscribe"
|
|
3381
3612
|
}),
|
|
3382
|
-
unsubscribe: stripeMethod2({
|
|
3383
|
-
method: "POST",
|
|
3384
|
-
fullPath: "/v1/financial_connections/accounts/{account}/unsubscribe"
|
|
3613
|
+
unsubscribe: stripeMethod2({
|
|
3614
|
+
method: "POST",
|
|
3615
|
+
fullPath: "/v1/financial_connections/accounts/{account}/unsubscribe"
|
|
3616
|
+
})
|
|
3617
|
+
});
|
|
3618
|
+
|
|
3619
|
+
// ../../../../node_modules/stripe/esm/resources/Entitlements/ActiveEntitlements.js
|
|
3620
|
+
var stripeMethod3 = StripeResource.method;
|
|
3621
|
+
var ActiveEntitlements = StripeResource.extend({
|
|
3622
|
+
retrieve: stripeMethod3({
|
|
3623
|
+
method: "GET",
|
|
3624
|
+
fullPath: "/v1/entitlements/active_entitlements/{id}"
|
|
3625
|
+
}),
|
|
3626
|
+
list: stripeMethod3({
|
|
3627
|
+
method: "GET",
|
|
3628
|
+
fullPath: "/v1/entitlements/active_entitlements",
|
|
3629
|
+
methodType: "list"
|
|
3385
3630
|
})
|
|
3386
3631
|
});
|
|
3387
3632
|
|
|
3388
3633
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Issuing/Authorizations.js
|
|
3389
|
-
var
|
|
3634
|
+
var stripeMethod4 = StripeResource.method;
|
|
3390
3635
|
var Authorizations = StripeResource.extend({
|
|
3391
|
-
create:
|
|
3636
|
+
create: stripeMethod4({
|
|
3392
3637
|
method: "POST",
|
|
3393
3638
|
fullPath: "/v1/test_helpers/issuing/authorizations"
|
|
3394
3639
|
}),
|
|
3395
|
-
capture:
|
|
3640
|
+
capture: stripeMethod4({
|
|
3396
3641
|
method: "POST",
|
|
3397
3642
|
fullPath: "/v1/test_helpers/issuing/authorizations/{authorization}/capture"
|
|
3398
3643
|
}),
|
|
3399
|
-
expire:
|
|
3644
|
+
expire: stripeMethod4({
|
|
3400
3645
|
method: "POST",
|
|
3401
3646
|
fullPath: "/v1/test_helpers/issuing/authorizations/{authorization}/expire"
|
|
3402
3647
|
}),
|
|
3403
|
-
increment:
|
|
3648
|
+
increment: stripeMethod4({
|
|
3404
3649
|
method: "POST",
|
|
3405
3650
|
fullPath: "/v1/test_helpers/issuing/authorizations/{authorization}/increment"
|
|
3406
3651
|
}),
|
|
3407
|
-
reverse:
|
|
3652
|
+
reverse: stripeMethod4({
|
|
3408
3653
|
method: "POST",
|
|
3409
3654
|
fullPath: "/v1/test_helpers/issuing/authorizations/{authorization}/reverse"
|
|
3410
3655
|
})
|
|
3411
3656
|
});
|
|
3412
3657
|
|
|
3413
3658
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Authorizations.js
|
|
3414
|
-
var
|
|
3659
|
+
var stripeMethod5 = StripeResource.method;
|
|
3415
3660
|
var Authorizations2 = StripeResource.extend({
|
|
3416
|
-
retrieve:
|
|
3661
|
+
retrieve: stripeMethod5({
|
|
3417
3662
|
method: "GET",
|
|
3418
3663
|
fullPath: "/v1/issuing/authorizations/{authorization}"
|
|
3419
3664
|
}),
|
|
3420
|
-
update:
|
|
3665
|
+
update: stripeMethod5({
|
|
3421
3666
|
method: "POST",
|
|
3422
3667
|
fullPath: "/v1/issuing/authorizations/{authorization}"
|
|
3423
3668
|
}),
|
|
3424
|
-
list:
|
|
3669
|
+
list: stripeMethod5({
|
|
3425
3670
|
method: "GET",
|
|
3426
3671
|
fullPath: "/v1/issuing/authorizations",
|
|
3427
3672
|
methodType: "list"
|
|
3428
3673
|
}),
|
|
3429
|
-
approve:
|
|
3674
|
+
approve: stripeMethod5({
|
|
3430
3675
|
method: "POST",
|
|
3431
3676
|
fullPath: "/v1/issuing/authorizations/{authorization}/approve"
|
|
3432
3677
|
}),
|
|
3433
|
-
decline:
|
|
3678
|
+
decline: stripeMethod5({
|
|
3434
3679
|
method: "POST",
|
|
3435
3680
|
fullPath: "/v1/issuing/authorizations/{authorization}/decline"
|
|
3436
3681
|
})
|
|
3437
3682
|
});
|
|
3438
3683
|
|
|
3439
3684
|
// ../../../../node_modules/stripe/esm/resources/Tax/Calculations.js
|
|
3440
|
-
var
|
|
3685
|
+
var stripeMethod6 = StripeResource.method;
|
|
3441
3686
|
var Calculations = StripeResource.extend({
|
|
3442
|
-
create:
|
|
3443
|
-
listLineItems:
|
|
3687
|
+
create: stripeMethod6({ method: "POST", fullPath: "/v1/tax/calculations" }),
|
|
3688
|
+
listLineItems: stripeMethod6({
|
|
3444
3689
|
method: "GET",
|
|
3445
3690
|
fullPath: "/v1/tax/calculations/{calculation}/line_items",
|
|
3446
3691
|
methodType: "list"
|
|
@@ -3448,18 +3693,18 @@ var Calculations = StripeResource.extend({
|
|
|
3448
3693
|
});
|
|
3449
3694
|
|
|
3450
3695
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Cardholders.js
|
|
3451
|
-
var
|
|
3696
|
+
var stripeMethod7 = StripeResource.method;
|
|
3452
3697
|
var Cardholders = StripeResource.extend({
|
|
3453
|
-
create:
|
|
3454
|
-
retrieve:
|
|
3698
|
+
create: stripeMethod7({ method: "POST", fullPath: "/v1/issuing/cardholders" }),
|
|
3699
|
+
retrieve: stripeMethod7({
|
|
3455
3700
|
method: "GET",
|
|
3456
3701
|
fullPath: "/v1/issuing/cardholders/{cardholder}"
|
|
3457
3702
|
}),
|
|
3458
|
-
update:
|
|
3703
|
+
update: stripeMethod7({
|
|
3459
3704
|
method: "POST",
|
|
3460
3705
|
fullPath: "/v1/issuing/cardholders/{cardholder}"
|
|
3461
3706
|
}),
|
|
3462
|
-
list:
|
|
3707
|
+
list: stripeMethod7({
|
|
3463
3708
|
method: "GET",
|
|
3464
3709
|
fullPath: "/v1/issuing/cardholders",
|
|
3465
3710
|
methodType: "list"
|
|
@@ -3467,33 +3712,33 @@ var Cardholders = StripeResource.extend({
|
|
|
3467
3712
|
});
|
|
3468
3713
|
|
|
3469
3714
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Issuing/Cards.js
|
|
3470
|
-
var
|
|
3715
|
+
var stripeMethod8 = StripeResource.method;
|
|
3471
3716
|
var Cards = StripeResource.extend({
|
|
3472
|
-
deliverCard:
|
|
3717
|
+
deliverCard: stripeMethod8({
|
|
3473
3718
|
method: "POST",
|
|
3474
3719
|
fullPath: "/v1/test_helpers/issuing/cards/{card}/shipping/deliver"
|
|
3475
3720
|
}),
|
|
3476
|
-
failCard:
|
|
3721
|
+
failCard: stripeMethod8({
|
|
3477
3722
|
method: "POST",
|
|
3478
3723
|
fullPath: "/v1/test_helpers/issuing/cards/{card}/shipping/fail"
|
|
3479
3724
|
}),
|
|
3480
|
-
returnCard:
|
|
3725
|
+
returnCard: stripeMethod8({
|
|
3481
3726
|
method: "POST",
|
|
3482
3727
|
fullPath: "/v1/test_helpers/issuing/cards/{card}/shipping/return"
|
|
3483
3728
|
}),
|
|
3484
|
-
shipCard:
|
|
3729
|
+
shipCard: stripeMethod8({
|
|
3485
3730
|
method: "POST",
|
|
3486
3731
|
fullPath: "/v1/test_helpers/issuing/cards/{card}/shipping/ship"
|
|
3487
3732
|
})
|
|
3488
3733
|
});
|
|
3489
3734
|
|
|
3490
3735
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Cards.js
|
|
3491
|
-
var
|
|
3736
|
+
var stripeMethod9 = StripeResource.method;
|
|
3492
3737
|
var Cards2 = StripeResource.extend({
|
|
3493
|
-
create:
|
|
3494
|
-
retrieve:
|
|
3495
|
-
update:
|
|
3496
|
-
list:
|
|
3738
|
+
create: stripeMethod9({ method: "POST", fullPath: "/v1/issuing/cards" }),
|
|
3739
|
+
retrieve: stripeMethod9({ method: "GET", fullPath: "/v1/issuing/cards/{card}" }),
|
|
3740
|
+
update: stripeMethod9({ method: "POST", fullPath: "/v1/issuing/cards/{card}" }),
|
|
3741
|
+
list: stripeMethod9({
|
|
3497
3742
|
method: "GET",
|
|
3498
3743
|
fullPath: "/v1/issuing/cards",
|
|
3499
3744
|
methodType: "list"
|
|
@@ -3501,21 +3746,21 @@ var Cards2 = StripeResource.extend({
|
|
|
3501
3746
|
});
|
|
3502
3747
|
|
|
3503
3748
|
// ../../../../node_modules/stripe/esm/resources/BillingPortal/Configurations.js
|
|
3504
|
-
var
|
|
3749
|
+
var stripeMethod10 = StripeResource.method;
|
|
3505
3750
|
var Configurations = StripeResource.extend({
|
|
3506
|
-
create:
|
|
3751
|
+
create: stripeMethod10({
|
|
3507
3752
|
method: "POST",
|
|
3508
3753
|
fullPath: "/v1/billing_portal/configurations"
|
|
3509
3754
|
}),
|
|
3510
|
-
retrieve:
|
|
3755
|
+
retrieve: stripeMethod10({
|
|
3511
3756
|
method: "GET",
|
|
3512
3757
|
fullPath: "/v1/billing_portal/configurations/{configuration}"
|
|
3513
3758
|
}),
|
|
3514
|
-
update:
|
|
3759
|
+
update: stripeMethod10({
|
|
3515
3760
|
method: "POST",
|
|
3516
3761
|
fullPath: "/v1/billing_portal/configurations/{configuration}"
|
|
3517
3762
|
}),
|
|
3518
|
-
list:
|
|
3763
|
+
list: stripeMethod10({
|
|
3519
3764
|
method: "GET",
|
|
3520
3765
|
fullPath: "/v1/billing_portal/configurations",
|
|
3521
3766
|
methodType: "list"
|
|
@@ -3523,52 +3768,61 @@ var Configurations = StripeResource.extend({
|
|
|
3523
3768
|
});
|
|
3524
3769
|
|
|
3525
3770
|
// ../../../../node_modules/stripe/esm/resources/Terminal/Configurations.js
|
|
3526
|
-
var
|
|
3771
|
+
var stripeMethod11 = StripeResource.method;
|
|
3527
3772
|
var Configurations2 = StripeResource.extend({
|
|
3528
|
-
create:
|
|
3773
|
+
create: stripeMethod11({
|
|
3529
3774
|
method: "POST",
|
|
3530
3775
|
fullPath: "/v1/terminal/configurations"
|
|
3531
3776
|
}),
|
|
3532
|
-
retrieve:
|
|
3777
|
+
retrieve: stripeMethod11({
|
|
3533
3778
|
method: "GET",
|
|
3534
3779
|
fullPath: "/v1/terminal/configurations/{configuration}"
|
|
3535
3780
|
}),
|
|
3536
|
-
update:
|
|
3781
|
+
update: stripeMethod11({
|
|
3537
3782
|
method: "POST",
|
|
3538
3783
|
fullPath: "/v1/terminal/configurations/{configuration}"
|
|
3539
3784
|
}),
|
|
3540
|
-
list:
|
|
3785
|
+
list: stripeMethod11({
|
|
3541
3786
|
method: "GET",
|
|
3542
3787
|
fullPath: "/v1/terminal/configurations",
|
|
3543
3788
|
methodType: "list"
|
|
3544
3789
|
}),
|
|
3545
|
-
del:
|
|
3790
|
+
del: stripeMethod11({
|
|
3546
3791
|
method: "DELETE",
|
|
3547
3792
|
fullPath: "/v1/terminal/configurations/{configuration}"
|
|
3548
3793
|
})
|
|
3549
3794
|
});
|
|
3550
3795
|
|
|
3796
|
+
// ../../../../node_modules/stripe/esm/resources/TestHelpers/ConfirmationTokens.js
|
|
3797
|
+
var stripeMethod12 = StripeResource.method;
|
|
3798
|
+
var ConfirmationTokens = StripeResource.extend({
|
|
3799
|
+
create: stripeMethod12({
|
|
3800
|
+
method: "POST",
|
|
3801
|
+
fullPath: "/v1/test_helpers/confirmation_tokens"
|
|
3802
|
+
})
|
|
3803
|
+
});
|
|
3804
|
+
|
|
3551
3805
|
// ../../../../node_modules/stripe/esm/resources/Terminal/ConnectionTokens.js
|
|
3552
|
-
var
|
|
3806
|
+
var stripeMethod13 = StripeResource.method;
|
|
3553
3807
|
var ConnectionTokens = StripeResource.extend({
|
|
3554
|
-
create:
|
|
3808
|
+
create: stripeMethod13({
|
|
3555
3809
|
method: "POST",
|
|
3556
3810
|
fullPath: "/v1/terminal/connection_tokens"
|
|
3557
3811
|
})
|
|
3558
3812
|
});
|
|
3559
3813
|
|
|
3560
3814
|
// ../../../../node_modules/stripe/esm/resources/Treasury/CreditReversals.js
|
|
3561
|
-
var
|
|
3815
|
+
var stripeMethod14 = StripeResource.method;
|
|
3562
3816
|
var CreditReversals = StripeResource.extend({
|
|
3563
|
-
create:
|
|
3817
|
+
create: stripeMethod14({
|
|
3564
3818
|
method: "POST",
|
|
3565
3819
|
fullPath: "/v1/treasury/credit_reversals"
|
|
3566
3820
|
}),
|
|
3567
|
-
retrieve:
|
|
3821
|
+
retrieve: stripeMethod14({
|
|
3568
3822
|
method: "GET",
|
|
3569
3823
|
fullPath: "/v1/treasury/credit_reversals/{credit_reversal}"
|
|
3570
3824
|
}),
|
|
3571
|
-
list:
|
|
3825
|
+
list: stripeMethod14({
|
|
3572
3826
|
method: "GET",
|
|
3573
3827
|
fullPath: "/v1/treasury/credit_reversals",
|
|
3574
3828
|
methodType: "list"
|
|
@@ -3576,26 +3830,26 @@ var CreditReversals = StripeResource.extend({
|
|
|
3576
3830
|
});
|
|
3577
3831
|
|
|
3578
3832
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Customers.js
|
|
3579
|
-
var
|
|
3833
|
+
var stripeMethod15 = StripeResource.method;
|
|
3580
3834
|
var Customers = StripeResource.extend({
|
|
3581
|
-
fundCashBalance:
|
|
3835
|
+
fundCashBalance: stripeMethod15({
|
|
3582
3836
|
method: "POST",
|
|
3583
3837
|
fullPath: "/v1/test_helpers/customers/{customer}/fund_cash_balance"
|
|
3584
3838
|
})
|
|
3585
3839
|
});
|
|
3586
3840
|
|
|
3587
3841
|
// ../../../../node_modules/stripe/esm/resources/Treasury/DebitReversals.js
|
|
3588
|
-
var
|
|
3842
|
+
var stripeMethod16 = StripeResource.method;
|
|
3589
3843
|
var DebitReversals = StripeResource.extend({
|
|
3590
|
-
create:
|
|
3844
|
+
create: stripeMethod16({
|
|
3591
3845
|
method: "POST",
|
|
3592
3846
|
fullPath: "/v1/treasury/debit_reversals"
|
|
3593
3847
|
}),
|
|
3594
|
-
retrieve:
|
|
3848
|
+
retrieve: stripeMethod16({
|
|
3595
3849
|
method: "GET",
|
|
3596
3850
|
fullPath: "/v1/treasury/debit_reversals/{debit_reversal}"
|
|
3597
3851
|
}),
|
|
3598
|
-
list:
|
|
3852
|
+
list: stripeMethod16({
|
|
3599
3853
|
method: "GET",
|
|
3600
3854
|
fullPath: "/v1/treasury/debit_reversals",
|
|
3601
3855
|
methodType: "list"
|
|
@@ -3603,243 +3857,364 @@ var DebitReversals = StripeResource.extend({
|
|
|
3603
3857
|
});
|
|
3604
3858
|
|
|
3605
3859
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Disputes.js
|
|
3606
|
-
var
|
|
3860
|
+
var stripeMethod17 = StripeResource.method;
|
|
3607
3861
|
var Disputes = StripeResource.extend({
|
|
3608
|
-
create:
|
|
3609
|
-
retrieve:
|
|
3862
|
+
create: stripeMethod17({ method: "POST", fullPath: "/v1/issuing/disputes" }),
|
|
3863
|
+
retrieve: stripeMethod17({
|
|
3610
3864
|
method: "GET",
|
|
3611
3865
|
fullPath: "/v1/issuing/disputes/{dispute}"
|
|
3612
3866
|
}),
|
|
3613
|
-
update:
|
|
3867
|
+
update: stripeMethod17({
|
|
3614
3868
|
method: "POST",
|
|
3615
3869
|
fullPath: "/v1/issuing/disputes/{dispute}"
|
|
3616
3870
|
}),
|
|
3617
|
-
list:
|
|
3871
|
+
list: stripeMethod17({
|
|
3618
3872
|
method: "GET",
|
|
3619
3873
|
fullPath: "/v1/issuing/disputes",
|
|
3620
3874
|
methodType: "list"
|
|
3621
3875
|
}),
|
|
3622
|
-
submit:
|
|
3876
|
+
submit: stripeMethod17({
|
|
3623
3877
|
method: "POST",
|
|
3624
3878
|
fullPath: "/v1/issuing/disputes/{dispute}/submit"
|
|
3625
3879
|
})
|
|
3626
3880
|
});
|
|
3627
3881
|
|
|
3628
3882
|
// ../../../../node_modules/stripe/esm/resources/Radar/EarlyFraudWarnings.js
|
|
3629
|
-
var
|
|
3883
|
+
var stripeMethod18 = StripeResource.method;
|
|
3630
3884
|
var EarlyFraudWarnings = StripeResource.extend({
|
|
3631
|
-
retrieve:
|
|
3885
|
+
retrieve: stripeMethod18({
|
|
3632
3886
|
method: "GET",
|
|
3633
3887
|
fullPath: "/v1/radar/early_fraud_warnings/{early_fraud_warning}"
|
|
3634
3888
|
}),
|
|
3635
|
-
list:
|
|
3889
|
+
list: stripeMethod18({
|
|
3636
3890
|
method: "GET",
|
|
3637
3891
|
fullPath: "/v1/radar/early_fraud_warnings",
|
|
3638
3892
|
methodType: "list"
|
|
3639
3893
|
})
|
|
3640
3894
|
});
|
|
3641
3895
|
|
|
3896
|
+
// ../../../../node_modules/stripe/esm/resources/Entitlements/Features.js
|
|
3897
|
+
var stripeMethod19 = StripeResource.method;
|
|
3898
|
+
var Features = StripeResource.extend({
|
|
3899
|
+
create: stripeMethod19({ method: "POST", fullPath: "/v1/entitlements/features" }),
|
|
3900
|
+
retrieve: stripeMethod19({
|
|
3901
|
+
method: "GET",
|
|
3902
|
+
fullPath: "/v1/entitlements/features/{id}"
|
|
3903
|
+
}),
|
|
3904
|
+
update: stripeMethod19({
|
|
3905
|
+
method: "POST",
|
|
3906
|
+
fullPath: "/v1/entitlements/features/{id}"
|
|
3907
|
+
}),
|
|
3908
|
+
list: stripeMethod19({
|
|
3909
|
+
method: "GET",
|
|
3910
|
+
fullPath: "/v1/entitlements/features",
|
|
3911
|
+
methodType: "list"
|
|
3912
|
+
})
|
|
3913
|
+
});
|
|
3914
|
+
|
|
3642
3915
|
// ../../../../node_modules/stripe/esm/resources/Treasury/FinancialAccounts.js
|
|
3643
|
-
var
|
|
3916
|
+
var stripeMethod20 = StripeResource.method;
|
|
3644
3917
|
var FinancialAccounts = StripeResource.extend({
|
|
3645
|
-
create:
|
|
3918
|
+
create: stripeMethod20({
|
|
3646
3919
|
method: "POST",
|
|
3647
3920
|
fullPath: "/v1/treasury/financial_accounts"
|
|
3648
3921
|
}),
|
|
3649
|
-
retrieve:
|
|
3922
|
+
retrieve: stripeMethod20({
|
|
3650
3923
|
method: "GET",
|
|
3651
3924
|
fullPath: "/v1/treasury/financial_accounts/{financial_account}"
|
|
3652
3925
|
}),
|
|
3653
|
-
update:
|
|
3926
|
+
update: stripeMethod20({
|
|
3654
3927
|
method: "POST",
|
|
3655
3928
|
fullPath: "/v1/treasury/financial_accounts/{financial_account}"
|
|
3656
3929
|
}),
|
|
3657
|
-
list:
|
|
3930
|
+
list: stripeMethod20({
|
|
3658
3931
|
method: "GET",
|
|
3659
3932
|
fullPath: "/v1/treasury/financial_accounts",
|
|
3660
3933
|
methodType: "list"
|
|
3661
3934
|
}),
|
|
3662
|
-
retrieveFeatures:
|
|
3935
|
+
retrieveFeatures: stripeMethod20({
|
|
3663
3936
|
method: "GET",
|
|
3664
3937
|
fullPath: "/v1/treasury/financial_accounts/{financial_account}/features"
|
|
3665
3938
|
}),
|
|
3666
|
-
updateFeatures:
|
|
3939
|
+
updateFeatures: stripeMethod20({
|
|
3667
3940
|
method: "POST",
|
|
3668
3941
|
fullPath: "/v1/treasury/financial_accounts/{financial_account}/features"
|
|
3669
3942
|
})
|
|
3670
3943
|
});
|
|
3671
3944
|
|
|
3672
3945
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Treasury/InboundTransfers.js
|
|
3673
|
-
var
|
|
3946
|
+
var stripeMethod21 = StripeResource.method;
|
|
3674
3947
|
var InboundTransfers = StripeResource.extend({
|
|
3675
|
-
fail:
|
|
3948
|
+
fail: stripeMethod21({
|
|
3676
3949
|
method: "POST",
|
|
3677
3950
|
fullPath: "/v1/test_helpers/treasury/inbound_transfers/{id}/fail"
|
|
3678
3951
|
}),
|
|
3679
|
-
returnInboundTransfer:
|
|
3952
|
+
returnInboundTransfer: stripeMethod21({
|
|
3680
3953
|
method: "POST",
|
|
3681
3954
|
fullPath: "/v1/test_helpers/treasury/inbound_transfers/{id}/return"
|
|
3682
3955
|
}),
|
|
3683
|
-
succeed:
|
|
3956
|
+
succeed: stripeMethod21({
|
|
3684
3957
|
method: "POST",
|
|
3685
3958
|
fullPath: "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed"
|
|
3686
3959
|
})
|
|
3687
3960
|
});
|
|
3688
3961
|
|
|
3689
3962
|
// ../../../../node_modules/stripe/esm/resources/Treasury/InboundTransfers.js
|
|
3690
|
-
var
|
|
3963
|
+
var stripeMethod22 = StripeResource.method;
|
|
3691
3964
|
var InboundTransfers2 = StripeResource.extend({
|
|
3692
|
-
create:
|
|
3965
|
+
create: stripeMethod22({
|
|
3693
3966
|
method: "POST",
|
|
3694
3967
|
fullPath: "/v1/treasury/inbound_transfers"
|
|
3695
3968
|
}),
|
|
3696
|
-
retrieve:
|
|
3969
|
+
retrieve: stripeMethod22({
|
|
3697
3970
|
method: "GET",
|
|
3698
3971
|
fullPath: "/v1/treasury/inbound_transfers/{id}"
|
|
3699
3972
|
}),
|
|
3700
|
-
list:
|
|
3973
|
+
list: stripeMethod22({
|
|
3701
3974
|
method: "GET",
|
|
3702
3975
|
fullPath: "/v1/treasury/inbound_transfers",
|
|
3703
3976
|
methodType: "list"
|
|
3704
3977
|
}),
|
|
3705
|
-
cancel:
|
|
3978
|
+
cancel: stripeMethod22({
|
|
3706
3979
|
method: "POST",
|
|
3707
3980
|
fullPath: "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel"
|
|
3708
3981
|
})
|
|
3709
3982
|
});
|
|
3710
3983
|
|
|
3711
3984
|
// ../../../../node_modules/stripe/esm/resources/Terminal/Locations.js
|
|
3712
|
-
var
|
|
3985
|
+
var stripeMethod23 = StripeResource.method;
|
|
3713
3986
|
var Locations = StripeResource.extend({
|
|
3714
|
-
create:
|
|
3715
|
-
retrieve:
|
|
3987
|
+
create: stripeMethod23({ method: "POST", fullPath: "/v1/terminal/locations" }),
|
|
3988
|
+
retrieve: stripeMethod23({
|
|
3716
3989
|
method: "GET",
|
|
3717
3990
|
fullPath: "/v1/terminal/locations/{location}"
|
|
3718
3991
|
}),
|
|
3719
|
-
update:
|
|
3992
|
+
update: stripeMethod23({
|
|
3720
3993
|
method: "POST",
|
|
3721
3994
|
fullPath: "/v1/terminal/locations/{location}"
|
|
3722
3995
|
}),
|
|
3723
|
-
list:
|
|
3996
|
+
list: stripeMethod23({
|
|
3724
3997
|
method: "GET",
|
|
3725
3998
|
fullPath: "/v1/terminal/locations",
|
|
3726
3999
|
methodType: "list"
|
|
3727
4000
|
}),
|
|
3728
|
-
del:
|
|
4001
|
+
del: stripeMethod23({
|
|
3729
4002
|
method: "DELETE",
|
|
3730
4003
|
fullPath: "/v1/terminal/locations/{location}"
|
|
3731
4004
|
})
|
|
3732
4005
|
});
|
|
3733
4006
|
|
|
4007
|
+
// ../../../../node_modules/stripe/esm/resources/Billing/MeterEventAdjustments.js
|
|
4008
|
+
var stripeMethod24 = StripeResource.method;
|
|
4009
|
+
var MeterEventAdjustments = StripeResource.extend({
|
|
4010
|
+
create: stripeMethod24({
|
|
4011
|
+
method: "POST",
|
|
4012
|
+
fullPath: "/v1/billing/meter_event_adjustments"
|
|
4013
|
+
})
|
|
4014
|
+
});
|
|
4015
|
+
|
|
4016
|
+
// ../../../../node_modules/stripe/esm/resources/Billing/MeterEvents.js
|
|
4017
|
+
var stripeMethod25 = StripeResource.method;
|
|
4018
|
+
var MeterEvents = StripeResource.extend({
|
|
4019
|
+
create: stripeMethod25({ method: "POST", fullPath: "/v1/billing/meter_events" })
|
|
4020
|
+
});
|
|
4021
|
+
|
|
4022
|
+
// ../../../../node_modules/stripe/esm/resources/Billing/Meters.js
|
|
4023
|
+
var stripeMethod26 = StripeResource.method;
|
|
4024
|
+
var Meters = StripeResource.extend({
|
|
4025
|
+
create: stripeMethod26({ method: "POST", fullPath: "/v1/billing/meters" }),
|
|
4026
|
+
retrieve: stripeMethod26({ method: "GET", fullPath: "/v1/billing/meters/{id}" }),
|
|
4027
|
+
update: stripeMethod26({ method: "POST", fullPath: "/v1/billing/meters/{id}" }),
|
|
4028
|
+
list: stripeMethod26({
|
|
4029
|
+
method: "GET",
|
|
4030
|
+
fullPath: "/v1/billing/meters",
|
|
4031
|
+
methodType: "list"
|
|
4032
|
+
}),
|
|
4033
|
+
deactivate: stripeMethod26({
|
|
4034
|
+
method: "POST",
|
|
4035
|
+
fullPath: "/v1/billing/meters/{id}/deactivate"
|
|
4036
|
+
}),
|
|
4037
|
+
listEventSummaries: stripeMethod26({
|
|
4038
|
+
method: "GET",
|
|
4039
|
+
fullPath: "/v1/billing/meters/{id}/event_summaries",
|
|
4040
|
+
methodType: "list"
|
|
4041
|
+
}),
|
|
4042
|
+
reactivate: stripeMethod26({
|
|
4043
|
+
method: "POST",
|
|
4044
|
+
fullPath: "/v1/billing/meters/{id}/reactivate"
|
|
4045
|
+
})
|
|
4046
|
+
});
|
|
4047
|
+
|
|
3734
4048
|
// ../../../../node_modules/stripe/esm/resources/Climate/Orders.js
|
|
3735
|
-
var
|
|
4049
|
+
var stripeMethod27 = StripeResource.method;
|
|
3736
4050
|
var Orders = StripeResource.extend({
|
|
3737
|
-
create:
|
|
3738
|
-
retrieve:
|
|
4051
|
+
create: stripeMethod27({ method: "POST", fullPath: "/v1/climate/orders" }),
|
|
4052
|
+
retrieve: stripeMethod27({
|
|
3739
4053
|
method: "GET",
|
|
3740
4054
|
fullPath: "/v1/climate/orders/{order}"
|
|
3741
4055
|
}),
|
|
3742
|
-
update:
|
|
4056
|
+
update: stripeMethod27({
|
|
3743
4057
|
method: "POST",
|
|
3744
4058
|
fullPath: "/v1/climate/orders/{order}"
|
|
3745
4059
|
}),
|
|
3746
|
-
list:
|
|
4060
|
+
list: stripeMethod27({
|
|
3747
4061
|
method: "GET",
|
|
3748
4062
|
fullPath: "/v1/climate/orders",
|
|
3749
4063
|
methodType: "list"
|
|
3750
4064
|
}),
|
|
3751
|
-
cancel:
|
|
4065
|
+
cancel: stripeMethod27({
|
|
3752
4066
|
method: "POST",
|
|
3753
4067
|
fullPath: "/v1/climate/orders/{order}/cancel"
|
|
3754
4068
|
})
|
|
3755
4069
|
});
|
|
3756
4070
|
|
|
3757
4071
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundPayments.js
|
|
3758
|
-
var
|
|
4072
|
+
var stripeMethod28 = StripeResource.method;
|
|
3759
4073
|
var OutboundPayments = StripeResource.extend({
|
|
3760
|
-
|
|
4074
|
+
update: stripeMethod28({
|
|
4075
|
+
method: "POST",
|
|
4076
|
+
fullPath: "/v1/test_helpers/treasury/outbound_payments/{id}"
|
|
4077
|
+
}),
|
|
4078
|
+
fail: stripeMethod28({
|
|
3761
4079
|
method: "POST",
|
|
3762
4080
|
fullPath: "/v1/test_helpers/treasury/outbound_payments/{id}/fail"
|
|
3763
4081
|
}),
|
|
3764
|
-
post:
|
|
4082
|
+
post: stripeMethod28({
|
|
3765
4083
|
method: "POST",
|
|
3766
4084
|
fullPath: "/v1/test_helpers/treasury/outbound_payments/{id}/post"
|
|
3767
4085
|
}),
|
|
3768
|
-
returnOutboundPayment:
|
|
4086
|
+
returnOutboundPayment: stripeMethod28({
|
|
3769
4087
|
method: "POST",
|
|
3770
4088
|
fullPath: "/v1/test_helpers/treasury/outbound_payments/{id}/return"
|
|
3771
4089
|
})
|
|
3772
4090
|
});
|
|
3773
4091
|
|
|
3774
4092
|
// ../../../../node_modules/stripe/esm/resources/Treasury/OutboundPayments.js
|
|
3775
|
-
var
|
|
4093
|
+
var stripeMethod29 = StripeResource.method;
|
|
3776
4094
|
var OutboundPayments2 = StripeResource.extend({
|
|
3777
|
-
create:
|
|
4095
|
+
create: stripeMethod29({
|
|
3778
4096
|
method: "POST",
|
|
3779
4097
|
fullPath: "/v1/treasury/outbound_payments"
|
|
3780
4098
|
}),
|
|
3781
|
-
retrieve:
|
|
4099
|
+
retrieve: stripeMethod29({
|
|
3782
4100
|
method: "GET",
|
|
3783
4101
|
fullPath: "/v1/treasury/outbound_payments/{id}"
|
|
3784
4102
|
}),
|
|
3785
|
-
list:
|
|
4103
|
+
list: stripeMethod29({
|
|
3786
4104
|
method: "GET",
|
|
3787
4105
|
fullPath: "/v1/treasury/outbound_payments",
|
|
3788
4106
|
methodType: "list"
|
|
3789
4107
|
}),
|
|
3790
|
-
cancel:
|
|
4108
|
+
cancel: stripeMethod29({
|
|
3791
4109
|
method: "POST",
|
|
3792
4110
|
fullPath: "/v1/treasury/outbound_payments/{id}/cancel"
|
|
3793
4111
|
})
|
|
3794
4112
|
});
|
|
3795
4113
|
|
|
3796
4114
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Treasury/OutboundTransfers.js
|
|
3797
|
-
var
|
|
4115
|
+
var stripeMethod30 = StripeResource.method;
|
|
3798
4116
|
var OutboundTransfers = StripeResource.extend({
|
|
3799
|
-
|
|
4117
|
+
update: stripeMethod30({
|
|
4118
|
+
method: "POST",
|
|
4119
|
+
fullPath: "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}"
|
|
4120
|
+
}),
|
|
4121
|
+
fail: stripeMethod30({
|
|
3800
4122
|
method: "POST",
|
|
3801
4123
|
fullPath: "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail"
|
|
3802
4124
|
}),
|
|
3803
|
-
post:
|
|
4125
|
+
post: stripeMethod30({
|
|
3804
4126
|
method: "POST",
|
|
3805
4127
|
fullPath: "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post"
|
|
3806
4128
|
}),
|
|
3807
|
-
returnOutboundTransfer:
|
|
4129
|
+
returnOutboundTransfer: stripeMethod30({
|
|
3808
4130
|
method: "POST",
|
|
3809
4131
|
fullPath: "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return"
|
|
3810
4132
|
})
|
|
3811
4133
|
});
|
|
3812
4134
|
|
|
3813
4135
|
// ../../../../node_modules/stripe/esm/resources/Treasury/OutboundTransfers.js
|
|
3814
|
-
var
|
|
4136
|
+
var stripeMethod31 = StripeResource.method;
|
|
3815
4137
|
var OutboundTransfers2 = StripeResource.extend({
|
|
3816
|
-
create:
|
|
4138
|
+
create: stripeMethod31({
|
|
3817
4139
|
method: "POST",
|
|
3818
4140
|
fullPath: "/v1/treasury/outbound_transfers"
|
|
3819
4141
|
}),
|
|
3820
|
-
retrieve:
|
|
4142
|
+
retrieve: stripeMethod31({
|
|
3821
4143
|
method: "GET",
|
|
3822
4144
|
fullPath: "/v1/treasury/outbound_transfers/{outbound_transfer}"
|
|
3823
4145
|
}),
|
|
3824
|
-
list:
|
|
4146
|
+
list: stripeMethod31({
|
|
3825
4147
|
method: "GET",
|
|
3826
4148
|
fullPath: "/v1/treasury/outbound_transfers",
|
|
3827
4149
|
methodType: "list"
|
|
3828
4150
|
}),
|
|
3829
|
-
cancel:
|
|
4151
|
+
cancel: stripeMethod31({
|
|
3830
4152
|
method: "POST",
|
|
3831
4153
|
fullPath: "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel"
|
|
3832
4154
|
})
|
|
3833
4155
|
});
|
|
3834
4156
|
|
|
4157
|
+
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js
|
|
4158
|
+
var stripeMethod32 = StripeResource.method;
|
|
4159
|
+
var PersonalizationDesigns = StripeResource.extend({
|
|
4160
|
+
activate: stripeMethod32({
|
|
4161
|
+
method: "POST",
|
|
4162
|
+
fullPath: "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate"
|
|
4163
|
+
}),
|
|
4164
|
+
deactivate: stripeMethod32({
|
|
4165
|
+
method: "POST",
|
|
4166
|
+
fullPath: "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate"
|
|
4167
|
+
}),
|
|
4168
|
+
reject: stripeMethod32({
|
|
4169
|
+
method: "POST",
|
|
4170
|
+
fullPath: "/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject"
|
|
4171
|
+
})
|
|
4172
|
+
});
|
|
4173
|
+
|
|
4174
|
+
// ../../../../node_modules/stripe/esm/resources/Issuing/PersonalizationDesigns.js
|
|
4175
|
+
var stripeMethod33 = StripeResource.method;
|
|
4176
|
+
var PersonalizationDesigns2 = StripeResource.extend({
|
|
4177
|
+
create: stripeMethod33({
|
|
4178
|
+
method: "POST",
|
|
4179
|
+
fullPath: "/v1/issuing/personalization_designs"
|
|
4180
|
+
}),
|
|
4181
|
+
retrieve: stripeMethod33({
|
|
4182
|
+
method: "GET",
|
|
4183
|
+
fullPath: "/v1/issuing/personalization_designs/{personalization_design}"
|
|
4184
|
+
}),
|
|
4185
|
+
update: stripeMethod33({
|
|
4186
|
+
method: "POST",
|
|
4187
|
+
fullPath: "/v1/issuing/personalization_designs/{personalization_design}"
|
|
4188
|
+
}),
|
|
4189
|
+
list: stripeMethod33({
|
|
4190
|
+
method: "GET",
|
|
4191
|
+
fullPath: "/v1/issuing/personalization_designs",
|
|
4192
|
+
methodType: "list"
|
|
4193
|
+
})
|
|
4194
|
+
});
|
|
4195
|
+
|
|
4196
|
+
// ../../../../node_modules/stripe/esm/resources/Issuing/PhysicalBundles.js
|
|
4197
|
+
var stripeMethod34 = StripeResource.method;
|
|
4198
|
+
var PhysicalBundles = StripeResource.extend({
|
|
4199
|
+
retrieve: stripeMethod34({
|
|
4200
|
+
method: "GET",
|
|
4201
|
+
fullPath: "/v1/issuing/physical_bundles/{physical_bundle}"
|
|
4202
|
+
}),
|
|
4203
|
+
list: stripeMethod34({
|
|
4204
|
+
method: "GET",
|
|
4205
|
+
fullPath: "/v1/issuing/physical_bundles",
|
|
4206
|
+
methodType: "list"
|
|
4207
|
+
})
|
|
4208
|
+
});
|
|
4209
|
+
|
|
3835
4210
|
// ../../../../node_modules/stripe/esm/resources/Climate/Products.js
|
|
3836
|
-
var
|
|
4211
|
+
var stripeMethod35 = StripeResource.method;
|
|
3837
4212
|
var Products = StripeResource.extend({
|
|
3838
|
-
retrieve:
|
|
4213
|
+
retrieve: stripeMethod35({
|
|
3839
4214
|
method: "GET",
|
|
3840
4215
|
fullPath: "/v1/climate/products/{product}"
|
|
3841
4216
|
}),
|
|
3842
|
-
list:
|
|
4217
|
+
list: stripeMethod35({
|
|
3843
4218
|
method: "GET",
|
|
3844
4219
|
fullPath: "/v1/climate/products",
|
|
3845
4220
|
methodType: "list"
|
|
@@ -3847,74 +4222,74 @@ var Products = StripeResource.extend({
|
|
|
3847
4222
|
});
|
|
3848
4223
|
|
|
3849
4224
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Terminal/Readers.js
|
|
3850
|
-
var
|
|
4225
|
+
var stripeMethod36 = StripeResource.method;
|
|
3851
4226
|
var Readers = StripeResource.extend({
|
|
3852
|
-
presentPaymentMethod:
|
|
4227
|
+
presentPaymentMethod: stripeMethod36({
|
|
3853
4228
|
method: "POST",
|
|
3854
4229
|
fullPath: "/v1/test_helpers/terminal/readers/{reader}/present_payment_method"
|
|
3855
4230
|
})
|
|
3856
4231
|
});
|
|
3857
4232
|
|
|
3858
4233
|
// ../../../../node_modules/stripe/esm/resources/Terminal/Readers.js
|
|
3859
|
-
var
|
|
4234
|
+
var stripeMethod37 = StripeResource.method;
|
|
3860
4235
|
var Readers2 = StripeResource.extend({
|
|
3861
|
-
create:
|
|
3862
|
-
retrieve:
|
|
4236
|
+
create: stripeMethod37({ method: "POST", fullPath: "/v1/terminal/readers" }),
|
|
4237
|
+
retrieve: stripeMethod37({
|
|
3863
4238
|
method: "GET",
|
|
3864
4239
|
fullPath: "/v1/terminal/readers/{reader}"
|
|
3865
4240
|
}),
|
|
3866
|
-
update:
|
|
4241
|
+
update: stripeMethod37({
|
|
3867
4242
|
method: "POST",
|
|
3868
4243
|
fullPath: "/v1/terminal/readers/{reader}"
|
|
3869
4244
|
}),
|
|
3870
|
-
list:
|
|
4245
|
+
list: stripeMethod37({
|
|
3871
4246
|
method: "GET",
|
|
3872
4247
|
fullPath: "/v1/terminal/readers",
|
|
3873
4248
|
methodType: "list"
|
|
3874
4249
|
}),
|
|
3875
|
-
del:
|
|
4250
|
+
del: stripeMethod37({
|
|
3876
4251
|
method: "DELETE",
|
|
3877
4252
|
fullPath: "/v1/terminal/readers/{reader}"
|
|
3878
4253
|
}),
|
|
3879
|
-
cancelAction:
|
|
4254
|
+
cancelAction: stripeMethod37({
|
|
3880
4255
|
method: "POST",
|
|
3881
4256
|
fullPath: "/v1/terminal/readers/{reader}/cancel_action"
|
|
3882
4257
|
}),
|
|
3883
|
-
processPaymentIntent:
|
|
4258
|
+
processPaymentIntent: stripeMethod37({
|
|
3884
4259
|
method: "POST",
|
|
3885
4260
|
fullPath: "/v1/terminal/readers/{reader}/process_payment_intent"
|
|
3886
4261
|
}),
|
|
3887
|
-
processSetupIntent:
|
|
4262
|
+
processSetupIntent: stripeMethod37({
|
|
3888
4263
|
method: "POST",
|
|
3889
4264
|
fullPath: "/v1/terminal/readers/{reader}/process_setup_intent"
|
|
3890
4265
|
}),
|
|
3891
|
-
refundPayment:
|
|
4266
|
+
refundPayment: stripeMethod37({
|
|
3892
4267
|
method: "POST",
|
|
3893
4268
|
fullPath: "/v1/terminal/readers/{reader}/refund_payment"
|
|
3894
4269
|
}),
|
|
3895
|
-
setReaderDisplay:
|
|
4270
|
+
setReaderDisplay: stripeMethod37({
|
|
3896
4271
|
method: "POST",
|
|
3897
4272
|
fullPath: "/v1/terminal/readers/{reader}/set_reader_display"
|
|
3898
4273
|
})
|
|
3899
4274
|
});
|
|
3900
4275
|
|
|
3901
4276
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Treasury/ReceivedCredits.js
|
|
3902
|
-
var
|
|
4277
|
+
var stripeMethod38 = StripeResource.method;
|
|
3903
4278
|
var ReceivedCredits = StripeResource.extend({
|
|
3904
|
-
create:
|
|
4279
|
+
create: stripeMethod38({
|
|
3905
4280
|
method: "POST",
|
|
3906
4281
|
fullPath: "/v1/test_helpers/treasury/received_credits"
|
|
3907
4282
|
})
|
|
3908
4283
|
});
|
|
3909
4284
|
|
|
3910
4285
|
// ../../../../node_modules/stripe/esm/resources/Treasury/ReceivedCredits.js
|
|
3911
|
-
var
|
|
4286
|
+
var stripeMethod39 = StripeResource.method;
|
|
3912
4287
|
var ReceivedCredits2 = StripeResource.extend({
|
|
3913
|
-
retrieve:
|
|
4288
|
+
retrieve: stripeMethod39({
|
|
3914
4289
|
method: "GET",
|
|
3915
4290
|
fullPath: "/v1/treasury/received_credits/{id}"
|
|
3916
4291
|
}),
|
|
3917
|
-
list:
|
|
4292
|
+
list: stripeMethod39({
|
|
3918
4293
|
method: "GET",
|
|
3919
4294
|
fullPath: "/v1/treasury/received_credits",
|
|
3920
4295
|
methodType: "list"
|
|
@@ -3922,22 +4297,22 @@ var ReceivedCredits2 = StripeResource.extend({
|
|
|
3922
4297
|
});
|
|
3923
4298
|
|
|
3924
4299
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Treasury/ReceivedDebits.js
|
|
3925
|
-
var
|
|
4300
|
+
var stripeMethod40 = StripeResource.method;
|
|
3926
4301
|
var ReceivedDebits = StripeResource.extend({
|
|
3927
|
-
create:
|
|
4302
|
+
create: stripeMethod40({
|
|
3928
4303
|
method: "POST",
|
|
3929
4304
|
fullPath: "/v1/test_helpers/treasury/received_debits"
|
|
3930
4305
|
})
|
|
3931
4306
|
});
|
|
3932
4307
|
|
|
3933
4308
|
// ../../../../node_modules/stripe/esm/resources/Treasury/ReceivedDebits.js
|
|
3934
|
-
var
|
|
4309
|
+
var stripeMethod41 = StripeResource.method;
|
|
3935
4310
|
var ReceivedDebits2 = StripeResource.extend({
|
|
3936
|
-
retrieve:
|
|
4311
|
+
retrieve: stripeMethod41({
|
|
3937
4312
|
method: "GET",
|
|
3938
4313
|
fullPath: "/v1/treasury/received_debits/{id}"
|
|
3939
4314
|
}),
|
|
3940
|
-
list:
|
|
4315
|
+
list: stripeMethod41({
|
|
3941
4316
|
method: "GET",
|
|
3942
4317
|
fullPath: "/v1/treasury/received_debits",
|
|
3943
4318
|
methodType: "list"
|
|
@@ -3945,27 +4320,27 @@ var ReceivedDebits2 = StripeResource.extend({
|
|
|
3945
4320
|
});
|
|
3946
4321
|
|
|
3947
4322
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Refunds.js
|
|
3948
|
-
var
|
|
4323
|
+
var stripeMethod42 = StripeResource.method;
|
|
3949
4324
|
var Refunds = StripeResource.extend({
|
|
3950
|
-
expire:
|
|
4325
|
+
expire: stripeMethod42({
|
|
3951
4326
|
method: "POST",
|
|
3952
4327
|
fullPath: "/v1/test_helpers/refunds/{refund}/expire"
|
|
3953
4328
|
})
|
|
3954
4329
|
});
|
|
3955
4330
|
|
|
3956
4331
|
// ../../../../node_modules/stripe/esm/resources/Tax/Registrations.js
|
|
3957
|
-
var
|
|
4332
|
+
var stripeMethod43 = StripeResource.method;
|
|
3958
4333
|
var Registrations = StripeResource.extend({
|
|
3959
|
-
create:
|
|
3960
|
-
retrieve:
|
|
4334
|
+
create: stripeMethod43({ method: "POST", fullPath: "/v1/tax/registrations" }),
|
|
4335
|
+
retrieve: stripeMethod43({
|
|
3961
4336
|
method: "GET",
|
|
3962
4337
|
fullPath: "/v1/tax/registrations/{id}"
|
|
3963
4338
|
}),
|
|
3964
|
-
update:
|
|
4339
|
+
update: stripeMethod43({
|
|
3965
4340
|
method: "POST",
|
|
3966
4341
|
fullPath: "/v1/tax/registrations/{id}"
|
|
3967
4342
|
}),
|
|
3968
|
-
list:
|
|
4343
|
+
list: stripeMethod43({
|
|
3969
4344
|
method: "GET",
|
|
3970
4345
|
fullPath: "/v1/tax/registrations",
|
|
3971
4346
|
methodType: "list"
|
|
@@ -3973,14 +4348,14 @@ var Registrations = StripeResource.extend({
|
|
|
3973
4348
|
});
|
|
3974
4349
|
|
|
3975
4350
|
// ../../../../node_modules/stripe/esm/resources/Reporting/ReportRuns.js
|
|
3976
|
-
var
|
|
4351
|
+
var stripeMethod44 = StripeResource.method;
|
|
3977
4352
|
var ReportRuns = StripeResource.extend({
|
|
3978
|
-
create:
|
|
3979
|
-
retrieve:
|
|
4353
|
+
create: stripeMethod44({ method: "POST", fullPath: "/v1/reporting/report_runs" }),
|
|
4354
|
+
retrieve: stripeMethod44({
|
|
3980
4355
|
method: "GET",
|
|
3981
4356
|
fullPath: "/v1/reporting/report_runs/{report_run}"
|
|
3982
4357
|
}),
|
|
3983
|
-
list:
|
|
4358
|
+
list: stripeMethod44({
|
|
3984
4359
|
method: "GET",
|
|
3985
4360
|
fullPath: "/v1/reporting/report_runs",
|
|
3986
4361
|
methodType: "list"
|
|
@@ -3988,27 +4363,42 @@ var ReportRuns = StripeResource.extend({
|
|
|
3988
4363
|
});
|
|
3989
4364
|
|
|
3990
4365
|
// ../../../../node_modules/stripe/esm/resources/Reporting/ReportTypes.js
|
|
3991
|
-
var
|
|
4366
|
+
var stripeMethod45 = StripeResource.method;
|
|
3992
4367
|
var ReportTypes = StripeResource.extend({
|
|
3993
|
-
retrieve:
|
|
4368
|
+
retrieve: stripeMethod45({
|
|
3994
4369
|
method: "GET",
|
|
3995
4370
|
fullPath: "/v1/reporting/report_types/{report_type}"
|
|
3996
4371
|
}),
|
|
3997
|
-
list:
|
|
4372
|
+
list: stripeMethod45({
|
|
3998
4373
|
method: "GET",
|
|
3999
4374
|
fullPath: "/v1/reporting/report_types",
|
|
4000
4375
|
methodType: "list"
|
|
4001
4376
|
})
|
|
4002
4377
|
});
|
|
4003
4378
|
|
|
4379
|
+
// ../../../../node_modules/stripe/esm/resources/Forwarding/Requests.js
|
|
4380
|
+
var stripeMethod46 = StripeResource.method;
|
|
4381
|
+
var Requests = StripeResource.extend({
|
|
4382
|
+
create: stripeMethod46({ method: "POST", fullPath: "/v1/forwarding/requests" }),
|
|
4383
|
+
retrieve: stripeMethod46({
|
|
4384
|
+
method: "GET",
|
|
4385
|
+
fullPath: "/v1/forwarding/requests/{id}"
|
|
4386
|
+
}),
|
|
4387
|
+
list: stripeMethod46({
|
|
4388
|
+
method: "GET",
|
|
4389
|
+
fullPath: "/v1/forwarding/requests",
|
|
4390
|
+
methodType: "list"
|
|
4391
|
+
})
|
|
4392
|
+
});
|
|
4393
|
+
|
|
4004
4394
|
// ../../../../node_modules/stripe/esm/resources/Sigma/ScheduledQueryRuns.js
|
|
4005
|
-
var
|
|
4395
|
+
var stripeMethod47 = StripeResource.method;
|
|
4006
4396
|
var ScheduledQueryRuns = StripeResource.extend({
|
|
4007
|
-
retrieve:
|
|
4397
|
+
retrieve: stripeMethod47({
|
|
4008
4398
|
method: "GET",
|
|
4009
4399
|
fullPath: "/v1/sigma/scheduled_query_runs/{scheduled_query_run}"
|
|
4010
4400
|
}),
|
|
4011
|
-
list:
|
|
4401
|
+
list: stripeMethod47({
|
|
4012
4402
|
method: "GET",
|
|
4013
4403
|
fullPath: "/v1/sigma/scheduled_query_runs",
|
|
4014
4404
|
methodType: "list"
|
|
@@ -4016,48 +4406,48 @@ var ScheduledQueryRuns = StripeResource.extend({
|
|
|
4016
4406
|
});
|
|
4017
4407
|
|
|
4018
4408
|
// ../../../../node_modules/stripe/esm/resources/Apps/Secrets.js
|
|
4019
|
-
var
|
|
4409
|
+
var stripeMethod48 = StripeResource.method;
|
|
4020
4410
|
var Secrets = StripeResource.extend({
|
|
4021
|
-
create:
|
|
4022
|
-
list:
|
|
4411
|
+
create: stripeMethod48({ method: "POST", fullPath: "/v1/apps/secrets" }),
|
|
4412
|
+
list: stripeMethod48({
|
|
4023
4413
|
method: "GET",
|
|
4024
4414
|
fullPath: "/v1/apps/secrets",
|
|
4025
4415
|
methodType: "list"
|
|
4026
4416
|
}),
|
|
4027
|
-
deleteWhere:
|
|
4417
|
+
deleteWhere: stripeMethod48({
|
|
4028
4418
|
method: "POST",
|
|
4029
4419
|
fullPath: "/v1/apps/secrets/delete"
|
|
4030
4420
|
}),
|
|
4031
|
-
find:
|
|
4421
|
+
find: stripeMethod48({ method: "GET", fullPath: "/v1/apps/secrets/find" })
|
|
4032
4422
|
});
|
|
4033
4423
|
|
|
4034
4424
|
// ../../../../node_modules/stripe/esm/resources/BillingPortal/Sessions.js
|
|
4035
|
-
var
|
|
4425
|
+
var stripeMethod49 = StripeResource.method;
|
|
4036
4426
|
var Sessions = StripeResource.extend({
|
|
4037
|
-
create:
|
|
4427
|
+
create: stripeMethod49({
|
|
4038
4428
|
method: "POST",
|
|
4039
4429
|
fullPath: "/v1/billing_portal/sessions"
|
|
4040
4430
|
})
|
|
4041
4431
|
});
|
|
4042
4432
|
|
|
4043
4433
|
// ../../../../node_modules/stripe/esm/resources/Checkout/Sessions.js
|
|
4044
|
-
var
|
|
4434
|
+
var stripeMethod50 = StripeResource.method;
|
|
4045
4435
|
var Sessions2 = StripeResource.extend({
|
|
4046
|
-
create:
|
|
4047
|
-
retrieve:
|
|
4436
|
+
create: stripeMethod50({ method: "POST", fullPath: "/v1/checkout/sessions" }),
|
|
4437
|
+
retrieve: stripeMethod50({
|
|
4048
4438
|
method: "GET",
|
|
4049
4439
|
fullPath: "/v1/checkout/sessions/{session}"
|
|
4050
4440
|
}),
|
|
4051
|
-
list:
|
|
4441
|
+
list: stripeMethod50({
|
|
4052
4442
|
method: "GET",
|
|
4053
4443
|
fullPath: "/v1/checkout/sessions",
|
|
4054
4444
|
methodType: "list"
|
|
4055
4445
|
}),
|
|
4056
|
-
expire:
|
|
4446
|
+
expire: stripeMethod50({
|
|
4057
4447
|
method: "POST",
|
|
4058
4448
|
fullPath: "/v1/checkout/sessions/{session}/expire"
|
|
4059
4449
|
}),
|
|
4060
|
-
listLineItems:
|
|
4450
|
+
listLineItems: stripeMethod50({
|
|
4061
4451
|
method: "GET",
|
|
4062
4452
|
fullPath: "/v1/checkout/sessions/{session}/line_items",
|
|
4063
4453
|
methodType: "list"
|
|
@@ -4065,33 +4455,33 @@ var Sessions2 = StripeResource.extend({
|
|
|
4065
4455
|
});
|
|
4066
4456
|
|
|
4067
4457
|
// ../../../../node_modules/stripe/esm/resources/FinancialConnections/Sessions.js
|
|
4068
|
-
var
|
|
4458
|
+
var stripeMethod51 = StripeResource.method;
|
|
4069
4459
|
var Sessions3 = StripeResource.extend({
|
|
4070
|
-
create:
|
|
4460
|
+
create: stripeMethod51({
|
|
4071
4461
|
method: "POST",
|
|
4072
4462
|
fullPath: "/v1/financial_connections/sessions"
|
|
4073
4463
|
}),
|
|
4074
|
-
retrieve:
|
|
4464
|
+
retrieve: stripeMethod51({
|
|
4075
4465
|
method: "GET",
|
|
4076
4466
|
fullPath: "/v1/financial_connections/sessions/{session}"
|
|
4077
4467
|
})
|
|
4078
4468
|
});
|
|
4079
4469
|
|
|
4080
4470
|
// ../../../../node_modules/stripe/esm/resources/Tax/Settings.js
|
|
4081
|
-
var
|
|
4471
|
+
var stripeMethod52 = StripeResource.method;
|
|
4082
4472
|
var Settings = StripeResource.extend({
|
|
4083
|
-
retrieve:
|
|
4084
|
-
update:
|
|
4473
|
+
retrieve: stripeMethod52({ method: "GET", fullPath: "/v1/tax/settings" }),
|
|
4474
|
+
update: stripeMethod52({ method: "POST", fullPath: "/v1/tax/settings" })
|
|
4085
4475
|
});
|
|
4086
4476
|
|
|
4087
4477
|
// ../../../../node_modules/stripe/esm/resources/Climate/Suppliers.js
|
|
4088
|
-
var
|
|
4478
|
+
var stripeMethod53 = StripeResource.method;
|
|
4089
4479
|
var Suppliers = StripeResource.extend({
|
|
4090
|
-
retrieve:
|
|
4480
|
+
retrieve: stripeMethod53({
|
|
4091
4481
|
method: "GET",
|
|
4092
4482
|
fullPath: "/v1/climate/suppliers/{supplier}"
|
|
4093
4483
|
}),
|
|
4094
|
-
list:
|
|
4484
|
+
list: stripeMethod53({
|
|
4095
4485
|
method: "GET",
|
|
4096
4486
|
fullPath: "/v1/climate/suppliers",
|
|
4097
4487
|
methodType: "list"
|
|
@@ -4099,43 +4489,43 @@ var Suppliers = StripeResource.extend({
|
|
|
4099
4489
|
});
|
|
4100
4490
|
|
|
4101
4491
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/TestClocks.js
|
|
4102
|
-
var
|
|
4492
|
+
var stripeMethod54 = StripeResource.method;
|
|
4103
4493
|
var TestClocks = StripeResource.extend({
|
|
4104
|
-
create:
|
|
4494
|
+
create: stripeMethod54({
|
|
4105
4495
|
method: "POST",
|
|
4106
4496
|
fullPath: "/v1/test_helpers/test_clocks"
|
|
4107
4497
|
}),
|
|
4108
|
-
retrieve:
|
|
4498
|
+
retrieve: stripeMethod54({
|
|
4109
4499
|
method: "GET",
|
|
4110
4500
|
fullPath: "/v1/test_helpers/test_clocks/{test_clock}"
|
|
4111
4501
|
}),
|
|
4112
|
-
list:
|
|
4502
|
+
list: stripeMethod54({
|
|
4113
4503
|
method: "GET",
|
|
4114
4504
|
fullPath: "/v1/test_helpers/test_clocks",
|
|
4115
4505
|
methodType: "list"
|
|
4116
4506
|
}),
|
|
4117
|
-
del:
|
|
4507
|
+
del: stripeMethod54({
|
|
4118
4508
|
method: "DELETE",
|
|
4119
4509
|
fullPath: "/v1/test_helpers/test_clocks/{test_clock}"
|
|
4120
4510
|
}),
|
|
4121
|
-
advance:
|
|
4511
|
+
advance: stripeMethod54({
|
|
4122
4512
|
method: "POST",
|
|
4123
4513
|
fullPath: "/v1/test_helpers/test_clocks/{test_clock}/advance"
|
|
4124
4514
|
})
|
|
4125
4515
|
});
|
|
4126
4516
|
|
|
4127
4517
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Tokens.js
|
|
4128
|
-
var
|
|
4518
|
+
var stripeMethod55 = StripeResource.method;
|
|
4129
4519
|
var Tokens = StripeResource.extend({
|
|
4130
|
-
retrieve:
|
|
4520
|
+
retrieve: stripeMethod55({
|
|
4131
4521
|
method: "GET",
|
|
4132
4522
|
fullPath: "/v1/issuing/tokens/{token}"
|
|
4133
4523
|
}),
|
|
4134
|
-
update:
|
|
4524
|
+
update: stripeMethod55({
|
|
4135
4525
|
method: "POST",
|
|
4136
4526
|
fullPath: "/v1/issuing/tokens/{token}"
|
|
4137
4527
|
}),
|
|
4138
|
-
list:
|
|
4528
|
+
list: stripeMethod55({
|
|
4139
4529
|
method: "GET",
|
|
4140
4530
|
fullPath: "/v1/issuing/tokens",
|
|
4141
4531
|
methodType: "list"
|
|
@@ -4143,13 +4533,13 @@ var Tokens = StripeResource.extend({
|
|
|
4143
4533
|
});
|
|
4144
4534
|
|
|
4145
4535
|
// ../../../../node_modules/stripe/esm/resources/Treasury/TransactionEntries.js
|
|
4146
|
-
var
|
|
4536
|
+
var stripeMethod56 = StripeResource.method;
|
|
4147
4537
|
var TransactionEntries = StripeResource.extend({
|
|
4148
|
-
retrieve:
|
|
4538
|
+
retrieve: stripeMethod56({
|
|
4149
4539
|
method: "GET",
|
|
4150
4540
|
fullPath: "/v1/treasury/transaction_entries/{id}"
|
|
4151
4541
|
}),
|
|
4152
|
-
list:
|
|
4542
|
+
list: stripeMethod56({
|
|
4153
4543
|
method: "GET",
|
|
4154
4544
|
fullPath: "/v1/treasury/transaction_entries",
|
|
4155
4545
|
methodType: "list"
|
|
@@ -4157,30 +4547,30 @@ var TransactionEntries = StripeResource.extend({
|
|
|
4157
4547
|
});
|
|
4158
4548
|
|
|
4159
4549
|
// ../../../../node_modules/stripe/esm/resources/TestHelpers/Issuing/Transactions.js
|
|
4160
|
-
var
|
|
4550
|
+
var stripeMethod57 = StripeResource.method;
|
|
4161
4551
|
var Transactions = StripeResource.extend({
|
|
4162
|
-
createForceCapture:
|
|
4552
|
+
createForceCapture: stripeMethod57({
|
|
4163
4553
|
method: "POST",
|
|
4164
4554
|
fullPath: "/v1/test_helpers/issuing/transactions/create_force_capture"
|
|
4165
4555
|
}),
|
|
4166
|
-
createUnlinkedRefund:
|
|
4556
|
+
createUnlinkedRefund: stripeMethod57({
|
|
4167
4557
|
method: "POST",
|
|
4168
4558
|
fullPath: "/v1/test_helpers/issuing/transactions/create_unlinked_refund"
|
|
4169
4559
|
}),
|
|
4170
|
-
refund:
|
|
4560
|
+
refund: stripeMethod57({
|
|
4171
4561
|
method: "POST",
|
|
4172
4562
|
fullPath: "/v1/test_helpers/issuing/transactions/{transaction}/refund"
|
|
4173
4563
|
})
|
|
4174
4564
|
});
|
|
4175
4565
|
|
|
4176
4566
|
// ../../../../node_modules/stripe/esm/resources/FinancialConnections/Transactions.js
|
|
4177
|
-
var
|
|
4567
|
+
var stripeMethod58 = StripeResource.method;
|
|
4178
4568
|
var Transactions2 = StripeResource.extend({
|
|
4179
|
-
retrieve:
|
|
4569
|
+
retrieve: stripeMethod58({
|
|
4180
4570
|
method: "GET",
|
|
4181
4571
|
fullPath: "/v1/financial_connections/transactions/{transaction}"
|
|
4182
4572
|
}),
|
|
4183
|
-
list:
|
|
4573
|
+
list: stripeMethod58({
|
|
4184
4574
|
method: "GET",
|
|
4185
4575
|
fullPath: "/v1/financial_connections/transactions",
|
|
4186
4576
|
methodType: "list"
|
|
@@ -4188,17 +4578,17 @@ var Transactions2 = StripeResource.extend({
|
|
|
4188
4578
|
});
|
|
4189
4579
|
|
|
4190
4580
|
// ../../../../node_modules/stripe/esm/resources/Issuing/Transactions.js
|
|
4191
|
-
var
|
|
4581
|
+
var stripeMethod59 = StripeResource.method;
|
|
4192
4582
|
var Transactions3 = StripeResource.extend({
|
|
4193
|
-
retrieve:
|
|
4583
|
+
retrieve: stripeMethod59({
|
|
4194
4584
|
method: "GET",
|
|
4195
4585
|
fullPath: "/v1/issuing/transactions/{transaction}"
|
|
4196
4586
|
}),
|
|
4197
|
-
update:
|
|
4587
|
+
update: stripeMethod59({
|
|
4198
4588
|
method: "POST",
|
|
4199
4589
|
fullPath: "/v1/issuing/transactions/{transaction}"
|
|
4200
4590
|
}),
|
|
4201
|
-
list:
|
|
4591
|
+
list: stripeMethod59({
|
|
4202
4592
|
method: "GET",
|
|
4203
4593
|
fullPath: "/v1/issuing/transactions",
|
|
4204
4594
|
methodType: "list"
|
|
@@ -4206,21 +4596,21 @@ var Transactions3 = StripeResource.extend({
|
|
|
4206
4596
|
});
|
|
4207
4597
|
|
|
4208
4598
|
// ../../../../node_modules/stripe/esm/resources/Tax/Transactions.js
|
|
4209
|
-
var
|
|
4599
|
+
var stripeMethod60 = StripeResource.method;
|
|
4210
4600
|
var Transactions4 = StripeResource.extend({
|
|
4211
|
-
retrieve:
|
|
4601
|
+
retrieve: stripeMethod60({
|
|
4212
4602
|
method: "GET",
|
|
4213
4603
|
fullPath: "/v1/tax/transactions/{transaction}"
|
|
4214
4604
|
}),
|
|
4215
|
-
createFromCalculation:
|
|
4605
|
+
createFromCalculation: stripeMethod60({
|
|
4216
4606
|
method: "POST",
|
|
4217
4607
|
fullPath: "/v1/tax/transactions/create_from_calculation"
|
|
4218
4608
|
}),
|
|
4219
|
-
createReversal:
|
|
4609
|
+
createReversal: stripeMethod60({
|
|
4220
4610
|
method: "POST",
|
|
4221
4611
|
fullPath: "/v1/tax/transactions/create_reversal"
|
|
4222
4612
|
}),
|
|
4223
|
-
listLineItems:
|
|
4613
|
+
listLineItems: stripeMethod60({
|
|
4224
4614
|
method: "GET",
|
|
4225
4615
|
fullPath: "/v1/tax/transactions/{transaction}/line_items",
|
|
4226
4616
|
methodType: "list"
|
|
@@ -4228,13 +4618,13 @@ var Transactions4 = StripeResource.extend({
|
|
|
4228
4618
|
});
|
|
4229
4619
|
|
|
4230
4620
|
// ../../../../node_modules/stripe/esm/resources/Treasury/Transactions.js
|
|
4231
|
-
var
|
|
4621
|
+
var stripeMethod61 = StripeResource.method;
|
|
4232
4622
|
var Transactions5 = StripeResource.extend({
|
|
4233
|
-
retrieve:
|
|
4623
|
+
retrieve: stripeMethod61({
|
|
4234
4624
|
method: "GET",
|
|
4235
4625
|
fullPath: "/v1/treasury/transactions/{id}"
|
|
4236
4626
|
}),
|
|
4237
|
-
list:
|
|
4627
|
+
list: stripeMethod61({
|
|
4238
4628
|
method: "GET",
|
|
4239
4629
|
fullPath: "/v1/treasury/transactions",
|
|
4240
4630
|
methodType: "list"
|
|
@@ -4242,58 +4632,58 @@ var Transactions5 = StripeResource.extend({
|
|
|
4242
4632
|
});
|
|
4243
4633
|
|
|
4244
4634
|
// ../../../../node_modules/stripe/esm/resources/Radar/ValueListItems.js
|
|
4245
|
-
var
|
|
4635
|
+
var stripeMethod62 = StripeResource.method;
|
|
4246
4636
|
var ValueListItems = StripeResource.extend({
|
|
4247
|
-
create:
|
|
4637
|
+
create: stripeMethod62({
|
|
4248
4638
|
method: "POST",
|
|
4249
4639
|
fullPath: "/v1/radar/value_list_items"
|
|
4250
4640
|
}),
|
|
4251
|
-
retrieve:
|
|
4641
|
+
retrieve: stripeMethod62({
|
|
4252
4642
|
method: "GET",
|
|
4253
4643
|
fullPath: "/v1/radar/value_list_items/{item}"
|
|
4254
4644
|
}),
|
|
4255
|
-
list:
|
|
4645
|
+
list: stripeMethod62({
|
|
4256
4646
|
method: "GET",
|
|
4257
4647
|
fullPath: "/v1/radar/value_list_items",
|
|
4258
4648
|
methodType: "list"
|
|
4259
4649
|
}),
|
|
4260
|
-
del:
|
|
4650
|
+
del: stripeMethod62({
|
|
4261
4651
|
method: "DELETE",
|
|
4262
4652
|
fullPath: "/v1/radar/value_list_items/{item}"
|
|
4263
4653
|
})
|
|
4264
4654
|
});
|
|
4265
4655
|
|
|
4266
4656
|
// ../../../../node_modules/stripe/esm/resources/Radar/ValueLists.js
|
|
4267
|
-
var
|
|
4657
|
+
var stripeMethod63 = StripeResource.method;
|
|
4268
4658
|
var ValueLists = StripeResource.extend({
|
|
4269
|
-
create:
|
|
4270
|
-
retrieve:
|
|
4659
|
+
create: stripeMethod63({ method: "POST", fullPath: "/v1/radar/value_lists" }),
|
|
4660
|
+
retrieve: stripeMethod63({
|
|
4271
4661
|
method: "GET",
|
|
4272
4662
|
fullPath: "/v1/radar/value_lists/{value_list}"
|
|
4273
4663
|
}),
|
|
4274
|
-
update:
|
|
4664
|
+
update: stripeMethod63({
|
|
4275
4665
|
method: "POST",
|
|
4276
4666
|
fullPath: "/v1/radar/value_lists/{value_list}"
|
|
4277
4667
|
}),
|
|
4278
|
-
list:
|
|
4668
|
+
list: stripeMethod63({
|
|
4279
4669
|
method: "GET",
|
|
4280
4670
|
fullPath: "/v1/radar/value_lists",
|
|
4281
4671
|
methodType: "list"
|
|
4282
4672
|
}),
|
|
4283
|
-
del:
|
|
4673
|
+
del: stripeMethod63({
|
|
4284
4674
|
method: "DELETE",
|
|
4285
4675
|
fullPath: "/v1/radar/value_lists/{value_list}"
|
|
4286
4676
|
})
|
|
4287
4677
|
});
|
|
4288
4678
|
|
|
4289
4679
|
// ../../../../node_modules/stripe/esm/resources/Identity/VerificationReports.js
|
|
4290
|
-
var
|
|
4680
|
+
var stripeMethod64 = StripeResource.method;
|
|
4291
4681
|
var VerificationReports = StripeResource.extend({
|
|
4292
|
-
retrieve:
|
|
4682
|
+
retrieve: stripeMethod64({
|
|
4293
4683
|
method: "GET",
|
|
4294
4684
|
fullPath: "/v1/identity/verification_reports/{report}"
|
|
4295
4685
|
}),
|
|
4296
|
-
list:
|
|
4686
|
+
list: stripeMethod64({
|
|
4297
4687
|
method: "GET",
|
|
4298
4688
|
fullPath: "/v1/identity/verification_reports",
|
|
4299
4689
|
methodType: "list"
|
|
@@ -4301,42 +4691,42 @@ var VerificationReports = StripeResource.extend({
|
|
|
4301
4691
|
});
|
|
4302
4692
|
|
|
4303
4693
|
// ../../../../node_modules/stripe/esm/resources/Identity/VerificationSessions.js
|
|
4304
|
-
var
|
|
4694
|
+
var stripeMethod65 = StripeResource.method;
|
|
4305
4695
|
var VerificationSessions = StripeResource.extend({
|
|
4306
|
-
create:
|
|
4696
|
+
create: stripeMethod65({
|
|
4307
4697
|
method: "POST",
|
|
4308
4698
|
fullPath: "/v1/identity/verification_sessions"
|
|
4309
4699
|
}),
|
|
4310
|
-
retrieve:
|
|
4700
|
+
retrieve: stripeMethod65({
|
|
4311
4701
|
method: "GET",
|
|
4312
4702
|
fullPath: "/v1/identity/verification_sessions/{session}"
|
|
4313
4703
|
}),
|
|
4314
|
-
update:
|
|
4704
|
+
update: stripeMethod65({
|
|
4315
4705
|
method: "POST",
|
|
4316
4706
|
fullPath: "/v1/identity/verification_sessions/{session}"
|
|
4317
4707
|
}),
|
|
4318
|
-
list:
|
|
4708
|
+
list: stripeMethod65({
|
|
4319
4709
|
method: "GET",
|
|
4320
4710
|
fullPath: "/v1/identity/verification_sessions",
|
|
4321
4711
|
methodType: "list"
|
|
4322
4712
|
}),
|
|
4323
|
-
cancel:
|
|
4713
|
+
cancel: stripeMethod65({
|
|
4324
4714
|
method: "POST",
|
|
4325
4715
|
fullPath: "/v1/identity/verification_sessions/{session}/cancel"
|
|
4326
4716
|
}),
|
|
4327
|
-
redact:
|
|
4717
|
+
redact: stripeMethod65({
|
|
4328
4718
|
method: "POST",
|
|
4329
4719
|
fullPath: "/v1/identity/verification_sessions/{session}/redact"
|
|
4330
4720
|
})
|
|
4331
4721
|
});
|
|
4332
4722
|
|
|
4333
4723
|
// ../../../../node_modules/stripe/esm/resources/Accounts.js
|
|
4334
|
-
var
|
|
4724
|
+
var stripeMethod66 = StripeResource.method;
|
|
4335
4725
|
var Accounts2 = StripeResource.extend({
|
|
4336
|
-
create:
|
|
4726
|
+
create: stripeMethod66({ method: "POST", fullPath: "/v1/accounts" }),
|
|
4337
4727
|
retrieve(id, ...args) {
|
|
4338
4728
|
if (typeof id === "string") {
|
|
4339
|
-
return
|
|
4729
|
+
return stripeMethod66({
|
|
4340
4730
|
method: "GET",
|
|
4341
4731
|
fullPath: "/v1/accounts/{id}"
|
|
4342
4732
|
}).apply(this, [id, ...args]);
|
|
@@ -4344,369 +4734,377 @@ var Accounts2 = StripeResource.extend({
|
|
|
4344
4734
|
if (id === null || id === undefined) {
|
|
4345
4735
|
[].shift.apply([id, ...args]);
|
|
4346
4736
|
}
|
|
4347
|
-
return
|
|
4737
|
+
return stripeMethod66({
|
|
4348
4738
|
method: "GET",
|
|
4349
4739
|
fullPath: "/v1/account"
|
|
4350
4740
|
}).apply(this, [id, ...args]);
|
|
4351
4741
|
}
|
|
4352
4742
|
},
|
|
4353
|
-
update:
|
|
4354
|
-
list:
|
|
4743
|
+
update: stripeMethod66({ method: "POST", fullPath: "/v1/accounts/{account}" }),
|
|
4744
|
+
list: stripeMethod66({
|
|
4355
4745
|
method: "GET",
|
|
4356
4746
|
fullPath: "/v1/accounts",
|
|
4357
4747
|
methodType: "list"
|
|
4358
4748
|
}),
|
|
4359
|
-
del:
|
|
4360
|
-
createExternalAccount:
|
|
4749
|
+
del: stripeMethod66({ method: "DELETE", fullPath: "/v1/accounts/{account}" }),
|
|
4750
|
+
createExternalAccount: stripeMethod66({
|
|
4361
4751
|
method: "POST",
|
|
4362
4752
|
fullPath: "/v1/accounts/{account}/external_accounts"
|
|
4363
4753
|
}),
|
|
4364
|
-
createLoginLink:
|
|
4754
|
+
createLoginLink: stripeMethod66({
|
|
4365
4755
|
method: "POST",
|
|
4366
4756
|
fullPath: "/v1/accounts/{account}/login_links"
|
|
4367
4757
|
}),
|
|
4368
|
-
createPerson:
|
|
4758
|
+
createPerson: stripeMethod66({
|
|
4369
4759
|
method: "POST",
|
|
4370
4760
|
fullPath: "/v1/accounts/{account}/persons"
|
|
4371
4761
|
}),
|
|
4372
|
-
deleteExternalAccount:
|
|
4762
|
+
deleteExternalAccount: stripeMethod66({
|
|
4373
4763
|
method: "DELETE",
|
|
4374
4764
|
fullPath: "/v1/accounts/{account}/external_accounts/{id}"
|
|
4375
4765
|
}),
|
|
4376
|
-
deletePerson:
|
|
4766
|
+
deletePerson: stripeMethod66({
|
|
4377
4767
|
method: "DELETE",
|
|
4378
4768
|
fullPath: "/v1/accounts/{account}/persons/{person}"
|
|
4379
4769
|
}),
|
|
4380
|
-
listCapabilities:
|
|
4770
|
+
listCapabilities: stripeMethod66({
|
|
4381
4771
|
method: "GET",
|
|
4382
4772
|
fullPath: "/v1/accounts/{account}/capabilities",
|
|
4383
4773
|
methodType: "list"
|
|
4384
4774
|
}),
|
|
4385
|
-
listExternalAccounts:
|
|
4775
|
+
listExternalAccounts: stripeMethod66({
|
|
4386
4776
|
method: "GET",
|
|
4387
4777
|
fullPath: "/v1/accounts/{account}/external_accounts",
|
|
4388
4778
|
methodType: "list"
|
|
4389
4779
|
}),
|
|
4390
|
-
listPersons:
|
|
4780
|
+
listPersons: stripeMethod66({
|
|
4391
4781
|
method: "GET",
|
|
4392
4782
|
fullPath: "/v1/accounts/{account}/persons",
|
|
4393
4783
|
methodType: "list"
|
|
4394
4784
|
}),
|
|
4395
|
-
reject:
|
|
4785
|
+
reject: stripeMethod66({
|
|
4396
4786
|
method: "POST",
|
|
4397
4787
|
fullPath: "/v1/accounts/{account}/reject"
|
|
4398
4788
|
}),
|
|
4399
|
-
retrieveCurrent:
|
|
4400
|
-
retrieveCapability:
|
|
4789
|
+
retrieveCurrent: stripeMethod66({ method: "GET", fullPath: "/v1/account" }),
|
|
4790
|
+
retrieveCapability: stripeMethod66({
|
|
4401
4791
|
method: "GET",
|
|
4402
4792
|
fullPath: "/v1/accounts/{account}/capabilities/{capability}"
|
|
4403
4793
|
}),
|
|
4404
|
-
retrieveExternalAccount:
|
|
4794
|
+
retrieveExternalAccount: stripeMethod66({
|
|
4405
4795
|
method: "GET",
|
|
4406
4796
|
fullPath: "/v1/accounts/{account}/external_accounts/{id}"
|
|
4407
4797
|
}),
|
|
4408
|
-
retrievePerson:
|
|
4798
|
+
retrievePerson: stripeMethod66({
|
|
4409
4799
|
method: "GET",
|
|
4410
4800
|
fullPath: "/v1/accounts/{account}/persons/{person}"
|
|
4411
4801
|
}),
|
|
4412
|
-
updateCapability:
|
|
4802
|
+
updateCapability: stripeMethod66({
|
|
4413
4803
|
method: "POST",
|
|
4414
4804
|
fullPath: "/v1/accounts/{account}/capabilities/{capability}"
|
|
4415
4805
|
}),
|
|
4416
|
-
updateExternalAccount:
|
|
4806
|
+
updateExternalAccount: stripeMethod66({
|
|
4417
4807
|
method: "POST",
|
|
4418
4808
|
fullPath: "/v1/accounts/{account}/external_accounts/{id}"
|
|
4419
4809
|
}),
|
|
4420
|
-
updatePerson:
|
|
4810
|
+
updatePerson: stripeMethod66({
|
|
4421
4811
|
method: "POST",
|
|
4422
4812
|
fullPath: "/v1/accounts/{account}/persons/{person}"
|
|
4423
4813
|
})
|
|
4424
4814
|
});
|
|
4425
4815
|
// ../../../../node_modules/stripe/esm/resources/AccountLinks.js
|
|
4426
|
-
var
|
|
4816
|
+
var stripeMethod67 = StripeResource.method;
|
|
4427
4817
|
var AccountLinks = StripeResource.extend({
|
|
4428
|
-
create:
|
|
4818
|
+
create: stripeMethod67({ method: "POST", fullPath: "/v1/account_links" })
|
|
4429
4819
|
});
|
|
4430
4820
|
// ../../../../node_modules/stripe/esm/resources/AccountSessions.js
|
|
4431
|
-
var
|
|
4821
|
+
var stripeMethod68 = StripeResource.method;
|
|
4432
4822
|
var AccountSessions = StripeResource.extend({
|
|
4433
|
-
create:
|
|
4823
|
+
create: stripeMethod68({ method: "POST", fullPath: "/v1/account_sessions" })
|
|
4434
4824
|
});
|
|
4435
4825
|
// ../../../../node_modules/stripe/esm/resources/ApplePayDomains.js
|
|
4436
|
-
var
|
|
4826
|
+
var stripeMethod69 = StripeResource.method;
|
|
4437
4827
|
var ApplePayDomains = StripeResource.extend({
|
|
4438
|
-
create:
|
|
4439
|
-
retrieve:
|
|
4828
|
+
create: stripeMethod69({ method: "POST", fullPath: "/v1/apple_pay/domains" }),
|
|
4829
|
+
retrieve: stripeMethod69({
|
|
4440
4830
|
method: "GET",
|
|
4441
4831
|
fullPath: "/v1/apple_pay/domains/{domain}"
|
|
4442
4832
|
}),
|
|
4443
|
-
list:
|
|
4833
|
+
list: stripeMethod69({
|
|
4444
4834
|
method: "GET",
|
|
4445
4835
|
fullPath: "/v1/apple_pay/domains",
|
|
4446
4836
|
methodType: "list"
|
|
4447
4837
|
}),
|
|
4448
|
-
del:
|
|
4838
|
+
del: stripeMethod69({
|
|
4449
4839
|
method: "DELETE",
|
|
4450
4840
|
fullPath: "/v1/apple_pay/domains/{domain}"
|
|
4451
4841
|
})
|
|
4452
4842
|
});
|
|
4453
4843
|
// ../../../../node_modules/stripe/esm/resources/ApplicationFees.js
|
|
4454
|
-
var
|
|
4844
|
+
var stripeMethod70 = StripeResource.method;
|
|
4455
4845
|
var ApplicationFees = StripeResource.extend({
|
|
4456
|
-
retrieve:
|
|
4846
|
+
retrieve: stripeMethod70({
|
|
4457
4847
|
method: "GET",
|
|
4458
4848
|
fullPath: "/v1/application_fees/{id}"
|
|
4459
4849
|
}),
|
|
4460
|
-
list:
|
|
4850
|
+
list: stripeMethod70({
|
|
4461
4851
|
method: "GET",
|
|
4462
4852
|
fullPath: "/v1/application_fees",
|
|
4463
4853
|
methodType: "list"
|
|
4464
4854
|
}),
|
|
4465
|
-
createRefund:
|
|
4855
|
+
createRefund: stripeMethod70({
|
|
4466
4856
|
method: "POST",
|
|
4467
4857
|
fullPath: "/v1/application_fees/{id}/refunds"
|
|
4468
4858
|
}),
|
|
4469
|
-
listRefunds:
|
|
4859
|
+
listRefunds: stripeMethod70({
|
|
4470
4860
|
method: "GET",
|
|
4471
4861
|
fullPath: "/v1/application_fees/{id}/refunds",
|
|
4472
4862
|
methodType: "list"
|
|
4473
4863
|
}),
|
|
4474
|
-
retrieveRefund:
|
|
4864
|
+
retrieveRefund: stripeMethod70({
|
|
4475
4865
|
method: "GET",
|
|
4476
4866
|
fullPath: "/v1/application_fees/{fee}/refunds/{id}"
|
|
4477
4867
|
}),
|
|
4478
|
-
updateRefund:
|
|
4868
|
+
updateRefund: stripeMethod70({
|
|
4479
4869
|
method: "POST",
|
|
4480
4870
|
fullPath: "/v1/application_fees/{fee}/refunds/{id}"
|
|
4481
4871
|
})
|
|
4482
4872
|
});
|
|
4483
4873
|
// ../../../../node_modules/stripe/esm/resources/Balance.js
|
|
4484
|
-
var
|
|
4874
|
+
var stripeMethod71 = StripeResource.method;
|
|
4485
4875
|
var Balance = StripeResource.extend({
|
|
4486
|
-
retrieve:
|
|
4876
|
+
retrieve: stripeMethod71({ method: "GET", fullPath: "/v1/balance" })
|
|
4487
4877
|
});
|
|
4488
4878
|
// ../../../../node_modules/stripe/esm/resources/BalanceTransactions.js
|
|
4489
|
-
var
|
|
4879
|
+
var stripeMethod72 = StripeResource.method;
|
|
4490
4880
|
var BalanceTransactions = StripeResource.extend({
|
|
4491
|
-
retrieve:
|
|
4881
|
+
retrieve: stripeMethod72({
|
|
4492
4882
|
method: "GET",
|
|
4493
4883
|
fullPath: "/v1/balance_transactions/{id}"
|
|
4494
4884
|
}),
|
|
4495
|
-
list:
|
|
4885
|
+
list: stripeMethod72({
|
|
4496
4886
|
method: "GET",
|
|
4497
4887
|
fullPath: "/v1/balance_transactions",
|
|
4498
4888
|
methodType: "list"
|
|
4499
4889
|
})
|
|
4500
4890
|
});
|
|
4501
4891
|
// ../../../../node_modules/stripe/esm/resources/Charges.js
|
|
4502
|
-
var
|
|
4892
|
+
var stripeMethod73 = StripeResource.method;
|
|
4503
4893
|
var Charges = StripeResource.extend({
|
|
4504
|
-
create:
|
|
4505
|
-
retrieve:
|
|
4506
|
-
update:
|
|
4507
|
-
list:
|
|
4894
|
+
create: stripeMethod73({ method: "POST", fullPath: "/v1/charges" }),
|
|
4895
|
+
retrieve: stripeMethod73({ method: "GET", fullPath: "/v1/charges/{charge}" }),
|
|
4896
|
+
update: stripeMethod73({ method: "POST", fullPath: "/v1/charges/{charge}" }),
|
|
4897
|
+
list: stripeMethod73({
|
|
4508
4898
|
method: "GET",
|
|
4509
4899
|
fullPath: "/v1/charges",
|
|
4510
4900
|
methodType: "list"
|
|
4511
4901
|
}),
|
|
4512
|
-
capture:
|
|
4902
|
+
capture: stripeMethod73({
|
|
4513
4903
|
method: "POST",
|
|
4514
4904
|
fullPath: "/v1/charges/{charge}/capture"
|
|
4515
4905
|
}),
|
|
4516
|
-
search:
|
|
4906
|
+
search: stripeMethod73({
|
|
4517
4907
|
method: "GET",
|
|
4518
4908
|
fullPath: "/v1/charges/search",
|
|
4519
4909
|
methodType: "search"
|
|
4520
4910
|
})
|
|
4521
4911
|
});
|
|
4912
|
+
// ../../../../node_modules/stripe/esm/resources/ConfirmationTokens.js
|
|
4913
|
+
var stripeMethod74 = StripeResource.method;
|
|
4914
|
+
var ConfirmationTokens2 = StripeResource.extend({
|
|
4915
|
+
retrieve: stripeMethod74({
|
|
4916
|
+
method: "GET",
|
|
4917
|
+
fullPath: "/v1/confirmation_tokens/{confirmation_token}"
|
|
4918
|
+
})
|
|
4919
|
+
});
|
|
4522
4920
|
// ../../../../node_modules/stripe/esm/resources/CountrySpecs.js
|
|
4523
|
-
var
|
|
4921
|
+
var stripeMethod75 = StripeResource.method;
|
|
4524
4922
|
var CountrySpecs = StripeResource.extend({
|
|
4525
|
-
retrieve:
|
|
4923
|
+
retrieve: stripeMethod75({
|
|
4526
4924
|
method: "GET",
|
|
4527
4925
|
fullPath: "/v1/country_specs/{country}"
|
|
4528
4926
|
}),
|
|
4529
|
-
list:
|
|
4927
|
+
list: stripeMethod75({
|
|
4530
4928
|
method: "GET",
|
|
4531
4929
|
fullPath: "/v1/country_specs",
|
|
4532
4930
|
methodType: "list"
|
|
4533
4931
|
})
|
|
4534
4932
|
});
|
|
4535
4933
|
// ../../../../node_modules/stripe/esm/resources/Coupons.js
|
|
4536
|
-
var
|
|
4934
|
+
var stripeMethod76 = StripeResource.method;
|
|
4537
4935
|
var Coupons = StripeResource.extend({
|
|
4538
|
-
create:
|
|
4539
|
-
retrieve:
|
|
4540
|
-
update:
|
|
4541
|
-
list:
|
|
4936
|
+
create: stripeMethod76({ method: "POST", fullPath: "/v1/coupons" }),
|
|
4937
|
+
retrieve: stripeMethod76({ method: "GET", fullPath: "/v1/coupons/{coupon}" }),
|
|
4938
|
+
update: stripeMethod76({ method: "POST", fullPath: "/v1/coupons/{coupon}" }),
|
|
4939
|
+
list: stripeMethod76({
|
|
4542
4940
|
method: "GET",
|
|
4543
4941
|
fullPath: "/v1/coupons",
|
|
4544
4942
|
methodType: "list"
|
|
4545
4943
|
}),
|
|
4546
|
-
del:
|
|
4944
|
+
del: stripeMethod76({ method: "DELETE", fullPath: "/v1/coupons/{coupon}" })
|
|
4547
4945
|
});
|
|
4548
4946
|
// ../../../../node_modules/stripe/esm/resources/CreditNotes.js
|
|
4549
|
-
var
|
|
4947
|
+
var stripeMethod77 = StripeResource.method;
|
|
4550
4948
|
var CreditNotes = StripeResource.extend({
|
|
4551
|
-
create:
|
|
4552
|
-
retrieve:
|
|
4553
|
-
update:
|
|
4554
|
-
list:
|
|
4949
|
+
create: stripeMethod77({ method: "POST", fullPath: "/v1/credit_notes" }),
|
|
4950
|
+
retrieve: stripeMethod77({ method: "GET", fullPath: "/v1/credit_notes/{id}" }),
|
|
4951
|
+
update: stripeMethod77({ method: "POST", fullPath: "/v1/credit_notes/{id}" }),
|
|
4952
|
+
list: stripeMethod77({
|
|
4555
4953
|
method: "GET",
|
|
4556
4954
|
fullPath: "/v1/credit_notes",
|
|
4557
4955
|
methodType: "list"
|
|
4558
4956
|
}),
|
|
4559
|
-
listLineItems:
|
|
4957
|
+
listLineItems: stripeMethod77({
|
|
4560
4958
|
method: "GET",
|
|
4561
4959
|
fullPath: "/v1/credit_notes/{credit_note}/lines",
|
|
4562
4960
|
methodType: "list"
|
|
4563
4961
|
}),
|
|
4564
|
-
listPreviewLineItems:
|
|
4962
|
+
listPreviewLineItems: stripeMethod77({
|
|
4565
4963
|
method: "GET",
|
|
4566
4964
|
fullPath: "/v1/credit_notes/preview/lines",
|
|
4567
4965
|
methodType: "list"
|
|
4568
4966
|
}),
|
|
4569
|
-
preview:
|
|
4570
|
-
voidCreditNote:
|
|
4967
|
+
preview: stripeMethod77({ method: "GET", fullPath: "/v1/credit_notes/preview" }),
|
|
4968
|
+
voidCreditNote: stripeMethod77({
|
|
4571
4969
|
method: "POST",
|
|
4572
4970
|
fullPath: "/v1/credit_notes/{id}/void"
|
|
4573
4971
|
})
|
|
4574
4972
|
});
|
|
4575
4973
|
// ../../../../node_modules/stripe/esm/resources/CustomerSessions.js
|
|
4576
|
-
var
|
|
4974
|
+
var stripeMethod78 = StripeResource.method;
|
|
4577
4975
|
var CustomerSessions = StripeResource.extend({
|
|
4578
|
-
create:
|
|
4976
|
+
create: stripeMethod78({ method: "POST", fullPath: "/v1/customer_sessions" })
|
|
4579
4977
|
});
|
|
4580
4978
|
// ../../../../node_modules/stripe/esm/resources/Customers.js
|
|
4581
|
-
var
|
|
4979
|
+
var stripeMethod79 = StripeResource.method;
|
|
4582
4980
|
var Customers2 = StripeResource.extend({
|
|
4583
|
-
create:
|
|
4584
|
-
retrieve:
|
|
4585
|
-
update:
|
|
4586
|
-
list:
|
|
4981
|
+
create: stripeMethod79({ method: "POST", fullPath: "/v1/customers" }),
|
|
4982
|
+
retrieve: stripeMethod79({ method: "GET", fullPath: "/v1/customers/{customer}" }),
|
|
4983
|
+
update: stripeMethod79({ method: "POST", fullPath: "/v1/customers/{customer}" }),
|
|
4984
|
+
list: stripeMethod79({
|
|
4587
4985
|
method: "GET",
|
|
4588
4986
|
fullPath: "/v1/customers",
|
|
4589
4987
|
methodType: "list"
|
|
4590
4988
|
}),
|
|
4591
|
-
del:
|
|
4592
|
-
createBalanceTransaction:
|
|
4989
|
+
del: stripeMethod79({ method: "DELETE", fullPath: "/v1/customers/{customer}" }),
|
|
4990
|
+
createBalanceTransaction: stripeMethod79({
|
|
4593
4991
|
method: "POST",
|
|
4594
4992
|
fullPath: "/v1/customers/{customer}/balance_transactions"
|
|
4595
4993
|
}),
|
|
4596
|
-
createFundingInstructions:
|
|
4994
|
+
createFundingInstructions: stripeMethod79({
|
|
4597
4995
|
method: "POST",
|
|
4598
4996
|
fullPath: "/v1/customers/{customer}/funding_instructions"
|
|
4599
4997
|
}),
|
|
4600
|
-
createSource:
|
|
4998
|
+
createSource: stripeMethod79({
|
|
4601
4999
|
method: "POST",
|
|
4602
5000
|
fullPath: "/v1/customers/{customer}/sources"
|
|
4603
5001
|
}),
|
|
4604
|
-
createTaxId:
|
|
5002
|
+
createTaxId: stripeMethod79({
|
|
4605
5003
|
method: "POST",
|
|
4606
5004
|
fullPath: "/v1/customers/{customer}/tax_ids"
|
|
4607
5005
|
}),
|
|
4608
|
-
deleteDiscount:
|
|
5006
|
+
deleteDiscount: stripeMethod79({
|
|
4609
5007
|
method: "DELETE",
|
|
4610
5008
|
fullPath: "/v1/customers/{customer}/discount"
|
|
4611
5009
|
}),
|
|
4612
|
-
deleteSource:
|
|
5010
|
+
deleteSource: stripeMethod79({
|
|
4613
5011
|
method: "DELETE",
|
|
4614
5012
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4615
5013
|
}),
|
|
4616
|
-
deleteTaxId:
|
|
5014
|
+
deleteTaxId: stripeMethod79({
|
|
4617
5015
|
method: "DELETE",
|
|
4618
5016
|
fullPath: "/v1/customers/{customer}/tax_ids/{id}"
|
|
4619
5017
|
}),
|
|
4620
|
-
listBalanceTransactions:
|
|
5018
|
+
listBalanceTransactions: stripeMethod79({
|
|
4621
5019
|
method: "GET",
|
|
4622
5020
|
fullPath: "/v1/customers/{customer}/balance_transactions",
|
|
4623
5021
|
methodType: "list"
|
|
4624
5022
|
}),
|
|
4625
|
-
listCashBalanceTransactions:
|
|
5023
|
+
listCashBalanceTransactions: stripeMethod79({
|
|
4626
5024
|
method: "GET",
|
|
4627
5025
|
fullPath: "/v1/customers/{customer}/cash_balance_transactions",
|
|
4628
5026
|
methodType: "list"
|
|
4629
5027
|
}),
|
|
4630
|
-
listPaymentMethods:
|
|
5028
|
+
listPaymentMethods: stripeMethod79({
|
|
4631
5029
|
method: "GET",
|
|
4632
5030
|
fullPath: "/v1/customers/{customer}/payment_methods",
|
|
4633
5031
|
methodType: "list"
|
|
4634
5032
|
}),
|
|
4635
|
-
listSources:
|
|
5033
|
+
listSources: stripeMethod79({
|
|
4636
5034
|
method: "GET",
|
|
4637
5035
|
fullPath: "/v1/customers/{customer}/sources",
|
|
4638
5036
|
methodType: "list"
|
|
4639
5037
|
}),
|
|
4640
|
-
listTaxIds:
|
|
5038
|
+
listTaxIds: stripeMethod79({
|
|
4641
5039
|
method: "GET",
|
|
4642
5040
|
fullPath: "/v1/customers/{customer}/tax_ids",
|
|
4643
5041
|
methodType: "list"
|
|
4644
5042
|
}),
|
|
4645
|
-
retrieveBalanceTransaction:
|
|
5043
|
+
retrieveBalanceTransaction: stripeMethod79({
|
|
4646
5044
|
method: "GET",
|
|
4647
5045
|
fullPath: "/v1/customers/{customer}/balance_transactions/{transaction}"
|
|
4648
5046
|
}),
|
|
4649
|
-
retrieveCashBalance:
|
|
5047
|
+
retrieveCashBalance: stripeMethod79({
|
|
4650
5048
|
method: "GET",
|
|
4651
5049
|
fullPath: "/v1/customers/{customer}/cash_balance"
|
|
4652
5050
|
}),
|
|
4653
|
-
retrieveCashBalanceTransaction:
|
|
5051
|
+
retrieveCashBalanceTransaction: stripeMethod79({
|
|
4654
5052
|
method: "GET",
|
|
4655
5053
|
fullPath: "/v1/customers/{customer}/cash_balance_transactions/{transaction}"
|
|
4656
5054
|
}),
|
|
4657
|
-
retrievePaymentMethod:
|
|
5055
|
+
retrievePaymentMethod: stripeMethod79({
|
|
4658
5056
|
method: "GET",
|
|
4659
5057
|
fullPath: "/v1/customers/{customer}/payment_methods/{payment_method}"
|
|
4660
5058
|
}),
|
|
4661
|
-
retrieveSource:
|
|
5059
|
+
retrieveSource: stripeMethod79({
|
|
4662
5060
|
method: "GET",
|
|
4663
5061
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4664
5062
|
}),
|
|
4665
|
-
retrieveTaxId:
|
|
5063
|
+
retrieveTaxId: stripeMethod79({
|
|
4666
5064
|
method: "GET",
|
|
4667
5065
|
fullPath: "/v1/customers/{customer}/tax_ids/{id}"
|
|
4668
5066
|
}),
|
|
4669
|
-
search:
|
|
5067
|
+
search: stripeMethod79({
|
|
4670
5068
|
method: "GET",
|
|
4671
5069
|
fullPath: "/v1/customers/search",
|
|
4672
5070
|
methodType: "search"
|
|
4673
5071
|
}),
|
|
4674
|
-
updateBalanceTransaction:
|
|
5072
|
+
updateBalanceTransaction: stripeMethod79({
|
|
4675
5073
|
method: "POST",
|
|
4676
5074
|
fullPath: "/v1/customers/{customer}/balance_transactions/{transaction}"
|
|
4677
5075
|
}),
|
|
4678
|
-
updateCashBalance:
|
|
5076
|
+
updateCashBalance: stripeMethod79({
|
|
4679
5077
|
method: "POST",
|
|
4680
5078
|
fullPath: "/v1/customers/{customer}/cash_balance"
|
|
4681
5079
|
}),
|
|
4682
|
-
updateSource:
|
|
5080
|
+
updateSource: stripeMethod79({
|
|
4683
5081
|
method: "POST",
|
|
4684
5082
|
fullPath: "/v1/customers/{customer}/sources/{id}"
|
|
4685
5083
|
}),
|
|
4686
|
-
verifySource:
|
|
5084
|
+
verifySource: stripeMethod79({
|
|
4687
5085
|
method: "POST",
|
|
4688
5086
|
fullPath: "/v1/customers/{customer}/sources/{id}/verify"
|
|
4689
5087
|
})
|
|
4690
5088
|
});
|
|
4691
5089
|
// ../../../../node_modules/stripe/esm/resources/Disputes.js
|
|
4692
|
-
var
|
|
5090
|
+
var stripeMethod80 = StripeResource.method;
|
|
4693
5091
|
var Disputes2 = StripeResource.extend({
|
|
4694
|
-
retrieve:
|
|
4695
|
-
update:
|
|
4696
|
-
list:
|
|
5092
|
+
retrieve: stripeMethod80({ method: "GET", fullPath: "/v1/disputes/{dispute}" }),
|
|
5093
|
+
update: stripeMethod80({ method: "POST", fullPath: "/v1/disputes/{dispute}" }),
|
|
5094
|
+
list: stripeMethod80({
|
|
4697
5095
|
method: "GET",
|
|
4698
5096
|
fullPath: "/v1/disputes",
|
|
4699
5097
|
methodType: "list"
|
|
4700
5098
|
}),
|
|
4701
|
-
close:
|
|
5099
|
+
close: stripeMethod80({
|
|
4702
5100
|
method: "POST",
|
|
4703
5101
|
fullPath: "/v1/disputes/{dispute}/close"
|
|
4704
5102
|
})
|
|
4705
5103
|
});
|
|
4706
5104
|
// ../../../../node_modules/stripe/esm/resources/EphemeralKeys.js
|
|
4707
|
-
var
|
|
5105
|
+
var stripeMethod81 = StripeResource.method;
|
|
4708
5106
|
var EphemeralKeys = StripeResource.extend({
|
|
4709
|
-
create:
|
|
5107
|
+
create: stripeMethod81({
|
|
4710
5108
|
method: "POST",
|
|
4711
5109
|
fullPath: "/v1/ephemeral_keys",
|
|
4712
5110
|
validator: (data, options) => {
|
|
@@ -4715,38 +5113,38 @@ var EphemeralKeys = StripeResource.extend({
|
|
|
4715
5113
|
}
|
|
4716
5114
|
}
|
|
4717
5115
|
}),
|
|
4718
|
-
del:
|
|
5116
|
+
del: stripeMethod81({ method: "DELETE", fullPath: "/v1/ephemeral_keys/{key}" })
|
|
4719
5117
|
});
|
|
4720
5118
|
// ../../../../node_modules/stripe/esm/resources/Events.js
|
|
4721
|
-
var
|
|
5119
|
+
var stripeMethod82 = StripeResource.method;
|
|
4722
5120
|
var Events = StripeResource.extend({
|
|
4723
|
-
retrieve:
|
|
4724
|
-
list:
|
|
5121
|
+
retrieve: stripeMethod82({ method: "GET", fullPath: "/v1/events/{id}" }),
|
|
5122
|
+
list: stripeMethod82({
|
|
4725
5123
|
method: "GET",
|
|
4726
5124
|
fullPath: "/v1/events",
|
|
4727
5125
|
methodType: "list"
|
|
4728
5126
|
})
|
|
4729
5127
|
});
|
|
4730
5128
|
// ../../../../node_modules/stripe/esm/resources/ExchangeRates.js
|
|
4731
|
-
var
|
|
5129
|
+
var stripeMethod83 = StripeResource.method;
|
|
4732
5130
|
var ExchangeRates = StripeResource.extend({
|
|
4733
|
-
retrieve:
|
|
5131
|
+
retrieve: stripeMethod83({
|
|
4734
5132
|
method: "GET",
|
|
4735
5133
|
fullPath: "/v1/exchange_rates/{rate_id}"
|
|
4736
5134
|
}),
|
|
4737
|
-
list:
|
|
5135
|
+
list: stripeMethod83({
|
|
4738
5136
|
method: "GET",
|
|
4739
5137
|
fullPath: "/v1/exchange_rates",
|
|
4740
5138
|
methodType: "list"
|
|
4741
5139
|
})
|
|
4742
5140
|
});
|
|
4743
5141
|
// ../../../../node_modules/stripe/esm/resources/FileLinks.js
|
|
4744
|
-
var
|
|
5142
|
+
var stripeMethod84 = StripeResource.method;
|
|
4745
5143
|
var FileLinks = StripeResource.extend({
|
|
4746
|
-
create:
|
|
4747
|
-
retrieve:
|
|
4748
|
-
update:
|
|
4749
|
-
list:
|
|
5144
|
+
create: stripeMethod84({ method: "POST", fullPath: "/v1/file_links" }),
|
|
5145
|
+
retrieve: stripeMethod84({ method: "GET", fullPath: "/v1/file_links/{link}" }),
|
|
5146
|
+
update: stripeMethod84({ method: "POST", fullPath: "/v1/file_links/{link}" }),
|
|
5147
|
+
list: stripeMethod84({
|
|
4750
5148
|
method: "GET",
|
|
4751
5149
|
fullPath: "/v1/file_links",
|
|
4752
5150
|
methodType: "list"
|
|
@@ -4801,9 +5199,9 @@ var multipartDataGenerator = (method, data, headers) => {
|
|
|
4801
5199
|
};
|
|
4802
5200
|
|
|
4803
5201
|
// ../../../../node_modules/stripe/esm/resources/Files.js
|
|
4804
|
-
var
|
|
5202
|
+
var stripeMethod85 = StripeResource.method;
|
|
4805
5203
|
var Files = StripeResource.extend({
|
|
4806
|
-
create:
|
|
5204
|
+
create: stripeMethod85({
|
|
4807
5205
|
method: "POST",
|
|
4808
5206
|
fullPath: "/v1/files",
|
|
4809
5207
|
headers: {
|
|
@@ -4811,8 +5209,8 @@ var Files = StripeResource.extend({
|
|
|
4811
5209
|
},
|
|
4812
5210
|
host: "files.stripe.com"
|
|
4813
5211
|
}),
|
|
4814
|
-
retrieve:
|
|
4815
|
-
list:
|
|
5212
|
+
retrieve: stripeMethod85({ method: "GET", fullPath: "/v1/files/{file}" }),
|
|
5213
|
+
list: stripeMethod85({
|
|
4816
5214
|
method: "GET",
|
|
4817
5215
|
fullPath: "/v1/files",
|
|
4818
5216
|
methodType: "list"
|
|
@@ -4820,87 +5218,91 @@ var Files = StripeResource.extend({
|
|
|
4820
5218
|
requestDataProcessor: multipartRequestDataProcessor
|
|
4821
5219
|
});
|
|
4822
5220
|
// ../../../../node_modules/stripe/esm/resources/InvoiceItems.js
|
|
4823
|
-
var
|
|
5221
|
+
var stripeMethod86 = StripeResource.method;
|
|
4824
5222
|
var InvoiceItems = StripeResource.extend({
|
|
4825
|
-
create:
|
|
4826
|
-
retrieve:
|
|
5223
|
+
create: stripeMethod86({ method: "POST", fullPath: "/v1/invoiceitems" }),
|
|
5224
|
+
retrieve: stripeMethod86({
|
|
4827
5225
|
method: "GET",
|
|
4828
5226
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4829
5227
|
}),
|
|
4830
|
-
update:
|
|
5228
|
+
update: stripeMethod86({
|
|
4831
5229
|
method: "POST",
|
|
4832
5230
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4833
5231
|
}),
|
|
4834
|
-
list:
|
|
5232
|
+
list: stripeMethod86({
|
|
4835
5233
|
method: "GET",
|
|
4836
5234
|
fullPath: "/v1/invoiceitems",
|
|
4837
5235
|
methodType: "list"
|
|
4838
5236
|
}),
|
|
4839
|
-
del:
|
|
5237
|
+
del: stripeMethod86({
|
|
4840
5238
|
method: "DELETE",
|
|
4841
5239
|
fullPath: "/v1/invoiceitems/{invoiceitem}"
|
|
4842
5240
|
})
|
|
4843
5241
|
});
|
|
4844
5242
|
// ../../../../node_modules/stripe/esm/resources/Invoices.js
|
|
4845
|
-
var
|
|
5243
|
+
var stripeMethod87 = StripeResource.method;
|
|
4846
5244
|
var Invoices = StripeResource.extend({
|
|
4847
|
-
create:
|
|
4848
|
-
retrieve:
|
|
4849
|
-
update:
|
|
4850
|
-
list:
|
|
5245
|
+
create: stripeMethod87({ method: "POST", fullPath: "/v1/invoices" }),
|
|
5246
|
+
retrieve: stripeMethod87({ method: "GET", fullPath: "/v1/invoices/{invoice}" }),
|
|
5247
|
+
update: stripeMethod87({ method: "POST", fullPath: "/v1/invoices/{invoice}" }),
|
|
5248
|
+
list: stripeMethod87({
|
|
4851
5249
|
method: "GET",
|
|
4852
5250
|
fullPath: "/v1/invoices",
|
|
4853
5251
|
methodType: "list"
|
|
4854
5252
|
}),
|
|
4855
|
-
del:
|
|
4856
|
-
|
|
5253
|
+
del: stripeMethod87({ method: "DELETE", fullPath: "/v1/invoices/{invoice}" }),
|
|
5254
|
+
createPreview: stripeMethod87({
|
|
5255
|
+
method: "POST",
|
|
5256
|
+
fullPath: "/v1/invoices/create_preview"
|
|
5257
|
+
}),
|
|
5258
|
+
finalizeInvoice: stripeMethod87({
|
|
4857
5259
|
method: "POST",
|
|
4858
5260
|
fullPath: "/v1/invoices/{invoice}/finalize"
|
|
4859
5261
|
}),
|
|
4860
|
-
listLineItems:
|
|
5262
|
+
listLineItems: stripeMethod87({
|
|
4861
5263
|
method: "GET",
|
|
4862
5264
|
fullPath: "/v1/invoices/{invoice}/lines",
|
|
4863
5265
|
methodType: "list"
|
|
4864
5266
|
}),
|
|
4865
|
-
listUpcomingLines:
|
|
5267
|
+
listUpcomingLines: stripeMethod87({
|
|
4866
5268
|
method: "GET",
|
|
4867
5269
|
fullPath: "/v1/invoices/upcoming/lines",
|
|
4868
5270
|
methodType: "list"
|
|
4869
5271
|
}),
|
|
4870
|
-
markUncollectible:
|
|
5272
|
+
markUncollectible: stripeMethod87({
|
|
4871
5273
|
method: "POST",
|
|
4872
5274
|
fullPath: "/v1/invoices/{invoice}/mark_uncollectible"
|
|
4873
5275
|
}),
|
|
4874
|
-
pay:
|
|
4875
|
-
retrieveUpcoming:
|
|
5276
|
+
pay: stripeMethod87({ method: "POST", fullPath: "/v1/invoices/{invoice}/pay" }),
|
|
5277
|
+
retrieveUpcoming: stripeMethod87({
|
|
4876
5278
|
method: "GET",
|
|
4877
5279
|
fullPath: "/v1/invoices/upcoming"
|
|
4878
5280
|
}),
|
|
4879
|
-
search:
|
|
5281
|
+
search: stripeMethod87({
|
|
4880
5282
|
method: "GET",
|
|
4881
5283
|
fullPath: "/v1/invoices/search",
|
|
4882
5284
|
methodType: "search"
|
|
4883
5285
|
}),
|
|
4884
|
-
sendInvoice:
|
|
5286
|
+
sendInvoice: stripeMethod87({
|
|
4885
5287
|
method: "POST",
|
|
4886
5288
|
fullPath: "/v1/invoices/{invoice}/send"
|
|
4887
5289
|
}),
|
|
4888
|
-
updateLineItem:
|
|
5290
|
+
updateLineItem: stripeMethod87({
|
|
4889
5291
|
method: "POST",
|
|
4890
5292
|
fullPath: "/v1/invoices/{invoice}/lines/{line_item_id}"
|
|
4891
5293
|
}),
|
|
4892
|
-
voidInvoice:
|
|
5294
|
+
voidInvoice: stripeMethod87({
|
|
4893
5295
|
method: "POST",
|
|
4894
5296
|
fullPath: "/v1/invoices/{invoice}/void"
|
|
4895
5297
|
})
|
|
4896
5298
|
});
|
|
4897
5299
|
// ../../../../node_modules/stripe/esm/resources/Mandates.js
|
|
4898
|
-
var
|
|
5300
|
+
var stripeMethod88 = StripeResource.method;
|
|
4899
5301
|
var Mandates = StripeResource.extend({
|
|
4900
|
-
retrieve:
|
|
5302
|
+
retrieve: stripeMethod88({ method: "GET", fullPath: "/v1/mandates/{mandate}" })
|
|
4901
5303
|
});
|
|
4902
5304
|
// ../../../../node_modules/stripe/esm/resources/OAuth.js
|
|
4903
|
-
var
|
|
5305
|
+
var stripeMethod89 = StripeResource.method;
|
|
4904
5306
|
var oAuthHost = "connect.stripe.com";
|
|
4905
5307
|
var OAuth = StripeResource.extend({
|
|
4906
5308
|
basePath: "/",
|
|
@@ -4922,7 +5324,7 @@ var OAuth = StripeResource.extend({
|
|
|
4922
5324
|
}
|
|
4923
5325
|
return `https://${oAuthHost}/${path}?${stringifyRequestData(params)}`;
|
|
4924
5326
|
},
|
|
4925
|
-
token:
|
|
5327
|
+
token: stripeMethod89({
|
|
4926
5328
|
method: "POST",
|
|
4927
5329
|
path: "oauth/token",
|
|
4928
5330
|
host: oAuthHost
|
|
@@ -4931,7 +5333,7 @@ var OAuth = StripeResource.extend({
|
|
|
4931
5333
|
if (!spec.client_id) {
|
|
4932
5334
|
spec.client_id = this._stripe.getClientId();
|
|
4933
5335
|
}
|
|
4934
|
-
return
|
|
5336
|
+
return stripeMethod89({
|
|
4935
5337
|
method: "POST",
|
|
4936
5338
|
path: "oauth/deauthorize",
|
|
4937
5339
|
host: oAuthHost
|
|
@@ -4939,261 +5341,278 @@ var OAuth = StripeResource.extend({
|
|
|
4939
5341
|
}
|
|
4940
5342
|
});
|
|
4941
5343
|
// ../../../../node_modules/stripe/esm/resources/PaymentIntents.js
|
|
4942
|
-
var
|
|
5344
|
+
var stripeMethod90 = StripeResource.method;
|
|
4943
5345
|
var PaymentIntents = StripeResource.extend({
|
|
4944
|
-
create:
|
|
4945
|
-
retrieve:
|
|
5346
|
+
create: stripeMethod90({ method: "POST", fullPath: "/v1/payment_intents" }),
|
|
5347
|
+
retrieve: stripeMethod90({
|
|
4946
5348
|
method: "GET",
|
|
4947
5349
|
fullPath: "/v1/payment_intents/{intent}"
|
|
4948
5350
|
}),
|
|
4949
|
-
update:
|
|
5351
|
+
update: stripeMethod90({
|
|
4950
5352
|
method: "POST",
|
|
4951
5353
|
fullPath: "/v1/payment_intents/{intent}"
|
|
4952
5354
|
}),
|
|
4953
|
-
list:
|
|
5355
|
+
list: stripeMethod90({
|
|
4954
5356
|
method: "GET",
|
|
4955
5357
|
fullPath: "/v1/payment_intents",
|
|
4956
5358
|
methodType: "list"
|
|
4957
5359
|
}),
|
|
4958
|
-
applyCustomerBalance:
|
|
5360
|
+
applyCustomerBalance: stripeMethod90({
|
|
4959
5361
|
method: "POST",
|
|
4960
5362
|
fullPath: "/v1/payment_intents/{intent}/apply_customer_balance"
|
|
4961
5363
|
}),
|
|
4962
|
-
cancel:
|
|
5364
|
+
cancel: stripeMethod90({
|
|
4963
5365
|
method: "POST",
|
|
4964
5366
|
fullPath: "/v1/payment_intents/{intent}/cancel"
|
|
4965
5367
|
}),
|
|
4966
|
-
capture:
|
|
5368
|
+
capture: stripeMethod90({
|
|
4967
5369
|
method: "POST",
|
|
4968
5370
|
fullPath: "/v1/payment_intents/{intent}/capture"
|
|
4969
5371
|
}),
|
|
4970
|
-
confirm:
|
|
5372
|
+
confirm: stripeMethod90({
|
|
4971
5373
|
method: "POST",
|
|
4972
5374
|
fullPath: "/v1/payment_intents/{intent}/confirm"
|
|
4973
5375
|
}),
|
|
4974
|
-
incrementAuthorization:
|
|
5376
|
+
incrementAuthorization: stripeMethod90({
|
|
4975
5377
|
method: "POST",
|
|
4976
5378
|
fullPath: "/v1/payment_intents/{intent}/increment_authorization"
|
|
4977
5379
|
}),
|
|
4978
|
-
search:
|
|
5380
|
+
search: stripeMethod90({
|
|
4979
5381
|
method: "GET",
|
|
4980
5382
|
fullPath: "/v1/payment_intents/search",
|
|
4981
5383
|
methodType: "search"
|
|
4982
5384
|
}),
|
|
4983
|
-
verifyMicrodeposits:
|
|
5385
|
+
verifyMicrodeposits: stripeMethod90({
|
|
4984
5386
|
method: "POST",
|
|
4985
5387
|
fullPath: "/v1/payment_intents/{intent}/verify_microdeposits"
|
|
4986
5388
|
})
|
|
4987
5389
|
});
|
|
4988
5390
|
// ../../../../node_modules/stripe/esm/resources/PaymentLinks.js
|
|
4989
|
-
var
|
|
5391
|
+
var stripeMethod91 = StripeResource.method;
|
|
4990
5392
|
var PaymentLinks = StripeResource.extend({
|
|
4991
|
-
create:
|
|
4992
|
-
retrieve:
|
|
5393
|
+
create: stripeMethod91({ method: "POST", fullPath: "/v1/payment_links" }),
|
|
5394
|
+
retrieve: stripeMethod91({
|
|
4993
5395
|
method: "GET",
|
|
4994
5396
|
fullPath: "/v1/payment_links/{payment_link}"
|
|
4995
5397
|
}),
|
|
4996
|
-
update:
|
|
5398
|
+
update: stripeMethod91({
|
|
4997
5399
|
method: "POST",
|
|
4998
5400
|
fullPath: "/v1/payment_links/{payment_link}"
|
|
4999
5401
|
}),
|
|
5000
|
-
list:
|
|
5402
|
+
list: stripeMethod91({
|
|
5001
5403
|
method: "GET",
|
|
5002
5404
|
fullPath: "/v1/payment_links",
|
|
5003
5405
|
methodType: "list"
|
|
5004
5406
|
}),
|
|
5005
|
-
listLineItems:
|
|
5407
|
+
listLineItems: stripeMethod91({
|
|
5006
5408
|
method: "GET",
|
|
5007
5409
|
fullPath: "/v1/payment_links/{payment_link}/line_items",
|
|
5008
5410
|
methodType: "list"
|
|
5009
5411
|
})
|
|
5010
5412
|
});
|
|
5011
5413
|
// ../../../../node_modules/stripe/esm/resources/PaymentMethodConfigurations.js
|
|
5012
|
-
var
|
|
5414
|
+
var stripeMethod92 = StripeResource.method;
|
|
5013
5415
|
var PaymentMethodConfigurations = StripeResource.extend({
|
|
5014
|
-
create:
|
|
5416
|
+
create: stripeMethod92({
|
|
5015
5417
|
method: "POST",
|
|
5016
5418
|
fullPath: "/v1/payment_method_configurations"
|
|
5017
5419
|
}),
|
|
5018
|
-
retrieve:
|
|
5420
|
+
retrieve: stripeMethod92({
|
|
5019
5421
|
method: "GET",
|
|
5020
5422
|
fullPath: "/v1/payment_method_configurations/{configuration}"
|
|
5021
5423
|
}),
|
|
5022
|
-
update:
|
|
5424
|
+
update: stripeMethod92({
|
|
5023
5425
|
method: "POST",
|
|
5024
5426
|
fullPath: "/v1/payment_method_configurations/{configuration}"
|
|
5025
5427
|
}),
|
|
5026
|
-
list:
|
|
5428
|
+
list: stripeMethod92({
|
|
5027
5429
|
method: "GET",
|
|
5028
5430
|
fullPath: "/v1/payment_method_configurations",
|
|
5029
5431
|
methodType: "list"
|
|
5030
5432
|
})
|
|
5031
5433
|
});
|
|
5032
5434
|
// ../../../../node_modules/stripe/esm/resources/PaymentMethodDomains.js
|
|
5033
|
-
var
|
|
5435
|
+
var stripeMethod93 = StripeResource.method;
|
|
5034
5436
|
var PaymentMethodDomains = StripeResource.extend({
|
|
5035
|
-
create:
|
|
5437
|
+
create: stripeMethod93({
|
|
5036
5438
|
method: "POST",
|
|
5037
5439
|
fullPath: "/v1/payment_method_domains"
|
|
5038
5440
|
}),
|
|
5039
|
-
retrieve:
|
|
5441
|
+
retrieve: stripeMethod93({
|
|
5040
5442
|
method: "GET",
|
|
5041
5443
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}"
|
|
5042
5444
|
}),
|
|
5043
|
-
update:
|
|
5445
|
+
update: stripeMethod93({
|
|
5044
5446
|
method: "POST",
|
|
5045
5447
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}"
|
|
5046
5448
|
}),
|
|
5047
|
-
list:
|
|
5449
|
+
list: stripeMethod93({
|
|
5048
5450
|
method: "GET",
|
|
5049
5451
|
fullPath: "/v1/payment_method_domains",
|
|
5050
5452
|
methodType: "list"
|
|
5051
5453
|
}),
|
|
5052
|
-
validate:
|
|
5454
|
+
validate: stripeMethod93({
|
|
5053
5455
|
method: "POST",
|
|
5054
5456
|
fullPath: "/v1/payment_method_domains/{payment_method_domain}/validate"
|
|
5055
5457
|
})
|
|
5056
5458
|
});
|
|
5057
5459
|
// ../../../../node_modules/stripe/esm/resources/PaymentMethods.js
|
|
5058
|
-
var
|
|
5460
|
+
var stripeMethod94 = StripeResource.method;
|
|
5059
5461
|
var PaymentMethods = StripeResource.extend({
|
|
5060
|
-
create:
|
|
5061
|
-
retrieve:
|
|
5462
|
+
create: stripeMethod94({ method: "POST", fullPath: "/v1/payment_methods" }),
|
|
5463
|
+
retrieve: stripeMethod94({
|
|
5062
5464
|
method: "GET",
|
|
5063
5465
|
fullPath: "/v1/payment_methods/{payment_method}"
|
|
5064
5466
|
}),
|
|
5065
|
-
update:
|
|
5467
|
+
update: stripeMethod94({
|
|
5066
5468
|
method: "POST",
|
|
5067
5469
|
fullPath: "/v1/payment_methods/{payment_method}"
|
|
5068
5470
|
}),
|
|
5069
|
-
list:
|
|
5471
|
+
list: stripeMethod94({
|
|
5070
5472
|
method: "GET",
|
|
5071
5473
|
fullPath: "/v1/payment_methods",
|
|
5072
5474
|
methodType: "list"
|
|
5073
5475
|
}),
|
|
5074
|
-
attach:
|
|
5476
|
+
attach: stripeMethod94({
|
|
5075
5477
|
method: "POST",
|
|
5076
5478
|
fullPath: "/v1/payment_methods/{payment_method}/attach"
|
|
5077
5479
|
}),
|
|
5078
|
-
detach:
|
|
5480
|
+
detach: stripeMethod94({
|
|
5079
5481
|
method: "POST",
|
|
5080
5482
|
fullPath: "/v1/payment_methods/{payment_method}/detach"
|
|
5081
5483
|
})
|
|
5082
5484
|
});
|
|
5083
5485
|
// ../../../../node_modules/stripe/esm/resources/Payouts.js
|
|
5084
|
-
var
|
|
5486
|
+
var stripeMethod95 = StripeResource.method;
|
|
5085
5487
|
var Payouts = StripeResource.extend({
|
|
5086
|
-
create:
|
|
5087
|
-
retrieve:
|
|
5088
|
-
update:
|
|
5089
|
-
list:
|
|
5488
|
+
create: stripeMethod95({ method: "POST", fullPath: "/v1/payouts" }),
|
|
5489
|
+
retrieve: stripeMethod95({ method: "GET", fullPath: "/v1/payouts/{payout}" }),
|
|
5490
|
+
update: stripeMethod95({ method: "POST", fullPath: "/v1/payouts/{payout}" }),
|
|
5491
|
+
list: stripeMethod95({
|
|
5090
5492
|
method: "GET",
|
|
5091
5493
|
fullPath: "/v1/payouts",
|
|
5092
5494
|
methodType: "list"
|
|
5093
5495
|
}),
|
|
5094
|
-
cancel:
|
|
5496
|
+
cancel: stripeMethod95({
|
|
5095
5497
|
method: "POST",
|
|
5096
5498
|
fullPath: "/v1/payouts/{payout}/cancel"
|
|
5097
5499
|
}),
|
|
5098
|
-
reverse:
|
|
5500
|
+
reverse: stripeMethod95({
|
|
5099
5501
|
method: "POST",
|
|
5100
5502
|
fullPath: "/v1/payouts/{payout}/reverse"
|
|
5101
5503
|
})
|
|
5102
5504
|
});
|
|
5103
5505
|
// ../../../../node_modules/stripe/esm/resources/Plans.js
|
|
5104
|
-
var
|
|
5506
|
+
var stripeMethod96 = StripeResource.method;
|
|
5105
5507
|
var Plans = StripeResource.extend({
|
|
5106
|
-
create:
|
|
5107
|
-
retrieve:
|
|
5108
|
-
update:
|
|
5109
|
-
list:
|
|
5508
|
+
create: stripeMethod96({ method: "POST", fullPath: "/v1/plans" }),
|
|
5509
|
+
retrieve: stripeMethod96({ method: "GET", fullPath: "/v1/plans/{plan}" }),
|
|
5510
|
+
update: stripeMethod96({ method: "POST", fullPath: "/v1/plans/{plan}" }),
|
|
5511
|
+
list: stripeMethod96({
|
|
5110
5512
|
method: "GET",
|
|
5111
5513
|
fullPath: "/v1/plans",
|
|
5112
5514
|
methodType: "list"
|
|
5113
5515
|
}),
|
|
5114
|
-
del:
|
|
5516
|
+
del: stripeMethod96({ method: "DELETE", fullPath: "/v1/plans/{plan}" })
|
|
5115
5517
|
});
|
|
5116
5518
|
// ../../../../node_modules/stripe/esm/resources/Prices.js
|
|
5117
|
-
var
|
|
5519
|
+
var stripeMethod97 = StripeResource.method;
|
|
5118
5520
|
var Prices = StripeResource.extend({
|
|
5119
|
-
create:
|
|
5120
|
-
retrieve:
|
|
5121
|
-
update:
|
|
5122
|
-
list:
|
|
5521
|
+
create: stripeMethod97({ method: "POST", fullPath: "/v1/prices" }),
|
|
5522
|
+
retrieve: stripeMethod97({ method: "GET", fullPath: "/v1/prices/{price}" }),
|
|
5523
|
+
update: stripeMethod97({ method: "POST", fullPath: "/v1/prices/{price}" }),
|
|
5524
|
+
list: stripeMethod97({
|
|
5123
5525
|
method: "GET",
|
|
5124
5526
|
fullPath: "/v1/prices",
|
|
5125
5527
|
methodType: "list"
|
|
5126
5528
|
}),
|
|
5127
|
-
search:
|
|
5529
|
+
search: stripeMethod97({
|
|
5128
5530
|
method: "GET",
|
|
5129
5531
|
fullPath: "/v1/prices/search",
|
|
5130
5532
|
methodType: "search"
|
|
5131
5533
|
})
|
|
5132
5534
|
});
|
|
5133
5535
|
// ../../../../node_modules/stripe/esm/resources/Products.js
|
|
5134
|
-
var
|
|
5536
|
+
var stripeMethod98 = StripeResource.method;
|
|
5135
5537
|
var Products2 = StripeResource.extend({
|
|
5136
|
-
create:
|
|
5137
|
-
retrieve:
|
|
5138
|
-
update:
|
|
5139
|
-
list:
|
|
5538
|
+
create: stripeMethod98({ method: "POST", fullPath: "/v1/products" }),
|
|
5539
|
+
retrieve: stripeMethod98({ method: "GET", fullPath: "/v1/products/{id}" }),
|
|
5540
|
+
update: stripeMethod98({ method: "POST", fullPath: "/v1/products/{id}" }),
|
|
5541
|
+
list: stripeMethod98({
|
|
5140
5542
|
method: "GET",
|
|
5141
5543
|
fullPath: "/v1/products",
|
|
5142
5544
|
methodType: "list"
|
|
5143
5545
|
}),
|
|
5144
|
-
del:
|
|
5145
|
-
|
|
5546
|
+
del: stripeMethod98({ method: "DELETE", fullPath: "/v1/products/{id}" }),
|
|
5547
|
+
createFeature: stripeMethod98({
|
|
5548
|
+
method: "POST",
|
|
5549
|
+
fullPath: "/v1/products/{product}/features"
|
|
5550
|
+
}),
|
|
5551
|
+
deleteFeature: stripeMethod98({
|
|
5552
|
+
method: "DELETE",
|
|
5553
|
+
fullPath: "/v1/products/{product}/features/{id}"
|
|
5554
|
+
}),
|
|
5555
|
+
listFeatures: stripeMethod98({
|
|
5556
|
+
method: "GET",
|
|
5557
|
+
fullPath: "/v1/products/{product}/features",
|
|
5558
|
+
methodType: "list"
|
|
5559
|
+
}),
|
|
5560
|
+
retrieveFeature: stripeMethod98({
|
|
5561
|
+
method: "GET",
|
|
5562
|
+
fullPath: "/v1/products/{product}/features/{id}"
|
|
5563
|
+
}),
|
|
5564
|
+
search: stripeMethod98({
|
|
5146
5565
|
method: "GET",
|
|
5147
5566
|
fullPath: "/v1/products/search",
|
|
5148
5567
|
methodType: "search"
|
|
5149
5568
|
})
|
|
5150
5569
|
});
|
|
5151
5570
|
// ../../../../node_modules/stripe/esm/resources/PromotionCodes.js
|
|
5152
|
-
var
|
|
5571
|
+
var stripeMethod99 = StripeResource.method;
|
|
5153
5572
|
var PromotionCodes = StripeResource.extend({
|
|
5154
|
-
create:
|
|
5155
|
-
retrieve:
|
|
5573
|
+
create: stripeMethod99({ method: "POST", fullPath: "/v1/promotion_codes" }),
|
|
5574
|
+
retrieve: stripeMethod99({
|
|
5156
5575
|
method: "GET",
|
|
5157
5576
|
fullPath: "/v1/promotion_codes/{promotion_code}"
|
|
5158
5577
|
}),
|
|
5159
|
-
update:
|
|
5578
|
+
update: stripeMethod99({
|
|
5160
5579
|
method: "POST",
|
|
5161
5580
|
fullPath: "/v1/promotion_codes/{promotion_code}"
|
|
5162
5581
|
}),
|
|
5163
|
-
list:
|
|
5582
|
+
list: stripeMethod99({
|
|
5164
5583
|
method: "GET",
|
|
5165
5584
|
fullPath: "/v1/promotion_codes",
|
|
5166
5585
|
methodType: "list"
|
|
5167
5586
|
})
|
|
5168
5587
|
});
|
|
5169
5588
|
// ../../../../node_modules/stripe/esm/resources/Quotes.js
|
|
5170
|
-
var
|
|
5589
|
+
var stripeMethod100 = StripeResource.method;
|
|
5171
5590
|
var Quotes = StripeResource.extend({
|
|
5172
|
-
create:
|
|
5173
|
-
retrieve:
|
|
5174
|
-
update:
|
|
5175
|
-
list:
|
|
5591
|
+
create: stripeMethod100({ method: "POST", fullPath: "/v1/quotes" }),
|
|
5592
|
+
retrieve: stripeMethod100({ method: "GET", fullPath: "/v1/quotes/{quote}" }),
|
|
5593
|
+
update: stripeMethod100({ method: "POST", fullPath: "/v1/quotes/{quote}" }),
|
|
5594
|
+
list: stripeMethod100({
|
|
5176
5595
|
method: "GET",
|
|
5177
5596
|
fullPath: "/v1/quotes",
|
|
5178
5597
|
methodType: "list"
|
|
5179
5598
|
}),
|
|
5180
|
-
accept:
|
|
5181
|
-
cancel:
|
|
5182
|
-
finalizeQuote:
|
|
5599
|
+
accept: stripeMethod100({ method: "POST", fullPath: "/v1/quotes/{quote}/accept" }),
|
|
5600
|
+
cancel: stripeMethod100({ method: "POST", fullPath: "/v1/quotes/{quote}/cancel" }),
|
|
5601
|
+
finalizeQuote: stripeMethod100({
|
|
5183
5602
|
method: "POST",
|
|
5184
5603
|
fullPath: "/v1/quotes/{quote}/finalize"
|
|
5185
5604
|
}),
|
|
5186
|
-
listComputedUpfrontLineItems:
|
|
5605
|
+
listComputedUpfrontLineItems: stripeMethod100({
|
|
5187
5606
|
method: "GET",
|
|
5188
5607
|
fullPath: "/v1/quotes/{quote}/computed_upfront_line_items",
|
|
5189
5608
|
methodType: "list"
|
|
5190
5609
|
}),
|
|
5191
|
-
listLineItems:
|
|
5610
|
+
listLineItems: stripeMethod100({
|
|
5192
5611
|
method: "GET",
|
|
5193
5612
|
fullPath: "/v1/quotes/{quote}/line_items",
|
|
5194
5613
|
methodType: "list"
|
|
5195
5614
|
}),
|
|
5196
|
-
pdf:
|
|
5615
|
+
pdf: stripeMethod100({
|
|
5197
5616
|
method: "GET",
|
|
5198
5617
|
fullPath: "/v1/quotes/{quote}/pdf",
|
|
5199
5618
|
host: "files.stripe.com",
|
|
@@ -5201,303 +5620,303 @@ var Quotes = StripeResource.extend({
|
|
|
5201
5620
|
})
|
|
5202
5621
|
});
|
|
5203
5622
|
// ../../../../node_modules/stripe/esm/resources/Refunds.js
|
|
5204
|
-
var
|
|
5623
|
+
var stripeMethod101 = StripeResource.method;
|
|
5205
5624
|
var Refunds2 = StripeResource.extend({
|
|
5206
|
-
create:
|
|
5207
|
-
retrieve:
|
|
5208
|
-
update:
|
|
5209
|
-
list:
|
|
5625
|
+
create: stripeMethod101({ method: "POST", fullPath: "/v1/refunds" }),
|
|
5626
|
+
retrieve: stripeMethod101({ method: "GET", fullPath: "/v1/refunds/{refund}" }),
|
|
5627
|
+
update: stripeMethod101({ method: "POST", fullPath: "/v1/refunds/{refund}" }),
|
|
5628
|
+
list: stripeMethod101({
|
|
5210
5629
|
method: "GET",
|
|
5211
5630
|
fullPath: "/v1/refunds",
|
|
5212
5631
|
methodType: "list"
|
|
5213
5632
|
}),
|
|
5214
|
-
cancel:
|
|
5633
|
+
cancel: stripeMethod101({
|
|
5215
5634
|
method: "POST",
|
|
5216
5635
|
fullPath: "/v1/refunds/{refund}/cancel"
|
|
5217
5636
|
})
|
|
5218
5637
|
});
|
|
5219
5638
|
// ../../../../node_modules/stripe/esm/resources/Reviews.js
|
|
5220
|
-
var
|
|
5639
|
+
var stripeMethod102 = StripeResource.method;
|
|
5221
5640
|
var Reviews = StripeResource.extend({
|
|
5222
|
-
retrieve:
|
|
5223
|
-
list:
|
|
5641
|
+
retrieve: stripeMethod102({ method: "GET", fullPath: "/v1/reviews/{review}" }),
|
|
5642
|
+
list: stripeMethod102({
|
|
5224
5643
|
method: "GET",
|
|
5225
5644
|
fullPath: "/v1/reviews",
|
|
5226
5645
|
methodType: "list"
|
|
5227
5646
|
}),
|
|
5228
|
-
approve:
|
|
5647
|
+
approve: stripeMethod102({
|
|
5229
5648
|
method: "POST",
|
|
5230
5649
|
fullPath: "/v1/reviews/{review}/approve"
|
|
5231
5650
|
})
|
|
5232
5651
|
});
|
|
5233
5652
|
// ../../../../node_modules/stripe/esm/resources/SetupAttempts.js
|
|
5234
|
-
var
|
|
5653
|
+
var stripeMethod103 = StripeResource.method;
|
|
5235
5654
|
var SetupAttempts = StripeResource.extend({
|
|
5236
|
-
list:
|
|
5655
|
+
list: stripeMethod103({
|
|
5237
5656
|
method: "GET",
|
|
5238
5657
|
fullPath: "/v1/setup_attempts",
|
|
5239
5658
|
methodType: "list"
|
|
5240
5659
|
})
|
|
5241
5660
|
});
|
|
5242
5661
|
// ../../../../node_modules/stripe/esm/resources/SetupIntents.js
|
|
5243
|
-
var
|
|
5662
|
+
var stripeMethod104 = StripeResource.method;
|
|
5244
5663
|
var SetupIntents = StripeResource.extend({
|
|
5245
|
-
create:
|
|
5246
|
-
retrieve:
|
|
5664
|
+
create: stripeMethod104({ method: "POST", fullPath: "/v1/setup_intents" }),
|
|
5665
|
+
retrieve: stripeMethod104({
|
|
5247
5666
|
method: "GET",
|
|
5248
5667
|
fullPath: "/v1/setup_intents/{intent}"
|
|
5249
5668
|
}),
|
|
5250
|
-
update:
|
|
5669
|
+
update: stripeMethod104({
|
|
5251
5670
|
method: "POST",
|
|
5252
5671
|
fullPath: "/v1/setup_intents/{intent}"
|
|
5253
5672
|
}),
|
|
5254
|
-
list:
|
|
5673
|
+
list: stripeMethod104({
|
|
5255
5674
|
method: "GET",
|
|
5256
5675
|
fullPath: "/v1/setup_intents",
|
|
5257
5676
|
methodType: "list"
|
|
5258
5677
|
}),
|
|
5259
|
-
cancel:
|
|
5678
|
+
cancel: stripeMethod104({
|
|
5260
5679
|
method: "POST",
|
|
5261
5680
|
fullPath: "/v1/setup_intents/{intent}/cancel"
|
|
5262
5681
|
}),
|
|
5263
|
-
confirm:
|
|
5682
|
+
confirm: stripeMethod104({
|
|
5264
5683
|
method: "POST",
|
|
5265
5684
|
fullPath: "/v1/setup_intents/{intent}/confirm"
|
|
5266
5685
|
}),
|
|
5267
|
-
verifyMicrodeposits:
|
|
5686
|
+
verifyMicrodeposits: stripeMethod104({
|
|
5268
5687
|
method: "POST",
|
|
5269
5688
|
fullPath: "/v1/setup_intents/{intent}/verify_microdeposits"
|
|
5270
5689
|
})
|
|
5271
5690
|
});
|
|
5272
5691
|
// ../../../../node_modules/stripe/esm/resources/ShippingRates.js
|
|
5273
|
-
var
|
|
5692
|
+
var stripeMethod105 = StripeResource.method;
|
|
5274
5693
|
var ShippingRates = StripeResource.extend({
|
|
5275
|
-
create:
|
|
5276
|
-
retrieve:
|
|
5694
|
+
create: stripeMethod105({ method: "POST", fullPath: "/v1/shipping_rates" }),
|
|
5695
|
+
retrieve: stripeMethod105({
|
|
5277
5696
|
method: "GET",
|
|
5278
5697
|
fullPath: "/v1/shipping_rates/{shipping_rate_token}"
|
|
5279
5698
|
}),
|
|
5280
|
-
update:
|
|
5699
|
+
update: stripeMethod105({
|
|
5281
5700
|
method: "POST",
|
|
5282
5701
|
fullPath: "/v1/shipping_rates/{shipping_rate_token}"
|
|
5283
5702
|
}),
|
|
5284
|
-
list:
|
|
5703
|
+
list: stripeMethod105({
|
|
5285
5704
|
method: "GET",
|
|
5286
5705
|
fullPath: "/v1/shipping_rates",
|
|
5287
5706
|
methodType: "list"
|
|
5288
5707
|
})
|
|
5289
5708
|
});
|
|
5290
5709
|
// ../../../../node_modules/stripe/esm/resources/Sources.js
|
|
5291
|
-
var
|
|
5710
|
+
var stripeMethod106 = StripeResource.method;
|
|
5292
5711
|
var Sources = StripeResource.extend({
|
|
5293
|
-
create:
|
|
5294
|
-
retrieve:
|
|
5295
|
-
update:
|
|
5296
|
-
listSourceTransactions:
|
|
5712
|
+
create: stripeMethod106({ method: "POST", fullPath: "/v1/sources" }),
|
|
5713
|
+
retrieve: stripeMethod106({ method: "GET", fullPath: "/v1/sources/{source}" }),
|
|
5714
|
+
update: stripeMethod106({ method: "POST", fullPath: "/v1/sources/{source}" }),
|
|
5715
|
+
listSourceTransactions: stripeMethod106({
|
|
5297
5716
|
method: "GET",
|
|
5298
5717
|
fullPath: "/v1/sources/{source}/source_transactions",
|
|
5299
5718
|
methodType: "list"
|
|
5300
5719
|
}),
|
|
5301
|
-
verify:
|
|
5720
|
+
verify: stripeMethod106({
|
|
5302
5721
|
method: "POST",
|
|
5303
5722
|
fullPath: "/v1/sources/{source}/verify"
|
|
5304
5723
|
})
|
|
5305
5724
|
});
|
|
5306
5725
|
// ../../../../node_modules/stripe/esm/resources/SubscriptionItems.js
|
|
5307
|
-
var
|
|
5726
|
+
var stripeMethod107 = StripeResource.method;
|
|
5308
5727
|
var SubscriptionItems = StripeResource.extend({
|
|
5309
|
-
create:
|
|
5310
|
-
retrieve:
|
|
5728
|
+
create: stripeMethod107({ method: "POST", fullPath: "/v1/subscription_items" }),
|
|
5729
|
+
retrieve: stripeMethod107({
|
|
5311
5730
|
method: "GET",
|
|
5312
5731
|
fullPath: "/v1/subscription_items/{item}"
|
|
5313
5732
|
}),
|
|
5314
|
-
update:
|
|
5733
|
+
update: stripeMethod107({
|
|
5315
5734
|
method: "POST",
|
|
5316
5735
|
fullPath: "/v1/subscription_items/{item}"
|
|
5317
5736
|
}),
|
|
5318
|
-
list:
|
|
5737
|
+
list: stripeMethod107({
|
|
5319
5738
|
method: "GET",
|
|
5320
5739
|
fullPath: "/v1/subscription_items",
|
|
5321
5740
|
methodType: "list"
|
|
5322
5741
|
}),
|
|
5323
|
-
del:
|
|
5742
|
+
del: stripeMethod107({
|
|
5324
5743
|
method: "DELETE",
|
|
5325
5744
|
fullPath: "/v1/subscription_items/{item}"
|
|
5326
5745
|
}),
|
|
5327
|
-
createUsageRecord:
|
|
5746
|
+
createUsageRecord: stripeMethod107({
|
|
5328
5747
|
method: "POST",
|
|
5329
5748
|
fullPath: "/v1/subscription_items/{subscription_item}/usage_records"
|
|
5330
5749
|
}),
|
|
5331
|
-
listUsageRecordSummaries:
|
|
5750
|
+
listUsageRecordSummaries: stripeMethod107({
|
|
5332
5751
|
method: "GET",
|
|
5333
5752
|
fullPath: "/v1/subscription_items/{subscription_item}/usage_record_summaries",
|
|
5334
5753
|
methodType: "list"
|
|
5335
5754
|
})
|
|
5336
5755
|
});
|
|
5337
5756
|
// ../../../../node_modules/stripe/esm/resources/SubscriptionSchedules.js
|
|
5338
|
-
var
|
|
5757
|
+
var stripeMethod108 = StripeResource.method;
|
|
5339
5758
|
var SubscriptionSchedules = StripeResource.extend({
|
|
5340
|
-
create:
|
|
5759
|
+
create: stripeMethod108({
|
|
5341
5760
|
method: "POST",
|
|
5342
5761
|
fullPath: "/v1/subscription_schedules"
|
|
5343
5762
|
}),
|
|
5344
|
-
retrieve:
|
|
5763
|
+
retrieve: stripeMethod108({
|
|
5345
5764
|
method: "GET",
|
|
5346
5765
|
fullPath: "/v1/subscription_schedules/{schedule}"
|
|
5347
5766
|
}),
|
|
5348
|
-
update:
|
|
5767
|
+
update: stripeMethod108({
|
|
5349
5768
|
method: "POST",
|
|
5350
5769
|
fullPath: "/v1/subscription_schedules/{schedule}"
|
|
5351
5770
|
}),
|
|
5352
|
-
list:
|
|
5771
|
+
list: stripeMethod108({
|
|
5353
5772
|
method: "GET",
|
|
5354
5773
|
fullPath: "/v1/subscription_schedules",
|
|
5355
5774
|
methodType: "list"
|
|
5356
5775
|
}),
|
|
5357
|
-
cancel:
|
|
5776
|
+
cancel: stripeMethod108({
|
|
5358
5777
|
method: "POST",
|
|
5359
5778
|
fullPath: "/v1/subscription_schedules/{schedule}/cancel"
|
|
5360
5779
|
}),
|
|
5361
|
-
release:
|
|
5780
|
+
release: stripeMethod108({
|
|
5362
5781
|
method: "POST",
|
|
5363
5782
|
fullPath: "/v1/subscription_schedules/{schedule}/release"
|
|
5364
5783
|
})
|
|
5365
5784
|
});
|
|
5366
5785
|
// ../../../../node_modules/stripe/esm/resources/Subscriptions.js
|
|
5367
|
-
var
|
|
5786
|
+
var stripeMethod109 = StripeResource.method;
|
|
5368
5787
|
var Subscriptions = StripeResource.extend({
|
|
5369
|
-
create:
|
|
5370
|
-
retrieve:
|
|
5788
|
+
create: stripeMethod109({ method: "POST", fullPath: "/v1/subscriptions" }),
|
|
5789
|
+
retrieve: stripeMethod109({
|
|
5371
5790
|
method: "GET",
|
|
5372
5791
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5373
5792
|
}),
|
|
5374
|
-
update:
|
|
5793
|
+
update: stripeMethod109({
|
|
5375
5794
|
method: "POST",
|
|
5376
5795
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5377
5796
|
}),
|
|
5378
|
-
list:
|
|
5797
|
+
list: stripeMethod109({
|
|
5379
5798
|
method: "GET",
|
|
5380
5799
|
fullPath: "/v1/subscriptions",
|
|
5381
5800
|
methodType: "list"
|
|
5382
5801
|
}),
|
|
5383
|
-
cancel:
|
|
5802
|
+
cancel: stripeMethod109({
|
|
5384
5803
|
method: "DELETE",
|
|
5385
5804
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}"
|
|
5386
5805
|
}),
|
|
5387
|
-
deleteDiscount:
|
|
5806
|
+
deleteDiscount: stripeMethod109({
|
|
5388
5807
|
method: "DELETE",
|
|
5389
5808
|
fullPath: "/v1/subscriptions/{subscription_exposed_id}/discount"
|
|
5390
5809
|
}),
|
|
5391
|
-
resume:
|
|
5810
|
+
resume: stripeMethod109({
|
|
5392
5811
|
method: "POST",
|
|
5393
5812
|
fullPath: "/v1/subscriptions/{subscription}/resume"
|
|
5394
5813
|
}),
|
|
5395
|
-
search:
|
|
5814
|
+
search: stripeMethod109({
|
|
5396
5815
|
method: "GET",
|
|
5397
5816
|
fullPath: "/v1/subscriptions/search",
|
|
5398
5817
|
methodType: "search"
|
|
5399
5818
|
})
|
|
5400
5819
|
});
|
|
5401
5820
|
// ../../../../node_modules/stripe/esm/resources/TaxCodes.js
|
|
5402
|
-
var
|
|
5821
|
+
var stripeMethod110 = StripeResource.method;
|
|
5403
5822
|
var TaxCodes = StripeResource.extend({
|
|
5404
|
-
retrieve:
|
|
5405
|
-
list:
|
|
5823
|
+
retrieve: stripeMethod110({ method: "GET", fullPath: "/v1/tax_codes/{id}" }),
|
|
5824
|
+
list: stripeMethod110({
|
|
5406
5825
|
method: "GET",
|
|
5407
5826
|
fullPath: "/v1/tax_codes",
|
|
5408
5827
|
methodType: "list"
|
|
5409
5828
|
})
|
|
5410
5829
|
});
|
|
5411
5830
|
// ../../../../node_modules/stripe/esm/resources/TaxIds.js
|
|
5412
|
-
var
|
|
5831
|
+
var stripeMethod111 = StripeResource.method;
|
|
5413
5832
|
var TaxIds = StripeResource.extend({
|
|
5414
|
-
create:
|
|
5415
|
-
retrieve:
|
|
5416
|
-
list:
|
|
5833
|
+
create: stripeMethod111({ method: "POST", fullPath: "/v1/tax_ids" }),
|
|
5834
|
+
retrieve: stripeMethod111({ method: "GET", fullPath: "/v1/tax_ids/{id}" }),
|
|
5835
|
+
list: stripeMethod111({
|
|
5417
5836
|
method: "GET",
|
|
5418
5837
|
fullPath: "/v1/tax_ids",
|
|
5419
5838
|
methodType: "list"
|
|
5420
5839
|
}),
|
|
5421
|
-
del:
|
|
5840
|
+
del: stripeMethod111({ method: "DELETE", fullPath: "/v1/tax_ids/{id}" })
|
|
5422
5841
|
});
|
|
5423
5842
|
// ../../../../node_modules/stripe/esm/resources/TaxRates.js
|
|
5424
|
-
var
|
|
5843
|
+
var stripeMethod112 = StripeResource.method;
|
|
5425
5844
|
var TaxRates = StripeResource.extend({
|
|
5426
|
-
create:
|
|
5427
|
-
retrieve:
|
|
5428
|
-
update:
|
|
5429
|
-
list:
|
|
5845
|
+
create: stripeMethod112({ method: "POST", fullPath: "/v1/tax_rates" }),
|
|
5846
|
+
retrieve: stripeMethod112({ method: "GET", fullPath: "/v1/tax_rates/{tax_rate}" }),
|
|
5847
|
+
update: stripeMethod112({ method: "POST", fullPath: "/v1/tax_rates/{tax_rate}" }),
|
|
5848
|
+
list: stripeMethod112({
|
|
5430
5849
|
method: "GET",
|
|
5431
5850
|
fullPath: "/v1/tax_rates",
|
|
5432
5851
|
methodType: "list"
|
|
5433
5852
|
})
|
|
5434
5853
|
});
|
|
5435
5854
|
// ../../../../node_modules/stripe/esm/resources/Tokens.js
|
|
5436
|
-
var
|
|
5855
|
+
var stripeMethod113 = StripeResource.method;
|
|
5437
5856
|
var Tokens2 = StripeResource.extend({
|
|
5438
|
-
create:
|
|
5439
|
-
retrieve:
|
|
5857
|
+
create: stripeMethod113({ method: "POST", fullPath: "/v1/tokens" }),
|
|
5858
|
+
retrieve: stripeMethod113({ method: "GET", fullPath: "/v1/tokens/{token}" })
|
|
5440
5859
|
});
|
|
5441
5860
|
// ../../../../node_modules/stripe/esm/resources/Topups.js
|
|
5442
|
-
var
|
|
5861
|
+
var stripeMethod114 = StripeResource.method;
|
|
5443
5862
|
var Topups = StripeResource.extend({
|
|
5444
|
-
create:
|
|
5445
|
-
retrieve:
|
|
5446
|
-
update:
|
|
5447
|
-
list:
|
|
5863
|
+
create: stripeMethod114({ method: "POST", fullPath: "/v1/topups" }),
|
|
5864
|
+
retrieve: stripeMethod114({ method: "GET", fullPath: "/v1/topups/{topup}" }),
|
|
5865
|
+
update: stripeMethod114({ method: "POST", fullPath: "/v1/topups/{topup}" }),
|
|
5866
|
+
list: stripeMethod114({
|
|
5448
5867
|
method: "GET",
|
|
5449
5868
|
fullPath: "/v1/topups",
|
|
5450
5869
|
methodType: "list"
|
|
5451
5870
|
}),
|
|
5452
|
-
cancel:
|
|
5871
|
+
cancel: stripeMethod114({ method: "POST", fullPath: "/v1/topups/{topup}/cancel" })
|
|
5453
5872
|
});
|
|
5454
5873
|
// ../../../../node_modules/stripe/esm/resources/Transfers.js
|
|
5455
|
-
var
|
|
5874
|
+
var stripeMethod115 = StripeResource.method;
|
|
5456
5875
|
var Transfers = StripeResource.extend({
|
|
5457
|
-
create:
|
|
5458
|
-
retrieve:
|
|
5459
|
-
update:
|
|
5460
|
-
list:
|
|
5876
|
+
create: stripeMethod115({ method: "POST", fullPath: "/v1/transfers" }),
|
|
5877
|
+
retrieve: stripeMethod115({ method: "GET", fullPath: "/v1/transfers/{transfer}" }),
|
|
5878
|
+
update: stripeMethod115({ method: "POST", fullPath: "/v1/transfers/{transfer}" }),
|
|
5879
|
+
list: stripeMethod115({
|
|
5461
5880
|
method: "GET",
|
|
5462
5881
|
fullPath: "/v1/transfers",
|
|
5463
5882
|
methodType: "list"
|
|
5464
5883
|
}),
|
|
5465
|
-
createReversal:
|
|
5884
|
+
createReversal: stripeMethod115({
|
|
5466
5885
|
method: "POST",
|
|
5467
5886
|
fullPath: "/v1/transfers/{id}/reversals"
|
|
5468
5887
|
}),
|
|
5469
|
-
listReversals:
|
|
5888
|
+
listReversals: stripeMethod115({
|
|
5470
5889
|
method: "GET",
|
|
5471
5890
|
fullPath: "/v1/transfers/{id}/reversals",
|
|
5472
5891
|
methodType: "list"
|
|
5473
5892
|
}),
|
|
5474
|
-
retrieveReversal:
|
|
5893
|
+
retrieveReversal: stripeMethod115({
|
|
5475
5894
|
method: "GET",
|
|
5476
5895
|
fullPath: "/v1/transfers/{transfer}/reversals/{id}"
|
|
5477
5896
|
}),
|
|
5478
|
-
updateReversal:
|
|
5897
|
+
updateReversal: stripeMethod115({
|
|
5479
5898
|
method: "POST",
|
|
5480
5899
|
fullPath: "/v1/transfers/{transfer}/reversals/{id}"
|
|
5481
5900
|
})
|
|
5482
5901
|
});
|
|
5483
5902
|
// ../../../../node_modules/stripe/esm/resources/WebhookEndpoints.js
|
|
5484
|
-
var
|
|
5903
|
+
var stripeMethod116 = StripeResource.method;
|
|
5485
5904
|
var WebhookEndpoints = StripeResource.extend({
|
|
5486
|
-
create:
|
|
5487
|
-
retrieve:
|
|
5905
|
+
create: stripeMethod116({ method: "POST", fullPath: "/v1/webhook_endpoints" }),
|
|
5906
|
+
retrieve: stripeMethod116({
|
|
5488
5907
|
method: "GET",
|
|
5489
5908
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5490
5909
|
}),
|
|
5491
|
-
update:
|
|
5910
|
+
update: stripeMethod116({
|
|
5492
5911
|
method: "POST",
|
|
5493
5912
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5494
5913
|
}),
|
|
5495
|
-
list:
|
|
5914
|
+
list: stripeMethod116({
|
|
5496
5915
|
method: "GET",
|
|
5497
5916
|
fullPath: "/v1/webhook_endpoints",
|
|
5498
5917
|
methodType: "list"
|
|
5499
5918
|
}),
|
|
5500
|
-
del:
|
|
5919
|
+
del: stripeMethod116({
|
|
5501
5920
|
method: "DELETE",
|
|
5502
5921
|
fullPath: "/v1/webhook_endpoints/{webhook_endpoint}"
|
|
5503
5922
|
})
|
|
@@ -5505,6 +5924,11 @@ var WebhookEndpoints = StripeResource.extend({
|
|
|
5505
5924
|
|
|
5506
5925
|
// ../../../../node_modules/stripe/esm/resources.js
|
|
5507
5926
|
var Apps = resourceNamespace("apps", { Secrets });
|
|
5927
|
+
var Billing = resourceNamespace("billing", {
|
|
5928
|
+
MeterEventAdjustments,
|
|
5929
|
+
MeterEvents,
|
|
5930
|
+
Meters
|
|
5931
|
+
});
|
|
5508
5932
|
var BillingPortal = resourceNamespace("billingPortal", {
|
|
5509
5933
|
Configurations,
|
|
5510
5934
|
Sessions
|
|
@@ -5517,11 +5941,18 @@ var Climate = resourceNamespace("climate", {
|
|
|
5517
5941
|
Products,
|
|
5518
5942
|
Suppliers
|
|
5519
5943
|
});
|
|
5944
|
+
var Entitlements = resourceNamespace("entitlements", {
|
|
5945
|
+
ActiveEntitlements,
|
|
5946
|
+
Features
|
|
5947
|
+
});
|
|
5520
5948
|
var FinancialConnections = resourceNamespace("financialConnections", {
|
|
5521
5949
|
Accounts,
|
|
5522
5950
|
Sessions: Sessions3,
|
|
5523
5951
|
Transactions: Transactions2
|
|
5524
5952
|
});
|
|
5953
|
+
var Forwarding = resourceNamespace("forwarding", {
|
|
5954
|
+
Requests
|
|
5955
|
+
});
|
|
5525
5956
|
var Identity = resourceNamespace("identity", {
|
|
5526
5957
|
VerificationReports,
|
|
5527
5958
|
VerificationSessions
|
|
@@ -5531,6 +5962,8 @@ var Issuing = resourceNamespace("issuing", {
|
|
|
5531
5962
|
Cardholders,
|
|
5532
5963
|
Cards: Cards2,
|
|
5533
5964
|
Disputes,
|
|
5965
|
+
PersonalizationDesigns: PersonalizationDesigns2,
|
|
5966
|
+
PhysicalBundles,
|
|
5534
5967
|
Tokens,
|
|
5535
5968
|
Transactions: Transactions3
|
|
5536
5969
|
});
|
|
@@ -5559,12 +5992,14 @@ var Terminal = resourceNamespace("terminal", {
|
|
|
5559
5992
|
Readers: Readers2
|
|
5560
5993
|
});
|
|
5561
5994
|
var TestHelpers = resourceNamespace("testHelpers", {
|
|
5995
|
+
ConfirmationTokens,
|
|
5562
5996
|
Customers,
|
|
5563
5997
|
Refunds,
|
|
5564
5998
|
TestClocks,
|
|
5565
5999
|
Issuing: resourceNamespace("issuing", {
|
|
5566
6000
|
Authorizations,
|
|
5567
6001
|
Cards,
|
|
6002
|
+
PersonalizationDesigns,
|
|
5568
6003
|
Transactions
|
|
5569
6004
|
}),
|
|
5570
6005
|
Terminal: resourceNamespace("terminal", {
|
|
@@ -5994,7 +6429,7 @@ function createWebhooks(platformFunctions) {
|
|
|
5994
6429
|
|
|
5995
6430
|
// ../../../../node_modules/stripe/esm/stripe.core.js
|
|
5996
6431
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
5997
|
-
Stripe.PACKAGE_VERSION = "
|
|
6432
|
+
Stripe.PACKAGE_VERSION = "15.7.0";
|
|
5998
6433
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: "node", publisher: "stripe", uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
5999
6434
|
Stripe.StripeResource = StripeResource;
|
|
6000
6435
|
Stripe.resources = exports_resources;
|
|
@@ -6226,16 +6661,16 @@ var ALLOWED_CONFIG_PROPERTIES = [
|
|
|
6226
6661
|
];
|
|
6227
6662
|
var defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
6228
6663
|
|
|
6229
|
-
// ../../../../node_modules/stripe/esm/stripe.esm.
|
|
6230
|
-
var Stripe = createStripe(new
|
|
6231
|
-
var
|
|
6664
|
+
// ../../../../node_modules/stripe/esm/stripe.esm.node.js
|
|
6665
|
+
var Stripe = createStripe(new NodePlatformFunctions);
|
|
6666
|
+
var stripe_esm_node_default = Stripe;
|
|
6232
6667
|
|
|
6233
6668
|
// src/drivers/stripe.ts
|
|
6234
6669
|
var apiKey = "";
|
|
6235
|
-
var stripe = new
|
|
6236
|
-
apiVersion: "2023-
|
|
6670
|
+
var stripe = new stripe_esm_node_default(apiKey, {
|
|
6671
|
+
apiVersion: "2023-10-16"
|
|
6237
6672
|
});
|
|
6238
|
-
var paymentIntent =
|
|
6673
|
+
var paymentIntent = (() => {
|
|
6239
6674
|
async function create(params) {
|
|
6240
6675
|
return await stripe.paymentIntents.create(params);
|
|
6241
6676
|
}
|
|
@@ -6249,14 +6684,14 @@ var paymentIntent = function() {
|
|
|
6249
6684
|
return await stripe.paymentIntents.cancel(stripeId);
|
|
6250
6685
|
}
|
|
6251
6686
|
return { create, retrieve, update, cancel };
|
|
6252
|
-
}();
|
|
6253
|
-
var balance =
|
|
6687
|
+
})();
|
|
6688
|
+
var balance = (() => {
|
|
6254
6689
|
async function retrieve() {
|
|
6255
6690
|
return await stripe.balance.retrieve();
|
|
6256
6691
|
}
|
|
6257
6692
|
return { retrieve };
|
|
6258
|
-
}();
|
|
6259
|
-
var customer =
|
|
6693
|
+
})();
|
|
6694
|
+
var customer = (() => {
|
|
6260
6695
|
async function create(params) {
|
|
6261
6696
|
return await stripe.customers.create(params);
|
|
6262
6697
|
}
|
|
@@ -6267,8 +6702,8 @@ var customer = function() {
|
|
|
6267
6702
|
return await stripe.customers.retrieve(stripeId);
|
|
6268
6703
|
}
|
|
6269
6704
|
return { create, update, retrieve };
|
|
6270
|
-
}();
|
|
6271
|
-
var charge =
|
|
6705
|
+
})();
|
|
6706
|
+
var charge = (() => {
|
|
6272
6707
|
async function create(params) {
|
|
6273
6708
|
return await stripe.charges.create(params);
|
|
6274
6709
|
}
|
|
@@ -6282,8 +6717,8 @@ var charge = function() {
|
|
|
6282
6717
|
return await stripe.charges.retrieve(stripeId);
|
|
6283
6718
|
}
|
|
6284
6719
|
return { create, update, retrieve, capture };
|
|
6285
|
-
}();
|
|
6286
|
-
var balanceTransactions =
|
|
6720
|
+
})();
|
|
6721
|
+
var balanceTransactions = (() => {
|
|
6287
6722
|
async function retrieve(stripeId) {
|
|
6288
6723
|
await stripe.balanceTransactions.retrieve(stripeId);
|
|
6289
6724
|
}
|
|
@@ -6291,8 +6726,8 @@ var balanceTransactions = function() {
|
|
|
6291
6726
|
await stripe.balanceTransactions.list({ limit });
|
|
6292
6727
|
}
|
|
6293
6728
|
return { retrieve, list };
|
|
6294
|
-
}();
|
|
6295
|
-
var dispute =
|
|
6729
|
+
})();
|
|
6730
|
+
var dispute = (() => {
|
|
6296
6731
|
async function retrieve(stripeId) {
|
|
6297
6732
|
return await stripe.disputes.retrieve(stripeId);
|
|
6298
6733
|
}
|
|
@@ -6306,8 +6741,8 @@ var dispute = function() {
|
|
|
6306
6741
|
return await stripe.disputes.list({ limit });
|
|
6307
6742
|
}
|
|
6308
6743
|
return { retrieve, update, close, list };
|
|
6309
|
-
}();
|
|
6310
|
-
var events =
|
|
6744
|
+
})();
|
|
6745
|
+
var events = (() => {
|
|
6311
6746
|
async function retrieve(stripeId) {
|
|
6312
6747
|
await stripe.events.retrieve(stripeId);
|
|
6313
6748
|
}
|
|
@@ -6315,7 +6750,7 @@ var events = function() {
|
|
|
6315
6750
|
await stripe.events.list({ limit });
|
|
6316
6751
|
}
|
|
6317
6752
|
return { retrieve, list };
|
|
6318
|
-
}();
|
|
6753
|
+
})();
|
|
6319
6754
|
export {
|
|
6320
6755
|
exports_stripe as stripe
|
|
6321
6756
|
};
|