File tree 5 files changed +179
-4
lines changed
cart-checkout-order/src/client
5 files changed +179
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @epcc-sdk/sdks-cart-checkout-order " : patch
3
+ " @epcc-sdk/sdks-shopper " : patch
4
+ ---
5
+
6
+ add missing cart properties
Original file line number Diff line number Diff line change @@ -134,7 +134,36 @@ export type CustomItemResponseObject = CustomItemObjectData & {
134
134
* Specifies the ID of the custom cart item
135
135
*/
136
136
id : string
137
- description ?: unknown
137
+ readonly image ?: {
138
+ /**
139
+ * The MIME type for the uploaded file.
140
+ */
141
+ readonly mime_type ?: string
142
+ /**
143
+ * The name of the image file that was uploaded.
144
+ */
145
+ readonly file_name ?: string
146
+ /**
147
+ * The link to the image.
148
+ */
149
+ readonly href ?: string
150
+ }
151
+ readonly manage_stock ?: boolean
152
+ unit_price ?: ItemPriceData
153
+ value ?: ItemPriceData
154
+ readonly links ?: {
155
+ [ key : string ] : unknown
156
+ }
157
+ readonly meta ?: {
158
+ display_price ?: {
159
+ with_tax ?: FormattedPriceData
160
+ without_tax ?: FormattedPriceData
161
+ tax ?: FormattedPriceData
162
+ discount ?: FormattedPriceData
163
+ without_discount ?: FormattedPriceData
164
+ }
165
+ timestamps ?: Timestamps
166
+ }
138
167
}
139
168
140
169
export type PromotionItemResponseObject = PromotionItemObjectData & {
Original file line number Diff line number Diff line change @@ -1987,7 +1987,36 @@ export type CustomItemResponseObject = CustomItemObjectData & {
1987
1987
* Specifies the ID of the custom cart item
1988
1988
*/
1989
1989
id : string
1990
- description ?: unknown
1990
+ readonly image ?: {
1991
+ /**
1992
+ * The MIME type for the uploaded file.
1993
+ */
1994
+ readonly mime_type ?: string
1995
+ /**
1996
+ * The name of the image file that was uploaded.
1997
+ */
1998
+ readonly file_name ?: string
1999
+ /**
2000
+ * The link to the image.
2001
+ */
2002
+ readonly href ?: string
2003
+ }
2004
+ readonly manage_stock ?: boolean
2005
+ unit_price ?: ItemPriceData
2006
+ value ?: ItemPriceData
2007
+ readonly links ?: {
2008
+ [ key : string ] : unknown
2009
+ }
2010
+ readonly meta ?: {
2011
+ display_price ?: {
2012
+ with_tax ?: FormattedPriceData
2013
+ without_tax ?: FormattedPriceData
2014
+ tax ?: FormattedPriceData
2015
+ discount ?: FormattedPriceData
2016
+ without_discount ?: FormattedPriceData
2017
+ }
2018
+ timestamps ?: CartCheckoutTimestamps
2019
+ }
1991
2020
}
1992
2021
1993
2022
export type PromotionItemResponseObject = PromotionItemObjectData & {
Original file line number Diff line number Diff line change @@ -3490,7 +3490,62 @@ components:
3490
3490
description : Specifies the ID of the custom cart item
3491
3491
examples :
3492
3492
- 78d7b5c2-c852-40ad-87bb-beb161f61f37
3493
- description : ' '
3493
+ image :
3494
+ type : object
3495
+ readOnly : true
3496
+ properties :
3497
+ mime_type :
3498
+ description : The MIME type for the uploaded file.
3499
+ type : string
3500
+ readOnly : true
3501
+ examples :
3502
+ - image/png
3503
+ file_name :
3504
+ description : The name of the image file that was uploaded.
3505
+ type : string
3506
+ readOnly : true
3507
+ examples :
3508
+ - shirt-trans.png
3509
+ href :
3510
+ description : The link to the image.
3511
+ type : string
3512
+ readOnly : true
3513
+ examples :
3514
+ - https://files-eu.epusercontent.com/e8c53cb0-120d-4ea5-8941-ce74dec06038/7cc08cbb-256e-4271-9b01-d03a9fac9f0a.png
3515
+ manage_stock :
3516
+ description :
3517
+ type : boolean
3518
+ readOnly : true
3519
+ examples :
3520
+ - true
3521
+ unit_price :
3522
+ readOnly : true
3523
+ $ref : ' #/components/schemas/ItemPriceData'
3524
+ value :
3525
+ readOnly : true
3526
+ $ref : ' #/components/schemas/ItemPriceData'
3527
+ links :
3528
+ type : object
3529
+ readOnly : true
3530
+ meta :
3531
+ type : object
3532
+ readOnly : true
3533
+ properties :
3534
+ display_price :
3535
+ type : object
3536
+ properties :
3537
+ with_tax :
3538
+ $ref : ' #/components/schemas/FormattedPriceData'
3539
+ without_tax :
3540
+ $ref : ' #/components/schemas/FormattedPriceData'
3541
+ tax :
3542
+ $ref : ' #/components/schemas/FormattedPriceData'
3543
+ discount :
3544
+ $ref : ' #/components/schemas/FormattedPriceData'
3545
+ without_discount :
3546
+ $ref : ' #/components/schemas/FormattedPriceData'
3547
+ timestamps :
3548
+ $ref : ' #/components/schemas/Timestamps'
3494
3549
PromotionItemResponseObject :
3495
3550
title : Promotion Item Object
3496
3551
type : object
Original file line number Diff line number Diff line change @@ -15134,7 +15134,63 @@ components:
15134
15134
description: Specifies the ID of the custom cart item
15135
15135
examples:
15136
15136
- 78d7b5c2-c852-40ad-87bb-beb161f61f37
15137
- description: ''
15137
+ image:
15138
+ type: object
15139
+ readOnly: true
15140
+ properties:
15141
+ mime_type:
15142
+ description: The MIME type for the uploaded file.
15143
+ type: string
15144
+ readOnly: true
15145
+ examples:
15146
+ - image/png
15147
+ file_name:
15148
+ description: The name of the image file that was uploaded.
15149
+ type: string
15150
+ readOnly: true
15151
+ examples:
15152
+ - shirt-trans.png
15153
+ href:
15154
+ description: The link to the image.
15155
+ type: string
15156
+ readOnly: true
15157
+ examples:
15158
+ - >-
15159
+ https://files-eu.epusercontent.com/e8c53cb0-120d-4ea5-8941-ce74dec06038/7cc08cbb-256e-4271-9b01-d03a9fac9f0a.png
15160
+ manage_stock:
15161
+ description: null
15162
+ type: boolean
15163
+ readOnly: true
15164
+ examples:
15165
+ - true
15166
+ unit_price:
15167
+ readOnly: true
15168
+ $ref: '#/components/schemas/ItemPriceData'
15169
+ value:
15170
+ readOnly: true
15171
+ $ref: '#/components/schemas/ItemPriceData'
15172
+ links:
15173
+ type: object
15174
+ readOnly: true
15175
+ meta:
15176
+ type: object
15177
+ readOnly: true
15178
+ properties:
15179
+ display_price:
15180
+ type: object
15181
+ properties:
15182
+ with_tax:
15183
+ $ref: '#/components/schemas/FormattedPriceData'
15184
+ without_tax:
15185
+ $ref: '#/components/schemas/FormattedPriceData'
15186
+ tax:
15187
+ $ref: '#/components/schemas/FormattedPriceData'
15188
+ discount:
15189
+ $ref: '#/components/schemas/FormattedPriceData'
15190
+ without_discount:
15191
+ $ref: '#/components/schemas/FormattedPriceData'
15192
+ timestamps:
15193
+ $ref: '#/components/schemas/CartCheckoutTimestamps'
15138
15194
PromotionItemResponseObject:
15139
15195
title: Promotion Item Object
15140
15196
type: object
You can’t perform that action at this time.
0 commit comments