@jsdev_ninja/core 0.17.0 → 0.19.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>;
@@ -1885,14 +1893,29 @@ export declare const OrderSchema: z.ZodObject<{
1885
1893
  number: z.ZodString;
1886
1894
  name: z.ZodString;
1887
1895
  id: z.ZodString;
1896
+ payTerms: z.ZodOptional<z.ZodEnum<["credit", "net15", "net30", "net60", "net90"]>>;
1897
+ creditLimit: z.ZodOptional<z.ZodNumber>;
1898
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
1899
+ restricted: z.ZodOptional<z.ZodBoolean>;
1900
+ allowedCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1888
1901
  }, "strip", z.ZodTypeAny, {
1889
1902
  number: string;
1890
1903
  id: string;
1891
1904
  name: string;
1905
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
1906
+ creditLimit?: number | undefined;
1907
+ isPrimary?: boolean | undefined;
1908
+ restricted?: boolean | undefined;
1909
+ allowedCategories?: string[] | undefined;
1892
1910
  }, {
1893
1911
  number: string;
1894
1912
  id: string;
1895
1913
  name: string;
1914
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
1915
+ creditLimit?: number | undefined;
1916
+ isPrimary?: boolean | undefined;
1917
+ restricted?: boolean | undefined;
1918
+ allowedCategories?: string[] | undefined;
1896
1919
  }>>;
1897
1920
  deliveryNote: z.ZodOptional<z.ZodObject<{
1898
1921
  id: z.ZodString;
@@ -2632,6 +2655,7 @@ export declare const OrderSchema: z.ZodObject<{
2632
2655
  floor?: string | undefined;
2633
2656
  apartmentEnterNumber?: string | undefined;
2634
2657
  apartmentNumber?: string | undefined;
2658
+ zip?: string | undefined;
2635
2659
  } | undefined;
2636
2660
  paymentType?: "none" | "external" | "j5" | undefined;
2637
2661
  organizationId?: string | undefined;
@@ -2667,6 +2691,7 @@ export declare const OrderSchema: z.ZodObject<{
2667
2691
  floor?: string | undefined;
2668
2692
  apartmentEnterNumber?: string | undefined;
2669
2693
  apartmentNumber?: string | undefined;
2694
+ zip?: string | undefined;
2670
2695
  } | undefined;
2671
2696
  paymentType?: "none" | "external" | "j5" | undefined;
2672
2697
  organizationId?: string | null | undefined;
@@ -2687,6 +2712,11 @@ export declare const OrderSchema: z.ZodObject<{
2687
2712
  number: string;
2688
2713
  id: string;
2689
2714
  name: string;
2715
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
2716
+ creditLimit?: number | undefined;
2717
+ isPrimary?: boolean | undefined;
2718
+ restricted?: boolean | undefined;
2719
+ allowedCategories?: string[] | undefined;
2690
2720
  } | undefined;
2691
2721
  deliveryNote?: {
2692
2722
  number: string;
@@ -3038,6 +3068,7 @@ export declare const OrderSchema: z.ZodObject<{
3038
3068
  floor?: string | undefined;
3039
3069
  apartmentEnterNumber?: string | undefined;
3040
3070
  apartmentNumber?: string | undefined;
3071
+ zip?: string | undefined;
3041
3072
  } | undefined;
3042
3073
  paymentType?: "none" | "external" | "j5" | undefined;
3043
3074
  organizationId?: string | undefined;
@@ -3073,6 +3104,7 @@ export declare const OrderSchema: z.ZodObject<{
3073
3104
  floor?: string | undefined;
3074
3105
  apartmentEnterNumber?: string | undefined;
3075
3106
  apartmentNumber?: string | undefined;
3107
+ zip?: string | undefined;
3076
3108
  } | undefined;
3077
3109
  paymentType?: "none" | "external" | "j5" | undefined;
3078
3110
  organizationId?: string | null | undefined;
@@ -3093,6 +3125,11 @@ export declare const OrderSchema: z.ZodObject<{
3093
3125
  number: string;
3094
3126
  id: string;
3095
3127
  name: string;
3128
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
3129
+ creditLimit?: number | undefined;
3130
+ isPrimary?: boolean | undefined;
3131
+ restricted?: boolean | undefined;
3132
+ allowedCategories?: string[] | undefined;
3096
3133
  } | undefined;
3097
3134
  deliveryNote?: {
3098
3135
  number: string;
@@ -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"}
@@ -1,16 +1,33 @@
1
1
  import { z } from "zod";
2
+ export declare const PaymentTermsSchema: z.ZodEnum<["credit", "net15", "net30", "net60", "net90"]>;
3
+ export type TPaymentTerms = z.infer<typeof PaymentTermsSchema>;
2
4
  export declare const BillingAccountSchema: z.ZodObject<{
3
5
  number: z.ZodString;
4
6
  name: z.ZodString;
5
7
  id: z.ZodString;
8
+ payTerms: z.ZodOptional<z.ZodEnum<["credit", "net15", "net30", "net60", "net90"]>>;
9
+ creditLimit: z.ZodOptional<z.ZodNumber>;
10
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
11
+ restricted: z.ZodOptional<z.ZodBoolean>;
12
+ allowedCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
13
  }, "strip", z.ZodTypeAny, {
7
14
  number: string;
8
15
  id: string;
9
16
  name: string;
17
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
18
+ creditLimit?: number | undefined;
19
+ isPrimary?: boolean | undefined;
20
+ restricted?: boolean | undefined;
21
+ allowedCategories?: string[] | undefined;
10
22
  }, {
11
23
  number: string;
12
24
  id: string;
13
25
  name: string;
26
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
27
+ creditLimit?: number | undefined;
28
+ isPrimary?: boolean | undefined;
29
+ restricted?: boolean | undefined;
30
+ allowedCategories?: string[] | undefined;
14
31
  }>;
15
32
  export declare const OrganizationSchema: z.ZodObject<{
16
33
  id: z.ZodString;
@@ -21,14 +38,29 @@ export declare const OrganizationSchema: z.ZodObject<{
21
38
  number: z.ZodString;
22
39
  name: z.ZodString;
23
40
  id: z.ZodString;
41
+ payTerms: z.ZodOptional<z.ZodEnum<["credit", "net15", "net30", "net60", "net90"]>>;
42
+ creditLimit: z.ZodOptional<z.ZodNumber>;
43
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
44
+ restricted: z.ZodOptional<z.ZodBoolean>;
45
+ allowedCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
46
  }, "strip", z.ZodTypeAny, {
25
47
  number: string;
26
48
  id: string;
27
49
  name: string;
50
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
51
+ creditLimit?: number | undefined;
52
+ isPrimary?: boolean | undefined;
53
+ restricted?: boolean | undefined;
54
+ allowedCategories?: string[] | undefined;
28
55
  }, {
29
56
  number: string;
30
57
  id: string;
31
58
  name: string;
59
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
60
+ creditLimit?: number | undefined;
61
+ isPrimary?: boolean | undefined;
62
+ restricted?: boolean | undefined;
63
+ allowedCategories?: string[] | undefined;
32
64
  }>, "many">;
33
65
  paymentType: z.ZodEnum<["external", "j5", "none"]>;
34
66
  companyNumber: z.ZodOptional<z.ZodString>;
@@ -40,6 +72,7 @@ export declare const OrganizationSchema: z.ZodObject<{
40
72
  floor: z.ZodOptional<z.ZodString>;
41
73
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
42
74
  apartmentNumber: z.ZodOptional<z.ZodString>;
75
+ zip: z.ZodOptional<z.ZodString>;
43
76
  }, "strip", z.ZodTypeAny, {
44
77
  country?: string | undefined;
45
78
  city?: string | undefined;
@@ -48,6 +81,7 @@ export declare const OrganizationSchema: z.ZodObject<{
48
81
  floor?: string | undefined;
49
82
  apartmentEnterNumber?: string | undefined;
50
83
  apartmentNumber?: string | undefined;
84
+ zip?: string | undefined;
51
85
  }, {
52
86
  country?: string | undefined;
53
87
  city?: string | undefined;
@@ -56,8 +90,13 @@ export declare const OrganizationSchema: z.ZodObject<{
56
90
  floor?: string | undefined;
57
91
  apartmentEnterNumber?: string | undefined;
58
92
  apartmentNumber?: string | undefined;
93
+ zip?: string | undefined;
59
94
  }>>;
60
95
  groupId: z.ZodOptional<z.ZodString>;
96
+ phone: z.ZodOptional<z.ZodString>;
97
+ email: z.ZodOptional<z.ZodString>;
98
+ notes: z.ZodOptional<z.ZodString>;
99
+ freeShipping: z.ZodOptional<z.ZodBoolean>;
61
100
  }, "strip", z.ZodTypeAny, {
62
101
  id: string;
63
102
  name: string;
@@ -66,7 +105,13 @@ export declare const OrganizationSchema: z.ZodObject<{
66
105
  number: string;
67
106
  id: string;
68
107
  name: string;
108
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
109
+ creditLimit?: number | undefined;
110
+ isPrimary?: boolean | undefined;
111
+ restricted?: boolean | undefined;
112
+ allowedCategories?: string[] | undefined;
69
113
  }[];
114
+ email?: string | undefined;
70
115
  address?: {
71
116
  country?: string | undefined;
72
117
  city?: string | undefined;
@@ -75,11 +120,15 @@ export declare const OrganizationSchema: z.ZodObject<{
75
120
  floor?: string | undefined;
76
121
  apartmentEnterNumber?: string | undefined;
77
122
  apartmentNumber?: string | undefined;
123
+ zip?: string | undefined;
78
124
  } | undefined;
125
+ phone?: string | undefined;
79
126
  discountPercentage?: number | undefined;
80
127
  nameOnInvoice?: string | undefined;
81
128
  companyNumber?: string | undefined;
82
129
  groupId?: string | undefined;
130
+ notes?: string | undefined;
131
+ freeShipping?: boolean | undefined;
83
132
  }, {
84
133
  id: string;
85
134
  name: string;
@@ -88,7 +137,13 @@ export declare const OrganizationSchema: z.ZodObject<{
88
137
  number: string;
89
138
  id: string;
90
139
  name: string;
140
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
141
+ creditLimit?: number | undefined;
142
+ isPrimary?: boolean | undefined;
143
+ restricted?: boolean | undefined;
144
+ allowedCategories?: string[] | undefined;
91
145
  }[];
146
+ email?: string | undefined;
92
147
  address?: {
93
148
  country?: string | undefined;
94
149
  city?: string | undefined;
@@ -97,11 +152,15 @@ export declare const OrganizationSchema: z.ZodObject<{
97
152
  floor?: string | undefined;
98
153
  apartmentEnterNumber?: string | undefined;
99
154
  apartmentNumber?: string | undefined;
155
+ zip?: string | undefined;
100
156
  } | undefined;
157
+ phone?: string | undefined;
101
158
  discountPercentage?: number | undefined;
102
159
  nameOnInvoice?: string | undefined;
103
160
  companyNumber?: string | undefined;
104
161
  groupId?: string | undefined;
162
+ notes?: string | undefined;
163
+ freeShipping?: boolean | undefined;
105
164
  }>;
106
165
  export declare const NewOrganizationSchema: z.ZodObject<Omit<{
107
166
  id: z.ZodString;
@@ -112,14 +171,29 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
112
171
  number: z.ZodString;
113
172
  name: z.ZodString;
114
173
  id: z.ZodString;
174
+ payTerms: z.ZodOptional<z.ZodEnum<["credit", "net15", "net30", "net60", "net90"]>>;
175
+ creditLimit: z.ZodOptional<z.ZodNumber>;
176
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
177
+ restricted: z.ZodOptional<z.ZodBoolean>;
178
+ allowedCategories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
115
179
  }, "strip", z.ZodTypeAny, {
116
180
  number: string;
117
181
  id: string;
118
182
  name: string;
183
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
184
+ creditLimit?: number | undefined;
185
+ isPrimary?: boolean | undefined;
186
+ restricted?: boolean | undefined;
187
+ allowedCategories?: string[] | undefined;
119
188
  }, {
120
189
  number: string;
121
190
  id: string;
122
191
  name: string;
192
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
193
+ creditLimit?: number | undefined;
194
+ isPrimary?: boolean | undefined;
195
+ restricted?: boolean | undefined;
196
+ allowedCategories?: string[] | undefined;
123
197
  }>, "many">;
124
198
  paymentType: z.ZodEnum<["external", "j5", "none"]>;
125
199
  companyNumber: z.ZodOptional<z.ZodString>;
@@ -131,6 +205,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
131
205
  floor: z.ZodOptional<z.ZodString>;
132
206
  apartmentEnterNumber: z.ZodOptional<z.ZodString>;
133
207
  apartmentNumber: z.ZodOptional<z.ZodString>;
208
+ zip: z.ZodOptional<z.ZodString>;
134
209
  }, "strip", z.ZodTypeAny, {
135
210
  country?: string | undefined;
136
211
  city?: string | undefined;
@@ -139,6 +214,7 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
139
214
  floor?: string | undefined;
140
215
  apartmentEnterNumber?: string | undefined;
141
216
  apartmentNumber?: string | undefined;
217
+ zip?: string | undefined;
142
218
  }, {
143
219
  country?: string | undefined;
144
220
  city?: string | undefined;
@@ -147,8 +223,13 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
147
223
  floor?: string | undefined;
148
224
  apartmentEnterNumber?: string | undefined;
149
225
  apartmentNumber?: string | undefined;
226
+ zip?: string | undefined;
150
227
  }>>;
151
228
  groupId: z.ZodOptional<z.ZodString>;
229
+ phone: z.ZodOptional<z.ZodString>;
230
+ email: z.ZodOptional<z.ZodString>;
231
+ notes: z.ZodOptional<z.ZodString>;
232
+ freeShipping: z.ZodOptional<z.ZodBoolean>;
152
233
  }, "id">, "strip", z.ZodTypeAny, {
153
234
  name: string;
154
235
  paymentType: "none" | "external" | "j5";
@@ -156,7 +237,13 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
156
237
  number: string;
157
238
  id: string;
158
239
  name: string;
240
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
241
+ creditLimit?: number | undefined;
242
+ isPrimary?: boolean | undefined;
243
+ restricted?: boolean | undefined;
244
+ allowedCategories?: string[] | undefined;
159
245
  }[];
246
+ email?: string | undefined;
160
247
  address?: {
161
248
  country?: string | undefined;
162
249
  city?: string | undefined;
@@ -165,11 +252,15 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
165
252
  floor?: string | undefined;
166
253
  apartmentEnterNumber?: string | undefined;
167
254
  apartmentNumber?: string | undefined;
255
+ zip?: string | undefined;
168
256
  } | undefined;
257
+ phone?: string | undefined;
169
258
  discountPercentage?: number | undefined;
170
259
  nameOnInvoice?: string | undefined;
171
260
  companyNumber?: string | undefined;
172
261
  groupId?: string | undefined;
262
+ notes?: string | undefined;
263
+ freeShipping?: boolean | undefined;
173
264
  }, {
174
265
  name: string;
175
266
  paymentType: "none" | "external" | "j5";
@@ -177,7 +268,13 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
177
268
  number: string;
178
269
  id: string;
179
270
  name: string;
271
+ payTerms?: "credit" | "net15" | "net30" | "net60" | "net90" | undefined;
272
+ creditLimit?: number | undefined;
273
+ isPrimary?: boolean | undefined;
274
+ restricted?: boolean | undefined;
275
+ allowedCategories?: string[] | undefined;
180
276
  }[];
277
+ email?: string | undefined;
181
278
  address?: {
182
279
  country?: string | undefined;
183
280
  city?: string | undefined;
@@ -186,11 +283,15 @@ export declare const NewOrganizationSchema: z.ZodObject<Omit<{
186
283
  floor?: string | undefined;
187
284
  apartmentEnterNumber?: string | undefined;
188
285
  apartmentNumber?: string | undefined;
286
+ zip?: string | undefined;
189
287
  } | undefined;
288
+ phone?: string | undefined;
190
289
  discountPercentage?: number | undefined;
191
290
  nameOnInvoice?: string | undefined;
192
291
  companyNumber?: string | undefined;
193
292
  groupId?: string | undefined;
293
+ notes?: string | undefined;
294
+ freeShipping?: boolean | undefined;
194
295
  }>;
195
296
  export type TBillingAccount = z.infer<typeof BillingAccountSchema>;
196
297
  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,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,10 +1,26 @@
1
1
  import { z } from "zod";
2
2
  import { PaymentTypeSchema } from "./Payment";
3
3
  import { AddressSchema } from "./Address";
4
+ // Payment terms are an ADMIN-ONLY billing attribute — never exposed to the customer.
5
+ export const PaymentTermsSchema = z.enum([
6
+ "credit",
7
+ "net15",
8
+ "net30",
9
+ "net60",
10
+ "net90",
11
+ ]);
4
12
  export const BillingAccountSchema = z.object({
5
13
  number: z.string(),
6
14
  name: z.string(),
7
15
  id: z.string(),
16
+ // Optional, admin-managed billing config (see company-edit-like-demo plan, Phase 2)
17
+ payTerms: PaymentTermsSchema.optional(),
18
+ creditLimit: z.number().optional(),
19
+ isPrimary: z.boolean().optional(),
20
+ // Optional category restriction — when `restricted`, the account is limited to
21
+ // `allowedCategories` (category ids). Order-time enforcement is a separate concern.
22
+ restricted: z.boolean().optional(),
23
+ allowedCategories: z.array(z.string()).optional(),
8
24
  });
9
25
  // client organization for clients
10
26
  export const OrganizationSchema = z.object({
@@ -17,5 +33,10 @@ export const OrganizationSchema = z.object({
17
33
  companyNumber: z.string().optional(),
18
34
  address: AddressSchema.optional(),
19
35
  groupId: z.string().optional(),
36
+ // Contact / billing details (admin-managed, optional — see company-edit-like-demo plan)
37
+ phone: z.string().optional(),
38
+ email: z.string().optional(),
39
+ notes: z.string().optional(),
40
+ freeShipping: z.boolean().optional(),
20
41
  });
21
42
  export const NewOrganizationSchema = OrganizationSchema.omit({ id: true });
@@ -118,9 +118,9 @@ export declare const OrganizationBalanceRollupSchema: z.ZodObject<{
118
118
  storeId: string;
119
119
  currency: "ILS";
120
120
  organizationId: string;
121
+ credit: number;
121
122
  updatedAt: number;
122
123
  owed: number;
123
- credit: number;
124
124
  totalAccrued: number;
125
125
  totalSettled: number;
126
126
  }, {
@@ -128,9 +128,9 @@ export declare const OrganizationBalanceRollupSchema: z.ZodObject<{
128
128
  storeId: string;
129
129
  currency: "ILS";
130
130
  organizationId: string;
131
+ credit: number;
131
132
  updatedAt: number;
132
133
  owed: number;
133
- credit: number;
134
134
  totalAccrued: number;
135
135
  totalSettled: number;
136
136
  }>;
@@ -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"}