@01.software/sdk 0.38.0 → 0.40.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 (74) hide show
  1. package/README.md +169 -54
  2. package/dist/analytics/react.cjs.map +1 -1
  3. package/dist/analytics/react.js.map +1 -1
  4. package/dist/analytics.cjs.map +1 -1
  5. package/dist/analytics.js.map +1 -1
  6. package/dist/client.cjs +1194 -5
  7. package/dist/client.cjs.map +1 -1
  8. package/dist/client.d.cts +8 -7
  9. package/dist/client.d.ts +8 -7
  10. package/dist/client.js +1194 -5
  11. package/dist/client.js.map +1 -1
  12. package/dist/{collection-client-BroIWHY1.d.ts → collection-client-CKFa99C6.d.ts} +16 -10
  13. package/dist/{collection-client-B0J9wMNE.d.cts → collection-client-VYwYi6u6.d.cts} +16 -10
  14. package/dist/const-4BUtUdGU.d.cts +32 -0
  15. package/dist/const-ymprfiPf.d.ts +32 -0
  16. package/dist/errors.cjs +4 -1
  17. package/dist/errors.cjs.map +1 -1
  18. package/dist/errors.js +4 -1
  19. package/dist/errors.js.map +1 -1
  20. package/dist/{index-BOLQxveo.d.cts → index-Dquv4xTL.d.cts} +3 -3
  21. package/dist/{index-CSwR2HSg.d.ts → index-w36lpSkU.d.ts} +3 -3
  22. package/dist/index.cjs +2796 -2651
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +8 -8
  25. package/dist/index.d.ts +8 -8
  26. package/dist/index.js +2796 -2651
  27. package/dist/index.js.map +1 -1
  28. package/dist/{payload-types-m3jjhxk9.d.cts → payload-types-DC0xzR9i.d.cts} +470 -265
  29. package/dist/{payload-types-m3jjhxk9.d.ts → payload-types-DC0xzR9i.d.ts} +470 -265
  30. package/dist/query.cjs +241 -58
  31. package/dist/query.cjs.map +1 -1
  32. package/dist/query.d.cts +151 -26
  33. package/dist/query.d.ts +151 -26
  34. package/dist/query.js +241 -58
  35. package/dist/query.js.map +1 -1
  36. package/dist/realtime.cjs +5 -1
  37. package/dist/realtime.cjs.map +1 -1
  38. package/dist/realtime.d.cts +2 -2
  39. package/dist/realtime.d.ts +2 -2
  40. package/dist/realtime.js +5 -1
  41. package/dist/realtime.js.map +1 -1
  42. package/dist/server.cjs +1117 -1
  43. package/dist/server.cjs.map +1 -1
  44. package/dist/server.d.cts +7 -7
  45. package/dist/server.d.ts +7 -7
  46. package/dist/server.js +1117 -1
  47. package/dist/server.js.map +1 -1
  48. package/dist/storefront-cache.cjs +144 -0
  49. package/dist/storefront-cache.cjs.map +1 -0
  50. package/dist/storefront-cache.d.cts +24 -0
  51. package/dist/storefront-cache.d.ts +24 -0
  52. package/dist/storefront-cache.js +121 -0
  53. package/dist/storefront-cache.js.map +1 -0
  54. package/dist/{types-Cmrd1ezc.d.ts → types-Bh2p-EMc.d.ts} +5 -1
  55. package/dist/{types-D0ubzQw0.d.cts → types-BvpjooU-.d.cts} +5 -1
  56. package/dist/{types-D2xYdz4P.d.ts → types-D5uHrPLr.d.cts} +264 -96
  57. package/dist/{types-CIGscmus.d.cts → types-Umd-YTjM.d.ts} +264 -96
  58. package/dist/ui/canvas/server.cjs +5 -1
  59. package/dist/ui/canvas/server.cjs.map +1 -1
  60. package/dist/ui/canvas/server.js +5 -1
  61. package/dist/ui/canvas/server.js.map +1 -1
  62. package/dist/ui/canvas.cjs +5 -1
  63. package/dist/ui/canvas.cjs.map +1 -1
  64. package/dist/ui/canvas.js +5 -1
  65. package/dist/ui/canvas.js.map +1 -1
  66. package/dist/ui/form.d.cts +1 -1
  67. package/dist/ui/form.d.ts +1 -1
  68. package/dist/ui/video.d.cts +1 -1
  69. package/dist/ui/video.d.ts +1 -1
  70. package/dist/webhook.d.cts +4 -4
  71. package/dist/webhook.d.ts +4 -4
  72. package/package.json +13 -3
  73. package/dist/const-6XHz_jej.d.ts +0 -32
  74. package/dist/const-B5KT72c7.d.cts +0 -32
package/dist/server.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { S as ServerCollectionClient } from './collection-client-B0J9wMNE.cjs';
2
- export { C as CollectionClient } from './collection-client-B0J9wMNE.cjs';
3
- import { B as BaseApi, z as ServerApiOptions, F as ServerCommerceClient, T as TenantIntrospectionClient, a as CommunityClient, G as BanCustomerParams, H as CommunityBan, I as UnbanCustomerParams, c as ClientState, J as ClientServerConfig, E as EventsClient, K as RootServerClientWithEvents } from './types-CIGscmus.cjs';
4
- export { A as AddItemParams, f as ApplyDiscountParams, g as CheckoutParams, h as ClearCartParams, L as CollectionFieldSchema, M as CollectionSchemaResponse, N as EventGuestCancelParams, O as EventGuestRegistration, Q as EventGuestRegistrationResponse, V as EventRegistrationAnswerInput, X as EventRegistrationAttendeeInput, Y as EventRegistrationPublic, Z as EventRegistrationRegisterParams, _ as EventRegistrationRegisterResponse, $ as EventsCalendarItem, a0 as EventsClientOptions, a1 as EventsDateParam, a2 as EventsExternalSource, a3 as EventsLocation, a4 as EventsOccurrenceLocation, a5 as EventsRangeEvent, a6 as EventsRangeOccurrence, a7 as EventsRangeParams, a8 as EventsRangeResponse, a9 as EventsTaxonomyItem, aa as ModerationApi, m as PublicCart, n as PublicCartItem, o as PublicCartReference, p as PublicMediaAsset, q as PublicMediaSize, r as PublicOrder, s as PublicOrderItem, t as PublicOrderReference, R as RemoveDiscountParams, u as RemoveItemParams, ab as RootServerClient, ac as TenantFeatureProgressEvidenceValue, ad as TenantFeatureProgressFeature, ae as TenantFeatureProgressGroup, af as TenantFeatureProgressInput, ag as TenantFeatureProgressItem, ah as TenantFeatureProgressItemState, ai as TenantFeatureProgressResponse, aj as TenantFeatureProgressSeverity, ak as TenantFeatureProgressStatus, al as TenantIntrospectionApi, am as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-CIGscmus.cjs';
5
- import './payload-types-m3jjhxk9.cjs';
1
+ import { S as ServerCollectionClient } from './collection-client-VYwYi6u6.cjs';
2
+ export { C as CollectionClient } from './collection-client-VYwYi6u6.cjs';
3
+ import { N as BaseApi, O as ServerApiOptions, Q as ServerCommerceClient, T as TenantIntrospectionClient, a as CommunityClient, V as BanCustomerParams, X as CommunityBan, Y as UnbanCustomerParams, d as ClientState, Z as ClientServerConfig, E as EventsClient, _ as RootServerClientWithEvents } from './types-D5uHrPLr.cjs';
4
+ export { A as AddItemParams, g as ApplyDiscountParams, h as CheckoutParams, i as ClearCartParams, $ as CollectionFieldSchema, a0 as CollectionSchemaResponse, a1 as EventGuestCancelParams, a2 as EventGuestRegistration, a3 as EventGuestRegistrationResponse, a4 as EventRegistrationAnswerInput, a5 as EventRegistrationAttendeeInput, a6 as EventRegistrationPublic, a7 as EventRegistrationRegisterParams, a8 as EventRegistrationRegisterResponse, a9 as EventsCalendarItem, aa as EventsClientOptions, ab as EventsDateParam, ac as EventsExternalSource, ad as EventsLocation, ae as EventsOccurrenceLocation, af as EventsRangeEvent, ag as EventsRangeOccurrence, ah as EventsRangeParams, ai as EventsRangeResponse, aj as EventsTaxonomyItem, ak as ModerationApi, o as PublicCart, p as PublicCartItem, q as PublicCartReference, r as PublicMediaAsset, s as PublicMediaSize, t as PublicOrder, u as PublicOrderItem, v as PublicOrderReference, R as RemoveDiscountParams, w as RemoveItemParams, al as RootServerClient, am as TenantFeatureProgressEvidenceValue, an as TenantFeatureProgressFeature, ao as TenantFeatureProgressGroup, ap as TenantFeatureProgressInput, aq as TenantFeatureProgressItem, ar as TenantFeatureProgressItemState, as as TenantFeatureProgressResponse, at as TenantFeatureProgressSeverity, au as TenantFeatureProgressStatus, av as TenantIntrospectionApi, aw as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-D5uHrPLr.cjs';
5
+ import './payload-types-DC0xzR9i.cjs';
6
6
  import './metadata.cjs';
7
- import './const-B5KT72c7.cjs';
8
- import './types-D0ubzQw0.cjs';
7
+ import './const-4BUtUdGU.cjs';
8
+ import './types-BvpjooU-.cjs';
9
9
 
10
10
  type PreviewDetailParams = {
11
11
  collection: string;
package/dist/server.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { S as ServerCollectionClient } from './collection-client-BroIWHY1.js';
2
- export { C as CollectionClient } from './collection-client-BroIWHY1.js';
3
- import { B as BaseApi, z as ServerApiOptions, F as ServerCommerceClient, T as TenantIntrospectionClient, a as CommunityClient, G as BanCustomerParams, H as CommunityBan, I as UnbanCustomerParams, c as ClientState, J as ClientServerConfig, E as EventsClient, K as RootServerClientWithEvents } from './types-D2xYdz4P.js';
4
- export { A as AddItemParams, f as ApplyDiscountParams, g as CheckoutParams, h as ClearCartParams, L as CollectionFieldSchema, M as CollectionSchemaResponse, N as EventGuestCancelParams, O as EventGuestRegistration, Q as EventGuestRegistrationResponse, V as EventRegistrationAnswerInput, X as EventRegistrationAttendeeInput, Y as EventRegistrationPublic, Z as EventRegistrationRegisterParams, _ as EventRegistrationRegisterResponse, $ as EventsCalendarItem, a0 as EventsClientOptions, a1 as EventsDateParam, a2 as EventsExternalSource, a3 as EventsLocation, a4 as EventsOccurrenceLocation, a5 as EventsRangeEvent, a6 as EventsRangeOccurrence, a7 as EventsRangeParams, a8 as EventsRangeResponse, a9 as EventsTaxonomyItem, aa as ModerationApi, m as PublicCart, n as PublicCartItem, o as PublicCartReference, p as PublicMediaAsset, q as PublicMediaSize, r as PublicOrder, s as PublicOrderItem, t as PublicOrderReference, R as RemoveDiscountParams, u as RemoveItemParams, ab as RootServerClient, ac as TenantFeatureProgressEvidenceValue, ad as TenantFeatureProgressFeature, ae as TenantFeatureProgressGroup, af as TenantFeatureProgressInput, ag as TenantFeatureProgressItem, ah as TenantFeatureProgressItemState, ai as TenantFeatureProgressResponse, aj as TenantFeatureProgressSeverity, ak as TenantFeatureProgressStatus, al as TenantIntrospectionApi, am as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-D2xYdz4P.js';
5
- import './payload-types-m3jjhxk9.js';
1
+ import { S as ServerCollectionClient } from './collection-client-CKFa99C6.js';
2
+ export { C as CollectionClient } from './collection-client-CKFa99C6.js';
3
+ import { N as BaseApi, O as ServerApiOptions, Q as ServerCommerceClient, T as TenantIntrospectionClient, a as CommunityClient, V as BanCustomerParams, X as CommunityBan, Y as UnbanCustomerParams, d as ClientState, Z as ClientServerConfig, E as EventsClient, _ as RootServerClientWithEvents } from './types-Umd-YTjM.js';
4
+ export { A as AddItemParams, g as ApplyDiscountParams, h as CheckoutParams, i as ClearCartParams, $ as CollectionFieldSchema, a0 as CollectionSchemaResponse, a1 as EventGuestCancelParams, a2 as EventGuestRegistration, a3 as EventGuestRegistrationResponse, a4 as EventRegistrationAnswerInput, a5 as EventRegistrationAttendeeInput, a6 as EventRegistrationPublic, a7 as EventRegistrationRegisterParams, a8 as EventRegistrationRegisterResponse, a9 as EventsCalendarItem, aa as EventsClientOptions, ab as EventsDateParam, ac as EventsExternalSource, ad as EventsLocation, ae as EventsOccurrenceLocation, af as EventsRangeEvent, ag as EventsRangeOccurrence, ah as EventsRangeParams, ai as EventsRangeResponse, aj as EventsTaxonomyItem, ak as ModerationApi, o as PublicCart, p as PublicCartItem, q as PublicCartReference, r as PublicMediaAsset, s as PublicMediaSize, t as PublicOrder, u as PublicOrderItem, v as PublicOrderReference, R as RemoveDiscountParams, w as RemoveItemParams, al as RootServerClient, am as TenantFeatureProgressEvidenceValue, an as TenantFeatureProgressFeature, ao as TenantFeatureProgressGroup, ap as TenantFeatureProgressInput, aq as TenantFeatureProgressItem, ar as TenantFeatureProgressItemState, as as TenantFeatureProgressResponse, at as TenantFeatureProgressSeverity, au as TenantFeatureProgressStatus, av as TenantIntrospectionApi, aw as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-Umd-YTjM.js';
5
+ import './payload-types-DC0xzR9i.js';
6
6
  import './metadata.js';
7
- import './const-6XHz_jej.js';
8
- import './types-Cmrd1ezc.js';
7
+ import './const-ymprfiPf.js';
8
+ import './types-Bh2p-EMc.js';
9
9
 
10
10
  type PreviewDetailParams = {
11
11
  collection: string;