@tradecafe/offer-service-sdk 0.0.38 → 0.0.40

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.
@@ -119,6 +119,10 @@ export class CreateMatchedOfferDto {
119
119
  */
120
120
  'confirmed_at'?: number;
121
121
  /**
122
+ * User ID who confirmed the matched offer
123
+ */
124
+ 'confirmed_by'?: string;
125
+ /**
122
126
  * Missed at timestamp
123
127
  */
124
128
  'missed_at'?: number;
@@ -372,6 +376,11 @@ export class CreateMatchedOfferDto {
372
376
  "baseName": "confirmed_at",
373
377
  "type": "number"
374
378
  },
379
+ {
380
+ "name": "confirmed_by",
381
+ "baseName": "confirmed_by",
382
+ "type": "string"
383
+ },
375
384
  {
376
385
  "name": "missed_at",
377
386
  "baseName": "missed_at",
@@ -225,6 +225,10 @@ export class CreateOfferDto {
225
225
  * Relisting ID
226
226
  */
227
227
  'relisting_id'?: string;
228
+ /**
229
+ * Relisting Price
230
+ */
231
+ 'relisting_price'?: number;
228
232
  'formula'?: CreateOfferDtoFormula;
229
233
  /**
230
234
  * Product specifications file ID (deprecated)
@@ -270,6 +274,10 @@ export class CreateOfferDto {
270
274
  * Array for overwrites values
271
275
  */
272
276
  'overwrites'?: Array<OverwriteItemDto>;
277
+ /**
278
+ * Allow to choose if create formula for MO
279
+ */
280
+ 'createFormulaMO'?: boolean;
273
281
 
274
282
  static discriminator: string | undefined = undefined;
275
283
 
@@ -544,6 +552,11 @@ export class CreateOfferDto {
544
552
  "baseName": "relisting_id",
545
553
  "type": "string"
546
554
  },
555
+ {
556
+ "name": "relisting_price",
557
+ "baseName": "relisting_price",
558
+ "type": "number"
559
+ },
547
560
  {
548
561
  "name": "formula",
549
562
  "baseName": "formula",
@@ -603,6 +616,11 @@ export class CreateOfferDto {
603
616
  "name": "overwrites",
604
617
  "baseName": "overwrites",
605
618
  "type": "Array<OverwriteItemDto>"
619
+ },
620
+ {
621
+ "name": "createFormulaMO",
622
+ "baseName": "createFormulaMO",
623
+ "type": "boolean"
606
624
  } ];
607
625
 
608
626
  static getAttributeTypeMap() {
package/model/models.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import localVarRequest from 'request';
2
2
 
3
3
  export * from './addFutureBidDto';
4
+ export * from './bulkAddRelistingDto';
4
5
  export * from './createAutomatedOfferDto';
5
6
  export * from './createMatchedOfferDto';
6
7
  export * from './createOfferDto';
@@ -43,6 +44,7 @@ export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
43
44
 
44
45
 
45
46
  import { AddFutureBidDto } from './addFutureBidDto';
47
+ import { BulkAddRelistingDto } from './bulkAddRelistingDto';
46
48
  import { CreateAutomatedOfferDto } from './createAutomatedOfferDto';
47
49
  import { CreateMatchedOfferDto } from './createMatchedOfferDto';
48
50
  import { CreateOfferDto } from './createOfferDto';
@@ -97,6 +99,7 @@ let enumsMap: {[index: string]: any} = {
97
99
 
98
100
  let typeMap: {[index: string]: any} = {
99
101
  "AddFutureBidDto": AddFutureBidDto,
102
+ "BulkAddRelistingDto": BulkAddRelistingDto,
100
103
  "CreateAutomatedOfferDto": CreateAutomatedOfferDto,
101
104
  "CreateMatchedOfferDto": CreateMatchedOfferDto,
102
105
  "CreateOfferDto": CreateOfferDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradecafe/offer-service-sdk",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "description": "NodeJS client for @tradecafe/offer-service-sdk",
5
5
  "repository": {
6
6
  "type": "git",