@natch-the-storage/heathershaw-platform-types 1.16.2 → 1.16.3
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/validators.d.ts +3 -4
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -214,13 +214,12 @@ export interface Order {
|
|
|
214
214
|
draft: boolean;
|
|
215
215
|
reasonMarkedPaid?: string;
|
|
216
216
|
paymentLinkToken?: string;
|
|
217
|
+
log: LogItem[];
|
|
217
218
|
}
|
|
218
|
-
export type OrderCreate = Omit<Order, 'id' | 'status' | 'created' | 'draft' | 'paymentLinkToken'> & {
|
|
219
|
+
export type OrderCreate = Omit<Order, 'id' | 'status' | 'created' | 'draft' | 'paymentLinkToken' | 'log'> & {
|
|
219
220
|
draft?: boolean;
|
|
220
221
|
};
|
|
221
|
-
export type OrderUpdate = Partial<Order> &
|
|
222
|
-
id: number;
|
|
223
|
-
};
|
|
222
|
+
export type OrderUpdate = Partial<Order> & Pick<Order, 'id'>;
|
|
224
223
|
export interface OrderAddress {
|
|
225
224
|
fulfillment: OrderFulfillment;
|
|
226
225
|
name: string;
|