@reviza/api-client 1.2.0-SNAPSHOT-076cede0 → 1.2.0-SNAPSHOT-df1298f6

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.
@@ -87,7 +87,7 @@ export type FacilityRevisionData = {
87
87
  export type FacilityTreeData = {
88
88
  key: string;
89
89
  label: string;
90
- id: string;
90
+ category_id: number;
91
91
  facilities: FacilityData[];
92
92
  children: FacilityTreeData[];
93
93
  };
@@ -1,7 +1,7 @@
1
1
  import { RevisionTypeEnum, FacilityStateEnum, FacilityTypeEnum, RevisionIssueStateEnum } from "../../Enum";
2
2
  import { DocumentData } from "../Document";
3
3
  import { UserData } from "../User";
4
- import { FacilityIntervalData } from "../Facility";
4
+ import { FacilityIntervalData, FacilityData } from "../Facility";
5
5
  import { CategoryData } from "../Category";
6
6
  export type BaseRevisionData = {
7
7
  id: number;
@@ -73,7 +73,6 @@ export type RevisionFacilityUpdatePayload = {
73
73
  issues: RevisionIssueUpdatePayload[];
74
74
  };
75
75
  export type RevisionIssueCreatePayload = {
76
- state: RevisionIssueStateEnum;
77
76
  resolve_deadline: string;
78
77
  description: string;
79
78
  note: string | null;
@@ -83,6 +82,7 @@ export type RevisionIssueCreatePayload = {
83
82
  /**
84
83
  * Includes:
85
84
  * - revision
85
+ * - facility
86
86
  */
87
87
  export type RevisionIssueData = {
88
88
  id: number;
@@ -98,6 +98,7 @@ export type RevisionIssueData = {
98
98
  group_key: string | null;
99
99
  group_issues?: RevisionIssueData[];
100
100
  revision?: RevisionData;
101
+ facility?: FacilityData;
101
102
  path: string;
102
103
  created_at: string;
103
104
  updated_at: string;
@@ -105,7 +106,6 @@ export type RevisionIssueData = {
105
106
  };
106
107
  export type RevisionIssueUpdatePayload = {
107
108
  id: number | null;
108
- state: RevisionIssueStateEnum | null;
109
109
  resolve_deadline: string;
110
110
  description: string;
111
111
  note: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reviza/api-client",
3
- "version": "1.2.0-SNAPSHOT-076cede0",
3
+ "version": "1.2.0-SNAPSHOT-df1298f6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",