@esb-market-contracts/backend 1.0.38 → 1.0.40

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/api.d.ts CHANGED
@@ -711,6 +711,23 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
711
711
  unitCostBase: string | null;
712
712
  updatedAt: Date | null;
713
713
  createdAt: Date;
714
+ product: {
715
+ id: number;
716
+ model: string | null;
717
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
718
+ };
719
+ productVariant: {
720
+ id: number;
721
+ sku: string | null;
722
+ barcode: string | null;
723
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
724
+ };
725
+ measurementUnit: {
726
+ id: number;
727
+ code: string;
728
+ name: string;
729
+ decimalPlaces: number;
730
+ };
714
731
  }[];
715
732
  };
716
733
  }>;
@@ -750,6 +767,23 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
750
767
  unitCostBase: string | null;
751
768
  updatedAt: Date | null;
752
769
  createdAt: Date;
770
+ product: {
771
+ id: number;
772
+ model: string | null;
773
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
774
+ };
775
+ productVariant: {
776
+ id: number;
777
+ sku: string | null;
778
+ barcode: string | null;
779
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
780
+ };
781
+ measurementUnit: {
782
+ id: number;
783
+ code: string;
784
+ name: string;
785
+ decimalPlaces: number;
786
+ };
753
787
  }[];
754
788
  };
755
789
  }>;
@@ -866,6 +900,23 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
866
900
  unitCostBase: string | null;
867
901
  updatedAt: Date | null;
868
902
  createdAt: Date;
903
+ product: {
904
+ id: number;
905
+ model: string | null;
906
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
907
+ };
908
+ productVariant: {
909
+ id: number;
910
+ sku: string | null;
911
+ barcode: string | null;
912
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
913
+ };
914
+ measurementUnit: {
915
+ id: number;
916
+ code: string;
917
+ name: string;
918
+ decimalPlaces: number;
919
+ };
869
920
  };
870
921
  }>;
871
922
  outputFormat: "json";
@@ -880,6 +931,52 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
880
931
  };
881
932
  };
882
933
  };
934
+ } & {
935
+ "/operations/deliveries/item/scan": {
936
+ $post: {
937
+ output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
938
+ outcome: "added";
939
+ deliveryItem: {
940
+ id: number;
941
+ deliveryId: number;
942
+ productVariantId: number;
943
+ quantity: number;
944
+ unitCost: string | null;
945
+ unitCostBase: string | null;
946
+ updatedAt: Date | null;
947
+ createdAt: Date;
948
+ product: {
949
+ id: number;
950
+ model: string | null;
951
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
952
+ };
953
+ productVariant: {
954
+ id: number;
955
+ sku: string | null;
956
+ barcode: string | null;
957
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
958
+ };
959
+ measurementUnit: {
960
+ id: number;
961
+ code: string;
962
+ name: string;
963
+ decimalPlaces: number;
964
+ };
965
+ };
966
+ } | {
967
+ outcome: "product-variant-not-found";
968
+ barcode: string;
969
+ }>;
970
+ outputFormat: "json";
971
+ status: 200;
972
+ input: {
973
+ json: {
974
+ deliveryId: number;
975
+ barcode: string;
976
+ };
977
+ };
978
+ };
979
+ };
883
980
  } & {
884
981
  "/operations/deliveries/item/update": {
885
982
  $post: {
@@ -893,6 +990,23 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
893
990
  unitCostBase: string | null;
894
991
  updatedAt: Date | null;
895
992
  createdAt: Date;
993
+ product: {
994
+ id: number;
995
+ model: string | null;
996
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
997
+ };
998
+ productVariant: {
999
+ id: number;
1000
+ sku: string | null;
1001
+ barcode: string | null;
1002
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1003
+ };
1004
+ measurementUnit: {
1005
+ id: number;
1006
+ code: string;
1007
+ name: string;
1008
+ decimalPlaces: number;
1009
+ };
896
1010
  };
897
1011
  }>;
898
1012
  outputFormat: "json";
@@ -919,6 +1033,23 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
919
1033
  unitCostBase: string | null;
920
1034
  updatedAt: Date | null;
921
1035
  createdAt: Date;
1036
+ product: {
1037
+ id: number;
1038
+ model: string | null;
1039
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1040
+ };
1041
+ productVariant: {
1042
+ id: number;
1043
+ sku: string | null;
1044
+ barcode: string | null;
1045
+ name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1046
+ };
1047
+ measurementUnit: {
1048
+ id: number;
1049
+ code: string;
1050
+ name: string;
1051
+ decimalPlaces: number;
1052
+ };
922
1053
  };
923
1054
  }>;
924
1055
  outputFormat: "json";
package/enums.d.ts CHANGED
@@ -27,6 +27,14 @@ declare const deliveryStatusesRecord: Readonly<{
27
27
  }>;
28
28
  type DeliveryStatus = (typeof deliveryStatusesArray)[number];
29
29
  //#endregion
30
+ //#region src/app/flows/(procurement)/delivery/delivery.enums.d.ts
31
+ export declare const deliveryItemScanOutcomesArray: readonly ['added', 'product-variant-not-found'];
32
+ declare const deliveryItemScanOutcomesRecord: Readonly<{
33
+ ADDED: "added";
34
+ PRODUCT_VARIANT_NOT_FOUND: "product-variant-not-found";
35
+ }>;
36
+ type DeliveryItemScanOutcome = (typeof deliveryItemScanOutcomesArray)[number];
37
+ //#endregion
30
38
  //#region src/app/flows/(audit)/audit/audit.enums.d.ts
31
39
  export declare const auditLogSourcesArray: readonly ['admin', 'backend'];
32
40
  declare const auditLogSourcesRecord: Readonly<{
@@ -53,4 +61,4 @@ declare const productStatusesRecord: Readonly<{
53
61
  }>;
54
62
  type ProductStatus = (typeof productStatusesArray)[number];
55
63
  //#endregion
56
- export { type AuditLogSource, type CustomerType, type DeliveryStatus, type EntityStatus, type Locale, type ProductStatus, auditLogSourcesRecord as auditLogSource, customerTypesRecord as customerType, deliveryStatusesRecord as deliveryStatus, entityStatusesRecord as entityStatus, productStatusesRecord as productStatus };
64
+ export { type AuditLogSource, type CustomerType, type DeliveryItemScanOutcome, type DeliveryStatus, type EntityStatus, type Locale, type ProductStatus, auditLogSourcesRecord as auditLogSource, customerTypesRecord as customerType, deliveryItemScanOutcomesRecord as deliveryItemScanOutcome, deliveryStatusesRecord as deliveryStatus, entityStatusesRecord as entityStatus, productStatusesRecord as productStatus };
package/enums.js CHANGED
@@ -25,31 +25,40 @@ var deliveryStatusesArray = ["draft", "posted", "reversed"];
25
25
  var deliveryStatusPGEnum = pgEnum2("delivery_status", deliveryStatusesArray);
26
26
  var deliveryStatusesRecord = createStringEnumRecord3(deliveryStatusesArray);
27
27
 
28
- // src/app/flows/(audit)/audit/audit.enums.ts
28
+ // src/app/flows/(procurement)/delivery/delivery.enums.ts
29
29
  import { createStringEnumRecord as createStringEnumRecord4 } from "@kalutskii/foundation";
30
30
  import { z as z2 } from "zod";
31
+ var deliveryItemScanOutcomesArray = ["added", "product-variant-not-found"];
32
+ var deliveryItemScanOutcomesRecord = createStringEnumRecord4(deliveryItemScanOutcomesArray);
33
+ var deliveryItemScanOutcomeSchema = z2.enum(deliveryItemScanOutcomesArray);
34
+
35
+ // src/app/flows/(audit)/audit/audit.enums.ts
36
+ import { createStringEnumRecord as createStringEnumRecord5 } from "@kalutskii/foundation";
37
+ import { z as z3 } from "zod";
31
38
  var auditLogSourcesArray = ["admin", "backend"];
32
- var auditLogSourcesRecord = createStringEnumRecord4(auditLogSourcesArray);
33
- var auditLogSourceSchema = z2.enum(auditLogSourcesArray);
39
+ var auditLogSourcesRecord = createStringEnumRecord5(auditLogSourcesArray);
40
+ var auditLogSourceSchema = z3.enum(auditLogSourcesArray);
34
41
 
35
42
  // src/app/domain/(sales)/customers/customers.enums.ts
36
- import { createStringEnumRecord as createStringEnumRecord5 } from "@kalutskii/foundation";
43
+ import { createStringEnumRecord as createStringEnumRecord6 } from "@kalutskii/foundation";
37
44
  import { pgEnum as pgEnum3 } from "drizzle-orm/pg-core";
38
45
  var customerTypesArray = ["individual", "individual_entrepreneur", "legal_entity"];
39
46
  var customerTypePGEnum = pgEnum3("customer_type", customerTypesArray);
40
- var customerTypesRecord = createStringEnumRecord5(customerTypesArray);
47
+ var customerTypesRecord = createStringEnumRecord6(customerTypesArray);
41
48
 
42
49
  // src/app/domain/(catalog)/products/products.enums.ts
43
- import { createStringEnumRecord as createStringEnumRecord6 } from "@kalutskii/foundation";
50
+ import { createStringEnumRecord as createStringEnumRecord7 } from "@kalutskii/foundation";
44
51
  import { pgEnum as pgEnum4 } from "drizzle-orm/pg-core";
45
52
  var productStatusesArray = ["draft", "active", "archived"];
46
53
  var productStatusPGEnum = pgEnum4("product_status", productStatusesArray);
47
- var productStatusesRecord = createStringEnumRecord6(productStatusesArray);
54
+ var productStatusesRecord = createStringEnumRecord7(productStatusesArray);
48
55
  export {
49
56
  auditLogSourcesRecord as auditLogSource,
50
57
  auditLogSourcesArray,
51
58
  customerTypesRecord as customerType,
52
59
  customerTypesArray,
60
+ deliveryItemScanOutcomesRecord as deliveryItemScanOutcome,
61
+ deliveryItemScanOutcomesArray,
53
62
  deliveryStatusesRecord as deliveryStatus,
54
63
  entityStatusesRecord as entityStatus,
55
64
  locale,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/backend",
3
3
  "description": "Shared TypeScript contract definitions for backend.",
4
- "version": "1.0.38",
4
+ "version": "1.0.40",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -389,19 +389,6 @@ type CustomerSelectOneQuery = z.infer<typeof customerSelectOneQuerySchema>;
389
389
  type CustomerCreatePayload = z.infer<typeof customerCreatePayloadSchema>;
390
390
  type CustomerUpdatePayload = z.infer<typeof customerUpdatePayloadSchema>;
391
391
  //#endregion
392
- //#region src/app/domain/(procurement)/delivery-items/delivery-items.schemas.d.ts
393
- declare const deliveryItemSchema: z.ZodObject<{
394
- id: z.ZodInt;
395
- deliveryId: z.ZodInt;
396
- productVariantId: z.ZodInt;
397
- quantity: z.ZodNumber;
398
- unitCost: z.ZodNullable<z.ZodString>;
399
- unitCostBase: z.ZodNullable<z.ZodString>;
400
- updatedAt: z.ZodNullable<z.ZodDate>;
401
- createdAt: z.ZodDate;
402
- }, z.core.$strip>;
403
- type DeliveryItem = z.infer<typeof deliveryItemSchema>;
404
- //#endregion
405
392
  //#region src/app/flows/(procurement)/delivery/delivery.schemas.d.ts
406
393
  declare const deliveryCreatePayloadSchema: z.ZodObject<{
407
394
  supplierId: z.ZodInt;
@@ -550,6 +537,86 @@ declare const deliveryItemUpdatePayloadSchema: z.ZodObject<{
550
537
  declare const deliveryItemDeletePayloadSchema: z.ZodObject<{
551
538
  deliveryItemId: z.ZodInt;
552
539
  }, z.core.$strip>;
540
+ declare const deliveryItemDetailsSchema: z.ZodObject<{
541
+ id: z.ZodInt;
542
+ deliveryId: z.ZodInt;
543
+ productVariantId: z.ZodInt;
544
+ quantity: z.ZodNumber;
545
+ unitCost: z.ZodNullable<z.ZodString>;
546
+ unitCostBase: z.ZodNullable<z.ZodString>;
547
+ updatedAt: z.ZodNullable<z.ZodDate>;
548
+ createdAt: z.ZodDate;
549
+ product: z.ZodObject<{
550
+ id: z.ZodInt;
551
+ model: z.ZodNullable<z.ZodString>;
552
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
553
+ en: "en";
554
+ ka: "ka";
555
+ ru: "ru";
556
+ }> & z.core.$partial, z.ZodString>>;
557
+ }, z.core.$strip>;
558
+ productVariant: z.ZodObject<{
559
+ id: z.ZodInt;
560
+ sku: z.ZodNullable<z.ZodString>;
561
+ barcode: z.ZodNullable<z.ZodString>;
562
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
563
+ en: "en";
564
+ ka: "ka";
565
+ ru: "ru";
566
+ }> & z.core.$partial, z.ZodString>>;
567
+ }, z.core.$strip>;
568
+ measurementUnit: z.ZodObject<{
569
+ id: z.ZodInt;
570
+ code: z.ZodString;
571
+ name: z.ZodString;
572
+ decimalPlaces: z.ZodInt;
573
+ }, z.core.$strip>;
574
+ }, z.core.$strip>;
575
+ declare const deliveryItemScanPayloadSchema: z.ZodObject<{
576
+ deliveryId: z.ZodInt;
577
+ barcode: z.ZodString;
578
+ }, z.core.$strip>;
579
+ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
580
+ outcome: z.ZodLiteral<"added">;
581
+ deliveryItem: z.ZodObject<{
582
+ id: z.ZodInt;
583
+ deliveryId: z.ZodInt;
584
+ productVariantId: z.ZodInt;
585
+ quantity: z.ZodNumber;
586
+ unitCost: z.ZodNullable<z.ZodString>;
587
+ unitCostBase: z.ZodNullable<z.ZodString>;
588
+ updatedAt: z.ZodNullable<z.ZodDate>;
589
+ createdAt: z.ZodDate;
590
+ product: z.ZodObject<{
591
+ id: z.ZodInt;
592
+ model: z.ZodNullable<z.ZodString>;
593
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
594
+ en: "en";
595
+ ka: "ka";
596
+ ru: "ru";
597
+ }> & z.core.$partial, z.ZodString>>;
598
+ }, z.core.$strip>;
599
+ productVariant: z.ZodObject<{
600
+ id: z.ZodInt;
601
+ sku: z.ZodNullable<z.ZodString>;
602
+ barcode: z.ZodNullable<z.ZodString>;
603
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
604
+ en: "en";
605
+ ka: "ka";
606
+ ru: "ru";
607
+ }> & z.core.$partial, z.ZodString>>;
608
+ }, z.core.$strip>;
609
+ measurementUnit: z.ZodObject<{
610
+ id: z.ZodInt;
611
+ code: z.ZodString;
612
+ name: z.ZodString;
613
+ decimalPlaces: z.ZodInt;
614
+ }, z.core.$strip>;
615
+ }, z.core.$strip>;
616
+ }, z.core.$strip>, z.ZodObject<{
617
+ outcome: z.ZodLiteral<"product-variant-not-found">;
618
+ barcode: z.ZodString;
619
+ }, z.core.$strip>], "outcome">;
553
620
  declare const deliveryDetailsSchema: z.ZodObject<{
554
621
  id: z.ZodInt;
555
622
  code: z.ZodString;
@@ -577,6 +644,31 @@ declare const deliveryDetailsSchema: z.ZodObject<{
577
644
  unitCostBase: z.ZodNullable<z.ZodString>;
578
645
  updatedAt: z.ZodNullable<z.ZodDate>;
579
646
  createdAt: z.ZodDate;
647
+ product: z.ZodObject<{
648
+ id: z.ZodInt;
649
+ model: z.ZodNullable<z.ZodString>;
650
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
651
+ en: "en";
652
+ ka: "ka";
653
+ ru: "ru";
654
+ }> & z.core.$partial, z.ZodString>>;
655
+ }, z.core.$strip>;
656
+ productVariant: z.ZodObject<{
657
+ id: z.ZodInt;
658
+ sku: z.ZodNullable<z.ZodString>;
659
+ barcode: z.ZodNullable<z.ZodString>;
660
+ name: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
661
+ en: "en";
662
+ ka: "ka";
663
+ ru: "ru";
664
+ }> & z.core.$partial, z.ZodString>>;
665
+ }, z.core.$strip>;
666
+ measurementUnit: z.ZodObject<{
667
+ id: z.ZodInt;
668
+ code: z.ZodString;
669
+ name: z.ZodString;
670
+ decimalPlaces: z.ZodInt;
671
+ }, z.core.$strip>;
580
672
  }, z.core.$strip>>;
581
673
  }, z.core.$strip>;
582
674
  type DeliveryDeletePayload = z.infer<typeof deliveryDeletePayloadSchema>;
@@ -584,8 +676,11 @@ type DeliveryPostPayload = z.infer<typeof deliveryPostPayloadSchema>;
584
676
  type DeliveryItemAddPayload = z.infer<typeof deliveryItemAddPayloadSchema>;
585
677
  type DeliveryItemUpdatePayload = z.infer<typeof deliveryItemUpdatePayloadSchema>;
586
678
  type DeliveryItemDeletePayload = z.infer<typeof deliveryItemDeletePayloadSchema>;
679
+ type DeliveryItemScanPayload = z.infer<typeof deliveryItemScanPayloadSchema>;
680
+ type DeliveryItemScanResult = z.infer<typeof deliveryItemScanResultSchema>;
681
+ type DeliveryItemDetails = z.infer<typeof deliveryItemDetailsSchema>;
587
682
  type DeliveryItemResult = {
588
- deliveryItem: DeliveryItem;
683
+ deliveryItem: DeliveryItemDetails;
589
684
  };
590
685
  type DeliveryDetails = z.infer<typeof deliveryDetailsSchema>;
591
686
  type DeliveryCreateResult = {
@@ -1063,6 +1158,19 @@ type ProductVariantCreateResult = {
1063
1158
  };
1064
1159
  type ProductVariantUpdatePayload = z.infer<typeof productVariantUpdatePayloadSchema>;
1065
1160
  //#endregion
1161
+ //#region src/app/domain/(procurement)/delivery-items/delivery-items.schemas.d.ts
1162
+ declare const deliveryItemSchema: z.ZodObject<{
1163
+ id: z.ZodInt;
1164
+ deliveryId: z.ZodInt;
1165
+ productVariantId: z.ZodInt;
1166
+ quantity: z.ZodNumber;
1167
+ unitCost: z.ZodNullable<z.ZodString>;
1168
+ unitCostBase: z.ZodNullable<z.ZodString>;
1169
+ updatedAt: z.ZodNullable<z.ZodDate>;
1170
+ createdAt: z.ZodDate;
1171
+ }, z.core.$strip>;
1172
+ type DeliveryItem = z.infer<typeof deliveryItemSchema>;
1173
+ //#endregion
1066
1174
  //#region src/app/domain/(procurement)/deliveries/deliveries.schemas.d.ts
1067
1175
  declare const deliverySchema: z.ZodObject<{
1068
1176
  id: z.ZodInt;
@@ -1085,4 +1193,4 @@ declare const deliverySchema: z.ZodObject<{
1085
1193
  }, z.core.$strip>;
1086
1194
  type Delivery = z.infer<typeof deliverySchema>;
1087
1195
  //#endregion
1088
- export type { AuditLogResult, AuditLogSearchPayload, AuditLogSearchResult, AuditLogSelectOneQuery, Brand, BrandCreatePayload, BrandSearchOptions, BrandSearchResult, BrandSelectOneQuery, BrandUpdatePayload, Category, CategoryCreatePayload, CategorySearchOptions, CategorySearchResult, CategorySelectOneQuery, CategoryUpdatePayload, Country, CountryCreatePayload, CountrySearchOptions, CountrySearchResult, CountrySelectOneQuery, CountryUpdatePayload, Currency, CurrencyListResult, Customer, CustomerCreatePayload, CustomerSearchOptions, CustomerSearchResult, CustomerSelectOneQuery, CustomerUpdatePayload, Delivery, DeliveryCreatePayload, DeliveryCreateResult, DeliveryDeletePayload, DeliveryDetails, DeliveryItem, DeliveryItemAddPayload, DeliveryItemDeletePayload, DeliveryItemResult, DeliveryItemUpdatePayload, DeliveryPostPayload, DeliverySearchItem, DeliverySearchOptions, DeliverySearchResult, DeliverySelectOneQuery, DeliverySelectOneResult, DeliveryUpdatePayload, ExchangeRate, ExchangeRateDateSearchResult, ExchangeRateSearchOptions, ExchangeRateSearchResult, MeasurementUnit, MeasurementUnitListResult, Product, ProductCreatePayload, ProductCreateResult, ProductDeletePayload, ProductImage, ProductImages, ProductSearchOptions, ProductSearchResult, ProductSelectOneQuery, ProductUpdatePayload, ProductVariant, ProductVariantCreatePayload, ProductVariantCreateResult, ProductVariantDeletePayload, ProductVariantSearchOptions, ProductVariantSearchResult, ProductVariantSelectOneQuery, ProductVariantUpdatePayload, Supplier, SupplierCreatePayload, SupplierSearchOptions, SupplierSearchResult, SupplierSelectOneQuery, SupplierSwitchStatusPayload, SupplierUpdatePayload, Warehouse, WarehouseCreatePayload, WarehouseSearchOptions, WarehouseSearchResult, WarehouseSelectOneQuery, WarehouseSwitchStatusPayload, WarehouseUpdatePayload };
1196
+ export type { AuditLogResult, AuditLogSearchPayload, AuditLogSearchResult, AuditLogSelectOneQuery, Brand, BrandCreatePayload, BrandSearchOptions, BrandSearchResult, BrandSelectOneQuery, BrandUpdatePayload, Category, CategoryCreatePayload, CategorySearchOptions, CategorySearchResult, CategorySelectOneQuery, CategoryUpdatePayload, Country, CountryCreatePayload, CountrySearchOptions, CountrySearchResult, CountrySelectOneQuery, CountryUpdatePayload, Currency, CurrencyListResult, Customer, CustomerCreatePayload, CustomerSearchOptions, CustomerSearchResult, CustomerSelectOneQuery, CustomerUpdatePayload, Delivery, DeliveryCreatePayload, DeliveryCreateResult, DeliveryDeletePayload, DeliveryDetails, DeliveryItem, DeliveryItemAddPayload, DeliveryItemDeletePayload, DeliveryItemDetails, DeliveryItemResult, DeliveryItemScanPayload, DeliveryItemScanResult, DeliveryItemUpdatePayload, DeliveryPostPayload, DeliverySearchItem, DeliverySearchOptions, DeliverySearchResult, DeliverySelectOneQuery, DeliverySelectOneResult, DeliveryUpdatePayload, ExchangeRate, ExchangeRateDateSearchResult, ExchangeRateSearchOptions, ExchangeRateSearchResult, MeasurementUnit, MeasurementUnitListResult, Product, ProductCreatePayload, ProductCreateResult, ProductDeletePayload, ProductImage, ProductImages, ProductSearchOptions, ProductSearchResult, ProductSelectOneQuery, ProductUpdatePayload, ProductVariant, ProductVariantCreatePayload, ProductVariantCreateResult, ProductVariantDeletePayload, ProductVariantSearchOptions, ProductVariantSearchResult, ProductVariantSelectOneQuery, ProductVariantUpdatePayload, Supplier, SupplierCreatePayload, SupplierSearchOptions, SupplierSearchResult, SupplierSelectOneQuery, SupplierSwitchStatusPayload, SupplierUpdatePayload, Warehouse, WarehouseCreatePayload, WarehouseSearchOptions, WarehouseSearchResult, WarehouseSelectOneQuery, WarehouseSwitchStatusPayload, WarehouseUpdatePayload };