@shopify/ui-extensions 2025.10.0-rc.36 → 2025.10.0-rc.37
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/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +2 -17
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/point-of-sale/api.ts +0 -1
- package/src/surfaces/point-of-sale/types/cart.ts +2 -18
package/package.json
CHANGED
|
@@ -77,20 +77,13 @@ export interface SellingPlan {
|
|
|
77
77
|
/**
|
|
78
78
|
* The interval of the selling plan. (DAY, WEEK, MONTH, YEAR).
|
|
79
79
|
*/
|
|
80
|
-
deliveryInterval?:
|
|
80
|
+
deliveryInterval?: string;
|
|
81
81
|
/**
|
|
82
82
|
* The number of intervals between deliveries.
|
|
83
83
|
*/
|
|
84
84
|
deliveryIntervalCount?: number;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export enum SellingPlanDeliveryInterval {
|
|
88
|
-
Day = 'DAY',
|
|
89
|
-
Week = 'WEEK',
|
|
90
|
-
Month = 'MONTH',
|
|
91
|
-
Year = 'YEAR',
|
|
92
|
-
}
|
|
93
|
-
|
|
94
87
|
export interface Discount {
|
|
95
88
|
amount: number;
|
|
96
89
|
currency?: string;
|
|
@@ -175,16 +168,7 @@ export interface SetLineItemSellingPlanInput {
|
|
|
175
168
|
sellingPlanId: number;
|
|
176
169
|
/**
|
|
177
170
|
* The name of the selling plan to apply to the line item.
|
|
178
|
-
*/
|
|
179
|
-
sellingPlanName: string;
|
|
180
|
-
/**
|
|
181
|
-
* The interval of the selling plan. (DAY, WEEK, MONTH, YEAR).
|
|
182
|
-
* If not provided, POS will try to fetch it from the server after syncing the cart.
|
|
183
|
-
*/
|
|
184
|
-
sellingPlanDeliveryInterval?: SellingPlanDeliveryInterval;
|
|
185
|
-
/**
|
|
186
|
-
* The number of intervals between deliveries.
|
|
187
171
|
* If not provided, POS will try to fetch it from the server after syncing the cart.
|
|
188
172
|
*/
|
|
189
|
-
|
|
173
|
+
sellingPlanName?: string;
|
|
190
174
|
}
|