@jsdev_ninja/core 0.17.0 → 0.18.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.
@@ -7,6 +7,7 @@ export declare const AddressSchema: z.ZodObject<{
7
7
  floor: z.ZodOptional<z.ZodString>;
8
8
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
9
9
  apartmentNumber: z.ZodOptional<z.ZodString>;
10
+ zip: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  country?: string | undefined;
12
13
  city?: string | undefined;
@@ -15,6 +16,7 @@ export declare const AddressSchema: z.ZodObject<{
15
16
  floor?: string | undefined;
16
17
  apartmentEnterNumber?: string | undefined;
17
18
  apartmentNumber?: string | undefined;
19
+ zip?: string | undefined;
18
20
  }, {
19
21
  country?: string | undefined;
20
22
  city?: string | undefined;
@@ -23,6 +25,7 @@ export declare const AddressSchema: z.ZodObject<{
23
25
  floor?: string | undefined;
24
26
  apartmentEnterNumber?: string | undefined;
25
27
  apartmentNumber?: string | undefined;
28
+ zip?: string | undefined;
26
29
  }>;
27
30
  export type TAddress = z.infer<typeof AddressSchema>;
28
31
  //# sourceMappingURL=Address.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../lib/entities/Address.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../lib/entities/Address.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -7,4 +7,5 @@ export const AddressSchema = z.object({
7
7
  floor: z.string().optional(),
8
8
  apartmentEnterNumber: z.string().optional(),
9
9
  apartmentNumber: z.string().optional(),
10
+ zip: z.string().optional(),
10
11
  });
@@ -1755,6 +1755,7 @@ export declare const OrderSchema: z.ZodObject<{
1755
1755
  floor: z.ZodOptional<z.ZodString>;
1756
1756
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
1757
1757
  apartmentNumber: z.ZodOptional<z.ZodString>;
1758
+ zip: z.ZodOptional<z.ZodString>;
1758
1759
  }, "strip", z.ZodTypeAny, {
1759
1760
  country?: string | undefined;
1760
1761
  city?: string | undefined;
@@ -1763,6 +1764,7 @@ export declare const OrderSchema: z.ZodObject<{
1763
1764
  floor?: string | undefined;
1764
1765
  apartmentEnterNumber?: string | undefined;
1765
1766
  apartmentNumber?: string | undefined;
1767
+ zip?: string | undefined;
1766
1768
  }, {
1767
1769
  country?: string | undefined;
1768
1770
  city?: string | undefined;
@@ -1771,6 +1773,7 @@ export declare const OrderSchema: z.ZodObject<{
1771
1773
  floor?: string | undefined;
1772
1774
  apartmentEnterNumber?: string | undefined;
1773
1775
  apartmentNumber?: string | undefined;
1776
+ zip?: string | undefined;
1774
1777
  }>>;
1775
1778
  isAnonymous: z.ZodBoolean;
1776
1779
  createdDate: z.ZodNumber;
@@ -1800,6 +1803,7 @@ export declare const OrderSchema: z.ZodObject<{
1800
1803
  floor?: string | undefined;
1801
1804
  apartmentEnterNumber?: string | undefined;
1802
1805
  apartmentNumber?: string | undefined;
1806
+ zip?: string | undefined;
1803
1807
  } | undefined;
1804
1808
  paymentType?: "none" | "external" | "j5" | undefined;
1805
1809
  organizationId?: string | null | undefined;
@@ -1826,6 +1830,7 @@ export declare const OrderSchema: z.ZodObject<{
1826
1830
  floor?: string | undefined;
1827
1831
  apartmentEnterNumber?: string | undefined;
1828
1832
  apartmentNumber?: string | undefined;
1833
+ zip?: string | undefined;
1829
1834
  } | undefined;
1830
1835
  paymentType?: "none" | "external" | "j5" | undefined;
1831
1836
  organizationId?: string | null | undefined;
@@ -1839,6 +1844,7 @@ export declare const OrderSchema: z.ZodObject<{
1839
1844
  floor: z.ZodOptional<z.ZodString>;
1840
1845
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
1841
1846
  apartmentNumber: z.ZodOptional<z.ZodString>;
1847
+ zip: z.ZodOptional<z.ZodString>;
1842
1848
  }, "strip", z.ZodTypeAny, {
1843
1849
  country?: string | undefined;
1844
1850
  city?: string | undefined;
@@ -1847,6 +1853,7 @@ export declare const OrderSchema: z.ZodObject<{
1847
1853
  floor?: string | undefined;
1848
1854
  apartmentEnterNumber?: string | undefined;
1849
1855
  apartmentNumber?: string | undefined;
1856
+ zip?: string | undefined;
1850
1857
  }, {
1851
1858
  country?: string | undefined;
1852
1859
  city?: string | undefined;
@@ -1855,6 +1862,7 @@ export declare const OrderSchema: z.ZodObject<{
1855
1862
  floor?: string | undefined;
1856
1863
  apartmentEnterNumber?: string | undefined;
1857
1864
  apartmentNumber?: string | undefined;
1865
+ zip?: string | undefined;
1858
1866
  }>>;
1859
1867
  nameOnInvoice: z.ZodOptional<z.ZodString>;
1860
1868
  emailOnInvoice: z.ZodOptional<z.ZodString>;
@@ -2632,6 +2640,7 @@ export declare const OrderSchema: z.ZodObject<{
2632
2640
  floor?: string | undefined;
2633
2641
  apartmentEnterNumber?: string | undefined;
2634
2642
  apartmentNumber?: string | undefined;
2643
+ zip?: string | undefined;
2635
2644
  } | undefined;
2636
2645
  paymentType?: "none" | "external" | "j5" | undefined;
2637
2646
  organizationId?: string | undefined;
@@ -2667,6 +2676,7 @@ export declare const OrderSchema: z.ZodObject<{
2667
2676
  floor?: string | undefined;
2668
2677
  apartmentEnterNumber?: string | undefined;
2669
2678
  apartmentNumber?: string | undefined;
2679
+ zip?: string | undefined;
2670
2680
  } | undefined;
2671
2681
  paymentType?: "none" | "external" | "j5" | undefined;
2672
2682
  organizationId?: string | null | undefined;
@@ -3038,6 +3048,7 @@ export declare const OrderSchema: z.ZodObject<{
3038
3048
  floor?: string | undefined;
3039
3049
  apartmentEnterNumber?: string | undefined;
3040
3050
  apartmentNumber?: string | undefined;
3051
+ zip?: string | undefined;
3041
3052
  } | undefined;
3042
3053
  paymentType?: "none" | "external" | "j5" | undefined;
3043
3054
  organizationId?: string | undefined;
@@ -3073,6 +3084,7 @@ export declare const OrderSchema: z.ZodObject<{
3073
3084
  floor?: string | undefined;
3074
3085
  apartmentEnterNumber?: string | undefined;
3075
3086
  apartmentNumber?: string | undefined;
3087
+ zip?: string | undefined;
3076
3088
  } | undefined;
3077
3089
  paymentType?: "none" | "external" | "j5" | undefined;
3078
3090
  organizationId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../lib/entities/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKF,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -40,6 +40,7 @@ export declare const OrganizationSchema: z.ZodObject<{
40
40
  floor: z.ZodOptional<z.ZodString>;
41
41
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
42
42
  apartmentNumber: z.ZodOptional<z.ZodString>;
43
+ zip: z.ZodOptional<z.ZodString>;
43
44
  }, "strip", z.ZodTypeAny, {
44
45
  country?: string | undefined;
45
46
  city?: string | undefined;
@@ -48,6 +49,7 @@ export declare const OrganizationSchema: z.ZodObject<{
48
49
  floor?: string | undefined;
49
50
  apartmentEnterNumber?: string | undefined;
50
51
  apartmentNumber?: string | undefined;
52
+ zip?: string | undefined;
51
53
  }, {
52
54
  country?: string | undefined;
53
55
  city?: string | undefined;
@@ -56,8 +58,13 @@ export declare const OrganizationSchema: z.ZodObject<{
56
58
  floor?: string | undefined;
57
59
  apartmentEnterNumber?: string | undefined;
58
60
  apartmentNumber?: string | undefined;
61
+ zip?: string | undefined;
59
62
  }>>;
60
63
  groupId: z.ZodOptional<z.ZodString>;
64
+ phone: z.ZodOptional<z.ZodString>;
65
+ email: z.ZodOptional<z.ZodString>;
66
+ notes: z.ZodOptional<z.ZodString>;
67
+ freeShipping: z.ZodOptional<z.ZodBoolean>;
61
68
  }, "strip", z.ZodTypeAny, {
62
69
  id: string;
63
70
  name: string;
@@ -67,6 +74,7 @@ export declare const OrganizationSchema: z.ZodObject<{
67
74
  id: string;
68
75
  name: string;
69
76
  }[];
77
+ email?: string | undefined;
70
78
  address?: {
71
79
  country?: string | undefined;
72
80
  city?: string | undefined;
@@ -75,11 +83,15 @@ export declare const OrganizationSchema: z.ZodObject<{
75
83
  floor?: string | undefined;
76
84
  apartmentEnterNumber?: string | undefined;
77
85
  apartmentNumber?: string | undefined;
86
+ zip?: string | undefined;
78
87
  } | undefined;
88
+ phone?: string | undefined;
79
89
  discountPercentage?: number | undefined;
80
90
  nameOnInvoice?: string | undefined;
81
91
  companyNumber?: string | undefined;
82
92
  groupId?: string | undefined;
93
+ notes?: string | undefined;
94
+ freeShipping?: boolean | undefined;
83
95
  }, {
84
96
  id: string;
85
97
  name: string;
@@ -89,6 +101,7 @@ export declare const OrganizationSchema: z.ZodObject<{
89
101
  id: string;
90
102
  name: string;
91
103
  }[];
104
+ email?: string | undefined;
92
105
  address?: {
93
106
  country?: string | undefined;
94
107
  city?: string | undefined;
@@ -97,11 +110,15 @@ export declare const OrganizationSchema: z.ZodObject<{
97
110
  floor?: string | undefined;
98
111
  apartmentEnterNumber?: string | undefined;
99
112
  apartmentNumber?: string | undefined;
113
+ zip?: string | undefined;
100
114
  } | undefined;
115
+ phone?: string | undefined;
101
116
  discountPercentage?: number | undefined;
102
117
  nameOnInvoice?: string | undefined;
103
118
  companyNumber?: string | undefined;
104
119
  groupId?: string | undefined;
120
+ notes?: string | undefined;
121
+ freeShipping?: boolean | undefined;
105
122
  }>;
106
123
  export declare const NewOrganizationSchema: z.ZodObject<Omit<{
107
124
  id: z.ZodString;
@@ -131,6 +148,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
131
148
  floor: z.ZodOptional<z.ZodString>;
132
149
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
133
150
  apartmentNumber: z.ZodOptional<z.ZodString>;
151
+ zip: z.ZodOptional<z.ZodString>;
134
152
  }, "strip", z.ZodTypeAny, {
135
153
  country?: string | undefined;
136
154
  city?: string | undefined;
@@ -139,6 +157,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
139
157
  floor?: string | undefined;
140
158
  apartmentEnterNumber?: string | undefined;
141
159
  apartmentNumber?: string | undefined;
160
+ zip?: string | undefined;
142
161
  }, {
143
162
  country?: string | undefined;
144
163
  city?: string | undefined;
@@ -147,8 +166,13 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
147
166
  floor?: string | undefined;
148
167
  apartmentEnterNumber?: string | undefined;
149
168
  apartmentNumber?: string | undefined;
169
+ zip?: string | undefined;
150
170
  }>>;
151
171
  groupId: z.ZodOptional<z.ZodString>;
172
+ phone: z.ZodOptional<z.ZodString>;
173
+ email: z.ZodOptional<z.ZodString>;
174
+ notes: z.ZodOptional<z.ZodString>;
175
+ freeShipping: z.ZodOptional<z.ZodBoolean>;
152
176
  }, "id">, "strip", z.ZodTypeAny, {
153
177
  name: string;
154
178
  paymentType: "none" | "external" | "j5";
@@ -157,6 +181,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
157
181
  id: string;
158
182
  name: string;
159
183
  }[];
184
+ email?: string | undefined;
160
185
  address?: {
161
186
  country?: string | undefined;
162
187
  city?: string | undefined;
@@ -165,11 +190,15 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
165
190
  floor?: string | undefined;
166
191
  apartmentEnterNumber?: string | undefined;
167
192
  apartmentNumber?: string | undefined;
193
+ zip?: string | undefined;
168
194
  } | undefined;
195
+ phone?: string | undefined;
169
196
  discountPercentage?: number | undefined;
170
197
  nameOnInvoice?: string | undefined;
171
198
  companyNumber?: string | undefined;
172
199
  groupId?: string | undefined;
200
+ notes?: string | undefined;
201
+ freeShipping?: boolean | undefined;
173
202
  }, {
174
203
  name: string;
175
204
  paymentType: "none" | "external" | "j5";
@@ -178,6 +207,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
178
207
  id: string;
179
208
  name: string;
180
209
  }[];
210
+ email?: string | undefined;
181
211
  address?: {
182
212
  country?: string | undefined;
183
213
  city?: string | undefined;
@@ -186,11 +216,15 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
186
216
  floor?: string | undefined;
187
217
  apartmentEnterNumber?: string | undefined;
188
218
  apartmentNumber?: string | undefined;
219
+ zip?: string | undefined;
189
220
  } | undefined;
221
+ phone?: string | undefined;
190
222
  discountPercentage?: number | undefined;
191
223
  nameOnInvoice?: string | undefined;
192
224
  companyNumber?: string | undefined;
193
225
  groupId?: string | undefined;
226
+ notes?: string | undefined;
227
+ freeShipping?: boolean | undefined;
194
228
  }>;
195
229
  export type TBillingAccount = z.infer<typeof BillingAccountSchema>;
196
230
  export type TNewOrganization = z.infer<typeof NewOrganizationSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"Organization.d.ts","sourceRoot":"","sources":["../../../lib/entities/Organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwC,CAAC;AAE3E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"Organization.d.ts","sourceRoot":"","sources":["../../../lib/entities/Organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe7B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwC,CAAC;AAE3E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -17,5 +17,10 @@ export const OrganizationSchema = z.object({
17
17
  companyNumber: z.string().optional(),
18
18
  address: AddressSchema.optional(),
19
19
  groupId: z.string().optional(),
20
+ // Contact / billing details (admin-managed, optional — see company-edit-like-demo plan)
21
+ phone: z.string().optional(),
22
+ email: z.string().optional(),
23
+ notes: z.string().optional(),
24
+ freeShipping: z.boolean().optional(),
20
25
  });
21
26
  export const NewOrganizationSchema = OrganizationSchema.omit({ id: true });
@@ -18,6 +18,7 @@ export declare const ProfileSchema: z.ZodObject<{
18
18
  floor: z.ZodOptional<z.ZodString>;
19
19
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
20
20
  apartmentNumber: z.ZodOptional<z.ZodString>;
21
+ zip: z.ZodOptional<z.ZodString>;
21
22
  }, "strip", z.ZodTypeAny, {
22
23
  country?: string | undefined;
23
24
  city?: string | undefined;
@@ -26,6 +27,7 @@ export declare const ProfileSchema: z.ZodObject<{
26
27
  floor?: string | undefined;
27
28
  apartmentEnterNumber?: string | undefined;
28
29
  apartmentNumber?: string | undefined;
30
+ zip?: string | undefined;
29
31
  }, {
30
32
  country?: string | undefined;
31
33
  city?: string | undefined;
@@ -34,6 +36,7 @@ export declare const ProfileSchema: z.ZodObject<{
34
36
  floor?: string | undefined;
35
37
  apartmentEnterNumber?: string | undefined;
36
38
  apartmentNumber?: string | undefined;
39
+ zip?: string | undefined;
37
40
  }>>;
38
41
  isAnonymous: z.ZodBoolean;
39
42
  createdDate: z.ZodNumber;
@@ -65,6 +68,7 @@ export declare const ProfileSchema: z.ZodObject<{
65
68
  floor?: string | undefined;
66
69
  apartmentEnterNumber?: string | undefined;
67
70
  apartmentNumber?: string | undefined;
71
+ zip?: string | undefined;
68
72
  } | undefined;
69
73
  paymentType?: "none" | "external" | "j5" | undefined;
70
74
  organizationId?: string | null | undefined;
@@ -91,6 +95,7 @@ export declare const ProfileSchema: z.ZodObject<{
91
95
  floor?: string | undefined;
92
96
  apartmentEnterNumber?: string | undefined;
93
97
  apartmentNumber?: string | undefined;
98
+ zip?: string | undefined;
94
99
  } | undefined;
95
100
  paymentType?: "none" | "external" | "j5" | undefined;
96
101
  organizationId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../lib/entities/Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBzB,8CAA8C;;IAE9C,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpD,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../lib/entities/Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBzB,8CAA8C;;IAE9C,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpD,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -22,6 +22,7 @@ export declare const StoreSchema: z.ZodObject<{
22
22
  floor: z.ZodOptional<z.ZodString>;
23
23
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
24
24
  apartmentNumber: z.ZodOptional<z.ZodString>;
25
+ zip: z.ZodOptional<z.ZodString>;
25
26
  }, "strip", z.ZodTypeAny, {
26
27
  country?: string | undefined;
27
28
  city?: string | undefined;
@@ -30,6 +31,7 @@ export declare const StoreSchema: z.ZodObject<{
30
31
  floor?: string | undefined;
31
32
  apartmentEnterNumber?: string | undefined;
32
33
  apartmentNumber?: string | undefined;
34
+ zip?: string | undefined;
33
35
  }, {
34
36
  country?: string | undefined;
35
37
  city?: string | undefined;
@@ -38,6 +40,7 @@ export declare const StoreSchema: z.ZodObject<{
38
40
  floor?: string | undefined;
39
41
  apartmentEnterNumber?: string | undefined;
40
42
  apartmentNumber?: string | undefined;
43
+ zip?: string | undefined;
41
44
  }>>;
42
45
  companyNumber: z.ZodOptional<z.ZodString>;
43
46
  }, "strip", z.ZodTypeAny, {
@@ -59,6 +62,7 @@ export declare const StoreSchema: z.ZodObject<{
59
62
  floor?: string | undefined;
60
63
  apartmentEnterNumber?: string | undefined;
61
64
  apartmentNumber?: string | undefined;
65
+ zip?: string | undefined;
62
66
  } | undefined;
63
67
  companyNumber?: string | undefined;
64
68
  deliveryPrice?: number | undefined;
@@ -83,6 +87,7 @@ export declare const StoreSchema: z.ZodObject<{
83
87
  floor?: string | undefined;
84
88
  apartmentEnterNumber?: string | undefined;
85
89
  apartmentNumber?: string | undefined;
90
+ zip?: string | undefined;
86
91
  } | undefined;
87
92
  companyNumber?: string | undefined;
88
93
  deliveryPrice?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../lib/entities/Store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB,sCAAoC,CAAC;AAEnE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../lib/entities/Store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB,sCAAoC,CAAC;AAEnE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}