@lcdp/api-react-rest-client 0.0.2-LDS-2482-Move-JSON-codegen-of-API-somewhere-else.0 → 0.0.2-develop.0
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/auth/src/models/RestError.d.ts +4 -6
- package/auth/src/models/RestError.js +0 -2
- package/configuration/src/apis/ManageVariableApi.d.ts +53 -1
- package/configuration/src/apis/ManageVariableApi.js +54 -1
- package/configuration/src/apis/SearchVariableApi.d.ts +53 -1
- package/configuration/src/apis/SearchVariableApi.js +54 -1
- package/configuration/src/models/RestError.d.ts +4 -6
- package/configuration/src/models/RestError.js +0 -2
- package/content/src/models/RestError.d.ts +4 -6
- package/content/src/models/RestError.js +0 -2
- package/favorite/src/models/RestError.d.ts +4 -6
- package/favorite/src/models/RestError.js +0 -2
- package/inventory/src/models/RestError.d.ts +4 -6
- package/inventory/src/models/RestError.js +0 -2
- package/invoice/src/models/InvoiceType.d.ts +0 -1
- package/invoice/src/models/InvoiceType.js +0 -1
- package/invoice/src/models/RestError.d.ts +4 -6
- package/invoice/src/models/RestError.js +0 -2
- package/laboratory-store/src/models/ImageVersions.d.ts +6 -6
- package/laboratory-store/src/models/ImageVersions.js +1 -1
- package/laboratory-store/src/models/RestError.d.ts +4 -6
- package/laboratory-store/src/models/RestError.js +0 -2
- package/lexicon/src/models/RestError.d.ts +4 -6
- package/lexicon/src/models/RestError.js +0 -2
- package/litigation/src/models/RestError.d.ts +4 -6
- package/litigation/src/models/RestError.js +0 -2
- package/magic-cart/src/apis/ManageMagicCartApi.d.ts +29 -0
- package/magic-cart/src/apis/{ManageExpressOrderApi.js → ManageMagicCartApi.js} +17 -16
- package/magic-cart/src/apis/index.d.ts +1 -1
- package/magic-cart/src/apis/index.js +1 -1
- package/magic-cart/src/models/AnyMagicCartCreationParameters.d.ts +25 -0
- package/magic-cart/src/models/AnyMagicCartCreationParameters.js +64 -0
- package/magic-cart/src/models/MagicCart.d.ts +28 -0
- package/magic-cart/src/models/MagicCart.js +43 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParameters.d.ts +29 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParameters.js +50 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.d.ts +28 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.js +42 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParameters.d.ts +29 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParameters.js +50 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.d.ts +28 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.js +42 -0
- package/magic-cart/src/models/MagicNeed.d.ts +39 -0
- package/magic-cart/src/models/{ExpressOrderNeed.js → MagicNeed.js} +10 -8
- package/magic-cart/src/models/MagicProductBus.d.ts +33 -0
- package/magic-cart/src/models/{HttpLink.js → MagicProductBus.js} +12 -10
- package/magic-cart/src/models/MagicProposal.d.ts +39 -0
- package/magic-cart/src/models/{DistributionRange.js → MagicProposal.js} +12 -12
- package/magic-cart/src/models/index.d.ts +9 -24
- package/magic-cart/src/models/index.js +9 -24
- package/mangopay-hook/src/apis/MangopayHookApi.d.ts +13 -0
- package/mangopay-hook/src/apis/MangopayHookApi.js +63 -1
- package/mangopay-hook/src/models/RestError.d.ts +4 -6
- package/mangopay-hook/src/models/RestError.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/models/OrderItemPrices.d.ts +1 -7
- package/order/src/models/OrderItemPrices.js +0 -2
- package/order/src/models/OrderPrices.d.ts +1 -1
- package/order/src/models/ProductLink.d.ts +7 -0
- package/order/src/models/ProductLink.js +3 -2
- package/order/src/models/ProductLinkAllOf.d.ts +7 -0
- package/order/src/models/ProductLinkAllOf.js +3 -0
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/Vat.d.ts +39 -0
- package/order/src/models/Vat.js +46 -0
- package/order/src/models/index.d.ts +1 -0
- package/order/src/models/index.js +1 -0
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +0 -1
- package/product/src/apis/SearchProductApi.js +0 -3
- package/product/src/models/ImageVersions.d.ts +6 -6
- package/product/src/models/ImageVersions.js +1 -1
- package/product/src/models/RestError.d.ts +4 -6
- package/product/src/models/RestError.js +0 -2
- package/pub/src/models/Image.d.ts +3 -3
- package/pub/src/models/Image.js +4 -3
- package/pub/src/models/ImageVersions.d.ts +6 -6
- package/pub/src/models/ImageVersions.js +1 -1
- package/pub/src/models/Pub.d.ts +7 -7
- package/pub/src/models/Pub.js +9 -9
- package/pub/src/models/PubLocationEnum.d.ts +1 -3
- package/pub/src/models/PubLocationEnum.js +0 -2
- package/pub/src/models/RestError.d.ts +4 -6
- package/pub/src/models/RestError.js +0 -2
- package/recommendation/src/apis/index.d.ts +0 -1
- package/recommendation/src/apis/index.js +0 -1
- package/recommendation/src/models/index.d.ts +0 -3
- package/recommendation/src/models/index.js +0 -3
- package/rfx/src/models/RestError.d.ts +4 -6
- package/rfx/src/models/RestError.js +0 -2
- package/sale-offer/src/models/ImageVersions.d.ts +6 -6
- package/sale-offer/src/models/ImageVersions.js +1 -1
- package/sale-offer/src/models/RestError.d.ts +4 -6
- package/sale-offer/src/models/RestError.js +0 -2
- package/servant/src/models/RestError.d.ts +4 -6
- package/servant/src/models/RestError.js +0 -2
- package/shipment/src/models/RestError.d.ts +4 -6
- package/shipment/src/models/RestError.js +0 -2
- package/shopping-cart/src/models/CartSubCartLine.d.ts +6 -0
- package/shopping-cart/src/models/CartSubCartLine.js +2 -0
- package/shopping-cart/src/models/RestError.d.ts +4 -6
- package/shopping-cart/src/models/RestError.js +0 -2
- package/statistic/src/models/RestError.d.ts +4 -6
- package/statistic/src/models/RestError.js +0 -2
- package/subscription/src/models/RestError.d.ts +4 -6
- package/subscription/src/models/RestError.js +0 -2
- package/ubo/src/models/RestError.d.ts +4 -6
- package/ubo/src/models/RestError.js +0 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/user/src/models/UserDelegatedServices.d.ts +1 -1
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/magic-cart/src/apis/ManageExpressOrderApi.d.ts +0 -31
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +0 -28
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +0 -69
- package/magic-cart/src/models/Barcodes.d.ts +0 -45
- package/magic-cart/src/models/Barcodes.js +0 -48
- package/magic-cart/src/models/DistributionMode.d.ts +0 -27
- package/magic-cart/src/models/DistributionMode.js +0 -41
- package/magic-cart/src/models/DistributionRange.d.ts +0 -39
- package/magic-cart/src/models/ExpressOrder.d.ts +0 -28
- package/magic-cart/src/models/ExpressOrder.js +0 -43
- package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +0 -34
- package/magic-cart/src/models/ExpressOrderCreationParameters.js +0 -45
- package/magic-cart/src/models/ExpressOrderNeed.d.ts +0 -33
- package/magic-cart/src/models/HttpLink.d.ts +0 -27
- package/magic-cart/src/models/IdentifiedDistributionRange.d.ts +0 -34
- package/magic-cart/src/models/IdentifiedDistributionRange.js +0 -49
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.d.ts +0 -29
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +0 -50
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/magic-cart/src/models/ProductLink.d.ts +0 -41
- package/magic-cart/src/models/ProductLink.js +0 -50
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -40
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -46
- package/magic-cart/src/models/QuotationDistributionMode.d.ts +0 -22
- package/magic-cart/src/models/QuotationDistributionMode.js +0 -28
- package/magic-cart/src/models/SaleOfferLink.d.ts +0 -54
- package/magic-cart/src/models/SaleOfferLink.js +0 -52
- package/magic-cart/src/models/SaleOfferLinkAllOf.d.ts +0 -53
- package/magic-cart/src/models/SaleOfferLinkAllOf.js +0 -52
- package/magic-cart/src/models/SaleOfferProposal.d.ts +0 -47
- package/magic-cart/src/models/SaleOfferProposal.js +0 -49
- package/magic-cart/src/models/SellerProposal.d.ts +0 -41
- package/magic-cart/src/models/SellerProposal.js +0 -47
- package/magic-cart/src/models/Stock.d.ts +0 -39
- package/magic-cart/src/models/Stock.js +0 -46
- package/magic-cart/src/models/UnitaryDistributionMode.d.ts +0 -34
- package/magic-cart/src/models/UnitaryDistributionMode.js +0 -49
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/magic-cart/src/models/UserLink.d.ts +0 -34
- package/magic-cart/src/models/UserLink.js +0 -49
- package/magic-cart/src/models/UserLinkAllOf.d.ts +0 -33
- package/magic-cart/src/models/UserLinkAllOf.js +0 -43
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +0 -45
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +0 -182
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +0 -53
- package/recommendation/src/models/FavoriteProductRecommendation.js +0 -52
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +0 -29
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +0 -50
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
package/pub/src/models/Pub.d.ts
CHANGED
|
@@ -24,13 +24,13 @@ export interface Pub {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof Pub
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
* Pub name
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof Pub
|
|
32
32
|
*/
|
|
33
|
-
name
|
|
33
|
+
name?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
* Analytic tag to collect number of clic on the pub
|
|
36
36
|
* @type {string}
|
|
@@ -48,13 +48,13 @@ export interface Pub {
|
|
|
48
48
|
* @type {HttpLink}
|
|
49
49
|
* @memberof Pub
|
|
50
50
|
*/
|
|
51
|
-
location
|
|
51
|
+
location?: HttpLink;
|
|
52
52
|
/**
|
|
53
53
|
* Value is \'True\' if pub is activated, \'False\' if not
|
|
54
54
|
* @type {boolean}
|
|
55
55
|
* @memberof Pub
|
|
56
56
|
*/
|
|
57
|
-
active
|
|
57
|
+
active?: boolean;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {PubSchedule}
|
|
@@ -78,7 +78,7 @@ export interface Pub {
|
|
|
78
78
|
* @type {HttpLink}
|
|
79
79
|
* @memberof Pub
|
|
80
80
|
*/
|
|
81
|
-
target
|
|
81
|
+
target?: HttpLink;
|
|
82
82
|
/**
|
|
83
83
|
* Total click count
|
|
84
84
|
* @type {number}
|
|
@@ -96,13 +96,13 @@ export interface Pub {
|
|
|
96
96
|
* @type {Date}
|
|
97
97
|
* @memberof Pub
|
|
98
98
|
*/
|
|
99
|
-
createdAt
|
|
99
|
+
createdAt?: Date;
|
|
100
100
|
/**
|
|
101
101
|
* Last update date of this pub
|
|
102
102
|
* @type {Date}
|
|
103
103
|
* @memberof Pub
|
|
104
104
|
*/
|
|
105
|
-
updatedAt
|
|
105
|
+
updatedAt?: Date;
|
|
106
106
|
}
|
|
107
107
|
export declare function PubFromJSON(json: any): Pub;
|
|
108
108
|
export declare function PubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pub;
|
package/pub/src/models/Pub.js
CHANGED
|
@@ -28,20 +28,20 @@ function PubFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
|
-
'id': json['id'],
|
|
32
|
-
'name': json['name'],
|
|
31
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
32
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? json['name'] : json['name'],
|
|
33
33
|
'analyticTag': !(0, runtime_1.exists)(json, 'analyticTag') ? undefined : json['analyticTag'],
|
|
34
34
|
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
35
|
-
'location': (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
|
|
36
|
-
'active': json['active'],
|
|
35
|
+
'location': !(0, runtime_1.exists)(json, 'location') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
|
|
36
|
+
'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
|
|
37
37
|
'schedule': !(0, runtime_1.exists)(json, 'schedule') ? undefined : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
|
|
38
38
|
'timecard': !(0, runtime_1.exists)(json, 'timecard') ? undefined : (0, PubTimecard_1.PubTimecardFromJSON)(json['timecard']),
|
|
39
39
|
'image': !(0, runtime_1.exists)(json, 'image') ? undefined : (0, Image_1.ImageFromJSON)(json['image']),
|
|
40
|
-
'target': (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
|
|
40
|
+
'target': !(0, runtime_1.exists)(json, 'target') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
|
|
41
41
|
'clickCount': !(0, runtime_1.exists)(json, 'clickCount') ? undefined : json['clickCount'],
|
|
42
42
|
'statistics': !(0, runtime_1.exists)(json, 'statistics') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['statistics']),
|
|
43
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
44
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
43
|
+
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
44
|
+
'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
exports.PubFromJSONTyped = PubFromJSONTyped;
|
|
@@ -65,8 +65,8 @@ function PubToJSON(value) {
|
|
|
65
65
|
'target': (0, HttpLink_1.HttpLinkToJSON)(value.target),
|
|
66
66
|
'clickCount': value.clickCount,
|
|
67
67
|
'statistics': (0, HttpLink_1.HttpLinkToJSON)(value.statistics),
|
|
68
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
69
|
-
'updatedAt': (value.updatedAt.toISOString()),
|
|
68
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
69
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
exports.PubToJSON = PubToJSON;
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum PubLocationEnum {
|
|
18
|
-
DASHBOARD = "DASHBOARD"
|
|
19
|
-
MAINMENU = "MAINMENU",
|
|
20
|
-
SEARCH = "SEARCH"
|
|
18
|
+
DASHBOARD = "DASHBOARD"
|
|
21
19
|
}
|
|
22
20
|
export declare function PubLocationEnumFromJSON(json: any): PubLocationEnum;
|
|
23
21
|
export declare function PubLocationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PubLocationEnum;
|
|
@@ -22,8 +22,6 @@ exports.PubLocationEnumToJSON = exports.PubLocationEnumFromJSONTyped = exports.P
|
|
|
22
22
|
var PubLocationEnum;
|
|
23
23
|
(function (PubLocationEnum) {
|
|
24
24
|
PubLocationEnum["DASHBOARD"] = "DASHBOARD";
|
|
25
|
-
PubLocationEnum["MAINMENU"] = "MAINMENU";
|
|
26
|
-
PubLocationEnum["SEARCH"] = "SEARCH";
|
|
27
25
|
})(PubLocationEnum = exports.PubLocationEnum || (exports.PubLocationEnum = {}));
|
|
28
26
|
function PubLocationEnumFromJSON(json) {
|
|
29
27
|
return PubLocationEnumFromJSONTyped(json, false);
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ManageProductRecommendationFeedbackApi"), exports);
|
|
18
|
-
__exportStar(require("./SearchFavoriteProductRecommendationApi"), exports);
|
|
19
18
|
__exportStar(require("./SearchProductPriceRecommendationApi"), exports);
|
|
20
19
|
__exportStar(require("./SearchProductRecommendationApi"), exports);
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export * from './FavoriteProductRecommendation';
|
|
2
1
|
export * from './HttpLink';
|
|
3
|
-
export * from './PaginatedFavoriteProductRecommendations';
|
|
4
|
-
export * from './PaginatedFavoriteProductRecommendationsAllOf';
|
|
5
2
|
export * from './PaginatedObject';
|
|
6
3
|
export * from './PaginatedProductPriceRecommendations';
|
|
7
4
|
export * from './PaginatedProductPriceRecommendationsAllOf';
|
|
@@ -14,10 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./FavoriteProductRecommendation"), exports);
|
|
18
17
|
__exportStar(require("./HttpLink"), exports);
|
|
19
|
-
__exportStar(require("./PaginatedFavoriteProductRecommendations"), exports);
|
|
20
|
-
__exportStar(require("./PaginatedFavoriteProductRecommendationsAllOf"), exports);
|
|
21
18
|
__exportStar(require("./PaginatedObject"), exports);
|
|
22
19
|
__exportStar(require("./PaginatedProductPriceRecommendations"), exports);
|
|
23
20
|
__exportStar(require("./PaginatedProductPriceRecommendationsAllOf"), exports);
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ImageVersions {
|
|
18
18
|
/**
|
|
19
|
-
* URI to S3 file (width
|
|
19
|
+
* URI to S3 file (width 100px, height computed with original image aspect ratio)
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ImageVersions
|
|
22
22
|
*/
|
|
23
23
|
xsmall?: string;
|
|
24
24
|
/**
|
|
25
|
-
* URI to S3 file (width
|
|
25
|
+
* URI to S3 file (width 350px, height computed with original image aspect ratio)
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ImageVersions
|
|
28
28
|
*/
|
|
29
29
|
small?: string;
|
|
30
30
|
/**
|
|
31
|
-
* URI to S3 file (width
|
|
31
|
+
* URI to S3 file (width 1024px, height computed with original image aspect ratio)
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ImageVersions
|
|
34
34
|
*/
|
|
35
35
|
medium?: string;
|
|
36
36
|
/**
|
|
37
|
-
* URI to S3 file (width
|
|
37
|
+
* URI to S3 file (width 1920px, height computed with original image aspect ratio)
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ImageVersions
|
|
40
40
|
*/
|
|
41
41
|
large?: string;
|
|
42
42
|
/**
|
|
43
|
-
* URI to S3 file (width
|
|
43
|
+
* URI to S3 file (width 3840px, height computed with original image aspect ratio)
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ImageVersions
|
|
46
46
|
*/
|
|
@@ -50,7 +50,7 @@ export interface ImageVersions {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ImageVersions
|
|
52
52
|
*/
|
|
53
|
-
original
|
|
53
|
+
original?: string;
|
|
54
54
|
}
|
|
55
55
|
export declare function ImageVersionsFromJSON(json: any): ImageVersions;
|
|
56
56
|
export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
|
|
@@ -29,7 +29,7 @@ function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
|
|
30
30
|
'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
|
|
31
31
|
'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
|
|
32
|
-
'original': json['original'],
|
|
32
|
+
'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -41,6 +41,12 @@ export interface CartSubCartLine {
|
|
|
41
41
|
* @memberof CartSubCartLine
|
|
42
42
|
*/
|
|
43
43
|
saleOffer?: SaleOfferLink;
|
|
44
|
+
/**
|
|
45
|
+
* Indicate if the line can be buy
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof CartSubCartLine
|
|
48
|
+
*/
|
|
49
|
+
buyable?: boolean;
|
|
44
50
|
/**
|
|
45
51
|
* Indicate if the line has a good quantity
|
|
46
52
|
* @type {boolean}
|
|
@@ -30,6 +30,7 @@ function CartSubCartLineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
|
|
31
31
|
'product': !(0, runtime_1.exists)(json, 'product') ? undefined : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
32
32
|
'saleOffer': !(0, runtime_1.exists)(json, 'saleOffer') ? undefined : (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
|
|
33
|
+
'buyable': !(0, runtime_1.exists)(json, 'buyable') ? undefined : json['buyable'],
|
|
33
34
|
'goodQuantity': !(0, runtime_1.exists)(json, 'goodQuantity') ? undefined : json['goodQuantity'],
|
|
34
35
|
'distributionRangeId': !(0, runtime_1.exists)(json, 'distributionRangeId') ? undefined : json['distributionRangeId'],
|
|
35
36
|
'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
|
|
@@ -48,6 +49,7 @@ function CartSubCartLineToJSON(value) {
|
|
|
48
49
|
'quantity': value.quantity,
|
|
49
50
|
'product': (0, ProductLink_1.ProductLinkToJSON)(value.product),
|
|
50
51
|
'saleOffer': (0, SaleOfferLink_1.SaleOfferLinkToJSON)(value.saleOffer),
|
|
52
|
+
'buyable': value.buyable,
|
|
51
53
|
'goodQuantity': value.goodQuantity,
|
|
52
54
|
'distributionRangeId': value.distributionRangeId,
|
|
53
55
|
'totalExcludingTaxes': value.totalExcludingTaxes,
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|