@hectare/platform.clients.customers 1.1.33 → 1.1.34
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 +0 -5
- package/models/BusinessDetail.d.ts +1 -0
- package/models/BusinessUnitSummary.d.ts +1 -1
- package/models/BusinessUnitsDetail.d.ts +2 -3
- package/models/BusinessUnitsDetails.d.ts +2 -3
- package/models/BusinessUnitsSummary.d.ts +1 -1
- package/models/CreateBusinessUnit.d.ts +2 -2
- package/models/CreateBusinessUnits.d.ts +2 -2
- package/models/CreateOrganisationResponse.d.ts +2 -2
- package/models/OrganisationDetail.d.ts +1 -1
- package/models/OrganisationExists.d.ts +1 -1
- package/models/PatchBusinessUnit.d.ts +1 -0
- package/models/RedTractorCertificate.d.ts +2 -2
- package/models/SearchResultsOrganisationDetailSchema.d.ts +1 -1
- package/models/SearchResultsUserDetailSchema.d.ts +1 -1
- package/models/UserDetail.d.ts +1 -1
- package/models/UserProfile.d.ts +2 -2
- package/package.json +1 -1
- package/models/BusinessConnectionDetail.d.ts +0 -51
- package/models/BusinessConnectionDetail.js +0 -1
- package/models/BusinessConnectionsSummary.d.ts +0 -54
- package/models/BusinessConnectionsSummary.js +0 -1
- package/models/CheckBusinessConnectionRequestSchema.d.ts +0 -3
- package/models/CheckBusinessConnectionRequestSchema.js +0 -1
- package/models/CheckBusinessConnectionResponseSchema.d.ts +0 -3
- package/models/CheckBusinessConnectionResponseSchema.js +0 -1
- package/models/CreateBusinessConnection.d.ts +0 -14
- package/models/CreateBusinessConnection.js +0 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export type { AssuranceDetail } from './models/AssuranceDetail.js';
|
|
2
|
-
export type { BusinessConnectionDetail } from './models/BusinessConnectionDetail.js';
|
|
3
|
-
export type { BusinessConnectionsSummary } from './models/BusinessConnectionsSummary.js';
|
|
4
2
|
export type { BusinessDetail } from './models/BusinessDetail.js';
|
|
5
3
|
export type { BusinessUnitsDetail } from './models/BusinessUnitsDetail.js';
|
|
6
4
|
export type { BusinessUnitsDetails } from './models/BusinessUnitsDetails.js';
|
|
@@ -9,11 +7,8 @@ export type { BusinessUnitSummary } from './models/BusinessUnitSummary.js';
|
|
|
9
7
|
export type { BuyerPreferencesSchema } from './models/BuyerPreferencesSchema.js';
|
|
10
8
|
export type { ChangeOwner } from './models/ChangeOwner.js';
|
|
11
9
|
export type { ChangePassword } from './models/ChangePassword.js';
|
|
12
|
-
export type { CheckBusinessConnectionRequestSchema } from './models/CheckBusinessConnectionRequestSchema.js';
|
|
13
|
-
export type { CheckBusinessConnectionResponseSchema } from './models/CheckBusinessConnectionResponseSchema.js';
|
|
14
10
|
export type { ConfirmSignup } from './models/ConfirmSignup.js';
|
|
15
11
|
export type { ContactDetail } from './models/ContactDetail.js';
|
|
16
|
-
export type { CreateBusinessConnection } from './models/CreateBusinessConnection.js';
|
|
17
12
|
export type { CreateBusinessUnit } from './models/CreateBusinessUnit.js';
|
|
18
13
|
export type { CreateBusinessUnits } from './models/CreateBusinessUnits.js';
|
|
19
14
|
export type { CreateOrganisation } from './models/CreateOrganisation.js';
|
|
@@ -2,12 +2,13 @@ export type BusinessUnitsDetail = {
|
|
|
2
2
|
ordinal: number;
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
type:
|
|
5
|
+
type: string;
|
|
6
6
|
tags: Array<string>;
|
|
7
7
|
business?: {
|
|
8
8
|
id?: string;
|
|
9
9
|
businessUnitId?: string;
|
|
10
10
|
organisationId?: string;
|
|
11
|
+
primary?: boolean;
|
|
11
12
|
location?: {
|
|
12
13
|
what3words: string | null;
|
|
13
14
|
address: {
|
|
@@ -44,6 +45,4 @@ export type BusinessUnitsDetail = {
|
|
|
44
45
|
body: 'RT' | 'SQC';
|
|
45
46
|
} | null;
|
|
46
47
|
};
|
|
47
|
-
storeCount?: number;
|
|
48
|
-
fieldCount?: number;
|
|
49
48
|
};
|
|
@@ -11,12 +11,13 @@ export type BusinessUnitsDetails = {
|
|
|
11
11
|
ordinal: number;
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
|
-
type:
|
|
14
|
+
type: string;
|
|
15
15
|
tags: Array<string>;
|
|
16
16
|
business?: {
|
|
17
17
|
id?: string;
|
|
18
18
|
businessUnitId?: string;
|
|
19
19
|
organisationId?: string;
|
|
20
|
+
primary?: boolean;
|
|
20
21
|
location?: {
|
|
21
22
|
what3words: string | null;
|
|
22
23
|
address: {
|
|
@@ -53,7 +54,5 @@ export type BusinessUnitsDetails = {
|
|
|
53
54
|
body: 'RT' | 'SQC';
|
|
54
55
|
} | null;
|
|
55
56
|
};
|
|
56
|
-
storeCount?: number;
|
|
57
|
-
fieldCount?: number;
|
|
58
57
|
}>;
|
|
59
58
|
};
|
|
@@ -61,7 +61,7 @@ export type CreateOrganisationResponse = {
|
|
|
61
61
|
businessUnits?: Array<{
|
|
62
62
|
id: string;
|
|
63
63
|
name: string;
|
|
64
|
-
type
|
|
64
|
+
type?: string;
|
|
65
65
|
business: string | null;
|
|
66
66
|
region: string | null;
|
|
67
67
|
tags: Array<string>;
|
|
@@ -210,7 +210,7 @@ export type CreateOrganisationResponse = {
|
|
|
210
210
|
businessUnits?: Array<{
|
|
211
211
|
id: string;
|
|
212
212
|
name: string;
|
|
213
|
-
type
|
|
213
|
+
type?: string;
|
|
214
214
|
business: string | null;
|
|
215
215
|
region: string | null;
|
|
216
216
|
tags: Array<string>;
|
|
@@ -7,10 +7,10 @@ export type RedTractorCertificate = {
|
|
|
7
7
|
}>;
|
|
8
8
|
certificateExpiryDate?: string;
|
|
9
9
|
certifiedSites?: Array<{
|
|
10
|
-
siteIdentifiers?:
|
|
10
|
+
siteIdentifiers?: {
|
|
11
11
|
identifierType?: string;
|
|
12
12
|
identifier?: string;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
isPrimary?: boolean;
|
|
15
15
|
siteCountry?: string;
|
|
16
16
|
sitePostcode?: string;
|
package/models/UserDetail.d.ts
CHANGED
package/models/UserProfile.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export type UserProfile = {
|
|
|
61
61
|
businessUnits?: Array<{
|
|
62
62
|
id: string;
|
|
63
63
|
name: string;
|
|
64
|
-
type
|
|
64
|
+
type?: string;
|
|
65
65
|
business: string | null;
|
|
66
66
|
region: string | null;
|
|
67
67
|
tags: Array<string>;
|
|
@@ -210,7 +210,7 @@ export type UserProfile = {
|
|
|
210
210
|
businessUnits?: Array<{
|
|
211
211
|
id: string;
|
|
212
212
|
name: string;
|
|
213
|
-
type
|
|
213
|
+
type?: string;
|
|
214
214
|
business: string | null;
|
|
215
215
|
region: string | null;
|
|
216
216
|
tags: Array<string>;
|
package/package.json
CHANGED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export type BusinessConnectionDetail = {
|
|
2
|
-
organisationId?: string;
|
|
3
|
-
organisationName?: string;
|
|
4
|
-
relationship?: Array<string>;
|
|
5
|
-
contacts?: Array<{
|
|
6
|
-
givenName?: string;
|
|
7
|
-
familyName?: string;
|
|
8
|
-
phone?: {
|
|
9
|
-
callingCode: string;
|
|
10
|
-
number: string;
|
|
11
|
-
};
|
|
12
|
-
email?: string;
|
|
13
|
-
id?: string;
|
|
14
|
-
authPlatformId?: string;
|
|
15
|
-
profile?: {
|
|
16
|
-
organisationId: string;
|
|
17
|
-
businessUnits: Array<string>;
|
|
18
|
-
roles: Array<string>;
|
|
19
|
-
} | null;
|
|
20
|
-
}>;
|
|
21
|
-
location?: {
|
|
22
|
-
what3words: string | null;
|
|
23
|
-
address: {
|
|
24
|
-
name?: string | null;
|
|
25
|
-
line1: string;
|
|
26
|
-
line2?: string | null;
|
|
27
|
-
line3?: string | null;
|
|
28
|
-
city?: string | null;
|
|
29
|
-
region?: string | null;
|
|
30
|
-
regionISO?: string | null;
|
|
31
|
-
postcode: string;
|
|
32
|
-
countryName?: string | null;
|
|
33
|
-
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
34
|
-
};
|
|
35
|
-
coordinates: {
|
|
36
|
-
lat: number;
|
|
37
|
-
lon: number;
|
|
38
|
-
} | null;
|
|
39
|
-
} | null;
|
|
40
|
-
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
41
|
-
ownerContact?: {
|
|
42
|
-
id?: string;
|
|
43
|
-
email?: string;
|
|
44
|
-
familyName?: string;
|
|
45
|
-
givenName?: string;
|
|
46
|
-
phone?: {
|
|
47
|
-
callingCode: string;
|
|
48
|
-
number: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export type BusinessConnectionsSummary = {
|
|
2
|
-
id?: string;
|
|
3
|
-
connectedOrganisations?: Array<{
|
|
4
|
-
organisationId?: string;
|
|
5
|
-
organisationName?: string;
|
|
6
|
-
relationship?: Array<string>;
|
|
7
|
-
contacts?: Array<{
|
|
8
|
-
givenName?: string;
|
|
9
|
-
familyName?: string;
|
|
10
|
-
phone?: {
|
|
11
|
-
callingCode: string;
|
|
12
|
-
number: string;
|
|
13
|
-
};
|
|
14
|
-
email?: string;
|
|
15
|
-
id?: string;
|
|
16
|
-
authPlatformId?: string;
|
|
17
|
-
profile?: {
|
|
18
|
-
organisationId: string;
|
|
19
|
-
businessUnits: Array<string>;
|
|
20
|
-
roles: Array<string>;
|
|
21
|
-
} | null;
|
|
22
|
-
}>;
|
|
23
|
-
location?: {
|
|
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;
|
|
42
|
-
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
43
|
-
ownerContact?: {
|
|
44
|
-
id?: string;
|
|
45
|
-
email?: string;
|
|
46
|
-
familyName?: string;
|
|
47
|
-
givenName?: string;
|
|
48
|
-
phone?: {
|
|
49
|
-
callingCode: string;
|
|
50
|
-
number: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type CreateBusinessConnection = {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
companyNumber?: string | null;
|
|
4
|
-
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
5
|
-
name?: string;
|
|
6
|
-
relationship?: 'trading' | 'storage' | 'carrier' | 'organiser' | null;
|
|
7
|
-
contacts: Array<{
|
|
8
|
-
id?: string | null;
|
|
9
|
-
givenName: string;
|
|
10
|
-
familyName: string;
|
|
11
|
-
email: string;
|
|
12
|
-
phone: string | null;
|
|
13
|
-
}>;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|