@hectare/platform.clients.customers 1.1.116 → 1.1.117
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.
|
@@ -4,7 +4,6 @@ export type BusinessDetail = {
|
|
|
4
4
|
type: 'trading-entity' | 'farm';
|
|
5
5
|
businessUnitId: string;
|
|
6
6
|
organisationId: string;
|
|
7
|
-
primary: boolean;
|
|
8
7
|
locations: Array<{
|
|
9
8
|
id: number | null;
|
|
10
9
|
reference: string | null;
|
|
@@ -36,77 +35,6 @@ export type BusinessDetail = {
|
|
|
36
35
|
};
|
|
37
36
|
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
38
37
|
}>;
|
|
39
|
-
location: {
|
|
40
|
-
what3words: string | null;
|
|
41
|
-
address: {
|
|
42
|
-
name?: string | null;
|
|
43
|
-
line1: string;
|
|
44
|
-
line2?: string | null;
|
|
45
|
-
line3?: string | null;
|
|
46
|
-
city?: string | null;
|
|
47
|
-
region?: string | null;
|
|
48
|
-
regionISO?: string | null;
|
|
49
|
-
postcode: string;
|
|
50
|
-
countryName?: string | null;
|
|
51
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
52
|
-
};
|
|
53
|
-
coordinates: {
|
|
54
|
-
lat: number;
|
|
55
|
-
lon: number;
|
|
56
|
-
} | null;
|
|
57
|
-
} | null;
|
|
58
|
-
locationIsCollectionAddress?: boolean;
|
|
59
|
-
collectionLocation?: {
|
|
60
|
-
what3words: string | null;
|
|
61
|
-
address: {
|
|
62
|
-
name?: string | null;
|
|
63
|
-
line1: string;
|
|
64
|
-
line2?: string | null;
|
|
65
|
-
line3?: string | null;
|
|
66
|
-
city?: string | null;
|
|
67
|
-
region?: string | null;
|
|
68
|
-
regionISO?: string | null;
|
|
69
|
-
postcode: string;
|
|
70
|
-
countryName?: string | null;
|
|
71
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
72
|
-
};
|
|
73
|
-
coordinates: {
|
|
74
|
-
lat: number;
|
|
75
|
-
lon: number;
|
|
76
|
-
} | null;
|
|
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
|
-
email?: string | null;
|
|
101
|
-
givenName: string | null;
|
|
102
|
-
familyName: string | null;
|
|
103
|
-
phone: {
|
|
104
|
-
callingCode: string;
|
|
105
|
-
number: string;
|
|
106
|
-
};
|
|
107
|
-
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
108
|
-
}>;
|
|
109
|
-
name?: string;
|
|
110
38
|
businessName: string;
|
|
111
39
|
givenName: string;
|
|
112
40
|
familyName: string;
|
|
@@ -10,7 +10,6 @@ export type BusinessUnitsDetail = {
|
|
|
10
10
|
type: 'trading-entity' | 'farm';
|
|
11
11
|
businessUnitId: string;
|
|
12
12
|
organisationId: string;
|
|
13
|
-
primary: boolean;
|
|
14
13
|
locations: Array<{
|
|
15
14
|
id: number | null;
|
|
16
15
|
reference: string | null;
|
|
@@ -42,77 +41,6 @@ export type BusinessUnitsDetail = {
|
|
|
42
41
|
};
|
|
43
42
|
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
44
43
|
}>;
|
|
45
|
-
location: {
|
|
46
|
-
what3words: string | null;
|
|
47
|
-
address: {
|
|
48
|
-
name?: string | null;
|
|
49
|
-
line1: string;
|
|
50
|
-
line2?: string | null;
|
|
51
|
-
line3?: string | null;
|
|
52
|
-
city?: string | null;
|
|
53
|
-
region?: string | null;
|
|
54
|
-
regionISO?: string | null;
|
|
55
|
-
postcode: string;
|
|
56
|
-
countryName?: string | null;
|
|
57
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
58
|
-
};
|
|
59
|
-
coordinates: {
|
|
60
|
-
lat: number;
|
|
61
|
-
lon: number;
|
|
62
|
-
} | null;
|
|
63
|
-
} | null;
|
|
64
|
-
locationIsCollectionAddress?: boolean;
|
|
65
|
-
collectionLocation?: {
|
|
66
|
-
what3words: string | null;
|
|
67
|
-
address: {
|
|
68
|
-
name?: string | null;
|
|
69
|
-
line1: string;
|
|
70
|
-
line2?: string | null;
|
|
71
|
-
line3?: string | null;
|
|
72
|
-
city?: string | null;
|
|
73
|
-
region?: string | null;
|
|
74
|
-
regionISO?: string | null;
|
|
75
|
-
postcode: string;
|
|
76
|
-
countryName?: string | null;
|
|
77
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
78
|
-
};
|
|
79
|
-
coordinates: {
|
|
80
|
-
lat: number;
|
|
81
|
-
lon: number;
|
|
82
|
-
} | null;
|
|
83
|
-
} | null;
|
|
84
|
-
collectionAddresses: Array<{
|
|
85
|
-
id: number | null;
|
|
86
|
-
reference: string | null;
|
|
87
|
-
location: {
|
|
88
|
-
what3words: string | null;
|
|
89
|
-
address: {
|
|
90
|
-
name?: string | null;
|
|
91
|
-
line1: string;
|
|
92
|
-
line2?: string | null;
|
|
93
|
-
line3?: string | null;
|
|
94
|
-
city?: string | null;
|
|
95
|
-
region?: string | null;
|
|
96
|
-
regionISO?: string | null;
|
|
97
|
-
postcode: string;
|
|
98
|
-
countryName?: string | null;
|
|
99
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
100
|
-
};
|
|
101
|
-
coordinates: {
|
|
102
|
-
lat: number;
|
|
103
|
-
lon: number;
|
|
104
|
-
} | null;
|
|
105
|
-
} | null;
|
|
106
|
-
email?: string | null;
|
|
107
|
-
givenName: string | null;
|
|
108
|
-
familyName: string | null;
|
|
109
|
-
phone: {
|
|
110
|
-
callingCode: string;
|
|
111
|
-
number: string;
|
|
112
|
-
};
|
|
113
|
-
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
114
|
-
}>;
|
|
115
|
-
name?: string;
|
|
116
44
|
businessName: string;
|
|
117
45
|
givenName: string;
|
|
118
46
|
familyName: string;
|
|
@@ -19,7 +19,6 @@ export type BusinessUnitsDetails = {
|
|
|
19
19
|
type: 'trading-entity' | 'farm';
|
|
20
20
|
businessUnitId: string;
|
|
21
21
|
organisationId: string;
|
|
22
|
-
primary: boolean;
|
|
23
22
|
locations: Array<{
|
|
24
23
|
id: number | null;
|
|
25
24
|
reference: string | null;
|
|
@@ -51,77 +50,6 @@ export type BusinessUnitsDetails = {
|
|
|
51
50
|
};
|
|
52
51
|
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
53
52
|
}>;
|
|
54
|
-
location: {
|
|
55
|
-
what3words: string | null;
|
|
56
|
-
address: {
|
|
57
|
-
name?: string | null;
|
|
58
|
-
line1: string;
|
|
59
|
-
line2?: string | null;
|
|
60
|
-
line3?: string | null;
|
|
61
|
-
city?: string | null;
|
|
62
|
-
region?: string | null;
|
|
63
|
-
regionISO?: string | null;
|
|
64
|
-
postcode: string;
|
|
65
|
-
countryName?: string | null;
|
|
66
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
67
|
-
};
|
|
68
|
-
coordinates: {
|
|
69
|
-
lat: number;
|
|
70
|
-
lon: number;
|
|
71
|
-
} | null;
|
|
72
|
-
} | null;
|
|
73
|
-
locationIsCollectionAddress?: boolean;
|
|
74
|
-
collectionLocation?: {
|
|
75
|
-
what3words: string | null;
|
|
76
|
-
address: {
|
|
77
|
-
name?: string | null;
|
|
78
|
-
line1: string;
|
|
79
|
-
line2?: string | null;
|
|
80
|
-
line3?: string | null;
|
|
81
|
-
city?: string | null;
|
|
82
|
-
region?: string | null;
|
|
83
|
-
regionISO?: string | null;
|
|
84
|
-
postcode: string;
|
|
85
|
-
countryName?: string | null;
|
|
86
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
87
|
-
};
|
|
88
|
-
coordinates: {
|
|
89
|
-
lat: number;
|
|
90
|
-
lon: number;
|
|
91
|
-
} | null;
|
|
92
|
-
} | null;
|
|
93
|
-
collectionAddresses: Array<{
|
|
94
|
-
id: number | null;
|
|
95
|
-
reference: string | null;
|
|
96
|
-
location: {
|
|
97
|
-
what3words: string | null;
|
|
98
|
-
address: {
|
|
99
|
-
name?: string | null;
|
|
100
|
-
line1: string;
|
|
101
|
-
line2?: string | null;
|
|
102
|
-
line3?: string | null;
|
|
103
|
-
city?: string | null;
|
|
104
|
-
region?: string | null;
|
|
105
|
-
regionISO?: string | null;
|
|
106
|
-
postcode: string;
|
|
107
|
-
countryName?: string | null;
|
|
108
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
109
|
-
};
|
|
110
|
-
coordinates: {
|
|
111
|
-
lat: number;
|
|
112
|
-
lon: number;
|
|
113
|
-
} | null;
|
|
114
|
-
} | null;
|
|
115
|
-
email?: string | null;
|
|
116
|
-
givenName: string | null;
|
|
117
|
-
familyName: string | null;
|
|
118
|
-
phone: {
|
|
119
|
-
callingCode: string;
|
|
120
|
-
number: string;
|
|
121
|
-
};
|
|
122
|
-
type: 'collection' | 'business' | 'delivery' | 'business-collection';
|
|
123
|
-
}>;
|
|
124
|
-
name?: string;
|
|
125
53
|
businessName: string;
|
|
126
54
|
givenName: string;
|
|
127
55
|
familyName: string;
|
|
@@ -22,30 +22,10 @@ export type PatchBusinessUnit = {
|
|
|
22
22
|
} | null;
|
|
23
23
|
} | null;
|
|
24
24
|
locationIsCollectionAddress?: boolean;
|
|
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;
|
|
44
25
|
givenName?: string;
|
|
45
26
|
familyName?: string;
|
|
46
27
|
phoneNumber?: string | null;
|
|
47
28
|
email?: string;
|
|
48
|
-
primary?: boolean;
|
|
49
29
|
holdingNumber?: string | null;
|
|
50
30
|
companyNumber?: string | null;
|
|
51
31
|
vatNumber?: string | null;
|
|
@@ -58,10 +38,6 @@ export type PatchBusinessUnit = {
|
|
|
58
38
|
location?: string | null;
|
|
59
39
|
} | null;
|
|
60
40
|
status?: string | null;
|
|
61
|
-
locations?: Array<any>;
|
|
62
|
-
collectionAddresses?: Array<any>;
|
|
63
|
-
name?: string;
|
|
64
|
-
type?: string;
|
|
65
41
|
bio?: string | null;
|
|
66
42
|
logo?: {
|
|
67
43
|
id: string;
|