@delopay/sdk 0.338.0 → 0.342.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.
@@ -4079,6 +4079,20 @@ var Routing = class {
4079
4079
  body: params
4080
4080
  });
4081
4081
  }
4082
+ /**
4083
+ * Reset one limit's usage for the window open now: what settled payments
4084
+ * spent stops counting, so the account takes payments again. Payments still
4085
+ * in flight keep their hold and count once they complete. The account's
4086
+ * other limit is untouched. Offered by a router that lists `usage_reset` in
4087
+ * `features`; refused (422) for an account with no limit in that unit.
4088
+ *
4089
+ * `POST /routing/connector-caps/{profileId}/reset`
4090
+ */
4091
+ async resetConnectorCapUsage(profileId, params) {
4092
+ return this.request("POST", `/routing/connector-caps/${encodeURIComponent(profileId)}/reset`, {
4093
+ body: params
4094
+ });
4095
+ }
4082
4096
  /**
4083
4097
  * List all routing algorithms for the current merchant.
4084
4098
  *
@@ -6617,12 +6631,44 @@ var BuyerBlocklist = class {
6617
6631
  /**
6618
6632
  * Block the buyer of a payment by the identifiers the payment carries:
6619
6633
  * its card (the Stripe fingerprint), email, IP, device or customer, in the
6620
- * payment's shop or in every shop.
6634
+ * payment's shop or in every shop. With `all_ips`, also every address the
6635
+ * buyer was seen paying from, one entry each, grouped under one
6636
+ * `group_id`; the answer then carries `ip_snapshot`.
6621
6637
  * `POST /buyer-blocklist/from-payment`
6622
6638
  */
6623
6639
  async createFromPayment(params) {
6624
6640
  return this.request("POST", "/buyer-blocklist/from-payment", { body: params });
6625
6641
  }
6642
+ /**
6643
+ * The addresses an "all IPs" block of a payment's buyer would take: the
6644
+ * payment's own, then those its device, email or card were seen at in the
6645
+ * last 90 days, newest first, at most 20. An address shared with two or
6646
+ * more other buyers is offered but not preselected. Writes nothing; needs
6647
+ * the same permissions as the block.
6648
+ * `POST /buyer-blocklist/from-payment/preview`
6649
+ */
6650
+ async previewFromPayment(params) {
6651
+ return this.request("POST", "/buyer-blocklist/from-payment/preview", { body: params });
6652
+ }
6653
+ /**
6654
+ * An entry's recorded refusals, newest first, with where each happened and
6655
+ * which identifier matched. A caller scoped to one shop reaches only its own
6656
+ * shop's entries.
6657
+ * `GET /buyer-blocklist/{entry_id}/events`
6658
+ */
6659
+ async listEvents(entryId, params) {
6660
+ return this.request("GET", `/buyer-blocklist/${encodeURIComponent(entryId)}/events`, {
6661
+ query: params
6662
+ });
6663
+ }
6664
+ /**
6665
+ * Which classes of network an `ip_class` entry can be judged by on this
6666
+ * deployment now, and by which sources.
6667
+ * `GET /buyer-blocklist/capabilities`
6668
+ */
6669
+ async capabilities() {
6670
+ return this.request("GET", "/buyer-blocklist/capabilities");
6671
+ }
6626
6672
  /**
6627
6673
  * Retry now every failed or pending Radar sync of an entry.
6628
6674
  * `POST /buyer-blocklist/{entry_id}/sync/retry`
@@ -16204,4 +16250,4 @@ export {
16204
16250
  decodeNativePanes,
16205
16251
  encodeNativePanes
16206
16252
  };
16207
- //# sourceMappingURL=chunk-SL2XR4QR.js.map
16253
+ //# sourceMappingURL=chunk-FAIETNTW.js.map