@epcc-sdk/sdks-shopper 0.0.5 → 0.0.7
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/client/types.gen.d.ts +18 -1
- package/package.json +1 -1
|
@@ -1879,6 +1879,7 @@ export type CartResponse = {
|
|
|
1879
1879
|
};
|
|
1880
1880
|
};
|
|
1881
1881
|
};
|
|
1882
|
+
included?: CartInclude;
|
|
1882
1883
|
};
|
|
1883
1884
|
export type CartItemsObjectRequest = CartItemObject | SubscriptionItemObject | CartMergeObjectRequest | CustomItemObject | ReOrderObjectRequest | PromotionItemObject;
|
|
1884
1885
|
export type CartItemObject = {
|
|
@@ -3171,6 +3172,15 @@ export type CartCheckoutTimestamps = {
|
|
|
3171
3172
|
*/
|
|
3172
3173
|
updated_at?: unknown;
|
|
3173
3174
|
};
|
|
3175
|
+
/**
|
|
3176
|
+
* Included is an array of resources that are included in the response.
|
|
3177
|
+
*/
|
|
3178
|
+
export type CartInclude = {
|
|
3179
|
+
/**
|
|
3180
|
+
* The cart items associated with a cart.
|
|
3181
|
+
*/
|
|
3182
|
+
items?: Array<CartItemObject>;
|
|
3183
|
+
};
|
|
3174
3184
|
/**
|
|
3175
3185
|
* Whether a plan is active on a subscription using that offering. The `active_plan` attribute is null if a plan is not active in a subscription.
|
|
3176
3186
|
*/
|
|
@@ -5000,6 +5010,7 @@ export type Offset = BigInt;
|
|
|
5000
5010
|
* Product tags are used to store or assign a key word against a product. The product tag can then be used to describe or label that product. Using product tags means that you can group your products together, for example, by brand, category, subcategory, colors, types, industries, and so on. You can enhance your product list using tags, enabling you to refine your product list and run targeted promotions. Tags are used to refine the eligibility criteria for a rule. Requests populate the catalog rule tag using the `EP-Context-Tag` header.
|
|
5001
5011
|
*/
|
|
5002
5012
|
export type Tag = string;
|
|
5013
|
+
export type CartInclude2 = Array<"items">;
|
|
5003
5014
|
/**
|
|
5004
5015
|
* A comma-separated list of resources to include. See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
|
|
5005
5016
|
*/
|
|
@@ -5456,6 +5467,10 @@ export type GetByContextAllProductsResponse = GetByContextAllProductsResponses[k
|
|
|
5456
5467
|
export type GetByContextProductData = {
|
|
5457
5468
|
body?: never;
|
|
5458
5469
|
headers?: {
|
|
5470
|
+
/**
|
|
5471
|
+
* The language and locale your storefront prefers. See [Accept-Language](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language).
|
|
5472
|
+
*/
|
|
5473
|
+
"accept-language"?: string;
|
|
5459
5474
|
/**
|
|
5460
5475
|
* The list of channels in which this catalog can be displayed. A channel is the shopping experience, such as a mobile app or web storefront. If empty, the catalog rule matches all channels. The channel will eventually be included in the bearer token that is used for authorization, but currently, you must set the `EP-Channel` header in your requests.
|
|
5461
5476
|
*/
|
|
@@ -6856,7 +6871,9 @@ export type GetCartData = {
|
|
|
6856
6871
|
*/
|
|
6857
6872
|
cartID: string;
|
|
6858
6873
|
};
|
|
6859
|
-
query?:
|
|
6874
|
+
query?: {
|
|
6875
|
+
include?: Array<"items">;
|
|
6876
|
+
};
|
|
6860
6877
|
url: "/v2/carts/{cartID}";
|
|
6861
6878
|
};
|
|
6862
6879
|
export type GetCartErrors = {
|