@justins-home/api-services 1.2.12 → 1.2.13
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 +31 -8
- package/dist/index.d.ts +31 -8
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -283,19 +283,21 @@ declare const admin: {
|
|
|
283
283
|
};
|
|
284
284
|
}>;
|
|
285
285
|
fetchUser: (params: ApiPathParams<"fetchUserAdmin">) => Promise<{
|
|
286
|
+
message?: string;
|
|
287
|
+
event?: string | null;
|
|
286
288
|
data?: {
|
|
287
289
|
uid?: string;
|
|
288
290
|
username?: string;
|
|
289
|
-
first_name?: string
|
|
290
|
-
last_name?: string
|
|
291
|
+
first_name?: string;
|
|
292
|
+
last_name?: string;
|
|
291
293
|
email?: string;
|
|
292
|
-
phone?: string
|
|
293
|
-
status?: string
|
|
294
|
+
phone?: string;
|
|
295
|
+
status?: string;
|
|
294
296
|
user_mode?: string;
|
|
295
|
-
last_login_at?: string
|
|
296
|
-
last_login_ip?: string
|
|
297
|
+
last_login_at?: string;
|
|
298
|
+
last_login_ip?: string;
|
|
297
299
|
two_factor_enabled?: boolean;
|
|
298
|
-
avatar_path?: string
|
|
300
|
+
avatar_path?: string;
|
|
299
301
|
language?: string;
|
|
300
302
|
timezone?: string;
|
|
301
303
|
user_type?: string;
|
|
@@ -308,6 +310,25 @@ declare const admin: {
|
|
|
308
310
|
state?: string;
|
|
309
311
|
}[];
|
|
310
312
|
};
|
|
313
|
+
legal_full_name?: string;
|
|
314
|
+
date_of_birth?: string;
|
|
315
|
+
nationality?: string;
|
|
316
|
+
landlord_type?: string;
|
|
317
|
+
company_name?: string | null;
|
|
318
|
+
company_registration_number?: string | null;
|
|
319
|
+
address?: string;
|
|
320
|
+
address_line_2?: string | null;
|
|
321
|
+
city?: string;
|
|
322
|
+
postcode?: string;
|
|
323
|
+
country?: string;
|
|
324
|
+
accepts_supported_housing?: boolean;
|
|
325
|
+
accepts_company_lets?: boolean;
|
|
326
|
+
accepts_pets?: boolean;
|
|
327
|
+
accepts_dss?: boolean;
|
|
328
|
+
maintenance_contact_type?: string;
|
|
329
|
+
prefers_email_contact?: boolean;
|
|
330
|
+
prefers_sms_contact?: boolean;
|
|
331
|
+
role?: string | null;
|
|
311
332
|
};
|
|
312
333
|
}>;
|
|
313
334
|
forceLogoutUser: (params: ApiPathParams<"forceLogoutUserAdmin">) => Promise<{
|
|
@@ -355,7 +376,9 @@ declare const admin: {
|
|
|
355
376
|
price?: string | null;
|
|
356
377
|
state?: string;
|
|
357
378
|
is_visible?: boolean;
|
|
358
|
-
summary?:
|
|
379
|
+
summary?: {
|
|
380
|
+
availability?: string | null;
|
|
381
|
+
};
|
|
359
382
|
workflow?: unknown[];
|
|
360
383
|
media?: unknown[];
|
|
361
384
|
}[];
|
package/dist/index.d.ts
CHANGED
|
@@ -283,19 +283,21 @@ declare const admin: {
|
|
|
283
283
|
};
|
|
284
284
|
}>;
|
|
285
285
|
fetchUser: (params: ApiPathParams<"fetchUserAdmin">) => Promise<{
|
|
286
|
+
message?: string;
|
|
287
|
+
event?: string | null;
|
|
286
288
|
data?: {
|
|
287
289
|
uid?: string;
|
|
288
290
|
username?: string;
|
|
289
|
-
first_name?: string
|
|
290
|
-
last_name?: string
|
|
291
|
+
first_name?: string;
|
|
292
|
+
last_name?: string;
|
|
291
293
|
email?: string;
|
|
292
|
-
phone?: string
|
|
293
|
-
status?: string
|
|
294
|
+
phone?: string;
|
|
295
|
+
status?: string;
|
|
294
296
|
user_mode?: string;
|
|
295
|
-
last_login_at?: string
|
|
296
|
-
last_login_ip?: string
|
|
297
|
+
last_login_at?: string;
|
|
298
|
+
last_login_ip?: string;
|
|
297
299
|
two_factor_enabled?: boolean;
|
|
298
|
-
avatar_path?: string
|
|
300
|
+
avatar_path?: string;
|
|
299
301
|
language?: string;
|
|
300
302
|
timezone?: string;
|
|
301
303
|
user_type?: string;
|
|
@@ -308,6 +310,25 @@ declare const admin: {
|
|
|
308
310
|
state?: string;
|
|
309
311
|
}[];
|
|
310
312
|
};
|
|
313
|
+
legal_full_name?: string;
|
|
314
|
+
date_of_birth?: string;
|
|
315
|
+
nationality?: string;
|
|
316
|
+
landlord_type?: string;
|
|
317
|
+
company_name?: string | null;
|
|
318
|
+
company_registration_number?: string | null;
|
|
319
|
+
address?: string;
|
|
320
|
+
address_line_2?: string | null;
|
|
321
|
+
city?: string;
|
|
322
|
+
postcode?: string;
|
|
323
|
+
country?: string;
|
|
324
|
+
accepts_supported_housing?: boolean;
|
|
325
|
+
accepts_company_lets?: boolean;
|
|
326
|
+
accepts_pets?: boolean;
|
|
327
|
+
accepts_dss?: boolean;
|
|
328
|
+
maintenance_contact_type?: string;
|
|
329
|
+
prefers_email_contact?: boolean;
|
|
330
|
+
prefers_sms_contact?: boolean;
|
|
331
|
+
role?: string | null;
|
|
311
332
|
};
|
|
312
333
|
}>;
|
|
313
334
|
forceLogoutUser: (params: ApiPathParams<"forceLogoutUserAdmin">) => Promise<{
|
|
@@ -355,7 +376,9 @@ declare const admin: {
|
|
|
355
376
|
price?: string | null;
|
|
356
377
|
state?: string;
|
|
357
378
|
is_visible?: boolean;
|
|
358
|
-
summary?:
|
|
379
|
+
summary?: {
|
|
380
|
+
availability?: string | null;
|
|
381
|
+
};
|
|
359
382
|
workflow?: unknown[];
|
|
360
383
|
media?: unknown[];
|
|
361
384
|
}[];
|
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.13",
|
|
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.8",
|
|
20
|
+
"@justins-home/types": "1.1.8"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|