@hectare/platform.clients.customers 1.1.102 → 1.1.103

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.
@@ -30,7 +30,7 @@ export type BasicSearchUserDetail = {
30
30
  };
31
31
  groups: Array<string>;
32
32
  roles: Array<string>;
33
- userTypes: Array<string>;
33
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
34
34
  profiles: Array<{
35
35
  organisationId: string;
36
36
  businessUnits: Array<string>;
@@ -109,7 +109,7 @@ export type CreateOrganisationResponse = {
109
109
  };
110
110
  groups: Array<string>;
111
111
  roles: Array<string>;
112
- userTypes: Array<string>;
112
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
113
113
  profiles: Array<{
114
114
  organisationId: string;
115
115
  businessUnits: Array<string>;
@@ -30,7 +30,7 @@ export type SearchResultsUserDetailSchema = {
30
30
  };
31
31
  groups: Array<string>;
32
32
  roles: Array<string>;
33
- userTypes: Array<string>;
33
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
34
34
  profiles: Array<{
35
35
  organisationId: string;
36
36
  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;
@@ -29,7 +29,7 @@ export type UserDetail = {
29
29
  };
30
30
  groups: Array<string>;
31
31
  roles: Array<string>;
32
- userTypes: Array<string>;
32
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
33
33
  profiles: Array<{
34
34
  organisationId: string;
35
35
  businessUnits: Array<string>;
@@ -109,7 +109,7 @@ export type UserProfile = {
109
109
  };
110
110
  groups: Array<string>;
111
111
  roles: Array<string>;
112
- userTypes: Array<string>;
112
+ userTypes: Array<'seller' | 'buyer' | 'advisor'>;
113
113
  profiles: Array<{
114
114
  organisationId: string;
115
115
  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.103",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",