@turndown/library 0.0.57 → 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.
Files changed (41) hide show
  1. package/dist/types/auth/index.d.ts +1 -0
  2. package/dist/types/auth/index.js +1 -5
  3. package/dist/types/auth/routes.d.ts +64 -0
  4. package/dist/types/auth/routes.js +2 -0
  5. package/dist/types/base/index.d.ts +5 -0
  6. package/dist/types/checklist-template/index.d.ts +4 -8
  7. package/dist/types/checklist-template/index.js +1 -1
  8. package/dist/types/checklist-template/routes.d.ts +56 -0
  9. package/dist/types/checklist-template/routes.js +2 -0
  10. package/dist/types/company/index.d.ts +3 -5
  11. package/dist/types/company/index.js +1 -0
  12. package/dist/types/company/routes.d.ts +24 -0
  13. package/dist/types/company/routes.js +2 -0
  14. package/dist/types/damage-report/index.d.ts +1 -0
  15. package/dist/types/damage-report/index.js +1 -1
  16. package/dist/types/damage-report/routes.d.ts +76 -0
  17. package/dist/types/damage-report/routes.js +2 -0
  18. package/dist/types/inventory/index.d.ts +25 -23
  19. package/dist/types/inventory/index.js +16 -0
  20. package/dist/types/inventory/routes.d.ts +72 -0
  21. package/dist/types/inventory/routes.js +2 -0
  22. package/dist/types/property/index.d.ts +3 -6
  23. package/dist/types/property/index.js +1 -1
  24. package/dist/types/property/routes.d.ts +28 -0
  25. package/dist/types/property/routes.js +2 -0
  26. package/dist/types/room/index.d.ts +3 -4
  27. package/dist/types/room/index.js +1 -1
  28. package/dist/types/room/routes.d.ts +16 -0
  29. package/dist/types/room/routes.js +2 -0
  30. package/dist/types/room-checklist/index.d.ts +3 -4
  31. package/dist/types/room-checklist/index.js +1 -1
  32. package/dist/types/room-checklist/routes.d.ts +56 -0
  33. package/dist/types/room-checklist/routes.js +2 -0
  34. package/dist/types/user/index.d.ts +2 -5
  35. package/dist/types/user/routes.d.ts +16 -0
  36. package/dist/types/user/routes.js +2 -0
  37. package/dist/types/work-session/index.d.ts +1 -0
  38. package/dist/types/work-session/index.js +1 -0
  39. package/dist/types/work-session/routes.d.ts +68 -0
  40. package/dist/types/work-session/routes.js +2 -0
  41. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ export * from "./routes";
1
2
  /**
2
3
  * Authentication Types
3
4
  * Request/Response types for authentication endpoints
@@ -1,5 +1 @@
1
- /**
2
- * Authentication Types
3
- * Request/Response types for authentication endpoints
4
- */
5
- export {};
1
+ export * from "./routes";
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // auth.interfaces.ts
2
+ export {};
@@ -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
- export interface ChecklistTemplate {
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
+ }
@@ -0,0 +1,2 @@
1
+ // checklist-template.interfaces.ts
2
+ export {};
@@ -1,5 +1,6 @@
1
- import { ObjectValues, USStateCodeType } from "../base";
2
- export interface Company {
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";
@@ -1,3 +1,4 @@
1
+ export * from "./routes";
1
2
  export const COMPANY_TYPES = {
2
3
  PROPERTY_MANAGEMENT: "PROPERTY_MANAGEMENT",
3
4
  MAINTENANCE: "MAINTENANCE",
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // company.interfaces.ts
2
+ export {};
@@ -1,3 +1,4 @@
1
+ export * from "./routes";
1
2
  export type DamageSeverity = "MINOR" | "MODERATE" | "SEVERE" | "CRITICAL";
2
3
  export type DamageStatus = "OPEN" | "IN_REVIEW" | "RESOLVED" | "ESCALATED";
3
4
  export interface DamageReport {
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // damage-report.interfaces.ts
2
+ export {};
@@ -1,4 +1,12 @@
1
- import { ObjectValues } from "../base";
1
+ import { MetaData, ObjectValues } from "@/types";
2
+ export * from "./routes";
3
+ declare const INVENTORY_RESTOCK_ORDER_STATUS: {
4
+ readonly PENDING: "PENDING";
5
+ readonly ORDERED: "ORDERED";
6
+ readonly SHIPPED: "SHIPPED";
7
+ readonly RECEIVED: "RECEIVED";
8
+ };
9
+ export type InventoryRestockOrderStatus = ObjectValues<typeof INVENTORY_RESTOCK_ORDER_STATUS>;
2
10
  export declare const INVENTORY_UNITS: {
3
11
  COUNT: string;
4
12
  ROLLS: string;
@@ -7,6 +15,15 @@ export declare const INVENTORY_UNITS: {
7
15
  BOTTLES: string;
8
16
  PACKS: string;
9
17
  BAGS: string;
18
+ GALLONS: string;
19
+ LITERS: string;
20
+ KILOGRAMS: string;
21
+ POUNDS: string;
22
+ OUNCES: string;
23
+ GRAMS: string;
24
+ SHEETS: string;
25
+ CASES: string;
26
+ CARTONS: string;
10
27
  OTHER: string;
11
28
  };
12
29
  export type InventoryUnitType = ObjectValues<typeof INVENTORY_UNITS>;
@@ -15,7 +32,7 @@ export declare const INVENTORY_ITEM_TYPE: {
15
32
  readonly FIXED: "FIXED";
16
33
  };
17
34
  export type InventoryItemType = ObjectValues<typeof INVENTORY_ITEM_TYPE>;
18
- export interface InventoryItem {
35
+ export interface InventoryItem extends MetaData {
19
36
  id: string;
20
37
  companyId: string;
21
38
  name: string;
@@ -30,11 +47,8 @@ export interface InventoryItem {
30
47
  supplierInfo?: string;
31
48
  sku?: string;
32
49
  barcode?: string;
33
- deletedAt?: Date;
34
- createdAt: Date;
35
- updatedAt: Date;
36
50
  }
37
- export interface RoomInventory {
51
+ export interface RoomInventory extends MetaData {
38
52
  id: string;
39
53
  roomId: string;
40
54
  inventoryItemId: string;
@@ -48,11 +62,8 @@ export interface RoomInventory {
48
62
  lastCheckedBy?: string;
49
63
  autoReorder: boolean;
50
64
  locationNotes?: string;
51
- deletedAt?: Date;
52
- createdAt: Date;
53
- updatedAt: Date;
54
65
  }
55
- export interface PropertyInventory {
66
+ export interface PropertyInventory extends MetaData {
56
67
  id: string;
57
68
  propertyId: string;
58
69
  inventoryItemId: string;
@@ -66,9 +77,6 @@ export interface PropertyInventory {
66
77
  lastCheckedBy?: string;
67
78
  autoReorder: boolean;
68
79
  locationNotes?: string;
69
- deletedAt?: Date;
70
- createdAt: Date;
71
- updatedAt: Date;
72
80
  }
73
81
  export interface InventoryCount {
74
82
  id: string;
@@ -89,7 +97,7 @@ export interface InventoryRestockOrder {
89
97
  id: string;
90
98
  companyId: string;
91
99
  orderNumber?: string;
92
- status: "PENDING" | "ORDERED" | "SHIPPED" | "RECEIVED";
100
+ status: InventoryRestockOrderStatus;
93
101
  totalItems?: number;
94
102
  totalCost?: number;
95
103
  orderedBy?: string;
@@ -114,7 +122,7 @@ export interface InventoryRestockOrderItem {
114
122
  totalCost?: number;
115
123
  createdAt: Date;
116
124
  }
117
- export interface RoomInventory {
125
+ export interface RoomInventory extends MetaData {
118
126
  id: string;
119
127
  roomId: string;
120
128
  inventoryItemId: string;
@@ -128,11 +136,8 @@ export interface RoomInventory {
128
136
  lastCheckedBy?: string;
129
137
  autoReorder: boolean;
130
138
  locationNotes?: string;
131
- deletedAt?: Date;
132
- createdAt: Date;
133
- updatedAt: Date;
134
139
  }
135
- export interface PropertyInventory {
140
+ export interface PropertyInventory extends MetaData {
136
141
  id: string;
137
142
  propertyId: string;
138
143
  inventoryItemId: string;
@@ -146,9 +151,6 @@ export interface PropertyInventory {
146
151
  lastCheckedBy?: string;
147
152
  autoReorder: boolean;
148
153
  locationNotes?: string;
149
- deletedAt?: Date;
150
- createdAt: Date;
151
- updatedAt: Date;
152
154
  }
153
155
  export interface InventoryCount {
154
156
  id: string;
@@ -169,7 +171,7 @@ export interface InventoryRestockOrder {
169
171
  id: string;
170
172
  companyId: string;
171
173
  orderNumber?: string;
172
- status: "PENDING" | "ORDERED" | "SHIPPED" | "RECEIVED";
174
+ status: InventoryRestockOrderStatus;
173
175
  totalItems?: number;
174
176
  totalCost?: number;
175
177
  orderedBy?: string;
@@ -1,3 +1,10 @@
1
+ export * from "./routes";
2
+ const INVENTORY_RESTOCK_ORDER_STATUS = {
3
+ PENDING: "PENDING",
4
+ ORDERED: "ORDERED",
5
+ SHIPPED: "SHIPPED",
6
+ RECEIVED: "RECEIVED",
7
+ };
1
8
  export const INVENTORY_UNITS = {
2
9
  COUNT: "COUNT",
3
10
  ROLLS: "ROLLS",
@@ -6,6 +13,15 @@ export const INVENTORY_UNITS = {
6
13
  BOTTLES: "BOTTLES",
7
14
  PACKS: "PACKS",
8
15
  BAGS: "BAGS",
16
+ GALLONS: "GALLONS",
17
+ LITERS: "LITERS",
18
+ KILOGRAMS: "KILOGRAMS",
19
+ POUNDS: "POUNDS",
20
+ OUNCES: "OUNCES",
21
+ GRAMS: "GRAMS",
22
+ SHEETS: "SHEETS",
23
+ CASES: "CASES",
24
+ CARTONS: "CARTONS",
9
25
  OTHER: "OTHER",
10
26
  };
11
27
  export const INVENTORY_ITEM_TYPE = {
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // inventory.interfaces.ts
2
+ export {};
@@ -1,4 +1,5 @@
1
- import { ObjectValues, USStateCodeType } from "../base";
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 {};
@@ -1,3 +1,4 @@
1
+ export * from "./routes";
1
2
  const PROPERTY_TYPES = {
2
3
  HOUSE: "House",
3
4
  APARTMENT: "Apartment",
@@ -22,4 +23,3 @@ const PROPERTY_TYPES = {
22
23
  TREEHOUSE: "Treehouse",
23
24
  OTHER: "Other",
24
25
  };
25
- 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
+ }
@@ -0,0 +1,2 @@
1
+ // property.interfaces.ts
2
+ export {};
@@ -1,11 +1,10 @@
1
- export interface Room {
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
  }
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // room.interfaces.ts
2
+ export {};
@@ -1,14 +1,13 @@
1
+ import { MetaData } from "@/types";
1
2
  import { ChecklistTemplateItem } from "../checklist-template";
2
- export interface RoomChecklist {
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
+ }
@@ -0,0 +1,2 @@
1
+ // room-checklist.interfaces.ts
2
+ export {};
@@ -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,2 @@
1
+ // user.interfaces.ts
2
+ export {};
@@ -1,4 +1,5 @@
1
1
  import { ObjectValues } from "../base";
2
+ export * from "./routes";
2
3
  /**
3
4
  * Work session status enum
4
5
  */
@@ -1,3 +1,4 @@
1
+ export * from "./routes";
1
2
  /**
2
3
  * Work session status enum
3
4
  */
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // work-session.interfaces.ts
2
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turndown/library",
3
- "version": "0.0.57",
3
+ "version": "0.1.1",
4
4
  "description": "Shared TypeScript library for the Turndown suite.",
5
5
  "keywords": [
6
6
  "types",