@hectare/platform.clients.trading 1.1.74 → 1.1.76

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.
@@ -199,11 +199,13 @@ export type BidDetail = {
199
199
  tradeRequestId?: string;
200
200
  relistedFromListingId?: string;
201
201
  pending?: boolean;
202
- notes?: Array<{
202
+ feedback?: {
203
203
  user: string;
204
- note: string;
205
- createdAtUTC?: string;
206
- } | null>;
204
+ note: string | null;
205
+ createdAtUTC: string | null;
206
+ noBidReason: string | null;
207
+ noConversionReason: string;
208
+ } | null;
207
209
  };
208
210
  userId: string;
209
211
  userFullName: string;
@@ -239,6 +241,7 @@ export type BidDetail = {
239
241
  advancePayContractId: string | null;
240
242
  acceptedAtUTC: string | null;
241
243
  soldWeight: number | null;
244
+ haulageType: 'ex-farm' | 'delivered';
242
245
  }>;
243
246
  terms: {
244
247
  weight: {
@@ -256,7 +259,7 @@ export type BidDetail = {
256
259
  paymentDays: number;
257
260
  paymentDayType?: 'fixed' | 'dayOfMonth' | null;
258
261
  paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
259
- haulageType: 'ex-farm' | 'delivered';
262
+ haulageType?: 'ex-farm' | 'delivered';
260
263
  sellerNotes: string | null;
261
264
  deliveryPostcode: string | null;
262
265
  };
@@ -12,6 +12,7 @@ export type CreateBid = {
12
12
  amount: number;
13
13
  currency: string;
14
14
  };
15
+ haulageType?: 'ex-farm' | 'delivered';
15
16
  }>;
16
17
  terms: {
17
18
  weight: {
@@ -21,7 +22,7 @@ export type CreateBid = {
21
22
  paymentDays: number;
22
23
  paymentDayType?: 'fixed' | 'dayOfMonth' | null;
23
24
  paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
24
- haulageType: 'ex-farm' | 'delivered';
25
+ haulageType?: 'ex-farm' | 'delivered';
25
26
  deliveryPostcode?: string | null;
26
27
  sellerNotes?: string | null;
27
28
  };
@@ -196,11 +196,13 @@ export type ListingDetail = {
196
196
  tradeRequestId?: string;
197
197
  relistedFromListingId?: string;
198
198
  pending?: boolean;
199
- notes?: Array<{
199
+ feedback?: {
200
200
  user: string;
201
- note: string;
202
- createdAtUTC?: string;
203
- } | null>;
201
+ note: string | null;
202
+ createdAtUTC: string | null;
203
+ noBidReason: string | null;
204
+ noConversionReason: string;
205
+ } | null;
204
206
  marketBuyers: Array<{
205
207
  authPlatformId?: string;
206
208
  emailAddress?: string;
@@ -444,11 +446,13 @@ export type ListingDetail = {
444
446
  tradeRequestId?: string;
445
447
  relistedFromListingId?: string;
446
448
  pending?: boolean;
447
- notes?: Array<{
449
+ feedback?: {
448
450
  user: string;
449
- note: string;
450
- createdAtUTC?: string;
451
- } | null>;
451
+ note: string | null;
452
+ createdAtUTC: string | null;
453
+ noBidReason: string | null;
454
+ noConversionReason: string;
455
+ } | null;
452
456
  };
453
457
  userId: string;
454
458
  userFullName: string;
@@ -484,6 +488,7 @@ export type ListingDetail = {
484
488
  advancePayContractId: string | null;
485
489
  acceptedAtUTC: string | null;
486
490
  soldWeight: number | null;
491
+ haulageType: 'ex-farm' | 'delivered';
487
492
  }>;
488
493
  terms: {
489
494
  weight: {
@@ -501,7 +506,7 @@ export type ListingDetail = {
501
506
  paymentDays: number;
502
507
  paymentDayType?: 'fixed' | 'dayOfMonth' | null;
503
508
  paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
504
- haulageType: 'ex-farm' | 'delivered';
509
+ haulageType?: 'ex-farm' | 'delivered';
505
510
  sellerNotes: string | null;
506
511
  deliveryPostcode: string | null;
507
512
  };
@@ -196,9 +196,11 @@ export type ListingSummary = {
196
196
  tradeRequestId?: string;
197
197
  relistedFromListingId?: string;
198
198
  pending?: boolean;
199
- notes?: Array<{
199
+ feedback?: {
200
200
  user: string;
201
- note: string;
202
- createdAtUTC?: string;
203
- } | null>;
201
+ note: string | null;
202
+ createdAtUTC: string | null;
203
+ noBidReason: string | null;
204
+ noConversionReason: string;
205
+ } | null;
204
206
  };
@@ -11,6 +11,7 @@ export type PatchBid = {
11
11
  amount: number;
12
12
  currency: string;
13
13
  };
14
+ haulageType?: 'ex-farm' | 'delivered';
14
15
  }>;
15
16
  terms: {
16
17
  weight: {
@@ -20,7 +21,7 @@ export type PatchBid = {
20
21
  paymentDays: number;
21
22
  paymentDayType?: 'fixed' | 'dayOfMonth' | null;
22
23
  paymentType: 'base' | 'fixed' | 'unpriced' | 'premium';
23
- haulageType: 'ex-farm' | 'delivered';
24
+ haulageType?: 'ex-farm' | 'delivered';
24
25
  deliveryPostcode?: string | null;
25
26
  sellerNotes?: string | null;
26
27
  };
@@ -9,4 +9,5 @@ export type PatchBidOption = {
9
9
  amount: number;
10
10
  currency: string;
11
11
  };
12
+ haulageType?: 'ex-farm' | 'delivered';
12
13
  };
@@ -1,3 +1,7 @@
1
1
  export type PatchListingSchema = {
2
- note: string;
2
+ feedback?: {
3
+ note?: string;
4
+ noBidReason?: string;
5
+ noConversionReason?: string;
6
+ };
3
7
  };
@@ -197,11 +197,13 @@ export type SearchResultsListingSchema = {
197
197
  tradeRequestId?: string;
198
198
  relistedFromListingId?: string;
199
199
  pending?: boolean;
200
- notes?: Array<{
200
+ feedback?: {
201
201
  user: string;
202
- note: string;
203
- createdAtUTC?: string;
204
- } | null>;
202
+ note: string | null;
203
+ createdAtUTC: string | null;
204
+ noBidReason: string | null;
205
+ noConversionReason: string;
206
+ } | null;
205
207
  }>;
206
208
  custom?: any;
207
209
  totalDocs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",