@nextorders/food-schema 0.3.4 → 2.0.0-alpha.2
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/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -21,9 +21,9 @@ declare const DeliveryByCourierSchema: z.ZodObject<{
|
|
|
21
21
|
value: z.ZodString;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
-
custom: "custom";
|
|
25
24
|
cash: "cash";
|
|
26
25
|
card: "card";
|
|
26
|
+
custom: "custom";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>>;
|
|
29
29
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -98,9 +98,9 @@ declare const SelfPickupSchema: z.ZodObject<{
|
|
|
98
98
|
value: z.ZodString;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
type: z.ZodEnum<{
|
|
101
|
-
custom: "custom";
|
|
102
101
|
cash: "cash";
|
|
103
102
|
card: "card";
|
|
103
|
+
custom: "custom";
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,9 +400,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
400
400
|
value: z.ZodString;
|
|
401
401
|
}, z.core.$strip>>;
|
|
402
402
|
type: z.ZodEnum<{
|
|
403
|
-
custom: "custom";
|
|
404
403
|
cash: "cash";
|
|
405
404
|
card: "card";
|
|
405
|
+
custom: "custom";
|
|
406
406
|
}>;
|
|
407
407
|
}, z.core.$strip>>;
|
|
408
408
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -476,9 +476,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
476
476
|
value: z.ZodString;
|
|
477
477
|
}, z.core.$strip>>;
|
|
478
478
|
type: z.ZodEnum<{
|
|
479
|
-
custom: "custom";
|
|
480
479
|
cash: "cash";
|
|
481
480
|
card: "card";
|
|
481
|
+
custom: "custom";
|
|
482
482
|
}>;
|
|
483
483
|
}, z.core.$strip>>;
|
|
484
484
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1497,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1497
1497
|
value: z.ZodString;
|
|
1498
1498
|
}, z.core.$strip>>;
|
|
1499
1499
|
type: z.ZodEnum<{
|
|
1500
|
-
custom: "custom";
|
|
1501
1500
|
cash: "cash";
|
|
1502
1501
|
card: "card";
|
|
1502
|
+
custom: "custom";
|
|
1503
1503
|
}>;
|
|
1504
1504
|
}, z.core.$strip>>;
|
|
1505
1505
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1573,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1573
1573
|
value: z.ZodString;
|
|
1574
1574
|
}, z.core.$strip>>;
|
|
1575
1575
|
type: z.ZodEnum<{
|
|
1576
|
-
custom: "custom";
|
|
1577
1576
|
cash: "cash";
|
|
1578
1577
|
card: "card";
|
|
1578
|
+
custom: "custom";
|
|
1579
1579
|
}>;
|
|
1580
1580
|
}, z.core.$strip>>;
|
|
1581
1581
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3209,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3209
3209
|
value: z.ZodString;
|
|
3210
3210
|
}, z.core.$strip>>;
|
|
3211
3211
|
type: z.ZodEnum<{
|
|
3212
|
-
custom: "custom";
|
|
3213
3212
|
cash: "cash";
|
|
3214
3213
|
card: "card";
|
|
3214
|
+
custom: "custom";
|
|
3215
3215
|
}>;
|
|
3216
3216
|
}, z.core.$strip>>;
|
|
3217
3217
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3285,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3285
3285
|
value: z.ZodString;
|
|
3286
3286
|
}, z.core.$strip>>;
|
|
3287
3287
|
type: z.ZodEnum<{
|
|
3288
|
-
custom: "custom";
|
|
3289
3288
|
cash: "cash";
|
|
3290
3289
|
card: "card";
|
|
3290
|
+
custom: "custom";
|
|
3291
3291
|
}>;
|
|
3292
3292
|
}, z.core.$strip>>;
|
|
3293
3293
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5107,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
|
|
|
5107
5107
|
type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
|
|
5108
5108
|
|
|
5109
5109
|
declare const PaymentMethodTypeSchema: z.ZodEnum<{
|
|
5110
|
-
custom: "custom";
|
|
5111
5110
|
cash: "cash";
|
|
5112
5111
|
card: "card";
|
|
5112
|
+
custom: "custom";
|
|
5113
5113
|
}>;
|
|
5114
5114
|
type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
|
|
5115
5115
|
declare const PaymentMethodSchema: z.ZodObject<{
|
|
@@ -5131,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
|
|
|
5131
5131
|
value: z.ZodString;
|
|
5132
5132
|
}, z.core.$strip>>;
|
|
5133
5133
|
type: z.ZodEnum<{
|
|
5134
|
-
custom: "custom";
|
|
5135
5134
|
cash: "cash";
|
|
5136
5135
|
card: "card";
|
|
5136
|
+
custom: "custom";
|
|
5137
5137
|
}>;
|
|
5138
5138
|
}, z.core.$strip>;
|
|
5139
5139
|
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,9 +21,9 @@ declare const DeliveryByCourierSchema: z.ZodObject<{
|
|
|
21
21
|
value: z.ZodString;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
-
custom: "custom";
|
|
25
24
|
cash: "cash";
|
|
26
25
|
card: "card";
|
|
26
|
+
custom: "custom";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>>;
|
|
29
29
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -98,9 +98,9 @@ declare const SelfPickupSchema: z.ZodObject<{
|
|
|
98
98
|
value: z.ZodString;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
type: z.ZodEnum<{
|
|
101
|
-
custom: "custom";
|
|
102
101
|
cash: "cash";
|
|
103
102
|
card: "card";
|
|
103
|
+
custom: "custom";
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>>;
|
|
106
106
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,9 +400,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
400
400
|
value: z.ZodString;
|
|
401
401
|
}, z.core.$strip>>;
|
|
402
402
|
type: z.ZodEnum<{
|
|
403
|
-
custom: "custom";
|
|
404
403
|
cash: "cash";
|
|
405
404
|
card: "card";
|
|
405
|
+
custom: "custom";
|
|
406
406
|
}>;
|
|
407
407
|
}, z.core.$strip>>;
|
|
408
408
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -476,9 +476,9 @@ declare const ChannelSchema: z.ZodObject<{
|
|
|
476
476
|
value: z.ZodString;
|
|
477
477
|
}, z.core.$strip>>;
|
|
478
478
|
type: z.ZodEnum<{
|
|
479
|
-
custom: "custom";
|
|
480
479
|
cash: "cash";
|
|
481
480
|
card: "card";
|
|
481
|
+
custom: "custom";
|
|
482
482
|
}>;
|
|
483
483
|
}, z.core.$strip>>;
|
|
484
484
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1497,9 +1497,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1497
1497
|
value: z.ZodString;
|
|
1498
1498
|
}, z.core.$strip>>;
|
|
1499
1499
|
type: z.ZodEnum<{
|
|
1500
|
-
custom: "custom";
|
|
1501
1500
|
cash: "cash";
|
|
1502
1501
|
card: "card";
|
|
1502
|
+
custom: "custom";
|
|
1503
1503
|
}>;
|
|
1504
1504
|
}, z.core.$strip>>;
|
|
1505
1505
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1573,9 +1573,9 @@ declare const GatewayGetChannelsResponseSchema: z.ZodObject<{
|
|
|
1573
1573
|
value: z.ZodString;
|
|
1574
1574
|
}, z.core.$strip>>;
|
|
1575
1575
|
type: z.ZodEnum<{
|
|
1576
|
-
custom: "custom";
|
|
1577
1576
|
cash: "cash";
|
|
1578
1577
|
card: "card";
|
|
1578
|
+
custom: "custom";
|
|
1579
1579
|
}>;
|
|
1580
1580
|
}, z.core.$strip>>;
|
|
1581
1581
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3209,9 +3209,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3209
3209
|
value: z.ZodString;
|
|
3210
3210
|
}, z.core.$strip>>;
|
|
3211
3211
|
type: z.ZodEnum<{
|
|
3212
|
-
custom: "custom";
|
|
3213
3212
|
cash: "cash";
|
|
3214
3213
|
card: "card";
|
|
3214
|
+
custom: "custom";
|
|
3215
3215
|
}>;
|
|
3216
3216
|
}, z.core.$strip>>;
|
|
3217
3217
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3285,9 +3285,9 @@ declare const GatewayResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3285
3285
|
value: z.ZodString;
|
|
3286
3286
|
}, z.core.$strip>>;
|
|
3287
3287
|
type: z.ZodEnum<{
|
|
3288
|
-
custom: "custom";
|
|
3289
3288
|
cash: "cash";
|
|
3290
3289
|
card: "card";
|
|
3290
|
+
custom: "custom";
|
|
3291
3291
|
}>;
|
|
3292
3292
|
}, z.core.$strip>>;
|
|
3293
3293
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5107,9 +5107,9 @@ declare const AddressSuggestionSchema: z.ZodObject<{
|
|
|
5107
5107
|
type AddressSuggestion = z.infer<typeof AddressSuggestionSchema>;
|
|
5108
5108
|
|
|
5109
5109
|
declare const PaymentMethodTypeSchema: z.ZodEnum<{
|
|
5110
|
-
custom: "custom";
|
|
5111
5110
|
cash: "cash";
|
|
5112
5111
|
card: "card";
|
|
5112
|
+
custom: "custom";
|
|
5113
5113
|
}>;
|
|
5114
5114
|
type PaymentMethodType = z.infer<typeof PaymentMethodTypeSchema>;
|
|
5115
5115
|
declare const PaymentMethodSchema: z.ZodObject<{
|
|
@@ -5131,9 +5131,9 @@ declare const PaymentMethodSchema: z.ZodObject<{
|
|
|
5131
5131
|
value: z.ZodString;
|
|
5132
5132
|
}, z.core.$strip>>;
|
|
5133
5133
|
type: z.ZodEnum<{
|
|
5134
|
-
custom: "custom";
|
|
5135
5134
|
cash: "cash";
|
|
5136
5135
|
card: "card";
|
|
5136
|
+
custom: "custom";
|
|
5137
5137
|
}>;
|
|
5138
5138
|
}, z.core.$strip>;
|
|
5139
5139
|
type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextorders/food-schema",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "2.0.0-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"description": "All types and schemas for @nextorders/food",
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"homepage": "https://nextorders.
|
|
10
|
+
"homepage": "https://demo.nextorders.space",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/nextorders/food.git",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"zod": "^4.3.
|
|
28
|
+
"zod": "^4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/node": "^25.0
|
|
31
|
+
"@types/node": "^25.5.0",
|
|
32
32
|
"typescript": "^5.9.3",
|
|
33
33
|
"unbuild": "^3.6.1"
|
|
34
34
|
},
|