@hectare/platform.clients.customers 1.1.68 → 1.1.70

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.
package/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export type { AssuranceDetail } from './models/AssuranceDetail.js';
2
2
  export type { BasicSearchUserDetail } from './models/BasicSearchUserDetail.js';
3
3
  export type { BusinessDetail } from './models/BusinessDetail.js';
4
+ export type { BusinessDetailCollectionAddressSchema } from './models/BusinessDetailCollectionAddressSchema.js';
4
5
  export type { BusinessUnitsDetail } from './models/BusinessUnitsDetail.js';
5
6
  export type { BusinessUnitsDetails } from './models/BusinessUnitsDetails.js';
6
7
  export type { BusinessUnitsSummary } from './models/BusinessUnitsSummary.js';
@@ -10,6 +11,7 @@ export type { ChangeOwner } from './models/ChangeOwner.js';
10
11
  export type { ChangePassword } from './models/ChangePassword.js';
11
12
  export type { ConfirmSignup } from './models/ConfirmSignup.js';
12
13
  export type { ContactDetail } from './models/ContactDetail.js';
14
+ export type { CreateBusinessCollectionAddressSchema } from './models/CreateBusinessCollectionAddressSchema.js';
13
15
  export type { CreateBusinessUnit } from './models/CreateBusinessUnit.js';
14
16
  export type { CreateBusinessUnits } from './models/CreateBusinessUnits.js';
15
17
  export type { CreateOrganisation } from './models/CreateOrganisation.js';
@@ -29,6 +31,7 @@ export type { LookupUserByTelephoneSchema } from './models/LookupUserByTelephone
29
31
  export type { OrganisationDetail } from './models/OrganisationDetail.js';
30
32
  export type { OrganisationExists } from './models/OrganisationExists.js';
31
33
  export type { OrganisationSummary } from './models/OrganisationSummary.js';
34
+ export type { PatchBusinessCollectionAddressSchema } from './models/PatchBusinessCollectionAddressSchema.js';
32
35
  export type { PatchBusinessUnit } from './models/PatchBusinessUnit.js';
33
36
  export type { PatchOrganisation } from './models/PatchOrganisation.js';
34
37
  export type { PatchOrganisationAdvancePay } from './models/PatchOrganisationAdvancePay.js';
@@ -22,6 +22,7 @@ export type BusinessDetail = {
22
22
  lon: number;
23
23
  } | null;
24
24
  } | null;
25
+ locationIsCollectionAddress?: boolean;
25
26
  collectionLocation?: {
26
27
  what3words: string | null;
27
28
  address: {
@@ -43,6 +44,8 @@ export type BusinessDetail = {
43
44
  } | null;
44
45
  businessName?: string;
45
46
  name?: string;
47
+ givenName?: string;
48
+ familyName?: string;
46
49
  phone?: {
47
50
  callingCode: string;
48
51
  number: string;
@@ -57,4 +60,33 @@ export type BusinessDetail = {
57
60
  name?: string | null;
58
61
  location?: string | null;
59
62
  } | null;
63
+ collectionAddresses?: Array<{
64
+ id: number | null;
65
+ reference: string | null;
66
+ location: {
67
+ what3words: string | null;
68
+ address: {
69
+ name?: string | null;
70
+ line1: string;
71
+ line2?: string | null;
72
+ line3?: string | null;
73
+ city?: string | null;
74
+ region?: string | null;
75
+ regionISO?: string | null;
76
+ postcode: string;
77
+ countryName?: string | null;
78
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
79
+ };
80
+ coordinates: {
81
+ lat: number;
82
+ lon: number;
83
+ } | null;
84
+ } | null;
85
+ givenName: string | null;
86
+ familyName: string | null;
87
+ phone: {
88
+ callingCode: string;
89
+ number: string;
90
+ };
91
+ }>;
60
92
  };
@@ -0,0 +1,29 @@
1
+ export type BusinessDetailCollectionAddressSchema = {
2
+ id: number | null;
3
+ reference: string | null;
4
+ location: {
5
+ what3words: string | null;
6
+ address: {
7
+ name?: string | null;
8
+ line1: string;
9
+ line2?: string | null;
10
+ line3?: string | null;
11
+ city?: string | null;
12
+ region?: string | null;
13
+ regionISO?: string | null;
14
+ postcode: string;
15
+ countryName?: string | null;
16
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
17
+ };
18
+ coordinates: {
19
+ lat: number;
20
+ lon: number;
21
+ } | null;
22
+ } | null;
23
+ givenName: string | null;
24
+ familyName: string | null;
25
+ phone: {
26
+ callingCode: string;
27
+ number: string;
28
+ };
29
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -28,6 +28,7 @@ export type BusinessUnitsDetail = {
28
28
  lon: number;
29
29
  } | null;
30
30
  } | null;
31
+ locationIsCollectionAddress?: boolean;
31
32
  collectionLocation?: {
32
33
  what3words: string | null;
33
34
  address: {
@@ -49,6 +50,8 @@ export type BusinessUnitsDetail = {
49
50
  } | null;
50
51
  businessName?: string;
51
52
  name?: string;
53
+ givenName?: string;
54
+ familyName?: string;
52
55
  phone?: {
53
56
  callingCode: string;
54
57
  number: string;
@@ -63,5 +66,34 @@ export type BusinessUnitsDetail = {
63
66
  name?: string | null;
64
67
  location?: string | null;
65
68
  } | null;
69
+ collectionAddresses?: Array<{
70
+ id: number | null;
71
+ reference: string | null;
72
+ location: {
73
+ what3words: string | null;
74
+ address: {
75
+ name?: string | null;
76
+ line1: string;
77
+ line2?: string | null;
78
+ line3?: string | null;
79
+ city?: string | null;
80
+ region?: string | null;
81
+ regionISO?: string | null;
82
+ postcode: string;
83
+ countryName?: string | null;
84
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
85
+ };
86
+ coordinates: {
87
+ lat: number;
88
+ lon: number;
89
+ } | null;
90
+ } | null;
91
+ givenName: string | null;
92
+ familyName: string | null;
93
+ phone: {
94
+ callingCode: string;
95
+ number: string;
96
+ };
97
+ }>;
66
98
  };
67
99
  };
@@ -37,6 +37,7 @@ export type BusinessUnitsDetails = {
37
37
  lon: number;
38
38
  } | null;
39
39
  } | null;
40
+ locationIsCollectionAddress?: boolean;
40
41
  collectionLocation?: {
41
42
  what3words: string | null;
42
43
  address: {
@@ -58,6 +59,8 @@ export type BusinessUnitsDetails = {
58
59
  } | null;
59
60
  businessName?: string;
60
61
  name?: string;
62
+ givenName?: string;
63
+ familyName?: string;
61
64
  phone?: {
62
65
  callingCode: string;
63
66
  number: string;
@@ -72,6 +75,35 @@ export type BusinessUnitsDetails = {
72
75
  name?: string | null;
73
76
  location?: string | null;
74
77
  } | null;
78
+ collectionAddresses?: Array<{
79
+ id: number | null;
80
+ reference: string | null;
81
+ location: {
82
+ what3words: string | null;
83
+ address: {
84
+ name?: string | null;
85
+ line1: string;
86
+ line2?: string | null;
87
+ line3?: string | null;
88
+ city?: string | null;
89
+ region?: string | null;
90
+ regionISO?: string | null;
91
+ postcode: string;
92
+ countryName?: string | null;
93
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
94
+ };
95
+ coordinates: {
96
+ lat: number;
97
+ lon: number;
98
+ } | null;
99
+ } | null;
100
+ givenName: string | null;
101
+ familyName: string | null;
102
+ phone: {
103
+ callingCode: string;
104
+ number: string;
105
+ };
106
+ }>;
75
107
  };
76
108
  }>;
77
109
  };
@@ -0,0 +1,28 @@
1
+ export type CreateBusinessCollectionAddressSchema = {
2
+ reference: string;
3
+ location: {
4
+ what3words: string | null;
5
+ address: {
6
+ name?: string | null;
7
+ line1: string;
8
+ line2?: string | null;
9
+ line3?: string | null;
10
+ city?: string | null;
11
+ region?: string | null;
12
+ regionISO?: string | null;
13
+ postcode: string;
14
+ countryName?: string | null;
15
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
16
+ };
17
+ coordinates: {
18
+ lat: number;
19
+ lon: number;
20
+ } | null;
21
+ } | null;
22
+ givenName: string;
23
+ familyName: string;
24
+ phone: {
25
+ callingCode: string;
26
+ number: string;
27
+ };
28
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -42,6 +42,8 @@ export type CreateBusinessUnit = {
42
42
  } | null;
43
43
  } | null;
44
44
  name: string;
45
+ givenName?: string;
46
+ familyName?: string;
45
47
  phoneNumber?: string | null;
46
48
  email?: string;
47
49
  holdingNumber: string;
@@ -42,6 +42,8 @@ export type CreateBusinessUnits = Array<{
42
42
  } | null;
43
43
  } | null;
44
44
  name: string;
45
+ givenName?: string;
46
+ familyName?: string;
45
47
  phoneNumber?: string | null;
46
48
  email?: string;
47
49
  holdingNumber: string;
@@ -0,0 +1,28 @@
1
+ export type PatchBusinessCollectionAddressSchema = {
2
+ reference: string;
3
+ location: {
4
+ what3words: string | null;
5
+ address: {
6
+ name?: string | null;
7
+ line1: string;
8
+ line2?: string | null;
9
+ line3?: string | null;
10
+ city?: string | null;
11
+ region?: string | null;
12
+ regionISO?: string | null;
13
+ postcode: string;
14
+ countryName?: string | null;
15
+ countryISO: 'GB' | 'US' | 'ZA' | 'FR';
16
+ };
17
+ coordinates: {
18
+ lat: number;
19
+ lon: number;
20
+ } | null;
21
+ } | null;
22
+ givenName: string;
23
+ familyName: string;
24
+ phone: {
25
+ callingCode: string;
26
+ number: string;
27
+ };
28
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -40,6 +40,8 @@ export type PatchBusinessUnit = {
40
40
  } | null;
41
41
  } | null;
42
42
  name?: string;
43
+ givenName?: string;
44
+ familyName?: string;
43
45
  phoneNumber?: string | null;
44
46
  email?: string;
45
47
  primary?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",