@natch-the-storage/heathershaw-platform-types 1.19.11 → 1.19.12
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 +2 -0
- package/build/validators.js +7 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const cDProductCategoryLabelValues: readonly ["OTC", "Schedule 2", "Schedule 4", "Schedule 8"];
|
|
2
2
|
export declare const cDProductCategoryIdValues: readonly ["schedule_1", "schedule_2", "schedule_4", "schedule_8"];
|
|
3
|
+
export declare const cloudflareR2FolderValues: readonly ["products", "invoices", "documents", "scripts", "price-matches"];
|
|
3
4
|
export declare const logItemTypeValues: readonly ["CREATED", "CREATED_PAID", "UPDATED", "UPDATED_DRAFT", "MARKED_FOR_PICKUP", "CANCELLED", "PAYMENT_LINK_PHONE", "PAYMENT_LINK_EMAIL", "PAYMENT_LINK_BOTH", "PARTNER_ORDERED_INVOICE", "PARTNER_ORDERED_POS", "PAID", "MARKED_PAID", "PAYMENT_LINK_PAID"];
|
|
4
5
|
export declare const orderFulfillmentValues: readonly ["PICKUP", "POST", "COURIER", "DELIVER"];
|
|
5
6
|
export declare const orderStatusValues: readonly ["TO_REVIEW", "AWAITING_PICKUP", "POSTED", "IN_TRANSIT", "DELIVERED", "COLLECTED", "CANCELLED"];
|
|
@@ -20,6 +21,7 @@ export declare const auStatesValues: readonly ["VIC", "NSW", "QLD", "WA", "SA",
|
|
|
20
21
|
export declare const discountTierValues: readonly [0.9, 0.88, 0.875, 0.85, 0.8, 0.75, 0.7];
|
|
21
22
|
export type CDProductCategoryId = (typeof cDProductCategoryIdValues)[number];
|
|
22
23
|
export type CDProductCategoryLabel = (typeof cDProductCategoryLabelValues)[number];
|
|
24
|
+
export type CloudflareR2Folder = (typeof cloudflareR2FolderValues)[number];
|
|
23
25
|
export type LogItemType = (typeof logItemTypeValues)[number];
|
|
24
26
|
export type OrderFulfillment = (typeof orderFulfillmentValues)[number];
|
|
25
27
|
export type OrderStatus = (typeof orderStatusValues)[number];
|
package/build/validators.js
CHANGED
|
@@ -12,6 +12,13 @@ export const cDProductCategoryIdValues = [
|
|
|
12
12
|
'schedule_4',
|
|
13
13
|
'schedule_8',
|
|
14
14
|
];
|
|
15
|
+
export const cloudflareR2FolderValues = [
|
|
16
|
+
'products',
|
|
17
|
+
'invoices',
|
|
18
|
+
'documents',
|
|
19
|
+
'scripts',
|
|
20
|
+
'price-matches',
|
|
21
|
+
];
|
|
15
22
|
export const logItemTypeValues = [
|
|
16
23
|
'CREATED',
|
|
17
24
|
'CREATED_PAID',
|