@hectare/platform.clients.customers 1.1.34 → 1.1.35
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/models/BusinessDetail.d.ts +19 -0
- package/models/BusinessUnitsDetail.d.ts +19 -0
- package/models/BusinessUnitsDetails.d.ts +19 -0
- package/models/CreateBusinessUnit.d.ts +19 -0
- package/models/CreateBusinessUnits.d.ts +19 -0
- package/models/PatchBusinessUnit.d.ts +19 -0
- package/package.json +1 -1
|
@@ -22,6 +22,25 @@ export type BusinessDetail = {
|
|
|
22
22
|
lon: number;
|
|
23
23
|
} | null;
|
|
24
24
|
} | null;
|
|
25
|
+
collectionLocation?: {
|
|
26
|
+
what3words: string | null;
|
|
27
|
+
address: {
|
|
28
|
+
name?: string | null;
|
|
29
|
+
line1: string;
|
|
30
|
+
line2?: string | null;
|
|
31
|
+
line3?: string | null;
|
|
32
|
+
city?: string | null;
|
|
33
|
+
region?: string | null;
|
|
34
|
+
regionISO?: string | null;
|
|
35
|
+
postcode: string;
|
|
36
|
+
countryName?: string | null;
|
|
37
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
38
|
+
};
|
|
39
|
+
coordinates: {
|
|
40
|
+
lat: number;
|
|
41
|
+
lon: number;
|
|
42
|
+
} | null;
|
|
43
|
+
} | null;
|
|
25
44
|
businessName?: string;
|
|
26
45
|
name?: string;
|
|
27
46
|
phone?: {
|
|
@@ -28,6 +28,25 @@ export type BusinessUnitsDetail = {
|
|
|
28
28
|
lon: number;
|
|
29
29
|
} | null;
|
|
30
30
|
} | null;
|
|
31
|
+
collectionLocation?: {
|
|
32
|
+
what3words: string | null;
|
|
33
|
+
address: {
|
|
34
|
+
name?: string | null;
|
|
35
|
+
line1: string;
|
|
36
|
+
line2?: string | null;
|
|
37
|
+
line3?: string | null;
|
|
38
|
+
city?: string | null;
|
|
39
|
+
region?: string | null;
|
|
40
|
+
regionISO?: string | null;
|
|
41
|
+
postcode: string;
|
|
42
|
+
countryName?: string | null;
|
|
43
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
44
|
+
};
|
|
45
|
+
coordinates: {
|
|
46
|
+
lat: number;
|
|
47
|
+
lon: number;
|
|
48
|
+
} | null;
|
|
49
|
+
} | null;
|
|
31
50
|
businessName?: string;
|
|
32
51
|
name?: string;
|
|
33
52
|
phone?: {
|
|
@@ -37,6 +37,25 @@ export type BusinessUnitsDetails = {
|
|
|
37
37
|
lon: number;
|
|
38
38
|
} | null;
|
|
39
39
|
} | null;
|
|
40
|
+
collectionLocation?: {
|
|
41
|
+
what3words: string | null;
|
|
42
|
+
address: {
|
|
43
|
+
name?: string | null;
|
|
44
|
+
line1: string;
|
|
45
|
+
line2?: string | null;
|
|
46
|
+
line3?: string | null;
|
|
47
|
+
city?: string | null;
|
|
48
|
+
region?: string | null;
|
|
49
|
+
regionISO?: string | null;
|
|
50
|
+
postcode: string;
|
|
51
|
+
countryName?: string | null;
|
|
52
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
53
|
+
};
|
|
54
|
+
coordinates: {
|
|
55
|
+
lat: number;
|
|
56
|
+
lon: number;
|
|
57
|
+
} | null;
|
|
58
|
+
} | null;
|
|
40
59
|
businessName?: string;
|
|
41
60
|
name?: string;
|
|
42
61
|
phone?: {
|
|
@@ -22,6 +22,25 @@ export type CreateBusinessUnit = {
|
|
|
22
22
|
lon: number;
|
|
23
23
|
} | null;
|
|
24
24
|
} | null;
|
|
25
|
+
collectionLocation?: {
|
|
26
|
+
what3words: string | null;
|
|
27
|
+
address: {
|
|
28
|
+
name?: string | null;
|
|
29
|
+
line1: string;
|
|
30
|
+
line2?: string | null;
|
|
31
|
+
line3?: string | null;
|
|
32
|
+
city?: string | null;
|
|
33
|
+
region?: string | null;
|
|
34
|
+
regionISO?: string | null;
|
|
35
|
+
postcode: string;
|
|
36
|
+
countryName?: string | null;
|
|
37
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
38
|
+
};
|
|
39
|
+
coordinates: {
|
|
40
|
+
lat: number;
|
|
41
|
+
lon: number;
|
|
42
|
+
} | null;
|
|
43
|
+
} | null;
|
|
25
44
|
name: string;
|
|
26
45
|
phoneNumber: string | null;
|
|
27
46
|
email: string;
|
|
@@ -22,6 +22,25 @@ export type CreateBusinessUnits = Array<{
|
|
|
22
22
|
lon: number;
|
|
23
23
|
} | null;
|
|
24
24
|
} | null;
|
|
25
|
+
collectionLocation?: {
|
|
26
|
+
what3words: string | null;
|
|
27
|
+
address: {
|
|
28
|
+
name?: string | null;
|
|
29
|
+
line1: string;
|
|
30
|
+
line2?: string | null;
|
|
31
|
+
line3?: string | null;
|
|
32
|
+
city?: string | null;
|
|
33
|
+
region?: string | null;
|
|
34
|
+
regionISO?: string | null;
|
|
35
|
+
postcode: string;
|
|
36
|
+
countryName?: string | null;
|
|
37
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
38
|
+
};
|
|
39
|
+
coordinates: {
|
|
40
|
+
lat: number;
|
|
41
|
+
lon: number;
|
|
42
|
+
} | null;
|
|
43
|
+
} | null;
|
|
25
44
|
name: string;
|
|
26
45
|
phoneNumber: string | null;
|
|
27
46
|
email: string;
|
|
@@ -20,6 +20,25 @@ export type PatchBusinessUnit = {
|
|
|
20
20
|
lon: number;
|
|
21
21
|
} | null;
|
|
22
22
|
} | null;
|
|
23
|
+
collectionLocation?: {
|
|
24
|
+
what3words: string | null;
|
|
25
|
+
address: {
|
|
26
|
+
name?: string | null;
|
|
27
|
+
line1: string;
|
|
28
|
+
line2?: string | null;
|
|
29
|
+
line3?: string | null;
|
|
30
|
+
city?: string | null;
|
|
31
|
+
region?: string | null;
|
|
32
|
+
regionISO?: string | null;
|
|
33
|
+
postcode: string;
|
|
34
|
+
countryName?: string | null;
|
|
35
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
36
|
+
};
|
|
37
|
+
coordinates: {
|
|
38
|
+
lat: number;
|
|
39
|
+
lon: number;
|
|
40
|
+
} | null;
|
|
41
|
+
} | null;
|
|
23
42
|
name?: string;
|
|
24
43
|
phoneNumber?: string | null;
|
|
25
44
|
email?: string;
|