@delopay/sdk 0.166.0 → 0.167.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.
@@ -4772,6 +4772,24 @@ var ExternalRecords = class {
4772
4772
  async create(params) {
4773
4773
  return this.request("POST", "/external-records", { body: params });
4774
4774
  }
4775
+ /**
4776
+ * What this deployment will accept, per kind.
4777
+ * `GET /external-records/capabilities`
4778
+ *
4779
+ * Read it before offering the operator a form. Every kind is listed, so an
4780
+ * entry that is not served is distinguishable from a kind this release does
4781
+ * not know at all — and `create` says *why* it is not served: a gap
4782
+ * (`not_implemented`) or a rule (`not_applicable`). Treating those as the
4783
+ * same thing is how a caller ends up waiting for something that will never
4784
+ * be built.
4785
+ *
4786
+ * The answer describes the binary rather than anything a merchant owns, so
4787
+ * it is the same for every caller of one deployment and is safe to cache for
4788
+ * the life of a dashboard session.
4789
+ */
4790
+ async capabilities() {
4791
+ return this.request("GET", "/external-records/capabilities");
4792
+ }
4775
4793
  };
4776
4794
 
4777
4795
  // src/resources/products.ts
@@ -10154,4 +10172,4 @@ export {
10154
10172
  decodeNativePanes,
10155
10173
  encodeNativePanes
10156
10174
  };
10157
- //# sourceMappingURL=chunk-W57MOHOE.js.map
10175
+ //# sourceMappingURL=chunk-RWCROWXW.js.map