@hectare/platform.clients.customers 1.1.102 → 1.1.104

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.
@@ -22,6 +22,7 @@ export type BasicSearchUserDetail = {
22
22
  push: boolean;
23
23
  onboardingProgress: Array<string> | null;
24
24
  };
25
+ purchases: Array<'insights'>;
25
26
  tokens?: {
26
27
  id?: string;
27
28
  access?: string;
@@ -30,7 +31,7 @@ export type BasicSearchUserDetail = {
30
31
  };
31
32
  groups: Array<string>;
32
33
  roles: Array<string>;
33
- userTypes: Array<string>;
34
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
34
35
  profiles: Array<{
35
36
  organisationId: string;
36
37
  businessUnits: Array<string>;
@@ -101,6 +101,7 @@ export type CreateOrganisationResponse = {
101
101
  push: boolean;
102
102
  onboardingProgress: Array<string> | null;
103
103
  };
104
+ purchases: Array<'insights'>;
104
105
  tokens?: {
105
106
  id?: string;
106
107
  access?: string;
@@ -109,7 +110,7 @@ export type CreateOrganisationResponse = {
109
110
  };
110
111
  groups: Array<string>;
111
112
  roles: Array<string>;
112
- userTypes: Array<string>;
113
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
113
114
  profiles: Array<{
114
115
  organisationId: string;
115
116
  businessUnits: Array<string>;
@@ -23,6 +23,7 @@ export type PatchUser = {
23
23
  whatsAppNotifications?: boolean | null;
24
24
  smsNotifications?: boolean | null;
25
25
  pushNotifications?: boolean | null;
26
+ purchases?: Array<'insights'>;
26
27
  preferences?: Array<string> | null;
27
28
  preferencesRegionISOs?: Array<string> | null;
28
29
  buyerExFarmPreferences?: Array<{
@@ -22,6 +22,7 @@ export type SearchResultsUserDetailSchema = {
22
22
  push: boolean;
23
23
  onboardingProgress: Array<string> | null;
24
24
  };
25
+ purchases: Array<'insights'>;
25
26
  tokens?: {
26
27
  id?: string;
27
28
  access?: string;
@@ -30,7 +31,7 @@ export type SearchResultsUserDetailSchema = {
30
31
  };
31
32
  groups: Array<string>;
32
33
  roles: Array<string>;
33
- userTypes: Array<string>;
34
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
34
35
  profiles: Array<{
35
36
  organisationId: string;
36
37
  businessUnits: Array<string>;
@@ -70,5 +70,5 @@ export type UserBasicInfo = {
70
70
  onboardingProgress: Array<string> | null;
71
71
  };
72
72
  authPlatformId: string;
73
- userTypes: Array<string>;
73
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
74
74
  };
@@ -70,7 +70,7 @@ export type UserBasicInfoWithStatsSchema = {
70
70
  onboardingProgress: Array<string> | null;
71
71
  };
72
72
  authPlatformId?: string;
73
- userTypes?: Array<string>;
73
+ userTypes?: Array<'seller' | 'buyer' | 'advisor'>;
74
74
  stats: {
75
75
  numberOfBids?: number;
76
76
  conversionRate: number;
@@ -21,6 +21,7 @@ export type UserDetail = {
21
21
  push: boolean;
22
22
  onboardingProgress: Array<string> | null;
23
23
  };
24
+ purchases: Array<'insights'>;
24
25
  tokens?: {
25
26
  id?: string;
26
27
  access?: string;
@@ -29,7 +30,7 @@ export type UserDetail = {
29
30
  };
30
31
  groups: Array<string>;
31
32
  roles: Array<string>;
32
- userTypes: Array<string>;
33
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
33
34
  profiles: Array<{
34
35
  organisationId: string;
35
36
  businessUnits: Array<string>;
@@ -101,6 +101,7 @@ export type UserProfile = {
101
101
  push: boolean;
102
102
  onboardingProgress: Array<string> | null;
103
103
  };
104
+ purchases: Array<'insights'>;
104
105
  tokens?: {
105
106
  id?: string;
106
107
  access?: string;
@@ -109,7 +110,7 @@ export type UserProfile = {
109
110
  };
110
111
  groups: Array<string>;
111
112
  roles: Array<string>;
112
- userTypes: Array<string>;
113
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
113
114
  profiles: Array<{
114
115
  organisationId: string;
115
116
  businessUnits: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.102",
3
+ "version": "1.1.104",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",