@01.software/sdk 0.69.0 → 0.70.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 +39 -0
- package/README.md +26 -7
- package/dist/client.cjs +35 -7
- 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 +35 -7
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-C2VGBnCC.d.ts → collection-client-B1FSJ24_.d.ts} +5 -5
- package/dist/{collection-client-DvWkDxSM.d.cts → collection-client-BHLStm1K.d.cts} +5 -5
- package/dist/{const-AtPEgg__.d.cts → const-BfQfV-rr.d.cts} +1 -1
- package/dist/{const-DR96Chal.d.ts → const-ty8u0TDI.d.ts} +1 -1
- package/dist/embedded-admin/server.cjs +5 -0
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.js +5 -0
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +5 -0
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.js +5 -0
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.cjs +5 -0
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +5 -0
- package/dist/errors.js.map +1 -1
- package/dist/{index-Ce11c_Oh.d.cts → index-CX6si6YC.d.cts} +3 -3
- package/dist/{index-D8fmTrZk.d.ts → index-DnKgjPGM.d.ts} +3 -3
- package/dist/index.cjs +35 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +35 -7
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-rhnw3rR8.d.cts → payload-types-DTAaWKrp.d.cts} +18 -4
- package/dist/{payload-types-rhnw3rR8.d.ts → payload-types-DTAaWKrp.d.ts} +18 -4
- package/dist/query.cjs +14 -0
- 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 -0
- 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 +35 -7
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +35 -7
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +5 -0
- package/dist/storefront-cache.cjs.map +1 -1
- package/dist/storefront-cache.js +5 -0
- package/dist/storefront-cache.js.map +1 -1
- package/dist/{types-B99utaKU.d.cts → types-Bzgf4mTo.d.cts} +3 -3
- package/dist/{types-CHK8VIPa.d.ts → types-CpSiyJud.d.cts} +8 -2
- package/dist/{types-BR0D4AaW.d.cts → types-DX8Z44yQ.d.ts} +8 -2
- package/dist/{types-L0xmn_iT.d.ts → types-DdlhpNVv.d.ts} +3 -3
- 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.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +1 -1
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 { cN as ApiQueryOptions, cX as PayloadFindResponse, dd as PublicReadQueryOptions, cY 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, dp as ProductDetailParams, dq as ProductDetailCatalogResult, dr as ProductListingPageCatalogParams, ds as ProductListingPageResult, dt as ProductListingGroupsCatalogItem, du as ProductListingPageFullParams, dv as ProductListingGroupsItem, c$ as RootClient, c8 as RootServerClient } from './types-
|
|
4
|
-
import './payload-types-
|
|
5
|
-
import { S as ServerCollection, P as PublicCollection } from './const-
|
|
6
|
-
import { C as CollectionClient } from './collection-client-
|
|
7
|
-
import { C as CollectionType } from './types-
|
|
3
|
+
import { cN as ApiQueryOptions, cX as PayloadFindResponse, dd as PublicReadQueryOptions, cY 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, dp as ProductDetailParams, dq as ProductDetailCatalogResult, dr as ProductListingPageCatalogParams, ds as ProductListingPageResult, dt as ProductListingGroupsCatalogItem, du as ProductListingPageFullParams, dv as ProductListingGroupsItem, c$ as RootClient, c8 as RootServerClient } from './types-Bzgf4mTo.cjs';
|
|
4
|
+
import './payload-types-DTAaWKrp.cjs';
|
|
5
|
+
import { S as ServerCollection, P as PublicCollection } from './const-BfQfV-rr.cjs';
|
|
6
|
+
import { C as CollectionClient } from './collection-client-BHLStm1K.cjs';
|
|
7
|
+
import { C as CollectionType } from './types-CpSiyJud.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 { cN as ApiQueryOptions, cX as PayloadFindResponse, dd as PublicReadQueryOptions, cY 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, dp as ProductDetailParams, dq as ProductDetailCatalogResult, dr as ProductListingPageCatalogParams, ds as ProductListingPageResult, dt as ProductListingGroupsCatalogItem, du as ProductListingPageFullParams, dv as ProductListingGroupsItem, c$ as RootClient, c8 as RootServerClient } from './types-
|
|
4
|
-
import './payload-types-
|
|
5
|
-
import { S as ServerCollection, P as PublicCollection } from './const-
|
|
6
|
-
import { C as CollectionClient } from './collection-client-
|
|
7
|
-
import { C as CollectionType } from './types-
|
|
3
|
+
import { cN as ApiQueryOptions, cX as PayloadFindResponse, dd as PublicReadQueryOptions, cY 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, dp as ProductDetailParams, dq as ProductDetailCatalogResult, dr as ProductListingPageCatalogParams, ds as ProductListingPageResult, dt as ProductListingGroupsCatalogItem, du as ProductListingPageFullParams, dv as ProductListingGroupsItem, c$ as RootClient, c8 as RootServerClient } from './types-DdlhpNVv.js';
|
|
4
|
+
import './payload-types-DTAaWKrp.js';
|
|
5
|
+
import { S as ServerCollection, P as PublicCollection } from './const-ty8u0TDI.js';
|
|
6
|
+
import { C as CollectionClient } from './collection-client-B1FSJ24_.js';
|
|
7
|
+
import { C as CollectionType } from './types-DX8Z44yQ.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
|
@@ -586,6 +586,11 @@ var COMMERCE_ERROR_CODES = [
|
|
|
586
586
|
"checkout_reservation_release_requires_transaction",
|
|
587
587
|
"admission_metadata_invalid",
|
|
588
588
|
"admission_metadata_required",
|
|
589
|
+
"admission_not_eligible",
|
|
590
|
+
"admission_eligibility_unavailable",
|
|
591
|
+
"admission_authority_unavailable",
|
|
592
|
+
"admission_customer_binding_required",
|
|
593
|
+
"admission_eligibility_unproven",
|
|
589
594
|
"capacity_exceeded",
|
|
590
595
|
"admission_required",
|
|
591
596
|
"occurrence_lock_unavailable",
|
|
@@ -1042,6 +1047,15 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1042
1047
|
};
|
|
1043
1048
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1044
1049
|
registrations: {
|
|
1050
|
+
register: operation("event-registrations", "post", "/register"),
|
|
1051
|
+
guestLookup: operation("event-registrations", "post", "/guest/lookup"),
|
|
1052
|
+
guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
|
|
1053
|
+
guestCancel: operation("event-registrations", "post", "/guest/cancel"),
|
|
1054
|
+
guestCancelByUrl: operation(
|
|
1055
|
+
"event-registrations",
|
|
1056
|
+
"post",
|
|
1057
|
+
"/guest/:token/cancel"
|
|
1058
|
+
),
|
|
1045
1059
|
listMine: operation("event-registrations", "get", "/my")
|
|
1046
1060
|
},
|
|
1047
1061
|
events: {
|