@hectare/platform.clients.trading 1.1.159 → 1.1.161

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.
@@ -14,6 +14,7 @@ export type BidDetail = {
14
14
  organisationVetted?: boolean;
15
15
  businessUnitId?: string;
16
16
  businessUnitName?: string;
17
+ businessCollectionAddressId?: number | null;
17
18
  id?: string;
18
19
  name: string;
19
20
  email: string;
@@ -88,7 +89,7 @@ export type BidDetail = {
88
89
  };
89
90
  movement: {
90
91
  months: Array<string>;
91
- asAvailable: boolean;
92
+ asAvailable: boolean | null;
92
93
  };
93
94
  buyerNotes: string | null;
94
95
  files?: Array<{
@@ -253,7 +254,7 @@ export type BidDetail = {
253
254
  };
254
255
  movement: {
255
256
  months: Array<string>;
256
- asAvailable: boolean;
257
+ asAvailable: boolean | null;
257
258
  };
258
259
  pricePerUnit: {
259
260
  amount: number;
@@ -9,6 +9,10 @@ export type CreateBid = {
9
9
  excludedDatesUTC?: Array<string> | null;
10
10
  asAvailable?: boolean | null;
11
11
  };
12
+ movement?: {
13
+ months: Array<string>;
14
+ asAvailable: boolean | null;
15
+ };
12
16
  pricePerUnit: {
13
17
  amount: number;
14
18
  currency: string;
@@ -39,7 +39,7 @@ export type CreateInventorySchema = {
39
39
  buyerNotes: string | null;
40
40
  movement: {
41
41
  months: Array<string>;
42
- asAvailable: boolean;
42
+ asAvailable: boolean | null;
43
43
  };
44
44
  };
45
45
  tags?: Array<string> | null;
@@ -9,6 +9,7 @@ export type CreateListing = {
9
9
  userId: string;
10
10
  }> | null;
11
11
  businessUnitId: string | null;
12
+ collectionAddressId?: number | null;
12
13
  details: {
13
14
  buyerNotes?: string | null;
14
15
  files?: Array<{
@@ -29,7 +30,7 @@ export type CreateListing = {
29
30
  };
30
31
  movement?: {
31
32
  months: Array<string>;
32
- asAvailable: boolean;
33
+ asAvailable: boolean | null;
33
34
  };
34
35
  price?: {
35
36
  amount: number;
@@ -8,7 +8,7 @@ export type CreateMarketingPlanSchema = {
8
8
  } | null;
9
9
  movement: {
10
10
  months: Array<string>;
11
- asAvailable: boolean;
11
+ asAvailable: boolean | null;
12
12
  };
13
13
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
14
14
  buyerNotes: string | null;
@@ -20,6 +20,10 @@ export type CreateTradeRequest = {
20
20
  type: 'date' | 'month';
21
21
  excludedDatesUTC?: Array<string> | null;
22
22
  };
23
+ movement?: {
24
+ months: Array<string>;
25
+ asAvailable: boolean | null;
26
+ };
23
27
  haulageTerms: {
24
28
  haulageType: 'ex-farm' | 'delivered' | null;
25
29
  deliveryPostcode?: string | null;
@@ -63,7 +63,7 @@ export type InventoryDetailSchema = {
63
63
  buyerNotes: string | null;
64
64
  movement: {
65
65
  months: Array<string>;
66
- asAvailable: boolean;
66
+ asAvailable: boolean | null;
67
67
  };
68
68
  };
69
69
  summary: {
@@ -64,7 +64,7 @@ export type InventorySearchResultsSchema = {
64
64
  buyerNotes: string | null;
65
65
  movement: {
66
66
  months: Array<string>;
67
- asAvailable: boolean;
67
+ asAvailable: boolean | null;
68
68
  };
69
69
  };
70
70
  summary: {
@@ -17,7 +17,7 @@ export type InventorySummarySchema = {
17
17
  buyerNotes: string | null;
18
18
  movement: {
19
19
  months: Array<string>;
20
- asAvailable: boolean;
20
+ asAvailable: boolean | null;
21
21
  };
22
22
  };
23
23
  };
@@ -11,6 +11,7 @@ export type ListingDetail = {
11
11
  organisationVetted?: boolean;
12
12
  businessUnitId?: string;
13
13
  businessUnitName?: string;
14
+ businessCollectionAddressId?: number | null;
14
15
  id?: string;
15
16
  name: string;
16
17
  email: string;
@@ -85,7 +86,7 @@ export type ListingDetail = {
85
86
  };
86
87
  movement: {
87
88
  months: Array<string>;
88
- asAvailable: boolean;
89
+ asAvailable: boolean | null;
89
90
  };
90
91
  buyerNotes: string | null;
91
92
  files?: Array<{
@@ -275,6 +276,7 @@ export type ListingDetail = {
275
276
  organisationVetted?: boolean;
276
277
  businessUnitId?: string;
277
278
  businessUnitName?: string;
279
+ businessCollectionAddressId?: number | null;
278
280
  id?: string;
279
281
  name: string;
280
282
  email: string;
@@ -349,7 +351,7 @@ export type ListingDetail = {
349
351
  };
350
352
  movement: {
351
353
  months: Array<string>;
352
- asAvailable: boolean;
354
+ asAvailable: boolean | null;
353
355
  };
354
356
  buyerNotes: string | null;
355
357
  files?: Array<{
@@ -514,7 +516,7 @@ export type ListingDetail = {
514
516
  };
515
517
  movement: {
516
518
  months: Array<string>;
517
- asAvailable: boolean;
519
+ asAvailable: boolean | null;
518
520
  };
519
521
  pricePerUnit: {
520
522
  amount: number;
@@ -11,6 +11,7 @@ export type ListingSummary = {
11
11
  organisationVetted?: boolean;
12
12
  businessUnitId?: string;
13
13
  businessUnitName?: string;
14
+ businessCollectionAddressId?: number | null;
14
15
  id?: string;
15
16
  name: string;
16
17
  email: string;
@@ -85,7 +86,7 @@ export type ListingSummary = {
85
86
  };
86
87
  movement: {
87
88
  months: Array<string>;
88
- asAvailable: boolean;
89
+ asAvailable: boolean | null;
89
90
  };
90
91
  buyerNotes: string | null;
91
92
  files?: Array<{
@@ -70,7 +70,7 @@ export type MarketingPlanDetailSchema = {
70
70
  } | null;
71
71
  movement: {
72
72
  months: Array<string>;
73
- asAvailable: boolean;
73
+ asAvailable: boolean | null;
74
74
  };
75
75
  haulageType: 'ex-farm' | 'delivered' | null;
76
76
  buyerNotes: string | null;
@@ -141,7 +141,7 @@ export type MarketingPlanDetailSchema = {
141
141
  };
142
142
  movement?: {
143
143
  months: Array<string>;
144
- asAvailable: boolean;
144
+ asAvailable: boolean | null;
145
145
  };
146
146
  skipped?: boolean;
147
147
  }>;
@@ -71,7 +71,7 @@ export type MarketingPlanSearchResultsSchema = {
71
71
  } | null;
72
72
  movement: {
73
73
  months: Array<string>;
74
- asAvailable: boolean;
74
+ asAvailable: boolean | null;
75
75
  };
76
76
  haulageType: 'ex-farm' | 'delivered' | null;
77
77
  buyerNotes: string | null;
@@ -142,7 +142,7 @@ export type MarketingPlanSearchResultsSchema = {
142
142
  };
143
143
  movement?: {
144
144
  months: Array<string>;
145
- asAvailable: boolean;
145
+ asAvailable: boolean | null;
146
146
  };
147
147
  skipped?: boolean;
148
148
  }>;
@@ -70,7 +70,7 @@ export type MarketingPlanSummarySchema = {
70
70
  } | null;
71
71
  movement: {
72
72
  months: Array<string>;
73
- asAvailable: boolean;
73
+ asAvailable: boolean | null;
74
74
  };
75
75
  haulageType: 'ex-farm' | 'delivered' | null;
76
76
  buyerNotes: string | null;
@@ -141,7 +141,7 @@ export type MarketingPlanSummarySchema = {
141
141
  };
142
142
  movement?: {
143
143
  months: Array<string>;
144
- asAvailable: boolean;
144
+ asAvailable: boolean | null;
145
145
  };
146
146
  skipped?: boolean;
147
147
  }>;
@@ -7,6 +7,10 @@ export type PatchBid = {
7
7
  endDateUTC: string;
8
8
  type: 'date' | 'month';
9
9
  };
10
+ movement?: {
11
+ months: Array<string>;
12
+ asAvailable: boolean | null;
13
+ };
10
14
  pricePerUnit: {
11
15
  amount: number;
12
16
  currency: string;
@@ -5,6 +5,10 @@ export type PatchBidOption = {
5
5
  endDateUTC: string;
6
6
  type: 'date' | 'month';
7
7
  };
8
+ movement?: {
9
+ months: Array<string>;
10
+ asAvailable: boolean | null;
11
+ };
8
12
  pricePerUnit: {
9
13
  amount: number;
10
14
  currency: string;
@@ -1,5 +1,6 @@
1
1
  export type PatchListingSchema = {
2
2
  businessUnitId?: string | null;
3
+ collectionAddressId?: number | null;
3
4
  details?: {
4
5
  buyerNotes?: string | null;
5
6
  files?: Array<{
@@ -20,7 +21,7 @@ export type PatchListingSchema = {
20
21
  };
21
22
  movement?: {
22
23
  months: Array<string>;
23
- asAvailable: boolean;
24
+ asAvailable: boolean | null;
24
25
  };
25
26
  price?: {
26
27
  amount: number;
@@ -8,7 +8,7 @@ export type PatchMarketingPlanScheduleSchema = {
8
8
  maxWeight: number;
9
9
  movement: {
10
10
  months: Array<string>;
11
- asAvailable: boolean;
11
+ asAvailable: boolean | null;
12
12
  };
13
13
  skipped: boolean;
14
14
  listingId?: string | null;
@@ -8,7 +8,7 @@ export type PatchMarketingPlanSchema = {
8
8
  } | null;
9
9
  movement: {
10
10
  months: Array<string>;
11
- asAvailable: boolean;
11
+ asAvailable: boolean | null;
12
12
  };
13
13
  haulageType: 'ex-farm' | 'delivered' | 'both' | null;
14
14
  buyerNotes: string | null;
@@ -15,6 +15,7 @@ export type SearchResultsBidSchema = {
15
15
  organisationVetted?: boolean;
16
16
  businessUnitId?: string;
17
17
  businessUnitName?: string;
18
+ businessCollectionAddressId?: number | null;
18
19
  id?: string;
19
20
  name: string;
20
21
  email: string;
@@ -89,7 +90,7 @@ export type SearchResultsBidSchema = {
89
90
  };
90
91
  movement: {
91
92
  months: Array<string>;
92
- asAvailable: boolean;
93
+ asAvailable: boolean | null;
93
94
  };
94
95
  buyerNotes: string | null;
95
96
  files?: Array<{
@@ -254,7 +255,7 @@ export type SearchResultsBidSchema = {
254
255
  };
255
256
  movement: {
256
257
  months: Array<string>;
257
- asAvailable: boolean;
258
+ asAvailable: boolean | null;
258
259
  };
259
260
  pricePerUnit: {
260
261
  amount: number;
@@ -12,6 +12,7 @@ export type SearchResultsListingSchema = {
12
12
  organisationVetted?: boolean;
13
13
  businessUnitId?: string;
14
14
  businessUnitName?: string;
15
+ businessCollectionAddressId?: number | null;
15
16
  id?: string;
16
17
  name: string;
17
18
  email: string;
@@ -86,7 +87,7 @@ export type SearchResultsListingSchema = {
86
87
  };
87
88
  movement: {
88
89
  months: Array<string>;
89
- asAvailable: boolean;
90
+ asAvailable: boolean | null;
90
91
  };
91
92
  buyerNotes: string | null;
92
93
  files?: Array<{
@@ -42,7 +42,7 @@ export type TradeRequestDetail = {
42
42
  };
43
43
  movement: {
44
44
  months: Array<string>;
45
- asAvailable: boolean;
45
+ asAvailable: boolean | null;
46
46
  };
47
47
  haulageTerms: {
48
48
  haulageType?: 'ex-farm' | 'delivered' | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.159",
3
+ "version": "1.1.161",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",