@hectare/platform.clients.customers 1.1.12 → 1.1.14
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 -1
- package/models/BusinessDetail.d.ts +4 -4
- package/models/BusinessUnitsDetail.d.ts +4 -4
- package/models/BusinessUnitsDetails.d.ts +4 -4
- package/models/CreateBusinessUnit.d.ts +4 -4
- package/models/CreateBusinessUnits.d.ts +4 -4
- package/models/CreateOrganisation.d.ts +4 -4
- package/models/CreateOrganisationResponse.d.ts +4 -4
- package/models/OrganisationDetail.d.ts +4 -4
- package/models/OrganisationExists.d.ts +4 -4
- package/models/PatchBusinessUnit.d.ts +4 -4
- package/models/PatchOrganisation.d.ts +4 -4
- package/models/UserProfile.d.ts +4 -4
- package/package.json +1 -1
- package/models/RequestFullAccountSchema.d.ts +0 -10
- package/models/RequestFullAccountSchema.js +0 -1
package/index.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ export type { PatchOrganisation } from './models/PatchOrganisation.js';
|
|
|
35
35
|
export type { PatchOrganisationAdvancePay } from './models/PatchOrganisationAdvancePay.js';
|
|
36
36
|
export type { PatchUser } from './models/PatchUser.js';
|
|
37
37
|
export type { RedTractorCertificate } from './models/RedTractorCertificate.js';
|
|
38
|
-
export type { RequestFullAccountSchema } from './models/RequestFullAccountSchema.js';
|
|
39
38
|
export type { Role } from './models/Role.js';
|
|
40
39
|
export type { RoleGroup } from './models/RoleGroup.js';
|
|
41
40
|
export type { SendMagicLogin } from './models/SendMagicLogin.js';
|
|
@@ -38,12 +38,12 @@ export type BusinessDetail = {
|
|
|
38
38
|
isAssured: boolean;
|
|
39
39
|
} | null;
|
|
40
40
|
assurances?: Array<{
|
|
41
|
-
id
|
|
42
|
-
body
|
|
43
|
-
assured
|
|
41
|
+
id?: string | null;
|
|
42
|
+
body?: 'RT' | 'SQC';
|
|
43
|
+
assured?: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
assurance?: {
|
|
46
46
|
id: string | null;
|
|
47
47
|
body: 'RT' | 'SQC';
|
|
48
|
-
};
|
|
48
|
+
} | null;
|
|
49
49
|
};
|
|
@@ -44,14 +44,14 @@ export type BusinessUnitsDetail = {
|
|
|
44
44
|
isAssured: boolean;
|
|
45
45
|
} | null;
|
|
46
46
|
assurances?: Array<{
|
|
47
|
-
id
|
|
48
|
-
body
|
|
49
|
-
assured
|
|
47
|
+
id?: string | null;
|
|
48
|
+
body?: 'RT' | 'SQC';
|
|
49
|
+
assured?: boolean;
|
|
50
50
|
}>;
|
|
51
51
|
assurance?: {
|
|
52
52
|
id: string | null;
|
|
53
53
|
body: 'RT' | 'SQC';
|
|
54
|
-
};
|
|
54
|
+
} | null;
|
|
55
55
|
};
|
|
56
56
|
storeCount?: number;
|
|
57
57
|
fieldCount?: number;
|
|
@@ -53,14 +53,14 @@ export type BusinessUnitsDetails = {
|
|
|
53
53
|
isAssured: boolean;
|
|
54
54
|
} | null;
|
|
55
55
|
assurances?: Array<{
|
|
56
|
-
id
|
|
57
|
-
body
|
|
58
|
-
assured
|
|
56
|
+
id?: string | null;
|
|
57
|
+
body?: 'RT' | 'SQC';
|
|
58
|
+
assured?: boolean;
|
|
59
59
|
}>;
|
|
60
60
|
assurance?: {
|
|
61
61
|
id: string | null;
|
|
62
62
|
body: 'RT' | 'SQC';
|
|
63
|
-
};
|
|
63
|
+
} | null;
|
|
64
64
|
};
|
|
65
65
|
storeCount?: number;
|
|
66
66
|
fieldCount?: number;
|
|
@@ -34,13 +34,13 @@ export type CreateBusinessUnit = {
|
|
|
34
34
|
} | null;
|
|
35
35
|
assuranceScheme?: 'RT' | 'SQC';
|
|
36
36
|
assurances?: Array<{
|
|
37
|
-
id
|
|
38
|
-
body
|
|
39
|
-
assured
|
|
37
|
+
id?: string | null;
|
|
38
|
+
body?: 'RT' | 'SQC';
|
|
39
|
+
assured?: boolean;
|
|
40
40
|
}>;
|
|
41
41
|
assurance?: {
|
|
42
42
|
id: string | null;
|
|
43
43
|
body: 'RT' | 'SQC';
|
|
44
|
-
};
|
|
44
|
+
} | null;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -34,13 +34,13 @@ export type CreateBusinessUnits = Array<{
|
|
|
34
34
|
} | null;
|
|
35
35
|
assuranceScheme?: 'RT' | 'SQC';
|
|
36
36
|
assurances?: Array<{
|
|
37
|
-
id
|
|
38
|
-
body
|
|
39
|
-
assured
|
|
37
|
+
id?: string | null;
|
|
38
|
+
body?: 'RT' | 'SQC';
|
|
39
|
+
assured?: boolean;
|
|
40
40
|
}>;
|
|
41
41
|
assurance?: {
|
|
42
42
|
id: string | null;
|
|
43
43
|
body: 'RT' | 'SQC';
|
|
44
|
-
};
|
|
44
|
+
} | null;
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
@@ -20,14 +20,14 @@ export type CreateOrganisation = {
|
|
|
20
20
|
} | null;
|
|
21
21
|
company?: {
|
|
22
22
|
assurances?: Array<{
|
|
23
|
-
id
|
|
24
|
-
body
|
|
25
|
-
assured
|
|
23
|
+
id?: string | null;
|
|
24
|
+
body?: 'RT' | 'SQC';
|
|
25
|
+
assured?: boolean;
|
|
26
26
|
}>;
|
|
27
27
|
assurance?: {
|
|
28
28
|
id: string | null;
|
|
29
29
|
body: 'RT' | 'SQC';
|
|
30
|
-
};
|
|
30
|
+
} | null;
|
|
31
31
|
id?: string | null;
|
|
32
32
|
bio?: string | null;
|
|
33
33
|
website?: string | null;
|
|
@@ -22,14 +22,14 @@ export type CreateOrganisationResponse = {
|
|
|
22
22
|
} | null;
|
|
23
23
|
company?: {
|
|
24
24
|
assurances?: Array<{
|
|
25
|
-
id
|
|
26
|
-
body
|
|
27
|
-
assured
|
|
25
|
+
id?: string | null;
|
|
26
|
+
body?: 'RT' | 'SQC';
|
|
27
|
+
assured?: boolean;
|
|
28
28
|
}>;
|
|
29
29
|
assurance?: {
|
|
30
30
|
id: string | null;
|
|
31
31
|
body: 'RT' | 'SQC';
|
|
32
|
-
};
|
|
32
|
+
} | null;
|
|
33
33
|
id?: string | null;
|
|
34
34
|
bio?: string | null;
|
|
35
35
|
website?: string | null;
|
|
@@ -21,14 +21,14 @@ export type OrganisationDetail = {
|
|
|
21
21
|
} | null;
|
|
22
22
|
company?: {
|
|
23
23
|
assurances?: Array<{
|
|
24
|
-
id
|
|
25
|
-
body
|
|
26
|
-
assured
|
|
24
|
+
id?: string | null;
|
|
25
|
+
body?: 'RT' | 'SQC';
|
|
26
|
+
assured?: boolean;
|
|
27
27
|
}>;
|
|
28
28
|
assurance?: {
|
|
29
29
|
id: string | null;
|
|
30
30
|
body: 'RT' | 'SQC';
|
|
31
|
-
};
|
|
31
|
+
} | null;
|
|
32
32
|
id?: string | null;
|
|
33
33
|
bio?: string | null;
|
|
34
34
|
website?: string | null;
|
|
@@ -24,14 +24,14 @@ export type OrganisationExists = {
|
|
|
24
24
|
} | null;
|
|
25
25
|
company?: {
|
|
26
26
|
assurances?: Array<{
|
|
27
|
-
id
|
|
28
|
-
body
|
|
29
|
-
assured
|
|
27
|
+
id?: string | null;
|
|
28
|
+
body?: 'RT' | 'SQC';
|
|
29
|
+
assured?: boolean;
|
|
30
30
|
}>;
|
|
31
31
|
assurance?: {
|
|
32
32
|
id: string | null;
|
|
33
33
|
body: 'RT' | 'SQC';
|
|
34
|
-
};
|
|
34
|
+
} | null;
|
|
35
35
|
id?: string | null;
|
|
36
36
|
bio?: string | null;
|
|
37
37
|
website?: string | null;
|
|
@@ -32,13 +32,13 @@ export type PatchBusinessUnit = {
|
|
|
32
32
|
} | null;
|
|
33
33
|
assuranceScheme?: 'RT' | 'SQC';
|
|
34
34
|
assurances?: Array<{
|
|
35
|
-
id
|
|
36
|
-
body
|
|
37
|
-
assured
|
|
35
|
+
id?: string | null;
|
|
36
|
+
body?: 'RT' | 'SQC';
|
|
37
|
+
assured?: boolean;
|
|
38
38
|
}>;
|
|
39
39
|
assurance?: {
|
|
40
40
|
id: string | null;
|
|
41
41
|
body: 'RT' | 'SQC';
|
|
42
|
-
};
|
|
42
|
+
} | null;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
@@ -20,14 +20,14 @@ export type PatchOrganisation = {
|
|
|
20
20
|
} | null;
|
|
21
21
|
company?: {
|
|
22
22
|
assurances?: Array<{
|
|
23
|
-
id
|
|
24
|
-
body
|
|
25
|
-
assured
|
|
23
|
+
id?: string | null;
|
|
24
|
+
body?: 'RT' | 'SQC';
|
|
25
|
+
assured?: boolean;
|
|
26
26
|
}>;
|
|
27
27
|
assurance?: {
|
|
28
28
|
id: string | null;
|
|
29
29
|
body: 'RT' | 'SQC';
|
|
30
|
-
};
|
|
30
|
+
} | null;
|
|
31
31
|
id?: string | null;
|
|
32
32
|
bio?: string | null;
|
|
33
33
|
website?: string | null;
|
package/models/UserProfile.d.ts
CHANGED
|
@@ -22,14 +22,14 @@ export type UserProfile = {
|
|
|
22
22
|
} | null;
|
|
23
23
|
company?: {
|
|
24
24
|
assurances?: Array<{
|
|
25
|
-
id
|
|
26
|
-
body
|
|
27
|
-
assured
|
|
25
|
+
id?: string | null;
|
|
26
|
+
body?: 'RT' | 'SQC';
|
|
27
|
+
assured?: boolean;
|
|
28
28
|
}>;
|
|
29
29
|
assurance?: {
|
|
30
30
|
id: string | null;
|
|
31
31
|
body: 'RT' | 'SQC';
|
|
32
|
-
};
|
|
32
|
+
} | null;
|
|
33
33
|
id?: string | null;
|
|
34
34
|
bio?: string | null;
|
|
35
35
|
website?: string | null;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|