@01.software/sdk 0.41.1 → 0.43.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 +246 -0
- package/README.md +88 -19
- package/dist/analytics/react.cjs +71 -3
- package/dist/analytics/react.cjs.map +1 -1
- package/dist/analytics/react.d.cts +18 -2
- package/dist/analytics/react.d.ts +18 -2
- package/dist/analytics/react.js +67 -3
- package/dist/analytics/react.js.map +1 -1
- package/dist/analytics.cjs +6 -2
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.d.cts +17 -4
- package/dist/analytics.d.ts +17 -4
- package/dist/analytics.js +6 -2
- package/dist/analytics.js.map +1 -1
- package/dist/client.cjs +233 -47
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +9 -6
- package/dist/client.d.ts +9 -6
- package/dist/client.js +233 -47
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-Bk--pNzW.d.cts → collection-client-U70KizLf.d.cts} +3 -3
- package/dist/{collection-client-BdcxkW7l.d.ts → collection-client-gWsA7BVP.d.ts} +3 -3
- package/dist/{const-qGGI7Uii.d.cts → const-BBynifk0.d.cts} +5 -5
- package/dist/{const-HwdntWtG.d.ts → const-_WWHU-gX.d.ts} +5 -5
- package/dist/{index-B1oW50RY.d.ts → index-DPi5NWU8.d.ts} +4 -4
- package/dist/{index-DiXtjVab.d.cts → index-Dg4Y6Aq7.d.cts} +4 -4
- package/dist/index.cjs +225 -358
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -8
- package/dist/index.d.ts +41 -8
- package/dist/index.js +225 -358
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-CqJOgON7.d.cts → payload-types-DLxkB7Mv.d.cts} +561 -123
- package/dist/{payload-types-CqJOgON7.d.ts → payload-types-DLxkB7Mv.d.ts} +561 -123
- package/dist/query.cjs +59 -7
- 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 +59 -7
- package/dist/query.js.map +1 -1
- package/dist/realtime.cjs +1 -1
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/realtime.js +1 -1
- package/dist/realtime.js.map +1 -1
- package/dist/server.cjs +318 -61
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +12 -7
- package/dist/server.d.ts +12 -7
- package/dist/server.js +318 -61
- package/dist/server.js.map +1 -1
- package/dist/{types-ByLSG-O3.d.cts → types-B1ngKbWI.d.cts} +1 -1
- package/dist/{types-BKa9z9s2.d.cts → types-B9lGhZlB.d.ts} +229 -15
- package/dist/{types-BMI3M0nb.d.ts → types-BiKNBwRA.d.ts} +1 -1
- package/dist/{types-DgfXb7iV.d.ts → types-Bpx5sYKo.d.cts} +229 -15
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js.map +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.cjs +3 -1
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.d.cts +4 -4
- package/dist/webhook.d.ts +4 -4
- package/dist/webhook.js +3 -1
- package/dist/webhook.js.map +1 -1
- package/package.json +1 -1
package/dist/server.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as ServerCollectionClient } from './collection-client-
|
|
2
|
-
export { C as CollectionClient } from './collection-client-
|
|
3
|
-
import {
|
|
4
|
-
export { A as AddItemParams,
|
|
5
|
-
import './payload-types-
|
|
1
|
+
import { S as ServerCollectionClient } from './collection-client-U70KizLf.cjs';
|
|
2
|
+
export { C as CollectionClient } from './collection-client-U70KizLf.cjs';
|
|
3
|
+
import { O as BaseApi, Q as ServerApiOptions, T as ServerCommerceClient, V as TenantIntrospectionClient, X as SubscribeMembershipParams, Y as SubscribeMembershipResponse, Z as CancelMembershipParams, _ as CancelMembershipResponse, d as CustomerMembershipView, a as CommunityClient, $ as BanCustomerParams, a0 as CommunityBan, a1 as UnbanCustomerParams, e as ClientState, a2 as ClientServerConfig, E as EventsClient, a3 as RootServerClientWithEvents } from './types-Bpx5sYKo.cjs';
|
|
4
|
+
export { A as AddItemParams, h as ApplyDiscountParams, i as CheckoutParams, j as ClearCartParams, a4 as CollectionFieldSchema, a5 as CollectionSchemaResponse, a6 as EventGuestCancelParams, a7 as EventGuestRegistration, a8 as EventGuestRegistrationResponse, a9 as EventRegistrationAnswerInput, aa as EventRegistrationAttendeeInput, ab as EventRegistrationPublic, ac as EventRegistrationRegisterParams, ad as EventRegistrationRegisterResponse, ae as EventsCalendarItem, af as EventsClientOptions, ag as EventsDateParam, ah as EventsExternalSource, ai as EventsLocation, aj as EventsOccurrenceLocation, ak as EventsRangeEvent, al as EventsRangeOccurrence, am as EventsRangeParams, an as EventsRangeResponse, ao as EventsTaxonomyItem, ap as ModerationApi, p as PublicCart, q as PublicCartItem, r as PublicCartReference, s as PublicMediaAsset, t as PublicMediaSize, u as PublicOrder, v as PublicOrderItem, w as PublicOrderReference, R as RemoveDiscountParams, x as RemoveItemParams, aq as RootServerClient, ar as TenantFeatureProgressEvidenceValue, as as TenantFeatureProgressFeature, at as TenantFeatureProgressGroup, au as TenantFeatureProgressInput, av as TenantFeatureProgressItem, aw as TenantFeatureProgressItemState, ax as TenantFeatureProgressResponse, ay as TenantFeatureProgressSeverity, az as TenantFeatureProgressStatus, aA as TenantIntrospectionApi, aB as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-Bpx5sYKo.cjs';
|
|
5
|
+
import './payload-types-DLxkB7Mv.cjs';
|
|
6
6
|
import './metadata.cjs';
|
|
7
|
-
import './const-
|
|
8
|
-
import './types-
|
|
7
|
+
import './const-BBynifk0.cjs';
|
|
8
|
+
import './types-B1ngKbWI.cjs';
|
|
9
9
|
|
|
10
10
|
type PreviewDetailParams = {
|
|
11
11
|
collection: string;
|
|
@@ -31,6 +31,11 @@ declare class ServerPreviewClient extends BaseApi {
|
|
|
31
31
|
declare class ServerClient {
|
|
32
32
|
commerce: ServerCommerceClient;
|
|
33
33
|
tenant: TenantIntrospectionClient;
|
|
34
|
+
memberships: {
|
|
35
|
+
subscribe: (params: SubscribeMembershipParams) => Promise<SubscribeMembershipResponse>;
|
|
36
|
+
cancel: (params: CancelMembershipParams) => Promise<CancelMembershipResponse>;
|
|
37
|
+
me: () => Promise<CustomerMembershipView | null>;
|
|
38
|
+
};
|
|
34
39
|
private _events?;
|
|
35
40
|
community: CommunityClient & {
|
|
36
41
|
moderation: {
|
package/dist/server.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as ServerCollectionClient } from './collection-client-
|
|
2
|
-
export { C as CollectionClient } from './collection-client-
|
|
3
|
-
import {
|
|
4
|
-
export { A as AddItemParams,
|
|
5
|
-
import './payload-types-
|
|
1
|
+
import { S as ServerCollectionClient } from './collection-client-gWsA7BVP.js';
|
|
2
|
+
export { C as CollectionClient } from './collection-client-gWsA7BVP.js';
|
|
3
|
+
import { O as BaseApi, Q as ServerApiOptions, T as ServerCommerceClient, V as TenantIntrospectionClient, X as SubscribeMembershipParams, Y as SubscribeMembershipResponse, Z as CancelMembershipParams, _ as CancelMembershipResponse, d as CustomerMembershipView, a as CommunityClient, $ as BanCustomerParams, a0 as CommunityBan, a1 as UnbanCustomerParams, e as ClientState, a2 as ClientServerConfig, E as EventsClient, a3 as RootServerClientWithEvents } from './types-B9lGhZlB.js';
|
|
4
|
+
export { A as AddItemParams, h as ApplyDiscountParams, i as CheckoutParams, j as ClearCartParams, a4 as CollectionFieldSchema, a5 as CollectionSchemaResponse, a6 as EventGuestCancelParams, a7 as EventGuestRegistration, a8 as EventGuestRegistrationResponse, a9 as EventRegistrationAnswerInput, aa as EventRegistrationAttendeeInput, ab as EventRegistrationPublic, ac as EventRegistrationRegisterParams, ad as EventRegistrationRegisterResponse, ae as EventsCalendarItem, af as EventsClientOptions, ag as EventsDateParam, ah as EventsExternalSource, ai as EventsLocation, aj as EventsOccurrenceLocation, ak as EventsRangeEvent, al as EventsRangeOccurrence, am as EventsRangeParams, an as EventsRangeResponse, ao as EventsTaxonomyItem, ap as ModerationApi, p as PublicCart, q as PublicCartItem, r as PublicCartReference, s as PublicMediaAsset, t as PublicMediaSize, u as PublicOrder, v as PublicOrderItem, w as PublicOrderReference, R as RemoveDiscountParams, x as RemoveItemParams, aq as RootServerClient, ar as TenantFeatureProgressEvidenceValue, as as TenantFeatureProgressFeature, at as TenantFeatureProgressGroup, au as TenantFeatureProgressInput, av as TenantFeatureProgressItem, aw as TenantFeatureProgressItemState, ax as TenantFeatureProgressResponse, ay as TenantFeatureProgressSeverity, az as TenantFeatureProgressStatus, aA as TenantIntrospectionApi, aB as TenantIntrospectionApiOptions, U as UpdateItemParams } from './types-B9lGhZlB.js';
|
|
5
|
+
import './payload-types-DLxkB7Mv.js';
|
|
6
6
|
import './metadata.js';
|
|
7
|
-
import './const-
|
|
8
|
-
import './types-
|
|
7
|
+
import './const-_WWHU-gX.js';
|
|
8
|
+
import './types-BiKNBwRA.js';
|
|
9
9
|
|
|
10
10
|
type PreviewDetailParams = {
|
|
11
11
|
collection: string;
|
|
@@ -31,6 +31,11 @@ declare class ServerPreviewClient extends BaseApi {
|
|
|
31
31
|
declare class ServerClient {
|
|
32
32
|
commerce: ServerCommerceClient;
|
|
33
33
|
tenant: TenantIntrospectionClient;
|
|
34
|
+
memberships: {
|
|
35
|
+
subscribe: (params: SubscribeMembershipParams) => Promise<SubscribeMembershipResponse>;
|
|
36
|
+
cancel: (params: CancelMembershipParams) => Promise<CancelMembershipResponse>;
|
|
37
|
+
me: () => Promise<CustomerMembershipView | null>;
|
|
38
|
+
};
|
|
34
39
|
private _events?;
|
|
35
40
|
community: CommunityClient & {
|
|
36
41
|
moderation: {
|