@hectare/platform.clients.customers 1.1.7 → 1.1.9

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.
@@ -11,4 +11,10 @@ export type AssuranceDetail = {
11
11
  certificationStartDate: string;
12
12
  certificationEndDate: string;
13
13
  certificateUrl: string;
14
+ crops?: Array<{
15
+ name: string;
16
+ id: number;
17
+ tonnesMin: number;
18
+ tonnesMax: number;
19
+ }>;
14
20
  };
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -67,11 +67,13 @@ export type OrganisationSummary = {
67
67
  } | null;
68
68
  }>;
69
69
  vetted?: boolean;
70
+ rejected?: boolean;
70
71
  isMerchant?: boolean;
71
72
  sqc?: {
72
73
  number: string;
73
74
  isAssured: boolean;
74
75
  } | null;
76
+ assuranceId?: string;
75
77
  assuranceScheme?: 'RT' | 'SQC';
76
78
  advancePay?: {
77
79
  accountName: string;
@@ -88,4 +88,5 @@ export type PatchOrganisation = {
88
88
  statusMessage?: string | null;
89
89
  vetted?: boolean;
90
90
  isMerchant?: boolean;
91
+ rejected?: boolean;
91
92
  };
@@ -7,10 +7,10 @@ export type RedTractorCertificate = {
7
7
  }>;
8
8
  certificateExpiryDate?: string;
9
9
  certifiedSites?: Array<{
10
- siteIdentifiers?: {
10
+ siteIdentifiers?: Array<{
11
11
  identifierType?: string;
12
12
  identifier?: string;
13
- };
13
+ }>;
14
14
  isPrimary?: boolean;
15
15
  siteCountry?: string;
16
16
  sitePostcode?: string;
@@ -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?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.customers",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",