@jsdev_ninja/core 0.7.62 → 0.7.64

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.
@@ -20,21 +20,21 @@ export declare const OrderSchema: z.ZodObject<{
20
20
  lang: z.ZodString;
21
21
  value: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
- lang: string;
24
23
  value: string;
25
- }, {
26
24
  lang: string;
25
+ }, {
27
26
  value: string;
27
+ lang: string;
28
28
  }>, "many">;
29
29
  description: z.ZodArray<z.ZodObject<{
30
30
  lang: z.ZodString;
31
31
  value: z.ZodString;
32
32
  }, "strip", z.ZodTypeAny, {
33
- lang: string;
34
33
  value: string;
35
- }, {
36
34
  lang: string;
35
+ }, {
37
36
  value: string;
37
+ lang: string;
38
38
  }>, "many">;
39
39
  isPublished: z.ZodBoolean;
40
40
  vat: z.ZodBoolean;
@@ -42,11 +42,11 @@ export declare const OrderSchema: z.ZodObject<{
42
42
  type: z.ZodEnum<["unit", "kg", "gram", "liter", "ml"]>;
43
43
  value: z.ZodNumber;
44
44
  }, "strip", z.ZodTypeAny, {
45
- value: number;
46
45
  type: "unit" | "kg" | "gram" | "liter" | "ml";
47
- }, {
48
46
  value: number;
47
+ }, {
49
48
  type: "unit" | "kg" | "gram" | "liter" | "ml";
49
+ value: number;
50
50
  }>;
51
51
  price: z.ZodNumber;
52
52
  purchasePrice: z.ZodOptional<z.ZodNumber>;
@@ -56,11 +56,11 @@ export declare const OrderSchema: z.ZodObject<{
56
56
  type: z.ZodEnum<["number", "percent", "none"]>;
57
57
  value: z.ZodNumber;
58
58
  }, "strip", z.ZodTypeAny, {
59
- value: number;
60
59
  type: "number" | "percent" | "none";
61
- }, {
62
60
  value: number;
61
+ }, {
63
62
  type: "number" | "percent" | "none";
63
+ value: number;
64
64
  }>;
65
65
  weight: z.ZodObject<{
66
66
  value: z.ZodNumber;
@@ -100,11 +100,11 @@ export declare const OrderSchema: z.ZodObject<{
100
100
  lang: z.ZodString;
101
101
  value: z.ZodString;
102
102
  }, "strip", z.ZodTypeAny, {
103
- lang: string;
104
103
  value: string;
105
- }, {
106
104
  lang: string;
105
+ }, {
107
106
  value: string;
107
+ lang: string;
108
108
  }>, "many">;
109
109
  created_at: z.ZodNumber;
110
110
  updated_at: z.ZodNumber;
@@ -114,8 +114,8 @@ export declare const OrderSchema: z.ZodObject<{
114
114
  storeId: string;
115
115
  tag: string;
116
116
  locales: {
117
- lang: string;
118
117
  value: string;
118
+ lang: string;
119
119
  }[];
120
120
  depth: number;
121
121
  parentId?: string | null | undefined;
@@ -126,20 +126,20 @@ export declare const OrderSchema: z.ZodObject<{
126
126
  storeId: string;
127
127
  tag: string;
128
128
  locales: {
129
- lang: string;
130
129
  value: string;
130
+ lang: string;
131
131
  }[];
132
132
  depth: number;
133
133
  parentId?: string | null | undefined;
134
- } & any)[];
134
+ } & /*elided*/ any)[];
135
135
  }, z.ZodTypeDef, {
136
136
  id: string;
137
137
  companyId: string;
138
138
  storeId: string;
139
139
  tag: string;
140
140
  locales: {
141
- lang: string;
142
141
  value: string;
142
+ lang: string;
143
143
  }[];
144
144
  depth: number;
145
145
  parentId?: string | null | undefined;
@@ -150,12 +150,12 @@ export declare const OrderSchema: z.ZodObject<{
150
150
  storeId: string;
151
151
  tag: string;
152
152
  locales: {
153
- lang: string;
154
153
  value: string;
154
+ lang: string;
155
155
  }[];
156
156
  depth: number;
157
157
  parentId?: string | null | undefined;
158
- } & any)[];
158
+ } & /*elided*/ any)[];
159
159
  }>, "many">;
160
160
  categories: z.ZodObject<{
161
161
  lvl0: z.ZodArray<z.ZodString, "many">;
@@ -185,24 +185,24 @@ export declare const OrderSchema: z.ZodObject<{
185
185
  objectID: string;
186
186
  sku: string;
187
187
  name: {
188
- lang: string;
189
188
  value: string;
189
+ lang: string;
190
190
  }[];
191
191
  description: {
192
- lang: string;
193
192
  value: string;
193
+ lang: string;
194
194
  }[];
195
195
  isPublished: boolean;
196
196
  vat: boolean;
197
197
  priceType: {
198
- value: number;
199
198
  type: "unit" | "kg" | "gram" | "liter" | "ml";
199
+ value: number;
200
200
  };
201
201
  price: number;
202
202
  currency: "ILS";
203
203
  discount: {
204
- value: number;
205
204
  type: "number" | "percent" | "none";
205
+ value: number;
206
206
  };
207
207
  weight: {
208
208
  value: number;
@@ -221,8 +221,8 @@ export declare const OrderSchema: z.ZodObject<{
221
221
  importer: string;
222
222
  supplier: string;
223
223
  ingredients: {
224
- lang: string;
225
224
  value: string;
225
+ lang: string;
226
226
  }[];
227
227
  created_at: number;
228
228
  updated_at: number;
@@ -232,8 +232,8 @@ export declare const OrderSchema: z.ZodObject<{
232
232
  storeId: string;
233
233
  tag: string;
234
234
  locales: {
235
- lang: string;
236
235
  value: string;
236
+ lang: string;
237
237
  }[];
238
238
  depth: number;
239
239
  parentId?: string | null | undefined;
@@ -244,12 +244,12 @@ export declare const OrderSchema: z.ZodObject<{
244
244
  storeId: string;
245
245
  tag: string;
246
246
  locales: {
247
- lang: string;
248
247
  value: string;
248
+ lang: string;
249
249
  }[];
250
250
  depth: number;
251
251
  parentId?: string | null | undefined;
252
- } & any)[];
252
+ } & /*elided*/ any)[];
253
253
  })[];
254
254
  categories: {
255
255
  lvl0: string[];
@@ -269,24 +269,24 @@ export declare const OrderSchema: z.ZodObject<{
269
269
  objectID: string;
270
270
  sku: string;
271
271
  name: {
272
- lang: string;
273
272
  value: string;
273
+ lang: string;
274
274
  }[];
275
275
  description: {
276
- lang: string;
277
276
  value: string;
277
+ lang: string;
278
278
  }[];
279
279
  isPublished: boolean;
280
280
  vat: boolean;
281
281
  priceType: {
282
- value: number;
283
282
  type: "unit" | "kg" | "gram" | "liter" | "ml";
283
+ value: number;
284
284
  };
285
285
  price: number;
286
286
  currency: "ILS";
287
287
  discount: {
288
- value: number;
289
288
  type: "number" | "percent" | "none";
289
+ value: number;
290
290
  };
291
291
  weight: {
292
292
  value: number;
@@ -305,8 +305,8 @@ export declare const OrderSchema: z.ZodObject<{
305
305
  importer: string;
306
306
  supplier: string;
307
307
  ingredients: {
308
- lang: string;
309
308
  value: string;
309
+ lang: string;
310
310
  }[];
311
311
  created_at: number;
312
312
  updated_at: number;
@@ -316,8 +316,8 @@ export declare const OrderSchema: z.ZodObject<{
316
316
  storeId: string;
317
317
  tag: string;
318
318
  locales: {
319
- lang: string;
320
319
  value: string;
320
+ lang: string;
321
321
  }[];
322
322
  depth: number;
323
323
  parentId?: string | null | undefined;
@@ -328,12 +328,12 @@ export declare const OrderSchema: z.ZodObject<{
328
328
  storeId: string;
329
329
  tag: string;
330
330
  locales: {
331
- lang: string;
332
331
  value: string;
332
+ lang: string;
333
333
  }[];
334
334
  depth: number;
335
335
  parentId?: string | null | undefined;
336
- } & any)[];
336
+ } & /*elided*/ any)[];
337
337
  })[];
338
338
  categories: {
339
339
  lvl0: string[];
@@ -356,24 +356,24 @@ export declare const OrderSchema: z.ZodObject<{
356
356
  objectID: string;
357
357
  sku: string;
358
358
  name: {
359
- lang: string;
360
359
  value: string;
360
+ lang: string;
361
361
  }[];
362
362
  description: {
363
- lang: string;
364
363
  value: string;
364
+ lang: string;
365
365
  }[];
366
366
  isPublished: boolean;
367
367
  vat: boolean;
368
368
  priceType: {
369
- value: number;
370
369
  type: "unit" | "kg" | "gram" | "liter" | "ml";
370
+ value: number;
371
371
  };
372
372
  price: number;
373
373
  currency: "ILS";
374
374
  discount: {
375
- value: number;
376
375
  type: "number" | "percent" | "none";
376
+ value: number;
377
377
  };
378
378
  weight: {
379
379
  value: number;
@@ -392,8 +392,8 @@ export declare const OrderSchema: z.ZodObject<{
392
392
  importer: string;
393
393
  supplier: string;
394
394
  ingredients: {
395
- lang: string;
396
395
  value: string;
396
+ lang: string;
397
397
  }[];
398
398
  created_at: number;
399
399
  updated_at: number;
@@ -403,8 +403,8 @@ export declare const OrderSchema: z.ZodObject<{
403
403
  storeId: string;
404
404
  tag: string;
405
405
  locales: {
406
- lang: string;
407
406
  value: string;
407
+ lang: string;
408
408
  }[];
409
409
  depth: number;
410
410
  parentId?: string | null | undefined;
@@ -415,12 +415,12 @@ export declare const OrderSchema: z.ZodObject<{
415
415
  storeId: string;
416
416
  tag: string;
417
417
  locales: {
418
- lang: string;
419
418
  value: string;
419
+ lang: string;
420
420
  }[];
421
421
  depth: number;
422
422
  parentId?: string | null | undefined;
423
- } & any)[];
423
+ } & /*elided*/ any)[];
424
424
  })[];
425
425
  categories: {
426
426
  lvl0: string[];
@@ -443,24 +443,24 @@ export declare const OrderSchema: z.ZodObject<{
443
443
  objectID: string;
444
444
  sku: string;
445
445
  name: {
446
- lang: string;
447
446
  value: string;
447
+ lang: string;
448
448
  }[];
449
449
  description: {
450
- lang: string;
451
450
  value: string;
451
+ lang: string;
452
452
  }[];
453
453
  isPublished: boolean;
454
454
  vat: boolean;
455
455
  priceType: {
456
- value: number;
457
456
  type: "unit" | "kg" | "gram" | "liter" | "ml";
457
+ value: number;
458
458
  };
459
459
  price: number;
460
460
  currency: "ILS";
461
461
  discount: {
462
- value: number;
463
462
  type: "number" | "percent" | "none";
463
+ value: number;
464
464
  };
465
465
  weight: {
466
466
  value: number;
@@ -479,8 +479,8 @@ export declare const OrderSchema: z.ZodObject<{
479
479
  importer: string;
480
480
  supplier: string;
481
481
  ingredients: {
482
- lang: string;
483
482
  value: string;
483
+ lang: string;
484
484
  }[];
485
485
  created_at: number;
486
486
  updated_at: number;
@@ -490,8 +490,8 @@ export declare const OrderSchema: z.ZodObject<{
490
490
  storeId: string;
491
491
  tag: string;
492
492
  locales: {
493
- lang: string;
494
493
  value: string;
494
+ lang: string;
495
495
  }[];
496
496
  depth: number;
497
497
  parentId?: string | null | undefined;
@@ -502,12 +502,12 @@ export declare const OrderSchema: z.ZodObject<{
502
502
  storeId: string;
503
503
  tag: string;
504
504
  locales: {
505
- lang: string;
506
505
  value: string;
506
+ lang: string;
507
507
  }[];
508
508
  depth: number;
509
509
  parentId?: string | null | undefined;
510
- } & any)[];
510
+ } & /*elided*/ any)[];
511
511
  })[];
512
512
  categories: {
513
513
  lvl0: string[];
@@ -536,24 +536,24 @@ export declare const OrderSchema: z.ZodObject<{
536
536
  objectID: string;
537
537
  sku: string;
538
538
  name: {
539
- lang: string;
540
539
  value: string;
540
+ lang: string;
541
541
  }[];
542
542
  description: {
543
- lang: string;
544
543
  value: string;
544
+ lang: string;
545
545
  }[];
546
546
  isPublished: boolean;
547
547
  vat: boolean;
548
548
  priceType: {
549
- value: number;
550
549
  type: "unit" | "kg" | "gram" | "liter" | "ml";
550
+ value: number;
551
551
  };
552
552
  price: number;
553
553
  currency: "ILS";
554
554
  discount: {
555
- value: number;
556
555
  type: "number" | "percent" | "none";
556
+ value: number;
557
557
  };
558
558
  weight: {
559
559
  value: number;
@@ -572,8 +572,8 @@ export declare const OrderSchema: z.ZodObject<{
572
572
  importer: string;
573
573
  supplier: string;
574
574
  ingredients: {
575
- lang: string;
576
575
  value: string;
576
+ lang: string;
577
577
  }[];
578
578
  created_at: number;
579
579
  updated_at: number;
@@ -583,8 +583,8 @@ export declare const OrderSchema: z.ZodObject<{
583
583
  storeId: string;
584
584
  tag: string;
585
585
  locales: {
586
- lang: string;
587
586
  value: string;
587
+ lang: string;
588
588
  }[];
589
589
  depth: number;
590
590
  parentId?: string | null | undefined;
@@ -595,12 +595,12 @@ export declare const OrderSchema: z.ZodObject<{
595
595
  storeId: string;
596
596
  tag: string;
597
597
  locales: {
598
- lang: string;
599
598
  value: string;
599
+ lang: string;
600
600
  }[];
601
601
  depth: number;
602
602
  parentId?: string | null | undefined;
603
- } & any)[];
603
+ } & /*elided*/ any)[];
604
604
  })[];
605
605
  categories: {
606
606
  lvl0: string[];
@@ -629,24 +629,24 @@ export declare const OrderSchema: z.ZodObject<{
629
629
  objectID: string;
630
630
  sku: string;
631
631
  name: {
632
- lang: string;
633
632
  value: string;
633
+ lang: string;
634
634
  }[];
635
635
  description: {
636
- lang: string;
637
636
  value: string;
637
+ lang: string;
638
638
  }[];
639
639
  isPublished: boolean;
640
640
  vat: boolean;
641
641
  priceType: {
642
- value: number;
643
642
  type: "unit" | "kg" | "gram" | "liter" | "ml";
643
+ value: number;
644
644
  };
645
645
  price: number;
646
646
  currency: "ILS";
647
647
  discount: {
648
- value: number;
649
648
  type: "number" | "percent" | "none";
649
+ value: number;
650
650
  };
651
651
  weight: {
652
652
  value: number;
@@ -665,8 +665,8 @@ export declare const OrderSchema: z.ZodObject<{
665
665
  importer: string;
666
666
  supplier: string;
667
667
  ingredients: {
668
- lang: string;
669
668
  value: string;
669
+ lang: string;
670
670
  }[];
671
671
  created_at: number;
672
672
  updated_at: number;
@@ -676,8 +676,8 @@ export declare const OrderSchema: z.ZodObject<{
676
676
  storeId: string;
677
677
  tag: string;
678
678
  locales: {
679
- lang: string;
680
679
  value: string;
680
+ lang: string;
681
681
  }[];
682
682
  depth: number;
683
683
  parentId?: string | null | undefined;
@@ -688,12 +688,12 @@ export declare const OrderSchema: z.ZodObject<{
688
688
  storeId: string;
689
689
  tag: string;
690
690
  locales: {
691
- lang: string;
692
691
  value: string;
692
+ lang: string;
693
693
  }[];
694
694
  depth: number;
695
695
  parentId?: string | null | undefined;
696
- } & any)[];
696
+ } & /*elided*/ any)[];
697
697
  })[];
698
698
  categories: {
699
699
  lvl0: string[];
@@ -840,10 +840,10 @@ export declare const OrderSchema: z.ZodObject<{
840
840
  }, "strip", z.ZodTypeAny, {
841
841
  type: "Order";
842
842
  status: "pending" | "processing" | "delivered" | "canceled" | "completed" | "refunded";
843
+ date: number;
843
844
  id: string;
844
845
  companyId: string;
845
846
  storeId: string;
846
- date: number;
847
847
  address: {
848
848
  country: string;
849
849
  city: string;
@@ -865,24 +865,24 @@ export declare const OrderSchema: z.ZodObject<{
865
865
  objectID: string;
866
866
  sku: string;
867
867
  name: {
868
- lang: string;
869
868
  value: string;
869
+ lang: string;
870
870
  }[];
871
871
  description: {
872
- lang: string;
873
872
  value: string;
873
+ lang: string;
874
874
  }[];
875
875
  isPublished: boolean;
876
876
  vat: boolean;
877
877
  priceType: {
878
- value: number;
879
878
  type: "unit" | "kg" | "gram" | "liter" | "ml";
879
+ value: number;
880
880
  };
881
881
  price: number;
882
882
  currency: "ILS";
883
883
  discount: {
884
- value: number;
885
884
  type: "number" | "percent" | "none";
885
+ value: number;
886
886
  };
887
887
  weight: {
888
888
  value: number;
@@ -901,8 +901,8 @@ export declare const OrderSchema: z.ZodObject<{
901
901
  importer: string;
902
902
  supplier: string;
903
903
  ingredients: {
904
- lang: string;
905
904
  value: string;
905
+ lang: string;
906
906
  }[];
907
907
  created_at: number;
908
908
  updated_at: number;
@@ -912,8 +912,8 @@ export declare const OrderSchema: z.ZodObject<{
912
912
  storeId: string;
913
913
  tag: string;
914
914
  locales: {
915
- lang: string;
916
915
  value: string;
916
+ lang: string;
917
917
  }[];
918
918
  depth: number;
919
919
  parentId?: string | null | undefined;
@@ -924,12 +924,12 @@ export declare const OrderSchema: z.ZodObject<{
924
924
  storeId: string;
925
925
  tag: string;
926
926
  locales: {
927
- lang: string;
928
927
  value: string;
928
+ lang: string;
929
929
  }[];
930
930
  depth: number;
931
931
  parentId?: string | null | undefined;
932
- } & any)[];
932
+ } & /*elided*/ any)[];
933
933
  })[];
934
934
  categories: {
935
935
  lvl0: string[];
@@ -978,10 +978,10 @@ export declare const OrderSchema: z.ZodObject<{
978
978
  }, {
979
979
  type: "Order";
980
980
  status: "pending" | "processing" | "delivered" | "canceled" | "completed" | "refunded";
981
+ date: number;
981
982
  id: string;
982
983
  companyId: string;
983
984
  storeId: string;
984
- date: number;
985
985
  address: {
986
986
  country: string;
987
987
  city: string;
@@ -1003,24 +1003,24 @@ export declare const OrderSchema: z.ZodObject<{
1003
1003
  objectID: string;
1004
1004
  sku: string;
1005
1005
  name: {
1006
- lang: string;
1007
1006
  value: string;
1007
+ lang: string;
1008
1008
  }[];
1009
1009
  description: {
1010
- lang: string;
1011
1010
  value: string;
1011
+ lang: string;
1012
1012
  }[];
1013
1013
  isPublished: boolean;
1014
1014
  vat: boolean;
1015
1015
  priceType: {
1016
- value: number;
1017
1016
  type: "unit" | "kg" | "gram" | "liter" | "ml";
1017
+ value: number;
1018
1018
  };
1019
1019
  price: number;
1020
1020
  currency: "ILS";
1021
1021
  discount: {
1022
- value: number;
1023
1022
  type: "number" | "percent" | "none";
1023
+ value: number;
1024
1024
  };
1025
1025
  weight: {
1026
1026
  value: number;
@@ -1039,8 +1039,8 @@ export declare const OrderSchema: z.ZodObject<{
1039
1039
  importer: string;
1040
1040
  supplier: string;
1041
1041
  ingredients: {
1042
- lang: string;
1043
1042
  value: string;
1043
+ lang: string;
1044
1044
  }[];
1045
1045
  created_at: number;
1046
1046
  updated_at: number;
@@ -1050,8 +1050,8 @@ export declare const OrderSchema: z.ZodObject<{
1050
1050
  storeId: string;
1051
1051
  tag: string;
1052
1052
  locales: {
1053
- lang: string;
1054
1053
  value: string;
1054
+ lang: string;
1055
1055
  }[];
1056
1056
  depth: number;
1057
1057
  parentId?: string | null | undefined;
@@ -1062,12 +1062,12 @@ export declare const OrderSchema: z.ZodObject<{
1062
1062
  storeId: string;
1063
1063
  tag: string;
1064
1064
  locales: {
1065
- lang: string;
1066
1065
  value: string;
1066
+ lang: string;
1067
1067
  }[];
1068
1068
  depth: number;
1069
1069
  parentId?: string | null | undefined;
1070
- } & any)[];
1070
+ } & /*elided*/ any)[];
1071
1071
  })[];
1072
1072
  categories: {
1073
1073
  lvl0: string[];