@delopay/sdk 0.308.0 → 0.309.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-P6A6B2ZR.js → chunk-FRYFAWLF.js} +26 -1
- package/dist/chunk-FRYFAWLF.js.map +1 -0
- package/dist/{index-R5RsXhoc.d.cts → index-Bao1891v.d.cts} +170 -1
- package/dist/{index-R5RsXhoc.d.ts → index-Bao1891v.d.ts} +170 -1
- package/dist/index.cjs +25 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +25 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +69 -3
- package/dist/internal.d.ts +69 -3
- package/dist/internal.js +1 -1
- package/package.json +18 -17
- package/dist/chunk-P6A6B2ZR.js.map +0 -1
|
@@ -4677,6 +4677,31 @@ var Users = class {
|
|
|
4677
4677
|
async deletePreference(key) {
|
|
4678
4678
|
return this.request("DELETE", `/user/preferences/${encodeURIComponent(key)}`);
|
|
4679
4679
|
}
|
|
4680
|
+
/**
|
|
4681
|
+
* The caller's guided dashboard tour in the session's scope: their progress,
|
|
4682
|
+
* whether to offer the tour now, and their current and acknowledged access.
|
|
4683
|
+
* Progress is kept per merchant, or per shop for a user whose role is limited
|
|
4684
|
+
* to shops; the scope comes from the session. Login JWT only.
|
|
4685
|
+
*
|
|
4686
|
+
* `GET /user/dashboard-tour`
|
|
4687
|
+
*/
|
|
4688
|
+
async getDashboardTour() {
|
|
4689
|
+
return this.request("GET", "/user/dashboard-tour");
|
|
4690
|
+
}
|
|
4691
|
+
/**
|
|
4692
|
+
* Save the caller's tour progress in the session's scope and return the same
|
|
4693
|
+
* body as {@link Users.getDashboardTour}. `completed` and `skipped` are added
|
|
4694
|
+
* to the stored ones unless `restart` is set; `active`, `baseline` and
|
|
4695
|
+
* `offer_handled_at` replace them. `acknowledge_access: true` stores the
|
|
4696
|
+
* access the server computes as acknowledged. Unknown fields, malformed step
|
|
4697
|
+
* ids or baselines, and more than 300 steps per list are refused; so is any
|
|
4698
|
+
* save while acting as another user (`read_only`). Login JWT only.
|
|
4699
|
+
*
|
|
4700
|
+
* `PUT /user/dashboard-tour`
|
|
4701
|
+
*/
|
|
4702
|
+
async updateDashboardTour(params) {
|
|
4703
|
+
return this.request("PUT", "/user/dashboard-tour", { body: params });
|
|
4704
|
+
}
|
|
4680
4705
|
/**
|
|
4681
4706
|
* RFC 7396 merge-patch the caller's own user-scoped metadata bucket.
|
|
4682
4707
|
* Returns the full user details, so callers can refresh their context
|
|
@@ -15703,4 +15728,4 @@ export {
|
|
|
15703
15728
|
decodeNativePanes,
|
|
15704
15729
|
encodeNativePanes
|
|
15705
15730
|
};
|
|
15706
|
-
//# sourceMappingURL=chunk-
|
|
15731
|
+
//# sourceMappingURL=chunk-FRYFAWLF.js.map
|