@hectare/platform.clients.customers 1.1.105 → 1.1.107
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 +1 -1
- package/models/BasicSearchUserDetail.d.ts +2 -1
- package/models/BusinessSummary.d.ts +23 -0
- package/models/BusinessUnitSummary.d.ts +1 -1
- package/models/BusinessUnitsSummary.d.ts +1 -1
- package/models/CreateOrganisationResponse.d.ts +3 -2
- package/models/CreateUser.d.ts +1 -0
- package/models/OrganisationDetail.d.ts +1 -1
- package/models/OrganisationExists.d.ts +1 -1
- package/models/PatchUser.d.ts +1 -0
- package/models/SearchResultsOrganisationDetailSchema.d.ts +1 -1
- package/models/SearchResultsUserDetailSchema.d.ts +2 -1
- package/models/UserBasicInfo.d.ts +1 -0
- package/models/UserBasicInfoWithStatsSchema.d.ts +1 -0
- package/models/UserDetail.d.ts +2 -1
- package/models/UserProfile.d.ts +3 -2
- package/package.json +1 -1
- package/models/LookupUserByTelephoneSchema.d.ts +0 -3
- /package/models/{LookupUserByTelephoneSchema.js → BusinessSummary.js} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type { AssuranceDetail } from './models/AssuranceDetail.js';
|
|
2
2
|
export type { BasicSearchUserDetail } from './models/BasicSearchUserDetail.js';
|
|
3
3
|
export type { BusinessDetail } from './models/BusinessDetail.js';
|
|
4
|
+
export type { BusinessSummary } from './models/BusinessSummary.js';
|
|
4
5
|
export type { BusinessUnitsDetail } from './models/BusinessUnitsDetail.js';
|
|
5
6
|
export type { BusinessUnitsDetails } from './models/BusinessUnitsDetails.js';
|
|
6
7
|
export type { BusinessUnitsSummary } from './models/BusinessUnitsSummary.js';
|
|
@@ -27,7 +28,6 @@ export type { LinkUser } from './models/LinkUser.js';
|
|
|
27
28
|
export type { LoginForm } from './models/LoginForm.js';
|
|
28
29
|
export type { LoginSuccess } from './models/LoginSuccess.js';
|
|
29
30
|
export type { LoginTokens } from './models/LoginTokens.js';
|
|
30
|
-
export type { LookupUserByTelephoneSchema } from './models/LookupUserByTelephoneSchema.js';
|
|
31
31
|
export type { OrganisationDetail } from './models/OrganisationDetail.js';
|
|
32
32
|
export type { OrganisationExists } from './models/OrganisationExists.js';
|
|
33
33
|
export type { OrganisationSummary } from './models/OrganisationSummary.js';
|
|
@@ -78,10 +78,11 @@ export type BasicSearchUserDetail = {
|
|
|
78
78
|
id: string;
|
|
79
79
|
name: string;
|
|
80
80
|
type?: string;
|
|
81
|
-
business: string
|
|
81
|
+
business: string;
|
|
82
82
|
region: string | null;
|
|
83
83
|
tags: Array<string>;
|
|
84
84
|
}>;
|
|
85
|
+
businesses: Array<string>;
|
|
85
86
|
notificationsEnabled?: boolean;
|
|
86
87
|
}>;
|
|
87
88
|
totalDocs?: number;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type BusinessSummary = {
|
|
2
|
+
id: string;
|
|
3
|
+
status: string;
|
|
4
|
+
type: 'trading-entity' | 'farm';
|
|
5
|
+
organisationId: string;
|
|
6
|
+
primary: boolean;
|
|
7
|
+
businessName: string;
|
|
8
|
+
businessUnitId?: string;
|
|
9
|
+
givenName: string;
|
|
10
|
+
familyName: string;
|
|
11
|
+
phone?: {
|
|
12
|
+
callingCode: string;
|
|
13
|
+
number: string;
|
|
14
|
+
};
|
|
15
|
+
email?: string;
|
|
16
|
+
assurance: {
|
|
17
|
+
id: string | null;
|
|
18
|
+
key?: string | null;
|
|
19
|
+
body: 'RT' | 'SQC';
|
|
20
|
+
name?: string | null;
|
|
21
|
+
location?: string | null;
|
|
22
|
+
} | null;
|
|
23
|
+
};
|
|
@@ -64,7 +64,7 @@ export type CreateOrganisationResponse = {
|
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
type?: string;
|
|
67
|
-
business: string
|
|
67
|
+
business: string;
|
|
68
68
|
region: string | null;
|
|
69
69
|
tags: Array<string>;
|
|
70
70
|
}>;
|
|
@@ -157,10 +157,11 @@ export type CreateOrganisationResponse = {
|
|
|
157
157
|
id: string;
|
|
158
158
|
name: string;
|
|
159
159
|
type?: string;
|
|
160
|
-
business: string
|
|
160
|
+
business: string;
|
|
161
161
|
region: string | null;
|
|
162
162
|
tags: Array<string>;
|
|
163
163
|
}>;
|
|
164
|
+
businesses: Array<string>;
|
|
164
165
|
notificationsEnabled?: boolean;
|
|
165
166
|
};
|
|
166
167
|
};
|
package/models/CreateUser.d.ts
CHANGED
package/models/PatchUser.d.ts
CHANGED
|
@@ -78,10 +78,11 @@ export type SearchResultsUserDetailSchema = {
|
|
|
78
78
|
id: string;
|
|
79
79
|
name: string;
|
|
80
80
|
type?: string;
|
|
81
|
-
business: string
|
|
81
|
+
business: string;
|
|
82
82
|
region: string | null;
|
|
83
83
|
tags: Array<string>;
|
|
84
84
|
}>;
|
|
85
|
+
businesses: Array<string>;
|
|
85
86
|
notificationsEnabled?: boolean;
|
|
86
87
|
}>;
|
|
87
88
|
custom?: any;
|
package/models/UserDetail.d.ts
CHANGED
|
@@ -77,9 +77,10 @@ export type UserDetail = {
|
|
|
77
77
|
id: string;
|
|
78
78
|
name: string;
|
|
79
79
|
type?: string;
|
|
80
|
-
business: string
|
|
80
|
+
business: string;
|
|
81
81
|
region: string | null;
|
|
82
82
|
tags: Array<string>;
|
|
83
83
|
}>;
|
|
84
|
+
businesses: Array<string>;
|
|
84
85
|
notificationsEnabled?: boolean;
|
|
85
86
|
};
|
package/models/UserProfile.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export type UserProfile = {
|
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
type?: string;
|
|
67
|
-
business: string
|
|
67
|
+
business: string;
|
|
68
68
|
region: string | null;
|
|
69
69
|
tags: Array<string>;
|
|
70
70
|
}>;
|
|
@@ -157,10 +157,11 @@ export type UserProfile = {
|
|
|
157
157
|
id: string;
|
|
158
158
|
name: string;
|
|
159
159
|
type?: string;
|
|
160
|
-
business: string
|
|
160
|
+
business: string;
|
|
161
161
|
region: string | null;
|
|
162
162
|
tags: Array<string>;
|
|
163
163
|
}>;
|
|
164
|
+
businesses: Array<string>;
|
|
164
165
|
notificationsEnabled?: boolean;
|
|
165
166
|
};
|
|
166
167
|
access: {
|
package/package.json
CHANGED
|
File without changes
|