@delopay/sdk 0.132.0 → 0.133.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.
@@ -473,16 +473,6 @@ var Connectors = class {
473
473
  async listByProfile(accountId) {
474
474
  return this.request("GET", `/account/${encodeURIComponent(accountId)}/profile/connectors`);
475
475
  }
476
- /**
477
- * The built-in e-Payouts reference catalog — the "Restore defaults" source.
478
- * `GET /account/{accountId}/connectors/epayouts/catalog/defaults`
479
- */
480
- async getEpayoutsCatalogDefaults(accountId) {
481
- return this.request(
482
- "GET",
483
- `/account/${encodeURIComponent(accountId)}/connectors/epayouts/catalog/defaults`
484
- );
485
- }
486
476
  /**
487
477
  * Every connector's pane capabilities, as the router itself knows them —
488
478
  * which rails a connector supports, and which methods it can publish as a
@@ -7373,7 +7363,9 @@ function defaultPane(method, catalog = STRIPE_FALLBACK_PANE_CATALOG) {
7373
7363
  displayOrder: 0,
7374
7364
  visibility: "always",
7375
7365
  openIn: "tab",
7376
- nativeElement: "everywhere"
7366
+ nativeElement: "everywhere",
7367
+ preset: "",
7368
+ style: ""
7377
7369
  };
7378
7370
  }
7379
7371
  function clonePane(pane) {
@@ -7420,7 +7412,9 @@ function decodePanes(raw) {
7420
7412
  visibility: parseVisibility(entry["visibility"]),
7421
7413
  // Same tolerance: an unknown value degrades to the default `tab`.
7422
7414
  openIn: entry["open_in"] === "popup" ? "popup" : "tab",
7423
- nativeElement: parseNativeElement(entry["native_element"])
7415
+ nativeElement: parseNativeElement(entry["native_element"]),
7416
+ preset: str(entry["preset"]),
7417
+ style: str(entry["style"])
7424
7418
  });
7425
7419
  const indexByMethod = /* @__PURE__ */ new Map();
7426
7420
  const out = [];
@@ -7477,7 +7471,11 @@ function encodePanes(panes) {
7477
7471
  // absent key to, so leaving it out changes nothing — and keeps a blob
7478
7472
  // stored before the field existed byte-identical on re-encode, which
7479
7473
  // is what the wire-compatibility test pins.
7480
- ...parseNativeElement(pane.nativeElement) === "everywhere" ? {} : { native_element: parseNativeElement(pane.nativeElement) }
7474
+ ...parseNativeElement(pane.nativeElement) === "everywhere" ? {} : { native_element: parseNativeElement(pane.nativeElement) },
7475
+ // Absent and blank both mean "no look": a pane shaped before the fields
7476
+ // existed encodes exactly as it always did.
7477
+ ...(pane.preset ?? "").trim() ? { preset: (pane.preset ?? "").trim() } : {},
7478
+ ...(pane.style ?? "").trim() ? { style: (pane.style ?? "").trim() } : {}
7481
7479
  };
7482
7480
  });
7483
7481
  }
@@ -7673,4 +7671,4 @@ export {
7673
7671
  decodeNativePanes,
7674
7672
  encodeNativePanes
7675
7673
  };
7676
- //# sourceMappingURL=chunk-I2YGFOLA.js.map
7674
+ //# sourceMappingURL=chunk-GK3QZSRX.js.map