@01.software/sdk 0.43.0 → 0.44.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.
- package/CHANGELOG.md +17 -0
- package/README.md +17 -18
- 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.map +1 -1
- package/dist/{collection-client-gWsA7BVP.d.ts → collection-client-DWooaiTr.d.ts} +3 -3
- package/dist/{collection-client-U70KizLf.d.cts → collection-client-Dyl-CDcj.d.cts} +3 -3
- package/dist/{const-BBynifk0.d.cts → const-1vleZ6ov.d.cts} +1 -1
- package/dist/{const-_WWHU-gX.d.ts → const-pGDnsy0o.d.ts} +1 -1
- package/dist/{index-DPi5NWU8.d.ts → index-DUNySyxV.d.ts} +3 -3
- package/dist/{index-Dg4Y6Aq7.d.cts → index-a6g7vqAD.d.cts} +3 -3
- 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.map +1 -1
- package/dist/{payload-types-DLxkB7Mv.d.cts → payload-types-CDsuOEfM.d.cts} +4 -9
- package/dist/{payload-types-DLxkB7Mv.d.ts → payload-types-CDsuOEfM.d.ts} +4 -9
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- 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.map +1 -1
- package/dist/{types-Bpx5sYKo.d.cts → types-CDND3hzq.d.cts} +12 -7
- package/dist/{types-B9lGhZlB.d.ts → types-Dt9FJisi.d.ts} +12 -7
- package/dist/{types-B1ngKbWI.d.cts → types-SoXsbKhj.d.cts} +1 -1
- package/dist/{types-BiKNBwRA.d.ts → types-oiae_LMm.d.ts} +1 -1
- 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 +4 -4
- package/dist/webhook.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1579,13 +1579,9 @@ interface Product {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
slug?: string | null;
|
|
1581
1581
|
/**
|
|
1582
|
-
* Publication status for this product.
|
|
1582
|
+
* Publication status for this product. Unlisted hides the product from listings while keeping detail lookup available.
|
|
1583
1583
|
*/
|
|
1584
|
-
status?: ('draft' | 'published' | 'archived') | null;
|
|
1585
|
-
/**
|
|
1586
|
-
* Controls whether this product appears in listings and detail pages.
|
|
1587
|
-
*/
|
|
1588
|
-
storefrontVisibility?: ('listed' | 'unlisted' | 'hidden') | null;
|
|
1584
|
+
status?: ('draft' | 'published' | 'unlisted' | 'archived') | null;
|
|
1589
1585
|
/**
|
|
1590
1586
|
* Automatically enabled when no variant is sellable.
|
|
1591
1587
|
*/
|
|
@@ -2464,8 +2460,8 @@ interface Market {
|
|
|
2464
2460
|
tenant?: (string | null) | Tenant;
|
|
2465
2461
|
name: string;
|
|
2466
2462
|
handle: string;
|
|
2467
|
-
countryCode:
|
|
2468
|
-
currency:
|
|
2463
|
+
countryCode: 'KR' | 'US';
|
|
2464
|
+
currency: 'KRW' | 'USD';
|
|
2469
2465
|
isPrimary?: boolean | null;
|
|
2470
2466
|
isActive?: boolean | null;
|
|
2471
2467
|
metadata?: {
|
|
@@ -7793,7 +7789,6 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
7793
7789
|
generateSlug?: T;
|
|
7794
7790
|
slug?: T;
|
|
7795
7791
|
status?: T;
|
|
7796
|
-
storefrontVisibility?: T;
|
|
7797
7792
|
isSoldOut?: T;
|
|
7798
7793
|
isFeatured?: T;
|
|
7799
7794
|
publishedAt?: T;
|
|
@@ -1579,13 +1579,9 @@ interface Product {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
slug?: string | null;
|
|
1581
1581
|
/**
|
|
1582
|
-
* Publication status for this product.
|
|
1582
|
+
* Publication status for this product. Unlisted hides the product from listings while keeping detail lookup available.
|
|
1583
1583
|
*/
|
|
1584
|
-
status?: ('draft' | 'published' | 'archived') | null;
|
|
1585
|
-
/**
|
|
1586
|
-
* Controls whether this product appears in listings and detail pages.
|
|
1587
|
-
*/
|
|
1588
|
-
storefrontVisibility?: ('listed' | 'unlisted' | 'hidden') | null;
|
|
1584
|
+
status?: ('draft' | 'published' | 'unlisted' | 'archived') | null;
|
|
1589
1585
|
/**
|
|
1590
1586
|
* Automatically enabled when no variant is sellable.
|
|
1591
1587
|
*/
|
|
@@ -2464,8 +2460,8 @@ interface Market {
|
|
|
2464
2460
|
tenant?: (string | null) | Tenant;
|
|
2465
2461
|
name: string;
|
|
2466
2462
|
handle: string;
|
|
2467
|
-
countryCode:
|
|
2468
|
-
currency:
|
|
2463
|
+
countryCode: 'KR' | 'US';
|
|
2464
|
+
currency: 'KRW' | 'USD';
|
|
2469
2465
|
isPrimary?: boolean | null;
|
|
2470
2466
|
isActive?: boolean | null;
|
|
2471
2467
|
metadata?: {
|
|
@@ -7793,7 +7789,6 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
7793
7789
|
generateSlug?: T;
|
|
7794
7790
|
slug?: T;
|
|
7795
7791
|
status?: T;
|
|
7796
|
-
storefrontVisibility?: T;
|
|
7797
7792
|
isSoldOut?: T;
|
|
7798
7793
|
isFeatured?: T;
|
|
7799
7794
|
publishedAt?: T;
|
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 { g as ApiQueryOptions, P as PayloadFindResponse, aD as PublicReadQueryOptions, o as PayloadMutationResponse, aE as CustomerAuth, aF as CustomerProfile, aG as CustomerAuthResponse, aH as CustomerLoginData, aI as CustomerRegisterResponse, aJ as CustomerRegisterData, aK as CustomerRefreshResponse, aL as UpdateProfileData, aM as ProductListingPageBaseParams, aN as ProductListingPageParams, aO as ProductDetailParams, aP as ProductDetailResult, aQ as ProductListingPageCatalogParams, aR as ProductListingPageResult, aS as ProductListingGroupsCatalogItem, aT as ProductListingPageFullParams, aU as ProductListingGroupsItem, S as Sort, W as Where, z as RootClient, aq as RootServerClient } from './types-
|
|
4
|
-
import './payload-types-
|
|
5
|
-
import { C as CollectionClient } from './collection-client-
|
|
6
|
-
import { S as ServerCollection, P as PublicCollection } from './const-
|
|
7
|
-
import { C as CollectionType } from './types-
|
|
3
|
+
import { g as ApiQueryOptions, P as PayloadFindResponse, aD as PublicReadQueryOptions, o as PayloadMutationResponse, aE as CustomerAuth, aF as CustomerProfile, aG as CustomerAuthResponse, aH as CustomerLoginData, aI as CustomerRegisterResponse, aJ as CustomerRegisterData, aK as CustomerRefreshResponse, aL as UpdateProfileData, aM as ProductListingPageBaseParams, aN as ProductListingPageParams, aO as ProductDetailParams, aP as ProductDetailResult, aQ as ProductListingPageCatalogParams, aR as ProductListingPageResult, aS as ProductListingGroupsCatalogItem, aT as ProductListingPageFullParams, aU as ProductListingGroupsItem, S as Sort, W as Where, z as RootClient, aq as RootServerClient } from './types-CDND3hzq.cjs';
|
|
4
|
+
import './payload-types-CDsuOEfM.cjs';
|
|
5
|
+
import { C as CollectionClient } from './collection-client-Dyl-CDcj.cjs';
|
|
6
|
+
import { S as ServerCollection, P as PublicCollection } from './const-1vleZ6ov.cjs';
|
|
7
|
+
import { C as CollectionType } from './types-SoXsbKhj.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 { g as ApiQueryOptions, P as PayloadFindResponse, aD as PublicReadQueryOptions, o as PayloadMutationResponse, aE as CustomerAuth, aF as CustomerProfile, aG as CustomerAuthResponse, aH as CustomerLoginData, aI as CustomerRegisterResponse, aJ as CustomerRegisterData, aK as CustomerRefreshResponse, aL as UpdateProfileData, aM as ProductListingPageBaseParams, aN as ProductListingPageParams, aO as ProductDetailParams, aP as ProductDetailResult, aQ as ProductListingPageCatalogParams, aR as ProductListingPageResult, aS as ProductListingGroupsCatalogItem, aT as ProductListingPageFullParams, aU as ProductListingGroupsItem, S as Sort, W as Where, z as RootClient, aq as RootServerClient } from './types-
|
|
4
|
-
import './payload-types-
|
|
5
|
-
import { C as CollectionClient } from './collection-client-
|
|
6
|
-
import { S as ServerCollection, P as PublicCollection } from './const-
|
|
7
|
-
import { C as CollectionType } from './types-
|
|
3
|
+
import { g as ApiQueryOptions, P as PayloadFindResponse, aD as PublicReadQueryOptions, o as PayloadMutationResponse, aE as CustomerAuth, aF as CustomerProfile, aG as CustomerAuthResponse, aH as CustomerLoginData, aI as CustomerRegisterResponse, aJ as CustomerRegisterData, aK as CustomerRefreshResponse, aL as UpdateProfileData, aM as ProductListingPageBaseParams, aN as ProductListingPageParams, aO as ProductDetailParams, aP as ProductDetailResult, aQ as ProductListingPageCatalogParams, aR as ProductListingPageResult, aS as ProductListingGroupsCatalogItem, aT as ProductListingPageFullParams, aU as ProductListingGroupsItem, S as Sort, W as Where, z as RootClient, aq as RootServerClient } from './types-Dt9FJisi.js';
|
|
4
|
+
import './payload-types-CDsuOEfM.js';
|
|
5
|
+
import { C as CollectionClient } from './collection-client-DWooaiTr.js';
|
|
6
|
+
import { S as ServerCollection, P as PublicCollection } from './const-pGDnsy0o.js';
|
|
7
|
+
import { C as CollectionType } from './types-oiae_LMm.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/realtime.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RealtimeEvent } from './realtime-D7HtUpqt.cjs';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-1vleZ6ov.cjs';
|
|
4
|
+
import './payload-types-CDsuOEfM.cjs';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|
package/dist/realtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RealtimeEvent } from './realtime-D7HtUpqt.js';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-D7HtUpqt.js';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-pGDnsy0o.js';
|
|
4
|
+
import './payload-types-CDsuOEfM.js';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|