@01.software/sdk 0.1.0-dev.260210.4ecca43 → 0.1.0-dev.260211.a92d27b
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/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -511,12 +511,14 @@ interface Product {
|
|
|
511
511
|
_order?: string | null;
|
|
512
512
|
tenant?: (number | null) | Tenant;
|
|
513
513
|
title: string;
|
|
514
|
+
subTitle?: string | null;
|
|
514
515
|
/**
|
|
515
516
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
516
517
|
*/
|
|
517
518
|
generateSlug?: boolean | null;
|
|
518
519
|
slug?: string | null;
|
|
519
|
-
|
|
520
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
521
|
+
isSoldOut?: boolean | null;
|
|
520
522
|
thumbnail?: (number | null) | ProductImage;
|
|
521
523
|
images?: (number | ProductImage)[] | null;
|
|
522
524
|
description?: {
|
|
@@ -549,7 +551,6 @@ interface Product {
|
|
|
549
551
|
hasNextPage?: boolean;
|
|
550
552
|
totalDocs?: number;
|
|
551
553
|
};
|
|
552
|
-
isSoldOut?: boolean | null;
|
|
553
554
|
updatedAt: string;
|
|
554
555
|
createdAt: string;
|
|
555
556
|
}
|
|
@@ -719,6 +720,7 @@ interface Order {
|
|
|
719
720
|
orderNumber: string;
|
|
720
721
|
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
721
722
|
totalAmount?: number | null;
|
|
723
|
+
name?: string | null;
|
|
722
724
|
email?: string | null;
|
|
723
725
|
shippingCarrier?: ('cj' | 'hanjin' | 'lotte' | 'epost' | 'logen' | 'other') | null;
|
|
724
726
|
trackingNumber?: string | null;
|
|
@@ -762,7 +764,7 @@ interface OrderProduct {
|
|
|
762
764
|
order: number | Order;
|
|
763
765
|
product: number | Product;
|
|
764
766
|
variant?: (number | null) | ProductVariant;
|
|
765
|
-
option
|
|
767
|
+
option?: (number | null) | ProductOption;
|
|
766
768
|
quantity: number;
|
|
767
769
|
title?: string | null;
|
|
768
770
|
updatedAt: string;
|
|
@@ -1768,9 +1770,11 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
1768
1770
|
_order?: T;
|
|
1769
1771
|
tenant?: T;
|
|
1770
1772
|
title?: T;
|
|
1773
|
+
subTitle?: T;
|
|
1771
1774
|
generateSlug?: T;
|
|
1772
1775
|
slug?: T;
|
|
1773
|
-
|
|
1776
|
+
status?: T;
|
|
1777
|
+
isSoldOut?: T;
|
|
1774
1778
|
thumbnail?: T;
|
|
1775
1779
|
images?: T;
|
|
1776
1780
|
description?: T;
|
|
@@ -1781,7 +1785,6 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
1781
1785
|
brand?: T;
|
|
1782
1786
|
variants?: T;
|
|
1783
1787
|
options?: T;
|
|
1784
|
-
isSoldOut?: T;
|
|
1785
1788
|
updatedAt?: T;
|
|
1786
1789
|
createdAt?: T;
|
|
1787
1790
|
}
|
|
@@ -1948,6 +1951,7 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
1948
1951
|
orderNumber?: T;
|
|
1949
1952
|
status?: T;
|
|
1950
1953
|
totalAmount?: T;
|
|
1954
|
+
name?: T;
|
|
1951
1955
|
email?: T;
|
|
1952
1956
|
shippingCarrier?: T;
|
|
1953
1957
|
trackingNumber?: T;
|
package/dist/index.d.ts
CHANGED
|
@@ -511,12 +511,14 @@ interface Product {
|
|
|
511
511
|
_order?: string | null;
|
|
512
512
|
tenant?: (number | null) | Tenant;
|
|
513
513
|
title: string;
|
|
514
|
+
subTitle?: string | null;
|
|
514
515
|
/**
|
|
515
516
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
516
517
|
*/
|
|
517
518
|
generateSlug?: boolean | null;
|
|
518
519
|
slug?: string | null;
|
|
519
|
-
|
|
520
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
521
|
+
isSoldOut?: boolean | null;
|
|
520
522
|
thumbnail?: (number | null) | ProductImage;
|
|
521
523
|
images?: (number | ProductImage)[] | null;
|
|
522
524
|
description?: {
|
|
@@ -549,7 +551,6 @@ interface Product {
|
|
|
549
551
|
hasNextPage?: boolean;
|
|
550
552
|
totalDocs?: number;
|
|
551
553
|
};
|
|
552
|
-
isSoldOut?: boolean | null;
|
|
553
554
|
updatedAt: string;
|
|
554
555
|
createdAt: string;
|
|
555
556
|
}
|
|
@@ -719,6 +720,7 @@ interface Order {
|
|
|
719
720
|
orderNumber: string;
|
|
720
721
|
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
721
722
|
totalAmount?: number | null;
|
|
723
|
+
name?: string | null;
|
|
722
724
|
email?: string | null;
|
|
723
725
|
shippingCarrier?: ('cj' | 'hanjin' | 'lotte' | 'epost' | 'logen' | 'other') | null;
|
|
724
726
|
trackingNumber?: string | null;
|
|
@@ -762,7 +764,7 @@ interface OrderProduct {
|
|
|
762
764
|
order: number | Order;
|
|
763
765
|
product: number | Product;
|
|
764
766
|
variant?: (number | null) | ProductVariant;
|
|
765
|
-
option
|
|
767
|
+
option?: (number | null) | ProductOption;
|
|
766
768
|
quantity: number;
|
|
767
769
|
title?: string | null;
|
|
768
770
|
updatedAt: string;
|
|
@@ -1768,9 +1770,11 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
1768
1770
|
_order?: T;
|
|
1769
1771
|
tenant?: T;
|
|
1770
1772
|
title?: T;
|
|
1773
|
+
subTitle?: T;
|
|
1771
1774
|
generateSlug?: T;
|
|
1772
1775
|
slug?: T;
|
|
1773
|
-
|
|
1776
|
+
status?: T;
|
|
1777
|
+
isSoldOut?: T;
|
|
1774
1778
|
thumbnail?: T;
|
|
1775
1779
|
images?: T;
|
|
1776
1780
|
description?: T;
|
|
@@ -1781,7 +1785,6 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
1781
1785
|
brand?: T;
|
|
1782
1786
|
variants?: T;
|
|
1783
1787
|
options?: T;
|
|
1784
|
-
isSoldOut?: T;
|
|
1785
1788
|
updatedAt?: T;
|
|
1786
1789
|
createdAt?: T;
|
|
1787
1790
|
}
|
|
@@ -1948,6 +1951,7 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
1948
1951
|
orderNumber?: T;
|
|
1949
1952
|
status?: T;
|
|
1950
1953
|
totalAmount?: T;
|
|
1954
|
+
name?: T;
|
|
1951
1955
|
email?: T;
|
|
1952
1956
|
shippingCarrier?: T;
|
|
1953
1957
|
trackingNumber?: T;
|