@hectare/platform.clients.customers 1.1.121 → 1.1.123
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 +4 -12
- package/models/BasicSearchUserDetail.d.ts +1 -9
- package/models/BusinessDetail.d.ts +1 -1
- package/models/BusinessSummary.d.ts +0 -19
- package/models/BusinessUnitsDetail.d.ts +1 -1
- package/models/BusinessUnitsDetails.d.ts +1 -6
- package/models/ContactDetail.d.ts +1 -1
- package/models/{CreateBusinessUnits.d.ts → CreateBusinessSchema.d.ts} +2 -3
- package/models/CreateBusinessUnit.d.ts +0 -1
- package/models/CreateDriverUser.d.ts +3 -0
- package/models/OrganisationExists.d.ts +33 -45
- package/models/OrganisationSummary.d.ts +5 -15
- package/models/PatchBusinessSchema.d.ts +47 -0
- package/models/PatchOrganisation.d.ts +0 -49
- package/models/RegisterSchema.d.ts +1 -1
- package/models/{SearchResultsOrganisationDetailSchema.d.ts → SearchResultsOrganisationSummarySchema.d.ts} +34 -46
- package/models/SearchResultsUserDetailSchema.d.ts +1 -9
- package/models/UserBasicInfo.d.ts +0 -33
- package/models/UserBasicInfoWithStatsSchema.d.ts +0 -33
- package/models/UserDetail.d.ts +1 -9
- package/models/UserProfile.d.ts +34 -54
- package/package.json +1 -1
- package/models/BusinessUnitSummary.d.ts +0 -8
- package/models/BusinessUnitsSummary.d.ts +0 -16
- package/models/BuyerPreferencesSchema.d.ts +0 -10
- package/models/CreateBusinessCollectionAddressSchema.d.ts +0 -29
- package/models/CreateBusinessUnits.js +0 -1
- package/models/CreateOrganisation.d.ts +0 -61
- package/models/CreateOrganisation.js +0 -1
- package/models/CreateOrganisationResponse.d.ts +0 -160
- package/models/CreateOrganisationResponse.js +0 -1
- package/models/OrganisationDetail.d.ts +0 -79
- package/models/OrganisationDetail.js +0 -1
- package/models/PatchBusinessCollectionAddressSchema.d.ts +0 -29
- package/models/PatchBusinessCollectionAddressSchema.js +0 -1
- package/models/SearchResultsOrganisationDetailSchema.js +0 -1
- package/models/SwapCognitoUserPoolRequest.d.ts +0 -4
- package/models/SwapCognitoUserPoolRequest.js +0 -1
- package/models/SwapCognitoUserPoolResponse.d.ts +0 -5
- package/models/SwapCognitoUserPoolResponse.js +0 -1
- /package/models/{BusinessUnitSummary.js → CreateBusinessSchema.js} +0 -0
- /package/models/{BusinessUnitsSummary.js → CreateDriverUser.js} +0 -0
- /package/models/{BuyerPreferencesSchema.js → PatchBusinessSchema.js} +0 -0
- /package/models/{CreateBusinessCollectionAddressSchema.js → SearchResultsOrganisationSummarySchema.js} +0 -0
|
@@ -3,7 +3,6 @@ export type UserBasicInfoWithStatsSchema = {
|
|
|
3
3
|
givenName: string;
|
|
4
4
|
familyName: string;
|
|
5
5
|
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
6
|
-
organisationName?: string;
|
|
7
6
|
organisationId?: string;
|
|
8
7
|
email: string;
|
|
9
8
|
phone: {
|
|
@@ -11,38 +10,6 @@ export type UserBasicInfoWithStatsSchema = {
|
|
|
11
10
|
number: string;
|
|
12
11
|
};
|
|
13
12
|
pushToken?: string;
|
|
14
|
-
organisation: {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
bio: string;
|
|
18
|
-
logo: {
|
|
19
|
-
id?: string;
|
|
20
|
-
url?: string;
|
|
21
|
-
};
|
|
22
|
-
location: {
|
|
23
|
-
what3words: string | null;
|
|
24
|
-
address: {
|
|
25
|
-
name?: string | null;
|
|
26
|
-
line1: string;
|
|
27
|
-
line2?: string | null;
|
|
28
|
-
line3?: string | null;
|
|
29
|
-
city?: string | null;
|
|
30
|
-
region?: string | null;
|
|
31
|
-
regionISO?: string | null;
|
|
32
|
-
postcode: string;
|
|
33
|
-
countryName?: string | null;
|
|
34
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
35
|
-
};
|
|
36
|
-
coordinates: {
|
|
37
|
-
lat: number;
|
|
38
|
-
lon: number;
|
|
39
|
-
} | null;
|
|
40
|
-
} | null;
|
|
41
|
-
modules?: Array<{
|
|
42
|
-
id: string;
|
|
43
|
-
name?: string | null;
|
|
44
|
-
}>;
|
|
45
|
-
};
|
|
46
13
|
buyerExFarmPreferences?: Array<{
|
|
47
14
|
id: number;
|
|
48
15
|
commodityId: number;
|
package/models/UserDetail.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type UserDetail = {
|
|
|
27
27
|
userTypes: Array<'seller' | 'buyer' | 'advisor'>;
|
|
28
28
|
profiles: Array<{
|
|
29
29
|
organisationId: string;
|
|
30
|
-
|
|
30
|
+
businesses: Array<string>;
|
|
31
31
|
roles: Array<string>;
|
|
32
32
|
}>;
|
|
33
33
|
buyerExFarmPreferences?: Array<{
|
|
@@ -67,13 +67,5 @@ export type UserDetail = {
|
|
|
67
67
|
organisationName?: string;
|
|
68
68
|
authPlatformId?: string;
|
|
69
69
|
status: 'active' | 'pending' | 'inactive' | 'deleted';
|
|
70
|
-
businessUnits: Array<{
|
|
71
|
-
id: string;
|
|
72
|
-
name: string;
|
|
73
|
-
type?: string;
|
|
74
|
-
business: string;
|
|
75
|
-
region: string | null;
|
|
76
|
-
tags: Array<string>;
|
|
77
|
-
}>;
|
|
78
70
|
businesses: Array<string>;
|
|
79
71
|
};
|
package/models/UserProfile.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export type UserProfile = {
|
|
2
2
|
organisation: {
|
|
3
3
|
id: string;
|
|
4
|
+
businessId: string;
|
|
5
|
+
createdAtUTC: string;
|
|
6
|
+
name: string;
|
|
4
7
|
location: {
|
|
5
8
|
what3words: string | null;
|
|
6
9
|
address: {
|
|
@@ -20,63 +23,48 @@ export type UserProfile = {
|
|
|
20
23
|
lon: number;
|
|
21
24
|
} | null;
|
|
22
25
|
} | null;
|
|
23
|
-
company: {
|
|
24
|
-
assurance?: {
|
|
25
|
-
id: string | null;
|
|
26
|
-
key?: string | null;
|
|
27
|
-
body: 'RT' | 'SQC';
|
|
28
|
-
name?: string | null;
|
|
29
|
-
location?: string | null;
|
|
30
|
-
} | null;
|
|
31
|
-
id?: string | null;
|
|
32
|
-
bio?: string | null;
|
|
33
|
-
website?: string | null;
|
|
34
|
-
holdingNumber?: string | null;
|
|
35
|
-
number?: string | null;
|
|
36
|
-
salesTaxId?: string | null;
|
|
37
|
-
logo?: {
|
|
38
|
-
id: string;
|
|
39
|
-
url: string | null;
|
|
40
|
-
} | null;
|
|
41
|
-
};
|
|
42
|
-
companyNumber?: string | null;
|
|
43
26
|
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
44
|
-
|
|
27
|
+
status: 'active' | 'pending' | 'suspended';
|
|
28
|
+
bio: string;
|
|
29
|
+
companyId: string;
|
|
30
|
+
logo: {
|
|
31
|
+
name?: string;
|
|
32
|
+
id: string;
|
|
33
|
+
url?: string | null;
|
|
34
|
+
userId?: string | null;
|
|
35
|
+
userName?: string | null;
|
|
36
|
+
organisationId?: string | null;
|
|
37
|
+
createdAtUTC?: string | null;
|
|
38
|
+
} | null;
|
|
45
39
|
ownerContact: {
|
|
46
|
-
id
|
|
47
|
-
email
|
|
40
|
+
id: string;
|
|
41
|
+
email: string;
|
|
42
|
+
familyName: string;
|
|
43
|
+
givenName: string;
|
|
44
|
+
authPlatformId?: string;
|
|
45
|
+
organisationId: string;
|
|
46
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
48
47
|
phone?: {
|
|
49
48
|
callingCode: string;
|
|
50
49
|
number: string;
|
|
51
50
|
};
|
|
52
|
-
|
|
53
|
-
givenName?: string;
|
|
54
|
-
authPlatformId?: string;
|
|
55
|
-
impersonate?: string | null;
|
|
51
|
+
pushToken?: string;
|
|
56
52
|
};
|
|
57
|
-
settlementContacts?: Array<{
|
|
58
|
-
name: string;
|
|
59
|
-
email: string;
|
|
60
|
-
}>;
|
|
61
|
-
status: 'active' | 'pending' | 'suspended';
|
|
62
|
-
statusMessage?: string;
|
|
63
|
-
businessUnits: Array<{
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
type?: string;
|
|
67
|
-
business: string;
|
|
68
|
-
region: string | null;
|
|
69
|
-
tags: Array<string>;
|
|
70
|
-
}>;
|
|
71
53
|
modules: Array<{
|
|
72
54
|
id: string;
|
|
73
55
|
name?: string | null;
|
|
74
56
|
}>;
|
|
75
57
|
vetted: boolean;
|
|
76
|
-
rejected
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
58
|
+
rejected: boolean;
|
|
59
|
+
assurance: {
|
|
60
|
+
id: string | null;
|
|
61
|
+
key?: string | null;
|
|
62
|
+
body: 'RT' | 'SQC';
|
|
63
|
+
name?: string | null;
|
|
64
|
+
location?: string | null;
|
|
65
|
+
} | null;
|
|
66
|
+
salesforceId: string;
|
|
67
|
+
salesforceUpdates: Array<string>;
|
|
80
68
|
} | null;
|
|
81
69
|
user: {
|
|
82
70
|
id: string;
|
|
@@ -107,7 +95,7 @@ export type UserProfile = {
|
|
|
107
95
|
userTypes: Array<'seller' | 'buyer' | 'advisor'>;
|
|
108
96
|
profiles: Array<{
|
|
109
97
|
organisationId: string;
|
|
110
|
-
|
|
98
|
+
businesses: Array<string>;
|
|
111
99
|
roles: Array<string>;
|
|
112
100
|
}>;
|
|
113
101
|
buyerExFarmPreferences?: Array<{
|
|
@@ -147,14 +135,6 @@ export type UserProfile = {
|
|
|
147
135
|
organisationName?: string;
|
|
148
136
|
authPlatformId?: string;
|
|
149
137
|
status: 'active' | 'pending' | 'inactive' | 'deleted';
|
|
150
|
-
businessUnits: Array<{
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
type?: string;
|
|
154
|
-
business: string;
|
|
155
|
-
region: string | null;
|
|
156
|
-
tags: Array<string>;
|
|
157
|
-
}>;
|
|
158
138
|
businesses: Array<string>;
|
|
159
139
|
};
|
|
160
140
|
access: {
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type BusinessUnitsSummary = {
|
|
2
|
-
organisationId: string;
|
|
3
|
-
organisationName: string;
|
|
4
|
-
tagGroups?: Array<{
|
|
5
|
-
name: string;
|
|
6
|
-
tags: Array<string>;
|
|
7
|
-
}>;
|
|
8
|
-
businessUnits: Array<{
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type?: string;
|
|
12
|
-
business: string;
|
|
13
|
-
region: string | null;
|
|
14
|
-
tags: Array<string>;
|
|
15
|
-
}>;
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type BuyerPreferencesSchema = {
|
|
2
|
-
preferences: Array<{
|
|
3
|
-
commodity: number | null;
|
|
4
|
-
grades: Array<number>;
|
|
5
|
-
regions: Array<string>;
|
|
6
|
-
superRegions?: Array<'south' | 'midlands-wales' | 'north' | 'scotland'>;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
notificationsEnabled: boolean;
|
|
10
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
phoneNumber?: string;
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export type CreateOrganisation = {
|
|
2
|
-
location: {
|
|
3
|
-
what3words: string | null;
|
|
4
|
-
address: {
|
|
5
|
-
name?: string | null;
|
|
6
|
-
line1: string;
|
|
7
|
-
line2?: string | null;
|
|
8
|
-
line3?: string | null;
|
|
9
|
-
city?: string | null;
|
|
10
|
-
region?: string | null;
|
|
11
|
-
regionISO?: string | null;
|
|
12
|
-
postcode: string;
|
|
13
|
-
countryName?: string | null;
|
|
14
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
15
|
-
};
|
|
16
|
-
coordinates: {
|
|
17
|
-
lat: number;
|
|
18
|
-
lon: number;
|
|
19
|
-
} | null;
|
|
20
|
-
} | null;
|
|
21
|
-
company?: {
|
|
22
|
-
assurance?: {
|
|
23
|
-
id: string | null;
|
|
24
|
-
key?: string | null;
|
|
25
|
-
body: 'RT' | 'SQC';
|
|
26
|
-
name?: string | null;
|
|
27
|
-
location?: string | null;
|
|
28
|
-
} | null;
|
|
29
|
-
id?: string | null;
|
|
30
|
-
bio?: string | null;
|
|
31
|
-
website?: string | null;
|
|
32
|
-
holdingNumber?: string | null;
|
|
33
|
-
number?: string | null;
|
|
34
|
-
salesTaxId?: string | null;
|
|
35
|
-
logo?: {
|
|
36
|
-
id: string;
|
|
37
|
-
url: string | null;
|
|
38
|
-
} | null;
|
|
39
|
-
};
|
|
40
|
-
name: string | null;
|
|
41
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
42
|
-
ownerContact: {
|
|
43
|
-
phone: string | null;
|
|
44
|
-
email: string;
|
|
45
|
-
familyName: string;
|
|
46
|
-
givenName: string;
|
|
47
|
-
} | null;
|
|
48
|
-
contacts?: Array<{
|
|
49
|
-
phone: string | null;
|
|
50
|
-
email: string;
|
|
51
|
-
familyName: string;
|
|
52
|
-
givenName: string;
|
|
53
|
-
} | null>;
|
|
54
|
-
organisers?: Array<string>;
|
|
55
|
-
salesforceId?: string | null;
|
|
56
|
-
modules: Array<{
|
|
57
|
-
id: string;
|
|
58
|
-
name?: string | null;
|
|
59
|
-
}>;
|
|
60
|
-
signupPurpose?: Array<number>;
|
|
61
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
export type CreateOrganisationResponse = {
|
|
2
|
-
organisation?: {
|
|
3
|
-
id: string;
|
|
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
|
-
company: {
|
|
24
|
-
assurance?: {
|
|
25
|
-
id: string | null;
|
|
26
|
-
key?: string | null;
|
|
27
|
-
body: 'RT' | 'SQC';
|
|
28
|
-
name?: string | null;
|
|
29
|
-
location?: string | null;
|
|
30
|
-
} | null;
|
|
31
|
-
id?: string | null;
|
|
32
|
-
bio?: string | null;
|
|
33
|
-
website?: string | null;
|
|
34
|
-
holdingNumber?: string | null;
|
|
35
|
-
number?: string | null;
|
|
36
|
-
salesTaxId?: string | null;
|
|
37
|
-
logo?: {
|
|
38
|
-
id: string;
|
|
39
|
-
url: string | null;
|
|
40
|
-
} | null;
|
|
41
|
-
};
|
|
42
|
-
companyNumber?: string | null;
|
|
43
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
44
|
-
name: string;
|
|
45
|
-
ownerContact: {
|
|
46
|
-
id?: string;
|
|
47
|
-
email?: string;
|
|
48
|
-
phone?: {
|
|
49
|
-
callingCode: string;
|
|
50
|
-
number: string;
|
|
51
|
-
};
|
|
52
|
-
familyName?: string;
|
|
53
|
-
givenName?: string;
|
|
54
|
-
authPlatformId?: string;
|
|
55
|
-
impersonate?: string | null;
|
|
56
|
-
};
|
|
57
|
-
settlementContacts?: Array<{
|
|
58
|
-
name: string;
|
|
59
|
-
email: string;
|
|
60
|
-
}>;
|
|
61
|
-
status: 'active' | 'pending' | 'suspended';
|
|
62
|
-
statusMessage?: string;
|
|
63
|
-
businessUnits: Array<{
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
type?: string;
|
|
67
|
-
business: string;
|
|
68
|
-
region: string | null;
|
|
69
|
-
tags: Array<string>;
|
|
70
|
-
}>;
|
|
71
|
-
modules: Array<{
|
|
72
|
-
id: string;
|
|
73
|
-
name?: string | null;
|
|
74
|
-
}>;
|
|
75
|
-
vetted: boolean;
|
|
76
|
-
rejected?: boolean;
|
|
77
|
-
isMerchant?: boolean;
|
|
78
|
-
createdAtUTC: string;
|
|
79
|
-
salesforceId?: string;
|
|
80
|
-
};
|
|
81
|
-
user?: {
|
|
82
|
-
id: string;
|
|
83
|
-
givenName: string;
|
|
84
|
-
familyName: string;
|
|
85
|
-
name: string;
|
|
86
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
87
|
-
email: string;
|
|
88
|
-
emailVerified: boolean;
|
|
89
|
-
pushToken?: string;
|
|
90
|
-
impersonating?: boolean;
|
|
91
|
-
settings: {
|
|
92
|
-
terms: boolean;
|
|
93
|
-
termsOnce?: boolean;
|
|
94
|
-
marketingPreferences: {
|
|
95
|
-
marketingPlans: boolean;
|
|
96
|
-
communications: boolean;
|
|
97
|
-
};
|
|
98
|
-
whatsApp: boolean;
|
|
99
|
-
sms: boolean;
|
|
100
|
-
push: boolean;
|
|
101
|
-
biometrics: boolean;
|
|
102
|
-
onboardingProgress: Array<string> | null;
|
|
103
|
-
};
|
|
104
|
-
purchases: Array<'insights'>;
|
|
105
|
-
groups: Array<string>;
|
|
106
|
-
roles: Array<string>;
|
|
107
|
-
userTypes: Array<'seller' | 'buyer' | 'advisor'>;
|
|
108
|
-
profiles: Array<{
|
|
109
|
-
organisationId: string;
|
|
110
|
-
businessUnits: Array<string>;
|
|
111
|
-
roles: Array<string>;
|
|
112
|
-
}>;
|
|
113
|
-
buyerExFarmPreferences?: Array<{
|
|
114
|
-
id: number;
|
|
115
|
-
commodityId: number;
|
|
116
|
-
name: string;
|
|
117
|
-
grades: Array<number>;
|
|
118
|
-
regionISOs?: Array<string>;
|
|
119
|
-
ukRegions: Array<string>;
|
|
120
|
-
}>;
|
|
121
|
-
sellerExFarmPreferences?: Array<{
|
|
122
|
-
id: number;
|
|
123
|
-
commodityId: number;
|
|
124
|
-
name: string;
|
|
125
|
-
grades: Array<number>;
|
|
126
|
-
regionISOs?: Array<string>;
|
|
127
|
-
ukRegions: Array<string>;
|
|
128
|
-
}>;
|
|
129
|
-
phone: {
|
|
130
|
-
callingCode: string;
|
|
131
|
-
number: string;
|
|
132
|
-
};
|
|
133
|
-
phoneLandline?: {
|
|
134
|
-
callingCode: string;
|
|
135
|
-
number: string;
|
|
136
|
-
};
|
|
137
|
-
avatar?: {
|
|
138
|
-
name?: string;
|
|
139
|
-
id: string;
|
|
140
|
-
url?: string | null;
|
|
141
|
-
userId?: string | null;
|
|
142
|
-
userName?: string | null;
|
|
143
|
-
organisationId?: string | null;
|
|
144
|
-
createdAtUTC?: string | null;
|
|
145
|
-
} | null;
|
|
146
|
-
organisationId: string;
|
|
147
|
-
organisationName?: string;
|
|
148
|
-
authPlatformId?: string;
|
|
149
|
-
status: 'active' | 'pending' | 'inactive' | 'deleted';
|
|
150
|
-
businessUnits: Array<{
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
type?: string;
|
|
154
|
-
business: string;
|
|
155
|
-
region: string | null;
|
|
156
|
-
tags: Array<string>;
|
|
157
|
-
}>;
|
|
158
|
-
businesses: Array<string>;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export type OrganisationDetail = {
|
|
2
|
-
id: 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
|
-
company: {
|
|
23
|
-
assurance?: {
|
|
24
|
-
id: string | null;
|
|
25
|
-
key?: string | null;
|
|
26
|
-
body: 'RT' | 'SQC';
|
|
27
|
-
name?: string | null;
|
|
28
|
-
location?: string | null;
|
|
29
|
-
} | null;
|
|
30
|
-
id?: string | null;
|
|
31
|
-
bio?: string | null;
|
|
32
|
-
website?: string | null;
|
|
33
|
-
holdingNumber?: string | null;
|
|
34
|
-
number?: string | null;
|
|
35
|
-
salesTaxId?: string | null;
|
|
36
|
-
logo?: {
|
|
37
|
-
id: string;
|
|
38
|
-
url: string | null;
|
|
39
|
-
} | null;
|
|
40
|
-
};
|
|
41
|
-
companyNumber?: string | null;
|
|
42
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
43
|
-
name: string;
|
|
44
|
-
ownerContact: {
|
|
45
|
-
id?: string;
|
|
46
|
-
email?: string;
|
|
47
|
-
phone?: {
|
|
48
|
-
callingCode: string;
|
|
49
|
-
number: string;
|
|
50
|
-
};
|
|
51
|
-
familyName?: string;
|
|
52
|
-
givenName?: string;
|
|
53
|
-
authPlatformId?: string;
|
|
54
|
-
impersonate?: string | null;
|
|
55
|
-
};
|
|
56
|
-
settlementContacts?: Array<{
|
|
57
|
-
name: string;
|
|
58
|
-
email: string;
|
|
59
|
-
}>;
|
|
60
|
-
status: 'active' | 'pending' | 'suspended';
|
|
61
|
-
statusMessage?: string;
|
|
62
|
-
businessUnits: Array<{
|
|
63
|
-
id: string;
|
|
64
|
-
name: string;
|
|
65
|
-
type?: string;
|
|
66
|
-
business: string;
|
|
67
|
-
region: string | null;
|
|
68
|
-
tags: Array<string>;
|
|
69
|
-
}>;
|
|
70
|
-
modules: Array<{
|
|
71
|
-
id: string;
|
|
72
|
-
name?: string | null;
|
|
73
|
-
}>;
|
|
74
|
-
vetted: boolean;
|
|
75
|
-
rejected?: boolean;
|
|
76
|
-
isMerchant?: boolean;
|
|
77
|
-
createdAtUTC: string;
|
|
78
|
-
salesforceId?: string;
|
|
79
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
phoneNumber?: string;
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|