@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.
- package/dist/{chunk-W57MOHOE.js → chunk-RWCROWXW.js} +19 -1
- package/dist/chunk-RWCROWXW.js.map +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -1
- package/dist/index.d.ts +81 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +18 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/package.json +18 -17
- package/dist/chunk-W57MOHOE.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -5013,6 +5013,24 @@ var ExternalRecords = class {
|
|
|
5013
5013
|
async create(params) {
|
|
5014
5014
|
return this.request("POST", "/external-records", { body: params });
|
|
5015
5015
|
}
|
|
5016
|
+
/**
|
|
5017
|
+
* What this deployment will accept, per kind.
|
|
5018
|
+
* `GET /external-records/capabilities`
|
|
5019
|
+
*
|
|
5020
|
+
* Read it before offering the operator a form. Every kind is listed, so an
|
|
5021
|
+
* entry that is not served is distinguishable from a kind this release does
|
|
5022
|
+
* not know at all — and `create` says *why* it is not served: a gap
|
|
5023
|
+
* (`not_implemented`) or a rule (`not_applicable`). Treating those as the
|
|
5024
|
+
* same thing is how a caller ends up waiting for something that will never
|
|
5025
|
+
* be built.
|
|
5026
|
+
*
|
|
5027
|
+
* The answer describes the binary rather than anything a merchant owns, so
|
|
5028
|
+
* it is the same for every caller of one deployment and is safe to cache for
|
|
5029
|
+
* the life of a dashboard session.
|
|
5030
|
+
*/
|
|
5031
|
+
async capabilities() {
|
|
5032
|
+
return this.request("GET", "/external-records/capabilities");
|
|
5033
|
+
}
|
|
5016
5034
|
};
|
|
5017
5035
|
|
|
5018
5036
|
// src/resources/products.ts
|