@01.software/sdk 0.65.1 → 0.67.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/README.md +79 -2
  3. package/dist/client.cjs +79 -27
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +6 -6
  6. package/dist/client.d.ts +6 -6
  7. package/dist/client.js +79 -27
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-C2sMvfme.d.ts → collection-client-D4HEOoO_.d.ts} +4 -4
  10. package/dist/{collection-client-B7rsTtVj.d.cts → collection-client-jrNFGbrO.d.cts} +4 -4
  11. package/dist/{const-CRxPTDGt.d.ts → const-BU79hCFB.d.ts} +2 -2
  12. package/dist/{const-D6ZRQLxI.d.cts → const-CCQ3MdLE.d.cts} +2 -2
  13. package/dist/{index-1auUEYrl.d.ts → index-CwKxWHIa.d.ts} +3 -3
  14. package/dist/{index-Bbpf5t-l.d.cts → index-DiyhsVHd.d.cts} +3 -3
  15. package/dist/index.cjs +80 -27
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +7 -7
  18. package/dist/index.d.ts +7 -7
  19. package/dist/index.js +80 -27
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BnIET0xU.d.cts → payload-types-jdsUXunB.d.cts} +128 -49
  22. package/dist/{payload-types-BnIET0xU.d.ts → payload-types-jdsUXunB.d.ts} +128 -49
  23. package/dist/query.cjs +14 -1
  24. package/dist/query.cjs.map +1 -1
  25. package/dist/query.d.cts +5 -5
  26. package/dist/query.d.ts +5 -5
  27. package/dist/query.js +14 -1
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +2 -2
  30. package/dist/realtime.d.ts +2 -2
  31. package/dist/server.cjs +96 -3
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +9 -9
  34. package/dist/server.d.ts +9 -9
  35. package/dist/server.js +96 -3
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-Dp1oYpD3.d.cts → types-BPwXAFZ7.d.cts} +2 -2
  38. package/dist/{types-D1y4TgQm.d.ts → types-BusejG-v.d.ts} +2 -2
  39. package/dist/{types-Dzn0LD2N.d.cts → types-CvdBV3ri.d.cts} +71 -6
  40. package/dist/{types-DnRC3nLG.d.ts → types-I2k6Laad.d.ts} +71 -6
  41. package/dist/ui/canvas.cjs +5 -1
  42. package/dist/ui/canvas.cjs.map +1 -1
  43. package/dist/ui/canvas.js +5 -1
  44. package/dist/ui/canvas.js.map +1 -1
  45. package/dist/ui/form.d.cts +1 -1
  46. package/dist/ui/form.d.ts +1 -1
  47. package/dist/ui/video.cjs +9 -2
  48. package/dist/ui/video.cjs.map +1 -1
  49. package/dist/ui/video.d.cts +1 -1
  50. package/dist/ui/video.d.ts +1 -1
  51. package/dist/ui/video.js +9 -2
  52. package/dist/ui/video.js.map +1 -1
  53. package/dist/webhook.d.cts +5 -5
  54. package/dist/webhook.d.ts +5 -5
  55. package/package.json +3 -3
package/dist/query.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { QueryClient, UseQueryResult, UseSuspenseQueryResult, InfiniteData, UseInfiniteQueryResult, UseSuspenseInfiniteQueryResult } from '@tanstack/react-query';
3
- import { i as ApiQueryOptions, P as PayloadFindResponse, cN as PublicReadQueryOptions, L as PayloadMutationResponse, cO as CustomerAuth, cP as CustomerProfile, cQ as CustomerAuthResponse, cR as CustomerLoginData, cS as CustomerRegisterResponse, cT as CustomerRegisterData, cU as CustomerRefreshResponse, cV as UpdateProfileData, cW as ProductListingPageParams, cX as ProductListingPageBaseParams, cY as ProductDetailParams, cZ as ProductDetailCatalogResult, c_ as ProductListingPageCatalogParams, c$ as ProductListingPageResult, d0 as ProductListingGroupsCatalogItem, d1 as ProductListingPageFullParams, d2 as ProductListingGroupsItem, al as RootClient, cp as RootServerClient } from './types-Dzn0LD2N.cjs';
4
- import './payload-types-BnIET0xU.cjs';
5
- import { S as ServerCollection, P as PublicCollection } from './const-D6ZRQLxI.cjs';
6
- import { C as CollectionClient } from './collection-client-B7rsTtVj.cjs';
7
- import { C as CollectionType } from './types-Dp1oYpD3.cjs';
3
+ import { i as ApiQueryOptions, P as PayloadFindResponse, cV as PublicReadQueryOptions, L as PayloadMutationResponse, cW as CustomerAuth, cX as CustomerProfile, cY as CustomerAuthResponse, cZ as CustomerLoginData, c_ as CustomerRegisterResponse, c$ as CustomerRegisterData, d0 as CustomerRefreshResponse, d1 as UpdateProfileData, d2 as ProductListingPageParams, d3 as ProductListingPageBaseParams, d4 as ProductDetailParams, d5 as ProductDetailCatalogResult, d6 as ProductListingPageCatalogParams, d7 as ProductListingPageResult, d8 as ProductListingGroupsCatalogItem, d9 as ProductListingPageFullParams, da as ProductListingGroupsItem, al as RootClient, cu as RootServerClient } from './types-CvdBV3ri.cjs';
4
+ import './payload-types-jdsUXunB.cjs';
5
+ import { S as ServerCollection, P as PublicCollection } from './const-CCQ3MdLE.cjs';
6
+ import { C as CollectionClient } from './collection-client-jrNFGbrO.cjs';
7
+ import { C as CollectionType } from './types-BPwXAFZ7.cjs';
8
8
  import { SDKError } from './errors.cjs';
9
9
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
10
10
  import './metadata.cjs';
package/dist/query.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { QueryClient, UseQueryResult, UseSuspenseQueryResult, InfiniteData, UseInfiniteQueryResult, UseSuspenseInfiniteQueryResult } from '@tanstack/react-query';
3
- import { i as ApiQueryOptions, P as PayloadFindResponse, cN as PublicReadQueryOptions, L as PayloadMutationResponse, cO as CustomerAuth, cP as CustomerProfile, cQ as CustomerAuthResponse, cR as CustomerLoginData, cS as CustomerRegisterResponse, cT as CustomerRegisterData, cU as CustomerRefreshResponse, cV as UpdateProfileData, cW as ProductListingPageParams, cX as ProductListingPageBaseParams, cY as ProductDetailParams, cZ as ProductDetailCatalogResult, c_ as ProductListingPageCatalogParams, c$ as ProductListingPageResult, d0 as ProductListingGroupsCatalogItem, d1 as ProductListingPageFullParams, d2 as ProductListingGroupsItem, al as RootClient, cp as RootServerClient } from './types-DnRC3nLG.js';
4
- import './payload-types-BnIET0xU.js';
5
- import { S as ServerCollection, P as PublicCollection } from './const-CRxPTDGt.js';
6
- import { C as CollectionClient } from './collection-client-C2sMvfme.js';
7
- import { C as CollectionType } from './types-D1y4TgQm.js';
3
+ import { i as ApiQueryOptions, P as PayloadFindResponse, cV as PublicReadQueryOptions, L as PayloadMutationResponse, cW as CustomerAuth, cX as CustomerProfile, cY as CustomerAuthResponse, cZ as CustomerLoginData, c_ as CustomerRegisterResponse, c$ as CustomerRegisterData, d0 as CustomerRefreshResponse, d1 as UpdateProfileData, d2 as ProductListingPageParams, d3 as ProductListingPageBaseParams, d4 as ProductDetailParams, d5 as ProductDetailCatalogResult, d6 as ProductListingPageCatalogParams, d7 as ProductListingPageResult, d8 as ProductListingGroupsCatalogItem, d9 as ProductListingPageFullParams, da as ProductListingGroupsItem, al as RootClient, cu as RootServerClient } from './types-I2k6Laad.js';
4
+ import './payload-types-jdsUXunB.js';
5
+ import { S as ServerCollection, P as PublicCollection } from './const-BU79hCFB.js';
6
+ import { C as CollectionClient } from './collection-client-D4HEOoO_.js';
7
+ import { C as CollectionType } from './types-BusejG-v.js';
8
8
  import { SDKError } from './errors.js';
9
9
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
10
10
  import './metadata.js';
package/dist/query.js CHANGED
@@ -842,7 +842,9 @@ var COMMERCE_ENDPOINT_OPERATIONS = {
842
842
  ),
843
843
  stockCheck: operation("products", "post", "/stock-check"),
844
844
  stockSnapshot: operation("products", "get", "/stock"),
845
- upsert: operation("products", "post", "/upsert")
845
+ upsert: operation("products", "post", "/upsert"),
846
+ graphRevision: operation("products", "get", "/:id/graph-revision"),
847
+ variantsPatch: operation("products", "patch", "/:id/variants")
846
848
  },
847
849
  orders: {
848
850
  create: operation("orders", "post", "/create"),
@@ -1011,6 +1013,14 @@ var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
1011
1013
  revoke: operation("customer-groups", "post", "/:id/members/revoke")
1012
1014
  };
1013
1015
  var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
1016
+ register: operation("customers", "post", "/register"),
1017
+ login: operation("customers", "post", "/login"),
1018
+ refresh: operation("customers", "post", "/refresh"),
1019
+ me: operation("customers", "get", "/me"),
1020
+ updateProfile: operation("customers", "patch", "/me"),
1021
+ forgotPassword: operation("customers", "post", "/forgot-password"),
1022
+ resetPassword: operation("customers", "post", "/reset-password"),
1023
+ changePassword: operation("customers", "post", "/change-password"),
1014
1024
  revokeRefresh: operation("customers", "post", "/revoke-refresh"),
1015
1025
  withdraw: operation("customers", "post", "/withdraw")
1016
1026
  };
@@ -1020,6 +1030,9 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
1020
1030
  disable: operation("tenants", "delete", "/embedded-admin-app")
1021
1031
  };
1022
1032
  var EVENTS_ENDPOINT_OPERATIONS = {
1033
+ registrations: {
1034
+ listMine: operation("event-registrations", "get", "/my")
1035
+ },
1023
1036
  events: {
1024
1037
  convertSchedule: operation("events", "post", "/:id/schedule")
1025
1038
  },