@turndown/library 0.1.60 → 0.1.62
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/index.cjs +409 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +307 -200
- package/dist/index.d.ts +307 -200
- package/dist/index.mjs +379 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -788,6 +788,79 @@ interface IApiErrorResponse<TErrorDetails = TApiErrorDetails> {
|
|
|
788
788
|
}
|
|
789
789
|
type IApiResponse<TData = null, TErrorDetails = TApiErrorDetails> = IApiSuccessResponse<TData> | IApiErrorResponse<TErrorDetails>;
|
|
790
790
|
|
|
791
|
+
type TValidationIssueType = "INVALID_BODY" | "MISSING_FIELD" | "INVALID_FIELD" | "UNSUPPORTED_FIELD";
|
|
792
|
+
interface IValidationIssue<TFieldName extends string = string> {
|
|
793
|
+
fieldName: TFieldName;
|
|
794
|
+
type: TValidationIssueType;
|
|
795
|
+
}
|
|
796
|
+
interface IValidationResult<TValue extends object> {
|
|
797
|
+
success: boolean;
|
|
798
|
+
data?: TValue;
|
|
799
|
+
issues: IValidationIssue[];
|
|
800
|
+
}
|
|
801
|
+
type TMissingValuePolicy = "Nullish" | "BlankString";
|
|
802
|
+
interface IValidationField<TValue, TRequired extends boolean> {
|
|
803
|
+
readonly valueType?: TValue;
|
|
804
|
+
required: TRequired;
|
|
805
|
+
missingValuePolicy: TMissingValuePolicy;
|
|
806
|
+
validate: (value: unknown) => boolean;
|
|
807
|
+
}
|
|
808
|
+
type TValidationFieldMap = Record<string, IValidationField<unknown, boolean>>;
|
|
809
|
+
type TRequiredSchemaKeys<TFields extends TValidationFieldMap> = {
|
|
810
|
+
[TKey in keyof TFields]: TFields[TKey] extends IValidationField<unknown, true> ? TKey : never;
|
|
811
|
+
}[keyof TFields];
|
|
812
|
+
type TOptionalSchemaKeys<TFields extends TValidationFieldMap> = Exclude<keyof TFields, TRequiredSchemaKeys<TFields>>;
|
|
813
|
+
type TFieldValue<TField> = TField extends IValidationField<infer TValue, boolean> ? TValue : never;
|
|
814
|
+
type TInferValidationFields<TFields extends TValidationFieldMap> = {
|
|
815
|
+
[TKey in TRequiredSchemaKeys<TFields>]: TFieldValue<TFields[TKey]>;
|
|
816
|
+
} & {
|
|
817
|
+
[TKey in TOptionalSchemaKeys<TFields>]?: TFieldValue<TFields[TKey]>;
|
|
818
|
+
};
|
|
819
|
+
type TInferValidationSchemaInput<TSchema> = TSchema extends IRuntimeValidationSchema<infer TFields> ? TInferValidationFields<TFields> : never;
|
|
820
|
+
interface IRuntimeValidationSchema<TFields extends TValidationFieldMap = TValidationFieldMap> {
|
|
821
|
+
fields: TFields;
|
|
822
|
+
allowedFields: readonly Extract<keyof TFields, string>[];
|
|
823
|
+
requiredFields: readonly Extract<TRequiredSchemaKeys<TFields>, string>[];
|
|
824
|
+
validate: (value: unknown, options?: IRuntimeValidationOptions) => IValidationResult<TInferValidationFields<TFields>>;
|
|
825
|
+
}
|
|
826
|
+
interface IRuntimeValidationOptions {
|
|
827
|
+
rejectUnknownFields?: boolean;
|
|
828
|
+
}
|
|
829
|
+
declare const createValidationSchema: <TFields extends TValidationFieldMap>(fields: TFields) => IRuntimeValidationSchema<TFields>;
|
|
830
|
+
declare const requiredStringField: (missingValuePolicy?: TMissingValuePolicy) => IValidationField<string, true>;
|
|
831
|
+
declare const optionalStringField: () => IValidationField<string, false>;
|
|
832
|
+
declare const optionalNullableStringField: () => IValidationField<string | null, false>;
|
|
833
|
+
declare const requiredEmailField: (missingValuePolicy?: TMissingValuePolicy) => IValidationField<string, true>;
|
|
834
|
+
declare const requiredUuidField: (missingValuePolicy?: TMissingValuePolicy) => IValidationField<string, true>;
|
|
835
|
+
declare const optionalNullableNonNegativeIntegerField: () => IValidationField<number | null, false>;
|
|
836
|
+
declare const optionalRecordField: () => IValidationField<Record<string, unknown>, false>;
|
|
837
|
+
declare const requiredEnumField: <TValue extends string>(allowedValues: readonly TValue[], missingValuePolicy?: TMissingValuePolicy) => IValidationField<TValue, true>;
|
|
838
|
+
declare const optionalEnumField: <TValue extends string>(allowedValues: readonly TValue[]) => IValidationField<TValue, false>;
|
|
839
|
+
declare const optionalNullableEnumField: <TValue extends string>(allowedValues: readonly TValue[]) => IValidationField<TValue | null, false>;
|
|
840
|
+
|
|
841
|
+
declare const ACCOUNT_TYPE: {
|
|
842
|
+
readonly TURNDOWN_ADMIN: "TURNDOWN_ADMIN";
|
|
843
|
+
readonly ACCOUNT_ADMIN: "ACCOUNT_ADMIN";
|
|
844
|
+
readonly MANAGER: "MANAGER";
|
|
845
|
+
readonly STAFF: "STAFF";
|
|
846
|
+
readonly GUEST: "GUEST";
|
|
847
|
+
};
|
|
848
|
+
type TAccountType = TRecordValue<typeof ACCOUNT_TYPE>;
|
|
849
|
+
declare const ACCOUNT_STATUS: {
|
|
850
|
+
readonly ACTIVE: "ACTIVE";
|
|
851
|
+
readonly INACTIVE: "INACTIVE";
|
|
852
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
853
|
+
readonly PENDING: "PENDING";
|
|
854
|
+
};
|
|
855
|
+
type TAccountStatus = TRecordValue<typeof ACCOUNT_STATUS>;
|
|
856
|
+
declare const LANGUAGE: {
|
|
857
|
+
readonly ENGLISH: "ENGLISH";
|
|
858
|
+
readonly FRENCH: "FRENCH";
|
|
859
|
+
readonly SPANISH: "SPANISH";
|
|
860
|
+
readonly GERMAN: "GERMAN";
|
|
861
|
+
};
|
|
862
|
+
type TLanguage = TRecordValue<typeof LANGUAGE>;
|
|
863
|
+
|
|
791
864
|
interface IUserIdParams {
|
|
792
865
|
id: string;
|
|
793
866
|
}
|
|
@@ -810,16 +883,24 @@ type IGetStaffRequest = IEmptyRouteRequest;
|
|
|
810
883
|
interface IGetStaffResponse {
|
|
811
884
|
staff: IUserSafe[];
|
|
812
885
|
}
|
|
813
|
-
|
|
814
|
-
firstName
|
|
815
|
-
lastName
|
|
816
|
-
mi
|
|
817
|
-
username
|
|
818
|
-
email
|
|
819
|
-
phoneNumber
|
|
820
|
-
phoneFormat
|
|
886
|
+
declare const UpdateUserRequestSchema: IRuntimeValidationSchema<{
|
|
887
|
+
firstName: IValidationField<string, false>;
|
|
888
|
+
lastName: IValidationField<string | null, false>;
|
|
889
|
+
mi: IValidationField<string | null, false>;
|
|
890
|
+
username: IValidationField<string | null, false>;
|
|
891
|
+
email: IValidationField<string, false>;
|
|
892
|
+
phoneNumber: IValidationField<string | null, false>;
|
|
893
|
+
phoneFormat: IValidationField<string | null, false>;
|
|
894
|
+
preferredLanguage: IValidationField<"ENGLISH" | "FRENCH" | "SPANISH" | "GERMAN", false>;
|
|
895
|
+
}>;
|
|
896
|
+
type IUpdateUserRequest = TInferValidationSchemaInput<typeof UpdateUserRequestSchema> & {
|
|
821
897
|
preferredLanguage?: IUserSafe["preferredLanguage"];
|
|
822
|
-
}
|
|
898
|
+
};
|
|
899
|
+
declare const UpdateCurrentUserRequestSchema: IRuntimeValidationSchema<{
|
|
900
|
+
firstName: IValidationField<string, false>;
|
|
901
|
+
lastName: IValidationField<string, false>;
|
|
902
|
+
}>;
|
|
903
|
+
type IUpdateCurrentUserRequest = TInferValidationSchemaInput<typeof UpdateCurrentUserRequestSchema>;
|
|
823
904
|
interface IUpdateUserResponse {
|
|
824
905
|
user: IUserSafe;
|
|
825
906
|
}
|
|
@@ -833,28 +914,6 @@ interface IGetUsersByAccountTypeResponse {
|
|
|
833
914
|
users: IUserSafe[];
|
|
834
915
|
}
|
|
835
916
|
|
|
836
|
-
declare const ACCOUNT_TYPE: {
|
|
837
|
-
readonly TURNDOWN_ADMIN: "TURNDOWN_ADMIN";
|
|
838
|
-
readonly ACCOUNT_ADMIN: "ACCOUNT_ADMIN";
|
|
839
|
-
readonly MANAGER: "MANAGER";
|
|
840
|
-
readonly STAFF: "STAFF";
|
|
841
|
-
readonly GUEST: "GUEST";
|
|
842
|
-
};
|
|
843
|
-
type TAccountType = TRecordValue<typeof ACCOUNT_TYPE>;
|
|
844
|
-
declare const ACCOUNT_STATUS: {
|
|
845
|
-
readonly ACTIVE: "ACTIVE";
|
|
846
|
-
readonly INACTIVE: "INACTIVE";
|
|
847
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
848
|
-
readonly PENDING: "PENDING";
|
|
849
|
-
};
|
|
850
|
-
type TAccountStatus = TRecordValue<typeof ACCOUNT_STATUS>;
|
|
851
|
-
declare const LANGUAGE: {
|
|
852
|
-
readonly ENGLISH: "ENGLISH";
|
|
853
|
-
readonly FRENCH: "FRENCH";
|
|
854
|
-
readonly SPANISH: "SPANISH";
|
|
855
|
-
readonly GERMAN: "GERMAN";
|
|
856
|
-
};
|
|
857
|
-
type TLanguage = TRecordValue<typeof LANGUAGE>;
|
|
858
917
|
interface IUser extends IMetaData {
|
|
859
918
|
readonly id: string;
|
|
860
919
|
firstName: string;
|
|
@@ -913,33 +972,43 @@ interface IAuthInvitationBaseResponse {
|
|
|
913
972
|
invitedByName: string;
|
|
914
973
|
expiresAt: TDateTimeString;
|
|
915
974
|
}
|
|
916
|
-
|
|
917
|
-
email: string
|
|
918
|
-
password: string
|
|
919
|
-
firstName: string
|
|
920
|
-
lastName
|
|
921
|
-
accountType:
|
|
975
|
+
declare const RegisterRequestSchema: IRuntimeValidationSchema<{
|
|
976
|
+
email: IValidationField<string, true>;
|
|
977
|
+
password: IValidationField<string, true>;
|
|
978
|
+
firstName: IValidationField<string, true>;
|
|
979
|
+
lastName: IValidationField<string, false>;
|
|
980
|
+
accountType: IValidationField<"TURNDOWN_ADMIN" | "ACCOUNT_ADMIN" | "MANAGER" | "STAFF" | "GUEST", true>;
|
|
981
|
+
deviceInfo: IValidationField<Record<string, unknown>, false>;
|
|
982
|
+
}>;
|
|
983
|
+
type IRegisterRequest = Omit<TInferValidationSchemaInput<typeof RegisterRequestSchema>, "deviceInfo"> & {
|
|
922
984
|
deviceInfo?: IDeviceInfo;
|
|
923
|
-
}
|
|
985
|
+
};
|
|
924
986
|
interface IRegisterResponse extends IAuthTokenResponse {
|
|
925
987
|
}
|
|
926
|
-
|
|
927
|
-
email: string
|
|
928
|
-
password: string
|
|
988
|
+
declare const LoginRequestSchema: IRuntimeValidationSchema<{
|
|
989
|
+
email: IValidationField<string, true>;
|
|
990
|
+
password: IValidationField<string, true>;
|
|
991
|
+
deviceInfo: IValidationField<Record<string, unknown>, false>;
|
|
992
|
+
}>;
|
|
993
|
+
type ILoginRequest = Omit<TInferValidationSchemaInput<typeof LoginRequestSchema>, "deviceInfo"> & {
|
|
929
994
|
deviceInfo?: IDeviceInfo;
|
|
930
|
-
}
|
|
995
|
+
};
|
|
931
996
|
interface ILoginResponse extends IAuthTokenResponse {
|
|
932
997
|
passwordResetRequired: boolean;
|
|
933
998
|
}
|
|
934
|
-
|
|
935
|
-
refreshToken: string
|
|
999
|
+
declare const RefreshSessionRequestSchema: IRuntimeValidationSchema<{
|
|
1000
|
+
refreshToken: IValidationField<string, true>;
|
|
1001
|
+
deviceInfo: IValidationField<Record<string, unknown>, false>;
|
|
1002
|
+
}>;
|
|
1003
|
+
type IRefreshSessionRequest = Omit<TInferValidationSchemaInput<typeof RefreshSessionRequestSchema>, "deviceInfo"> & {
|
|
936
1004
|
deviceInfo?: IDeviceInfo;
|
|
937
|
-
}
|
|
1005
|
+
};
|
|
938
1006
|
interface IRefreshSessionResponse extends IAuthRefreshTokenResponse {
|
|
939
1007
|
}
|
|
940
|
-
|
|
941
|
-
refreshToken
|
|
942
|
-
}
|
|
1008
|
+
declare const LogoutRequestSchema: IRuntimeValidationSchema<{
|
|
1009
|
+
refreshToken: IValidationField<string, false>;
|
|
1010
|
+
}>;
|
|
1011
|
+
type ILogoutRequest = TInferValidationSchemaInput<typeof LogoutRequestSchema>;
|
|
943
1012
|
interface ILogoutResponse extends IAuthMessageResponse {
|
|
944
1013
|
}
|
|
945
1014
|
interface ILogoutAllRequest {
|
|
@@ -963,15 +1032,17 @@ interface IRevokeSessionRequest extends IAuthSessionIdParams {
|
|
|
963
1032
|
}
|
|
964
1033
|
interface IRevokeSessionResponse extends IAuthMessageResponse {
|
|
965
1034
|
}
|
|
966
|
-
|
|
967
|
-
currentPassword: string
|
|
968
|
-
newPassword: string
|
|
969
|
-
}
|
|
1035
|
+
declare const ChangePasswordRequestSchema: IRuntimeValidationSchema<{
|
|
1036
|
+
currentPassword: IValidationField<string, true>;
|
|
1037
|
+
newPassword: IValidationField<string, true>;
|
|
1038
|
+
}>;
|
|
1039
|
+
type IChangePasswordRequest = TInferValidationSchemaInput<typeof ChangePasswordRequestSchema>;
|
|
970
1040
|
interface IChangePasswordResponse extends IGetUserResponse {
|
|
971
1041
|
}
|
|
972
|
-
|
|
973
|
-
email: string
|
|
974
|
-
}
|
|
1042
|
+
declare const ForgotPasswordRequestSchema: IRuntimeValidationSchema<{
|
|
1043
|
+
email: IValidationField<string, true>;
|
|
1044
|
+
}>;
|
|
1045
|
+
type IForgotPasswordRequest = TInferValidationSchemaInput<typeof ForgotPasswordRequestSchema>;
|
|
975
1046
|
interface IForgotPasswordResponse extends IAuthMessageResponse {
|
|
976
1047
|
}
|
|
977
1048
|
type IGetLoginHistoryRequest = IEmptyRouteRequest;
|
|
@@ -994,19 +1065,23 @@ interface IValidateInvitationResponse extends IAuthInvitationBaseResponse {
|
|
|
994
1065
|
email: string;
|
|
995
1066
|
userExists: boolean;
|
|
996
1067
|
}
|
|
997
|
-
|
|
998
|
-
token: string
|
|
999
|
-
password: string
|
|
1000
|
-
firstName: string
|
|
1001
|
-
lastName
|
|
1068
|
+
declare const RegisterWithInvitationRequestSchema: IRuntimeValidationSchema<{
|
|
1069
|
+
token: IValidationField<string, true>;
|
|
1070
|
+
password: IValidationField<string, true>;
|
|
1071
|
+
firstName: IValidationField<string, true>;
|
|
1072
|
+
lastName: IValidationField<string, false>;
|
|
1073
|
+
deviceInfo: IValidationField<Record<string, unknown>, false>;
|
|
1074
|
+
}>;
|
|
1075
|
+
type IRegisterWithInvitationRequest = Omit<TInferValidationSchemaInput<typeof RegisterWithInvitationRequestSchema>, "deviceInfo"> & {
|
|
1002
1076
|
deviceInfo?: IDeviceInfo;
|
|
1003
|
-
}
|
|
1077
|
+
};
|
|
1004
1078
|
interface IRegisterWithInvitationResponse extends IAuthTokenResponse {
|
|
1005
1079
|
}
|
|
1006
|
-
|
|
1007
|
-
userId
|
|
1008
|
-
token: string
|
|
1009
|
-
}
|
|
1080
|
+
declare const AcceptInvitationRequestSchema: IRuntimeValidationSchema<{
|
|
1081
|
+
userId: IValidationField<string, false>;
|
|
1082
|
+
token: IValidationField<string, true>;
|
|
1083
|
+
}>;
|
|
1084
|
+
type IAcceptInvitationRequest = TInferValidationSchemaInput<typeof AcceptInvitationRequestSchema>;
|
|
1010
1085
|
interface IAcceptInvitationResponse {
|
|
1011
1086
|
companyId: string;
|
|
1012
1087
|
companyName: string;
|
|
@@ -1248,6 +1323,28 @@ interface ICreateTemplateItemInput {
|
|
|
1248
1323
|
estimatedTimeMinutes?: number;
|
|
1249
1324
|
}
|
|
1250
1325
|
|
|
1326
|
+
declare const COMPANY_RELATIONSHIP_STATUS: {
|
|
1327
|
+
readonly ACTIVE: "ACTIVE";
|
|
1328
|
+
readonly INACTIVE: "INACTIVE";
|
|
1329
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
1330
|
+
};
|
|
1331
|
+
declare const INVITATION_STATUS: {
|
|
1332
|
+
readonly PENDING: "PENDING";
|
|
1333
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
1334
|
+
readonly EXPIRED: "EXPIRED";
|
|
1335
|
+
readonly REVOKED: "REVOKED";
|
|
1336
|
+
readonly DECLINED: "DECLINED";
|
|
1337
|
+
};
|
|
1338
|
+
type TInvitationStatus = TRecordValue<typeof INVITATION_STATUS>;
|
|
1339
|
+
type TCompanyRelationshipStatus = TRecordValue<typeof COMPANY_RELATIONSHIP_STATUS> | typeof INVITATION_STATUS.PENDING | null;
|
|
1340
|
+
declare const COMPANY_TYPES: {
|
|
1341
|
+
readonly PROPERTY_MANAGEMENT: "PROPERTY_MANAGEMENT";
|
|
1342
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
1343
|
+
readonly CLEANER: "CLEANER";
|
|
1344
|
+
readonly OTHER: "OTHER";
|
|
1345
|
+
};
|
|
1346
|
+
type TCompanyType = TRecordValue<typeof COMPANY_TYPES>;
|
|
1347
|
+
|
|
1251
1348
|
interface ICompanyRouteParams {
|
|
1252
1349
|
companyId: string;
|
|
1253
1350
|
}
|
|
@@ -1271,18 +1368,22 @@ interface IGetCompaniesQuery {
|
|
|
1271
1368
|
search?: string;
|
|
1272
1369
|
filter?: TCompanyFilter;
|
|
1273
1370
|
}
|
|
1274
|
-
|
|
1275
|
-
displayName: string
|
|
1276
|
-
addressLine1: string
|
|
1277
|
-
addressLine2
|
|
1278
|
-
city: string
|
|
1371
|
+
declare const CreateCompanyRequestSchema: IRuntimeValidationSchema<{
|
|
1372
|
+
displayName: IValidationField<string, true>;
|
|
1373
|
+
addressLine1: IValidationField<string, true>;
|
|
1374
|
+
addressLine2: IValidationField<string | null, false>;
|
|
1375
|
+
city: IValidationField<string, true>;
|
|
1376
|
+
stateCode: IValidationField<"IN" | "AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "ID" | "IL" | "IA" | "KS" | "KY" | "LA" | "ME" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VA" | "WA" | "WV" | "WI" | "WY" | "DC" | "PR" | "GU" | "VI" | "AS" | "MP", true>;
|
|
1377
|
+
postalCode: IValidationField<string, true>;
|
|
1378
|
+
companyType: IValidationField<"MAINTENANCE" | "OTHER" | "PROPERTY_MANAGEMENT" | "CLEANER", true>;
|
|
1379
|
+
country: IValidationField<string | null, false>;
|
|
1380
|
+
timezone: IValidationField<string | null, false>;
|
|
1381
|
+
imageUrl: IValidationField<string | null, false>;
|
|
1382
|
+
}>;
|
|
1383
|
+
type ICreateCompanyRequest = TInferValidationSchemaInput<typeof CreateCompanyRequestSchema> & {
|
|
1279
1384
|
stateCode: TUSStateCode;
|
|
1280
|
-
postalCode: string;
|
|
1281
1385
|
companyType: ICompany["companyType"];
|
|
1282
|
-
|
|
1283
|
-
timezone?: string;
|
|
1284
|
-
imageUrl?: string;
|
|
1285
|
-
}
|
|
1386
|
+
};
|
|
1286
1387
|
interface ICreateCompanyResponse extends ICompanyWithRelationshipStatus {
|
|
1287
1388
|
}
|
|
1288
1389
|
type IGetCompaniesRequest = IEmptyRouteRequest;
|
|
@@ -1291,24 +1392,31 @@ interface IGetCompanyByIdRequest extends ICompanyRouteParams {
|
|
|
1291
1392
|
}
|
|
1292
1393
|
interface IGetCompanyByIdResponse extends ICompanyWithRelationshipStatus {
|
|
1293
1394
|
}
|
|
1294
|
-
|
|
1295
|
-
displayName
|
|
1296
|
-
addressLine1
|
|
1297
|
-
addressLine2
|
|
1298
|
-
city
|
|
1395
|
+
declare const UpdateCompanyRequestSchema: IRuntimeValidationSchema<{
|
|
1396
|
+
displayName: IValidationField<string, false>;
|
|
1397
|
+
addressLine1: IValidationField<string, false>;
|
|
1398
|
+
addressLine2: IValidationField<string | null, false>;
|
|
1399
|
+
city: IValidationField<string, false>;
|
|
1400
|
+
stateCode: IValidationField<"IN" | "AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "ID" | "IL" | "IA" | "KS" | "KY" | "LA" | "ME" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VA" | "WA" | "WV" | "WI" | "WY" | "DC" | "PR" | "GU" | "VI" | "AS" | "MP", false>;
|
|
1401
|
+
postalCode: IValidationField<string, false>;
|
|
1402
|
+
companyType: IValidationField<"MAINTENANCE" | "OTHER" | "PROPERTY_MANAGEMENT" | "CLEANER", false>;
|
|
1403
|
+
country: IValidationField<string | null, false>;
|
|
1404
|
+
timezone: IValidationField<string | null, false>;
|
|
1405
|
+
imageUrl: IValidationField<string | null, false>;
|
|
1406
|
+
}>;
|
|
1407
|
+
type IUpdateCompanyRequest = TInferValidationSchemaInput<typeof UpdateCompanyRequestSchema> & {
|
|
1299
1408
|
stateCode?: TUSStateCode;
|
|
1300
|
-
postalCode?: string;
|
|
1301
1409
|
companyType?: ICompany["companyType"];
|
|
1302
|
-
|
|
1303
|
-
timezone?: string | null;
|
|
1304
|
-
imageUrl?: string | null;
|
|
1305
|
-
}
|
|
1410
|
+
};
|
|
1306
1411
|
interface IUpdateCompanyResponse extends ICompanyWithRelationshipStatus {
|
|
1307
1412
|
}
|
|
1308
|
-
|
|
1309
|
-
email: string
|
|
1413
|
+
declare const InviteUserToCompanyRequestSchema: IRuntimeValidationSchema<{
|
|
1414
|
+
email: IValidationField<string, true>;
|
|
1415
|
+
role: IValidationField<"ACCOUNT_ADMIN" | "MANAGER" | "STAFF" | "GUEST", true>;
|
|
1416
|
+
}>;
|
|
1417
|
+
type IInviteUserToCompanyRequest = TInferValidationSchemaInput<typeof InviteUserToCompanyRequestSchema> & {
|
|
1310
1418
|
role: TAccountType;
|
|
1311
|
-
}
|
|
1419
|
+
};
|
|
1312
1420
|
interface IInviteUserToCompanyResponse extends IMessageResponse {
|
|
1313
1421
|
}
|
|
1314
1422
|
interface IGetCompanyUsersRequest extends ICompanyRouteParams {
|
|
@@ -1328,10 +1436,11 @@ interface IGetCompanyUsersResponse extends ICompanyWithUsers {
|
|
|
1328
1436
|
interface IGetUserCompaniesRequest extends ICompanyUserRouteParams {
|
|
1329
1437
|
}
|
|
1330
1438
|
type IGetUserCompaniesResponse = ICompanyWithRelationshipStatus[];
|
|
1331
|
-
|
|
1332
|
-
providerCompanyId: string
|
|
1333
|
-
message
|
|
1334
|
-
}
|
|
1439
|
+
declare const InviteCompanyToCompanyRequestSchema: IRuntimeValidationSchema<{
|
|
1440
|
+
providerCompanyId: IValidationField<string, true>;
|
|
1441
|
+
message: IValidationField<string | null, false>;
|
|
1442
|
+
}>;
|
|
1443
|
+
type IInviteCompanyToCompanyRequest = TInferValidationSchemaInput<typeof InviteCompanyToCompanyRequestSchema>;
|
|
1335
1444
|
interface IInviteCompanyToCompanyResponse {
|
|
1336
1445
|
id: string;
|
|
1337
1446
|
token: string;
|
|
@@ -1387,30 +1496,9 @@ interface ICompany extends IMetaData {
|
|
|
1387
1496
|
timezone: string | null;
|
|
1388
1497
|
imageUrl: string | null;
|
|
1389
1498
|
}
|
|
1390
|
-
declare const COMPANY_RELATIONSHIP_STATUS: {
|
|
1391
|
-
readonly ACTIVE: "ACTIVE";
|
|
1392
|
-
readonly INACTIVE: "INACTIVE";
|
|
1393
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
1394
|
-
};
|
|
1395
|
-
declare const INVITATION_STATUS: {
|
|
1396
|
-
readonly PENDING: "PENDING";
|
|
1397
|
-
readonly ACCEPTED: "ACCEPTED";
|
|
1398
|
-
readonly EXPIRED: "EXPIRED";
|
|
1399
|
-
readonly REVOKED: "REVOKED";
|
|
1400
|
-
readonly DECLINED: "DECLINED";
|
|
1401
|
-
};
|
|
1402
|
-
type TInvitationStatus = TRecordValue<typeof INVITATION_STATUS>;
|
|
1403
|
-
type TCompanyRelationshipStatus = TRecordValue<typeof COMPANY_RELATIONSHIP_STATUS> | typeof INVITATION_STATUS.PENDING | null;
|
|
1404
1499
|
interface ICompanyWithRelationshipStatus extends ICompany {
|
|
1405
1500
|
relationshipStatus: TCompanyRelationshipStatus;
|
|
1406
1501
|
}
|
|
1407
|
-
declare const COMPANY_TYPES: {
|
|
1408
|
-
readonly PROPERTY_MANAGEMENT: "PROPERTY_MANAGEMENT";
|
|
1409
|
-
readonly MAINTENANCE: "MAINTENANCE";
|
|
1410
|
-
readonly CLEANER: "CLEANER";
|
|
1411
|
-
readonly OTHER: "OTHER";
|
|
1412
|
-
};
|
|
1413
|
-
type TCompanyType = TRecordValue<typeof COMPANY_TYPES>;
|
|
1414
1502
|
|
|
1415
1503
|
interface IDamageReportPropertyRouteParams {
|
|
1416
1504
|
propertyId: string;
|
|
@@ -2091,43 +2179,75 @@ interface IInventoryRestockOrderItem {
|
|
|
2091
2179
|
createdAt: TDateTimeString;
|
|
2092
2180
|
}
|
|
2093
2181
|
|
|
2182
|
+
declare const PROPERTY_STATUS: {
|
|
2183
|
+
readonly ACTIVE: "ACTIVE";
|
|
2184
|
+
readonly INACTIVE: "INACTIVE";
|
|
2185
|
+
};
|
|
2186
|
+
type TPropertyStatus = TRecordValue<typeof PROPERTY_STATUS>;
|
|
2187
|
+
declare const PropertyStatusOptions: ISelectOption<TPropertyStatus>[];
|
|
2188
|
+
declare const PROPERTY_TYPES: {
|
|
2189
|
+
readonly APARTMENT: "APARTMENT";
|
|
2190
|
+
readonly COMMERCIAL: "COMMERCIAL";
|
|
2191
|
+
readonly CONDO: "CONDO";
|
|
2192
|
+
readonly DUPLEX: "DUPLEX";
|
|
2193
|
+
readonly HOUSE: "HOUSE";
|
|
2194
|
+
readonly MULTI_FAMILY: "MULTI_FAMILY";
|
|
2195
|
+
readonly OFFICE: "OFFICE";
|
|
2196
|
+
readonly RETAIL: "RETAIL";
|
|
2197
|
+
readonly TOWNHOUSE: "TOWNHOUSE";
|
|
2198
|
+
readonly VACATION_RENTAL: "VACATION_RENTAL";
|
|
2199
|
+
readonly WAREHOUSE: "WAREHOUSE";
|
|
2200
|
+
};
|
|
2201
|
+
type TPropertyType = TRecordValue<typeof PROPERTY_TYPES>;
|
|
2202
|
+
declare const PropertyTypeOptions: ISelectOption<TPropertyType>[];
|
|
2203
|
+
|
|
2094
2204
|
interface IPropertyIdParams {
|
|
2095
2205
|
propertyId: string;
|
|
2096
2206
|
}
|
|
2097
2207
|
interface ICompanyIdParams {
|
|
2098
2208
|
companyId: string;
|
|
2099
2209
|
}
|
|
2100
|
-
|
|
2101
|
-
companyId: string
|
|
2102
|
-
displayName: string
|
|
2210
|
+
declare const CreatePropertyRequestSchema: IRuntimeValidationSchema<{
|
|
2211
|
+
companyId: IValidationField<string, true>;
|
|
2212
|
+
displayName: IValidationField<string, true>;
|
|
2213
|
+
propertyType: IValidationField<"APARTMENT" | "COMMERCIAL" | "CONDO" | "DUPLEX" | "HOUSE" | "MULTI_FAMILY" | "OFFICE" | "RETAIL" | "TOWNHOUSE" | "VACATION_RENTAL" | "WAREHOUSE", true>;
|
|
2214
|
+
status: IValidationField<"ACTIVE" | "INACTIVE" | null, false>;
|
|
2215
|
+
addressLine1: IValidationField<string, true>;
|
|
2216
|
+
addressLine2: IValidationField<string | null, false>;
|
|
2217
|
+
city: IValidationField<string, true>;
|
|
2218
|
+
stateCode: IValidationField<"IN" | "AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "ID" | "IL" | "IA" | "KS" | "KY" | "LA" | "ME" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VA" | "WA" | "WV" | "WI" | "WY" | "DC" | "PR" | "GU" | "VI" | "AS" | "MP", true>;
|
|
2219
|
+
postalCode: IValidationField<string, true>;
|
|
2220
|
+
country: IValidationField<string | null, false>;
|
|
2221
|
+
sqft: IValidationField<number | null, false>;
|
|
2222
|
+
timezone: IValidationField<string | null, false>;
|
|
2223
|
+
imageUrl: IValidationField<string | null, false>;
|
|
2224
|
+
specialNotes: IValidationField<string | null, false>;
|
|
2225
|
+
}>;
|
|
2226
|
+
type ICreatePropertyRequest = TInferValidationSchemaInput<typeof CreatePropertyRequestSchema> & {
|
|
2103
2227
|
propertyType: TPropertyType;
|
|
2104
|
-
status?: TPropertyStatus;
|
|
2105
|
-
addressLine1: string;
|
|
2106
|
-
addressLine2?: string;
|
|
2107
|
-
city: string;
|
|
2228
|
+
status?: TPropertyStatus | null;
|
|
2108
2229
|
stateCode: TUSStateCode;
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2230
|
+
};
|
|
2231
|
+
declare const UpdatePropertyRequestSchema: IRuntimeValidationSchema<{
|
|
2232
|
+
displayName: IValidationField<string, false>;
|
|
2233
|
+
propertyType: IValidationField<"APARTMENT" | "COMMERCIAL" | "CONDO" | "DUPLEX" | "HOUSE" | "MULTI_FAMILY" | "OFFICE" | "RETAIL" | "TOWNHOUSE" | "VACATION_RENTAL" | "WAREHOUSE" | null, false>;
|
|
2234
|
+
status: IValidationField<"ACTIVE" | "INACTIVE" | null, false>;
|
|
2235
|
+
addressLine1: IValidationField<string, false>;
|
|
2236
|
+
addressLine2: IValidationField<string | null, false>;
|
|
2237
|
+
city: IValidationField<string, false>;
|
|
2238
|
+
stateCode: IValidationField<"IN" | "AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "ID" | "IL" | "IA" | "KS" | "KY" | "LA" | "ME" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VA" | "WA" | "WV" | "WI" | "WY" | "DC" | "PR" | "GU" | "VI" | "AS" | "MP", false>;
|
|
2239
|
+
postalCode: IValidationField<string, false>;
|
|
2240
|
+
country: IValidationField<string | null, false>;
|
|
2241
|
+
sqft: IValidationField<number | null, false>;
|
|
2242
|
+
timezone: IValidationField<string | null, false>;
|
|
2243
|
+
imageUrl: IValidationField<string | null, false>;
|
|
2244
|
+
specialNotes: IValidationField<string | null, false>;
|
|
2245
|
+
}>;
|
|
2246
|
+
type IUpdatePropertyRequest = TInferValidationSchemaInput<typeof UpdatePropertyRequestSchema> & {
|
|
2118
2247
|
propertyType?: TPropertyType | null;
|
|
2119
2248
|
status?: TPropertyStatus | null;
|
|
2120
|
-
addressLine1?: string;
|
|
2121
|
-
addressLine2?: string | null;
|
|
2122
|
-
city?: string;
|
|
2123
2249
|
stateCode?: TUSStateCode;
|
|
2124
|
-
|
|
2125
|
-
country?: string | null;
|
|
2126
|
-
sqft?: number | null;
|
|
2127
|
-
timezone?: string | null;
|
|
2128
|
-
imageUrl?: string | null;
|
|
2129
|
-
specialNotes?: string | null;
|
|
2130
|
-
}
|
|
2250
|
+
};
|
|
2131
2251
|
interface IGetPropertiesRequest {
|
|
2132
2252
|
companyId?: string;
|
|
2133
2253
|
}
|
|
@@ -2144,15 +2264,16 @@ interface IUpdatePropertyResponse extends IPropertyDetail {
|
|
|
2144
2264
|
}
|
|
2145
2265
|
interface IDeletePropertyResponse extends IMessageResponse {
|
|
2146
2266
|
}
|
|
2147
|
-
|
|
2148
|
-
entryInstructions
|
|
2149
|
-
accessCode
|
|
2150
|
-
wifiName
|
|
2151
|
-
wifiPassword
|
|
2152
|
-
alarmCode
|
|
2153
|
-
parkingInfo
|
|
2154
|
-
specialNotes
|
|
2155
|
-
}
|
|
2267
|
+
declare const UpdatePropertyAccessInformationRequestSchema: IRuntimeValidationSchema<{
|
|
2268
|
+
entryInstructions: IValidationField<string | null, false>;
|
|
2269
|
+
accessCode: IValidationField<string | null, false>;
|
|
2270
|
+
wifiName: IValidationField<string | null, false>;
|
|
2271
|
+
wifiPassword: IValidationField<string | null, false>;
|
|
2272
|
+
alarmCode: IValidationField<string | null, false>;
|
|
2273
|
+
parkingInfo: IValidationField<string | null, false>;
|
|
2274
|
+
specialNotes: IValidationField<string | null, false>;
|
|
2275
|
+
}>;
|
|
2276
|
+
type IUpdatePropertyAccessInformationRequest = TInferValidationSchemaInput<typeof UpdatePropertyAccessInformationRequestSchema>;
|
|
2156
2277
|
interface IUpdatePropertyAccessInformationResponse extends IPropertyAccessInformation {
|
|
2157
2278
|
}
|
|
2158
2279
|
interface IGetPropertyAccessInformationRequest extends IPropertyIdParams {
|
|
@@ -2164,27 +2285,6 @@ interface IGetPropertiesByCompanyIdRequest extends ICompanyIdParams {
|
|
|
2164
2285
|
}
|
|
2165
2286
|
type IGetPropertiesByCompanyIdResponse = IProperty[];
|
|
2166
2287
|
|
|
2167
|
-
declare const PROPERTY_STATUS: {
|
|
2168
|
-
readonly ACTIVE: "ACTIVE";
|
|
2169
|
-
readonly INACTIVE: "INACTIVE";
|
|
2170
|
-
};
|
|
2171
|
-
type TPropertyStatus = TRecordValue<typeof PROPERTY_STATUS>;
|
|
2172
|
-
declare const PropertyStatusOptions: ISelectOption<TPropertyStatus>[];
|
|
2173
|
-
declare const PROPERTY_TYPES: {
|
|
2174
|
-
readonly APARTMENT: "APARTMENT";
|
|
2175
|
-
readonly COMMERCIAL: "COMMERCIAL";
|
|
2176
|
-
readonly CONDO: "CONDO";
|
|
2177
|
-
readonly DUPLEX: "DUPLEX";
|
|
2178
|
-
readonly HOUSE: "HOUSE";
|
|
2179
|
-
readonly MULTI_FAMILY: "MULTI_FAMILY";
|
|
2180
|
-
readonly OFFICE: "OFFICE";
|
|
2181
|
-
readonly RETAIL: "RETAIL";
|
|
2182
|
-
readonly TOWNHOUSE: "TOWNHOUSE";
|
|
2183
|
-
readonly VACATION_RENTAL: "VACATION_RENTAL";
|
|
2184
|
-
readonly WAREHOUSE: "WAREHOUSE";
|
|
2185
|
-
};
|
|
2186
|
-
type TPropertyType = TRecordValue<typeof PROPERTY_TYPES>;
|
|
2187
|
-
declare const PropertyTypeOptions: ISelectOption<TPropertyType>[];
|
|
2188
2288
|
interface IProperty extends IMetaData {
|
|
2189
2289
|
id: string;
|
|
2190
2290
|
displayName: string;
|
|
@@ -2297,20 +2397,41 @@ interface IJobFilterValues {
|
|
|
2297
2397
|
role: TServiceType;
|
|
2298
2398
|
}
|
|
2299
2399
|
|
|
2400
|
+
declare const ROOM_TYPE: {
|
|
2401
|
+
readonly BEDROOM: "BEDROOM";
|
|
2402
|
+
readonly BATHROOM: "BATHROOM";
|
|
2403
|
+
readonly KITCHEN: "KITCHEN";
|
|
2404
|
+
readonly LIVING_ROOM: "LIVING_ROOM";
|
|
2405
|
+
readonly DINING_ROOM: "DINING_ROOM";
|
|
2406
|
+
readonly OFFICE: "OFFICE";
|
|
2407
|
+
readonly GARAGE: "GARAGE";
|
|
2408
|
+
readonly LAUNDRY_ROOM: "LAUNDRY_ROOM";
|
|
2409
|
+
readonly BASEMENT: "BASEMENT";
|
|
2410
|
+
readonly ATTIC: "ATTIC";
|
|
2411
|
+
readonly BALCONY: "BALCONY";
|
|
2412
|
+
readonly PORCH: "PORCH";
|
|
2413
|
+
readonly GARDEN: "GARDEN";
|
|
2414
|
+
readonly OTHER: "OTHER";
|
|
2415
|
+
};
|
|
2416
|
+
type TRoomType = TRecordValue<typeof ROOM_TYPE>;
|
|
2417
|
+
|
|
2300
2418
|
interface IRoomPropertyRouteParams {
|
|
2301
2419
|
propertyId: string;
|
|
2302
2420
|
}
|
|
2303
2421
|
interface IRoomRouteParams {
|
|
2304
2422
|
roomId: string;
|
|
2305
2423
|
}
|
|
2306
|
-
|
|
2307
|
-
propertyId: string
|
|
2308
|
-
displayName: string
|
|
2309
|
-
description
|
|
2310
|
-
checklistTemplateId
|
|
2424
|
+
declare const CreateRoomRequestSchema: IRuntimeValidationSchema<{
|
|
2425
|
+
propertyId: IValidationField<string, true>;
|
|
2426
|
+
displayName: IValidationField<string, true>;
|
|
2427
|
+
description: IValidationField<string | null, false>;
|
|
2428
|
+
checklistTemplateId: IValidationField<string | null, false>;
|
|
2429
|
+
roomType: IValidationField<"OTHER" | "OFFICE" | "BEDROOM" | "BATHROOM" | "KITCHEN" | "LIVING_ROOM" | "DINING_ROOM" | "GARAGE" | "LAUNDRY_ROOM" | "BASEMENT" | "ATTIC" | "BALCONY" | "PORCH" | "GARDEN" | null, false>;
|
|
2430
|
+
heroPhoto: IValidationField<string | null, false>;
|
|
2431
|
+
}>;
|
|
2432
|
+
type ICreateRoomRequest = TInferValidationSchemaInput<typeof CreateRoomRequestSchema> & {
|
|
2311
2433
|
roomType?: IRoom["roomType"];
|
|
2312
|
-
|
|
2313
|
-
}
|
|
2434
|
+
};
|
|
2314
2435
|
interface ICreateRoomResponse extends IRoom {
|
|
2315
2436
|
}
|
|
2316
2437
|
interface IGetRoomsRequest {
|
|
@@ -2326,13 +2447,16 @@ interface IGetRoomByIdRequest extends IRoomRouteParams {
|
|
|
2326
2447
|
}
|
|
2327
2448
|
interface IGetRoomByIdResponse extends IRoom {
|
|
2328
2449
|
}
|
|
2329
|
-
|
|
2330
|
-
displayName
|
|
2331
|
-
description
|
|
2332
|
-
checklistTemplateId
|
|
2450
|
+
declare const UpdateRoomRequestSchema: IRuntimeValidationSchema<{
|
|
2451
|
+
displayName: IValidationField<string, false>;
|
|
2452
|
+
description: IValidationField<string | null, false>;
|
|
2453
|
+
checklistTemplateId: IValidationField<string | null, false>;
|
|
2454
|
+
roomType: IValidationField<"OTHER" | "OFFICE" | "BEDROOM" | "BATHROOM" | "KITCHEN" | "LIVING_ROOM" | "DINING_ROOM" | "GARAGE" | "LAUNDRY_ROOM" | "BASEMENT" | "ATTIC" | "BALCONY" | "PORCH" | "GARDEN" | null, false>;
|
|
2455
|
+
heroPhoto: IValidationField<string | null, false>;
|
|
2456
|
+
}>;
|
|
2457
|
+
type IUpdateRoomRequest = TInferValidationSchemaInput<typeof UpdateRoomRequestSchema> & {
|
|
2333
2458
|
roomType?: IRoom["roomType"];
|
|
2334
|
-
|
|
2335
|
-
}
|
|
2459
|
+
};
|
|
2336
2460
|
interface IUpdateRoomResponse extends IRoom {
|
|
2337
2461
|
}
|
|
2338
2462
|
interface IDeleteRoomRequest extends IRoomRouteParams {
|
|
@@ -2340,23 +2464,6 @@ interface IDeleteRoomRequest extends IRoomRouteParams {
|
|
|
2340
2464
|
interface IDeleteRoomResponse extends IMessageResponse {
|
|
2341
2465
|
}
|
|
2342
2466
|
|
|
2343
|
-
declare const ROOM_TYPE: {
|
|
2344
|
-
readonly BEDROOM: "BEDROOM";
|
|
2345
|
-
readonly BATHROOM: "BATHROOM";
|
|
2346
|
-
readonly KITCHEN: "KITCHEN";
|
|
2347
|
-
readonly LIVING_ROOM: "LIVING_ROOM";
|
|
2348
|
-
readonly DINING_ROOM: "DINING_ROOM";
|
|
2349
|
-
readonly OFFICE: "OFFICE";
|
|
2350
|
-
readonly GARAGE: "GARAGE";
|
|
2351
|
-
readonly LAUNDRY_ROOM: "LAUNDRY_ROOM";
|
|
2352
|
-
readonly BASEMENT: "BASEMENT";
|
|
2353
|
-
readonly ATTIC: "ATTIC";
|
|
2354
|
-
readonly BALCONY: "BALCONY";
|
|
2355
|
-
readonly PORCH: "PORCH";
|
|
2356
|
-
readonly GARDEN: "GARDEN";
|
|
2357
|
-
readonly OTHER: "OTHER";
|
|
2358
|
-
};
|
|
2359
|
-
type TRoomType = TRecordValue<typeof ROOM_TYPE>;
|
|
2360
2467
|
interface IRoom extends IMetaData {
|
|
2361
2468
|
id: string;
|
|
2362
2469
|
displayName: string;
|
|
@@ -2972,4 +3079,4 @@ type Failure<E> = {
|
|
|
2972
3079
|
type Result<T, E = unknown> = Success<T> | Failure<E>;
|
|
2973
3080
|
declare const tryCatch: <T, E = unknown>(callback: () => T | Promise<T>) => Promise<Result<T, E>>;
|
|
2974
3081
|
|
|
2975
|
-
export { ACCOUNT_STATUS, ACCOUNT_TYPE, AUTH_STATUS, BILLING_PERIOD, CHECKLIST_EXECUTION_STATUS, COMPANY_RELATIONSHIP_STATUS, COMPANY_TYPES, CompanyFilter, DAMAGE_SEVERITY, DAMAGE_STATUS, DATABASE_STATUS, ENVIRONMENT, ERROR_CODES, FilterCondition, HTTP_METHOD, HTTP_STATUS, type IAcceptCompanyInvitationRequest, type IAcceptCompanyInvitationResponse, type IAcceptInvitationRequest, type IAcceptInvitationResponse, type IAcceptInvitationRouteResponse, type IAddChecklistItemRequest, type IAddChecklistItemResponse, type IAddDamageReportCommentRequest, type IAddDamageReportCommentResponse, type IAddDamageReportPhotoRequest, type IAddDamageReportPhotoResponse, type IAddInventoryToPropertyRequest, type IAddInventoryToPropertyResponse, type IAddInventoryToRoomRequest, type IAddInventoryToRoomResponse, type IAddTemplateItemRequest, type IAddTemplateItemResponse, type IAddress, type IApiError, type IApiErrorResponse, type IApiMeta, type IApiResponse, type IApiSuccessResponse, type IAssignDamageReportRequest, type IAssignDamageReportResponse, type IAssignWorkOrderRequest, type IAssignWorkOrderResponse, type IAuthInvitationBaseResponse, type IAuthInvitationIdParams, type IAuthInvitationTokenParams, type IAuthMessageResponse, type IAuthRefreshTokenResponse, type IAuthSession, type IAuthSessionIdParams, type IAuthTokenBundle, type IAuthTokenResponse, type IBooleanFilterCondition, type ICancelWorkSessionRequest, type ICancelWorkSessionResponse, type IChangePasswordRequest, type IChangePasswordResponse, type IChecklistAndItemIdParams, type IChecklistExecution, type IChecklistIdParams, type IChecklistItemCompletion, type IChecklistItemOrder, type IChecklistTemplate, type IChecklistTemplateCompanyRouteParams, type IChecklistTemplateItem, type IChecklistTemplateWithItems, type ICloneChecklistRequest, type ICloneChecklistResponse, type ICompany, type ICompanyIdParams, type ICompanyInvitationIdParams, type ICompanyInvitationSummary, type ICompanyInvitationTokenParams, type ICompanyRouteParams, type ICompanyUserRouteParams, type ICompanyUserSummary, type ICompanyWithRelationshipStatus, type ICompanyWithUsers, type ICompleteChecklistExecutionRequest, type ICompleteChecklistExecutionResponse, type ICompleteChecklistItemInput, type ICompleteExecutionItemRequest, type ICompleteExecutionItemResponse, type ICompleteWorkOrderRequest, type ICompleteWorkOrderResponse, type ICompleteWorkSessionRequest, type ICompleteWorkSessionResponse, type ICountResponse, type ICreateChecklistRequest, type ICreateChecklistResponse, type ICreateCompanyRequest, type ICreateCompanyResponse, type ICreateCustomChecklistRequest, type ICreateCustomChecklistResponse, type ICreateDamageReportInput, type ICreateDamageReportRequest, type ICreateDamageReportResponse, type ICreateInventoryItemRequest, type ICreateInventoryItemResponse, type ICreatePropertyRequest, type ICreatePropertyResponse, type ICreateRestockOrderRequest, type ICreateRestockOrderResponse, type ICreateRoomChecklistInput, type ICreateRoomChecklistItemInput, type ICreateRoomRequest, type ICreateRoomResponse, type ICreateTemplateInput, type ICreateTemplateItemInput, type ICreateTemplateRequest, type ICreateTemplateResponse, type ICreateTemplateWithItemsRequest, type ICreateTemplateWithItemsResponse, type ICreateWorkOrderInput, type ICreateWorkOrderRequest, type ICreateWorkOrderResponse, type ICreateWorkSessionInput, type ICreateWorkSessionRequest, type ICreateWorkSessionResponse, type IDamageComment, type IDamagePhoto, type IDamageReport, type IDamageReportPhoto, type IDamageReportPropertyRouteParams, type IDamageReportRoomRouteParams, type IDamageReportRouteParams, type IDamageReportStatusHistory, type IDamageReportWorkOrderRouteParams, type IDataWithPagingResult, type IDeclineCompanyInvitationRequest, type IDeclineCompanyInvitationResponse, type IDeleteChecklistItemRequest, type IDeleteChecklistItemResponse, type IDeleteChecklistRequest, type IDeleteChecklistResponse, type IDeleteImageRequest, type IDeleteImageResponse, type IDeleteInventoryItemRequest, type IDeleteInventoryItemResponse, type IDeletePropertyRequest, type IDeletePropertyResponse, type IDeleteRoomRequest, type IDeleteRoomResponse, type IDeleteTemplateItemRequest, type IDeleteTemplateItemResponse, type IDeleteTemplateRequest, type IDeleteTemplateResponse, type IDeleteUserRequest, type IDeleteUserResponse, type IDeviceInfo, type IDuplicateTemplateItemRequest, type IDuplicateTemplateItemResponse, type IEmailValidationResult, type IEmptyRouteParams, type IEmptyRouteRequest, type IFilterCondition, type IFilterConditionBase, type IForgotPasswordRequest, type IForgotPasswordResponse, type IGetActiveWorkSessionRequest, type IGetActiveWorkSessionResponse, type IGetChecklistByIdRequest, type IGetChecklistByIdResponse, type IGetChecklistByRoomIdRequest, type IGetChecklistByRoomIdResponse, type IGetChecklistExecutionByIdRequest, type IGetChecklistExecutionByIdResponse, type IGetChecklistExecutionsRequest, type IGetChecklistExecutionsResponse, type IGetChecklistItemsRequest, type IGetChecklistItemsResponse, type IGetChecklistWithItemsRequest, type IGetChecklistWithItemsResponse, type IGetCompaniesQuery, type IGetCompaniesRequest, type IGetCompaniesResponse, type IGetCompanyByIdRequest, type IGetCompanyByIdResponse, type IGetCompanyUsersRequest, type IGetCompanyUsersResponse, type IGetCurrentUserRequest, type IGetCurrentUserResponse, type IGetCustomChecklistItemsRequest, type IGetCustomChecklistItemsResponse, type IGetDamageReportByIdRequest, type IGetDamageReportByIdResponse, type IGetDamageReportCommentsRequest, type IGetDamageReportCommentsResponse, type IGetDamageReportHistoryRequest, type IGetDamageReportHistoryResponse, type IGetDamageReportPhotosRequest, type IGetDamageReportPhotosResponse, type IGetDamageReportsByPropertyIdRequest, type IGetDamageReportsByPropertyIdResponse, type IGetDamageReportsByRoomIdRequest, type IGetDamageReportsByRoomIdResponse, type IGetDetailedHealthRequest, type IGetDetailedHealthResponse, type IGetDetailedRoomsByPropertyIdRequest, type IGetDetailedRoomsByPropertyIdResponse, type IGetExecutionItemsRequest, type IGetExecutionItemsResponse, type IGetExecutionProgressRequest, type IGetExecutionProgressResponse, type IGetHealthRequest, type IGetHealthResponse, type IGetImagesForEntityResponse, type IGetInventoryByCompanyIdRequest, type IGetInventoryByCompanyIdResponse, type IGetInventoryCountsByExecutionIdRequest, type IGetInventoryCountsByExecutionIdResponse, type IGetInventoryItemByIdRequest, type IGetInventoryItemByIdResponse, type IGetLoginHistoryListResponse, type IGetLoginHistoryRequest, type IGetLoginHistoryResponse, type IGetMeRequest, type IGetMeResponse, type IGetPendingCompanyInvitationsRequest, type IGetPendingCompanyInvitationsResponse, type IGetPendingInvitationsListResponse, type IGetPendingInvitationsRequest, type IGetPendingInvitationsResponse, type IGetPropertiesByCompanyIdRequest, type IGetPropertiesByCompanyIdResponse, type IGetPropertiesRequest, type IGetPropertiesResponse, type IGetPropertyAccessInformationRequest, type IGetPropertyAccessInformationResponse, type IGetPropertyByIdRequest, type IGetPropertyByIdResponse, type IGetPropertyInventoryNeedingRestockRequest, type IGetPropertyInventoryNeedingRestockResponse, type IGetPropertyInventoryRequest, type IGetPropertyInventoryResponse, type IGetPropertyResponse, type IGetRestockOrderItemsRequest, type IGetRestockOrderItemsResponse, type IGetRestockOrdersByCompanyIdRequest, type IGetRestockOrdersByCompanyIdResponse, type IGetRoomByIdRequest, type IGetRoomByIdResponse, type IGetRoomInventoryNeedingRestockRequest, type IGetRoomInventoryNeedingRestockResponse, type IGetRoomInventoryRequest, type IGetRoomInventoryResponse, type IGetRoomsByPropertyIdRequest, type IGetRoomsByPropertyIdResponse, type IGetRoomsRequest, type IGetSessionsRequest, type IGetSessionsResponse, type IGetStaffRequest, type IGetStaffResponse, type IGetTemplateByIdRequest, type IGetTemplateByIdResponse, type IGetTemplateItemsRequest, type IGetTemplateItemsResponse, type IGetTemplateUsageRequest, type IGetTemplateUsageResponse, type IGetTemplateWithItemsRequest, type IGetTemplateWithItemsResponse, type IGetTemplatesByCompanyIdRequest, type IGetTemplatesByCompanyIdResponse, type IGetUserByEmailRequest, type IGetUserByEmailResponse, type IGetUserByIdRequest, type IGetUserByIdResponse, type IGetUserCompaniesRequest, type IGetUserCompaniesResponse, type IGetUserResponse, type IGetUsersByAccountTypeRequest, type IGetUsersByAccountTypeResponse, type IGetWorkOrderByIdRequest, type IGetWorkOrderByIdResponse, type IGetWorkOrdersByPropertyIdRequest, type IGetWorkOrdersByPropertyIdResponse, type IGetWorkSessionByIdRequest, type IGetWorkSessionByIdResponse, type IGetWorkSessionWithExecutionsRequest, type IGetWorkSessionWithExecutionsResponse, type IGetWorkSessionsByPropertyIdRequest, type IGetWorkSessionsByPropertyIdResponse, type IGetWorkSessionsByUserIdRequest, type IGetWorkSessionsByUserIdResponse, type IHealthCheckResponse, type IHealthChecks, type IImage, type IImageCompanyRouteParams, type IImagePropertyRouteParams, type IImageRoomRouteParams, type IImageRouteParams, type IImageUserRouteParams, type IImageWithUrl, type IIncludeInactiveQuery, type IIncludeResolvedQuery, type IInventoryCompanyRouteParams, type IInventoryCount, type IInventoryExecutionRouteParams, type IInventoryItem, type IInventoryItemRouteParams, type IInventoryOrderRouteParams, type IInventoryPropertyRouteParams, type IInventoryRestockOrder, type IInventoryRestockOrderItem, type IInventoryRoomRouteParams, type IInviteCompanyToCompanyRequest, type IInviteCompanyToCompanyResponse, type IInviteUserToCompanyRequest, type IInviteUserToCompanyResponse, type IJobFilterValues, type ILimitQuery, type ILoginCredentials, type ILoginRequest, type ILoginResponse, type ILogoutAllRequest, type ILogoutAllResponse, type ILogoutRequest, type ILogoutResponse, IMAGE_ENTITY, IMAGE_ENTITY_TYPE, type IMessageResponse, type IMetaData, type IMissingFieldsErrorDetail, INVENTORY_ITEM_TYPE, INVENTORY_RESTOCK_ORDER_STATUS, INVENTORY_UNITS, INVITATION_STATUS, type INumberFilterCondition, type IPaginationRequest, type IPagingObject, type IPagingResult, type IPasswordValidationResult, type IPasswordValidationRules, type IProperty, type IPropertyAccessFormValues, type IPropertyAccessInformation, type IPropertyAccessItem, type IPropertyBase, type IPropertyDetail, type IPropertyFilterValues, type IPropertyFormValues, type IPropertyIdParams, type IPropertyInventory, type IPropertyJobSummaryItem, type IPropertyMetric, type IPropertyRoomSummaryItem, type IPropertySummary, type IRateLimitErrorDetail, type IRateLimitStatus, type IRecordInventoryCountRequest, type IRecordInventoryCountResponse, type IRefreshSessionRequest, type IRefreshSessionResponse, type IRefreshTokenData, type IRegisterCredentials, type IRegisterRequest, type IRegisterResponse, type IRegisterWithInvitationRequest, type IRegisterWithInvitationResponse, type IReorderChecklistItemsRequest, type IReorderChecklistItemsResponse, type IReorderTemplateItemsRequest, type IReorderTemplateItemsResponse, type IResolveDamageReportRequest, type IResolveDamageReportResponse, type IRestockOrderItemInput, type IRevokeCompanyInvitationRequest, type IRevokeCompanyInvitationResponse, type IRevokeInvitationRequest, type IRevokeInvitationResponse, type IRevokeSessionRequest, type IRevokeSessionResponse, type IRoom, type IRoomChecklist, type IRoomChecklistItem, type IRoomChecklistRoomRouteParams, type IRoomChecklistWithItems, type IRoomInventory, type IRoomInventoryIdParams, type IRoomPropertyRouteParams, type IRoomRouteParams, type ISelectOption, type ISetAuthSessionParams, type ISkipChecklistExecutionRequest, type ISkipChecklistExecutionResponse, type ISortCondition, type IStartChecklistExecutionRequest, type IStartChecklistExecutionResponse, type IStoredAuthSession, type IStringFilterCondition, type ISuccessResponse, type ITemplateAndItemIdParams, type ITemplateIdParams, type ITemplateItemIdParams, type ITemplateItemOrder, type IToggleTemplateActiveRequest, type IToggleTemplateActiveResponse, type ITokenPayload, type ITypedApiError, type IUpdateChecklistItemRequest, type IUpdateChecklistItemResponse, type IUpdateChecklistRequest, type IUpdateChecklistResponse, type IUpdateCompanyRequest, type IUpdateCompanyResponse, type IUpdateDamageReportRequest, type IUpdateDamageReportResponse, type IUpdateDamageReportStatusRequest, type IUpdateDamageReportStatusResponse, type IUpdateInventoryItemRequest, type IUpdateInventoryItemResponse, type IUpdatePropertyAccessInformationRequest, type IUpdatePropertyAccessInformationResponse, type IUpdatePropertyRequest, type IUpdatePropertyResponse, type IUpdateRestockOrderStatusRequest, type IUpdateRestockOrderStatusResponse, type IUpdateRoomInventoryRequest, type IUpdateRoomInventoryResponse, type IUpdateRoomRequest, type IUpdateRoomResponse, type IUpdateTemplateItemRequest, type IUpdateTemplateItemResponse, type IUpdateTemplateRequest, type IUpdateTemplateResponse, type IUpdateUserRequest, type IUpdateUserResponse, type IUpdateWorkOrderRequest, type IUpdateWorkOrderResponse, type IUpdateWorkOrderStatusRequest, type IUpdateWorkOrderStatusResponse, type IUpdateWorkSessionRequest, type IUpdateWorkSessionResponse, type IUploadImagesResponse, type IUploadProfileImageRequest, type IUploadProfileImageResponse, type IUser, type IUserIdParams, type IUserSafe, type IUserSession, type IUserSubscription, type IValidateCompanyInvitationRequest, type IValidateCompanyInvitationResponse, type IValidateInvitationRequest, type IValidateInvitationResponse, type IValidationErrorDetail, type IVersion, type IWeekDay, type IWorkOrder, type IWorkSession, type IWorkSessionExecutionRouteParams, type IWorkSessionPropertyRouteParams, type IWorkSessionRouteParams, type IWorkSessionUserRouteParams, type IWorkSessionWithExecutions, JSONStringify, LANGUAGE, MODE, MONTHS, PROPERTY_STATUS, PROPERTY_TYPES, PropertyStatusOptions, PropertyTypeOptions, ROOM_TYPE, SERVER_STATUS, SERVICE_TYPES, SEVERITY, STATUS, SUBSCRIPTION_PROVIDER, SUBSCRIPTION_STATUS, ServiceTypeOptions, SeverityOptions, SortDirection, StatusOptions, type TAccountStatus, type TAccountType, type TApiErrorDetails, type TAuthStatus, type TBillingPeriod, type TChecklistExecutionStatus, type TCompanyFilter, type TCompanyRelationshipStatus, type TCompanyType, type TDamageSeverity, type TDamageStatus, type TDatabaseStatus, type TDateFormat, type TDateInput, type TDateTimeString, type TEmptyObject, type TEnvironment, type TErrorCode, type TErrorResponseDetail, type TFilterCondition, type TFilterConditionValue, type THttpMethod, type THttpStatusCode, type TImageEntityType, type TInventoryItemType, type TInventoryRestockOrderStatus, type TInventoryUnitType, type TInvitationStatus, type TJsonObject, type TJsonPrimitive, type TJsonValue, type TLanguage, type TMissingFieldsError, type TMode, type TMonth, type TPropertyStatus, type TPropertyType, type TRateLimitError, type TRecordKeys, type TRecordValue, type TRoomType, type TServerStatus, type TServiceType, type TSeverity, type TSortDirection, type TStatus, type TStoredImageEntityType, type TSubscriptionProvider, type TSubscriptionStatus, type TUSJurisdiction, type TUSStateCode, type TUnknownRecord, type TValidationError, type TVersionInput, type TWorkOrderPriority, type TWorkOrderStatus, type TWorkSessionStatus, type TurndownObject, US_JURISDICTIONS, UnitedStatesJurisdictionOptions, WORK_ORDER_PRIORITY, WORK_ORDER_STATUS, WORK_SESSION_STATUS, addDays, addWeeks, camelCase, capitalize, charCount, chunkArray, cleanFormData, containsAll, containsAny, convertStringBooleans, createPagingObject, daysBetween, deepClone, deletePropertyIfExists, endOfDay, endOfWeek, escapeRegex, extractNumbers, filterArrayById, flatten, formatAddress, formatDate, formatNumber, formatPhoneNumber, fromBase64, getFirstPropertyValue, getNestedValue, getWeekDays, hasOwnProp, hasProperties, hasProperty, highlight, isAuthError, isEmail, isEmpty, isFuture, isMissingFieldsError, isNumeric, isPalindrome, isPast, isRateLimitError, isToday, isUrl, isValidationError, kebabCase, kebabToSpaces, longestWord, lowerCase, normalCase, normalizeSpaces, omitProperties, padEnd, padStart, parseJSON, parseNumber, pascalCase, pluralize, removeDuplicates, removeFormProperties, removeSpecialChars, removeUndefined, removeWhitespace, repeat, repeatChar, replaceNulls, resetPagination, returnObject, reverse, sentenceCase, setNestedValue, slug, snakeCase, snakeCaseToSpaces, sortArrayByProperty, splitMultiple, startOfDay, startOfWeek, stringSimilarity, stripHtml, subtractDays, subtractWeeks, timeAgo, titleCase, toBase64, toCamelCase, toKebabCase, toNumber, toPascalCase, toSnakeCase, truncate, tryCatch, unflatten, upperCase, validPath, wordCount };
|
|
3082
|
+
export { ACCOUNT_STATUS, ACCOUNT_TYPE, AUTH_STATUS, AcceptInvitationRequestSchema, BILLING_PERIOD, CHECKLIST_EXECUTION_STATUS, COMPANY_RELATIONSHIP_STATUS, COMPANY_TYPES, ChangePasswordRequestSchema, CompanyFilter, CreateCompanyRequestSchema, CreatePropertyRequestSchema, CreateRoomRequestSchema, DAMAGE_SEVERITY, DAMAGE_STATUS, DATABASE_STATUS, ENVIRONMENT, ERROR_CODES, FilterCondition, ForgotPasswordRequestSchema, HTTP_METHOD, HTTP_STATUS, type IAcceptCompanyInvitationRequest, type IAcceptCompanyInvitationResponse, type IAcceptInvitationRequest, type IAcceptInvitationResponse, type IAcceptInvitationRouteResponse, type IAddChecklistItemRequest, type IAddChecklistItemResponse, type IAddDamageReportCommentRequest, type IAddDamageReportCommentResponse, type IAddDamageReportPhotoRequest, type IAddDamageReportPhotoResponse, type IAddInventoryToPropertyRequest, type IAddInventoryToPropertyResponse, type IAddInventoryToRoomRequest, type IAddInventoryToRoomResponse, type IAddTemplateItemRequest, type IAddTemplateItemResponse, type IAddress, type IApiError, type IApiErrorResponse, type IApiMeta, type IApiResponse, type IApiSuccessResponse, type IAssignDamageReportRequest, type IAssignDamageReportResponse, type IAssignWorkOrderRequest, type IAssignWorkOrderResponse, type IAuthInvitationBaseResponse, type IAuthInvitationIdParams, type IAuthInvitationTokenParams, type IAuthMessageResponse, type IAuthRefreshTokenResponse, type IAuthSession, type IAuthSessionIdParams, type IAuthTokenBundle, type IAuthTokenResponse, type IBooleanFilterCondition, type ICancelWorkSessionRequest, type ICancelWorkSessionResponse, type IChangePasswordRequest, type IChangePasswordResponse, type IChecklistAndItemIdParams, type IChecklistExecution, type IChecklistIdParams, type IChecklistItemCompletion, type IChecklistItemOrder, type IChecklistTemplate, type IChecklistTemplateCompanyRouteParams, type IChecklistTemplateItem, type IChecklistTemplateWithItems, type ICloneChecklistRequest, type ICloneChecklistResponse, type ICompany, type ICompanyIdParams, type ICompanyInvitationIdParams, type ICompanyInvitationSummary, type ICompanyInvitationTokenParams, type ICompanyRouteParams, type ICompanyUserRouteParams, type ICompanyUserSummary, type ICompanyWithRelationshipStatus, type ICompanyWithUsers, type ICompleteChecklistExecutionRequest, type ICompleteChecklistExecutionResponse, type ICompleteChecklistItemInput, type ICompleteExecutionItemRequest, type ICompleteExecutionItemResponse, type ICompleteWorkOrderRequest, type ICompleteWorkOrderResponse, type ICompleteWorkSessionRequest, type ICompleteWorkSessionResponse, type ICountResponse, type ICreateChecklistRequest, type ICreateChecklistResponse, type ICreateCompanyRequest, type ICreateCompanyResponse, type ICreateCustomChecklistRequest, type ICreateCustomChecklistResponse, type ICreateDamageReportInput, type ICreateDamageReportRequest, type ICreateDamageReportResponse, type ICreateInventoryItemRequest, type ICreateInventoryItemResponse, type ICreatePropertyRequest, type ICreatePropertyResponse, type ICreateRestockOrderRequest, type ICreateRestockOrderResponse, type ICreateRoomChecklistInput, type ICreateRoomChecklistItemInput, type ICreateRoomRequest, type ICreateRoomResponse, type ICreateTemplateInput, type ICreateTemplateItemInput, type ICreateTemplateRequest, type ICreateTemplateResponse, type ICreateTemplateWithItemsRequest, type ICreateTemplateWithItemsResponse, type ICreateWorkOrderInput, type ICreateWorkOrderRequest, type ICreateWorkOrderResponse, type ICreateWorkSessionInput, type ICreateWorkSessionRequest, type ICreateWorkSessionResponse, type IDamageComment, type IDamagePhoto, type IDamageReport, type IDamageReportPhoto, type IDamageReportPropertyRouteParams, type IDamageReportRoomRouteParams, type IDamageReportRouteParams, type IDamageReportStatusHistory, type IDamageReportWorkOrderRouteParams, type IDataWithPagingResult, type IDeclineCompanyInvitationRequest, type IDeclineCompanyInvitationResponse, type IDeleteChecklistItemRequest, type IDeleteChecklistItemResponse, type IDeleteChecklistRequest, type IDeleteChecklistResponse, type IDeleteImageRequest, type IDeleteImageResponse, type IDeleteInventoryItemRequest, type IDeleteInventoryItemResponse, type IDeletePropertyRequest, type IDeletePropertyResponse, type IDeleteRoomRequest, type IDeleteRoomResponse, type IDeleteTemplateItemRequest, type IDeleteTemplateItemResponse, type IDeleteTemplateRequest, type IDeleteTemplateResponse, type IDeleteUserRequest, type IDeleteUserResponse, type IDeviceInfo, type IDuplicateTemplateItemRequest, type IDuplicateTemplateItemResponse, type IEmailValidationResult, type IEmptyRouteParams, type IEmptyRouteRequest, type IFilterCondition, type IFilterConditionBase, type IForgotPasswordRequest, type IForgotPasswordResponse, type IGetActiveWorkSessionRequest, type IGetActiveWorkSessionResponse, type IGetChecklistByIdRequest, type IGetChecklistByIdResponse, type IGetChecklistByRoomIdRequest, type IGetChecklistByRoomIdResponse, type IGetChecklistExecutionByIdRequest, type IGetChecklistExecutionByIdResponse, type IGetChecklistExecutionsRequest, type IGetChecklistExecutionsResponse, type IGetChecklistItemsRequest, type IGetChecklistItemsResponse, type IGetChecklistWithItemsRequest, type IGetChecklistWithItemsResponse, type IGetCompaniesQuery, type IGetCompaniesRequest, type IGetCompaniesResponse, type IGetCompanyByIdRequest, type IGetCompanyByIdResponse, type IGetCompanyUsersRequest, type IGetCompanyUsersResponse, type IGetCurrentUserRequest, type IGetCurrentUserResponse, type IGetCustomChecklistItemsRequest, type IGetCustomChecklistItemsResponse, type IGetDamageReportByIdRequest, type IGetDamageReportByIdResponse, type IGetDamageReportCommentsRequest, type IGetDamageReportCommentsResponse, type IGetDamageReportHistoryRequest, type IGetDamageReportHistoryResponse, type IGetDamageReportPhotosRequest, type IGetDamageReportPhotosResponse, type IGetDamageReportsByPropertyIdRequest, type IGetDamageReportsByPropertyIdResponse, type IGetDamageReportsByRoomIdRequest, type IGetDamageReportsByRoomIdResponse, type IGetDetailedHealthRequest, type IGetDetailedHealthResponse, type IGetDetailedRoomsByPropertyIdRequest, type IGetDetailedRoomsByPropertyIdResponse, type IGetExecutionItemsRequest, type IGetExecutionItemsResponse, type IGetExecutionProgressRequest, type IGetExecutionProgressResponse, type IGetHealthRequest, type IGetHealthResponse, type IGetImagesForEntityResponse, type IGetInventoryByCompanyIdRequest, type IGetInventoryByCompanyIdResponse, type IGetInventoryCountsByExecutionIdRequest, type IGetInventoryCountsByExecutionIdResponse, type IGetInventoryItemByIdRequest, type IGetInventoryItemByIdResponse, type IGetLoginHistoryListResponse, type IGetLoginHistoryRequest, type IGetLoginHistoryResponse, type IGetMeRequest, type IGetMeResponse, type IGetPendingCompanyInvitationsRequest, type IGetPendingCompanyInvitationsResponse, type IGetPendingInvitationsListResponse, type IGetPendingInvitationsRequest, type IGetPendingInvitationsResponse, type IGetPropertiesByCompanyIdRequest, type IGetPropertiesByCompanyIdResponse, type IGetPropertiesRequest, type IGetPropertiesResponse, type IGetPropertyAccessInformationRequest, type IGetPropertyAccessInformationResponse, type IGetPropertyByIdRequest, type IGetPropertyByIdResponse, type IGetPropertyInventoryNeedingRestockRequest, type IGetPropertyInventoryNeedingRestockResponse, type IGetPropertyInventoryRequest, type IGetPropertyInventoryResponse, type IGetPropertyResponse, type IGetRestockOrderItemsRequest, type IGetRestockOrderItemsResponse, type IGetRestockOrdersByCompanyIdRequest, type IGetRestockOrdersByCompanyIdResponse, type IGetRoomByIdRequest, type IGetRoomByIdResponse, type IGetRoomInventoryNeedingRestockRequest, type IGetRoomInventoryNeedingRestockResponse, type IGetRoomInventoryRequest, type IGetRoomInventoryResponse, type IGetRoomsByPropertyIdRequest, type IGetRoomsByPropertyIdResponse, type IGetRoomsRequest, type IGetSessionsRequest, type IGetSessionsResponse, type IGetStaffRequest, type IGetStaffResponse, type IGetTemplateByIdRequest, type IGetTemplateByIdResponse, type IGetTemplateItemsRequest, type IGetTemplateItemsResponse, type IGetTemplateUsageRequest, type IGetTemplateUsageResponse, type IGetTemplateWithItemsRequest, type IGetTemplateWithItemsResponse, type IGetTemplatesByCompanyIdRequest, type IGetTemplatesByCompanyIdResponse, type IGetUserByEmailRequest, type IGetUserByEmailResponse, type IGetUserByIdRequest, type IGetUserByIdResponse, type IGetUserCompaniesRequest, type IGetUserCompaniesResponse, type IGetUserResponse, type IGetUsersByAccountTypeRequest, type IGetUsersByAccountTypeResponse, type IGetWorkOrderByIdRequest, type IGetWorkOrderByIdResponse, type IGetWorkOrdersByPropertyIdRequest, type IGetWorkOrdersByPropertyIdResponse, type IGetWorkSessionByIdRequest, type IGetWorkSessionByIdResponse, type IGetWorkSessionWithExecutionsRequest, type IGetWorkSessionWithExecutionsResponse, type IGetWorkSessionsByPropertyIdRequest, type IGetWorkSessionsByPropertyIdResponse, type IGetWorkSessionsByUserIdRequest, type IGetWorkSessionsByUserIdResponse, type IHealthCheckResponse, type IHealthChecks, type IImage, type IImageCompanyRouteParams, type IImagePropertyRouteParams, type IImageRoomRouteParams, type IImageRouteParams, type IImageUserRouteParams, type IImageWithUrl, type IIncludeInactiveQuery, type IIncludeResolvedQuery, type IInventoryCompanyRouteParams, type IInventoryCount, type IInventoryExecutionRouteParams, type IInventoryItem, type IInventoryItemRouteParams, type IInventoryOrderRouteParams, type IInventoryPropertyRouteParams, type IInventoryRestockOrder, type IInventoryRestockOrderItem, type IInventoryRoomRouteParams, type IInviteCompanyToCompanyRequest, type IInviteCompanyToCompanyResponse, type IInviteUserToCompanyRequest, type IInviteUserToCompanyResponse, type IJobFilterValues, type ILimitQuery, type ILoginCredentials, type ILoginRequest, type ILoginResponse, type ILogoutAllRequest, type ILogoutAllResponse, type ILogoutRequest, type ILogoutResponse, IMAGE_ENTITY, IMAGE_ENTITY_TYPE, type IMessageResponse, type IMetaData, type IMissingFieldsErrorDetail, INVENTORY_ITEM_TYPE, INVENTORY_RESTOCK_ORDER_STATUS, INVENTORY_UNITS, INVITATION_STATUS, type INumberFilterCondition, type IPaginationRequest, type IPagingObject, type IPagingResult, type IPasswordValidationResult, type IPasswordValidationRules, type IProperty, type IPropertyAccessFormValues, type IPropertyAccessInformation, type IPropertyAccessItem, type IPropertyBase, type IPropertyDetail, type IPropertyFilterValues, type IPropertyFormValues, type IPropertyIdParams, type IPropertyInventory, type IPropertyJobSummaryItem, type IPropertyMetric, type IPropertyRoomSummaryItem, type IPropertySummary, type IRateLimitErrorDetail, type IRateLimitStatus, type IRecordInventoryCountRequest, type IRecordInventoryCountResponse, type IRefreshSessionRequest, type IRefreshSessionResponse, type IRefreshTokenData, type IRegisterCredentials, type IRegisterRequest, type IRegisterResponse, type IRegisterWithInvitationRequest, type IRegisterWithInvitationResponse, type IReorderChecklistItemsRequest, type IReorderChecklistItemsResponse, type IReorderTemplateItemsRequest, type IReorderTemplateItemsResponse, type IResolveDamageReportRequest, type IResolveDamageReportResponse, type IRestockOrderItemInput, type IRevokeCompanyInvitationRequest, type IRevokeCompanyInvitationResponse, type IRevokeInvitationRequest, type IRevokeInvitationResponse, type IRevokeSessionRequest, type IRevokeSessionResponse, type IRoom, type IRoomChecklist, type IRoomChecklistItem, type IRoomChecklistRoomRouteParams, type IRoomChecklistWithItems, type IRoomInventory, type IRoomInventoryIdParams, type IRoomPropertyRouteParams, type IRoomRouteParams, type IRuntimeValidationOptions, type IRuntimeValidationSchema, type ISelectOption, type ISetAuthSessionParams, type ISkipChecklistExecutionRequest, type ISkipChecklistExecutionResponse, type ISortCondition, type IStartChecklistExecutionRequest, type IStartChecklistExecutionResponse, type IStoredAuthSession, type IStringFilterCondition, type ISuccessResponse, type ITemplateAndItemIdParams, type ITemplateIdParams, type ITemplateItemIdParams, type ITemplateItemOrder, type IToggleTemplateActiveRequest, type IToggleTemplateActiveResponse, type ITokenPayload, type ITypedApiError, type IUpdateChecklistItemRequest, type IUpdateChecklistItemResponse, type IUpdateChecklistRequest, type IUpdateChecklistResponse, type IUpdateCompanyRequest, type IUpdateCompanyResponse, type IUpdateCurrentUserRequest, type IUpdateDamageReportRequest, type IUpdateDamageReportResponse, type IUpdateDamageReportStatusRequest, type IUpdateDamageReportStatusResponse, type IUpdateInventoryItemRequest, type IUpdateInventoryItemResponse, type IUpdatePropertyAccessInformationRequest, type IUpdatePropertyAccessInformationResponse, type IUpdatePropertyRequest, type IUpdatePropertyResponse, type IUpdateRestockOrderStatusRequest, type IUpdateRestockOrderStatusResponse, type IUpdateRoomInventoryRequest, type IUpdateRoomInventoryResponse, type IUpdateRoomRequest, type IUpdateRoomResponse, type IUpdateTemplateItemRequest, type IUpdateTemplateItemResponse, type IUpdateTemplateRequest, type IUpdateTemplateResponse, type IUpdateUserRequest, type IUpdateUserResponse, type IUpdateWorkOrderRequest, type IUpdateWorkOrderResponse, type IUpdateWorkOrderStatusRequest, type IUpdateWorkOrderStatusResponse, type IUpdateWorkSessionRequest, type IUpdateWorkSessionResponse, type IUploadImagesResponse, type IUploadProfileImageRequest, type IUploadProfileImageResponse, type IUser, type IUserIdParams, type IUserSafe, type IUserSession, type IUserSubscription, type IValidateCompanyInvitationRequest, type IValidateCompanyInvitationResponse, type IValidateInvitationRequest, type IValidateInvitationResponse, type IValidationErrorDetail, type IValidationField, type IValidationIssue, type IValidationResult, type IVersion, type IWeekDay, type IWorkOrder, type IWorkSession, type IWorkSessionExecutionRouteParams, type IWorkSessionPropertyRouteParams, type IWorkSessionRouteParams, type IWorkSessionUserRouteParams, type IWorkSessionWithExecutions, InviteCompanyToCompanyRequestSchema, InviteUserToCompanyRequestSchema, JSONStringify, LANGUAGE, LoginRequestSchema, LogoutRequestSchema, MODE, MONTHS, PROPERTY_STATUS, PROPERTY_TYPES, PropertyStatusOptions, PropertyTypeOptions, ROOM_TYPE, RefreshSessionRequestSchema, RegisterRequestSchema, RegisterWithInvitationRequestSchema, SERVER_STATUS, SERVICE_TYPES, SEVERITY, STATUS, SUBSCRIPTION_PROVIDER, SUBSCRIPTION_STATUS, ServiceTypeOptions, SeverityOptions, SortDirection, StatusOptions, type TAccountStatus, type TAccountType, type TApiErrorDetails, type TAuthStatus, type TBillingPeriod, type TChecklistExecutionStatus, type TCompanyFilter, type TCompanyRelationshipStatus, type TCompanyType, type TDamageSeverity, type TDamageStatus, type TDatabaseStatus, type TDateFormat, type TDateInput, type TDateTimeString, type TEmptyObject, type TEnvironment, type TErrorCode, type TErrorResponseDetail, type TFilterCondition, type TFilterConditionValue, type THttpMethod, type THttpStatusCode, type TImageEntityType, type TInferValidationFields, type TInferValidationSchemaInput, type TInventoryItemType, type TInventoryRestockOrderStatus, type TInventoryUnitType, type TInvitationStatus, type TJsonObject, type TJsonPrimitive, type TJsonValue, type TLanguage, type TMissingFieldsError, type TMissingValuePolicy, type TMode, type TMonth, type TPropertyStatus, type TPropertyType, type TRateLimitError, type TRecordKeys, type TRecordValue, type TRoomType, type TServerStatus, type TServiceType, type TSeverity, type TSortDirection, type TStatus, type TStoredImageEntityType, type TSubscriptionProvider, type TSubscriptionStatus, type TUSJurisdiction, type TUSStateCode, type TUnknownRecord, type TValidationError, type TValidationFieldMap, type TValidationIssueType, type TVersionInput, type TWorkOrderPriority, type TWorkOrderStatus, type TWorkSessionStatus, type TurndownObject, US_JURISDICTIONS, UnitedStatesJurisdictionOptions, UpdateCompanyRequestSchema, UpdateCurrentUserRequestSchema, UpdatePropertyAccessInformationRequestSchema, UpdatePropertyRequestSchema, UpdateRoomRequestSchema, UpdateUserRequestSchema, WORK_ORDER_PRIORITY, WORK_ORDER_STATUS, WORK_SESSION_STATUS, addDays, addWeeks, camelCase, capitalize, charCount, chunkArray, cleanFormData, containsAll, containsAny, convertStringBooleans, createPagingObject, createValidationSchema, daysBetween, deepClone, deletePropertyIfExists, endOfDay, endOfWeek, escapeRegex, extractNumbers, filterArrayById, flatten, formatAddress, formatDate, formatNumber, formatPhoneNumber, fromBase64, getFirstPropertyValue, getNestedValue, getWeekDays, hasOwnProp, hasProperties, hasProperty, highlight, isAuthError, isEmail, isEmpty, isFuture, isMissingFieldsError, isNumeric, isPalindrome, isPast, isRateLimitError, isToday, isUrl, isValidationError, kebabCase, kebabToSpaces, longestWord, lowerCase, normalCase, normalizeSpaces, omitProperties, optionalEnumField, optionalNullableEnumField, optionalNullableNonNegativeIntegerField, optionalNullableStringField, optionalRecordField, optionalStringField, padEnd, padStart, parseJSON, parseNumber, pascalCase, pluralize, removeDuplicates, removeFormProperties, removeSpecialChars, removeUndefined, removeWhitespace, repeat, repeatChar, replaceNulls, requiredEmailField, requiredEnumField, requiredStringField, requiredUuidField, resetPagination, returnObject, reverse, sentenceCase, setNestedValue, slug, snakeCase, snakeCaseToSpaces, sortArrayByProperty, splitMultiple, startOfDay, startOfWeek, stringSimilarity, stripHtml, subtractDays, subtractWeeks, timeAgo, titleCase, toBase64, toCamelCase, toKebabCase, toNumber, toPascalCase, toSnakeCase, truncate, tryCatch, unflatten, upperCase, validPath, wordCount };
|