@hectare/platform.clients.customers 1.1.15 → 1.1.17

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 CHANGED
@@ -23,6 +23,7 @@ export type { CreateUser } from './models/CreateUser.js';
23
23
  export type { CustomerConfig } from './models/CustomerConfig.js';
24
24
  export type { ForgottenPassword } from './models/ForgottenPassword.js';
25
25
  export type { ForgottenPasswordConfirm } from './models/ForgottenPasswordConfirm.js';
26
+ export type { ForgottenPasswordSuccess } from './models/ForgottenPasswordSuccess.js';
26
27
  export type { LoginForm } from './models/LoginForm.js';
27
28
  export type { LoginSuccess } from './models/LoginSuccess.js';
28
29
  export type { LoginTokens } from './models/LoginTokens.js';
@@ -30,7 +30,7 @@ export type BusinessConnectionDetail = {
30
30
  coordinates: {
31
31
  lat: number;
32
32
  lon: number;
33
- };
33
+ } | null;
34
34
  } | null;
35
35
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
36
36
  ownerContact?: {
@@ -32,7 +32,7 @@ export type BusinessConnectionsSummary = {
32
32
  coordinates: {
33
33
  lat: number;
34
34
  lon: number;
35
- };
35
+ } | null;
36
36
  } | null;
37
37
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
38
38
  ownerContact?: {
@@ -19,7 +19,7 @@ export type BusinessDetail = {
19
19
  coordinates: {
20
20
  lat: number;
21
21
  lon: number;
22
- };
22
+ } | null;
23
23
  } | null;
24
24
  businessName?: string;
25
25
  name?: string;
@@ -25,7 +25,7 @@ export type BusinessUnitsDetail = {
25
25
  coordinates: {
26
26
  lat: number;
27
27
  lon: number;
28
- };
28
+ } | null;
29
29
  } | null;
30
30
  businessName?: string;
31
31
  name?: string;
@@ -34,7 +34,7 @@ export type BusinessUnitsDetails = {
34
34
  coordinates: {
35
35
  lat: number;
36
36
  lon: number;
37
- };
37
+ } | null;
38
38
  } | null;
39
39
  businessName?: string;
40
40
  name?: string;
@@ -20,7 +20,7 @@ export type CreateBusinessUnit = {
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  name: string;
26
26
  phoneNumber: string | null;
@@ -20,7 +20,7 @@ export type CreateBusinessUnits = Array<{
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  name: string;
26
26
  phoneNumber: string | null;
@@ -16,7 +16,7 @@ export type CreateOrganisation = {
16
16
  coordinates: {
17
17
  lat: number;
18
18
  lon: number;
19
- };
19
+ } | null;
20
20
  } | null;
21
21
  company?: {
22
22
  assurance?: {
@@ -18,7 +18,7 @@ export type CreateOrganisationResponse = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  company?: {
24
24
  assurance?: {
@@ -97,7 +97,7 @@ export type CreateOrganisationResponse = {
97
97
  coordinates: {
98
98
  lat: number;
99
99
  lon: number;
100
- };
100
+ } | null;
101
101
  } | null;
102
102
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
103
103
  ownerContact?: {
@@ -1,3 +1,4 @@
1
1
  export type ForgottenPassword = {
2
- username: string;
2
+ username?: string;
3
+ phone?: string;
3
4
  };
@@ -0,0 +1,5 @@
1
+ export type ForgottenPasswordSuccess = {
2
+ attributeName?: string;
3
+ deliveryMedium?: string;
4
+ destination?: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -17,7 +17,7 @@ export type OrganisationDetail = {
17
17
  coordinates: {
18
18
  lat: number;
19
19
  lon: number;
20
- };
20
+ } | null;
21
21
  } | null;
22
22
  company?: {
23
23
  assurance?: {
@@ -96,7 +96,7 @@ export type OrganisationDetail = {
96
96
  coordinates: {
97
97
  lat: number;
98
98
  lon: number;
99
- };
99
+ } | null;
100
100
  } | null;
101
101
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
102
102
  ownerContact?: {
@@ -20,7 +20,7 @@ export type OrganisationExists = {
20
20
  coordinates: {
21
21
  lat: number;
22
22
  lon: number;
23
- };
23
+ } | null;
24
24
  } | null;
25
25
  company?: {
26
26
  assurance?: {
@@ -99,7 +99,7 @@ export type OrganisationExists = {
99
99
  coordinates: {
100
100
  lat: number;
101
101
  lon: number;
102
- };
102
+ } | null;
103
103
  } | null;
104
104
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
105
105
  ownerContact?: {
@@ -19,7 +19,7 @@ export type OrganisationSummary = {
19
19
  coordinates: {
20
20
  lat: number;
21
21
  lon: number;
22
- };
22
+ } | null;
23
23
  } | null;
24
24
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
25
25
  status?: 'active' | 'pending' | 'suspended';
@@ -18,7 +18,7 @@ export type PatchBusinessUnit = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  name?: string;
24
24
  phoneNumber?: string | null;
@@ -16,7 +16,7 @@ export type PatchOrganisation = {
16
16
  coordinates: {
17
17
  lat: number;
18
18
  lon: number;
19
- };
19
+ } | null;
20
20
  } | null;
21
21
  company?: {
22
22
  assurance?: {
@@ -36,7 +36,7 @@ export type UserBasicInfo = {
36
36
  coordinates: {
37
37
  lat: number;
38
38
  lon: number;
39
- };
39
+ } | null;
40
40
  } | null;
41
41
  modules?: Array<{
42
42
  id: string;
@@ -18,7 +18,7 @@ export type UserProfile = {
18
18
  coordinates: {
19
19
  lat: number;
20
20
  lon: number;
21
- };
21
+ } | null;
22
22
  } | null;
23
23
  company?: {
24
24
  assurance?: {
@@ -97,7 +97,7 @@ export type UserProfile = {
97
97
  coordinates: {
98
98
  lat: number;
99
99
  lon: number;
100
- };
100
+ } | null;
101
101
  } | null;
102
102
  countryISO?: 'GB' | 'US' | 'ZA' | 'FR';
103
103
  ownerContact?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",