@tradecafe/offer-service-sdk 0.0.35 → 0.0.37
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/.openapi-generator/FILES +41 -38
- package/dist/api/apis.d.ts +20 -20
- package/dist/api/apis.js +56 -56
- package/dist/api/automatedOffersApi.d.ts +112 -112
- package/dist/api/automatedOffersApi.js +876 -876
- package/dist/api/futureBidsApi.d.ts +65 -65
- package/dist/api/futureBidsApi.js +456 -456
- package/dist/api/healthApi.d.ts +32 -32
- package/dist/api/healthApi.js +174 -174
- package/dist/api/matchedOffersApi.d.ts +177 -177
- package/dist/api/matchedOffersApi.js +1410 -1410
- package/dist/api/offersApi.d.ts +184 -184
- package/dist/api/offersApi.js +1469 -1469
- package/dist/api.d.ts +2 -2
- package/dist/api.js +18 -18
- package/dist/model/addFutureBidDto.d.ts +17 -17
- package/dist/model/addFutureBidDto.js +35 -35
- package/dist/model/createAutomatedOfferDto.d.ts +117 -114
- package/dist/model/createAutomatedOfferDto.js +396 -386
- package/dist/model/createAutomatedOfferDto.js.map +1 -1
- package/dist/model/createMatchedOfferDto.d.ts +83 -83
- package/dist/model/createMatchedOfferDto.js +310 -310
- package/dist/model/createOfferDto.d.ts +107 -104
- package/dist/model/createOfferDto.js +377 -367
- package/dist/model/createOfferDto.js.map +1 -1
- package/dist/model/createOfferDtoAttributes.d.ts +49 -49
- package/dist/model/createOfferDtoAttributes.js +159 -159
- package/dist/model/createOfferDtoFormula.d.ts +19 -19
- package/dist/model/createOfferDtoFormula.js +40 -40
- package/dist/model/createOfferDtoPacking.d.ts +17 -17
- package/dist/model/createOfferDtoPacking.js +35 -35
- package/dist/model/createOfferDtoWeight.d.ts +15 -15
- package/dist/model/createOfferDtoWeight.js +25 -25
- package/dist/model/formulaDto.d.ts +19 -19
- package/dist/model/formulaDto.js +40 -40
- package/dist/model/formulaLineDto.d.ts +17 -17
- package/dist/model/formulaLineDto.js +35 -35
- package/dist/model/generalAddressDto.d.ts +43 -43
- package/dist/model/generalAddressDto.js +165 -165
- package/dist/model/healthControllerPing200Response.d.ts +24 -24
- package/dist/model/healthControllerPing200Response.js +35 -35
- package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -10
- package/dist/model/healthControllerPing200ResponseInfoValue.js +36 -36
- package/dist/model/healthControllerPing503Response.d.ts +24 -24
- package/dist/model/healthControllerPing503Response.js +35 -35
- package/dist/model/models.d.ts +74 -71
- package/dist/model/models.js +316 -307
- package/dist/model/models.js.map +1 -1
- package/dist/model/offerAttributesDto.d.ts +49 -49
- package/dist/model/offerAttributesDto.js +159 -159
- package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -43
- package/dist/model/offerAttributesDtoEstablishment.js +165 -165
- package/dist/model/overwriteItemDto.d.ts +21 -0
- package/dist/model/overwriteItemDto.js +51 -0
- package/dist/model/overwriteItemDto.js.map +1 -0
- package/dist/model/overwriteItemDtoWeight.d.ts +14 -0
- package/dist/model/overwriteItemDtoWeight.js +21 -0
- package/dist/model/overwriteItemDtoWeight.js.map +1 -0
- package/dist/model/packing.d.ts +17 -17
- package/dist/model/packing.js +35 -35
- package/dist/model/pinActionDto.d.ts +14 -14
- package/dist/model/pinActionDto.js +20 -20
- package/dist/model/relistingConfigDto.d.ts +17 -17
- package/dist/model/relistingConfigDto.js +35 -35
- package/dist/model/relistingDetailDto.d.ts +31 -31
- package/dist/model/relistingDetailDto.js +62 -62
- package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -19
- package/dist/model/relistingDetailDtoRandomConfig.js +45 -45
- package/dist/model/relistingRandomConfigDto.d.ts +19 -19
- package/dist/model/relistingRandomConfigDto.js +45 -45
- package/dist/model/updateFutureBidDto.d.ts +17 -17
- package/dist/model/updateFutureBidDto.js +35 -35
- package/dist/model/userPin.d.ts +15 -15
- package/dist/model/userPin.js +25 -25
- package/dist/model/weight.d.ts +15 -15
- package/dist/model/weight.js +25 -25
- package/dist/model/weightDto.d.ts +14 -0
- package/dist/model/weightDto.js +21 -0
- package/dist/model/weightDto.js.map +1 -0
- package/model/createAutomatedOfferDto.ts +19 -0
- package/model/createOfferDto.ts +19 -0
- package/model/models.ts +9 -0
- package/model/overwriteItemDto.ts +86 -0
- package/model/overwriteItemDtoWeight.ts +38 -0
- package/model/weightDto.ts +34 -0
- package/package.json +1 -1
package/dist/model/userPin.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserPin = void 0;
|
|
4
|
-
var UserPin = (function () {
|
|
5
|
-
function UserPin() {
|
|
6
|
-
}
|
|
7
|
-
UserPin.getAttributeTypeMap = function () {
|
|
8
|
-
return UserPin.attributeTypeMap;
|
|
9
|
-
};
|
|
10
|
-
UserPin.discriminator = undefined;
|
|
11
|
-
UserPin.attributeTypeMap = [
|
|
12
|
-
{
|
|
13
|
-
"name": "user_id",
|
|
14
|
-
"baseName": "user_id",
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "timestamp",
|
|
19
|
-
"baseName": "timestamp",
|
|
20
|
-
"type": "number"
|
|
21
|
-
}
|
|
22
|
-
];
|
|
23
|
-
return UserPin;
|
|
24
|
-
}());
|
|
25
|
-
exports.UserPin = UserPin;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserPin = void 0;
|
|
4
|
+
var UserPin = (function () {
|
|
5
|
+
function UserPin() {
|
|
6
|
+
}
|
|
7
|
+
UserPin.getAttributeTypeMap = function () {
|
|
8
|
+
return UserPin.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UserPin.discriminator = undefined;
|
|
11
|
+
UserPin.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "user_id",
|
|
14
|
+
"baseName": "user_id",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "timestamp",
|
|
19
|
+
"baseName": "timestamp",
|
|
20
|
+
"type": "number"
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
return UserPin;
|
|
24
|
+
}());
|
|
25
|
+
exports.UserPin = UserPin;
|
|
26
26
|
//# sourceMappingURL=userPin.js.map
|
package/dist/model/weight.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare class Weight {
|
|
2
|
-
'amount': number;
|
|
3
|
-
'unit': string;
|
|
4
|
-
static discriminator: string | undefined;
|
|
5
|
-
static attributeTypeMap: Array<{
|
|
6
|
-
name: string;
|
|
7
|
-
baseName: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}>;
|
|
10
|
-
static getAttributeTypeMap(): {
|
|
11
|
-
name: string;
|
|
12
|
-
baseName: string;
|
|
13
|
-
type: string;
|
|
14
|
-
}[];
|
|
15
|
-
}
|
|
1
|
+
export declare class Weight {
|
|
2
|
+
'amount': number;
|
|
3
|
+
'unit': string;
|
|
4
|
+
static discriminator: string | undefined;
|
|
5
|
+
static attributeTypeMap: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
baseName: string;
|
|
8
|
+
type: string;
|
|
9
|
+
}>;
|
|
10
|
+
static getAttributeTypeMap(): {
|
|
11
|
+
name: string;
|
|
12
|
+
baseName: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}[];
|
|
15
|
+
}
|
package/dist/model/weight.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Weight = void 0;
|
|
4
|
-
var Weight = (function () {
|
|
5
|
-
function Weight() {
|
|
6
|
-
}
|
|
7
|
-
Weight.getAttributeTypeMap = function () {
|
|
8
|
-
return Weight.attributeTypeMap;
|
|
9
|
-
};
|
|
10
|
-
Weight.discriminator = undefined;
|
|
11
|
-
Weight.attributeTypeMap = [
|
|
12
|
-
{
|
|
13
|
-
"name": "amount",
|
|
14
|
-
"baseName": "amount",
|
|
15
|
-
"type": "number"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "unit",
|
|
19
|
-
"baseName": "unit",
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
22
|
-
];
|
|
23
|
-
return Weight;
|
|
24
|
-
}());
|
|
25
|
-
exports.Weight = Weight;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Weight = void 0;
|
|
4
|
+
var Weight = (function () {
|
|
5
|
+
function Weight() {
|
|
6
|
+
}
|
|
7
|
+
Weight.getAttributeTypeMap = function () {
|
|
8
|
+
return Weight.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
Weight.discriminator = undefined;
|
|
11
|
+
Weight.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "amount",
|
|
14
|
+
"baseName": "amount",
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "unit",
|
|
19
|
+
"baseName": "unit",
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
return Weight;
|
|
24
|
+
}());
|
|
25
|
+
exports.Weight = Weight;
|
|
26
26
|
//# sourceMappingURL=weight.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class WeightDto {
|
|
2
|
+
'unit': string;
|
|
3
|
+
static discriminator: string | undefined;
|
|
4
|
+
static attributeTypeMap: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
baseName: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}>;
|
|
9
|
+
static getAttributeTypeMap(): {
|
|
10
|
+
name: string;
|
|
11
|
+
baseName: string;
|
|
12
|
+
type: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WeightDto = void 0;
|
|
4
|
+
var WeightDto = (function () {
|
|
5
|
+
function WeightDto() {
|
|
6
|
+
}
|
|
7
|
+
WeightDto.getAttributeTypeMap = function () {
|
|
8
|
+
return WeightDto.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
WeightDto.discriminator = undefined;
|
|
11
|
+
WeightDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "unit",
|
|
14
|
+
"baseName": "unit",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
return WeightDto;
|
|
19
|
+
}());
|
|
20
|
+
exports.WeightDto = WeightDto;
|
|
21
|
+
//# sourceMappingURL=weightDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weightDto.js","sourceRoot":"","sources":["../../model/weightDto.ts"],"names":[],"mappings":";;;AAcA;IAAA;IAkBA,CAAC;IAHU,6BAAmB,GAA1B;QACI,OAAO,SAAS,CAAC,gBAAgB,CAAC;IACtC,CAAC;IAXM,uBAAa,GAAuB,SAAS,CAAC;IAE9C,0BAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,gBAAC;CAAA,AAlBD,IAkBC;AAlBY,8BAAS"}
|
|
@@ -15,6 +15,7 @@ import { CreateOfferDtoAttributes } from './createOfferDtoAttributes';
|
|
|
15
15
|
import { CreateOfferDtoFormula } from './createOfferDtoFormula';
|
|
16
16
|
import { CreateOfferDtoPacking } from './createOfferDtoPacking';
|
|
17
17
|
import { CreateOfferDtoWeight } from './createOfferDtoWeight';
|
|
18
|
+
import { OverwriteItemDto } from './overwriteItemDto';
|
|
18
19
|
import { RelistingDetailDto } from './relistingDetailDto';
|
|
19
20
|
|
|
20
21
|
export class CreateAutomatedOfferDto {
|
|
@@ -150,6 +151,10 @@ export class CreateAutomatedOfferDto {
|
|
|
150
151
|
*/
|
|
151
152
|
'notes'?: Array<object>;
|
|
152
153
|
/**
|
|
154
|
+
* Array of buyer_instructions
|
|
155
|
+
*/
|
|
156
|
+
'buyer_instructions'?: Array<object>;
|
|
157
|
+
/**
|
|
153
158
|
* Prioritize matched offer flag
|
|
154
159
|
*/
|
|
155
160
|
'prioritize_mo'?: boolean = false;
|
|
@@ -263,6 +268,10 @@ export class CreateAutomatedOfferDto {
|
|
|
263
268
|
*/
|
|
264
269
|
'mo_costs'?: Array<string>;
|
|
265
270
|
/**
|
|
271
|
+
* Array for overwrites values
|
|
272
|
+
*/
|
|
273
|
+
'overwrites'?: Array<OverwriteItemDto>;
|
|
274
|
+
/**
|
|
266
275
|
* Automated offer status
|
|
267
276
|
*/
|
|
268
277
|
'automated_offer_status'?: CreateAutomatedOfferDto.AutomatedOfferStatusEnum = CreateAutomatedOfferDto.AutomatedOfferStatusEnum.NUMBER_0;
|
|
@@ -449,6 +458,11 @@ export class CreateAutomatedOfferDto {
|
|
|
449
458
|
"baseName": "notes",
|
|
450
459
|
"type": "Array<object>"
|
|
451
460
|
},
|
|
461
|
+
{
|
|
462
|
+
"name": "buyer_instructions",
|
|
463
|
+
"baseName": "buyer_instructions",
|
|
464
|
+
"type": "Array<object>"
|
|
465
|
+
},
|
|
452
466
|
{
|
|
453
467
|
"name": "prioritize_mo",
|
|
454
468
|
"baseName": "prioritize_mo",
|
|
@@ -594,6 +608,11 @@ export class CreateAutomatedOfferDto {
|
|
|
594
608
|
"baseName": "mo_costs",
|
|
595
609
|
"type": "Array<string>"
|
|
596
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"name": "overwrites",
|
|
613
|
+
"baseName": "overwrites",
|
|
614
|
+
"type": "Array<OverwriteItemDto>"
|
|
615
|
+
},
|
|
597
616
|
{
|
|
598
617
|
"name": "automated_offer_status",
|
|
599
618
|
"baseName": "automated_offer_status",
|
package/model/createOfferDto.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { CreateOfferDtoAttributes } from './createOfferDtoAttributes';
|
|
|
15
15
|
import { CreateOfferDtoFormula } from './createOfferDtoFormula';
|
|
16
16
|
import { CreateOfferDtoPacking } from './createOfferDtoPacking';
|
|
17
17
|
import { CreateOfferDtoWeight } from './createOfferDtoWeight';
|
|
18
|
+
import { OverwriteItemDto } from './overwriteItemDto';
|
|
18
19
|
|
|
19
20
|
export class CreateOfferDto {
|
|
20
21
|
/**
|
|
@@ -149,6 +150,10 @@ export class CreateOfferDto {
|
|
|
149
150
|
*/
|
|
150
151
|
'notes'?: Array<object>;
|
|
151
152
|
/**
|
|
153
|
+
* Array of buyer_instructions
|
|
154
|
+
*/
|
|
155
|
+
'buyer_instructions'?: Array<object>;
|
|
156
|
+
/**
|
|
152
157
|
* Prioritize matched offer flag
|
|
153
158
|
*/
|
|
154
159
|
'prioritize_mo'?: boolean = false;
|
|
@@ -261,6 +266,10 @@ export class CreateOfferDto {
|
|
|
261
266
|
* Array of matched offer cost IDs
|
|
262
267
|
*/
|
|
263
268
|
'mo_costs'?: Array<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Array for overwrites values
|
|
271
|
+
*/
|
|
272
|
+
'overwrites'?: Array<OverwriteItemDto>;
|
|
264
273
|
|
|
265
274
|
static discriminator: string | undefined = undefined;
|
|
266
275
|
|
|
@@ -440,6 +449,11 @@ export class CreateOfferDto {
|
|
|
440
449
|
"baseName": "notes",
|
|
441
450
|
"type": "Array<object>"
|
|
442
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"name": "buyer_instructions",
|
|
454
|
+
"baseName": "buyer_instructions",
|
|
455
|
+
"type": "Array<object>"
|
|
456
|
+
},
|
|
443
457
|
{
|
|
444
458
|
"name": "prioritize_mo",
|
|
445
459
|
"baseName": "prioritize_mo",
|
|
@@ -584,6 +598,11 @@ export class CreateOfferDto {
|
|
|
584
598
|
"name": "mo_costs",
|
|
585
599
|
"baseName": "mo_costs",
|
|
586
600
|
"type": "Array<string>"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "overwrites",
|
|
604
|
+
"baseName": "overwrites",
|
|
605
|
+
"type": "Array<OverwriteItemDto>"
|
|
587
606
|
} ];
|
|
588
607
|
|
|
589
608
|
static getAttributeTypeMap() {
|
package/model/models.ts
CHANGED
|
@@ -16,6 +16,8 @@ export * from './healthControllerPing200ResponseInfoValue';
|
|
|
16
16
|
export * from './healthControllerPing503Response';
|
|
17
17
|
export * from './offerAttributesDto';
|
|
18
18
|
export * from './offerAttributesDtoEstablishment';
|
|
19
|
+
export * from './overwriteItemDto';
|
|
20
|
+
export * from './overwriteItemDtoWeight';
|
|
19
21
|
export * from './packing';
|
|
20
22
|
export * from './pinActionDto';
|
|
21
23
|
export * from './relistingConfigDto';
|
|
@@ -25,6 +27,7 @@ export * from './relistingRandomConfigDto';
|
|
|
25
27
|
export * from './updateFutureBidDto';
|
|
26
28
|
export * from './userPin';
|
|
27
29
|
export * from './weight';
|
|
30
|
+
export * from './weightDto';
|
|
28
31
|
|
|
29
32
|
import * as fs from 'fs';
|
|
30
33
|
|
|
@@ -55,6 +58,8 @@ import { HealthControllerPing200ResponseInfoValue } from './healthControllerPing
|
|
|
55
58
|
import { HealthControllerPing503Response } from './healthControllerPing503Response';
|
|
56
59
|
import { OfferAttributesDto } from './offerAttributesDto';
|
|
57
60
|
import { OfferAttributesDtoEstablishment } from './offerAttributesDtoEstablishment';
|
|
61
|
+
import { OverwriteItemDto } from './overwriteItemDto';
|
|
62
|
+
import { OverwriteItemDtoWeight } from './overwriteItemDtoWeight';
|
|
58
63
|
import { Packing } from './packing';
|
|
59
64
|
import { PinActionDto } from './pinActionDto';
|
|
60
65
|
import { RelistingConfigDto } from './relistingConfigDto';
|
|
@@ -64,6 +69,7 @@ import { RelistingRandomConfigDto } from './relistingRandomConfigDto';
|
|
|
64
69
|
import { UpdateFutureBidDto } from './updateFutureBidDto';
|
|
65
70
|
import { UserPin } from './userPin';
|
|
66
71
|
import { Weight } from './weight';
|
|
72
|
+
import { WeightDto } from './weightDto';
|
|
67
73
|
|
|
68
74
|
/* tslint:disable:no-unused-variable */
|
|
69
75
|
let primitives = [
|
|
@@ -106,6 +112,8 @@ let typeMap: {[index: string]: any} = {
|
|
|
106
112
|
"HealthControllerPing503Response": HealthControllerPing503Response,
|
|
107
113
|
"OfferAttributesDto": OfferAttributesDto,
|
|
108
114
|
"OfferAttributesDtoEstablishment": OfferAttributesDtoEstablishment,
|
|
115
|
+
"OverwriteItemDto": OverwriteItemDto,
|
|
116
|
+
"OverwriteItemDtoWeight": OverwriteItemDtoWeight,
|
|
109
117
|
"Packing": Packing,
|
|
110
118
|
"PinActionDto": PinActionDto,
|
|
111
119
|
"RelistingConfigDto": RelistingConfigDto,
|
|
@@ -115,6 +123,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
115
123
|
"UpdateFutureBidDto": UpdateFutureBidDto,
|
|
116
124
|
"UserPin": UserPin,
|
|
117
125
|
"Weight": Weight,
|
|
126
|
+
"WeightDto": WeightDto,
|
|
118
127
|
}
|
|
119
128
|
|
|
120
129
|
export class ObjectSerializer {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TradeCafé Offer Service
|
|
3
|
+
* Offer Service allows supplies to submit product offers into the TradeCafe platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { OverwriteItemDtoWeight } from './overwriteItemDtoWeight';
|
|
15
|
+
|
|
16
|
+
export class OverwriteItemDto {
|
|
17
|
+
/**
|
|
18
|
+
* Account of buyer
|
|
19
|
+
*/
|
|
20
|
+
'buyer'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Overwrites Price
|
|
23
|
+
*/
|
|
24
|
+
'price': number;
|
|
25
|
+
/**
|
|
26
|
+
* Shipment overwrites end date (Unix timestamp)
|
|
27
|
+
*/
|
|
28
|
+
'ship_end': number;
|
|
29
|
+
/**
|
|
30
|
+
* Shipment overwrites start date (Unix timestamp)
|
|
31
|
+
*/
|
|
32
|
+
'ship_start': number;
|
|
33
|
+
/**
|
|
34
|
+
* Overwrite delivery ID
|
|
35
|
+
*/
|
|
36
|
+
'delivery'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Overwrite Currency code (uppercase)
|
|
39
|
+
*/
|
|
40
|
+
'currency': string;
|
|
41
|
+
'weight': OverwriteItemDtoWeight;
|
|
42
|
+
|
|
43
|
+
static discriminator: string | undefined = undefined;
|
|
44
|
+
|
|
45
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
46
|
+
{
|
|
47
|
+
"name": "buyer",
|
|
48
|
+
"baseName": "buyer",
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "price",
|
|
53
|
+
"baseName": "price",
|
|
54
|
+
"type": "number"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "ship_end",
|
|
58
|
+
"baseName": "ship_end",
|
|
59
|
+
"type": "number"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "ship_start",
|
|
63
|
+
"baseName": "ship_start",
|
|
64
|
+
"type": "number"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "delivery",
|
|
68
|
+
"baseName": "delivery",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "currency",
|
|
73
|
+
"baseName": "currency",
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "weight",
|
|
78
|
+
"baseName": "weight",
|
|
79
|
+
"type": "OverwriteItemDtoWeight"
|
|
80
|
+
} ];
|
|
81
|
+
|
|
82
|
+
static getAttributeTypeMap() {
|
|
83
|
+
return OverwriteItemDto.attributeTypeMap;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TradeCafé Offer Service
|
|
3
|
+
* Offer Service allows supplies to submit product offers into the TradeCafe platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { WeightDto } from './weightDto';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Overwrites Weight information
|
|
18
|
+
*/
|
|
19
|
+
export class OverwriteItemDtoWeight {
|
|
20
|
+
/**
|
|
21
|
+
* Weight unit
|
|
22
|
+
*/
|
|
23
|
+
'unit': string;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
28
|
+
{
|
|
29
|
+
"name": "unit",
|
|
30
|
+
"baseName": "unit",
|
|
31
|
+
"type": "string"
|
|
32
|
+
} ];
|
|
33
|
+
|
|
34
|
+
static getAttributeTypeMap() {
|
|
35
|
+
return OverwriteItemDtoWeight.attributeTypeMap;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TradeCafé Offer Service
|
|
3
|
+
* Offer Service allows supplies to submit product offers into the TradeCafe platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
export class WeightDto {
|
|
16
|
+
/**
|
|
17
|
+
* Weight unit
|
|
18
|
+
*/
|
|
19
|
+
'unit': string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "unit",
|
|
26
|
+
"baseName": "unit",
|
|
27
|
+
"type": "string"
|
|
28
|
+
} ];
|
|
29
|
+
|
|
30
|
+
static getAttributeTypeMap() {
|
|
31
|
+
return WeightDto.attributeTypeMap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|