@esb-market-contracts/backend 1.0.53 → 1.0.55
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/constants.d.ts +3 -1
- package/constants.js +5 -0
- package/package.json +1 -1
- package/types.d.ts +52 -1
package/constants.d.ts
CHANGED
package/constants.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ declare const brandSchema: z.ZodObject<{
|
|
|
19
19
|
createdAt: z.ZodDate;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
type Brand = z.infer<typeof brandSchema>;
|
|
22
|
+
declare const brandIdShape: z.ZodInt;
|
|
23
|
+
declare const brandSlugShape: z.ZodString;
|
|
24
|
+
type BrandId = z.infer<typeof brandIdShape>;
|
|
25
|
+
type BrandSlug = z.infer<typeof brandSlugShape>;
|
|
22
26
|
//#endregion
|
|
23
27
|
//#region src/app/flows/(catalog)/brand/brand.schemas.d.ts
|
|
24
28
|
declare const brandSearchOptionsSchema: z.ZodObject<{
|
|
@@ -106,6 +110,10 @@ declare const categorySchema: z.ZodObject<{
|
|
|
106
110
|
createdAt: z.ZodDate;
|
|
107
111
|
}, z.core.$strip>;
|
|
108
112
|
type Category = z.infer<typeof categorySchema>;
|
|
113
|
+
declare const categoryIdShape: z.ZodInt;
|
|
114
|
+
declare const categorySlugShape: z.ZodString;
|
|
115
|
+
type CategoryId = z.infer<typeof categoryIdShape>;
|
|
116
|
+
type CategorySlug = z.infer<typeof categorySlugShape>;
|
|
109
117
|
//#endregion
|
|
110
118
|
//#region src/app/flows/(catalog)/category/category.schemas.d.ts
|
|
111
119
|
declare const categorySearchOptionsSchema: z.ZodObject<{
|
|
@@ -196,6 +204,8 @@ declare const countrySchema: z.ZodObject<{
|
|
|
196
204
|
createdAt: z.ZodDate;
|
|
197
205
|
}, z.core.$strip>;
|
|
198
206
|
type Country = z.infer<typeof countrySchema>;
|
|
207
|
+
declare const countryIdShape: z.ZodInt;
|
|
208
|
+
type CountryId = z.infer<typeof countryIdShape>;
|
|
199
209
|
//#endregion
|
|
200
210
|
//#region src/app/flows/(catalog)/country/country.schemas.d.ts
|
|
201
211
|
declare const countrySearchOptionsSchema: z.ZodObject<{
|
|
@@ -257,6 +267,8 @@ declare const measurementUnitSchema: z.ZodObject<{
|
|
|
257
267
|
decimalPlaces: z.ZodInt;
|
|
258
268
|
}, z.core.$strip>;
|
|
259
269
|
type MeasurementUnit = z.infer<typeof measurementUnitSchema>;
|
|
270
|
+
declare const measurementUnitIdShape: z.ZodInt;
|
|
271
|
+
type MeasurementUnitId = z.infer<typeof measurementUnitIdShape>;
|
|
260
272
|
//#endregion
|
|
261
273
|
//#region src/app/flows/(catalog)/measurement-unit/measurement-unit.schemas.d.ts
|
|
262
274
|
type MeasurementUnitListResult = {
|
|
@@ -331,6 +343,8 @@ declare const customerSchema: z.ZodObject<{
|
|
|
331
343
|
createdAt: z.ZodDate;
|
|
332
344
|
}, z.core.$strip>;
|
|
333
345
|
type Customer = z.infer<typeof customerSchema>;
|
|
346
|
+
declare const customerIdShape: z.ZodInt;
|
|
347
|
+
type CustomerId = z.infer<typeof customerIdShape>;
|
|
334
348
|
//#endregion
|
|
335
349
|
//#region src/app/flows/(sales)/customer/customer.schemas.d.ts
|
|
336
350
|
declare const customerSearchOptionsSchema: z.ZodObject<{
|
|
@@ -822,6 +836,8 @@ declare const supplierSchema: z.ZodObject<{
|
|
|
822
836
|
createdAt: z.ZodDate;
|
|
823
837
|
}, z.core.$strip>;
|
|
824
838
|
type Supplier = z.infer<typeof supplierSchema>;
|
|
839
|
+
declare const supplierIdShape: z.ZodInt;
|
|
840
|
+
type SupplierId = z.infer<typeof supplierIdShape>;
|
|
825
841
|
//#endregion
|
|
826
842
|
//#region src/app/flows/(procurement)/supplier/supplier.schemas.d.ts
|
|
827
843
|
declare const supplierSearchOptionsSchema: z.ZodObject<{
|
|
@@ -980,6 +996,8 @@ declare const warehouseSchema: z.ZodObject<{
|
|
|
980
996
|
createdAt: z.ZodDate;
|
|
981
997
|
}, z.core.$strip>;
|
|
982
998
|
type Warehouse = z.infer<typeof warehouseSchema>;
|
|
999
|
+
declare const warehouseIdShape: z.ZodInt;
|
|
1000
|
+
type WarehouseId = z.infer<typeof warehouseIdShape>;
|
|
983
1001
|
//#endregion
|
|
984
1002
|
//#region src/app/flows/(warehouse)/warehouse/warehouse.schemas.d.ts
|
|
985
1003
|
declare const warehouseSearchOptionsSchema: z.ZodObject<{
|
|
@@ -1052,6 +1070,8 @@ declare const currencySchema: z.ZodObject<{
|
|
|
1052
1070
|
sortOrder: z.ZodInt;
|
|
1053
1071
|
}, z.core.$strip>;
|
|
1054
1072
|
type Currency = z.infer<typeof currencySchema>;
|
|
1073
|
+
declare const currencyIdShape: z.ZodInt;
|
|
1074
|
+
type CurrencyId = z.infer<typeof currencyIdShape>;
|
|
1055
1075
|
//#endregion
|
|
1056
1076
|
//#region src/app/domain/(finance)/exchange-rates/exchange-rates.schemas.d.ts
|
|
1057
1077
|
declare const exchangeRateSchema: z.ZodObject<{
|
|
@@ -1061,6 +1081,8 @@ declare const exchangeRateSchema: z.ZodObject<{
|
|
|
1061
1081
|
validFromDate: z.ZodISODate;
|
|
1062
1082
|
}, z.core.$strip>;
|
|
1063
1083
|
type ExchangeRate = z.infer<typeof exchangeRateSchema>;
|
|
1084
|
+
declare const exchangeRateIdShape: z.ZodInt;
|
|
1085
|
+
type ExchangeRateId = z.infer<typeof exchangeRateIdShape>;
|
|
1064
1086
|
//#endregion
|
|
1065
1087
|
//#region src/app/flows/(finance)/exchange-rate/exchange-rate.schemas.d.ts
|
|
1066
1088
|
declare const exchangeRateSearchOptionsSchema: z.ZodObject<{
|
|
@@ -1130,6 +1152,10 @@ declare const productVariantSchema: z.ZodObject<{
|
|
|
1130
1152
|
createdAt: z.ZodDate;
|
|
1131
1153
|
}, z.core.$strip>;
|
|
1132
1154
|
type ProductVariant = z.infer<typeof productVariantSchema>;
|
|
1155
|
+
declare const productVariantIdShape: z.ZodInt;
|
|
1156
|
+
declare const productVariantBarcodeShape: z.ZodString;
|
|
1157
|
+
type ProductVariantId = z.infer<typeof productVariantIdShape>;
|
|
1158
|
+
type ProductVariantBarcode = z.infer<typeof productVariantBarcodeShape>;
|
|
1133
1159
|
//#endregion
|
|
1134
1160
|
//#region src/app/domain/(catalog)/products/products.schemas.d.ts
|
|
1135
1161
|
declare const productSchema: z.ZodObject<{
|
|
@@ -1162,6 +1188,10 @@ declare const productSchema: z.ZodObject<{
|
|
|
1162
1188
|
createdAt: z.ZodDate;
|
|
1163
1189
|
}, z.core.$strip>;
|
|
1164
1190
|
type Product = z.infer<typeof productSchema>;
|
|
1191
|
+
declare const productIdShape: z.ZodInt;
|
|
1192
|
+
declare const productSlugShape: z.ZodString;
|
|
1193
|
+
type ProductId = z.infer<typeof productIdShape>;
|
|
1194
|
+
type ProductSlug = z.infer<typeof productSlugShape>;
|
|
1165
1195
|
//#endregion
|
|
1166
1196
|
//#region src/app/flows/(catalog)/product/product.schemas.d.ts
|
|
1167
1197
|
declare const productSearchOptionsSchema: z.ZodObject<{
|
|
@@ -1368,6 +1398,17 @@ declare const deliveryItemSchema: z.ZodObject<{
|
|
|
1368
1398
|
createdAt: z.ZodDate;
|
|
1369
1399
|
}, z.core.$strip>;
|
|
1370
1400
|
type DeliveryItem = z.infer<typeof deliveryItemSchema>;
|
|
1401
|
+
declare const deliveryItemIdShape: z.ZodInt;
|
|
1402
|
+
declare const deliveryItemQuantityShape: z.ZodNumber;
|
|
1403
|
+
declare const deliveryItemRevisionShape: z.ZodInt;
|
|
1404
|
+
declare const deliveryItemUpdatedByEmployeeSchema: z.ZodObject<{
|
|
1405
|
+
id: z.ZodInt;
|
|
1406
|
+
fullName: z.ZodString;
|
|
1407
|
+
}, z.core.$strip>;
|
|
1408
|
+
type DeliveryItemId = z.infer<typeof deliveryItemIdShape>;
|
|
1409
|
+
type DeliveryItemQuantity = z.infer<typeof deliveryItemQuantityShape>;
|
|
1410
|
+
type DeliveryItemRevision = z.infer<typeof deliveryItemRevisionShape>;
|
|
1411
|
+
type DeliveryItemUpdatedByEmployee = z.infer<typeof deliveryItemUpdatedByEmployeeSchema>;
|
|
1371
1412
|
//#endregion
|
|
1372
1413
|
//#region src/app/domain/(procurement)/deliveries/deliveries.schemas.d.ts
|
|
1373
1414
|
declare const deliverySchema: z.ZodObject<{
|
|
@@ -1388,6 +1429,8 @@ declare const deliverySchema: z.ZodObject<{
|
|
|
1388
1429
|
createdAt: z.ZodDate;
|
|
1389
1430
|
}, z.core.$strip>;
|
|
1390
1431
|
type Delivery = z.infer<typeof deliverySchema>;
|
|
1432
|
+
declare const deliveryIdShape: z.ZodInt;
|
|
1433
|
+
type DeliveryId = z.infer<typeof deliveryIdShape>;
|
|
1391
1434
|
//#endregion
|
|
1392
1435
|
//#region src/app/domain/(warehouse)/stock/stock-balances/stock-balances.schemas.d.ts
|
|
1393
1436
|
declare const stockBalanceSchema: z.ZodObject<{
|
|
@@ -1402,4 +1445,12 @@ declare const stockBalanceSchema: z.ZodObject<{
|
|
|
1402
1445
|
}, z.core.$strip>;
|
|
1403
1446
|
type StockBalance = z.infer<typeof stockBalanceSchema>;
|
|
1404
1447
|
//#endregion
|
|
1405
|
-
|
|
1448
|
+
//#region src/app/domain/(taxation)/tax-categories/tax-categories.schemas.d.ts
|
|
1449
|
+
declare const taxCategoryIdShape: z.ZodInt;
|
|
1450
|
+
type TaxCategoryId = z.infer<typeof taxCategoryIdShape>;
|
|
1451
|
+
//#endregion
|
|
1452
|
+
//#region src/app/domain/(taxation)/tax-rates/tax-rates.schemas.d.ts
|
|
1453
|
+
declare const taxRateIdShape: z.ZodInt;
|
|
1454
|
+
type TaxRateId = z.infer<typeof taxRateIdShape>;
|
|
1455
|
+
//#endregion
|
|
1456
|
+
export type { AuditLogResult, AuditLogSearchPayload, AuditLogSearchResult, AuditLogSelectOneQuery, Brand, BrandCreatePayload, BrandId, BrandSearchOptions, BrandSearchResult, BrandSelectOneQuery, BrandSlug, BrandUpdatePayload, Category, CategoryCreatePayload, CategoryId, CategorySearchOptions, CategorySearchResult, CategorySelectOneQuery, CategorySlug, CategoryUpdatePayload, Country, CountryCreatePayload, CountryId, CountrySearchOptions, CountrySearchResult, CountrySelectOneQuery, CountryUpdatePayload, Currency, CurrencyId, CurrencyListResult, Customer, CustomerCreatePayload, CustomerId, CustomerSearchOptions, CustomerSearchResult, CustomerSelectOneQuery, CustomerUpdatePayload, Delivery, DeliveryCreatePayload, DeliveryCreateResult, DeliveryDeletePayload, DeliveryDetails, DeliveryId, DeliveryItem, DeliveryItemAddPayload, DeliveryItemCatalogDetails, DeliveryItemDeletePayload, DeliveryItemDetails, DeliveryItemId, DeliveryItemQuantity, DeliveryItemResult, DeliveryItemRevision, DeliveryItemScanPayload, DeliveryItemScanResult, DeliveryItemUpdatePayload, DeliveryItemUpdatedByEmployee, DeliveryPostPayload, DeliverySearchItem, DeliverySearchOptions, DeliverySearchResult, DeliverySelectOneQuery, DeliverySelectOneResult, DeliveryUpdatePayload, ExchangeRate, ExchangeRateDateSearchResult, ExchangeRateId, ExchangeRateSearchOptions, ExchangeRateSearchResult, MeasurementUnit, MeasurementUnitId, MeasurementUnitListResult, Product, ProductCreatePayload, ProductCreateResult, ProductDeletePayload, ProductId, ProductImage, ProductImages, ProductSearchOptions, ProductSearchResult, ProductSelectOneQuery, ProductSlug, ProductUpdatePayload, ProductVariant, ProductVariantBarcode, ProductVariantCreatePayload, ProductVariantCreateResult, ProductVariantDeletePayload, ProductVariantId, ProductVariantSearchOptions, ProductVariantSearchResult, ProductVariantSelectOneQuery, ProductVariantUpdatePayload, StockBalance, StockBalanceSearchItem, StockBalanceSearchOptions, StockBalanceSearchResult, Supplier, SupplierCreatePayload, SupplierId, SupplierSearchOptions, SupplierSearchResult, SupplierSelectOneQuery, SupplierSwitchStatusPayload, SupplierUpdatePayload, TaxCategoryId, TaxRateId, Warehouse, WarehouseCreatePayload, WarehouseId, WarehouseSearchOptions, WarehouseSearchResult, WarehouseSelectOneQuery, WarehouseSwitchStatusPayload, WarehouseUpdatePayload };
|