@justins-home/api-services 1.2.22 → 1.2.23
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.d.mts +86 -92
- package/dist/index.d.ts +86 -92
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1398,38 +1398,34 @@ declare const admin: {
|
|
|
1398
1398
|
assignComplianceToListingVertical: (params: ApiPathParams<"assignComplianceToListingVertical">, payload: ApiRequest<"assignComplianceToListingVertical">) => Promise<unknown>;
|
|
1399
1399
|
assignComplianceToListingType: (params: ApiPathParams<"assignComplianceToListingType">, payload: ApiRequest<"assignComplianceToListingType">) => Promise<unknown>;
|
|
1400
1400
|
listingHistoryInspection: (params: ApiPathParams<"listingHistoryInspectionAdmin">, query?: Expand<ApiRequest<"listingHistoryInspectionAdmin">>) => Promise<{
|
|
1401
|
+
message?: string;
|
|
1402
|
+
event?: string | null;
|
|
1401
1403
|
data?: {
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
};
|
|
1419
|
-
meta?: {
|
|
1420
|
-
current_page?: number;
|
|
1421
|
-
from?: number;
|
|
1422
|
-
last_page?: number;
|
|
1423
|
-
links?: {
|
|
1424
|
-
url?: string | null;
|
|
1425
|
-
label?: string;
|
|
1426
|
-
page?: string | null;
|
|
1427
|
-
active?: boolean;
|
|
1404
|
+
items?: {
|
|
1405
|
+
uid?: string;
|
|
1406
|
+
inspection_type?: string;
|
|
1407
|
+
status?: string;
|
|
1408
|
+
scheduled_date?: string;
|
|
1409
|
+
completed_date?: string | null;
|
|
1410
|
+
condition_rating?: string | null;
|
|
1411
|
+
summary?: string | null;
|
|
1412
|
+
next_inspection_date?: string;
|
|
1413
|
+
inspector?: {
|
|
1414
|
+
id?: number;
|
|
1415
|
+
name?: string;
|
|
1416
|
+
};
|
|
1417
|
+
media?: unknown[];
|
|
1418
|
+
created_at?: string;
|
|
1419
|
+
updated_at?: string;
|
|
1428
1420
|
}[];
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1421
|
+
pagination?: {
|
|
1422
|
+
current_page?: number;
|
|
1423
|
+
per_page?: number;
|
|
1424
|
+
total?: number;
|
|
1425
|
+
last_page?: number;
|
|
1426
|
+
from?: number;
|
|
1427
|
+
to?: number;
|
|
1428
|
+
};
|
|
1433
1429
|
};
|
|
1434
1430
|
}>;
|
|
1435
1431
|
scheduleInspection: (payload: ApiRequest<"scheduleInspection">) => Promise<{
|
|
@@ -1496,7 +1492,7 @@ declare const admin: {
|
|
|
1496
1492
|
status?: string;
|
|
1497
1493
|
priority?: string;
|
|
1498
1494
|
reported_at?: string;
|
|
1499
|
-
assigned_at?: string;
|
|
1495
|
+
assigned_at?: string | null;
|
|
1500
1496
|
completed_at?: string | null;
|
|
1501
1497
|
sla_deadline?: string;
|
|
1502
1498
|
created_at?: string;
|
|
@@ -1933,38 +1929,34 @@ declare const feature: {
|
|
|
1933
1929
|
|
|
1934
1930
|
declare const inspection: {
|
|
1935
1931
|
listingHistory: (params: ApiPathParams<"listingHistoryInspection">, query?: Expand<ApiRequest<"listingHistoryInspection">>) => Promise<{
|
|
1932
|
+
message?: string;
|
|
1933
|
+
event?: string | null;
|
|
1936
1934
|
data?: {
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
};
|
|
1954
|
-
meta?: {
|
|
1955
|
-
current_page?: number;
|
|
1956
|
-
from?: number;
|
|
1957
|
-
last_page?: number;
|
|
1958
|
-
links?: {
|
|
1959
|
-
url?: string | null;
|
|
1960
|
-
label?: string;
|
|
1961
|
-
page?: string | null;
|
|
1962
|
-
active?: boolean;
|
|
1935
|
+
items?: {
|
|
1936
|
+
uid?: string;
|
|
1937
|
+
inspection_type?: string;
|
|
1938
|
+
status?: string;
|
|
1939
|
+
scheduled_date?: string;
|
|
1940
|
+
completed_date?: string | null;
|
|
1941
|
+
condition_rating?: string | null;
|
|
1942
|
+
summary?: string | null;
|
|
1943
|
+
next_inspection_date?: string;
|
|
1944
|
+
inspector?: {
|
|
1945
|
+
id?: number;
|
|
1946
|
+
name?: string;
|
|
1947
|
+
};
|
|
1948
|
+
media?: unknown[];
|
|
1949
|
+
created_at?: string;
|
|
1950
|
+
updated_at?: string;
|
|
1963
1951
|
}[];
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1952
|
+
pagination?: {
|
|
1953
|
+
current_page?: number;
|
|
1954
|
+
per_page?: number;
|
|
1955
|
+
total?: number;
|
|
1956
|
+
last_page?: number;
|
|
1957
|
+
from?: number;
|
|
1958
|
+
to?: number;
|
|
1959
|
+
};
|
|
1968
1960
|
};
|
|
1969
1961
|
}>;
|
|
1970
1962
|
};
|
|
@@ -2693,39 +2685,41 @@ declare const listings: {
|
|
|
2693
2685
|
|
|
2694
2686
|
declare const maintenance: {
|
|
2695
2687
|
listingHistory: (params: ApiPathParams<"listingHistoryMaintenance">, query?: Expand<ApiRequest<"listingHistoryMaintenance">>) => Promise<{
|
|
2688
|
+
message?: string;
|
|
2689
|
+
event?: string | null;
|
|
2696
2690
|
data?: {
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
url?: string | null;
|
|
2721
|
-
label?: string;
|
|
2722
|
-
page?: string | null;
|
|
2723
|
-
active?: boolean;
|
|
2691
|
+
items?: {
|
|
2692
|
+
uid?: string;
|
|
2693
|
+
title?: string;
|
|
2694
|
+
description?: string;
|
|
2695
|
+
status?: string;
|
|
2696
|
+
priority?: string;
|
|
2697
|
+
reported_at?: string;
|
|
2698
|
+
assigned_at?: string | null;
|
|
2699
|
+
completed_at?: string | null;
|
|
2700
|
+
sla_deadline?: string;
|
|
2701
|
+
listing?: {
|
|
2702
|
+
id?: number;
|
|
2703
|
+
uid?: string;
|
|
2704
|
+
};
|
|
2705
|
+
reporter?: {
|
|
2706
|
+
id?: string;
|
|
2707
|
+
name?: string;
|
|
2708
|
+
};
|
|
2709
|
+
technician?: string | null;
|
|
2710
|
+
updates?: unknown[];
|
|
2711
|
+
attachments?: unknown[];
|
|
2712
|
+
created_at?: string;
|
|
2713
|
+
updated_at?: string;
|
|
2724
2714
|
}[];
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2715
|
+
pagination?: {
|
|
2716
|
+
current_page?: number;
|
|
2717
|
+
per_page?: number;
|
|
2718
|
+
total?: number;
|
|
2719
|
+
last_page?: number;
|
|
2720
|
+
from?: number;
|
|
2721
|
+
to?: number;
|
|
2722
|
+
};
|
|
2729
2723
|
};
|
|
2730
2724
|
}>;
|
|
2731
2725
|
report: (payload: ApiRequest<"reportMaintenance">) => Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1398,38 +1398,34 @@ declare const admin: {
|
|
|
1398
1398
|
assignComplianceToListingVertical: (params: ApiPathParams<"assignComplianceToListingVertical">, payload: ApiRequest<"assignComplianceToListingVertical">) => Promise<unknown>;
|
|
1399
1399
|
assignComplianceToListingType: (params: ApiPathParams<"assignComplianceToListingType">, payload: ApiRequest<"assignComplianceToListingType">) => Promise<unknown>;
|
|
1400
1400
|
listingHistoryInspection: (params: ApiPathParams<"listingHistoryInspectionAdmin">, query?: Expand<ApiRequest<"listingHistoryInspectionAdmin">>) => Promise<{
|
|
1401
|
+
message?: string;
|
|
1402
|
+
event?: string | null;
|
|
1401
1403
|
data?: {
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
};
|
|
1419
|
-
meta?: {
|
|
1420
|
-
current_page?: number;
|
|
1421
|
-
from?: number;
|
|
1422
|
-
last_page?: number;
|
|
1423
|
-
links?: {
|
|
1424
|
-
url?: string | null;
|
|
1425
|
-
label?: string;
|
|
1426
|
-
page?: string | null;
|
|
1427
|
-
active?: boolean;
|
|
1404
|
+
items?: {
|
|
1405
|
+
uid?: string;
|
|
1406
|
+
inspection_type?: string;
|
|
1407
|
+
status?: string;
|
|
1408
|
+
scheduled_date?: string;
|
|
1409
|
+
completed_date?: string | null;
|
|
1410
|
+
condition_rating?: string | null;
|
|
1411
|
+
summary?: string | null;
|
|
1412
|
+
next_inspection_date?: string;
|
|
1413
|
+
inspector?: {
|
|
1414
|
+
id?: number;
|
|
1415
|
+
name?: string;
|
|
1416
|
+
};
|
|
1417
|
+
media?: unknown[];
|
|
1418
|
+
created_at?: string;
|
|
1419
|
+
updated_at?: string;
|
|
1428
1420
|
}[];
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1421
|
+
pagination?: {
|
|
1422
|
+
current_page?: number;
|
|
1423
|
+
per_page?: number;
|
|
1424
|
+
total?: number;
|
|
1425
|
+
last_page?: number;
|
|
1426
|
+
from?: number;
|
|
1427
|
+
to?: number;
|
|
1428
|
+
};
|
|
1433
1429
|
};
|
|
1434
1430
|
}>;
|
|
1435
1431
|
scheduleInspection: (payload: ApiRequest<"scheduleInspection">) => Promise<{
|
|
@@ -1496,7 +1492,7 @@ declare const admin: {
|
|
|
1496
1492
|
status?: string;
|
|
1497
1493
|
priority?: string;
|
|
1498
1494
|
reported_at?: string;
|
|
1499
|
-
assigned_at?: string;
|
|
1495
|
+
assigned_at?: string | null;
|
|
1500
1496
|
completed_at?: string | null;
|
|
1501
1497
|
sla_deadline?: string;
|
|
1502
1498
|
created_at?: string;
|
|
@@ -1933,38 +1929,34 @@ declare const feature: {
|
|
|
1933
1929
|
|
|
1934
1930
|
declare const inspection: {
|
|
1935
1931
|
listingHistory: (params: ApiPathParams<"listingHistoryInspection">, query?: Expand<ApiRequest<"listingHistoryInspection">>) => Promise<{
|
|
1932
|
+
message?: string;
|
|
1933
|
+
event?: string | null;
|
|
1936
1934
|
data?: {
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
};
|
|
1954
|
-
meta?: {
|
|
1955
|
-
current_page?: number;
|
|
1956
|
-
from?: number;
|
|
1957
|
-
last_page?: number;
|
|
1958
|
-
links?: {
|
|
1959
|
-
url?: string | null;
|
|
1960
|
-
label?: string;
|
|
1961
|
-
page?: string | null;
|
|
1962
|
-
active?: boolean;
|
|
1935
|
+
items?: {
|
|
1936
|
+
uid?: string;
|
|
1937
|
+
inspection_type?: string;
|
|
1938
|
+
status?: string;
|
|
1939
|
+
scheduled_date?: string;
|
|
1940
|
+
completed_date?: string | null;
|
|
1941
|
+
condition_rating?: string | null;
|
|
1942
|
+
summary?: string | null;
|
|
1943
|
+
next_inspection_date?: string;
|
|
1944
|
+
inspector?: {
|
|
1945
|
+
id?: number;
|
|
1946
|
+
name?: string;
|
|
1947
|
+
};
|
|
1948
|
+
media?: unknown[];
|
|
1949
|
+
created_at?: string;
|
|
1950
|
+
updated_at?: string;
|
|
1963
1951
|
}[];
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1952
|
+
pagination?: {
|
|
1953
|
+
current_page?: number;
|
|
1954
|
+
per_page?: number;
|
|
1955
|
+
total?: number;
|
|
1956
|
+
last_page?: number;
|
|
1957
|
+
from?: number;
|
|
1958
|
+
to?: number;
|
|
1959
|
+
};
|
|
1968
1960
|
};
|
|
1969
1961
|
}>;
|
|
1970
1962
|
};
|
|
@@ -2693,39 +2685,41 @@ declare const listings: {
|
|
|
2693
2685
|
|
|
2694
2686
|
declare const maintenance: {
|
|
2695
2687
|
listingHistory: (params: ApiPathParams<"listingHistoryMaintenance">, query?: Expand<ApiRequest<"listingHistoryMaintenance">>) => Promise<{
|
|
2688
|
+
message?: string;
|
|
2689
|
+
event?: string | null;
|
|
2696
2690
|
data?: {
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
url?: string | null;
|
|
2721
|
-
label?: string;
|
|
2722
|
-
page?: string | null;
|
|
2723
|
-
active?: boolean;
|
|
2691
|
+
items?: {
|
|
2692
|
+
uid?: string;
|
|
2693
|
+
title?: string;
|
|
2694
|
+
description?: string;
|
|
2695
|
+
status?: string;
|
|
2696
|
+
priority?: string;
|
|
2697
|
+
reported_at?: string;
|
|
2698
|
+
assigned_at?: string | null;
|
|
2699
|
+
completed_at?: string | null;
|
|
2700
|
+
sla_deadline?: string;
|
|
2701
|
+
listing?: {
|
|
2702
|
+
id?: number;
|
|
2703
|
+
uid?: string;
|
|
2704
|
+
};
|
|
2705
|
+
reporter?: {
|
|
2706
|
+
id?: string;
|
|
2707
|
+
name?: string;
|
|
2708
|
+
};
|
|
2709
|
+
technician?: string | null;
|
|
2710
|
+
updates?: unknown[];
|
|
2711
|
+
attachments?: unknown[];
|
|
2712
|
+
created_at?: string;
|
|
2713
|
+
updated_at?: string;
|
|
2724
2714
|
}[];
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2715
|
+
pagination?: {
|
|
2716
|
+
current_page?: number;
|
|
2717
|
+
per_page?: number;
|
|
2718
|
+
total?: number;
|
|
2719
|
+
last_page?: number;
|
|
2720
|
+
from?: number;
|
|
2721
|
+
to?: number;
|
|
2722
|
+
};
|
|
2729
2723
|
};
|
|
2730
2724
|
}>;
|
|
2731
2725
|
report: (payload: ApiRequest<"reportMaintenance">) => Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justins-home/api-services",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@justins-home/http-client": "1.1.
|
|
20
|
-
"@justins-home/types": "1.1.
|
|
19
|
+
"@justins-home/http-client": "1.1.18",
|
|
20
|
+
"@justins-home/types": "1.1.18"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|