@delopay/sdk 0.109.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XMFG7CPX.js → chunk-TS422PA3.js} +40 -4
- package/dist/chunk-TS422PA3.js.map +1 -0
- package/dist/index.cjs +40 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +135 -2
- package/dist/index.d.ts +135 -2
- package/dist/index.js +3 -1
- package/dist/internal.cjs +40 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +81 -2
- package/dist/internal.d.ts +81 -2
- package/dist/internal.js +3 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-XMFG7CPX.js.map +0 -1
|
@@ -3997,6 +3997,25 @@ var Subscriptions = class {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
};
|
|
3999
3999
|
|
|
4000
|
+
// src/resources/audit.ts
|
|
4001
|
+
var Audit = class {
|
|
4002
|
+
constructor(request) {
|
|
4003
|
+
this.request = request;
|
|
4004
|
+
}
|
|
4005
|
+
async list(params) {
|
|
4006
|
+
return this.request("GET", "/audit", {
|
|
4007
|
+
query: params
|
|
4008
|
+
});
|
|
4009
|
+
}
|
|
4010
|
+
/**
|
|
4011
|
+
* One entry. An id belonging to another merchant answers 404, not 403 — the
|
|
4012
|
+
* endpoint does not confirm that an entry it will not serve exists.
|
|
4013
|
+
*/
|
|
4014
|
+
async retrieve(logId) {
|
|
4015
|
+
return this.request("GET", `/audit/${encodeURIComponent(logId)}`);
|
|
4016
|
+
}
|
|
4017
|
+
};
|
|
4018
|
+
|
|
4000
4019
|
// src/resources/settlement.ts
|
|
4001
4020
|
var Settlement = class {
|
|
4002
4021
|
constructor(request) {
|
|
@@ -4498,6 +4517,7 @@ var Delopay = class {
|
|
|
4498
4517
|
this.relay = new Relay(request);
|
|
4499
4518
|
this.stripeConnect = new StripeConnect(request);
|
|
4500
4519
|
this.threeDsRules = new ThreeDsRules(request);
|
|
4520
|
+
this.audit = new Audit(request);
|
|
4501
4521
|
this.settlement = new Settlement(request);
|
|
4502
4522
|
this.operationLimits = new OperationLimits(request);
|
|
4503
4523
|
this.risk = new Risk(request);
|
|
@@ -6419,7 +6439,15 @@ var PANE_ICON_KEYS = [
|
|
|
6419
6439
|
"apple",
|
|
6420
6440
|
"google",
|
|
6421
6441
|
"bnpl",
|
|
6422
|
-
"cash"
|
|
6442
|
+
"cash",
|
|
6443
|
+
// Brand marks, not category glyphs: the checkout draws PayPal's monogram,
|
|
6444
|
+
// Klarna's squircle-K and the Bitcoin mark for these, the same logos the
|
|
6445
|
+
// bespoke panes they replace already drew. Listed here so a merchant's own
|
|
6446
|
+
// dashboard can offer them; the router decides which one a tile *defaults*
|
|
6447
|
+
// to, and a router predating them simply keeps sending the old default.
|
|
6448
|
+
"paypal",
|
|
6449
|
+
"klarna",
|
|
6450
|
+
"crypto"
|
|
6423
6451
|
];
|
|
6424
6452
|
var PANE_CATEGORY_KEYS = [
|
|
6425
6453
|
"wallet",
|
|
@@ -6443,7 +6471,11 @@ function offerablePaneMethods(catalog) {
|
|
|
6443
6471
|
}
|
|
6444
6472
|
var DISPLAY_DEFAULTS_BY_KEY = {
|
|
6445
6473
|
apple_pay: { icon: "apple", category: "wallet" },
|
|
6446
|
-
google_pay: { icon: "google", category: "wallet" }
|
|
6474
|
+
google_pay: { icon: "google", category: "wallet" },
|
|
6475
|
+
paypal: { icon: "paypal", category: "wallet" },
|
|
6476
|
+
// Both the Klarna connector's own tile and Stripe's Klarna. Affirm stays on
|
|
6477
|
+
// the generic `bnpl` glyph — same rail, no mark of its own.
|
|
6478
|
+
klarna: { icon: "klarna", category: "bnpl" }
|
|
6447
6479
|
};
|
|
6448
6480
|
var DISPLAY_DEFAULTS_BY_PAYMENT_METHOD = {
|
|
6449
6481
|
wallet: { icon: "wallet", category: "wallet" },
|
|
@@ -6453,7 +6485,10 @@ var DISPLAY_DEFAULTS_BY_PAYMENT_METHOD = {
|
|
|
6453
6485
|
bank_redirect: { icon: "bank", category: "bank_redirect" },
|
|
6454
6486
|
bank_transfer: { icon: "bank", category: "bank_transfer" },
|
|
6455
6487
|
bank_debit: { icon: "bank", category: "bank_transfer" },
|
|
6456
|
-
|
|
6488
|
+
// Cryptomus and NowPayments publish the same `crypto` key on this rail, and
|
|
6489
|
+
// the router defaults both to the Bitcoin mark.
|
|
6490
|
+
crypto: { icon: "crypto", category: "crypto" },
|
|
6491
|
+
// Skinsback, which has no mark: the router defaults it to `wallet` too.
|
|
6457
6492
|
game_items: { icon: "wallet", category: "game_items" },
|
|
6458
6493
|
cash: { icon: "cash", category: "cash" },
|
|
6459
6494
|
voucher: { icon: "cash", category: "cash" }
|
|
@@ -6654,6 +6689,7 @@ export {
|
|
|
6654
6689
|
Regions,
|
|
6655
6690
|
AvailabilityOverrides,
|
|
6656
6691
|
Subscriptions,
|
|
6692
|
+
Audit,
|
|
6657
6693
|
Settlement,
|
|
6658
6694
|
OperationLimits,
|
|
6659
6695
|
Risk,
|
|
@@ -6748,4 +6784,4 @@ export {
|
|
|
6748
6784
|
decodeNativePanes,
|
|
6749
6785
|
encodeNativePanes
|
|
6750
6786
|
};
|
|
6751
|
-
//# sourceMappingURL=chunk-
|
|
6787
|
+
//# sourceMappingURL=chunk-TS422PA3.js.map
|