@hectare/platform.clients.trading 1.1.54 → 1.1.56

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.
@@ -4,7 +4,7 @@ export type BidDetail = {
4
4
  listing?: {
5
5
  id: string;
6
6
  status: 'active' | 'closed' | 'traded';
7
- substatus: 'unsold' | 'archived' | null;
7
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
8
8
  business: {
9
9
  organisationId?: string;
10
10
  organisationCreatedAtUTC?: string;
@@ -252,11 +252,6 @@ export type ContractDetail = {
252
252
  };
253
253
  pushToken?: string;
254
254
  };
255
- billing?: {
256
- amount: number;
257
- currency: string;
258
- period: 'month' | 'quarter' | 'year';
259
- } | null;
260
255
  settlementContacts?: Array<{
261
256
  name: string;
262
257
  email: string;
@@ -264,10 +259,6 @@ export type ContractDetail = {
264
259
  modules?: Array<{
265
260
  id: string;
266
261
  name?: string | null;
267
- price: {
268
- amount: number;
269
- currency: string;
270
- } | null;
271
262
  }>;
272
263
  vetted?: boolean;
273
264
  rejected?: boolean;
@@ -35,6 +35,8 @@ export type CreateListing = {
35
35
  currency: string;
36
36
  } | null;
37
37
  isBasePremOnly?: boolean;
38
+ startDateUTC?: string | null;
39
+ endDateUTC?: string | null;
38
40
  };
39
41
  inventory: {
40
42
  commodity: {
@@ -1,7 +1,7 @@
1
1
  export type ListingDetail = {
2
2
  id: string;
3
3
  status: 'active' | 'closed' | 'traded';
4
- substatus: 'unsold' | 'archived' | null;
4
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
5
5
  business: {
6
6
  organisationId?: string;
7
7
  organisationCreatedAtUTC?: string;
@@ -241,7 +241,7 @@ export type ListingDetail = {
241
241
  listing?: {
242
242
  id: string;
243
243
  status: 'active' | 'closed' | 'traded';
244
- substatus: 'unsold' | 'archived' | null;
244
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
245
245
  business: {
246
246
  organisationId?: string;
247
247
  organisationCreatedAtUTC?: string;
@@ -1,7 +1,7 @@
1
1
  export type ListingSummary = {
2
2
  id: string;
3
3
  status: 'active' | 'closed' | 'traded';
4
- substatus: 'unsold' | 'archived' | null;
4
+ substatus: 'unsold' | 'archived' | 'scheduled' | 'open' | 'in-review' | null;
5
5
  business: {
6
6
  organisationId?: string;
7
7
  organisationCreatedAtUTC?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hectare/platform.clients.trading",
3
- "version": "1.1.54",
3
+ "version": "1.1.56",
4
4
  "main": "index.js",
5
5
  "exported": true,
6
6
  "types": "index.d.ts",