@01.software/sdk 0.73.1 → 0.75.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 +75 -0
  2. package/README.md +109 -4
  3. package/dist/client.cjs +59 -14
  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 +59 -14
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-BH4dIZ6c.d.cts → collection-client-BNC6tUdK.d.cts} +3 -4
  10. package/dist/{collection-client-lLAl3xCZ.d.ts → collection-client-CNkBMUHj.d.ts} +3 -4
  11. package/dist/collection-documents-Bl0AF0m0.d.cts +5486 -0
  12. package/dist/collection-documents-Bl0AF0m0.d.ts +5486 -0
  13. package/dist/{const-CCvoknRY.d.ts → const-CcOT0taO.d.cts} +1 -3
  14. package/dist/{const-BS2EaIp4.d.cts → const-CcOT0taO.d.ts} +1 -3
  15. package/dist/{index-DVqNpmsc.d.ts → index-CQsJvMCN.d.ts} +2 -3
  16. package/dist/{index-CHdrzJ8-.d.cts → index-CfxkqaY9.d.cts} +2 -3
  17. package/dist/index.cjs +60 -14
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +7 -7
  20. package/dist/index.d.ts +7 -7
  21. package/dist/index.js +60 -14
  22. package/dist/index.js.map +1 -1
  23. package/dist/query.cjs +16 -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 +16 -1
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +1 -2
  30. package/dist/realtime.d.ts +1 -2
  31. package/dist/server.cjs +50 -11
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +7 -7
  34. package/dist/server.d.ts +7 -7
  35. package/dist/server.js +50 -11
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-lbzbJSZh.d.ts → types-Btxz6NVi.d.ts} +161 -31
  38. package/dist/types-CQw4HXky.d.ts +151 -0
  39. package/dist/{types-Chwgg4CQ.d.cts → types-DMwRdJ-4.d.cts} +161 -31
  40. package/dist/types-Jr4xTiGs.d.cts +151 -0
  41. package/dist/ui/form.cjs.map +1 -1
  42. package/dist/ui/form.d.cts +1 -1
  43. package/dist/ui/form.d.ts +1 -1
  44. package/dist/ui/form.js.map +1 -1
  45. package/dist/ui/video.cjs.map +1 -1
  46. package/dist/ui/video.d.cts +1 -1
  47. package/dist/ui/video.d.ts +1 -1
  48. package/dist/ui/video.js.map +1 -1
  49. package/dist/webhook.d.cts +7 -5
  50. package/dist/webhook.d.ts +7 -5
  51. package/package.json +1 -1
  52. package/dist/payload-types-PXkmefhZ.d.cts +0 -14027
  53. package/dist/payload-types-PXkmefhZ.d.ts +0 -14027
  54. package/dist/types-CQRsG6sA.d.ts +0 -53
  55. package/dist/types-CyMz0Kzc.d.cts +0 -53
package/dist/query.d.cts CHANGED
@@ -1,12 +1,12 @@
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 { d8 as ApiQueryOptions, di as PayloadFindResponse, dD as PublicReadQueryOptions, dj as PayloadMutationResponse, dE as CustomerAuth, dF as CustomerProfile, dG as CustomerAuthResponse, dH as CustomerLoginData, dI as CustomerRegisterResponse, dJ as CustomerRegisterData, dK as CustomerRefreshResponse, dL as UpdateProfileData, dM as ProductListingPageParams, dN as ProductListingPageBaseParams, dO as ProductDetailParams, dP as ProductDetailCatalogResult, dQ as ProductListingPageCatalogParams, dR as ProductListingPageResult, dS as ProductListingGroupsCatalogItem, dT as ProductListingPageFullParams, dU as ProductListingGroupsItem, dm as RootClient, cp as RootServerClient } from './types-Chwgg4CQ.cjs';
4
- import './payload-types-PXkmefhZ.cjs';
5
- import { S as ServerCollection, P as PublicCollection } from './const-BS2EaIp4.cjs';
6
- import { C as CollectionClient } from './collection-client-BH4dIZ6c.cjs';
7
- import { C as CollectionType } from './types-CyMz0Kzc.cjs';
3
+ import { df as ApiQueryOptions, dq as PayloadFindResponse, dK as PublicReadQueryOptions, dr as PayloadMutationResponse, dL as CustomerAuth, dM as CustomerProfile, dN as CustomerAuthResponse, dO as CustomerLoginData, dP as CustomerRegisterResponse, dQ as CustomerRegisterData, dR as CustomerRefreshResponse, dS as UpdateProfileData, dT as ProductListingPageParams, dU as ProductListingPageBaseParams, dV as ProductDetailParams, dW as ProductDetailCatalogResult, dX as ProductListingPageCatalogParams, dY as ProductListingPageResult, dZ as ProductListingGroupsCatalogItem, d_ as ProductListingPageFullParams, d$ as ProductListingGroupsItem, du as RootClient, cp as RootServerClient } from './types-DMwRdJ-4.cjs';
4
+ import { S as ServerCollection, P as PublicCollection } from './const-CcOT0taO.cjs';
5
+ import { C as CollectionClient } from './collection-client-BNC6tUdK.cjs';
6
+ import { C as CollectionType } from './types-Jr4xTiGs.cjs';
8
7
  import { SDKError } from './errors.cjs';
9
8
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
9
+ import './collection-documents-Bl0AF0m0.cjs';
10
10
  import './metadata.cjs';
11
11
 
12
12
  /** Default React Query client (SSR hydration-friendly: infinite staleTime). */
package/dist/query.d.ts CHANGED
@@ -1,12 +1,12 @@
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 { d8 as ApiQueryOptions, di as PayloadFindResponse, dD as PublicReadQueryOptions, dj as PayloadMutationResponse, dE as CustomerAuth, dF as CustomerProfile, dG as CustomerAuthResponse, dH as CustomerLoginData, dI as CustomerRegisterResponse, dJ as CustomerRegisterData, dK as CustomerRefreshResponse, dL as UpdateProfileData, dM as ProductListingPageParams, dN as ProductListingPageBaseParams, dO as ProductDetailParams, dP as ProductDetailCatalogResult, dQ as ProductListingPageCatalogParams, dR as ProductListingPageResult, dS as ProductListingGroupsCatalogItem, dT as ProductListingPageFullParams, dU as ProductListingGroupsItem, dm as RootClient, cp as RootServerClient } from './types-lbzbJSZh.js';
4
- import './payload-types-PXkmefhZ.js';
5
- import { S as ServerCollection, P as PublicCollection } from './const-CCvoknRY.js';
6
- import { C as CollectionClient } from './collection-client-lLAl3xCZ.js';
7
- import { C as CollectionType } from './types-CQRsG6sA.js';
3
+ import { df as ApiQueryOptions, dq as PayloadFindResponse, dK as PublicReadQueryOptions, dr as PayloadMutationResponse, dL as CustomerAuth, dM as CustomerProfile, dN as CustomerAuthResponse, dO as CustomerLoginData, dP as CustomerRegisterResponse, dQ as CustomerRegisterData, dR as CustomerRefreshResponse, dS as UpdateProfileData, dT as ProductListingPageParams, dU as ProductListingPageBaseParams, dV as ProductDetailParams, dW as ProductDetailCatalogResult, dX as ProductListingPageCatalogParams, dY as ProductListingPageResult, dZ as ProductListingGroupsCatalogItem, d_ as ProductListingPageFullParams, d$ as ProductListingGroupsItem, du as RootClient, cp as RootServerClient } from './types-Btxz6NVi.js';
4
+ import { S as ServerCollection, P as PublicCollection } from './const-CcOT0taO.js';
5
+ import { C as CollectionClient } from './collection-client-CNkBMUHj.js';
6
+ import { C as CollectionType } from './types-CQw4HXky.js';
8
7
  import { SDKError } from './errors.js';
9
8
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
9
+ import './collection-documents-Bl0AF0m0.js';
10
10
  import './metadata.js';
11
11
 
12
12
  /** Default React Query client (SSR hydration-friendly: infinite staleTime). */
package/dist/query.js CHANGED
@@ -1058,16 +1058,28 @@ var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
1058
1058
  resetPassword: operation("customers", "post", "/reset-password"),
1059
1059
  changePassword: operation("customers", "post", "/change-password"),
1060
1060
  revokeRefresh: operation("customers", "post", "/revoke-refresh"),
1061
- withdraw: operation("customers", "post", "/withdraw")
1061
+ withdraw: operation("customers", "post", "/withdraw"),
1062
+ requestWithdrawalCode: operation("customers", "post", "/withdraw/email-code")
1062
1063
  };
1063
1064
  var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
1064
1065
  show: operation("tenants", "get", "/embedded-admin-app"),
1065
1066
  configure: operation("tenants", "patch", "/embedded-admin-app"),
1066
1067
  disable: operation("tenants", "delete", "/embedded-admin-app")
1067
1068
  };
1069
+ var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
1070
+ list: operation("field-configs", "get", "/list"),
1071
+ save: operation("field-configs", "post", "/save")
1072
+ };
1068
1073
  var EVENTS_ENDPOINT_OPERATIONS = {
1069
1074
  registrations: {
1070
1075
  register: operation("event-registrations", "post", "/register"),
1076
+ requestEmailVerification: operation(
1077
+ "event-registrations",
1078
+ "post",
1079
+ "/request-email-verification"
1080
+ ),
1081
+ emailCancelPage: operation("event-registrations", "get", "/email-cancel"),
1082
+ emailCancel: operation("event-registrations", "post", "/email-cancel"),
1071
1083
  guestLookup: operation("event-registrations", "post", "/guest/lookup"),
1072
1084
  guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
1073
1085
  guestCancel: operation("event-registrations", "post", "/guest/cancel"),
@@ -1106,6 +1118,9 @@ var VIDEO_ENDPOINT_OPERATIONS = {
1106
1118
  function resolveOperationTemplate(descriptor) {
1107
1119
  return descriptor.collection ? `/api/${descriptor.collection}${descriptor.path}` : `/api${descriptor.path}`;
1108
1120
  }
1121
+ var PAYMENT_DIAGNOSTIC_ENDPOINT_OPERATIONS = {
1122
+ diagnose: operation("tenants", "get", "/payment-diagnostics")
1123
+ };
1109
1124
  function resolveOperationPath(descriptor, options) {
1110
1125
  const path = resolveOperationTemplate(descriptor).replace(
1111
1126
  /:([A-Za-z][A-Za-z0-9_]*)/g,