@hectare/platform.clients.customers 1.1.24 → 1.1.26

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.
@@ -143,7 +143,7 @@ export type CreateOrganisationResponse = {
143
143
  salesforceId?: string;
144
144
  };
145
145
  user?: {
146
- id?: string;
146
+ id: string;
147
147
  givenName?: string;
148
148
  type?: 'internal' | 'external';
149
149
  familyName?: string;
@@ -204,7 +204,7 @@ export type CreateOrganisationResponse = {
204
204
  organisationId?: string | null;
205
205
  createdAtUTC?: string | null;
206
206
  } | null;
207
- organisationId?: string;
207
+ organisationId: string;
208
208
  organisationName?: string;
209
209
  authPlatformId?: string;
210
210
  status?: 'active' | 'pending' | 'inactive' | 'deleted';
@@ -1,6 +1,6 @@
1
1
  export type SearchResultsUserDetailSchema = {
2
2
  docs?: Array<{
3
- id?: string;
3
+ id: string;
4
4
  givenName?: string;
5
5
  type?: 'internal' | 'external';
6
6
  familyName?: string;
@@ -61,7 +61,7 @@ export type SearchResultsUserDetailSchema = {
61
61
  organisationId?: string | null;
62
62
  createdAtUTC?: string | null;
63
63
  } | null;
64
- organisationId?: string;
64
+ organisationId: string;
65
65
  organisationName?: string;
66
66
  authPlatformId?: string;
67
67
  status?: 'active' | 'pending' | 'inactive' | 'deleted';
@@ -1,5 +1,5 @@
1
1
  export type UserDetail = {
2
- id?: string;
2
+ id: string;
3
3
  givenName?: string;
4
4
  type?: 'internal' | 'external';
5
5
  familyName?: string;
@@ -60,7 +60,7 @@ export type UserDetail = {
60
60
  organisationId?: string | null;
61
61
  createdAtUTC?: string | null;
62
62
  } | null;
63
- organisationId?: string;
63
+ organisationId: string;
64
64
  organisationName?: string;
65
65
  authPlatformId?: string;
66
66
  status?: 'active' | 'pending' | 'inactive' | 'deleted';
@@ -143,7 +143,7 @@ export type UserProfile = {
143
143
  salesforceId?: string;
144
144
  };
145
145
  user: {
146
- id?: string;
146
+ id: string;
147
147
  givenName?: string;
148
148
  type?: 'internal' | 'external';
149
149
  familyName?: string;
@@ -204,7 +204,7 @@ export type UserProfile = {
204
204
  organisationId?: string | null;
205
205
  createdAtUTC?: string | null;
206
206
  } | null;
207
- organisationId?: string;
207
+ organisationId: string;
208
208
  organisationName?: string;
209
209
  authPlatformId?: string;
210
210
  status?: 'active' | 'pending' | 'inactive' | 'deleted';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",