@reviza/api-client 1.0.0-SNAPSHOT-66371933 → 1.0.0-SNAPSHOT-8d68c62a

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.
@@ -6,12 +6,11 @@ export type RevisionCreatePayload = {
6
6
  revision_date: string;
7
7
  next_revision_date: string;
8
8
  state: FacilityStateEnum;
9
- issues: RevisionIssuePayload[] | null;
9
+ issues: RevisionIssueCreatePayload[] | null;
10
10
  revision_type: RevisionTypeEnum;
11
11
  custom_revision_type: string | null;
12
12
  next_revision_type: RevisionTypeEnum;
13
13
  next_custom_revision_type: string | null;
14
- virtual_revision_technician_id: number | null;
15
14
  };
16
15
  /**
17
16
  * Includes:
@@ -37,12 +36,17 @@ export type RevisionData = {
37
36
  updated_at: string | null;
38
37
  deleted_at: string | null;
39
38
  };
39
+ export type RevisionIssueCreatePayload = {
40
+ resolve_deadline: string;
41
+ description: string;
42
+ };
40
43
  /**
41
44
  * Includes:
42
45
  * - revision
43
46
  */
44
47
  export type RevisionIssueData = {
45
48
  id: number;
49
+ number: number;
46
50
  description: string;
47
51
  resolve_deadline: string | null;
48
52
  resolved_date: string | null;
@@ -52,21 +56,18 @@ export type RevisionIssueData = {
52
56
  updated_at: string;
53
57
  deleted_at: string | null;
54
58
  };
55
- export type RevisionIssuePayload = {
59
+ export type RevisionIssueUpdatePayload = {
60
+ id: number | null;
56
61
  resolve_deadline: string;
57
62
  description: string;
58
- resolved_date: string | null;
59
- resolved_note: string | null;
60
- id: number | null;
61
63
  };
62
64
  export type RevisionUpdatePayload = {
63
65
  revision_date: string;
64
66
  next_revision_date: string;
65
67
  state: FacilityStateEnum;
66
- issues: RevisionIssuePayload[] | null;
68
+ issues: RevisionIssueUpdatePayload[] | null;
67
69
  revision_type: RevisionTypeEnum;
68
70
  custom_revision_type: string | null;
69
71
  next_revision_type: RevisionTypeEnum;
70
72
  next_custom_revision_type: string | null;
71
- virtual_revision_technician_id: number | null;
72
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reviza/api-client",
3
- "version": "1.0.0-SNAPSHOT-66371933",
3
+ "version": "1.0.0-SNAPSHOT-8d68c62a",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",