@pontive/server 1.24.0 → 1.25.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.
@@ -96,7 +96,7 @@ class A extends Error {
96
96
  super(e, t), this.name = "PontiveConnectionError";
97
97
  }
98
98
  }
99
- const j = "1.24.0", S = 6e4;
99
+ const j = "1.25.0", S = 6e4;
100
100
  class W {
101
101
  constructor(e) {
102
102
  this.config = e;
@@ -2149,8 +2149,8 @@ class Pe {
2149
2149
  *
2150
2150
  * `POST /v1/billing/checkout-sessions/{checkout_session_id}/expire` (ExpireCheckoutSession)
2151
2151
  */
2152
- expire(e, t, r) {
2153
- return this.core.request({ host: "api", method: "POST", path: `/v1/billing/checkout-sessions/${s(e)}/expire`, body: t, idempotent: !0 }, r);
2152
+ expire(e, t) {
2153
+ return this.core.request({ host: "api", method: "POST", path: `/v1/billing/checkout-sessions/${s(e)}/expire`, idempotent: !0 }, t);
2154
2154
  }
2155
2155
  /**
2156
2156
  * billing.contract.v1.CheckoutSessionService/GetCheckoutSession (35-contracts.md, Checkout session and
@@ -2353,11 +2353,9 @@ class Ge {
2353
2353
  * chargeable=true lists only the chargeable ones. Unpaginated.
2354
2354
  *
2355
2355
  * `GET /v1/billing/currencies` (ListCurrencies)
2356
- *
2357
- * Await it for the first page, or iterate it with `for await` for every item across pages.
2358
2356
  */
2359
2357
  list(e, t) {
2360
- return this.core.page("page", { host: "api", method: "GET", path: "/v1/billing/currencies", query: e }, t);
2358
+ return this.core.request({ host: "api", method: "GET", path: "/v1/billing/currencies", query: e }, t);
2361
2359
  }
2362
2360
  }
2363
2361
  class fe {
@@ -3239,8 +3237,8 @@ class Ne {
3239
3237
  *
3240
3238
  * `POST /v1/billing/payment-connections/{payment_connection_id}/revoke` (RevokePaymentConnection)
3241
3239
  */
3242
- revoke(e, t, r) {
3243
- return this.core.request({ host: "api", method: "POST", path: `/v1/billing/payment-connections/${s(e)}/revoke`, body: t, idempotent: !0 }, r);
3240
+ revoke(e, t) {
3241
+ return this.core.request({ host: "api", method: "POST", path: `/v1/billing/payment-connections/${s(e)}/revoke`, idempotent: !0 }, t);
3244
3242
  }
3245
3243
  }
3246
3244
  class Ue {
@@ -3909,8 +3907,8 @@ class rt {
3909
3907
  *
3910
3908
  * `POST /v1/capabilities/billing/disable` (DisableBillingCapability)
3911
3909
  */
3912
- disable(e, t) {
3913
- return this.core.request({ host: "api", method: "POST", path: "/v1/capabilities/billing/disable", body: e, idempotent: !0 }, t);
3910
+ disable(e) {
3911
+ return this.core.request({ host: "api", method: "POST", path: "/v1/capabilities/billing/disable", idempotent: !0 }, e);
3914
3912
  }
3915
3913
  /**
3916
3914
  * billing.customer.v1.CapabilityService/EnableBillingCapability (32-billing-overview.md, API Surface,
@@ -3919,8 +3917,8 @@ class rt {
3919
3917
  *
3920
3918
  * `POST /v1/capabilities/billing/enable` (EnableBillingCapability)
3921
3919
  */
3922
- enable(e, t) {
3923
- return this.core.request({ host: "api", method: "POST", path: "/v1/capabilities/billing/enable", body: e, idempotent: !0 }, t);
3920
+ enable(e) {
3921
+ return this.core.request({ host: "api", method: "POST", path: "/v1/capabilities/billing/enable", idempotent: !0 }, e);
3924
3922
  }
3925
3923
  }
3926
3924
  class st {
@@ -4529,11 +4527,9 @@ class ut {
4529
4527
  * audience, https://{auth domain}/me/, with pontive:billing:read (D31, D48).
4530
4528
  *
4531
4529
  * `GET /v1/me/billing/customers` (ListMyCustomers)
4532
- *
4533
- * Await it for the first page, or iterate it with `for await` for every item across pages.
4534
4530
  */
4535
- listCustomers(e, t) {
4536
- return this.core.page("page", { host: "auth", method: "GET", path: "/v1/me/billing/customers", query: e }, t);
4531
+ listCustomers(e) {
4532
+ return this.core.request({ host: "auth", method: "GET", path: "/v1/me/billing/customers" }, e);
4537
4533
  }
4538
4534
  /**
4539
4535
  * billing.invoice.v1.MeInvoiceService/ListMyInvoices (37-invoicing.md, API Surface). An instance
@@ -6690,4 +6686,4 @@ export {
6690
6686
  qt as s,
6691
6687
  Pt as w
6692
6688
  };
6693
- //# sourceMappingURL=client-_s4seciG.js.map
6689
+ //# sourceMappingURL=client-DWO-uz9e.js.map