@turndown/library 0.1.16 → 0.1.22

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 (60) hide show
  1. package/dist/helpers/date/index.d.ts +113 -0
  2. package/dist/helpers/date/index.js +171 -0
  3. package/dist/helpers/index.d.ts +3 -1
  4. package/dist/helpers/index.js +2 -1
  5. package/dist/helpers/object/index.d.ts +160 -75
  6. package/dist/helpers/object/index.js +355 -168
  7. package/dist/helpers/string/index.d.ts +227 -74
  8. package/dist/helpers/string/index.js +448 -114
  9. package/dist/types/api/index.d.ts +22 -11
  10. package/dist/types/api/index.js +9 -2
  11. package/dist/types/auth/index.d.ts +56 -18
  12. package/dist/types/auth/index.js +7 -0
  13. package/dist/types/auth/routes.d.ts +76 -47
  14. package/dist/types/auth/routes.js +0 -1
  15. package/dist/types/base/index.d.ts +200 -69
  16. package/dist/types/base/index.js +116 -0
  17. package/dist/types/base/paging.types.d.ts +11 -11
  18. package/dist/types/checklist-template/index.d.ts +8 -8
  19. package/dist/types/checklist-template/routes.d.ts +57 -28
  20. package/dist/types/checklist-template/routes.js +0 -1
  21. package/dist/types/company/index.d.ts +5 -5
  22. package/dist/types/company/routes.d.ts +81 -33
  23. package/dist/types/company/routes.js +0 -1
  24. package/dist/types/damage-report/index.d.ts +9 -9
  25. package/dist/types/damage-report/routes.d.ts +128 -51
  26. package/dist/types/damage-report/routes.js +0 -1
  27. package/dist/types/errors/index.d.ts +15 -16
  28. package/dist/types/errors/index.js +17 -7
  29. package/dist/types/health/index.d.ts +20 -0
  30. package/dist/types/health/index.js +1 -0
  31. package/dist/types/health/routes.d.ts +10 -0
  32. package/dist/types/health/routes.js +1 -0
  33. package/dist/types/image/index.d.ts +34 -0
  34. package/dist/types/image/index.js +11 -0
  35. package/dist/types/image/routes.d.ts +32 -0
  36. package/dist/types/image/routes.js +1 -0
  37. package/dist/types/index.d.ts +3 -0
  38. package/dist/types/index.js +3 -0
  39. package/dist/types/inventory/index.d.ts +13 -87
  40. package/dist/types/inventory/routes.d.ts +73 -36
  41. package/dist/types/inventory/routes.js +0 -1
  42. package/dist/types/job/index.d.ts +7 -0
  43. package/dist/types/job/index.js +1 -0
  44. package/dist/types/property/index.d.ts +88 -29
  45. package/dist/types/property/index.js +23 -23
  46. package/dist/types/property/routes.d.ts +40 -14
  47. package/dist/types/property/routes.js +0 -1
  48. package/dist/types/room/index.d.ts +4 -4
  49. package/dist/types/room/routes.d.ts +27 -8
  50. package/dist/types/room/routes.js +0 -1
  51. package/dist/types/room-checklist/index.d.ts +9 -9
  52. package/dist/types/room-checklist/routes.d.ts +50 -28
  53. package/dist/types/room-checklist/routes.js +0 -1
  54. package/dist/types/user/index.d.ts +12 -12
  55. package/dist/types/user/routes.d.ts +26 -16
  56. package/dist/types/user/routes.js +0 -1
  57. package/dist/types/work-session/index.d.ts +12 -12
  58. package/dist/types/work-session/routes.d.ts +55 -34
  59. package/dist/types/work-session/routes.js +0 -1
  60. package/package.json +14 -5
@@ -2,11 +2,18 @@
2
2
  * API Response Types
3
3
  * Standard response structure for all API endpoints
4
4
  */
5
+ export const HTTP_METHOD = {
6
+ Get: "GET",
7
+ Post: "POST",
8
+ Put: "PUT",
9
+ Patch: "PATCH",
10
+ Delete: "DELETE",
11
+ };
5
12
  /**
6
13
  * Error Codes
7
14
  * Standardized error codes used across the platform
8
15
  */
9
- export const ErrorCodes = {
16
+ export const ERROR_CODES = {
10
17
  // 400 - Bad Request
11
18
  BAD_REQUEST: "BAD_REQUEST",
12
19
  VALIDATION_ERROR: "VALIDATION_ERROR",
@@ -32,7 +39,7 @@ export const ErrorCodes = {
32
39
  * HTTP Status Codes
33
40
  * Common status codes used in responses
34
41
  */
35
- export const HttpStatus = {
42
+ export const HTTP_STATUS = {
36
43
  OK: 200,
37
44
  CREATED: 201,
38
45
  NO_CONTENT: 204,
@@ -1,40 +1,78 @@
1
1
  export * from "./routes";
2
- /**
3
- * Authentication Types
4
- * Request/Response types for authentication endpoints
5
- */
6
- import { UserSafe } from "../user";
2
+ import type { TServiceType } from "../base";
3
+ import type { IUserSafe } from "../user";
4
+ export declare const AUTH_STATUS: {
5
+ readonly Initializing: "Initializing";
6
+ readonly Unauthenticated: "Unauthenticated";
7
+ readonly Authenticated: "Authenticated";
8
+ readonly Refreshing: "Refreshing";
9
+ readonly SessionExpired: "SessionExpired";
10
+ };
11
+ export type TAuthStatus = (typeof AUTH_STATUS)[keyof typeof AUTH_STATUS];
7
12
  /**
8
13
  * Token Payload
9
14
  * JWT token payload structure
10
15
  */
11
- export interface TokenPayload {
16
+ export interface ITokenPayload {
12
17
  userId: string;
13
18
  email: string;
14
19
  name: string;
15
20
  }
16
- export interface RefreshTokenData {
21
+ export interface IRefreshTokenData {
17
22
  token: string;
18
23
  tokenHash: string;
19
24
  tokenFamily: string;
20
25
  expiresAt: string;
21
26
  }
22
- /**
23
- * Auth Token Response
24
- * Standard structure for authentication responses with tokens
25
- */
26
- export interface AuthTokenResponse {
27
- user: UserSafe;
27
+ export interface IAuthTokenResponse {
28
+ user: IUserSafe;
28
29
  accessToken: string;
29
30
  refreshToken: string;
30
- expiresAt: string;
31
+ expiresAt?: string | null;
31
32
  companyId?: string;
32
33
  }
34
+ export interface IStoredAuthSession {
35
+ accessToken: string | null;
36
+ refreshToken: string | null;
37
+ expiresAt?: string | null;
38
+ }
39
+ export interface IAuthTokens {
40
+ accessToken: string | null;
41
+ /**
42
+ * For browser apps, prefer storing the refresh token in an HTTP-only cookie.
43
+ * Keep this optional so the same shape can support mobile or non-cookie flows.
44
+ */
45
+ refreshToken?: string | null;
46
+ expiresAt?: string | null;
47
+ }
48
+ export interface IAuthSession {
49
+ authenticatedUser: IUserSafe | null;
50
+ accessToken: string | null;
51
+ expiresAt?: string | null;
52
+ }
53
+ export interface ISetAuthSessionParams {
54
+ user: IUserSafe | null;
55
+ accessToken: string;
56
+ refreshToken: string;
57
+ expiresAt?: string | null;
58
+ }
59
+ export interface ILoginCredentials {
60
+ email: string;
61
+ password: string;
62
+ rememberMe: boolean;
63
+ }
64
+ export interface IRegisterCredentials {
65
+ businessType: TServiceType[];
66
+ firstName: string;
67
+ lastName: string;
68
+ email: string;
69
+ password: string;
70
+ }
33
71
  /**
34
72
  * Password Validation Rules
35
73
  * Rules for password validation
36
74
  */
37
- export interface PasswordValidationRules {
75
+ export interface IPasswordValidationRules {
38
76
  minLength: number;
39
77
  requireUppercase: boolean;
40
78
  requireLowercase: boolean;
@@ -45,7 +83,7 @@ export interface PasswordValidationRules {
45
83
  * Password Validation Result
46
84
  * Result of password validation
47
85
  */
48
- export interface PasswordValidationResult {
86
+ export interface IPasswordValidationResult {
49
87
  valid: boolean;
50
88
  errors: string[];
51
89
  }
@@ -53,7 +91,7 @@ export interface PasswordValidationResult {
53
91
  * Email Validation Result
54
92
  * Result of email validation
55
93
  */
56
- export interface EmailValidationResult {
94
+ export interface IEmailValidationResult {
57
95
  valid: boolean;
58
96
  error?: string;
59
97
  }
@@ -61,7 +99,7 @@ export interface EmailValidationResult {
61
99
  * Rate Limit Status
62
100
  * Information about rate limiting status
63
101
  */
64
- export interface RateLimitStatus {
102
+ export interface IRateLimitStatus {
65
103
  isLimited: boolean;
66
104
  attempts: number;
67
105
  maxAttempts: number;
@@ -1 +1,8 @@
1
1
  export * from "./routes";
2
+ export const AUTH_STATUS = {
3
+ Initializing: "Initializing",
4
+ Unauthenticated: "Unauthenticated",
5
+ Authenticated: "Authenticated",
6
+ Refreshing: "Refreshing",
7
+ SessionExpired: "SessionExpired",
8
+ };
@@ -1,75 +1,89 @@
1
- import { AuthTokenResponse } from "..";
2
- import { AccountType, DeviceInfo } from "../user";
3
- import { GetUserResponse } from "../user/routes";
4
- export interface RegisterRequest {
1
+ import type { IAuthTokenResponse } from "..";
2
+ import type { TAccountType, IDeviceInfo, IUserSafe } from "../user";
3
+ import type { IGetUserResponse } from "../user/routes";
4
+ export interface IAuthSessionIdParams {
5
+ sessionId: string;
6
+ }
7
+ export interface IAuthInvitationTokenParams {
8
+ token: string;
9
+ }
10
+ export interface IAuthInvitationIdParams {
11
+ invitationId: string;
12
+ }
13
+ export interface IRegisterRequest {
5
14
  email: string;
6
15
  password: string;
7
16
  firstName: string;
8
17
  lastName?: string;
9
- accountType: AccountType;
10
- deviceInfo?: DeviceInfo;
18
+ accountType: TAccountType;
19
+ deviceInfo?: IDeviceInfo;
11
20
  }
12
- export interface RegisterResponse extends AuthTokenResponse {
21
+ export interface IRegisterResponse extends IAuthTokenResponse {
13
22
  }
14
- export interface LoginRequest {
23
+ export interface ILoginRequest {
15
24
  email: string;
16
25
  password: string;
17
- deviceInfo?: DeviceInfo;
26
+ deviceInfo?: IDeviceInfo;
18
27
  }
19
- export interface LoginResponse extends AuthTokenResponse {
28
+ export interface ILoginResponse extends IAuthTokenResponse {
20
29
  passwordResetRequired?: boolean;
21
30
  }
22
- export interface RefreshRequest {
31
+ export interface IRefreshSessionRequest {
23
32
  refreshToken: string;
24
- deviceInfo?: DeviceInfo;
25
- }
26
- export interface RefreshResponse extends AuthTokenResponse {
33
+ deviceInfo?: IDeviceInfo;
27
34
  }
28
- export interface LogoutRequest {
35
+ export interface IRefreshSessionResponse {
36
+ user?: IUserSafe;
37
+ accessToken: string;
29
38
  refreshToken: string;
39
+ expiresAt?: string | null;
40
+ companyId?: string;
30
41
  }
31
- export interface LogoutResponse {
42
+ export interface ILogoutRequest {
43
+ refreshToken?: string;
44
+ }
45
+ export interface ILogoutResponse {
32
46
  message: string;
33
47
  }
34
- export interface LogoutAllRequest {
48
+ export interface ILogoutAllRequest {
35
49
  userId: string;
36
50
  }
37
- export interface LogoutAllResponse {
51
+ export interface ILogoutAllResponse {
38
52
  message: string;
39
53
  }
40
- export interface GetMeRequest {
54
+ export interface IGetMeRequest {
41
55
  userId: string;
42
56
  }
43
- export interface GetMeResponse extends GetUserResponse {
57
+ export interface IGetMeResponse extends IGetUserResponse {
44
58
  }
45
- export interface GetSessionsRequest {
59
+ export interface IGetSessionsRequest {
46
60
  }
47
- export interface GetSessionsResponse {
61
+ export interface IGetSessionsResponse {
48
62
  id: string;
49
63
  deviceInfo: string;
50
64
  createdAt: string;
51
65
  lastUsedAt: string;
52
66
  }
53
- export interface RevokeSessionRequest {
67
+ export interface IRevokeSessionRequest extends IAuthSessionIdParams {
54
68
  }
55
- export interface RevokeSessionResponse {
69
+ export interface IRevokeSessionResponse {
56
70
  message: string;
57
71
  }
58
- export interface ChangePasswordRequest {
72
+ export interface IChangePasswordRequest {
59
73
  currentPassword: string;
60
74
  newPassword: string;
61
75
  }
62
- export interface ChangePasswordResponse extends GetUserResponse {
76
+ export interface IChangePasswordResponse extends IGetUserResponse {
63
77
  }
64
- export interface ForgotPasswordRequest {
78
+ export interface IForgotPasswordRequest {
65
79
  email: string;
66
80
  }
67
- export interface ForgotPasswordResponse {
81
+ export interface IForgotPasswordResponse {
68
82
  message: string;
69
83
  }
70
- export interface GetLoginHistoryRequest {
84
+ export interface IGetLoginHistoryRequest {
71
85
  }
72
- export interface GetLoginHistoryResponse {
86
+ export interface IGetLoginHistoryResponse {
73
87
  id: string;
74
88
  email: string;
75
89
  ipAddress: string;
@@ -78,54 +92,69 @@ export interface GetLoginHistoryResponse {
78
92
  failureReason?: string;
79
93
  createdAt: Date;
80
94
  }
81
- export interface ValidateInvitationRequest {
95
+ export interface IGetLoginHistoryListResponse {
96
+ history: IGetLoginHistoryResponse[];
97
+ length: number;
98
+ }
99
+ export interface IValidateInvitationRequest extends IAuthInvitationTokenParams {
82
100
  }
83
- export interface ValidateInvitationResponse {
101
+ export interface IValidateInvitationResponse {
84
102
  id: string;
85
103
  companyId: string;
86
104
  companyName: string;
87
105
  email: string;
88
- role: AccountType;
106
+ role: TAccountType;
89
107
  invitedBy: string;
90
108
  invitedByName: string;
91
109
  expiresAt: string;
92
110
  userExists: boolean;
93
111
  }
94
- export interface RegisterWithInvitationRequest {
112
+ export interface IRegisterWithInvitationRequest {
95
113
  token: string;
96
114
  password: string;
97
115
  firstName: string;
98
116
  lastName?: string;
99
- deviceInfo?: DeviceInfo;
117
+ deviceInfo?: IDeviceInfo;
100
118
  }
101
- export interface RegisterWithInvitationResponse extends AuthTokenResponse {
119
+ export interface IRegisterWithInvitationResponse extends IAuthTokenResponse {
102
120
  }
103
- export interface AcceptInvitationRequest {
104
- userId: string;
121
+ export interface IAcceptInvitationRequest {
122
+ userId?: string;
105
123
  token: string;
106
124
  }
107
- export interface AcceptInvitationResponse {
125
+ export interface IAcceptInvitationResponse {
108
126
  companyId: string;
109
127
  companyName: string;
110
- role: AccountType;
128
+ role: TAccountType;
129
+ }
130
+ export interface IAcceptInvitationRouteResponse {
131
+ invite: IAcceptInvitationResponse;
132
+ message: string;
111
133
  }
112
- export interface GetPendingInvitationsRequest {
134
+ export interface IGetPendingInvitationsRequest {
113
135
  }
114
- export interface GetPendingInvitationsResponse {
136
+ export interface IGetPendingInvitationsResponse {
115
137
  id: string;
116
138
  token: string;
117
139
  companyId: string;
118
140
  companyName: string;
119
- role: AccountType;
141
+ role: TAccountType;
120
142
  invitedBy: string;
121
143
  invitedByName: string;
122
144
  expiresAt: string;
123
145
  createdAt: string;
124
146
  }
125
- export interface RevokeInvitationRequest {
126
- invitationId: string;
127
- revokedBy: string;
147
+ export interface IGetPendingInvitationsListResponse {
148
+ invitations: IGetPendingInvitationsResponse[];
149
+ length: number;
128
150
  }
129
- export interface RevokeInvitationResponse {
151
+ export interface IRevokeInvitationRequest extends IAuthInvitationIdParams {
152
+ revokedBy?: string;
153
+ }
154
+ export interface IRevokeInvitationResponse {
130
155
  message: string;
131
156
  }
157
+ export interface IRefreshRequest extends IRefreshSessionRequest {
158
+ }
159
+ export interface IRefreshResponse extends IRefreshSessionResponse {
160
+ }
@@ -1,2 +1 @@
1
- // auth.interfaces.ts
2
1
  export {};
@@ -1,78 +1,209 @@
1
- export type GenericTurndownObject = Record<string, any> | any | undefined;
2
- export type TurndownObject<T = GenericTurndownObject> = Record<string, T> | T | undefined;
3
- export interface MetaData {
1
+ export type TJsonPrimitive = string | number | boolean | null;
2
+ export type TJsonValue = TJsonPrimitive | TJsonValue[] | {
3
+ [key: string]: TJsonValue;
4
+ };
5
+ export type TUnknownRecord = Record<string, unknown>;
6
+ export type TurndownObject<TObject extends object = TUnknownRecord> = {
7
+ [TKey in keyof TObject]: TObject[TKey];
8
+ };
9
+ export type TEmptyObject = Record<string, never>;
10
+ export interface IMessageResponse {
11
+ message: string;
12
+ }
13
+ export interface ISuccessResponse {
14
+ success: boolean;
15
+ }
16
+ export interface ICountResponse {
17
+ count: number;
18
+ }
19
+ export interface IEmptyRouteParams {
20
+ }
21
+ export interface IMetaData {
4
22
  createdAt: Date;
5
23
  updatedAt: Date;
6
24
  deletedAt?: Date;
7
25
  }
8
- export type ObjectValues<T> = T[keyof T];
9
- export type ObjectKeys<T> = [keyof T];
10
- export type Mode = "CREATE" | "EDIT" | "DELETE" | "DETAILS" | null;
26
+ export type TRecordValue<T> = T[keyof T];
27
+ export type TRecordKeys<T> = [keyof T];
28
+ export interface IVersion {
29
+ major: number;
30
+ minor: number;
31
+ patch: number;
32
+ }
33
+ export type TVersionInput = string | IVersion;
34
+ export interface ISelectOption<TValue extends string = string> {
35
+ label: string;
36
+ value: TValue;
37
+ }
38
+ export type TMode = "CREATE" | "EDIT" | "DELETE" | "DETAILS" | null;
11
39
  export declare const IMAGE_ENTITY: {
12
- USER_PROFILE: string;
13
- PROPERTY: string;
14
- PROPERTY_ROOM: string;
15
- MAINTENANCE_TICKET: string;
16
- WORK_REPORT: string;
40
+ readonly USER_PROFILE: "user_profile";
41
+ readonly PROPERTY: "property";
42
+ readonly PROPERTY_ROOM: "property_room";
43
+ readonly MAINTENANCE_TICKET: "maintenance_ticket";
44
+ readonly WORK_REPORT: "work_report";
17
45
  };
18
- export type ImageEntityType = ObjectValues<typeof IMAGE_ENTITY>;
46
+ export type TImageEntityType = TRecordValue<typeof IMAGE_ENTITY>;
19
47
  export declare const US_STATES_CODE: {
20
- AL: string;
21
- AK: string;
22
- AZ: string;
23
- AR: string;
24
- CA: string;
25
- CO: string;
26
- CT: string;
27
- DE: string;
28
- FL: string;
29
- GA: string;
30
- HI: string;
31
- ID: string;
32
- IL: string;
33
- IN: string;
34
- IA: string;
35
- KS: string;
36
- KY: string;
37
- LA: string;
38
- ME: string;
39
- MD: string;
40
- MA: string;
41
- MI: string;
42
- MN: string;
43
- MS: string;
44
- MO: string;
45
- MT: string;
46
- NE: string;
47
- NV: string;
48
- NH: string;
49
- NJ: string;
50
- NM: string;
51
- NY: string;
52
- NC: string;
53
- ND: string;
54
- OH: string;
55
- OK: string;
56
- OR: string;
57
- PA: string;
58
- RI: string;
59
- SC: string;
60
- SD: string;
61
- TN: string;
62
- TX: string;
63
- UT: string;
64
- VT: string;
65
- VA: string;
66
- WA: string;
67
- WV: string;
68
- WI: string;
69
- WY: string;
70
- DC: string;
71
- PR: string;
72
- GU: string;
73
- VI: string;
74
- AS: string;
75
- MP: string;
48
+ readonly AL: "AL";
49
+ readonly AK: "AK";
50
+ readonly AZ: "AZ";
51
+ readonly AR: "AR";
52
+ readonly CA: "CA";
53
+ readonly CO: "CO";
54
+ readonly CT: "CT";
55
+ readonly DE: "DE";
56
+ readonly FL: "FL";
57
+ readonly GA: "GA";
58
+ readonly HI: "HI";
59
+ readonly ID: "ID";
60
+ readonly IL: "IL";
61
+ readonly IN: "IN";
62
+ readonly IA: "IA";
63
+ readonly KS: "KS";
64
+ readonly KY: "KY";
65
+ readonly LA: "LA";
66
+ readonly ME: "ME";
67
+ readonly MD: "MD";
68
+ readonly MA: "MA";
69
+ readonly MI: "MI";
70
+ readonly MN: "MN";
71
+ readonly MS: "MS";
72
+ readonly MO: "MO";
73
+ readonly MT: "MT";
74
+ readonly NE: "NE";
75
+ readonly NV: "NV";
76
+ readonly NH: "NH";
77
+ readonly NJ: "NJ";
78
+ readonly NM: "NM";
79
+ readonly NY: "NY";
80
+ readonly NC: "NC";
81
+ readonly ND: "ND";
82
+ readonly OH: "OH";
83
+ readonly OK: "OK";
84
+ readonly OR: "OR";
85
+ readonly PA: "PA";
86
+ readonly RI: "RI";
87
+ readonly SC: "SC";
88
+ readonly SD: "SD";
89
+ readonly TN: "TN";
90
+ readonly TX: "TX";
91
+ readonly UT: "UT";
92
+ readonly VT: "VT";
93
+ readonly VA: "VA";
94
+ readonly WA: "WA";
95
+ readonly WV: "WV";
96
+ readonly WI: "WI";
97
+ readonly WY: "WY";
98
+ readonly DC: "DC";
99
+ readonly PR: "PR";
100
+ readonly GU: "GU";
101
+ readonly VI: "VI";
102
+ readonly AS: "AS";
103
+ readonly MP: "MP";
104
+ };
105
+ export type TUnitedStatesStateCode = TRecordValue<typeof US_STATES_CODE>;
106
+ export declare const UNITED_STATES_JURISDICTIONS: {
107
+ readonly Alabama: "Alabama";
108
+ readonly Alaska: "Alaska";
109
+ readonly AmericanSamoa: "American Samoa";
110
+ readonly Arizona: "Arizona";
111
+ readonly Arkansas: "Arkansas";
112
+ readonly BakerIsland: "Baker Island";
113
+ readonly California: "California";
114
+ readonly Colorado: "Colorado";
115
+ readonly Connecticut: "Connecticut";
116
+ readonly Delaware: "Delaware";
117
+ readonly DistrictOfColumbia: "District of Columbia";
118
+ readonly Florida: "Florida";
119
+ readonly Georgia: "Georgia";
120
+ readonly Guam: "Guam";
121
+ readonly Hawaii: "Hawaii";
122
+ readonly HowlandIsland: "Howland Island";
123
+ readonly Idaho: "Idaho";
124
+ readonly Illinois: "Illinois";
125
+ readonly Indiana: "Indiana";
126
+ readonly Iowa: "Iowa";
127
+ readonly JarvisIsland: "Jarvis Island";
128
+ readonly JohnstonAtoll: "Johnston Atoll";
129
+ readonly Kansas: "Kansas";
130
+ readonly Kentucky: "Kentucky";
131
+ readonly KingmanReef: "Kingman Reef";
132
+ readonly Louisiana: "Louisiana";
133
+ readonly Maine: "Maine";
134
+ readonly Maryland: "Maryland";
135
+ readonly Massachusetts: "Massachusetts";
136
+ readonly Michigan: "Michigan";
137
+ readonly MidwayAtoll: "Midway Atoll";
138
+ readonly Minnesota: "Minnesota";
139
+ readonly Mississippi: "Mississippi";
140
+ readonly Missouri: "Missouri";
141
+ readonly Montana: "Montana";
142
+ readonly NavassaIsland: "Navassa Island";
143
+ readonly Nebraska: "Nebraska";
144
+ readonly Nevada: "Nevada";
145
+ readonly NewHampshire: "New Hampshire";
146
+ readonly NewJersey: "New Jersey";
147
+ readonly NewMexico: "New Mexico";
148
+ readonly NewYork: "New York";
149
+ readonly NorthCarolina: "North Carolina";
150
+ readonly NorthDakota: "North Dakota";
151
+ readonly NorthernMarianaIslands: "Northern Mariana Islands";
152
+ readonly Ohio: "Ohio";
153
+ readonly Oklahoma: "Oklahoma";
154
+ readonly Oregon: "Oregon";
155
+ readonly PalmyraAtoll: "Palmyra Atoll";
156
+ readonly Pennsylvania: "Pennsylvania";
157
+ readonly PuertoRico: "Puerto Rico";
158
+ readonly RhodeIsland: "Rhode Island";
159
+ readonly SouthCarolina: "South Carolina";
160
+ readonly SouthDakota: "South Dakota";
161
+ readonly Tennessee: "Tennessee";
162
+ readonly Texas: "Texas";
163
+ readonly UnitedStatesVirginIslands: "United States Virgin Islands";
164
+ readonly Utah: "Utah";
165
+ readonly Vermont: "Vermont";
166
+ readonly Virginia: "Virginia";
167
+ readonly WakeIsland: "Wake Island";
168
+ readonly Washington: "Washington";
169
+ readonly WestVirginia: "West Virginia";
170
+ readonly Wisconsin: "Wisconsin";
171
+ readonly Wyoming: "Wyoming";
172
+ };
173
+ export type TUnitedStatesJurisdiction = TRecordValue<typeof UNITED_STATES_JURISDICTIONS>;
174
+ export declare const UnitedStatesJurisdictionOptions: ISelectOption<TUnitedStatesJurisdiction>[];
175
+ export declare const STATUS: {
176
+ readonly Pending: "Pending";
177
+ readonly InProgress: "InProgress";
178
+ readonly Completed: "Completed";
179
+ readonly Overdue: "Overdue";
180
+ readonly Active: "Active";
181
+ readonly Inactive: "Inactive";
76
182
  };
77
- export type USStateCodeType = ObjectValues<typeof US_STATES_CODE>;
183
+ export type TStatus = TRecordValue<typeof STATUS>;
184
+ export declare const StatusOptions: ISelectOption<TStatus>[];
185
+ export declare const SEVERITY: {
186
+ readonly Low: "Low";
187
+ readonly Medium: "Medium";
188
+ readonly High: "High";
189
+ };
190
+ export type TSeverity = TRecordValue<typeof SEVERITY>;
191
+ export declare const SeverityOptions: ISelectOption<TSeverity>[];
192
+ export declare const SERVICE_TYPES: {
193
+ readonly Cleaning: "Cleaning";
194
+ readonly Maintenance: "Maintenance";
195
+ readonly Inspection: "Inspections";
196
+ readonly Other: "Other";
197
+ };
198
+ export type TServiceType = TRecordValue<typeof SERVICE_TYPES>;
199
+ export declare const ServiceTypeOptions: ISelectOption<TServiceType>[];
200
+ export declare const MONTHS: readonly ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
201
+ export type TMonth = (typeof MONTHS)[number];
202
+ export interface IWeekDay {
203
+ date: Date;
204
+ dayOfMonth: number;
205
+ shortLabel: string;
206
+ letter: string;
207
+ isToday: boolean;
208
+ }
78
209
  export * from "./paging.types";