@hectare/platform.clients.customers 1.1.8 → 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 +7 -6
- package/models/OrganisationDetail.d.ts +4 -3
- package/models/OrganisationExists.d.ts +4 -3
- package/models/OrganisationSummary.d.ts +1 -0
- package/models/PatchOrganisation.d.ts +1 -0
- 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 +7 -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<{
|
|
@@ -135,6 +135,7 @@ export type CreateOrganisationResponse = {
|
|
|
135
135
|
} | null;
|
|
136
136
|
}>;
|
|
137
137
|
vetted?: boolean;
|
|
138
|
+
rejected?: boolean;
|
|
138
139
|
isMerchant?: boolean;
|
|
139
140
|
createdAtUTC?: string;
|
|
140
141
|
advancePay?: {
|
|
@@ -213,9 +214,9 @@ export type CreateOrganisationResponse = {
|
|
|
213
214
|
businessUnits?: Array<{
|
|
214
215
|
id: string;
|
|
215
216
|
name: string;
|
|
216
|
-
type:
|
|
217
|
-
business: string;
|
|
218
|
-
region: string;
|
|
217
|
+
type: 'farm' | 'stores' | 'region';
|
|
218
|
+
business: string | null;
|
|
219
|
+
region: string | null;
|
|
219
220
|
tags: Array<string>;
|
|
220
221
|
}>;
|
|
221
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<{
|
|
@@ -134,6 +134,7 @@ export type OrganisationDetail = {
|
|
|
134
134
|
} | null;
|
|
135
135
|
}>;
|
|
136
136
|
vetted?: boolean;
|
|
137
|
+
rejected?: boolean;
|
|
137
138
|
isMerchant?: boolean;
|
|
138
139
|
createdAtUTC?: string;
|
|
139
140
|
advancePay?: {
|
|
@@ -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<{
|
|
@@ -137,6 +137,7 @@ export type OrganisationExists = {
|
|
|
137
137
|
} | null;
|
|
138
138
|
}>;
|
|
139
139
|
vetted?: boolean;
|
|
140
|
+
rejected?: boolean;
|
|
140
141
|
isMerchant?: boolean;
|
|
141
142
|
createdAtUTC?: string;
|
|
142
143
|
advancePay?: {
|
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<{
|
|
@@ -135,6 +135,7 @@ export type UserProfile = {
|
|
|
135
135
|
} | null;
|
|
136
136
|
}>;
|
|
137
137
|
vetted?: boolean;
|
|
138
|
+
rejected?: boolean;
|
|
138
139
|
isMerchant?: boolean;
|
|
139
140
|
createdAtUTC?: string;
|
|
140
141
|
advancePay?: {
|
|
@@ -213,9 +214,9 @@ export type UserProfile = {
|
|
|
213
214
|
businessUnits?: Array<{
|
|
214
215
|
id: string;
|
|
215
216
|
name: string;
|
|
216
|
-
type:
|
|
217
|
-
business: string;
|
|
218
|
-
region: string;
|
|
217
|
+
type: 'farm' | 'stores' | 'region';
|
|
218
|
+
business: string | null;
|
|
219
|
+
region: string | null;
|
|
219
220
|
tags: Array<string>;
|
|
220
221
|
}>;
|
|
221
222
|
notificationsEnabled?: boolean;
|