@01.software/sdk 0.45.0 → 0.46.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 +8 -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 +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-Ckfusuee.d.ts → collection-client-D6kKrYdq.d.ts} +1 -1
- package/dist/{collection-client-BSo7VXQE.d.cts → collection-client-DolMjCoC.d.cts} +1 -1
- package/dist/index.cjs +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +8 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +2 -2
- package/dist/query.d.ts +2 -2
- package/dist/query.js +8 -0
- package/dist/query.js.map +1 -1
- package/dist/server.cjs +99 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +99 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-BlOvjoTX.d.ts → types-C60vHIkY.d.ts} +40 -1
- package/dist/{types-C4WuJfw7.d.cts → types-xlqBeW2N.d.cts} +40 -1
- package/package.json +3 -3
package/dist/query.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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,
|
|
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-xlqBeW2N.cjs';
|
|
4
4
|
import './payload-types-CJZuXcgF.cjs';
|
|
5
5
|
import { S as ServerCollection, P as PublicCollection } from './const-BAG0MH0u.cjs';
|
|
6
|
-
import { C as CollectionClient } from './collection-client-
|
|
6
|
+
import { C as CollectionClient } from './collection-client-DolMjCoC.cjs';
|
|
7
7
|
import { C as CollectionType } from './types-D5p7-m1l.cjs';
|
|
8
8
|
import { SDKError } from './errors.cjs';
|
|
9
9
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
|
package/dist/query.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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,
|
|
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-C60vHIkY.js';
|
|
4
4
|
import './payload-types-CJZuXcgF.js';
|
|
5
5
|
import { S as ServerCollection, P as PublicCollection } from './const-CaPq2AE4.js';
|
|
6
|
-
import { C as CollectionClient } from './collection-client-
|
|
6
|
+
import { C as CollectionClient } from './collection-client-D6kKrYdq.js';
|
|
7
7
|
import { C as CollectionType } from './types-BC6rVmJa.js';
|
|
8
8
|
import { SDKError } from './errors.js';
|
|
9
9
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.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"),
|