@hectare/platform.clients.trading 1.1.266 → 1.1.267

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
@@ -1,11 +1,11 @@
1
1
  export type { AcceptBid } from './models/AcceptBid.js';
2
2
  export type { AskAnExpertBuyerRallyReportSchema } from './models/AskAnExpertBuyerRallyReportSchema.js';
3
3
  export type { AskAnExpertDraftContractSchema } from './models/AskAnExpertDraftContractSchema.js';
4
- export type { BidContract } from './models/BidContract.js';
5
4
  export type { BidDetail } from './models/BidDetail.js';
6
5
  export type { CloseListingReasonSchema } from './models/CloseListingReasonSchema.js';
7
6
  export type { CommodityPrices } from './models/CommodityPrices.js';
8
7
  export type { CompleteMarketingPlanSchema } from './models/CompleteMarketingPlanSchema.js';
8
+ export type { ContractAddContract } from './models/ContractAddContract.js';
9
9
  export type { ContractDetail } from './models/ContractDetail.js';
10
10
  export type { CreateBid } from './models/CreateBid.js';
11
11
  export type { CreateBidOfferSchema } from './models/CreateBidOfferSchema.js';
@@ -122,7 +122,7 @@ export type BidDetail = {
122
122
  };
123
123
  contract?: {
124
124
  id: string | null;
125
- files: Array<{
125
+ files?: Array<{
126
126
  name?: string;
127
127
  id: string;
128
128
  url?: string | null;
@@ -492,7 +492,7 @@ export type BidDetail = {
492
492
  };
493
493
  contract?: {
494
494
  id: string | null;
495
- files: Array<{
495
+ files?: Array<{
496
496
  name?: string;
497
497
  id: string;
498
498
  url?: string | null;
@@ -1,4 +1,4 @@
1
- export type BidContract = {
1
+ export type ContractAddContract = {
2
2
  reference?: string | null;
3
3
  files: Array<{
4
4
  name?: string;
@@ -112,55 +112,6 @@ export type ContractDetail = {
112
112
  createdAtUTC?: string | null;
113
113
  } | null>;
114
114
  };
115
- inventory?: {
116
- type: 'crop' | 'produce';
117
- harvestYear: string;
118
- commodity: {
119
- commodity: {
120
- id: number;
121
- name: string;
122
- };
123
- type: {
124
- id: number;
125
- name: string;
126
- };
127
- grade: {
128
- id: number;
129
- name: string;
130
- };
131
- varieties: Array<string>;
132
- attributes: Array<{
133
- id: number;
134
- name: string;
135
- }>;
136
- tags?: Array<number>;
137
- weight: {
138
- name: string;
139
- conversion: number;
140
- weight?: number;
141
- };
142
- };
143
- measures: Array<{
144
- specification: {
145
- id: number;
146
- name: string;
147
- unit: string;
148
- };
149
- min: number | null;
150
- max: number | null;
151
- }> | null;
152
- hasSampled: boolean;
153
- customMeasures?: boolean | null;
154
- files: Array<{
155
- name?: string;
156
- id: string;
157
- url?: string | null;
158
- userId?: string | null;
159
- userName?: string | null;
160
- organisationId?: string | null;
161
- createdAtUTC?: string | null;
162
- } | null>;
163
- };
164
115
  buyer: {
165
116
  organisationId: string;
166
117
  businessId: string;
@@ -305,7 +256,7 @@ export type ContractDetail = {
305
256
  };
306
257
  contract?: {
307
258
  id: string | null;
308
- files: Array<{
259
+ files?: Array<{
309
260
  name?: string;
310
261
  id: string;
311
262
  url?: string | null;
@@ -675,7 +626,7 @@ export type ContractDetail = {
675
626
  };
676
627
  contract?: {
677
628
  id: string | null;
678
- files: Array<{
629
+ files?: Array<{
679
630
  name?: string;
680
631
  id: string;
681
632
  url?: string | null;
@@ -48,13 +48,4 @@ export type CreateBid = {
48
48
  sellerNotes?: string | null;
49
49
  };
50
50
  reference?: string | null;
51
- files?: Array<{
52
- name?: string;
53
- id: string;
54
- url?: string | null;
55
- userId?: string | null;
56
- userName?: string | null;
57
- organisationId?: string | null;
58
- createdAtUTC?: string | null;
59
- } | null>;
60
51
  };
@@ -347,7 +347,7 @@ export type ListingDetail = {
347
347
  };
348
348
  contract?: {
349
349
  id: string | null;
350
- files: Array<{
350
+ files?: Array<{
351
351
  name?: string;
352
352
  id: string;
353
353
  url?: string | null;
@@ -123,7 +123,7 @@ export type SearchResultsBidSchema = {
123
123
  };
124
124
  contract?: {
125
125
  id: string | null;
126
- files: Array<{
126
+ files?: Array<{
127
127
  name?: string;
128
128
  id: string;
129
129
  url?: string | null;
@@ -493,7 +493,7 @@ export type SearchResultsBidSchema = {
493
493
  };
494
494
  contract?: {
495
495
  id: string | null;
496
- files: Array<{
496
+ files?: Array<{
497
497
  name?: string;
498
498
  id: string;
499
499
  url?: string | null;
@@ -113,55 +113,6 @@ export type SearchResultsContractSchema = {
113
113
  createdAtUTC?: string | null;
114
114
  } | null>;
115
115
  };
116
- inventory?: {
117
- type: 'crop' | 'produce';
118
- harvestYear: string;
119
- commodity: {
120
- commodity: {
121
- id: number;
122
- name: string;
123
- };
124
- type: {
125
- id: number;
126
- name: string;
127
- };
128
- grade: {
129
- id: number;
130
- name: string;
131
- };
132
- varieties: Array<string>;
133
- attributes: Array<{
134
- id: number;
135
- name: string;
136
- }>;
137
- tags?: Array<number>;
138
- weight: {
139
- name: string;
140
- conversion: number;
141
- weight?: number;
142
- };
143
- };
144
- measures: Array<{
145
- specification: {
146
- id: number;
147
- name: string;
148
- unit: string;
149
- };
150
- min: number | null;
151
- max: number | null;
152
- }> | null;
153
- hasSampled: boolean;
154
- customMeasures?: boolean | null;
155
- files: Array<{
156
- name?: string;
157
- id: string;
158
- url?: string | null;
159
- userId?: string | null;
160
- userName?: string | null;
161
- organisationId?: string | null;
162
- createdAtUTC?: string | null;
163
- } | null>;
164
- };
165
116
  buyer: {
166
117
  organisationId: string;
167
118
  businessId: string;
@@ -306,7 +257,7 @@ export type SearchResultsContractSchema = {
306
257
  };
307
258
  contract?: {
308
259
  id: string | null;
309
- files: Array<{
260
+ files?: Array<{
310
261
  name?: string;
311
262
  id: string;
312
263
  url?: string | null;
@@ -676,7 +627,7 @@ export type SearchResultsContractSchema = {
676
627
  };
677
628
  contract?: {
678
629
  id: string | null;
679
- files: Array<{
630
+ files?: Array<{
680
631
  name?: string;
681
632
  id: string;
682
633
  url?: string | null;
@@ -348,7 +348,7 @@ export type SearchResultsListingSchema = {
348
348
  };
349
349
  contract?: {
350
350
  id: string | null;
351
- files: Array<{
351
+ files?: Array<{
352
352
  name?: string;
353
353
  id: string;
354
354
  url?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.266",
3
+ "version": "1.1.267",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",