@zdn3517/act-api 0.1.3 → 0.1.4
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/build/types/components-schemas-act/act.d.ts +2 -3
- package/build/types/components-schemas-act/actListItem.d.ts +2 -3
- package/build/types/components-schemas-act/createActRequest.d.ts +1 -3
- package/build/types/components-schemas-act/updateActRequest.d.ts +1 -3
- package/build/types/components-schemas-unit/unit.d.ts +1 -3
- package/build/zod/types.gen.d.ts +7 -15
- package/package.json +1 -1
|
@@ -8,10 +8,9 @@
|
|
|
8
8
|
import type { ActItem } from './actItem';
|
|
9
9
|
export interface Act {
|
|
10
10
|
uuid: string;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
contract_id: string;
|
|
12
|
+
object_id?: string;
|
|
13
13
|
estimate_id?: string;
|
|
14
|
-
kind: string;
|
|
15
14
|
title: string;
|
|
16
15
|
description?: string;
|
|
17
16
|
period_start: string;
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ActListItem {
|
|
9
9
|
uuid: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
contract_id: string;
|
|
11
|
+
object_id?: string;
|
|
12
12
|
estimate_id?: string;
|
|
13
|
-
kind: string;
|
|
14
13
|
title: string;
|
|
15
14
|
description?: string;
|
|
16
15
|
period_start: string;
|
|
@@ -7,10 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateActItem } from './createActItem';
|
|
9
9
|
export interface CreateActRequest {
|
|
10
|
-
|
|
11
|
-
contractor_id?: string;
|
|
10
|
+
contract_id: string;
|
|
12
11
|
estimate_id?: string;
|
|
13
|
-
kind: string;
|
|
14
12
|
title: string;
|
|
15
13
|
description?: string;
|
|
16
14
|
period_start: string;
|
|
@@ -7,10 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateActItem } from './createActItem';
|
|
9
9
|
export interface UpdateActRequest {
|
|
10
|
-
|
|
11
|
-
contractor_id?: string;
|
|
10
|
+
contract_id: string;
|
|
12
11
|
estimate_id?: string;
|
|
13
|
-
kind: string;
|
|
14
12
|
title: string;
|
|
15
13
|
description?: string;
|
|
16
14
|
period_start: string;
|
package/build/zod/types.gen.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export type Act = {
|
|
2
2
|
uuid: string;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
contract_id: string;
|
|
4
|
+
object_id?: string;
|
|
5
5
|
estimate_id?: string;
|
|
6
|
-
kind: string;
|
|
7
6
|
title: string;
|
|
8
7
|
description?: string;
|
|
9
8
|
period_start: string;
|
|
@@ -19,10 +18,9 @@ export type ActItem = {
|
|
|
19
18
|
};
|
|
20
19
|
export type ActListItem = {
|
|
21
20
|
uuid: string;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
contract_id: string;
|
|
22
|
+
object_id?: string;
|
|
24
23
|
estimate_id?: string;
|
|
25
|
-
kind: string;
|
|
26
24
|
title: string;
|
|
27
25
|
description?: string;
|
|
28
26
|
period_start: string;
|
|
@@ -43,10 +41,8 @@ export type CreateActItem = {
|
|
|
43
41
|
price: number;
|
|
44
42
|
};
|
|
45
43
|
export type CreateActRequest = {
|
|
46
|
-
|
|
47
|
-
contractor_id?: string;
|
|
44
|
+
contract_id: string;
|
|
48
45
|
estimate_id?: string;
|
|
49
|
-
kind: string;
|
|
50
46
|
title: string;
|
|
51
47
|
description?: string;
|
|
52
48
|
period_start: string;
|
|
@@ -86,15 +82,11 @@ export type PingResponse = {
|
|
|
86
82
|
message: string;
|
|
87
83
|
};
|
|
88
84
|
export type Unit = {
|
|
89
|
-
|
|
90
|
-
title: string;
|
|
91
|
-
code: string;
|
|
85
|
+
unit: string;
|
|
92
86
|
};
|
|
93
87
|
export type UpdateActRequest = {
|
|
94
|
-
|
|
95
|
-
contractor_id?: string;
|
|
88
|
+
contract_id: string;
|
|
96
89
|
estimate_id?: string;
|
|
97
|
-
kind: string;
|
|
98
90
|
title: string;
|
|
99
91
|
description?: string;
|
|
100
92
|
period_start: string;
|