@turndown/library 0.1.0 → 0.1.1
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/dist/types/auth/index.d.ts +1 -0
- package/dist/types/auth/index.js +1 -5
- package/dist/types/auth/routes.d.ts +64 -0
- package/dist/types/auth/routes.js +2 -0
- package/dist/types/base/index.d.ts +5 -0
- package/dist/types/checklist-template/index.d.ts +4 -8
- package/dist/types/checklist-template/index.js +1 -1
- package/dist/types/checklist-template/routes.d.ts +56 -0
- package/dist/types/checklist-template/routes.js +2 -0
- package/dist/types/company/index.d.ts +3 -5
- package/dist/types/company/index.js +1 -0
- package/dist/types/company/routes.d.ts +24 -0
- package/dist/types/company/routes.js +2 -0
- package/dist/types/damage-report/index.d.ts +1 -0
- package/dist/types/damage-report/index.js +1 -1
- package/dist/types/damage-report/routes.d.ts +76 -0
- package/dist/types/damage-report/routes.js +2 -0
- package/dist/types/inventory/index.d.ts +7 -22
- package/dist/types/inventory/index.js +1 -0
- package/dist/types/inventory/routes.d.ts +72 -0
- package/dist/types/inventory/routes.js +2 -0
- package/dist/types/property/index.d.ts +3 -6
- package/dist/types/property/index.js +1 -1
- package/dist/types/property/routes.d.ts +28 -0
- package/dist/types/property/routes.js +2 -0
- package/dist/types/room/index.d.ts +3 -4
- package/dist/types/room/index.js +1 -1
- package/dist/types/room/routes.d.ts +16 -0
- package/dist/types/room/routes.js +2 -0
- package/dist/types/room-checklist/index.d.ts +3 -4
- package/dist/types/room-checklist/index.js +1 -1
- package/dist/types/room-checklist/routes.d.ts +56 -0
- package/dist/types/room-checklist/routes.js +2 -0
- package/dist/types/user/index.d.ts +2 -5
- package/dist/types/user/routes.d.ts +16 -0
- package/dist/types/user/routes.js +2 -0
- package/dist/types/work-session/index.d.ts +1 -0
- package/dist/types/work-session/index.js +1 -0
- package/dist/types/work-session/routes.d.ts +68 -0
- package/dist/types/work-session/routes.js +2 -0
- package/package.json +1 -1
package/dist/types/auth/index.js
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export interface SignupRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface SignupResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface SigninRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SigninResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface RefreshRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface RefreshResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface SignoutRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface SignoutResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface SignoutAllRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface SignoutAllResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface GetMeRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface GetMeResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface GetSessionsRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface GetSessionsResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface RevokeSessionRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface RevokeSessionResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface ChangePasswordRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface ChangePasswordResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface ForgotPasswordRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface ForgotPasswordResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface GetSignInHistoryRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface GetSignInHistoryResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface ValidateInvitationRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface ValidateInvitationResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface SignupWithInvitationRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface SignupWithInvitationResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface AcceptInvitationRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface AcceptInvitationResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface GetPendingInvitationsRequest {
|
|
58
|
+
}
|
|
59
|
+
export interface GetPendingInvitationsResponse {
|
|
60
|
+
}
|
|
61
|
+
export interface RevokeInvitationRequest {
|
|
62
|
+
}
|
|
63
|
+
export interface RevokeInvitationResponse {
|
|
64
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export type GenericTurndownObject = Record<string, any> | any | undefined;
|
|
2
2
|
export type TurndownObject<T = GenericTurndownObject> = Record<string, T> | T | undefined;
|
|
3
|
+
export interface MetaData {
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
updatedAt: Date;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
}
|
|
3
8
|
export type ObjectValues<T> = T[keyof T];
|
|
4
9
|
export type ObjectKeys<T> = [keyof T];
|
|
5
10
|
export type Mode = "CREATE" | "EDIT" | "DELETE" | "DETAILS" | null;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { MetaData } from "@/types";
|
|
2
|
+
export * from "./routes";
|
|
3
|
+
export interface ChecklistTemplate extends MetaData {
|
|
2
4
|
id: string;
|
|
3
5
|
name: string;
|
|
4
6
|
description?: string;
|
|
@@ -6,11 +8,8 @@ export interface ChecklistTemplate {
|
|
|
6
8
|
createdBy: string;
|
|
7
9
|
isActive: boolean;
|
|
8
10
|
items: ChecklistTemplateItem[];
|
|
9
|
-
deletedAt: Date | null;
|
|
10
|
-
createdAt: Date;
|
|
11
|
-
updatedAt: Date;
|
|
12
11
|
}
|
|
13
|
-
export interface ChecklistTemplateItem {
|
|
12
|
+
export interface ChecklistTemplateItem extends MetaData {
|
|
14
13
|
id: string;
|
|
15
14
|
templateId: string;
|
|
16
15
|
title: string;
|
|
@@ -19,9 +18,6 @@ export interface ChecklistTemplateItem {
|
|
|
19
18
|
requiresPhoto: boolean;
|
|
20
19
|
isRequired: boolean;
|
|
21
20
|
estimatedTimeMinutes: number | null;
|
|
22
|
-
deletedAt: Date | null;
|
|
23
|
-
createdAt: Date;
|
|
24
|
-
updatedAt: Date;
|
|
25
21
|
}
|
|
26
22
|
/**
|
|
27
23
|
* Template with items
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./routes";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface CreateTemplateRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateTemplateResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface CreateTemplateWithItemsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateTemplateWithItemsResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface GetTemplatesByCompanyIdRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface GetTemplatesByCompanyIdResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface GetTemplateByIdRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface GetTemplateByIdResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetTemplateWithItemsRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface GetTemplateWithItemsResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface UpdateTemplateRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateTemplateResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface DeleteTemplateRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface DeleteTemplateResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface ToggleTemplateActiveRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface ToggleTemplateActiveResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface GetTemplateUsageRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface GetTemplateUsageResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface GetTemplateItemsRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface GetTemplateItemsResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface AddTemplateItemRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface AddTemplateItemResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface UpdateTemplateItemRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateTemplateItemResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface DeleteTemplateItemRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface DeleteTemplateItemResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface ReorderTemplateItemsRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface ReorderTemplateItemsResponse {
|
|
56
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ObjectValues, USStateCodeType } from "
|
|
2
|
-
export
|
|
1
|
+
import { MetaData, ObjectValues, USStateCodeType } from "@/types";
|
|
2
|
+
export * from "./routes";
|
|
3
|
+
export interface Company extends MetaData {
|
|
3
4
|
id: string;
|
|
4
5
|
displayName: string;
|
|
5
6
|
addressLine1?: string;
|
|
@@ -11,9 +12,6 @@ export interface Company {
|
|
|
11
12
|
country?: string;
|
|
12
13
|
timezone?: string;
|
|
13
14
|
photoUrl?: string;
|
|
14
|
-
deletedAt?: Date;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
updatedAt: Date;
|
|
17
15
|
}
|
|
18
16
|
export declare const COMPANY_TYPES: {
|
|
19
17
|
readonly PROPERTY_MANAGEMENT: "PROPERTY_MANAGEMENT";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface CreateCompanyRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateCompanyResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetCompanyByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCompanyByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateCompanyRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateCompanyResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface InviteUserToCompanyRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface InviteUserToCompanyResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetCompanyUsersRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface GetCompanyUsersResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface GetUserCompaniesRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface GetUserCompaniesResponse {
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./routes";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export interface CreateDamageReportRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateDamageReportResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetDamageReportByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDamageReportByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateDamageReportRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateDamageReportResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface UpdateDamageReportStatusRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface UpdateDamageReportStatusResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface AssignDamageReportRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface AssignDamageReportResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface ResolveDamageReportRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface ResolveDamageReportResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface GetDamageReportsByPropertyIdRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface GetDamageReportsByPropertyIdResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface GetDamageReportsByRoomIdRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface GetDamageReportsByRoomIdResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface GetDamageReportPhotosRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface GetDamageReportPhotosResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface AddDamageReportPhotoRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface AddDamageReportPhotoResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface GetDamageReportCommentsRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface GetDamageReportCommentsResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface AddDamageReportCommentRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface AddDamageReportCommentResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface GetDamageReportHistoryRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface GetDamageReportHistoryResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface CreateWorkOrderRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface CreateWorkOrderResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface GetWorkOrderByIdRequest {
|
|
58
|
+
}
|
|
59
|
+
export interface GetWorkOrderByIdResponse {
|
|
60
|
+
}
|
|
61
|
+
export interface UpdateWorkOrderRequest {
|
|
62
|
+
}
|
|
63
|
+
export interface UpdateWorkOrderResponse {
|
|
64
|
+
}
|
|
65
|
+
export interface AssignWorkOrderRequest {
|
|
66
|
+
}
|
|
67
|
+
export interface AssignWorkOrderResponse {
|
|
68
|
+
}
|
|
69
|
+
export interface CompleteWorkOrderRequest {
|
|
70
|
+
}
|
|
71
|
+
export interface CompleteWorkOrderResponse {
|
|
72
|
+
}
|
|
73
|
+
export interface GetWorkOrdersByPropertyIdRequest {
|
|
74
|
+
}
|
|
75
|
+
export interface GetWorkOrdersByPropertyIdResponse {
|
|
76
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ObjectValues } from "
|
|
1
|
+
import { MetaData, ObjectValues } from "@/types";
|
|
2
|
+
export * from "./routes";
|
|
2
3
|
declare const INVENTORY_RESTOCK_ORDER_STATUS: {
|
|
3
4
|
readonly PENDING: "PENDING";
|
|
4
5
|
readonly ORDERED: "ORDERED";
|
|
@@ -31,7 +32,7 @@ export declare const INVENTORY_ITEM_TYPE: {
|
|
|
31
32
|
readonly FIXED: "FIXED";
|
|
32
33
|
};
|
|
33
34
|
export type InventoryItemType = ObjectValues<typeof INVENTORY_ITEM_TYPE>;
|
|
34
|
-
export interface InventoryItem {
|
|
35
|
+
export interface InventoryItem extends MetaData {
|
|
35
36
|
id: string;
|
|
36
37
|
companyId: string;
|
|
37
38
|
name: string;
|
|
@@ -46,11 +47,8 @@ export interface InventoryItem {
|
|
|
46
47
|
supplierInfo?: string;
|
|
47
48
|
sku?: string;
|
|
48
49
|
barcode?: string;
|
|
49
|
-
deletedAt?: Date;
|
|
50
|
-
createdAt: Date;
|
|
51
|
-
updatedAt: Date;
|
|
52
50
|
}
|
|
53
|
-
export interface RoomInventory {
|
|
51
|
+
export interface RoomInventory extends MetaData {
|
|
54
52
|
id: string;
|
|
55
53
|
roomId: string;
|
|
56
54
|
inventoryItemId: string;
|
|
@@ -64,11 +62,8 @@ export interface RoomInventory {
|
|
|
64
62
|
lastCheckedBy?: string;
|
|
65
63
|
autoReorder: boolean;
|
|
66
64
|
locationNotes?: string;
|
|
67
|
-
deletedAt?: Date;
|
|
68
|
-
createdAt: Date;
|
|
69
|
-
updatedAt: Date;
|
|
70
65
|
}
|
|
71
|
-
export interface PropertyInventory {
|
|
66
|
+
export interface PropertyInventory extends MetaData {
|
|
72
67
|
id: string;
|
|
73
68
|
propertyId: string;
|
|
74
69
|
inventoryItemId: string;
|
|
@@ -82,9 +77,6 @@ export interface PropertyInventory {
|
|
|
82
77
|
lastCheckedBy?: string;
|
|
83
78
|
autoReorder: boolean;
|
|
84
79
|
locationNotes?: string;
|
|
85
|
-
deletedAt?: Date;
|
|
86
|
-
createdAt: Date;
|
|
87
|
-
updatedAt: Date;
|
|
88
80
|
}
|
|
89
81
|
export interface InventoryCount {
|
|
90
82
|
id: string;
|
|
@@ -130,7 +122,7 @@ export interface InventoryRestockOrderItem {
|
|
|
130
122
|
totalCost?: number;
|
|
131
123
|
createdAt: Date;
|
|
132
124
|
}
|
|
133
|
-
export interface RoomInventory {
|
|
125
|
+
export interface RoomInventory extends MetaData {
|
|
134
126
|
id: string;
|
|
135
127
|
roomId: string;
|
|
136
128
|
inventoryItemId: string;
|
|
@@ -144,11 +136,8 @@ export interface RoomInventory {
|
|
|
144
136
|
lastCheckedBy?: string;
|
|
145
137
|
autoReorder: boolean;
|
|
146
138
|
locationNotes?: string;
|
|
147
|
-
deletedAt?: Date;
|
|
148
|
-
createdAt: Date;
|
|
149
|
-
updatedAt: Date;
|
|
150
139
|
}
|
|
151
|
-
export interface PropertyInventory {
|
|
140
|
+
export interface PropertyInventory extends MetaData {
|
|
152
141
|
id: string;
|
|
153
142
|
propertyId: string;
|
|
154
143
|
inventoryItemId: string;
|
|
@@ -162,9 +151,6 @@ export interface PropertyInventory {
|
|
|
162
151
|
lastCheckedBy?: string;
|
|
163
152
|
autoReorder: boolean;
|
|
164
153
|
locationNotes?: string;
|
|
165
|
-
deletedAt?: Date;
|
|
166
|
-
createdAt: Date;
|
|
167
|
-
updatedAt: Date;
|
|
168
154
|
}
|
|
169
155
|
export interface InventoryCount {
|
|
170
156
|
id: string;
|
|
@@ -210,4 +196,3 @@ export interface InventoryRestockOrderItem {
|
|
|
210
196
|
totalCost?: number;
|
|
211
197
|
createdAt: Date;
|
|
212
198
|
}
|
|
213
|
-
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export interface CreateInventoryItemRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateInventoryItemResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetInventoryItemByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetInventoryItemByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateInventoryItemRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateInventoryItemResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface DeleteInventoryItemRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteInventoryItemResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetInventoryByCompanyIdRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface GetInventoryByCompanyIdResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface AddInventoryToPropertyRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface AddInventoryToPropertyResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface GetPropertyInventoryRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface GetPropertyInventoryResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface GetPropertyInventoryNeedingRestockRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface GetPropertyInventoryNeedingRestockResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface AddInventoryToRoomRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface AddInventoryToRoomResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface GetRoomInventoryRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface GetRoomInventoryResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface UpdateRoomInventoryRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface UpdateRoomInventoryResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface GetRoomInventoryNeedingRestockRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface GetRoomInventoryNeedingRestockResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface RecordInventoryCountRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface RecordInventoryCountResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface GetInventoryCountsByExecutionIdRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface GetInventoryCountsByExecutionIdResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface CreateRestockOrderRequest {
|
|
58
|
+
}
|
|
59
|
+
export interface CreateRestockOrderResponse {
|
|
60
|
+
}
|
|
61
|
+
export interface GetRestockOrdersByCompanyIdRequest {
|
|
62
|
+
}
|
|
63
|
+
export interface GetRestockOrdersByCompanyIdResponse {
|
|
64
|
+
}
|
|
65
|
+
export interface GetRestockOrderItemsRequest {
|
|
66
|
+
}
|
|
67
|
+
export interface GetRestockOrderItemsResponse {
|
|
68
|
+
}
|
|
69
|
+
export interface UpdateRestockOrderStatusRequest {
|
|
70
|
+
}
|
|
71
|
+
export interface UpdateRestockOrderStatusResponse {
|
|
72
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ObjectValues, USStateCodeType } from "
|
|
1
|
+
import { MetaData, ObjectValues, USStateCodeType } from "@/types";
|
|
2
|
+
export * from "./routes";
|
|
2
3
|
declare const PROPERTY_TYPES: {
|
|
3
4
|
readonly HOUSE: "House";
|
|
4
5
|
readonly APARTMENT: "Apartment";
|
|
@@ -24,7 +25,7 @@ declare const PROPERTY_TYPES: {
|
|
|
24
25
|
readonly OTHER: "Other";
|
|
25
26
|
};
|
|
26
27
|
export type PropertyType = ObjectValues<typeof PROPERTY_TYPES>;
|
|
27
|
-
export interface Property {
|
|
28
|
+
export interface Property extends MetaData {
|
|
28
29
|
id: string;
|
|
29
30
|
displayName: string;
|
|
30
31
|
addressLine1?: string;
|
|
@@ -39,9 +40,6 @@ export interface Property {
|
|
|
39
40
|
photoUrl?: string;
|
|
40
41
|
companyId: string;
|
|
41
42
|
specialNotes?: string;
|
|
42
|
-
deletedAt?: Date;
|
|
43
|
-
createdAt: Date;
|
|
44
|
-
updatedAt: Date;
|
|
45
43
|
}
|
|
46
44
|
export interface PropertyAccessInformation {
|
|
47
45
|
propertyId: string;
|
|
@@ -53,4 +51,3 @@ export interface PropertyAccessInformation {
|
|
|
53
51
|
parkingInfo?: string;
|
|
54
52
|
specialNotes?: string;
|
|
55
53
|
}
|
|
56
|
-
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface CreatePropertyRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreatePropertyResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetPropertyByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetPropertyByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdatePropertyRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdatePropertyResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface DeletePropertyRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface DeletePropertyResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetPropertiesByCompanyIdRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface GetPropertiesByCompanyIdResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface UpdatePropertyAccessInformationRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface UpdatePropertyAccessInformationResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface GetPropertyAccessInformationRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface GetPropertyAccessInformationResponse {
|
|
28
|
+
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { MetaData } from "@/types";
|
|
2
|
+
export * from "./routes";
|
|
3
|
+
export interface Room extends MetaData {
|
|
2
4
|
id: string;
|
|
3
5
|
displayName: string;
|
|
4
6
|
checklistTemplateId?: string;
|
|
5
7
|
heroPhoto?: string;
|
|
6
8
|
propertyId: string;
|
|
7
9
|
description?: string;
|
|
8
|
-
deletedAt?: Date;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
updatedAt: Date;
|
|
11
10
|
}
|
package/dist/types/room/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./routes";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface CreateRoomRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateRoomResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetRoomsByPropertyIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetRoomsByPropertyIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateRoomRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateRoomResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface DeleteRoomRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteRoomResponse {
|
|
16
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import { MetaData } from "@/types";
|
|
1
2
|
import { ChecklistTemplateItem } from "../checklist-template";
|
|
2
|
-
export
|
|
3
|
+
export * from "./routes";
|
|
4
|
+
export interface RoomChecklist extends MetaData {
|
|
3
5
|
id: string;
|
|
4
6
|
roomId: string;
|
|
5
7
|
templateId?: string;
|
|
6
8
|
name: string;
|
|
7
9
|
isActive: boolean;
|
|
8
10
|
items: RoomChecklistItem[];
|
|
9
|
-
deletedAt: Date | null;
|
|
10
|
-
createdAt: Date;
|
|
11
|
-
updatedAt: Date;
|
|
12
11
|
}
|
|
13
12
|
export interface RoomChecklistItem extends ChecklistTemplateItem {
|
|
14
13
|
roomChecklistId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./routes";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface CreateChecklistRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateChecklistResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface CreateCustomChecklistRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateCustomChecklistResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface GetChecklistByRoomIdRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface GetChecklistByRoomIdResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface GetChecklistByIdRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface GetChecklistByIdResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetChecklistWithItemsRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface GetChecklistWithItemsResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface UpdateChecklistRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateChecklistResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface DeleteChecklistRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface DeleteChecklistResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface CloneChecklistRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface CloneChecklistResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface GetChecklistItemsRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface GetChecklistItemsResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface GetCustomChecklistItemsRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface GetCustomChecklistItemsResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface AddChecklistItemRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface AddChecklistItemResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface UpdateChecklistItemRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateChecklistItemResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface DeleteChecklistItemRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface DeleteChecklistItemResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface ReorderChecklistItemsRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface ReorderChecklistItemsResponse {
|
|
56
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ObjectValues } from "@/types";
|
|
2
|
-
export interface User {
|
|
1
|
+
import { MetaData, ObjectValues } from "@/types";
|
|
2
|
+
export interface User extends MetaData {
|
|
3
3
|
id: string;
|
|
4
4
|
firstName: string;
|
|
5
5
|
lastName?: string;
|
|
@@ -19,9 +19,6 @@ export interface User {
|
|
|
19
19
|
phoneFormat?: string;
|
|
20
20
|
preferredLanguage?: Language;
|
|
21
21
|
companyId?: string;
|
|
22
|
-
deletedAt: Date;
|
|
23
|
-
createdAt: Date;
|
|
24
|
-
updatedAt: Date;
|
|
25
22
|
biometrics?: string;
|
|
26
23
|
}
|
|
27
24
|
export interface UserSafe extends Omit<User, "passwordHash" | "signinAttempts" | "biometrics"> {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface GetCurrentUserRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface GetCurrentUserResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetUserByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetUserByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateUserRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface UpdateUserResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface DeleteUserRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteUserResponse {
|
|
16
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export interface CreateWorkSessionRequest {
|
|
2
|
+
}
|
|
3
|
+
export interface CreateWorkSessionResponse {
|
|
4
|
+
}
|
|
5
|
+
export interface GetWorkSessionByIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetWorkSessionByIdResponse {
|
|
8
|
+
}
|
|
9
|
+
export interface GetWorkSessionWithExecutionsRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface GetWorkSessionWithExecutionsResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface UpdateWorkSessionRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface UpdateWorkSessionResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface CompleteWorkSessionRequest {
|
|
18
|
+
}
|
|
19
|
+
export interface CompleteWorkSessionResponse {
|
|
20
|
+
}
|
|
21
|
+
export interface CancelWorkSessionRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface CancelWorkSessionResponse {
|
|
24
|
+
}
|
|
25
|
+
export interface GetWorkSessionsByPropertyIdRequest {
|
|
26
|
+
}
|
|
27
|
+
export interface GetWorkSessionsByPropertyIdResponse {
|
|
28
|
+
}
|
|
29
|
+
export interface GetActiveWorkSessionRequest {
|
|
30
|
+
}
|
|
31
|
+
export interface GetActiveWorkSessionResponse {
|
|
32
|
+
}
|
|
33
|
+
export interface GetWorkSessionsByUserIdRequest {
|
|
34
|
+
}
|
|
35
|
+
export interface GetWorkSessionsByUserIdResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface GetChecklistExecutionsRequest {
|
|
38
|
+
}
|
|
39
|
+
export interface GetChecklistExecutionsResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface GetChecklistExecutionByIdRequest {
|
|
42
|
+
}
|
|
43
|
+
export interface GetChecklistExecutionByIdResponse {
|
|
44
|
+
}
|
|
45
|
+
export interface StartChecklistExecutionRequest {
|
|
46
|
+
}
|
|
47
|
+
export interface StartChecklistExecutionResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface CompleteChecklistExecutionRequest {
|
|
50
|
+
}
|
|
51
|
+
export interface CompleteChecklistExecutionResponse {
|
|
52
|
+
}
|
|
53
|
+
export interface SkipChecklistExecutionRequest {
|
|
54
|
+
}
|
|
55
|
+
export interface SkipChecklistExecutionResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface GetExecutionProgressRequest {
|
|
58
|
+
}
|
|
59
|
+
export interface GetExecutionProgressResponse {
|
|
60
|
+
}
|
|
61
|
+
export interface GetExecutionItemsRequest {
|
|
62
|
+
}
|
|
63
|
+
export interface GetExecutionItemsResponse {
|
|
64
|
+
}
|
|
65
|
+
export interface CompleteExecutionItemRequest {
|
|
66
|
+
}
|
|
67
|
+
export interface CompleteExecutionItemResponse {
|
|
68
|
+
}
|