commerce-kit 0.25.0 → 0.26.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/dist/api-types.d.ts +21 -7
- package/package.json +1 -1
package/dist/api-types.d.ts
CHANGED
|
@@ -2989,7 +2989,9 @@ type APIProductGetByIdResult = ({
|
|
|
2989
2989
|
entityId: string;
|
|
2990
2990
|
}[];
|
|
2991
2991
|
});
|
|
2992
|
-
type APIProductGetByIdParams =
|
|
2992
|
+
type APIProductGetByIdParams = {
|
|
2993
|
+
idOrSlug: string;
|
|
2994
|
+
};
|
|
2993
2995
|
type APIProductGetByIdQueryParams = {
|
|
2994
2996
|
lang?: string;
|
|
2995
2997
|
};
|
|
@@ -5949,7 +5951,9 @@ type APIOrderGetByIdResult = {
|
|
|
5949
5951
|
}[] | null;
|
|
5950
5952
|
};
|
|
5951
5953
|
};
|
|
5952
|
-
type APIOrderGetByIdParams =
|
|
5954
|
+
type APIOrderGetByIdParams = {
|
|
5955
|
+
id: string;
|
|
5956
|
+
};
|
|
5953
5957
|
type APICategoriesBrowseResult = Omit<{
|
|
5954
5958
|
data: {
|
|
5955
5959
|
id: string;
|
|
@@ -6242,7 +6246,9 @@ type APICategoryGetByIdResult = ({
|
|
|
6242
6246
|
entityId: string;
|
|
6243
6247
|
}[];
|
|
6244
6248
|
};
|
|
6245
|
-
type APICategoryGetByIdParams =
|
|
6249
|
+
type APICategoryGetByIdParams = {
|
|
6250
|
+
idOrSlug: string;
|
|
6251
|
+
};
|
|
6246
6252
|
type APICategoryGetByIdQueryParams = {
|
|
6247
6253
|
lang?: string;
|
|
6248
6254
|
};
|
|
@@ -6422,7 +6428,9 @@ type APICollectionGetByIdResult = ({
|
|
|
6422
6428
|
entityId: string;
|
|
6423
6429
|
}[];
|
|
6424
6430
|
};
|
|
6425
|
-
type APICollectionGetByIdParams =
|
|
6431
|
+
type APICollectionGetByIdParams = {
|
|
6432
|
+
idOrSlug: string;
|
|
6433
|
+
};
|
|
6426
6434
|
type APICollectionGetByIdQueryParams = {
|
|
6427
6435
|
lang?: string;
|
|
6428
6436
|
};
|
|
@@ -6745,7 +6753,9 @@ type APIPostGetByIdResult = {
|
|
|
6745
6753
|
filters: unknown;
|
|
6746
6754
|
publishedAt: string | null;
|
|
6747
6755
|
} | null | undefined;
|
|
6748
|
-
type APIPostGetByIdParams =
|
|
6756
|
+
type APIPostGetByIdParams = {
|
|
6757
|
+
idOrSlug: string;
|
|
6758
|
+
};
|
|
6749
6759
|
type APIPostCreateBody = {
|
|
6750
6760
|
title: string;
|
|
6751
6761
|
slug: string;
|
|
@@ -6855,7 +6865,9 @@ type APICustomerGetByIdResult = {
|
|
|
6855
6865
|
}>;
|
|
6856
6866
|
createdAt: string;
|
|
6857
6867
|
};
|
|
6858
|
-
type APICustomerGetByIdParams =
|
|
6868
|
+
type APICustomerGetByIdParams = {
|
|
6869
|
+
id: string;
|
|
6870
|
+
};
|
|
6859
6871
|
type APICustomerUpdateBody = {
|
|
6860
6872
|
name?: string;
|
|
6861
6873
|
phone?: string;
|
|
@@ -6952,7 +6964,9 @@ type APIVariantGetByIdResult = {
|
|
|
6952
6964
|
images: string[];
|
|
6953
6965
|
};
|
|
6954
6966
|
};
|
|
6955
|
-
type APIVariantGetByIdParams =
|
|
6967
|
+
type APIVariantGetByIdParams = {
|
|
6968
|
+
idOrSku: string;
|
|
6969
|
+
};
|
|
6956
6970
|
type APIVariantUpdateBody = {
|
|
6957
6971
|
sku?: string;
|
|
6958
6972
|
title?: string;
|