@hectare/platform.clients.customers 1.1.14 → 1.1.16

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 BusinessConnectionDetail = {
30
30
  coordinates: {
31
31
  lat: number;
32
32
  lon: number;
33
- };
33
+ } | null;
34
34
  } | null;
35
35
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
36
36
  ownerContact?: {
@@ -32,7 +32,7 @@ export type BusinessConnectionsSummary = {
32
32
  coordinates: {
33
33
  lat: number;
34
34
  lon: number;
35
- };
35
+ } | null;
36
36
  } | null;
37
37
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
38
38
  ownerContact?: {
@@ -19,7 +19,7 @@ export type BusinessDetail = {
19
19
  coordinates: {
20
20
  lat: number;
21
21
  lon: number;
22
- };
22
+ } | null;
23
23
  } | null;
24
24
  businessName?: string;
25
25
  name?: string;
@@ -31,17 +31,7 @@ export type BusinessDetail = {
31
31
  tags?: Array<string>;
32
32
  locationTag?: string;
33
33
  managementTag?: string;
34
- assuranceScheme?: 'RT' | 'SQC';
35
34
  holdingNumber?: string;
36
- sqc?: {
37
- number: string;
38
- isAssured: boolean;
39
- } | null;
40
- assurances?: Array<{
41
- id?: string | null;
42
- body?: 'RT' | 'SQC';
43
- assured?: boolean;
44
- }>;
45
35
  assurance?: {
46
36
  id: string | null;
47
37
  body: 'RT' | 'SQC';
@@ -25,7 +25,7 @@ export type BusinessUnitsDetail = {
25
25
  coordinates: {
26
26
  lat: number;
27
27
  lon: number;
28
- };
28
+ } | null;
29
29
  } | null;
30
30
  businessName?: string;
31
31
  name?: string;
@@ -37,17 +37,7 @@ export type BusinessUnitsDetail = {
37
37
  tags?: Array<string>;
38
38
  locationTag?: string;
39
39
  managementTag?: string;
40
- assuranceScheme?: 'RT' | 'SQC';
41
40
  holdingNumber?: string;
42
- sqc?: {
43
- number: string;
44
- isAssured: boolean;
45
- } | null;
46
- assurances?: Array<{
47
- id?: string | null;
48
- body?: 'RT' | 'SQC';
49
- assured?: boolean;
50
- }>;
51
41
  assurance?: {
52
42
  id: string | null;
53
43
  body: 'RT' | 'SQC';
@@ -34,7 +34,7 @@ export type BusinessUnitsDetails = {
34
34
  coordinates: {
35
35
  lat: number;
36
36
  lon: number;
37
- };
37
+ } | null;
38
38
  } | null;
39
39
  businessName?: string;
40
40
  name?: string;
@@ -46,17 +46,7 @@ export type BusinessUnitsDetails = {
46
46
  tags?: Array<string>;
47
47
  locationTag?: string;
48
48
  managementTag?: string;
49
- assuranceScheme?: 'RT' | 'SQC';
50
49
  holdingNumber?: string;
51
- sqc?: {
52
- number: string;
53
- isAssured: boolean;
54
- } | null;
55
- assurances?: Array<{
56
- id?: string | null;
57
- body?: 'RT' | 'SQC';
58
- assured?: boolean;
59
- }>;
60
50
  assurance?: {
61
51
  id: string | null;
62
52
  body: 'RT' | 'SQC';
@@ -20,7 +20,7 @@ export type CreateBusinessUnit = {
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  name: string;
26
26
  phoneNumber: string | null;
@@ -28,16 +28,6 @@ export type CreateBusinessUnit = {
28
28
  locationTag?: string;
29
29
  managementTag?: string;
30
30
  holdingNumber: string;
31
- sqc?: {
32
- number: string;
33
- isAssured: boolean;
34
- } | null;
35
- assuranceScheme?: 'RT' | 'SQC';
36
- assurances?: Array<{
37
- id?: string | null;
38
- body?: 'RT' | 'SQC';
39
- assured?: boolean;
40
- }>;
41
31
  assurance?: {
42
32
  id: string | null;
43
33
  body: 'RT' | 'SQC';
@@ -20,7 +20,7 @@ export type CreateBusinessUnits = Array<{
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  name: string;
26
26
  phoneNumber: string | null;
@@ -28,16 +28,6 @@ export type CreateBusinessUnits = Array<{
28
28
  locationTag?: string;
29
29
  managementTag?: string;
30
30
  holdingNumber: string;
31
- sqc?: {
32
- number: string;
33
- isAssured: boolean;
34
- } | null;
35
- assuranceScheme?: 'RT' | 'SQC';
36
- assurances?: Array<{
37
- id?: string | null;
38
- body?: 'RT' | 'SQC';
39
- assured?: boolean;
40
- }>;
41
31
  assurance?: {
42
32
  id: string | null;
43
33
  body: 'RT' | 'SQC';
@@ -16,14 +16,9 @@ export type CreateOrganisation = {
16
16
  coordinates: {
17
17
  lat: number;
18
18
  lon: number;
19
- };
19
+ } | null;
20
20
  } | null;
21
21
  company?: {
22
- assurances?: Array<{
23
- id?: string | null;
24
- body?: 'RT' | 'SQC';
25
- assured?: boolean;
26
- }>;
27
22
  assurance?: {
28
23
  id: string | null;
29
24
  body: 'RT' | 'SQC';
@@ -18,14 +18,9 @@ export type CreateOrganisationResponse = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  company?: {
24
- assurances?: Array<{
25
- id?: string | null;
26
- body?: 'RT' | 'SQC';
27
- assured?: boolean;
28
- }>;
29
24
  assurance?: {
30
25
  id: string | null;
31
26
  body: 'RT' | 'SQC';
@@ -56,11 +51,6 @@ export type CreateOrganisationResponse = {
56
51
  authPlatformId?: string;
57
52
  impersonate?: string | null;
58
53
  };
59
- sqc?: {
60
- number: string;
61
- isAssured: boolean;
62
- } | null;
63
- assuranceScheme?: 'RT' | 'SQC';
64
54
  settlementContacts?: Array<{
65
55
  name: string;
66
56
  email: string;
@@ -107,7 +97,7 @@ export type CreateOrganisationResponse = {
107
97
  coordinates: {
108
98
  lat: number;
109
99
  lon: number;
110
- };
100
+ } | null;
111
101
  } | null;
112
102
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
113
103
  ownerContact?: {
@@ -17,14 +17,9 @@ export type OrganisationDetail = {
17
17
  coordinates: {
18
18
  lat: number;
19
19
  lon: number;
20
- };
20
+ } | null;
21
21
  } | null;
22
22
  company?: {
23
- assurances?: Array<{
24
- id?: string | null;
25
- body?: 'RT' | 'SQC';
26
- assured?: boolean;
27
- }>;
28
23
  assurance?: {
29
24
  id: string | null;
30
25
  body: 'RT' | 'SQC';
@@ -55,11 +50,6 @@ export type OrganisationDetail = {
55
50
  authPlatformId?: string;
56
51
  impersonate?: string | null;
57
52
  };
58
- sqc?: {
59
- number: string;
60
- isAssured: boolean;
61
- } | null;
62
- assuranceScheme?: 'RT' | 'SQC';
63
53
  settlementContacts?: Array<{
64
54
  name: string;
65
55
  email: string;
@@ -106,7 +96,7 @@ export type OrganisationDetail = {
106
96
  coordinates: {
107
97
  lat: number;
108
98
  lon: number;
109
- };
99
+ } | null;
110
100
  } | null;
111
101
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
112
102
  ownerContact?: {
@@ -20,14 +20,9 @@ export type OrganisationExists = {
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  company?: {
26
- assurances?: Array<{
27
- id?: string | null;
28
- body?: 'RT' | 'SQC';
29
- assured?: boolean;
30
- }>;
31
26
  assurance?: {
32
27
  id: string | null;
33
28
  body: 'RT' | 'SQC';
@@ -58,11 +53,6 @@ export type OrganisationExists = {
58
53
  authPlatformId?: string;
59
54
  impersonate?: string | null;
60
55
  };
61
- sqc?: {
62
- number: string;
63
- isAssured: boolean;
64
- } | null;
65
- assuranceScheme?: 'RT' | 'SQC';
66
56
  settlementContacts?: Array<{
67
57
  name: string;
68
58
  email: string;
@@ -109,7 +99,7 @@ export type OrganisationExists = {
109
99
  coordinates: {
110
100
  lat: number;
111
101
  lon: number;
112
- };
102
+ } | null;
113
103
  } | null;
114
104
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
115
105
  ownerContact?: {
@@ -19,7 +19,7 @@ export type OrganisationSummary = {
19
19
  coordinates: {
20
20
  lat: number;
21
21
  lon: number;
22
- };
22
+ } | null;
23
23
  } | null;
24
24
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
25
25
  status?: 'active' | 'pending' | 'suspended';
@@ -69,10 +69,6 @@ export type OrganisationSummary = {
69
69
  vetted?: boolean;
70
70
  rejected?: boolean;
71
71
  isMerchant?: boolean;
72
- sqc?: {
73
- number: string;
74
- isAssured: boolean;
75
- } | null;
76
72
  assuranceId?: string;
77
73
  assuranceScheme?: 'RT' | 'SQC';
78
74
  advancePay?: {
@@ -18,7 +18,7 @@ export type PatchBusinessUnit = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  name?: string;
24
24
  phoneNumber?: string | null;
@@ -26,16 +26,6 @@ export type PatchBusinessUnit = {
26
26
  locationTag?: string;
27
27
  managementTag?: string;
28
28
  holdingNumber?: string | null;
29
- sqc?: {
30
- number: string;
31
- isAssured: boolean;
32
- } | null;
33
- assuranceScheme?: 'RT' | 'SQC';
34
- assurances?: Array<{
35
- id?: string | null;
36
- body?: 'RT' | 'SQC';
37
- assured?: boolean;
38
- }>;
39
29
  assurance?: {
40
30
  id: string | null;
41
31
  body: 'RT' | 'SQC';
@@ -16,14 +16,9 @@ export type PatchOrganisation = {
16
16
  coordinates: {
17
17
  lat: number;
18
18
  lon: number;
19
- };
19
+ } | null;
20
20
  } | null;
21
21
  company?: {
22
- assurances?: Array<{
23
- id?: string | null;
24
- body?: 'RT' | 'SQC';
25
- assured?: boolean;
26
- }>;
27
22
  assurance?: {
28
23
  id: string | null;
29
24
  body: 'RT' | 'SQC';
@@ -38,11 +33,6 @@ export type PatchOrganisation = {
38
33
  id: string;
39
34
  url: string | null;
40
35
  } | null;
41
- sqc?: {
42
- number: string;
43
- isAssured: boolean;
44
- } | null;
45
- assuranceScheme?: 'RT' | 'SQC';
46
36
  } | null;
47
37
  name?: string | null;
48
38
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
@@ -36,7 +36,7 @@ export type UserBasicInfo = {
36
36
  coordinates: {
37
37
  lat: number;
38
38
  lon: number;
39
- };
39
+ } | null;
40
40
  } | null;
41
41
  modules?: Array<{
42
42
  id: string;
@@ -18,14 +18,9 @@ export type UserProfile = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  company?: {
24
- assurances?: Array<{
25
- id?: string | null;
26
- body?: 'RT' | 'SQC';
27
- assured?: boolean;
28
- }>;
29
24
  assurance?: {
30
25
  id: string | null;
31
26
  body: 'RT' | 'SQC';
@@ -56,11 +51,6 @@ export type UserProfile = {
56
51
  authPlatformId?: string;
57
52
  impersonate?: string | null;
58
53
  };
59
- sqc?: {
60
- number: string;
61
- isAssured: boolean;
62
- } | null;
63
- assuranceScheme?: 'RT' | 'SQC';
64
54
  settlementContacts?: Array<{
65
55
  name: string;
66
56
  email: string;
@@ -107,7 +97,7 @@ export type UserProfile = {
107
97
  coordinates: {
108
98
  lat: number;
109
99
  lon: number;
110
- };
100
+ } | null;
111
101
  } | null;
112
102
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
113
103
  ownerContact?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",