@hapl/api-queries 0.2.60 → 0.2.61--canary.181.2769283.0

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.
@@ -34,6 +34,7 @@ export declare type FindServiceRequestsParams = {
34
34
  'user.id'?: number;
35
35
  'user.phones.phone.number'?: string;
36
36
  address?: string;
37
+ createdBy?: string;
37
38
  category?: ServiceRequestCategory | ServiceRequestCategory[];
38
39
  closeRequestedAt?: string;
39
40
  closedAt?: string;
@@ -51,6 +51,9 @@ export declare type UpdateUserBody = {
51
51
  supervisor?: Required<User>['supervisor'] | null;
52
52
  textReviews?: Required<User>['textReviews'];
53
53
  videoReviews?: Required<User>['videoReviews'];
54
+ personalAssistants?: Array<{
55
+ id: number;
56
+ }>;
54
57
  };
55
58
  export declare type UpdateUserData = AxiosResponse<ResultData>;
56
59
  export declare type UpdateUserError = AxiosError<ResultError>;
@@ -76,6 +76,9 @@ export declare type ServiceRequest = {
76
76
  } | any[];
77
77
  category: ServiceRequestCategory;
78
78
  createdAt: string;
79
+ createdBy: Partial<User> & {
80
+ id: number;
81
+ };
79
82
  curator: Partial<User> & {
80
83
  id: number;
81
84
  };
@@ -151,6 +151,9 @@ export declare type User = {
151
151
  }>;
152
152
  realtyIds: number[];
153
153
  roles: UserRole[];
154
+ personalAssistants?: Array<Partial<User> & {
155
+ id: number;
156
+ }>;
154
157
  bornAt?: string;
155
158
  comment?: string;
156
159
  defaultVirtualPhone?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.60",
2
+ "version": "0.2.61--canary.181.2769283.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -22,6 +22,7 @@ export type FindServiceRequestsParams = {
22
22
  'user.id'?: number;
23
23
  'user.phones.phone.number'?: string;
24
24
  address?: string;
25
+ createdBy?: string;
25
26
  category?: ServiceRequestCategory | ServiceRequestCategory[];
26
27
  closeRequestedAt?: string;
27
28
  closedAt?: string;
@@ -40,6 +40,7 @@ export type UpdateUserBody = {
40
40
  supervisor?: Required<User>['supervisor'] | null;
41
41
  textReviews?: Required<User>['textReviews'];
42
42
  videoReviews?: Required<User>['videoReviews'];
43
+ personalAssistants?: Array<{ id: number }>;
43
44
  };
44
45
 
45
46
  export type UpdateUserData = AxiosResponse<ResultData>;
@@ -83,6 +83,7 @@ export type ServiceRequest = {
83
83
  buyParams: { budget?: number; place?: string } | any[];
84
84
  category: ServiceRequestCategory;
85
85
  createdAt: string;
86
+ createdBy: Partial<User> & { id: number };
86
87
  curator: Partial<User> & { id: number };
87
88
  files: Array<Partial<File> & { id: number }>;
88
89
  hasNotifications: boolean;
@@ -157,6 +157,7 @@ export type User = {
157
157
  realtyIds: number[];
158
158
  roles: UserRole[];
159
159
 
160
+ personalAssistants?: Array<Partial<User> & { id: number }>;
160
161
  bornAt?: string;
161
162
  comment?: string;
162
163
  defaultVirtualPhone?: string;