@hectare/platform.clients.customers 1.1.69 → 1.1.71
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 +3 -0
- package/models/BusinessDetail.d.ts +30 -0
- package/models/BusinessDetailCollectionAddressSchema.d.ts +29 -0
- package/models/BusinessDetailCollectionAddressSchema.js +1 -0
- package/models/BusinessUnitsDetail.d.ts +30 -0
- package/models/BusinessUnitsDetails.d.ts +30 -0
- package/models/CreateBusinessCollectionAddressSchema.d.ts +28 -0
- package/models/CreateBusinessCollectionAddressSchema.js +1 -0
- package/models/CreateBusinessUnit.d.ts +1 -0
- package/models/CreateBusinessUnits.d.ts +1 -0
- package/models/PatchBusinessCollectionAddressSchema.d.ts +28 -0
- package/models/PatchBusinessCollectionAddressSchema.js +1 -0
- package/package.json +1 -1
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: {
|
|
@@ -59,4 +60,33 @@ export type BusinessDetail = {
|
|
|
59
60
|
name?: string | null;
|
|
60
61
|
location?: string | null;
|
|
61
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
|
+
}>;
|
|
62
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: {
|
|
@@ -65,5 +66,34 @@ export type BusinessUnitsDetail = {
|
|
|
65
66
|
name?: string | null;
|
|
66
67
|
location?: string | null;
|
|
67
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
|
+
}>;
|
|
68
98
|
};
|
|
69
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: {
|
|
@@ -74,6 +75,35 @@ export type BusinessUnitsDetails = {
|
|
|
74
75
|
name?: string | null;
|
|
75
76
|
location?: string | null;
|
|
76
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
|
+
}>;
|
|
77
107
|
};
|
|
78
108
|
}>;
|
|
79
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 {};
|
|
@@ -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 {};
|