@hectare/platform.clients.customers 1.1.1
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 +49 -0
- package/index.js +1 -0
- package/models/AssuranceDetail.d.ts +14 -0
- package/models/AssuranceDetail.js +1 -0
- package/models/BusinessConnectionDetail.d.ts +46 -0
- package/models/BusinessConnectionDetail.js +1 -0
- package/models/BusinessConnectionsSummary.d.ts +49 -0
- package/models/BusinessConnectionsSummary.js +1 -0
- package/models/BusinessDetail.d.ts +49 -0
- package/models/BusinessDetail.js +1 -0
- package/models/BusinessUnitSummary.d.ts +8 -0
- package/models/BusinessUnitSummary.js +1 -0
- package/models/BusinessUnitsDetail.d.ts +58 -0
- package/models/BusinessUnitsDetail.js +1 -0
- package/models/BusinessUnitsDetails.d.ts +68 -0
- package/models/BusinessUnitsDetails.js +1 -0
- package/models/BusinessUnitsSummary.d.ts +16 -0
- package/models/BusinessUnitsSummary.js +1 -0
- package/models/BuyerPreferencesSchema.d.ts +9 -0
- package/models/BuyerPreferencesSchema.js +1 -0
- package/models/ChangeOwner.d.ts +3 -0
- package/models/ChangeOwner.js +1 -0
- package/models/ChangePassword.d.ts +6 -0
- package/models/ChangePassword.js +1 -0
- package/models/CheckBusinessConnectionRequestSchema.d.ts +3 -0
- package/models/CheckBusinessConnectionRequestSchema.js +1 -0
- package/models/CheckBusinessConnectionResponseSchema.d.ts +3 -0
- package/models/CheckBusinessConnectionResponseSchema.js +1 -0
- package/models/ConfirmSignup.d.ts +4 -0
- package/models/ConfirmSignup.js +1 -0
- package/models/ContactDetail.d.ts +11 -0
- package/models/ContactDetail.js +1 -0
- package/models/CreateBusinessConnection.d.ts +14 -0
- package/models/CreateBusinessConnection.js +1 -0
- package/models/CreateBusinessUnit.d.ts +42 -0
- package/models/CreateBusinessUnit.js +1 -0
- package/models/CreateBusinessUnits.d.ts +42 -0
- package/models/CreateBusinessUnits.js +1 -0
- package/models/CreateOrganisation.d.ts +72 -0
- package/models/CreateOrganisation.js +1 -0
- package/models/CreateOrganisationResponse.d.ts +222 -0
- package/models/CreateOrganisationResponse.js +1 -0
- package/models/CreateUnvettedOrganisationSchema.d.ts +11 -0
- package/models/CreateUnvettedOrganisationSchema.js +1 -0
- package/models/CreateUser.d.ts +11 -0
- package/models/CreateUser.js +1 -0
- package/models/CustomerConfig.d.ts +6 -0
- package/models/CustomerConfig.js +1 -0
- package/models/ForgottenPassword.d.ts +3 -0
- package/models/ForgottenPassword.js +1 -0
- package/models/ForgottenPasswordConfirm.d.ts +6 -0
- package/models/ForgottenPasswordConfirm.js +1 -0
- package/models/LoginForm.d.ts +5 -0
- package/models/LoginForm.js +1 -0
- package/models/LoginSuccess.d.ts +16 -0
- package/models/LoginSuccess.js +1 -0
- package/models/LoginTokens.d.ts +6 -0
- package/models/LoginTokens.js +1 -0
- package/models/LookupUserByTelephoneSchema.d.ts +3 -0
- package/models/LookupUserByTelephoneSchema.js +1 -0
- package/models/OrganisationDetail.d.ts +146 -0
- package/models/OrganisationDetail.js +1 -0
- package/models/OrganisationExists.d.ts +150 -0
- package/models/OrganisationExists.js +1 -0
- package/models/OrganisationSummary.d.ts +83 -0
- package/models/OrganisationSummary.js +1 -0
- package/models/PatchBusinessUnit.d.ts +44 -0
- package/models/PatchBusinessUnit.js +1 -0
- package/models/PatchOrganisation.d.ts +91 -0
- package/models/PatchOrganisation.js +1 -0
- package/models/PatchOrganisationAdvancePay.d.ts +6 -0
- package/models/PatchOrganisationAdvancePay.js +1 -0
- package/models/PatchUser.d.ts +28 -0
- package/models/PatchUser.js +1 -0
- package/models/RedTractorCertificate.d.ts +20 -0
- package/models/RedTractorCertificate.js +1 -0
- package/models/RequestFullAccountSchema.d.ts +10 -0
- package/models/RequestFullAccountSchema.js +1 -0
- package/models/SendMagicLogin.d.ts +4 -0
- package/models/SendMagicLogin.js +1 -0
- package/models/SetBuyerPreferences.d.ts +6 -0
- package/models/SetBuyerPreferences.js +1 -0
- package/models/SwapCognitoUserPoolRequest.d.ts +4 -0
- package/models/SwapCognitoUserPoolRequest.js +1 -0
- package/models/SwapCognitoUserPoolResponse.d.ts +5 -0
- package/models/SwapCognitoUserPoolResponse.js +1 -0
- package/models/UserAccess.d.ts +24 -0
- package/models/UserAccess.js +1 -0
- package/models/UserBasicInfo.d.ts +71 -0
- package/models/UserBasicInfo.js +1 -0
- package/models/UserDetail.d.ts +74 -0
- package/models/UserDetail.js +1 -0
- package/models/UserProfile.d.ts +253 -0
- package/models/UserProfile.js +1 -0
- package/models/VerifyMagicLogin.d.ts +3 -0
- package/models/VerifyMagicLogin.js +1 -0
- package/models/VerifyUpdate.d.ts +4 -0
- package/models/VerifyUpdate.js +1 -0
- package/models/VerifyUserAttribute.d.ts +3 -0
- package/models/VerifyUserAttribute.js +1 -0
- package/package.json +13 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export type OrganisationSummary = {
|
|
2
|
+
id?: string;
|
|
3
|
+
createdAtUTC?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
location?: {
|
|
6
|
+
what3words: string | null;
|
|
7
|
+
address: {
|
|
8
|
+
name?: string | null;
|
|
9
|
+
line1: string;
|
|
10
|
+
line2?: string | null;
|
|
11
|
+
line3?: string | null;
|
|
12
|
+
city?: string | null;
|
|
13
|
+
region?: string | null;
|
|
14
|
+
regionISO?: string | null;
|
|
15
|
+
postcode: string;
|
|
16
|
+
countryName?: string | null;
|
|
17
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
18
|
+
};
|
|
19
|
+
coordinates: {
|
|
20
|
+
lat: number;
|
|
21
|
+
lon: number;
|
|
22
|
+
};
|
|
23
|
+
} | null;
|
|
24
|
+
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
25
|
+
status?: 'active' | 'pending' | 'deleted';
|
|
26
|
+
companyId?: string;
|
|
27
|
+
companyHoldingNumber?: string;
|
|
28
|
+
bio?: string;
|
|
29
|
+
logo?: {
|
|
30
|
+
name?: string;
|
|
31
|
+
id: string;
|
|
32
|
+
url?: string | null;
|
|
33
|
+
userId?: string | null;
|
|
34
|
+
userName?: string | null;
|
|
35
|
+
organisationId?: string | null;
|
|
36
|
+
createdAtUTC?: string | null;
|
|
37
|
+
} | null;
|
|
38
|
+
ownerContact?: {
|
|
39
|
+
id?: string;
|
|
40
|
+
email?: string;
|
|
41
|
+
familyName?: string;
|
|
42
|
+
givenName?: string;
|
|
43
|
+
authPlatformId?: string;
|
|
44
|
+
organisationId?: string;
|
|
45
|
+
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
46
|
+
phone?: {
|
|
47
|
+
callingCode: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
pushToken?: string;
|
|
51
|
+
};
|
|
52
|
+
billing?: {
|
|
53
|
+
amount: number;
|
|
54
|
+
currency: string;
|
|
55
|
+
period: 'month' | 'quarter' | 'year';
|
|
56
|
+
} | null;
|
|
57
|
+
settlementContacts?: Array<{
|
|
58
|
+
name: string;
|
|
59
|
+
email: string;
|
|
60
|
+
}>;
|
|
61
|
+
modules?: Array<{
|
|
62
|
+
id: string;
|
|
63
|
+
name?: string | null;
|
|
64
|
+
price: {
|
|
65
|
+
amount: number;
|
|
66
|
+
currency: string;
|
|
67
|
+
} | null;
|
|
68
|
+
}>;
|
|
69
|
+
vetted?: boolean;
|
|
70
|
+
isMerchant?: boolean;
|
|
71
|
+
sqc?: {
|
|
72
|
+
number: string;
|
|
73
|
+
isAssured: boolean;
|
|
74
|
+
} | null;
|
|
75
|
+
assuranceScheme?: 'RT' | 'SQC';
|
|
76
|
+
advancePay?: {
|
|
77
|
+
accountName: string;
|
|
78
|
+
sortCode: string;
|
|
79
|
+
accountNumber: string;
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
eligible: boolean;
|
|
82
|
+
} | null;
|
|
83
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type PatchBusinessUnit = {
|
|
2
|
+
name?: string | null;
|
|
3
|
+
business?: {
|
|
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
|
+
};
|
|
22
|
+
} | null;
|
|
23
|
+
name?: string;
|
|
24
|
+
phoneNumber?: string | null;
|
|
25
|
+
email?: string;
|
|
26
|
+
locationTag?: string;
|
|
27
|
+
managementTag?: string;
|
|
28
|
+
holdingNumber?: string | null;
|
|
29
|
+
sqc?: {
|
|
30
|
+
number: string;
|
|
31
|
+
isAssured: boolean;
|
|
32
|
+
} | null;
|
|
33
|
+
assuranceScheme?: 'RT' | 'SQC';
|
|
34
|
+
assurances?: Array<{
|
|
35
|
+
id: string | null;
|
|
36
|
+
body: 'RT' | 'SQC';
|
|
37
|
+
assured: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
assurance?: {
|
|
40
|
+
id: string | null;
|
|
41
|
+
body: 'RT' | 'SQC';
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
export type PatchOrganisation = {
|
|
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
|
+
};
|
|
20
|
+
} | null;
|
|
21
|
+
company?: {
|
|
22
|
+
assurances?: Array<{
|
|
23
|
+
id: string | null;
|
|
24
|
+
body: 'RT' | 'SQC';
|
|
25
|
+
assured: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
assurance?: {
|
|
28
|
+
id: string | null;
|
|
29
|
+
body: 'RT' | 'SQC';
|
|
30
|
+
};
|
|
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
|
+
sqc?: {
|
|
42
|
+
number: string;
|
|
43
|
+
isAssured: boolean;
|
|
44
|
+
} | null;
|
|
45
|
+
assuranceScheme?: 'RT' | 'SQC';
|
|
46
|
+
} | null;
|
|
47
|
+
name?: string | null;
|
|
48
|
+
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
49
|
+
ownerContact?: {
|
|
50
|
+
phone: string | null;
|
|
51
|
+
email: string;
|
|
52
|
+
familyName: string;
|
|
53
|
+
givenName: string;
|
|
54
|
+
} | null;
|
|
55
|
+
contacts?: Array<{
|
|
56
|
+
phone: string | null;
|
|
57
|
+
email: string;
|
|
58
|
+
familyName: string;
|
|
59
|
+
givenName: string;
|
|
60
|
+
} | null>;
|
|
61
|
+
organisers?: Array<string>;
|
|
62
|
+
salesforceId?: string | null;
|
|
63
|
+
billing?: {
|
|
64
|
+
amount: number;
|
|
65
|
+
currency: string;
|
|
66
|
+
period: 'month' | 'quarter' | 'year';
|
|
67
|
+
} | null;
|
|
68
|
+
modules?: Array<{
|
|
69
|
+
id: string;
|
|
70
|
+
name?: string | null;
|
|
71
|
+
price: {
|
|
72
|
+
amount: number;
|
|
73
|
+
currency: string;
|
|
74
|
+
} | null;
|
|
75
|
+
}>;
|
|
76
|
+
signupPurpose?: Array<number>;
|
|
77
|
+
companyNumber?: string | null;
|
|
78
|
+
companySalesTaxId?: string | null;
|
|
79
|
+
settlementContacts?: Array<{
|
|
80
|
+
name: string;
|
|
81
|
+
email: string;
|
|
82
|
+
}> | null;
|
|
83
|
+
logo?: {
|
|
84
|
+
id: string;
|
|
85
|
+
url: string | null;
|
|
86
|
+
} | null;
|
|
87
|
+
status?: string | null;
|
|
88
|
+
statusMessage?: string | null;
|
|
89
|
+
vetted?: boolean;
|
|
90
|
+
isMerchant?: boolean;
|
|
91
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type PatchUser = {
|
|
2
|
+
givenName?: string;
|
|
3
|
+
familyName?: string;
|
|
4
|
+
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
5
|
+
organisationId?: string;
|
|
6
|
+
email?: string;
|
|
7
|
+
phone?: string | null;
|
|
8
|
+
pushToken?: string | null;
|
|
9
|
+
roles?: Array<string> | null;
|
|
10
|
+
businessUnits?: Array<string> | null;
|
|
11
|
+
phoneLandline?: string | null;
|
|
12
|
+
avatar?: {
|
|
13
|
+
id: string;
|
|
14
|
+
url: string | null;
|
|
15
|
+
} | null;
|
|
16
|
+
termsAgreed?: boolean | null;
|
|
17
|
+
marketingEmails?: boolean | null;
|
|
18
|
+
marketingPreferences?: {
|
|
19
|
+
marketUpdates: boolean | null;
|
|
20
|
+
communications: boolean | null;
|
|
21
|
+
};
|
|
22
|
+
whatsAppNotifications?: boolean | null;
|
|
23
|
+
smsNotifications?: boolean | null;
|
|
24
|
+
onboardingProgress?: Array<(number | string)> | null;
|
|
25
|
+
harvestNotificationDismissed?: boolean | null;
|
|
26
|
+
harvestDialogDismissed?: boolean | null;
|
|
27
|
+
listingsWelcomeRead?: boolean | null;
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type RedTractorCertificate = {
|
|
2
|
+
certificateStatus?: 'Valid' | 'Grace';
|
|
3
|
+
certificateIdentifier?: string;
|
|
4
|
+
certificateEnterprises?: Array<{
|
|
5
|
+
enterpriseIdentifier?: string;
|
|
6
|
+
enterprise?: string;
|
|
7
|
+
}>;
|
|
8
|
+
certificateExpiryDate?: string;
|
|
9
|
+
certifiedSites?: Array<{
|
|
10
|
+
siteIdentifiers?: {
|
|
11
|
+
identifierType?: string;
|
|
12
|
+
identifier?: string;
|
|
13
|
+
};
|
|
14
|
+
isPrimary?: boolean;
|
|
15
|
+
siteCountry?: string;
|
|
16
|
+
sitePostcode?: string;
|
|
17
|
+
siteAddress?: string;
|
|
18
|
+
siteName?: string;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type RequestFullAccountSchema = {
|
|
2
|
+
requestType: 'account' | 'tradingBuyerAccount';
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
businessName: string;
|
|
6
|
+
referralCode?: string;
|
|
7
|
+
companyNumber: string | null;
|
|
8
|
+
emailAddress: string;
|
|
9
|
+
phone: string | null;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type UserAccess = {
|
|
2
|
+
administrator: boolean;
|
|
3
|
+
menu: boolean;
|
|
4
|
+
system: Record<string, {
|
|
5
|
+
read?: boolean;
|
|
6
|
+
write?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
inventory: Record<string, {
|
|
9
|
+
read?: boolean;
|
|
10
|
+
write?: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
account: Record<string, {
|
|
13
|
+
read?: boolean;
|
|
14
|
+
write?: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
trading: Record<string, {
|
|
17
|
+
read?: boolean;
|
|
18
|
+
write?: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
logistics: Record<string, {
|
|
21
|
+
read?: boolean;
|
|
22
|
+
write?: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export type UserBasicInfo = {
|
|
2
|
+
id: string;
|
|
3
|
+
givenName: string;
|
|
4
|
+
familyName: string;
|
|
5
|
+
countryISO: 'GB' | 'US' | 'ZA' | 'FR';
|
|
6
|
+
organisationName?: string;
|
|
7
|
+
organisationId?: string;
|
|
8
|
+
email: string;
|
|
9
|
+
phone: {
|
|
10
|
+
callingCode: string;
|
|
11
|
+
number: string;
|
|
12
|
+
};
|
|
13
|
+
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
|
+
};
|
|
40
|
+
} | null;
|
|
41
|
+
modules?: Array<{
|
|
42
|
+
id: string;
|
|
43
|
+
name?: string | null;
|
|
44
|
+
price: {
|
|
45
|
+
amount: number;
|
|
46
|
+
currency: string;
|
|
47
|
+
} | null;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
50
|
+
preferences?: Array<{
|
|
51
|
+
commodity: number | null;
|
|
52
|
+
grades: Array<number>;
|
|
53
|
+
regions: Array<string>;
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
settings?: {
|
|
57
|
+
terms: boolean;
|
|
58
|
+
marketing?: boolean;
|
|
59
|
+
marketingPreferences: {
|
|
60
|
+
marketUpdates: boolean;
|
|
61
|
+
communications: boolean;
|
|
62
|
+
};
|
|
63
|
+
whatsApp: boolean;
|
|
64
|
+
sms: boolean;
|
|
65
|
+
onboardingProgress: Array<(number | string)> | null;
|
|
66
|
+
harvestNotificationDismissed: boolean;
|
|
67
|
+
harvestDialogDismissed: boolean;
|
|
68
|
+
listingsWelcomeRead: boolean;
|
|
69
|
+
};
|
|
70
|
+
authPlatformId?: string;
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export type UserDetail = {
|
|
2
|
+
id?: string;
|
|
3
|
+
givenName?: string;
|
|
4
|
+
type?: 'internal' | 'external';
|
|
5
|
+
familyName?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
|
|
8
|
+
email?: string;
|
|
9
|
+
pushToken?: string;
|
|
10
|
+
external?: boolean;
|
|
11
|
+
impersonating?: boolean;
|
|
12
|
+
settings?: {
|
|
13
|
+
terms: boolean;
|
|
14
|
+
marketing?: boolean;
|
|
15
|
+
marketingPreferences: {
|
|
16
|
+
marketUpdates: boolean;
|
|
17
|
+
communications: boolean;
|
|
18
|
+
};
|
|
19
|
+
whatsApp: boolean;
|
|
20
|
+
sms: boolean;
|
|
21
|
+
onboardingProgress: Array<(number | string)> | null;
|
|
22
|
+
harvestNotificationDismissed: boolean;
|
|
23
|
+
harvestDialogDismissed: boolean;
|
|
24
|
+
listingsWelcomeRead: boolean;
|
|
25
|
+
};
|
|
26
|
+
tokens?: {
|
|
27
|
+
id?: string;
|
|
28
|
+
access?: string;
|
|
29
|
+
refresh?: string;
|
|
30
|
+
expiresIn?: number;
|
|
31
|
+
};
|
|
32
|
+
groups?: Array<string>;
|
|
33
|
+
roles?: Array<string>;
|
|
34
|
+
profiles?: Array<{
|
|
35
|
+
organisationId: string;
|
|
36
|
+
businessUnits: Array<string>;
|
|
37
|
+
roles: Array<string>;
|
|
38
|
+
}>;
|
|
39
|
+
preferences?: Array<{
|
|
40
|
+
commodity: number;
|
|
41
|
+
grades: Array<number>;
|
|
42
|
+
regions: Array<string>;
|
|
43
|
+
}>;
|
|
44
|
+
phone?: {
|
|
45
|
+
callingCode: string;
|
|
46
|
+
number: string;
|
|
47
|
+
};
|
|
48
|
+
phoneLandline?: {
|
|
49
|
+
callingCode: string;
|
|
50
|
+
number: string;
|
|
51
|
+
};
|
|
52
|
+
avatar?: {
|
|
53
|
+
name?: string;
|
|
54
|
+
id: string;
|
|
55
|
+
url?: string | null;
|
|
56
|
+
userId?: string | null;
|
|
57
|
+
userName?: string | null;
|
|
58
|
+
organisationId?: string | null;
|
|
59
|
+
createdAtUTC?: string | null;
|
|
60
|
+
} | null;
|
|
61
|
+
organisationId?: string;
|
|
62
|
+
organisationName?: string;
|
|
63
|
+
authPlatformId?: string;
|
|
64
|
+
status?: 'active' | 'pending' | 'inactive' | 'deleted';
|
|
65
|
+
businessUnits?: Array<{
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
type: string;
|
|
69
|
+
business: string;
|
|
70
|
+
region: string;
|
|
71
|
+
tags: Array<string>;
|
|
72
|
+
}>;
|
|
73
|
+
notificationsEnabled?: boolean;
|
|
74
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|