@hectare/platform.clients.customers 1.1.9 → 1.1.10
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 +2 -0
- package/models/BusinessUnitSummary.d.ts +3 -3
- package/models/BusinessUnitsSummary.d.ts +3 -3
- package/models/CreateOrganisationResponse.d.ts +6 -6
- package/models/OrganisationDetail.d.ts +3 -3
- package/models/OrganisationExists.d.ts +3 -3
- package/models/Role.d.ts +6 -0
- package/models/Role.js +1 -0
- package/models/RoleGroup.d.ts +11 -0
- package/models/RoleGroup.js +1 -0
- package/models/UserDetail.d.ts +3 -3
- package/models/UserProfile.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export type { PatchOrganisationAdvancePay } from './models/PatchOrganisationAdva
|
|
|
36
36
|
export type { PatchUser } from './models/PatchUser.js';
|
|
37
37
|
export type { RedTractorCertificate } from './models/RedTractorCertificate.js';
|
|
38
38
|
export type { RequestFullAccountSchema } from './models/RequestFullAccountSchema.js';
|
|
39
|
+
export type { Role } from './models/Role.js';
|
|
40
|
+
export type { RoleGroup } from './models/RoleGroup.js';
|
|
39
41
|
export type { SendMagicLogin } from './models/SendMagicLogin.js';
|
|
40
42
|
export type { SetBuyerPreferences } from './models/SetBuyerPreferences.js';
|
|
41
43
|
export type { SwapCognitoUserPoolRequest } from './models/SwapCognitoUserPoolRequest.js';
|
|
@@ -8,9 +8,9 @@ export type BusinessUnitsSummary = {
|
|
|
8
8
|
businessUnits: Array<{
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
|
-
type:
|
|
12
|
-
business: string;
|
|
13
|
-
region: string;
|
|
11
|
+
type: 'farm' | 'stores' | 'region';
|
|
12
|
+
business: string | null;
|
|
13
|
+
region: string | null;
|
|
14
14
|
tags: Array<string>;
|
|
15
15
|
}>;
|
|
16
16
|
};
|
|
@@ -70,9 +70,9 @@ export type CreateOrganisationResponse = {
|
|
|
70
70
|
businessUnits?: Array<{
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
|
-
type:
|
|
74
|
-
business: string;
|
|
75
|
-
region: string;
|
|
73
|
+
type: 'farm' | 'stores' | 'region';
|
|
74
|
+
business: string | null;
|
|
75
|
+
region: string | null;
|
|
76
76
|
tags: Array<string>;
|
|
77
77
|
}>;
|
|
78
78
|
businessConnections?: Array<{
|
|
@@ -214,9 +214,9 @@ export type CreateOrganisationResponse = {
|
|
|
214
214
|
businessUnits?: Array<{
|
|
215
215
|
id: string;
|
|
216
216
|
name: string;
|
|
217
|
-
type:
|
|
218
|
-
business: string;
|
|
219
|
-
region: string;
|
|
217
|
+
type: 'farm' | 'stores' | 'region';
|
|
218
|
+
business: string | null;
|
|
219
|
+
region: string | null;
|
|
220
220
|
tags: Array<string>;
|
|
221
221
|
}>;
|
|
222
222
|
notificationsEnabled?: boolean;
|
|
@@ -69,9 +69,9 @@ export type OrganisationDetail = {
|
|
|
69
69
|
businessUnits?: Array<{
|
|
70
70
|
id: string;
|
|
71
71
|
name: string;
|
|
72
|
-
type:
|
|
73
|
-
business: string;
|
|
74
|
-
region: string;
|
|
72
|
+
type: 'farm' | 'stores' | 'region';
|
|
73
|
+
business: string | null;
|
|
74
|
+
region: string | null;
|
|
75
75
|
tags: Array<string>;
|
|
76
76
|
}>;
|
|
77
77
|
businessConnections?: Array<{
|
|
@@ -72,9 +72,9 @@ export type OrganisationExists = {
|
|
|
72
72
|
businessUnits?: Array<{
|
|
73
73
|
id: string;
|
|
74
74
|
name: string;
|
|
75
|
-
type:
|
|
76
|
-
business: string;
|
|
77
|
-
region: string;
|
|
75
|
+
type: 'farm' | 'stores' | 'region';
|
|
76
|
+
business: string | null;
|
|
77
|
+
region: string | null;
|
|
78
78
|
tags: Array<string>;
|
|
79
79
|
}>;
|
|
80
80
|
businessConnections?: Array<{
|
package/models/Role.d.ts
ADDED
package/models/Role.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/models/UserDetail.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ export type UserDetail = {
|
|
|
65
65
|
businessUnits?: Array<{
|
|
66
66
|
id: string;
|
|
67
67
|
name: string;
|
|
68
|
-
type:
|
|
69
|
-
business: string;
|
|
70
|
-
region: string;
|
|
68
|
+
type: 'farm' | 'stores' | 'region';
|
|
69
|
+
business: string | null;
|
|
70
|
+
region: string | null;
|
|
71
71
|
tags: Array<string>;
|
|
72
72
|
}>;
|
|
73
73
|
notificationsEnabled?: boolean;
|
package/models/UserProfile.d.ts
CHANGED
|
@@ -70,9 +70,9 @@ export type UserProfile = {
|
|
|
70
70
|
businessUnits?: Array<{
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
|
-
type:
|
|
74
|
-
business: string;
|
|
75
|
-
region: string;
|
|
73
|
+
type: 'farm' | 'stores' | 'region';
|
|
74
|
+
business: string | null;
|
|
75
|
+
region: string | null;
|
|
76
76
|
tags: Array<string>;
|
|
77
77
|
}>;
|
|
78
78
|
businessConnections?: Array<{
|
|
@@ -214,9 +214,9 @@ export type UserProfile = {
|
|
|
214
214
|
businessUnits?: Array<{
|
|
215
215
|
id: string;
|
|
216
216
|
name: string;
|
|
217
|
-
type:
|
|
218
|
-
business: string;
|
|
219
|
-
region: string;
|
|
217
|
+
type: 'farm' | 'stores' | 'region';
|
|
218
|
+
business: string | null;
|
|
219
|
+
region: string | null;
|
|
220
220
|
tags: Array<string>;
|
|
221
221
|
}>;
|
|
222
222
|
notificationsEnabled?: boolean;
|