order3000 1.13.0 → 2.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "order3000",
3
- "version": "1.13.0",
3
+ "version": "2.0.0",
4
4
  "description": "order3000 node.js sdk",
5
5
  "main": "./dist/client.cjs",
6
6
  "module": "./dist/client.mjs",
@@ -67,7 +67,7 @@
67
67
  "prettier": "^3.7.4",
68
68
  "tsx": "^4.19.2",
69
69
  "typescript": "^5.9.3",
70
- "@kolaveri/eslint-config": "1.12.0",
70
+ "@kolaveri/eslint-config": "1.15.0",
71
71
  "@kolaveri/prettier-config": "1.0.6",
72
72
  "@kolaveri/tsconfig": "1.0.1"
73
73
  },
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- var v4 = require('zod/v4');
4
-
5
- const fulfillmentTypeSchema = v4.z.enum(["pickup", "delivery"]);
6
-
7
- const participantStatusSchema = v4.z.enum([
8
- "browsing",
9
- "authorized",
10
- "cash_pending",
11
- "placed",
12
- "completed",
13
- "cancelled"
14
- ]);
15
-
16
- const paymentMethodSchema = v4.z.enum(["card", "cash", "voucher"]);
17
-
18
- const teamOrderStatusSchema = v4.z.enum([
19
- "draft",
20
- "collecting",
21
- "locked",
22
- "placed",
23
- "ready",
24
- "completed",
25
- "cancelled"
26
- ]);
27
-
28
- const deliveryAddressSchema = v4.z.object({
29
- street: v4.z.string(),
30
- city: v4.z.string(),
31
- state: v4.z.string(),
32
- postalCode: v4.z.string(),
33
- country: v4.z.string()
34
- });
35
-
36
- exports.deliveryAddressSchema = deliveryAddressSchema;
37
- exports.fulfillmentTypeSchema = fulfillmentTypeSchema;
38
- exports.participantStatusSchema = participantStatusSchema;
39
- exports.paymentMethodSchema = paymentMethodSchema;
40
- exports.teamOrderStatusSchema = teamOrderStatusSchema;
@@ -1,34 +0,0 @@
1
- import { z } from 'zod/v4';
2
-
3
- const fulfillmentTypeSchema = z.enum(["pickup", "delivery"]);
4
-
5
- const participantStatusSchema = z.enum([
6
- "browsing",
7
- "authorized",
8
- "cash_pending",
9
- "placed",
10
- "completed",
11
- "cancelled"
12
- ]);
13
-
14
- const paymentMethodSchema = z.enum(["card", "cash", "voucher"]);
15
-
16
- const teamOrderStatusSchema = z.enum([
17
- "draft",
18
- "collecting",
19
- "locked",
20
- "placed",
21
- "ready",
22
- "completed",
23
- "cancelled"
24
- ]);
25
-
26
- const deliveryAddressSchema = z.object({
27
- street: z.string(),
28
- city: z.string(),
29
- state: z.string(),
30
- postalCode: z.string(),
31
- country: z.string()
32
- });
33
-
34
- export { paymentMethodSchema as a, deliveryAddressSchema as d, fulfillmentTypeSchema as f, participantStatusSchema as p, teamOrderStatusSchema as t };