@01.software/sdk 0.31.0 → 0.32.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/README.md +87 -29
- package/dist/analytics/react.cjs.map +1 -1
- package/dist/analytics/react.js.map +1 -1
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.js.map +1 -1
- package/dist/client.cjs +10 -46
- 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 +10 -46
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-DFXXz0vk.d.cts → collection-client-CORhppPb.d.cts} +3 -3
- package/dist/{collection-client-ByzY3hWK.d.ts → collection-client-DPGXnhoF.d.ts} +3 -3
- package/dist/{const-AytzliEu.d.cts → const-Brk2Ff0q.d.cts} +1 -1
- package/dist/{const-BGCP-OJL.d.ts → const-DcY2_z9O.d.ts} +1 -1
- package/dist/index.cjs +58 -47
- 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 +58 -47
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Wa4-eC6x.d.cts → payload-types-DVK1QCeU.d.cts} +8 -2
- package/dist/{payload-types-Wa4-eC6x.d.ts → payload-types-DVK1QCeU.d.ts} +8 -2
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +16 -16
- package/dist/query.d.ts +16 -16
- package/dist/query.js.map +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.map +1 -1
- package/dist/server.cjs +34 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +99 -7
- package/dist/server.d.ts +99 -7
- package/dist/server.js +34 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-CmLG-7RL.d.cts → types-ByMrR_Z_.d.cts} +1 -1
- package/dist/{types-DChFjQGz.d.cts → types-CAkWqIr6.d.cts} +41 -8
- package/dist/{types-BX2mqDf6.d.ts → types-CYMSBkJC.d.ts} +41 -8
- package/dist/{types-CVA10VC-.d.ts → types-DUPC7Xn6.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.cjs +48 -1
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.d.cts +73 -4
- package/dist/webhook.d.ts +73 -4
- package/dist/webhook.js +48 -1
- package/dist/webhook.js.map +1 -1
- package/package.json +3 -3
|
@@ -2166,7 +2166,7 @@ interface ProductVariant {
|
|
|
2166
2166
|
*/
|
|
2167
2167
|
stock?: number | null;
|
|
2168
2168
|
/**
|
|
2169
|
-
*
|
|
2169
|
+
* Server-owned reserved stock derived from held inventory-reservations. Only payment, cancellation, delivery, and inventory reservation reconcile paths update it.
|
|
2170
2170
|
*/
|
|
2171
2171
|
reservedStock?: number | null;
|
|
2172
2172
|
/**
|
|
@@ -3368,7 +3368,13 @@ interface InventoryReservation {
|
|
|
3368
3368
|
orderItem: string | OrderItem;
|
|
3369
3369
|
variant: string | ProductVariant;
|
|
3370
3370
|
quantity: number;
|
|
3371
|
+
/**
|
|
3372
|
+
* Reservation lifecycle status. Payment, cancellation, and delivery server paths transition it through held, released, and consumed.
|
|
3373
|
+
*/
|
|
3371
3374
|
status: 'held' | 'released' | 'consumed';
|
|
3375
|
+
/**
|
|
3376
|
+
* Timestamp of the latest reservation status change made by a server path.
|
|
3377
|
+
*/
|
|
3372
3378
|
statusChangedAt?: string | null;
|
|
3373
3379
|
updatedAt: string;
|
|
3374
3380
|
createdAt: string;
|
|
@@ -9049,4 +9055,4 @@ declare module 'payload' {
|
|
|
9049
9055
|
}
|
|
9050
9056
|
}
|
|
9051
9057
|
|
|
9052
|
-
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Order as O, Product as P, Reaction as R, Tenant as T, Video as V, CustomerProfileList as a, ProductCollection as b, Post as c, Comment as d, Config as e, ArticleAuthor as f, ArticleCategory as g, ArticleTag as h, Cart as i, CartItem as j, PostCategory as k, ProductVariant as l,
|
|
9058
|
+
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Order as O, Product as P, Reaction as R, Tenant as T, Video as V, CustomerProfileList as a, ProductCollection as b, Post as c, Comment as d, Config as e, ArticleAuthor as f, ArticleCategory as g, ArticleTag as h, Cart as i, CartItem as j, PostCategory as k, ProductVariant as l, Transaction as m, Fulfillment as n, Return as o };
|
|
@@ -2166,7 +2166,7 @@ interface ProductVariant {
|
|
|
2166
2166
|
*/
|
|
2167
2167
|
stock?: number | null;
|
|
2168
2168
|
/**
|
|
2169
|
-
*
|
|
2169
|
+
* Server-owned reserved stock derived from held inventory-reservations. Only payment, cancellation, delivery, and inventory reservation reconcile paths update it.
|
|
2170
2170
|
*/
|
|
2171
2171
|
reservedStock?: number | null;
|
|
2172
2172
|
/**
|
|
@@ -3368,7 +3368,13 @@ interface InventoryReservation {
|
|
|
3368
3368
|
orderItem: string | OrderItem;
|
|
3369
3369
|
variant: string | ProductVariant;
|
|
3370
3370
|
quantity: number;
|
|
3371
|
+
/**
|
|
3372
|
+
* Reservation lifecycle status. Payment, cancellation, and delivery server paths transition it through held, released, and consumed.
|
|
3373
|
+
*/
|
|
3371
3374
|
status: 'held' | 'released' | 'consumed';
|
|
3375
|
+
/**
|
|
3376
|
+
* Timestamp of the latest reservation status change made by a server path.
|
|
3377
|
+
*/
|
|
3372
3378
|
statusChangedAt?: string | null;
|
|
3373
3379
|
updatedAt: string;
|
|
3374
3380
|
createdAt: string;
|
|
@@ -9049,4 +9055,4 @@ declare module 'payload' {
|
|
|
9049
9055
|
}
|
|
9050
9056
|
}
|
|
9051
9057
|
|
|
9052
|
-
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Order as O, Product as P, Reaction as R, Tenant as T, Video as V, CustomerProfileList as a, ProductCollection as b, Post as c, Comment as d, Config as e, ArticleAuthor as f, ArticleCategory as g, ArticleTag as h, Cart as i, CartItem as j, PostCategory as k, ProductVariant as l,
|
|
9058
|
+
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Order as O, Product as P, Reaction as R, Tenant as T, Video as V, CustomerProfileList as a, ProductCollection as b, Post as c, Comment as d, Config as e, ArticleAuthor as f, ArticleCategory as g, ArticleTag as h, Cart as i, CartItem as j, PostCategory as k, ProductVariant as l, Transaction as m, Fulfillment as n, Return as o };
|