@tradecafe/offer-service-sdk 0.0.49 → 0.0.50
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 +8 -0
- package/dist/model/associatedCostDto.d.ts +16 -0
- package/dist/model/associatedCostDto.js +31 -0
- package/dist/model/associatedCostDto.js.map +1 -0
- package/dist/model/costAmountDto.d.ts +3 -0
- package/dist/model/costAmountDto.js +15 -0
- package/dist/model/costAmountDto.js.map +1 -1
- package/dist/model/costAttributesDto.d.ts +32 -0
- package/dist/model/costAttributesDto.js +101 -0
- package/dist/model/costAttributesDto.js.map +1 -0
- package/dist/model/costAttributesDtoAssociated.d.ts +16 -0
- package/dist/model/costAttributesDtoAssociated.js +31 -0
- package/dist/model/costAttributesDtoAssociated.js.map +1 -0
- package/dist/model/costAttributesDtoDefaultCost.d.ts +18 -0
- package/dist/model/costAttributesDtoDefaultCost.js +41 -0
- package/dist/model/costAttributesDtoDefaultCost.js.map +1 -0
- package/dist/model/costDto.d.ts +15 -1
- package/dist/model/costDto.js +61 -1
- package/dist/model/costDto.js.map +1 -1
- package/dist/model/costDtoAmount.d.ts +17 -0
- package/dist/model/costDtoAmount.js +36 -0
- package/dist/model/costDtoAmount.js.map +1 -0
- package/dist/model/costDtoAttributes.d.ts +32 -0
- package/dist/model/costDtoAttributes.js +101 -0
- package/dist/model/costDtoAttributes.js.map +1 -0
- package/dist/model/costDtoSource.d.ts +2 -1
- package/dist/model/costDtoSource.js +8 -3
- package/dist/model/costDtoSource.js.map +1 -1
- package/dist/model/costSourceDto.d.ts +15 -0
- package/dist/model/costSourceDto.js +26 -0
- package/dist/model/costSourceDto.js.map +1 -0
- package/dist/model/defaultCostDto.d.ts +18 -0
- package/dist/model/defaultCostDto.js +41 -0
- package/dist/model/defaultCostDto.js.map +1 -0
- package/dist/model/models.d.ts +8 -0
- package/dist/model/models.js +24 -0
- package/dist/model/models.js.map +1 -1
- package/model/associatedCostDto.ts +52 -0
- package/model/costAmountDto.ts +28 -1
- package/model/costAttributesDto.ts +174 -0
- package/model/costAttributesDtoAssociated.ts +56 -0
- package/model/costAttributesDtoDefaultCost.ts +74 -0
- package/model/costDto.ts +110 -6
- package/model/costDtoAmount.ts +65 -0
- package/model/costDtoAttributes.ts +178 -0
- package/model/costDtoSource.ts +16 -7
- package/model/costSourceDto.ts +43 -0
- package/model/defaultCostDto.ts +70 -0
- package/model/models.ts +24 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -10,13 +10,20 @@ api/offersApi.ts
|
|
|
10
10
|
git_push.sh
|
|
11
11
|
model/addFutureBidDto.ts
|
|
12
12
|
model/addMatchedDeliveryDateDto.ts
|
|
13
|
+
model/associatedCostDto.ts
|
|
13
14
|
model/bulkAddRelistingDto.ts
|
|
14
15
|
model/bulkAddTertiaryCostsDto.ts
|
|
15
16
|
model/bulkUpdateDeliveryDatesDto.ts
|
|
16
17
|
model/bulkUpdateMatchedDeliveryDatesDto.ts
|
|
17
18
|
model/costAmountDto.ts
|
|
19
|
+
model/costAttributesDto.ts
|
|
20
|
+
model/costAttributesDtoAssociated.ts
|
|
21
|
+
model/costAttributesDtoDefaultCost.ts
|
|
18
22
|
model/costDto.ts
|
|
23
|
+
model/costDtoAmount.ts
|
|
24
|
+
model/costDtoAttributes.ts
|
|
19
25
|
model/costDtoSource.ts
|
|
26
|
+
model/costSourceDto.ts
|
|
20
27
|
model/createAutomatedOfferDto.ts
|
|
21
28
|
model/createMatchedOfferDto.ts
|
|
22
29
|
model/createMatchedOfferDtoAttributes.ts
|
|
@@ -25,6 +32,7 @@ model/createOfferDtoAttributes.ts
|
|
|
25
32
|
model/createOfferDtoFormula.ts
|
|
26
33
|
model/createOfferDtoPacking.ts
|
|
27
34
|
model/createOfferDtoWeight.ts
|
|
35
|
+
model/defaultCostDto.ts
|
|
28
36
|
model/formulaDto.ts
|
|
29
37
|
model/formulaLineDto.ts
|
|
30
38
|
model/generalAddressDto.ts
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class AssociatedCostDto {
|
|
2
|
+
'amount'?: number;
|
|
3
|
+
'currency'?: string;
|
|
4
|
+
'invoice_id'?: string;
|
|
5
|
+
static discriminator: string | undefined;
|
|
6
|
+
static attributeTypeMap: Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
baseName: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}>;
|
|
11
|
+
static getAttributeTypeMap(): {
|
|
12
|
+
name: string;
|
|
13
|
+
baseName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociatedCostDto = void 0;
|
|
4
|
+
var AssociatedCostDto = (function () {
|
|
5
|
+
function AssociatedCostDto() {
|
|
6
|
+
}
|
|
7
|
+
AssociatedCostDto.getAttributeTypeMap = function () {
|
|
8
|
+
return AssociatedCostDto.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
AssociatedCostDto.discriminator = undefined;
|
|
11
|
+
AssociatedCostDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "amount",
|
|
14
|
+
"baseName": "amount",
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "currency",
|
|
19
|
+
"baseName": "currency",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "invoice_id",
|
|
24
|
+
"baseName": "invoice_id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
27
|
+
];
|
|
28
|
+
return AssociatedCostDto;
|
|
29
|
+
}());
|
|
30
|
+
exports.AssociatedCostDto = AssociatedCostDto;
|
|
31
|
+
//# sourceMappingURL=associatedCostDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"associatedCostDto.js","sourceRoot":"","sources":["../../model/associatedCostDto.ts"],"names":[],"mappings":";;;AAcA;IAAA;IAoCA,CAAC;IAHU,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IArBM,+BAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,wBAAC;CAAA,AApCD,IAoCC;AApCY,8CAAiB"}
|
|
@@ -13,6 +13,21 @@ var CostAmountDto = (function () {
|
|
|
13
13
|
"name": "total",
|
|
14
14
|
"baseName": "total",
|
|
15
15
|
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "currency",
|
|
19
|
+
"baseName": "currency",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "total_cad",
|
|
24
|
+
"baseName": "total_cad",
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "cost_unit",
|
|
29
|
+
"baseName": "cost_unit",
|
|
30
|
+
"type": "number"
|
|
16
31
|
}
|
|
17
32
|
];
|
|
18
33
|
return CostAmountDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"costAmountDto.js","sourceRoot":"","sources":["../../model/costAmountDto.ts"],"names":[],"mappings":";;;AAcA;IAAA;
|
|
1
|
+
{"version":3,"file":"costAmountDto.js","sourceRoot":"","sources":["../../model/costAmountDto.ts"],"names":[],"mappings":";;;AAcA;IAAA;IA6CA,CAAC;IAHU,iCAAmB,GAA1B;QACI,OAAO,aAAa,CAAC,gBAAgB,CAAC;IAC1C,CAAC;IA1BM,2BAAa,GAAuB,SAAS,CAAC;IAE9C,8BAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,oBAAC;CAAA,AA7CD,IA6CC;AA7CY,sCAAa"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CostAttributesDtoAssociated } from './costAttributesDtoAssociated';
|
|
2
|
+
import { CostAttributesDtoDefaultCost } from './costAttributesDtoDefaultCost';
|
|
3
|
+
export declare class CostAttributesDto {
|
|
4
|
+
'default_cost'?: CostAttributesDtoDefaultCost;
|
|
5
|
+
'actual_amount'?: number;
|
|
6
|
+
'actual_currency'?: string;
|
|
7
|
+
'total_actual_cad'?: number;
|
|
8
|
+
'actual_buy_price'?: number;
|
|
9
|
+
'actual_buy_weight'?: number;
|
|
10
|
+
'actual_sell_price'?: number;
|
|
11
|
+
'actual_sell_weight'?: number;
|
|
12
|
+
'associated'?: CostAttributesDtoAssociated;
|
|
13
|
+
'product_index'?: number;
|
|
14
|
+
'buy_weight'?: number;
|
|
15
|
+
'freight_type'?: string;
|
|
16
|
+
'rate_created'?: number;
|
|
17
|
+
'rate_id'?: string;
|
|
18
|
+
'rate_until'?: number;
|
|
19
|
+
'finance_term'?: number;
|
|
20
|
+
'est_finance_term'?: number;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CostAttributesDto = void 0;
|
|
4
|
+
var CostAttributesDto = (function () {
|
|
5
|
+
function CostAttributesDto() {
|
|
6
|
+
}
|
|
7
|
+
CostAttributesDto.getAttributeTypeMap = function () {
|
|
8
|
+
return CostAttributesDto.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CostAttributesDto.discriminator = undefined;
|
|
11
|
+
CostAttributesDto.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "default_cost",
|
|
14
|
+
"baseName": "default_cost",
|
|
15
|
+
"type": "CostAttributesDtoDefaultCost"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "actual_amount",
|
|
19
|
+
"baseName": "actual_amount",
|
|
20
|
+
"type": "number"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "actual_currency",
|
|
24
|
+
"baseName": "actual_currency",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "total_actual_cad",
|
|
29
|
+
"baseName": "total_actual_cad",
|
|
30
|
+
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "actual_buy_price",
|
|
34
|
+
"baseName": "actual_buy_price",
|
|
35
|
+
"type": "number"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "actual_buy_weight",
|
|
39
|
+
"baseName": "actual_buy_weight",
|
|
40
|
+
"type": "number"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "actual_sell_price",
|
|
44
|
+
"baseName": "actual_sell_price",
|
|
45
|
+
"type": "number"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "actual_sell_weight",
|
|
49
|
+
"baseName": "actual_sell_weight",
|
|
50
|
+
"type": "number"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "associated",
|
|
54
|
+
"baseName": "associated",
|
|
55
|
+
"type": "CostAttributesDtoAssociated"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "product_index",
|
|
59
|
+
"baseName": "product_index",
|
|
60
|
+
"type": "number"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "buy_weight",
|
|
64
|
+
"baseName": "buy_weight",
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "freight_type",
|
|
69
|
+
"baseName": "freight_type",
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "rate_created",
|
|
74
|
+
"baseName": "rate_created",
|
|
75
|
+
"type": "number"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "rate_id",
|
|
79
|
+
"baseName": "rate_id",
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "rate_until",
|
|
84
|
+
"baseName": "rate_until",
|
|
85
|
+
"type": "number"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "finance_term",
|
|
89
|
+
"baseName": "finance_term",
|
|
90
|
+
"type": "number"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "est_finance_term",
|
|
94
|
+
"baseName": "est_finance_term",
|
|
95
|
+
"type": "number"
|
|
96
|
+
}
|
|
97
|
+
];
|
|
98
|
+
return CostAttributesDto;
|
|
99
|
+
}());
|
|
100
|
+
exports.CostAttributesDto = CostAttributesDto;
|
|
101
|
+
//# sourceMappingURL=costAttributesDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":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Ac;YAC1B,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,kBAAkB;YAC1B,UAAU,EAAE,kBAAkB;YAC9B,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,wBAAC;CAAA,AA5JD,IA4JC;AA5JY,8CAAiB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class CostAttributesDtoAssociated {
|
|
2
|
+
'amount'?: number;
|
|
3
|
+
'currency'?: string;
|
|
4
|
+
'invoice_id'?: string;
|
|
5
|
+
static discriminator: string | undefined;
|
|
6
|
+
static attributeTypeMap: Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
baseName: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}>;
|
|
11
|
+
static getAttributeTypeMap(): {
|
|
12
|
+
name: string;
|
|
13
|
+
baseName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CostAttributesDtoAssociated = void 0;
|
|
4
|
+
var CostAttributesDtoAssociated = (function () {
|
|
5
|
+
function CostAttributesDtoAssociated() {
|
|
6
|
+
}
|
|
7
|
+
CostAttributesDtoAssociated.getAttributeTypeMap = function () {
|
|
8
|
+
return CostAttributesDtoAssociated.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CostAttributesDtoAssociated.discriminator = undefined;
|
|
11
|
+
CostAttributesDtoAssociated.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "amount",
|
|
14
|
+
"baseName": "amount",
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "currency",
|
|
19
|
+
"baseName": "currency",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "invoice_id",
|
|
24
|
+
"baseName": "invoice_id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
27
|
+
];
|
|
28
|
+
return CostAttributesDtoAssociated;
|
|
29
|
+
}());
|
|
30
|
+
exports.CostAttributesDtoAssociated = CostAttributesDtoAssociated;
|
|
31
|
+
//# sourceMappingURL=costAttributesDtoAssociated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"costAttributesDtoAssociated.js","sourceRoot":"","sources":["../../model/costAttributesDtoAssociated.ts"],"names":[],"mappings":";;;AAkBA;IAAA;IAoCA,CAAC;IAHU,+CAAmB,GAA1B;QACI,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACxD,CAAC;IArBM,yCAAa,GAAuB,SAAS,CAAC;IAE9C,4CAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,kCAAC;CAAA,AApCD,IAoCC;AApCY,kEAA2B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class CostAttributesDtoDefaultCost {
|
|
2
|
+
'value'?: number;
|
|
3
|
+
'type'?: string;
|
|
4
|
+
'name'?: string;
|
|
5
|
+
'cost_type_id'?: string;
|
|
6
|
+
'currency'?: string;
|
|
7
|
+
static discriminator: string | undefined;
|
|
8
|
+
static attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}>;
|
|
13
|
+
static getAttributeTypeMap(): {
|
|
14
|
+
name: string;
|
|
15
|
+
baseName: string;
|
|
16
|
+
type: string;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CostAttributesDtoDefaultCost = void 0;
|
|
4
|
+
var CostAttributesDtoDefaultCost = (function () {
|
|
5
|
+
function CostAttributesDtoDefaultCost() {
|
|
6
|
+
}
|
|
7
|
+
CostAttributesDtoDefaultCost.getAttributeTypeMap = function () {
|
|
8
|
+
return CostAttributesDtoDefaultCost.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CostAttributesDtoDefaultCost.discriminator = undefined;
|
|
11
|
+
CostAttributesDtoDefaultCost.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "value",
|
|
14
|
+
"baseName": "value",
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "type",
|
|
19
|
+
"baseName": "type",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "name",
|
|
24
|
+
"baseName": "name",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "cost_type_id",
|
|
29
|
+
"baseName": "cost_type_id",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "currency",
|
|
34
|
+
"baseName": "currency",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
];
|
|
38
|
+
return CostAttributesDtoDefaultCost;
|
|
39
|
+
}());
|
|
40
|
+
exports.CostAttributesDtoDefaultCost = CostAttributesDtoDefaultCost;
|
|
41
|
+
//# sourceMappingURL=costAttributesDtoDefaultCost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"costAttributesDtoDefaultCost.js","sourceRoot":"","sources":["../../model/costAttributesDtoDefaultCost.ts"],"names":[],"mappings":";;;AAkBA;IAAA;IAsDA,CAAC;IAHU,gDAAmB,GAA1B;QACI,OAAO,4BAA4B,CAAC,gBAAgB,CAAC;IACzD,CAAC;IA/BM,0CAAa,GAAuB,SAAS,CAAC;IAE9C,6CAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,mCAAC;CAAA,AAtDD,IAsDC;AAtDY,oEAA4B"}
|
package/dist/model/costDto.d.ts
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
import { CostDtoAmount } from './costDtoAmount';
|
|
2
|
+
import { CostDtoAttributes } from './costDtoAttributes';
|
|
1
3
|
import { CostDtoSource } from './costDtoSource';
|
|
2
4
|
export declare class CostDto {
|
|
3
5
|
'type'?: string;
|
|
6
|
+
'amount'?: CostDtoAmount;
|
|
4
7
|
'product_id'?: string;
|
|
5
|
-
'
|
|
8
|
+
'service'?: string;
|
|
9
|
+
'status'?: string;
|
|
10
|
+
'attributes'?: CostDtoAttributes;
|
|
6
11
|
'updated_by'?: string;
|
|
12
|
+
'account'?: string;
|
|
13
|
+
'deal_id'?: string;
|
|
14
|
+
'provider'?: string;
|
|
15
|
+
'created'?: number;
|
|
16
|
+
'updated'?: number;
|
|
17
|
+
'cost_id'?: string;
|
|
18
|
+
'actualized_at'?: number;
|
|
19
|
+
'actualized_by'?: string;
|
|
20
|
+
'migration'?: boolean;
|
|
7
21
|
'source'?: CostDtoSource;
|
|
8
22
|
'ID'?: string;
|
|
9
23
|
'creator_id'?: string;
|
package/dist/model/costDto.js
CHANGED
|
@@ -14,21 +14,81 @@ var CostDto = (function () {
|
|
|
14
14
|
"baseName": "type",
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
|
+
{
|
|
18
|
+
"name": "amount",
|
|
19
|
+
"baseName": "amount",
|
|
20
|
+
"type": "CostDtoAmount"
|
|
21
|
+
},
|
|
17
22
|
{
|
|
18
23
|
"name": "product_id",
|
|
19
24
|
"baseName": "product_id",
|
|
20
25
|
"type": "string"
|
|
21
26
|
},
|
|
27
|
+
{
|
|
28
|
+
"name": "service",
|
|
29
|
+
"baseName": "service",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "status",
|
|
34
|
+
"baseName": "status",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
22
37
|
{
|
|
23
38
|
"name": "attributes",
|
|
24
39
|
"baseName": "attributes",
|
|
25
|
-
"type": "
|
|
40
|
+
"type": "CostDtoAttributes"
|
|
26
41
|
},
|
|
27
42
|
{
|
|
28
43
|
"name": "updated_by",
|
|
29
44
|
"baseName": "updated_by",
|
|
30
45
|
"type": "string"
|
|
31
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"name": "account",
|
|
49
|
+
"baseName": "account",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "deal_id",
|
|
54
|
+
"baseName": "deal_id",
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "provider",
|
|
59
|
+
"baseName": "provider",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "created",
|
|
64
|
+
"baseName": "created",
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "updated",
|
|
69
|
+
"baseName": "updated",
|
|
70
|
+
"type": "number"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "cost_id",
|
|
74
|
+
"baseName": "cost_id",
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "actualized_at",
|
|
79
|
+
"baseName": "actualized_at",
|
|
80
|
+
"type": "number"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "actualized_by",
|
|
84
|
+
"baseName": "actualized_by",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "migration",
|
|
89
|
+
"baseName": "migration",
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
},
|
|
32
92
|
{
|
|
33
93
|
"name": "source",
|
|
34
94
|
"baseName": "source",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"costDto.js","sourceRoot":"","sources":["../../model/costDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"costDto.js","sourceRoot":"","sources":["../../model/costDto.ts"],"names":[],"mappings":";;;AAiBA;IAAA;IA2KA,CAAC;IAHU,2BAAmB,GAA1B;QACI,OAAO,OAAO,CAAC,gBAAgB,CAAC;IACpC,CAAC;IArGM,qBAAa,GAAuB,SAAS,CAAC;IAE9C,wBAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAA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AAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,eAAe;SAC1B;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,cAAC;CAAA,AA3KD,IA2KC;AA3KY,0BAAO"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class CostDtoAmount {
|
|
2
|
+
'total'?: number;
|
|
3
|
+
'currency'?: string;
|
|
4
|
+
'total_cad'?: number;
|
|
5
|
+
'cost_unit'?: number;
|
|
6
|
+
static discriminator: string | undefined;
|
|
7
|
+
static attributeTypeMap: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
baseName: string;
|
|
10
|
+
type: string;
|
|
11
|
+
}>;
|
|
12
|
+
static getAttributeTypeMap(): {
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CostDtoAmount = void 0;
|
|
4
|
+
var CostDtoAmount = (function () {
|
|
5
|
+
function CostDtoAmount() {
|
|
6
|
+
}
|
|
7
|
+
CostDtoAmount.getAttributeTypeMap = function () {
|
|
8
|
+
return CostDtoAmount.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CostDtoAmount.discriminator = undefined;
|
|
11
|
+
CostDtoAmount.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "total",
|
|
14
|
+
"baseName": "total",
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "currency",
|
|
19
|
+
"baseName": "currency",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "total_cad",
|
|
24
|
+
"baseName": "total_cad",
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "cost_unit",
|
|
29
|
+
"baseName": "cost_unit",
|
|
30
|
+
"type": "number"
|
|
31
|
+
}
|
|
32
|
+
];
|
|
33
|
+
return CostDtoAmount;
|
|
34
|
+
}());
|
|
35
|
+
exports.CostDtoAmount = CostDtoAmount;
|
|
36
|
+
//# sourceMappingURL=costDtoAmount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"costDtoAmount.js","sourceRoot":"","sources":["../../model/costDtoAmount.ts"],"names":[],"mappings":";;;AAkBA;IAAA;IA6CA,CAAC;IAHU,iCAAmB,GAA1B;QACI,OAAO,aAAa,CAAC,gBAAgB,CAAC;IAC1C,CAAC;IA1BM,2BAAa,GAAuB,SAAS,CAAC;IAE9C,8BAAgB,GAA0D;QAC7E;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;SACnB;QACD;YACI,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;SACnB;KAAK,CAAC;IAKf,oBAAC;CAAA,AA7CD,IA6CC;AA7CY,sCAAa"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CostAttributesDtoAssociated } from './costAttributesDtoAssociated';
|
|
2
|
+
import { CostAttributesDtoDefaultCost } from './costAttributesDtoDefaultCost';
|
|
3
|
+
export declare class CostDtoAttributes {
|
|
4
|
+
'default_cost'?: CostAttributesDtoDefaultCost;
|
|
5
|
+
'actual_amount'?: number;
|
|
6
|
+
'actual_currency'?: string;
|
|
7
|
+
'total_actual_cad'?: number;
|
|
8
|
+
'actual_buy_price'?: number;
|
|
9
|
+
'actual_buy_weight'?: number;
|
|
10
|
+
'actual_sell_price'?: number;
|
|
11
|
+
'actual_sell_weight'?: number;
|
|
12
|
+
'associated'?: CostAttributesDtoAssociated;
|
|
13
|
+
'product_index'?: number;
|
|
14
|
+
'buy_weight'?: number;
|
|
15
|
+
'freight_type'?: string;
|
|
16
|
+
'rate_created'?: number;
|
|
17
|
+
'rate_id'?: string;
|
|
18
|
+
'rate_until'?: number;
|
|
19
|
+
'finance_term'?: number;
|
|
20
|
+
'est_finance_term'?: number;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|