@pksep/zod-shared 0.0.526 → 0.0.527

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 (86) hide show
  1. package/dist/action/dto/actions-by-param.dto.d.ts +2 -2
  2. package/dist/action/schemas/actions.schema.d.ts +18 -18
  3. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +81 -81
  4. package/dist/assemble/schemas/assemble-coming.schema.d.ts +68 -68
  5. package/dist/assemble/schemas/assemble.schema.d.ts +62 -62
  6. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +13 -13
  7. package/dist/buyer/schemas/buyer.schema.d.ts +1 -1
  8. package/dist/cbed/dto/cbed-pagination.dto.d.ts +1 -1
  9. package/dist/cbed/dto/get-one-cbed-dto.d.ts +2 -2
  10. package/dist/cbed/dto/up-create-cbed.dto.d.ts +6 -6
  11. package/dist/cbed/schemas/cbed-material.schema.d.ts +2 -2
  12. package/dist/cbed/schemas/cbed.schema.d.ts +21 -21
  13. package/dist/company/dto/create-company.dto.d.ts +10 -10
  14. package/dist/company/dto/update-company.dto.d.ts +10 -10
  15. package/dist/company/schemas/companies.schema.d.ts +4 -4
  16. package/dist/contact/dto/create-contact.dto.d.ts +6 -6
  17. package/dist/contact/dto/update-contact.dto.d.ts +6 -6
  18. package/dist/contact/schemas/contact.schema.d.ts +3 -3
  19. package/dist/deliveries/dto/create-deliveries.dto.d.ts +3 -3
  20. package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +2 -2
  21. package/dist/deliveries/schemas/deliveries.schema.d.ts +4 -4
  22. package/dist/detal/dto/detal-pagination.dto.d.ts +2 -2
  23. package/dist/detal/dto/get-one-detal-dto.d.ts +1 -1
  24. package/dist/detal/dto/update-detal.dto.d.ts +9 -9
  25. package/dist/detal/schemas/detal-deficit.schema.d.ts +203 -203
  26. package/dist/detal/schemas/detal.schema.d.ts +200 -200
  27. package/dist/document/schemas/documentsSchema.d.ts +4 -4
  28. package/dist/equipment/dto/create-equipment.dto.d.ts +1 -1
  29. package/dist/equipment/dto/update-equipment.dto.d.ts +1 -1
  30. package/dist/equipment/schemas/equipment.schema.d.ts +93 -93
  31. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +2 -2
  32. package/dist/expenditure/schema/expenditure.schema.d.ts +2 -2
  33. package/dist/instrument/dto/create-name-instrument.dto.d.ts +1 -1
  34. package/dist/instrument/dto/update-name-instrument.dto.d.ts +2 -2
  35. package/dist/inventary/dto/create-inventary.dto.d.ts +1 -1
  36. package/dist/marks/dto/change-mark-quantity.dto.d.ts +16 -16
  37. package/dist/marks/dto/create-mark.dto.d.ts +8 -8
  38. package/dist/marks/dto/update-mark.dto.d.ts +2 -2
  39. package/dist/marks/schemas/marks.schema.d.ts +8 -8
  40. package/dist/marks/type/type.d.ts +2 -2
  41. package/dist/material/dto/create-material.dto.d.ts +20 -20
  42. package/dist/material/schemas/material-characteristics.schema.d.ts +6 -6
  43. package/dist/material/schemas/material.schema.d.ts +26 -26
  44. package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +4 -4
  45. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +2 -2
  46. package/dist/movement-error/schemas/movement-error.schema.d.ts +2 -2
  47. package/dist/moving/schemas/moving.schema.d.ts +453 -453
  48. package/dist/operations/dto/create-type-operation.dto.d.ts +2 -2
  49. package/dist/operations/dto/get-type-operation-by-id.dto.d.ts +16 -0
  50. package/dist/operations/dto/get-type-operation-by-id.dto.js +14 -0
  51. package/dist/operations/dto/update-type-operation.dto.d.ts +2 -2
  52. package/dist/operations/enums/enums.d.ts +5 -0
  53. package/dist/operations/enums/enums.js +7 -1
  54. package/dist/operations/index.d.ts +1 -0
  55. package/dist/operations/index.js +1 -0
  56. package/dist/operations/schemas/operation.schema.d.ts +17 -17
  57. package/dist/product/dto/up-create-product.dto.d.ts +7 -7
  58. package/dist/product/schemas/product-deficit.schema.d.ts +20 -20
  59. package/dist/product/schemas/product-material.schema.d.ts +2 -2
  60. package/dist/product/schemas/product-specification.schema.d.ts +2 -2
  61. package/dist/product/schemas/product.schema.d.ts +17 -17
  62. package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +2 -2
  63. package/dist/production-tasks/dto/workload-by-entity.dto.d.ts +2 -2
  64. package/dist/production-tasks/schemas/operation-positions.schema.d.ts +4 -4
  65. package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +4 -4
  66. package/dist/provider/dto/create-provider.dto.d.ts +4 -4
  67. package/dist/provider/schemas/provider.schema.d.ts +1 -1
  68. package/dist/role/schemas/role.schema.d.ts +446 -446
  69. package/dist/sclad/schemas/remain.schema.d.ts +2 -2
  70. package/dist/sclad/schemas/remains.schema.d.ts +6 -6
  71. package/dist/shipments/dto/get-attributes.dto.d.ts +2 -2
  72. package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +1 -1
  73. package/dist/shipments/dto/shipments-paginate.dto.d.ts +2 -2
  74. package/dist/shipments/schemas/sh-complit.schema.d.ts +2 -2
  75. package/dist/shipments/schemas/shipments.schema.d.ts +2 -2
  76. package/dist/specification/dto/specification-attributes.dto.d.ts +1 -1
  77. package/dist/specification/schema/attributes.schema.d.ts +472 -472
  78. package/dist/stock-order/schemas/stock-order-item.schema.d.ts +2 -2
  79. package/dist/tech-process/schemas/tech-process.schema.d.ts +26 -26
  80. package/dist/thread/dto/add-thread.dto.d.ts +8 -8
  81. package/dist/user/dto/create-user.dto.d.ts +5 -5
  82. package/dist/user/dto/get-one-user.dto.d.ts +2 -2
  83. package/dist/user/schemas/user.schema.d.ts +261 -261
  84. package/dist/waybill/schemas/waybill-product.schema.d.ts +8 -8
  85. package/dist/waybill/schemas/waybill.schema.d.ts +2 -2
  86. package/package.json +1 -1
@@ -27,8 +27,8 @@ export declare const StockOrderItemSchema: z.ZodObject<{
27
27
  warehouse_readiness_date: Date | null;
28
28
  description?: string | undefined;
29
29
  id?: number | null | undefined;
30
- cbed_id?: number | null | undefined;
31
30
  detal_id?: number | null | undefined;
31
+ cbed_id?: number | null | undefined;
32
32
  product_id?: number | null | undefined;
33
33
  }, {
34
34
  type: IzdType;
@@ -39,8 +39,8 @@ export declare const StockOrderItemSchema: z.ZodObject<{
39
39
  ban?: boolean | undefined;
40
40
  description?: string | undefined;
41
41
  id?: number | null | undefined;
42
- cbed_id?: number | null | undefined;
43
42
  detal_id?: number | null | undefined;
43
+ cbed_id?: number | null | undefined;
44
44
  product_id?: number | null | undefined;
45
45
  count_create?: number | undefined;
46
46
  }>;
@@ -65,15 +65,15 @@ export declare const TechProcessSchema: z.ZodObject<{
65
65
  status: import("../..").MarkStatusEnums;
66
66
  ban: boolean;
67
67
  id: number;
68
+ assemble_id: number;
69
+ user_id: number;
70
+ metaloworking_id: number;
71
+ production_task_id: number | null;
68
72
  date_build: string;
69
73
  kol: number;
70
- user_id: number;
71
74
  oper_id: number;
72
- assemble_id: number;
73
- metaloworking_id: number;
74
75
  brak: boolean;
75
76
  execution_time: number;
76
- production_task_id: number | null;
77
77
  quantity_shipped: number;
78
78
  description?: string | undefined;
79
79
  assemble_kit_id?: number | null | undefined;
@@ -86,15 +86,15 @@ export declare const TechProcessSchema: z.ZodObject<{
86
86
  status: import("../..").MarkStatusEnums;
87
87
  ban: boolean;
88
88
  id: number;
89
+ assemble_id: number;
90
+ user_id: number;
91
+ metaloworking_id: number;
92
+ production_task_id: number | null;
89
93
  date_build: string;
90
94
  kol: number;
91
- user_id: number;
92
95
  oper_id: number;
93
- assemble_id: number;
94
- metaloworking_id: number;
95
96
  brak: boolean;
96
97
  execution_time: number;
97
- production_task_id: number | null;
98
98
  quantity_shipped: number;
99
99
  description?: string | undefined;
100
100
  assemble_kit_id?: number | null | undefined;
@@ -113,6 +113,7 @@ export declare const TechProcessSchema: z.ZodObject<{
113
113
  helperTime: number;
114
114
  mainTime: number;
115
115
  workStartCalcType: import("../../operations").WorkStartCalcType;
116
+ tech_process_id: number;
116
117
  generalCountTime: string;
117
118
  instrumentList: string;
118
119
  instrumentMerList: string;
@@ -124,21 +125,20 @@ export declare const TechProcessSchema: z.ZodObject<{
124
125
  eqID: number | null;
125
126
  idx: number;
126
127
  tOperationId: number | null;
127
- tech_process_id: number;
128
128
  id?: number | undefined;
129
129
  marks?: {
130
130
  status: import("../..").MarkStatusEnums;
131
131
  ban: boolean;
132
132
  id: number;
133
+ assemble_id: number;
134
+ user_id: number;
135
+ metaloworking_id: number;
136
+ production_task_id: number | null;
133
137
  date_build: string;
134
138
  kol: number;
135
- user_id: number;
136
139
  oper_id: number;
137
- assemble_id: number;
138
- metaloworking_id: number;
139
140
  brak: boolean;
140
141
  execution_time: number;
141
- production_task_id: number | null;
142
142
  quantity_shipped: number;
143
143
  description?: string | undefined;
144
144
  assemble_kit_id?: number | null | undefined;
@@ -159,15 +159,15 @@ export declare const TechProcessSchema: z.ZodObject<{
159
159
  status: import("../..").MarkStatusEnums;
160
160
  ban: boolean;
161
161
  id: number;
162
+ assemble_id: number;
163
+ user_id: number;
164
+ metaloworking_id: number;
165
+ production_task_id: number | null;
162
166
  date_build: string;
163
167
  kol: number;
164
- user_id: number;
165
168
  oper_id: number;
166
- assemble_id: number;
167
- metaloworking_id: number;
168
169
  brak: boolean;
169
170
  execution_time: number;
170
- production_task_id: number | null;
171
171
  quantity_shipped: number;
172
172
  description?: string | undefined;
173
173
  assemble_kit_id?: number | null | undefined;
@@ -210,6 +210,7 @@ export declare const TechProcessSchema: z.ZodObject<{
210
210
  helperTime: number;
211
211
  mainTime: number;
212
212
  workStartCalcType: import("../../operations").WorkStartCalcType;
213
+ tech_process_id: number;
213
214
  generalCountTime: string;
214
215
  instrumentList: string;
215
216
  instrumentMerList: string;
@@ -221,21 +222,20 @@ export declare const TechProcessSchema: z.ZodObject<{
221
222
  eqID: number | null;
222
223
  idx: number;
223
224
  tOperationId: number | null;
224
- tech_process_id: number;
225
225
  id?: number | undefined;
226
226
  marks?: {
227
227
  status: import("../..").MarkStatusEnums;
228
228
  ban: boolean;
229
229
  id: number;
230
+ assemble_id: number;
231
+ user_id: number;
232
+ metaloworking_id: number;
233
+ production_task_id: number | null;
230
234
  date_build: string;
231
235
  kol: number;
232
- user_id: number;
233
236
  oper_id: number;
234
- assemble_id: number;
235
- metaloworking_id: number;
236
237
  brak: boolean;
237
238
  execution_time: number;
238
- production_task_id: number | null;
239
239
  quantity_shipped: number;
240
240
  description?: string | undefined;
241
241
  assemble_kit_id?: number | null | undefined;
@@ -265,15 +265,15 @@ export declare const TechProcessSchema: z.ZodObject<{
265
265
  status: import("../..").MarkStatusEnums;
266
266
  ban: boolean;
267
267
  id: number;
268
+ assemble_id: number;
269
+ user_id: number;
270
+ metaloworking_id: number;
271
+ production_task_id: number | null;
268
272
  date_build: string;
269
273
  kol: number;
270
- user_id: number;
271
274
  oper_id: number;
272
- assemble_id: number;
273
- metaloworking_id: number;
274
275
  brak: boolean;
275
276
  execution_time: number;
276
- production_task_id: number | null;
277
277
  quantity_shipped: number;
278
278
  description?: string | undefined;
279
279
  assemble_kit_id?: number | null | undefined;
@@ -34,10 +34,10 @@ export declare const AddCommentDtoSchema: z.ZodObject<{
34
34
  type?: string | undefined;
35
35
  description?: string | undefined;
36
36
  id?: number | null | undefined;
37
- width?: number | null | undefined;
38
- height?: number | null | undefined;
39
37
  external_id?: number | null | undefined;
40
38
  original_name?: string | undefined;
39
+ width?: number | null | undefined;
40
+ height?: number | null | undefined;
41
41
  size?: number | null | undefined;
42
42
  hash?: string | undefined;
43
43
  }, {
@@ -48,10 +48,10 @@ export declare const AddCommentDtoSchema: z.ZodObject<{
48
48
  ban?: boolean | undefined;
49
49
  description?: string | undefined;
50
50
  id?: number | null | undefined;
51
- width?: number | null | undefined;
52
- height?: number | null | undefined;
53
51
  external_id?: number | null | undefined;
54
52
  original_name?: string | undefined;
53
+ width?: number | null | undefined;
54
+ height?: number | null | undefined;
55
55
  size?: number | null | undefined;
56
56
  version?: number | undefined;
57
57
  ava?: boolean | undefined;
@@ -73,10 +73,10 @@ export declare const AddCommentDtoSchema: z.ZodObject<{
73
73
  type?: string | undefined;
74
74
  description?: string | undefined;
75
75
  id?: number | null | undefined;
76
- width?: number | null | undefined;
77
- height?: number | null | undefined;
78
76
  external_id?: number | null | undefined;
79
77
  original_name?: string | undefined;
78
+ width?: number | null | undefined;
79
+ height?: number | null | undefined;
80
80
  size?: number | null | undefined;
81
81
  hash?: string | undefined;
82
82
  }[] | null | undefined;
@@ -94,10 +94,10 @@ export declare const AddCommentDtoSchema: z.ZodObject<{
94
94
  ban?: boolean | undefined;
95
95
  description?: string | undefined;
96
96
  id?: number | null | undefined;
97
- width?: number | null | undefined;
98
- height?: number | null | undefined;
99
97
  external_id?: number | null | undefined;
100
98
  original_name?: string | undefined;
99
+ width?: number | null | undefined;
100
+ height?: number | null | undefined;
101
101
  size?: number | null | undefined;
102
102
  version?: number | undefined;
103
103
  ava?: boolean | undefined;
@@ -29,6 +29,8 @@ export declare const UpCreateUserDtoSchema: z.ZodObject<{
29
29
  login: string;
30
30
  roles: number | null;
31
31
  initial: string;
32
+ tabel: string;
33
+ dateWork: string;
32
34
  requisites: {
33
35
  value: string;
34
36
  title: {
@@ -36,36 +38,34 @@ export declare const UpCreateUserDtoSchema: z.ZodObject<{
36
38
  value?: string | undefined;
37
39
  };
38
40
  }[];
39
- tabel: string;
40
- dateWork: string;
41
41
  birthday: string;
42
42
  haracteristic: string;
43
43
  primetch: string;
44
44
  documentIds: number[];
45
45
  remoteWork: boolean;
46
- docs?: string | undefined;
47
46
  dateUnWork?: string | undefined;
48
47
  password?: string | undefined;
49
48
  subdivision?: string | null | undefined;
49
+ docs?: string | undefined;
50
50
  newPassword?: string | null | undefined;
51
51
  imageId?: string | undefined;
52
52
  }, {
53
53
  login: string;
54
54
  roles: string | null;
55
55
  initial: string;
56
- requisites: string;
57
56
  tabel: string;
58
57
  dateWork: string;
58
+ requisites: string;
59
59
  birthday: string;
60
60
  haracteristic: string;
61
61
  primetch: string;
62
62
  documentIds: string;
63
63
  remoteWork: string;
64
64
  id?: string | undefined;
65
- docs?: string | undefined;
66
65
  dateUnWork?: string | undefined;
67
66
  password?: string | undefined;
68
67
  subdivision?: string | null | undefined;
68
+ docs?: string | undefined;
69
69
  newPassword?: string | null | undefined;
70
70
  imageId?: string | undefined;
71
71
  }>;
@@ -2,10 +2,10 @@ import { z } from 'zod';
2
2
  export declare const UserIncludeSchema: z.ZodEnum<["role", "documents", "avatars", "detals", "cbeds", "products", "equipments", "actions", "actionsUser", "responsibleForProduct", "responsibleForDocuments", "typeOperations", "tableConfigs"]>;
3
3
  export declare const GetOneUserDtoSchema: z.ZodObject<{
4
4
  id: z.ZodNumber;
5
- includes: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["role", "documents", "avatars", "detals", "cbeds", "products", "equipments", "actions", "actionsUser", "responsibleForProduct", "responsibleForDocuments", "typeOperations", "tableConfigs"]>, "many">>>, ("role" | "documents" | "equipments" | "actions" | "products" | "cbeds" | "responsibleForProduct" | "responsibleForDocuments" | "typeOperations" | "detals" | "avatars" | "actionsUser" | "tableConfigs")[], unknown>;
5
+ includes: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["role", "documents", "avatars", "detals", "cbeds", "products", "equipments", "actions", "actionsUser", "responsibleForProduct", "responsibleForDocuments", "typeOperations", "tableConfigs"]>, "many">>>, ("role" | "documents" | "cbeds" | "products" | "actions" | "responsibleForProduct" | "responsibleForDocuments" | "typeOperations" | "equipments" | "detals" | "avatars" | "actionsUser" | "tableConfigs")[], unknown>;
6
6
  attributes: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[], unknown>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- includes: ("role" | "documents" | "equipments" | "actions" | "products" | "cbeds" | "responsibleForProduct" | "responsibleForDocuments" | "typeOperations" | "detals" | "avatars" | "actionsUser" | "tableConfigs")[];
8
+ includes: ("role" | "documents" | "cbeds" | "products" | "actions" | "responsibleForProduct" | "responsibleForDocuments" | "typeOperations" | "equipments" | "detals" | "avatars" | "actionsUser" | "tableConfigs")[];
9
9
  id: number;
10
10
  attributes: string[];
11
11
  }, {