@hectare/platform.clients.customers 1.1.104 → 1.1.106

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/index.d.ts CHANGED
@@ -27,7 +27,6 @@ export type { LinkUser } from './models/LinkUser.js';
27
27
  export type { LoginForm } from './models/LoginForm.js';
28
28
  export type { LoginSuccess } from './models/LoginSuccess.js';
29
29
  export type { LoginTokens } from './models/LoginTokens.js';
30
- export type { LookupUserByTelephoneSchema } from './models/LookupUserByTelephoneSchema.js';
31
30
  export type { OrganisationDetail } from './models/OrganisationDetail.js';
32
31
  export type { OrganisationExists } from './models/OrganisationExists.js';
33
32
  export type { OrganisationSummary } from './models/OrganisationSummary.js';
@@ -20,6 +20,7 @@ export type BasicSearchUserDetail = {
20
20
  whatsApp: boolean;
21
21
  sms: boolean;
22
22
  push: boolean;
23
+ biometrics: boolean;
23
24
  onboardingProgress: Array<string> | null;
24
25
  };
25
26
  purchases: Array<'insights'>;
@@ -81,6 +82,7 @@ export type BasicSearchUserDetail = {
81
82
  region: string | null;
82
83
  tags: Array<string>;
83
84
  }>;
85
+ businesses: Array<string>;
84
86
  notificationsEnabled?: boolean;
85
87
  }>;
86
88
  totalDocs?: number;
@@ -99,6 +99,7 @@ export type CreateOrganisationResponse = {
99
99
  whatsApp: boolean;
100
100
  sms: boolean;
101
101
  push: boolean;
102
+ biometrics: boolean;
102
103
  onboardingProgress: Array<string> | null;
103
104
  };
104
105
  purchases: Array<'insights'>;
@@ -160,6 +161,7 @@ export type CreateOrganisationResponse = {
160
161
  region: string | null;
161
162
  tags: Array<string>;
162
163
  }>;
164
+ businesses: Array<string>;
163
165
  notificationsEnabled?: boolean;
164
166
  };
165
167
  };
@@ -8,4 +8,5 @@ export type CreateUser = {
8
8
  pushToken?: string | null;
9
9
  roles?: Array<string> | null;
10
10
  businessUnits?: Array<string> | null;
11
+ businesses?: Array<string> | null;
11
12
  };
@@ -8,6 +8,7 @@ export type PatchUser = {
8
8
  pushToken?: string | null;
9
9
  roles?: Array<string> | null;
10
10
  businessUnits?: Array<string> | null;
11
+ businesses?: Array<string> | null;
11
12
  phoneLandline?: string | null;
12
13
  avatar?: {
13
14
  id: string;
@@ -23,6 +24,7 @@ export type PatchUser = {
23
24
  whatsAppNotifications?: boolean | null;
24
25
  smsNotifications?: boolean | null;
25
26
  pushNotifications?: boolean | null;
27
+ biometricsEnabled?: boolean;
26
28
  purchases?: Array<'insights'>;
27
29
  preferences?: Array<string> | null;
28
30
  preferencesRegionISOs?: Array<string> | null;
@@ -20,6 +20,7 @@ export type SearchResultsUserDetailSchema = {
20
20
  whatsApp: boolean;
21
21
  sms: boolean;
22
22
  push: boolean;
23
+ biometrics: boolean;
23
24
  onboardingProgress: Array<string> | null;
24
25
  };
25
26
  purchases: Array<'insights'>;
@@ -81,6 +82,7 @@ export type SearchResultsUserDetailSchema = {
81
82
  region: string | null;
82
83
  tags: Array<string>;
83
84
  }>;
85
+ businesses: Array<string>;
84
86
  notificationsEnabled?: boolean;
85
87
  }>;
86
88
  custom?: any;
@@ -67,8 +67,10 @@ export type UserBasicInfo = {
67
67
  whatsApp: boolean;
68
68
  sms: boolean;
69
69
  push: boolean;
70
+ biometrics: boolean;
70
71
  onboardingProgress: Array<string> | null;
71
72
  };
72
73
  authPlatformId: string;
73
74
  userTypes: Array<'seller' | 'buyer' | 'advisor'>;
75
+ businesses: Array<string>;
74
76
  };
@@ -67,10 +67,12 @@ export type UserBasicInfoWithStatsSchema = {
67
67
  whatsApp: boolean;
68
68
  sms: boolean;
69
69
  push: boolean;
70
+ biometrics: boolean;
70
71
  onboardingProgress: Array<string> | null;
71
72
  };
72
73
  authPlatformId?: string;
73
74
  userTypes?: Array<'seller' | 'buyer' | 'advisor'>;
75
+ businesses?: Array<string>;
74
76
  stats: {
75
77
  numberOfBids?: number;
76
78
  conversionRate: number;
@@ -19,6 +19,7 @@ export type UserDetail = {
19
19
  whatsApp: boolean;
20
20
  sms: boolean;
21
21
  push: boolean;
22
+ biometrics: boolean;
22
23
  onboardingProgress: Array<string> | null;
23
24
  };
24
25
  purchases: Array<'insights'>;
@@ -80,5 +81,6 @@ export type UserDetail = {
80
81
  region: string | null;
81
82
  tags: Array<string>;
82
83
  }>;
84
+ businesses: Array<string>;
83
85
  notificationsEnabled?: boolean;
84
86
  };
@@ -99,6 +99,7 @@ export type UserProfile = {
99
99
  whatsApp: boolean;
100
100
  sms: boolean;
101
101
  push: boolean;
102
+ biometrics: boolean;
102
103
  onboardingProgress: Array<string> | null;
103
104
  };
104
105
  purchases: Array<'insights'>;
@@ -160,6 +161,7 @@ export type UserProfile = {
160
161
  region: string | null;
161
162
  tags: Array<string>;
162
163
  }>;
164
+ businesses: Array<string>;
163
165
  notificationsEnabled?: boolean;
164
166
  };
165
167
  access: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.104",
3
+ "version": "1.1.106",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",
@@ -1,3 +0,0 @@
1
- export type LookupUserByTelephoneSchema = {
2
- phone?: string | null;
3
- };
@@ -1 +0,0 @@
1
- export {};