@reviza/api-client 1.0.0-SNAPSHOT-361fefc0 → 1.0.0-SNAPSHOT-6810b023
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.
|
@@ -3,13 +3,11 @@ import { FacilityData } from "../Facility";
|
|
|
3
3
|
import { DocumentData } from "../Document";
|
|
4
4
|
import { UserData } from "../User";
|
|
5
5
|
export type RevisionCreatePayload = {
|
|
6
|
-
duplicate_issues: undefined[];
|
|
7
6
|
facility_ids: number[];
|
|
8
7
|
revision_date: string;
|
|
9
8
|
next_revision_date: string;
|
|
10
9
|
state: FacilityStateEnum;
|
|
11
10
|
issues: RevisionIssueCreatePayload[];
|
|
12
|
-
duplicate_issue_ids: number[];
|
|
13
11
|
revision_type: RevisionTypeEnum;
|
|
14
12
|
custom_revision_type: string | null;
|
|
15
13
|
next_revision_type: RevisionTypeEnum;
|
|
@@ -40,9 +38,11 @@ export type RevisionData = {
|
|
|
40
38
|
deleted_at: string | null;
|
|
41
39
|
};
|
|
42
40
|
export type RevisionIssueCreatePayload = {
|
|
41
|
+
state: RevisionIssueStateEnum;
|
|
43
42
|
resolve_deadline: string;
|
|
44
43
|
description: string;
|
|
45
44
|
note: string | null;
|
|
45
|
+
duplicated_issue_id: number | null;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Includes:
|
|
@@ -57,7 +57,10 @@ export type RevisionIssueData = {
|
|
|
57
57
|
resolve_deadline: string | null;
|
|
58
58
|
resolved_date: string | null;
|
|
59
59
|
resolved_note: string | null;
|
|
60
|
+
duplicated_issue?: RevisionIssueData;
|
|
61
|
+
duplicating_issue?: RevisionIssueData;
|
|
60
62
|
revision?: RevisionData;
|
|
63
|
+
path: string;
|
|
61
64
|
created_at: string;
|
|
62
65
|
updated_at: string;
|
|
63
66
|
deleted_at: string | null;
|
|
@@ -67,6 +70,7 @@ export type RevisionIssueUpdatePayload = {
|
|
|
67
70
|
resolve_deadline: string;
|
|
68
71
|
description: string;
|
|
69
72
|
note: string | null;
|
|
73
|
+
duplicated_issue_id: number | null;
|
|
70
74
|
};
|
|
71
75
|
export type RevisionUpdatePayload = {
|
|
72
76
|
facility_ids: number[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoginPayload, LoginData, RegistrationTokenData, RegisterPayload, ForgotPasswordPayload, PasswordPayload, InvitationPayload } from "../App/Data/Auth";
|
|
2
|
-
import { RevizaResponseData
|
|
2
|
+
import { RevizaResponseData } from "../App/Data";
|
|
3
3
|
import { DataCollection } from "../Spatie/LaravelData";
|
|
4
4
|
import { CategoryData, CategoryCreatePayload, CategoryUpdatePayload, CategoryTreeData } from "../App/Data/Category";
|
|
5
5
|
import { ConfigData } from "../App/Data/Config";
|
|
@@ -270,7 +270,7 @@ export declare const FacilityPictureController: {
|
|
|
270
270
|
export declare namespace FacilityPictureController {
|
|
271
271
|
namespace store {
|
|
272
272
|
type Request = PicturePayload;
|
|
273
|
-
type Response =
|
|
273
|
+
type Response = object;
|
|
274
274
|
}
|
|
275
275
|
namespace show {
|
|
276
276
|
type Request = object;
|