@pksep/zod-shared 0.0.527 → 0.0.528

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.
Files changed (90) hide show
  1. package/dist/action/dto/actions-by-param.dto.d.ts +2 -2
  2. package/dist/action/schemas/actions.schema.d.ts +23 -18
  3. package/dist/action/schemas/actions.schema.js +2 -1
  4. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +81 -90
  5. package/dist/assemble/schemas/assemble-coming.schema.d.ts +68 -75
  6. package/dist/assemble/schemas/assemble.schema.d.ts +62 -69
  7. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +13 -13
  8. package/dist/buyer/schemas/buyer.schema.d.ts +1 -1
  9. package/dist/cbed/dto/cbed-pagination.dto.d.ts +1 -1
  10. package/dist/cbed/dto/get-one-cbed-dto.d.ts +2 -2
  11. package/dist/cbed/dto/up-create-cbed.dto.d.ts +6 -6
  12. package/dist/cbed/schemas/cbed-material.schema.d.ts +2 -2
  13. package/dist/cbed/schemas/cbed.schema.d.ts +21 -21
  14. package/dist/company/dto/create-company.dto.d.ts +10 -10
  15. package/dist/company/dto/update-company.dto.d.ts +10 -10
  16. package/dist/company/schemas/companies.schema.d.ts +4 -4
  17. package/dist/contact/dto/create-contact.dto.d.ts +6 -6
  18. package/dist/contact/dto/update-contact.dto.d.ts +6 -6
  19. package/dist/contact/schemas/contact.schema.d.ts +3 -3
  20. package/dist/deliveries/dto/create-deliveries.dto.d.ts +3 -3
  21. package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +2 -2
  22. package/dist/deliveries/schemas/deliveries.schema.d.ts +4 -4
  23. package/dist/detal/dto/detal-pagination.dto.d.ts +2 -2
  24. package/dist/detal/dto/get-one-detal-dto.d.ts +1 -1
  25. package/dist/detal/dto/update-detal.dto.d.ts +9 -9
  26. package/dist/detal/schemas/detal-deficit.schema.d.ts +203 -203
  27. package/dist/detal/schemas/detal.schema.d.ts +200 -200
  28. package/dist/document/schemas/documentsSchema.d.ts +4 -4
  29. package/dist/equipment/dto/create-equipment.dto.d.ts +1 -1
  30. package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
  31. package/dist/equipment/schemas/equipment.schema.d.ts +98 -98
  32. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +2 -2
  33. package/dist/expenditure/schema/expenditure.schema.d.ts +2 -2
  34. package/dist/instrument/dto/create-name-instrument.dto.d.ts +1 -1
  35. package/dist/instrument/dto/update-name-instrument.dto.d.ts +2 -2
  36. package/dist/inventary/dto/create-inventary.dto.d.ts +1 -1
  37. package/dist/marks/dto/change-mark-quantity.dto.d.ts +16 -16
  38. package/dist/marks/dto/create-mark.dto.d.ts +8 -8
  39. package/dist/marks/dto/update-mark.dto.d.ts +2 -2
  40. package/dist/marks/schemas/marks.schema.d.ts +8 -8
  41. package/dist/marks/type/type.d.ts +2 -2
  42. package/dist/material/dto/create-material.dto.d.ts +20 -20
  43. package/dist/material/schemas/material-characteristics.schema.d.ts +6 -6
  44. package/dist/material/schemas/material.schema.d.ts +26 -26
  45. package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +4 -4
  46. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
  47. package/dist/movement-error/schemas/movement-error.schema.d.ts +2 -2
  48. package/dist/moving/schemas/moving.schema.d.ts +462 -462
  49. package/dist/operations/dto/create-type-operation.dto.d.ts +0 -4
  50. package/dist/operations/dto/create-type-operation.dto.js +1 -5
  51. package/dist/operations/dto/update-type-operation.dto.d.ts +0 -4
  52. package/dist/operations/dto/update-type-operation.dto.js +1 -5
  53. package/dist/operations/index.d.ts +0 -2
  54. package/dist/operations/index.js +0 -2
  55. package/dist/operations/interfaces/interface.d.ts +0 -5
  56. package/dist/operations/schemas/operation.schema.d.ts +17 -21
  57. package/dist/operations/schemas/operation.schema.js +0 -4
  58. package/dist/operations/schemas/type-operation.schema.d.ts +0 -4
  59. package/dist/operations/schemas/type-operation.schema.js +0 -2
  60. package/dist/product/dto/up-create-product.dto.d.ts +7 -7
  61. package/dist/product/schemas/product-deficit.schema.d.ts +20 -20
  62. package/dist/product/schemas/product-material.schema.d.ts +2 -2
  63. package/dist/product/schemas/product-specification.schema.d.ts +2 -2
  64. package/dist/product/schemas/product.schema.d.ts +17 -17
  65. package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +2 -2
  66. package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
  67. package/dist/production-tasks/interfaces/production-tasks.d.ts +0 -1
  68. package/dist/production-tasks/schemas/operation-positions.schema.d.ts +4 -4
  69. package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +4 -4
  70. package/dist/provider/dto/create-provider.dto.d.ts +4 -4
  71. package/dist/provider/schemas/provider.schema.d.ts +1 -1
  72. package/dist/role/schemas/role.schema.d.ts +451 -451
  73. package/dist/sclad/schemas/remain.schema.d.ts +2 -2
  74. package/dist/sclad/schemas/remains.schema.d.ts +6 -6
  75. package/dist/shipments/dto/get-attributes.dto.d.ts +2 -2
  76. package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +1 -1
  77. package/dist/shipments/dto/shipments-paginate.dto.d.ts +2 -2
  78. package/dist/shipments/schemas/sh-complit.schema.d.ts +2 -2
  79. package/dist/shipments/schemas/shipments.schema.d.ts +2 -2
  80. package/dist/specification/dto/specification-attributes.dto.d.ts +1 -1
  81. package/dist/specification/schema/attributes.schema.d.ts +482 -482
  82. package/dist/stock-order/schemas/stock-order-item.schema.d.ts +2 -2
  83. package/dist/tech-process/schemas/tech-process.schema.d.ts +26 -31
  84. package/dist/thread/dto/add-thread.dto.d.ts +8 -8
  85. package/dist/user/dto/create-user.dto.d.ts +5 -5
  86. package/dist/user/dto/get-one-user.dto.d.ts +2 -2
  87. package/dist/user/schemas/user.schema.d.ts +264 -264
  88. package/dist/waybill/schemas/waybill-product.schema.d.ts +8 -8
  89. package/dist/waybill/schemas/waybill.schema.d.ts +2 -2
  90. package/package.json +1 -1
@@ -39,20 +39,20 @@ export declare const WaybillProductSchema: z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  id: number;
41
41
  quantity: number;
42
- waybill_id: number;
43
42
  sum: number;
43
+ waybill_id: number;
44
44
  entity_type: PositionItemType;
45
45
  worker_type: WaybilTypeComingEnums;
46
46
  description?: string | undefined;
47
47
  assemble_id?: number | null | undefined;
48
- equipment_id?: number | null | undefined;
48
+ cbed_id?: number | null | undefined;
49
49
  provider_id?: number | null | undefined;
50
+ inventary_id?: number | null | undefined;
51
+ equipment_id?: number | null | undefined;
50
52
  material_id?: number | null | undefined;
51
53
  instrument_id?: number | null | undefined;
52
54
  detal_id?: number | null | undefined;
53
- cbed_id?: number | null | undefined;
54
55
  product_id?: number | null | undefined;
55
- inventary_id?: number | null | undefined;
56
56
  metalloworking_id?: number | null | undefined;
57
57
  ez_id?: number | undefined;
58
58
  tools_id?: number | null | undefined;
@@ -61,20 +61,20 @@ export declare const WaybillProductSchema: z.ZodObject<{
61
61
  }, {
62
62
  id: number;
63
63
  quantity: number;
64
- waybill_id: number;
65
64
  sum: number;
65
+ waybill_id: number;
66
66
  entity_type: PositionItemType;
67
67
  worker_type: WaybilTypeComingEnums;
68
68
  description?: string | undefined;
69
69
  assemble_id?: number | null | undefined;
70
- equipment_id?: number | null | undefined;
70
+ cbed_id?: number | null | undefined;
71
71
  provider_id?: number | null | undefined;
72
+ inventary_id?: number | null | undefined;
73
+ equipment_id?: number | null | undefined;
72
74
  material_id?: number | null | undefined;
73
75
  instrument_id?: number | null | undefined;
74
76
  detal_id?: number | null | undefined;
75
- cbed_id?: number | null | undefined;
76
77
  product_id?: number | null | undefined;
77
- inventary_id?: number | null | undefined;
78
78
  metalloworking_id?: number | null | undefined;
79
79
  ez_id?: number | undefined;
80
80
  tools_id?: number | null | undefined;
@@ -19,16 +19,16 @@ export declare const WaybillSchema: z.ZodObject<{
19
19
  name: string;
20
20
  type_сoming: WaybilTypeComingEnums;
21
21
  id?: number | null | undefined;
22
- createdAt?: string | Date | undefined;
23
22
  company_id?: number | undefined;
23
+ createdAt?: string | Date | undefined;
24
24
  }, {
25
25
  name: string;
26
26
  type_сoming: WaybilTypeComingEnums;
27
27
  ban?: boolean | undefined;
28
28
  description?: string | undefined;
29
29
  id?: number | null | undefined;
30
- createdAt?: string | Date | undefined;
31
30
  company_id?: number | undefined;
31
+ createdAt?: string | Date | undefined;
32
32
  }>;
33
33
  export type ModelWaybill = z.infer<typeof WaybillSchema> & {
34
34
  documents?: ModelDocuments[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pksep/zod-shared",
3
- "version": "0.0.527",
3
+ "version": "0.0.528",
4
4
  "description": "Zod package for erp project. Contains dto, interfaces, schems, types, enum",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",