@01.software/sdk 0.51.0 → 0.56.1
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/CHANGELOG.md +127 -0
- package/README.md +54 -11
- package/dist/client.cjs +420 -53
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +420 -53
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-hYvVfHIm.d.ts → collection-client-Bmr53saa.d.ts} +4 -4
- package/dist/{collection-client-CWAeuzV4.d.cts → collection-client-DxuBDso_.d.cts} +4 -4
- package/dist/{const-D8LixhAJ.d.cts → const-BKUqg96Q.d.ts} +2 -2
- package/dist/{const-JD8obaKg.d.ts → const-Cv1DCsp6.d.cts} +2 -2
- package/dist/{index-Bu0kCc6o.d.cts → index-CGsT4AQ8.d.cts} +24 -7
- package/dist/{index-B0Hjh3Ey.d.ts → index-DFHLLqYu.d.ts} +24 -7
- package/dist/index.cjs +434 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +434 -55
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BOsckg8B.d.cts → payload-types-Bk-duc5k.d.cts} +295 -100
- package/dist/{payload-types-BOsckg8B.d.ts → payload-types-Bk-duc5k.d.ts} +295 -100
- package/dist/query.cjs +14 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +14 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +98 -13
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +9 -8
- package/dist/server.d.ts +9 -8
- package/dist/server.js +98 -13
- package/dist/server.js.map +1 -1
- package/dist/{types-Bj8j7VHU.d.ts → types-CEK8uTvU.d.ts} +212 -11
- package/dist/{types-B14sEt1z.d.cts → types-CNdpj2fI.d.cts} +2 -2
- package/dist/{types-5ZlcAFuU.d.ts → types-D4mjGFj4.d.ts} +2 -2
- package/dist/{types-CM5qiR2k.d.cts → types-Dhk5NX7Z.d.cts} +212 -11
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.cjs +13 -2
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/dist/webhook.js +13 -2
- package/dist/webhook.js.map +1 -1
- package/package.json +6 -5
package/dist/query.cjs
CHANGED
|
@@ -884,6 +884,11 @@ var COMMERCE_ENDPOINT_OPERATIONS = {
|
|
|
884
884
|
detail: strictCommerceOperation("checkouts", "post", "/detail"),
|
|
885
885
|
query: strictCommerceOperation("checkouts", "post", "/query")
|
|
886
886
|
},
|
|
887
|
+
draftOrders: {
|
|
888
|
+
calculate: operation("draft-orders", "post", "/:id/calculate"),
|
|
889
|
+
complete: operation("draft-orders", "post", "/:id/complete"),
|
|
890
|
+
finalize: operation("draft-orders", "post", "/:id/finalize")
|
|
891
|
+
},
|
|
887
892
|
transactions: {
|
|
888
893
|
update: operation("transactions", "post", "/update")
|
|
889
894
|
},
|
|
@@ -984,7 +989,15 @@ var portOneStandardActionCapabilityOperations = /* @__PURE__ */ new Set([
|
|
|
984
989
|
var MEMBERSHIP_ENDPOINT_OPERATIONS = {
|
|
985
990
|
subscribe: operation(null, "post", "/memberships/subscribe"),
|
|
986
991
|
cancel: operation(null, "post", "/memberships/:id/cancel"),
|
|
987
|
-
me: operation(null, "get", "/memberships/me")
|
|
992
|
+
me: operation(null, "get", "/memberships/me"),
|
|
993
|
+
chargeResult: operation(null, "post", "/memberships/:id/charge-result"),
|
|
994
|
+
refundResult: operation(null, "post", "/memberships/:id/refund-result"),
|
|
995
|
+
revoke: operation(null, "post", "/memberships/:id/revoke")
|
|
996
|
+
};
|
|
997
|
+
var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
|
|
998
|
+
members: operation("customer-groups", "get", "/:id/members"),
|
|
999
|
+
grant: operation("customer-groups", "post", "/:id/members/grant"),
|
|
1000
|
+
revoke: operation("customer-groups", "post", "/:id/members/revoke")
|
|
988
1001
|
};
|
|
989
1002
|
var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
990
1003
|
show: operation("tenants", "get", "/embedded-admin-app"),
|