@hectare/platform.clients.customers 1.1.23 → 1.1.25

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.
@@ -143,7 +143,7 @@ export type CreateOrganisationResponse = {
143
143
  salesforceId?: string;
144
144
  };
145
145
  user?: {
146
- id?: string;
146
+ id: string;
147
147
  givenName?: string;
148
148
  type?: 'internal' | 'external';
149
149
  familyName?: string;
@@ -162,7 +162,7 @@ export type CreateOrganisationResponse = {
162
162
  };
163
163
  whatsApp: boolean;
164
164
  sms: boolean;
165
- onboardingProgress: Array<(number | string)> | null;
165
+ onboardingProgress: Array<string> | null;
166
166
  harvestNotificationDismissed: boolean;
167
167
  harvestDialogDismissed: boolean;
168
168
  listingsWelcomeRead: boolean;
@@ -22,7 +22,7 @@ export type PatchUser = {
22
22
  whatsAppNotifications?: boolean | null;
23
23
  smsNotifications?: boolean | null;
24
24
  preferences?: Array<string> | null;
25
- onboardingProgress?: Array<(number | string)> | null;
25
+ onboardingProgress?: Array<string> | null;
26
26
  harvestNotificationDismissed?: boolean | null;
27
27
  harvestDialogDismissed?: boolean | null;
28
28
  listingsWelcomeRead?: boolean | null;
@@ -1,6 +1,6 @@
1
1
  export type SearchResultsUserDetailSchema = {
2
2
  docs?: Array<{
3
- id?: string;
3
+ id: string;
4
4
  givenName?: string;
5
5
  type?: 'internal' | 'external';
6
6
  familyName?: string;
@@ -19,7 +19,7 @@ export type SearchResultsUserDetailSchema = {
19
19
  };
20
20
  whatsApp: boolean;
21
21
  sms: boolean;
22
- onboardingProgress: Array<(number | string)> | null;
22
+ onboardingProgress: Array<string> | null;
23
23
  harvestNotificationDismissed: boolean;
24
24
  harvestDialogDismissed: boolean;
25
25
  listingsWelcomeRead: boolean;
@@ -62,7 +62,7 @@ export type UserBasicInfo = {
62
62
  };
63
63
  whatsApp: boolean;
64
64
  sms: boolean;
65
- onboardingProgress: Array<(number | string)> | null;
65
+ onboardingProgress: Array<string> | null;
66
66
  harvestNotificationDismissed: boolean;
67
67
  harvestDialogDismissed: boolean;
68
68
  listingsWelcomeRead: boolean;
@@ -1,5 +1,5 @@
1
1
  export type UserDetail = {
2
- id?: string;
2
+ id: string;
3
3
  givenName?: string;
4
4
  type?: 'internal' | 'external';
5
5
  familyName?: string;
@@ -18,7 +18,7 @@ export type UserDetail = {
18
18
  };
19
19
  whatsApp: boolean;
20
20
  sms: boolean;
21
- onboardingProgress: Array<(number | string)> | null;
21
+ onboardingProgress: Array<string> | null;
22
22
  harvestNotificationDismissed: boolean;
23
23
  harvestDialogDismissed: boolean;
24
24
  listingsWelcomeRead: boolean;
@@ -143,7 +143,7 @@ export type UserProfile = {
143
143
  salesforceId?: string;
144
144
  };
145
145
  user: {
146
- id?: string;
146
+ id: string;
147
147
  givenName?: string;
148
148
  type?: 'internal' | 'external';
149
149
  familyName?: string;
@@ -162,7 +162,7 @@ export type UserProfile = {
162
162
  };
163
163
  whatsApp: boolean;
164
164
  sms: boolean;
165
- onboardingProgress: Array<(number | string)> | null;
165
+ onboardingProgress: Array<string> | null;
166
166
  harvestNotificationDismissed: boolean;
167
167
  harvestDialogDismissed: boolean;
168
168
  listingsWelcomeRead: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",