@01.software/sdk 0.45.0 → 0.46.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 +14 -0
- package/MIGRATION.md +19 -0
- package/README.md +49 -4
- package/dist/client.cjs +13 -0
- 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 +13 -0
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-Ckfusuee.d.ts → collection-client-BEGXnfQe.d.ts} +4 -4
- package/dist/{collection-client-BSo7VXQE.d.cts → collection-client-L2rEgBaR.d.cts} +4 -4
- package/dist/{const-CaPq2AE4.d.ts → const-GYVwlXLr.d.ts} +1 -1
- package/dist/{const-BAG0MH0u.d.cts → const-y0eipvnQ.d.cts} +1 -1
- package/dist/{index-BNICJxBL.d.ts → index-Bei4WlVw.d.ts} +3 -3
- package/dist/{index-YGrZrxNn.d.cts → index-BfYL6Qb1.d.cts} +3 -3
- package/dist/index.cjs +13 -0
- 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 +13 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-CJZuXcgF.d.cts → payload-types-3WNyC0gk.d.cts} +5 -0
- package/dist/{payload-types-CJZuXcgF.d.ts → payload-types-3WNyC0gk.d.ts} +5 -0
- package/dist/query.cjs +8 -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 +8 -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 +99 -1
- 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 +99 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-D5p7-m1l.d.cts → types-CAicTn-o.d.cts} +2 -2
- package/dist/{types-C4WuJfw7.d.cts → types-CDJ2M-MJ.d.cts} +43 -4
- package/dist/{types-BC6rVmJa.d.ts → types-DpSyNTxy.d.ts} +2 -2
- package/dist/{types-BlOvjoTX.d.ts → types-mIROvhhP.d.ts} +43 -4
- 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 +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,
|
|
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 { i as ApiQueryOptions, P as PayloadFindResponse, bO as PublicReadQueryOptions, K as PayloadMutationResponse, bP as CustomerAuth, bQ as CustomerProfile, bR as CustomerAuthResponse, bS as CustomerLoginData, bT as CustomerRegisterResponse, bU as CustomerRegisterData, bV as CustomerRefreshResponse, bW as UpdateProfileData, bX as ProductListingPageParams, bY as ProductListingPageBaseParams, bZ as ProductDetailParams, b_ as ProductDetailCatalogResult, b$ as ProductListingPageCatalogParams, c0 as ProductListingPageResult, c1 as ProductListingGroupsCatalogItem, c2 as ProductListingPageFullParams, c3 as ProductListingGroupsItem, ah as RootClient, bv as RootServerClient } from './types-CDJ2M-MJ.cjs';
|
|
4
|
+
import './payload-types-3WNyC0gk.cjs';
|
|
5
|
+
import { S as ServerCollection, P as PublicCollection } from './const-y0eipvnQ.cjs';
|
|
6
|
+
import { C as CollectionClient } from './collection-client-L2rEgBaR.cjs';
|
|
7
|
+
import { C as CollectionType } from './types-CAicTn-o.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,
|
|
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 { i as ApiQueryOptions, P as PayloadFindResponse, bO as PublicReadQueryOptions, K as PayloadMutationResponse, bP as CustomerAuth, bQ as CustomerProfile, bR as CustomerAuthResponse, bS as CustomerLoginData, bT as CustomerRegisterResponse, bU as CustomerRegisterData, bV as CustomerRefreshResponse, bW as UpdateProfileData, bX as ProductListingPageParams, bY as ProductListingPageBaseParams, bZ as ProductDetailParams, b_ as ProductDetailCatalogResult, b$ as ProductListingPageCatalogParams, c0 as ProductListingPageResult, c1 as ProductListingGroupsCatalogItem, c2 as ProductListingPageFullParams, c3 as ProductListingGroupsItem, ah as RootClient, bv as RootServerClient } from './types-mIROvhhP.js';
|
|
4
|
+
import './payload-types-3WNyC0gk.js';
|
|
5
|
+
import { S as ServerCollection, P as PublicCollection } from './const-GYVwlXLr.js';
|
|
6
|
+
import { C as CollectionClient } from './collection-client-BEGXnfQe.js';
|
|
7
|
+
import { C as CollectionType } from './types-DpSyNTxy.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
|
@@ -962,6 +962,14 @@ var COMMERCE_ENDPOINTS = {
|
|
|
962
962
|
create: endpoint("POST", "/api/payment-sessions/create"),
|
|
963
963
|
retrieve: endpoint("POST", "/api/payment-sessions/retrieve"),
|
|
964
964
|
cancel: endpoint("POST", "/api/payment-sessions/cancel"),
|
|
965
|
+
custom: {
|
|
966
|
+
create: sharedEndpoint(
|
|
967
|
+
COMMERCE_ENDPOINT_OPERATIONS.paymentSessions.custom.create
|
|
968
|
+
),
|
|
969
|
+
confirm: sharedEndpoint(
|
|
970
|
+
COMMERCE_ENDPOINT_OPERATIONS.paymentSessions.custom.confirm
|
|
971
|
+
)
|
|
972
|
+
},
|
|
965
973
|
server: {
|
|
966
974
|
create: endpoint("POST", "/api/payment-sessions/server/create"),
|
|
967
975
|
retrieve: endpoint("POST", "/api/payment-sessions/server/retrieve"),
|