@hectare/platform.clients.customers 1.1.84 → 1.1.86

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.
@@ -21,7 +21,6 @@ export type BasicSearchUserDetail = {
21
21
  sms: boolean;
22
22
  push: boolean;
23
23
  onboardingProgress: Array<string> | null;
24
- distributer?: boolean;
25
24
  };
26
25
  tokens?: {
27
26
  id?: string;
@@ -1,9 +1,9 @@
1
1
  export type BusinessDetail = {
2
- id?: string;
3
- businessUnitId?: string;
4
- organisationId?: string;
5
- primary?: boolean;
6
- location?: {
2
+ id: string;
3
+ businessUnitId: string;
4
+ organisationId: string;
5
+ primary: boolean;
6
+ location: {
7
7
  what3words: string | null;
8
8
  address: {
9
9
  name?: string | null;
@@ -42,25 +42,28 @@ export type BusinessDetail = {
42
42
  lon: number;
43
43
  } | null;
44
44
  } | null;
45
- businessName?: string;
45
+ businessName: string;
46
46
  name?: string;
47
- givenName?: string;
48
- familyName?: string;
47
+ givenName: string;
48
+ familyName: string;
49
49
  phone?: {
50
50
  callingCode: string;
51
51
  number: string;
52
52
  };
53
53
  email?: string;
54
- tags?: Array<string>;
55
- holdingNumber?: string;
56
- assurance?: {
54
+ tags: Array<string>;
55
+ emailDistributionList: Array<string>;
56
+ holdingNumber: string | null;
57
+ companyNumber: string | null;
58
+ vatNumber: string | null;
59
+ assurance: {
57
60
  id: string | null;
58
61
  key?: string | null;
59
62
  body: 'RT' | 'SQC';
60
63
  name?: string | null;
61
64
  location?: string | null;
62
65
  } | null;
63
- collectionAddresses?: Array<{
66
+ collectionAddresses: Array<{
64
67
  id: number | null;
65
68
  reference: string | null;
66
69
  location: {
@@ -5,11 +5,11 @@ export type BusinessUnitsDetail = {
5
5
  type: string;
6
6
  tags: Array<string>;
7
7
  business?: {
8
- id?: string;
9
- businessUnitId?: string;
10
- organisationId?: string;
11
- primary?: boolean;
12
- location?: {
8
+ id: string;
9
+ businessUnitId: string;
10
+ organisationId: string;
11
+ primary: boolean;
12
+ location: {
13
13
  what3words: string | null;
14
14
  address: {
15
15
  name?: string | null;
@@ -48,25 +48,28 @@ export type BusinessUnitsDetail = {
48
48
  lon: number;
49
49
  } | null;
50
50
  } | null;
51
- businessName?: string;
51
+ businessName: string;
52
52
  name?: string;
53
- givenName?: string;
54
- familyName?: string;
53
+ givenName: string;
54
+ familyName: string;
55
55
  phone?: {
56
56
  callingCode: string;
57
57
  number: string;
58
58
  };
59
59
  email?: string;
60
- tags?: Array<string>;
61
- holdingNumber?: string;
62
- assurance?: {
60
+ tags: Array<string>;
61
+ emailDistributionList: Array<string>;
62
+ holdingNumber: string | null;
63
+ companyNumber: string | null;
64
+ vatNumber: string | null;
65
+ assurance: {
63
66
  id: string | null;
64
67
  key?: string | null;
65
68
  body: 'RT' | 'SQC';
66
69
  name?: string | null;
67
70
  location?: string | null;
68
71
  } | null;
69
- collectionAddresses?: Array<{
72
+ collectionAddresses: Array<{
70
73
  id: number | null;
71
74
  reference: string | null;
72
75
  location: {
@@ -14,11 +14,11 @@ export type BusinessUnitsDetails = {
14
14
  type: string;
15
15
  tags: Array<string>;
16
16
  business?: {
17
- id?: string;
18
- businessUnitId?: string;
19
- organisationId?: string;
20
- primary?: boolean;
21
- location?: {
17
+ id: string;
18
+ businessUnitId: string;
19
+ organisationId: string;
20
+ primary: boolean;
21
+ location: {
22
22
  what3words: string | null;
23
23
  address: {
24
24
  name?: string | null;
@@ -57,25 +57,28 @@ export type BusinessUnitsDetails = {
57
57
  lon: number;
58
58
  } | null;
59
59
  } | null;
60
- businessName?: string;
60
+ businessName: string;
61
61
  name?: string;
62
- givenName?: string;
63
- familyName?: string;
62
+ givenName: string;
63
+ familyName: string;
64
64
  phone?: {
65
65
  callingCode: string;
66
66
  number: string;
67
67
  };
68
68
  email?: string;
69
- tags?: Array<string>;
70
- holdingNumber?: string;
71
- assurance?: {
69
+ tags: Array<string>;
70
+ emailDistributionList: Array<string>;
71
+ holdingNumber: string | null;
72
+ companyNumber: string | null;
73
+ vatNumber: string | null;
74
+ assurance: {
72
75
  id: string | null;
73
76
  key?: string | null;
74
77
  body: 'RT' | 'SQC';
75
78
  name?: string | null;
76
79
  location?: string | null;
77
80
  } | null;
78
- collectionAddresses?: Array<{
81
+ collectionAddresses: Array<{
79
82
  id: number | null;
80
83
  reference: string | null;
81
84
  location: {
@@ -42,12 +42,15 @@ export type CreateBusinessUnit = {
42
42
  lon: number;
43
43
  } | null;
44
44
  } | null;
45
- name: string;
45
+ name?: string;
46
46
  givenName?: string;
47
47
  familyName?: string;
48
48
  phoneNumber?: string | null;
49
49
  email?: string;
50
- holdingNumber: string;
50
+ holdingNumber?: string | null;
51
+ companyNumber?: string | null;
52
+ vatNumber?: string | null;
53
+ emailDistributionList?: Array<string> | null;
51
54
  assurance?: {
52
55
  id: string | null;
53
56
  key?: string | null;
@@ -42,12 +42,15 @@ export type CreateBusinessUnits = Array<{
42
42
  lon: number;
43
43
  } | null;
44
44
  } | null;
45
- name: string;
45
+ name?: string;
46
46
  givenName?: string;
47
47
  familyName?: string;
48
48
  phoneNumber?: string | null;
49
49
  email?: string;
50
- holdingNumber: string;
50
+ holdingNumber?: string | null;
51
+ companyNumber?: string | null;
52
+ vatNumber?: string | null;
53
+ emailDistributionList?: Array<string> | null;
51
54
  assurance?: {
52
55
  id: string | null;
53
56
  key?: string | null;
@@ -100,7 +100,6 @@ export type CreateOrganisationResponse = {
100
100
  sms: boolean;
101
101
  push: boolean;
102
102
  onboardingProgress: Array<string> | null;
103
- distributer?: boolean;
104
103
  };
105
104
  tokens?: {
106
105
  id?: string;
@@ -8,5 +8,4 @@ export type CreateUser = {
8
8
  pushToken?: string | null;
9
9
  roles?: Array<string> | null;
10
10
  businessUnits?: Array<string> | null;
11
- distributer?: boolean;
12
11
  };
@@ -48,6 +48,9 @@ export type PatchBusinessUnit = {
48
48
  email?: string;
49
49
  primary?: boolean;
50
50
  holdingNumber?: string | null;
51
+ companyNumber?: string | null;
52
+ vatNumber?: string | null;
53
+ emailDistributionList?: Array<string> | null;
51
54
  assurance?: {
52
55
  id: string | null;
53
56
  key?: string | null;
@@ -8,7 +8,6 @@ export type PatchUser = {
8
8
  pushToken?: string | null;
9
9
  roles?: Array<string> | null;
10
10
  businessUnits?: Array<string> | null;
11
- distributer?: boolean;
12
11
  phoneLandline?: string | null;
13
12
  avatar?: {
14
13
  id: string;
@@ -21,7 +21,6 @@ export type SearchResultsUserDetailSchema = {
21
21
  sms: boolean;
22
22
  push: boolean;
23
23
  onboardingProgress: Array<string> | null;
24
- distributer?: boolean;
25
24
  };
26
25
  tokens?: {
27
26
  id?: string;
@@ -68,7 +68,6 @@ export type UserBasicInfo = {
68
68
  sms: boolean;
69
69
  push: boolean;
70
70
  onboardingProgress: Array<string> | null;
71
- distributer?: boolean;
72
71
  };
73
72
  authPlatformId: string;
74
73
  userTypes: Array<string>;
@@ -68,7 +68,6 @@ export type UserBasicInfoWithStatsSchema = {
68
68
  sms: boolean;
69
69
  push: boolean;
70
70
  onboardingProgress: Array<string> | null;
71
- distributer?: boolean;
72
71
  };
73
72
  authPlatformId?: string;
74
73
  userTypes?: Array<string>;
@@ -20,7 +20,6 @@ export type UserDetail = {
20
20
  sms: boolean;
21
21
  push: boolean;
22
22
  onboardingProgress: Array<string> | null;
23
- distributer?: boolean;
24
23
  };
25
24
  tokens?: {
26
25
  id?: string;
@@ -100,7 +100,6 @@ export type UserProfile = {
100
100
  sms: boolean;
101
101
  push: boolean;
102
102
  onboardingProgress: Array<string> | null;
103
- distributer?: boolean;
104
103
  };
105
104
  tokens?: {
106
105
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.84",
3
+ "version": "1.1.86",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",