@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
|
@@ -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 = {}));
|
|
@@ -35,7 +35,6 @@ export declare enum NotificationTypeId {
|
|
|
35
35
|
DAILYMAIL = "DAILY_MAIL",
|
|
36
36
|
DOCUMENTEXPIRE = "DOCUMENT_EXPIRE",
|
|
37
37
|
GLOBALCOMMISSIONINVOICE = "GLOBAL_COMMISSION_INVOICE",
|
|
38
|
-
GLOBALCOMMISSIONCREDITNOTEINVOICE = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE",
|
|
39
38
|
MONTHLYEMAILFORACCOUNTANT = "MONTHLY_EMAIL_FOR_ACCOUNTANT",
|
|
40
39
|
ORDERACCEPTATIONDELAY = "ORDER_ACCEPTATION_DELAY",
|
|
41
40
|
ORDERACCEPTED = "ORDER_ACCEPTED",
|
|
@@ -41,7 +41,6 @@ var NotificationTypeId;
|
|
|
41
41
|
NotificationTypeId["DAILYMAIL"] = "DAILY_MAIL";
|
|
42
42
|
NotificationTypeId["DOCUMENTEXPIRE"] = "DOCUMENT_EXPIRE";
|
|
43
43
|
NotificationTypeId["GLOBALCOMMISSIONINVOICE"] = "GLOBAL_COMMISSION_INVOICE";
|
|
44
|
-
NotificationTypeId["GLOBALCOMMISSIONCREDITNOTEINVOICE"] = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
45
44
|
NotificationTypeId["MONTHLYEMAILFORACCOUNTANT"] = "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
46
45
|
NotificationTypeId["ORDERACCEPTATIONDELAY"] = "ORDER_ACCEPTATION_DELAY";
|
|
47
46
|
NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";
|
|
@@ -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 = {}));
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Service delegated by the client to lcdp. TRUE : Client use LCDP service FALSE : Client use its own service
|
|
13
|
+
* Service delegated by the client to lcdp. TRUE : Client use LCDP service FALSE : Client use its own service Only this combinations are accepted: Payment + Billing => payment = true, billing = true, transport = false Transport + Billing => payment = true, billing = true, transport = true Payment => payment = true, billing = false, transport = false Nothing => payment = false, billing = false, transport = false
|
|
14
14
|
* @export
|
|
15
15
|
* @interface UserDelegatedServices
|
|
16
16
|
*/
|
|
@@ -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 = {}));
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
|
|
13
|
-
import { ExpressOrder, ExpressOrderCreationParameters } from '../models';
|
|
14
|
-
export interface CreateExpressOrderRequest {
|
|
15
|
-
expressOrderCreationParameters?: ExpressOrderCreationParameters;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* no description
|
|
19
|
-
*/
|
|
20
|
-
export declare class ManageExpressOrderApi extends BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Create Express Order using algorithm to make optimized buying propositions
|
|
23
|
-
* Request Express Order proposition
|
|
24
|
-
*/
|
|
25
|
-
createExpressOrderRaw(requestParameters: CreateExpressOrderRequest): Promise<ApiResponse<ExpressOrder | BlobWithMeta>>;
|
|
26
|
-
/**
|
|
27
|
-
* Create Express Order using algorithm to make optimized buying propositions
|
|
28
|
-
* Request Express Order proposition
|
|
29
|
-
*/
|
|
30
|
-
createExpressOrder(requestParameters: CreateExpressOrderRequest): Promise<ExpressOrder | BlobWithMeta>;
|
|
31
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
import { IdentifiedRangeDistributionMode } from './IdentifiedRangeDistributionMode';
|
|
13
|
-
import { QuotationDistributionMode } from './QuotationDistributionMode';
|
|
14
|
-
import { UnitaryDistributionMode } from './UnitaryDistributionMode';
|
|
15
|
-
/**
|
|
16
|
-
* @type AnyIdentifiedDistributionMode
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare type AnyIdentifiedDistributionMode = {
|
|
20
|
-
type: 'RANGE';
|
|
21
|
-
} & IdentifiedRangeDistributionMode | {
|
|
22
|
-
type: 'QUOTATION';
|
|
23
|
-
} & QuotationDistributionMode | {
|
|
24
|
-
type: 'UNITARY';
|
|
25
|
-
} & UnitaryDistributionMode;
|
|
26
|
-
export declare function AnyIdentifiedDistributionModeFromJSON(json: any): AnyIdentifiedDistributionMode;
|
|
27
|
-
export declare function AnyIdentifiedDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyIdentifiedDistributionMode;
|
|
28
|
-
export declare function AnyIdentifiedDistributionModeToJSON(value?: AnyIdentifiedDistributionMode | null): any;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-magic-cart
|
|
6
|
-
* This is the REST API of Magic cart
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __assign = (this && this.__assign) || function () {
|
|
16
|
-
__assign = Object.assign || function(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.AnyIdentifiedDistributionModeToJSON = exports.AnyIdentifiedDistributionModeFromJSONTyped = exports.AnyIdentifiedDistributionModeFromJSON = void 0;
|
|
28
|
-
var IdentifiedRangeDistributionMode_1 = require("./IdentifiedRangeDistributionMode");
|
|
29
|
-
var QuotationDistributionMode_1 = require("./QuotationDistributionMode");
|
|
30
|
-
var UnitaryDistributionMode_1 = require("./UnitaryDistributionMode");
|
|
31
|
-
function AnyIdentifiedDistributionModeFromJSON(json) {
|
|
32
|
-
return AnyIdentifiedDistributionModeFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.AnyIdentifiedDistributionModeFromJSON = AnyIdentifiedDistributionModeFromJSON;
|
|
35
|
-
function AnyIdentifiedDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
switch (json['type']) {
|
|
40
|
-
case 'RANGE':
|
|
41
|
-
return __assign(__assign({}, (0, IdentifiedRangeDistributionMode_1.IdentifiedRangeDistributionModeFromJSONTyped)(json, true)), { type: 'RANGE' });
|
|
42
|
-
case 'QUOTATION':
|
|
43
|
-
return __assign(__assign({}, (0, QuotationDistributionMode_1.QuotationDistributionModeFromJSONTyped)(json, true)), { type: 'QUOTATION' });
|
|
44
|
-
case 'UNITARY':
|
|
45
|
-
return __assign(__assign({}, (0, UnitaryDistributionMode_1.UnitaryDistributionModeFromJSONTyped)(json, true)), { type: 'UNITARY' });
|
|
46
|
-
default:
|
|
47
|
-
throw new Error("No variant of AnyIdentifiedDistributionMode exists with 'type=".concat(json['type'], "'"));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.AnyIdentifiedDistributionModeFromJSONTyped = AnyIdentifiedDistributionModeFromJSONTyped;
|
|
51
|
-
function AnyIdentifiedDistributionModeToJSON(value) {
|
|
52
|
-
if (value === undefined) {
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
55
|
-
if (value === null) {
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
switch (value['type']) {
|
|
59
|
-
case 'RANGE':
|
|
60
|
-
return (0, IdentifiedRangeDistributionMode_1.IdentifiedRangeDistributionModeToJSON)(value);
|
|
61
|
-
case 'QUOTATION':
|
|
62
|
-
return (0, QuotationDistributionMode_1.QuotationDistributionModeToJSON)(value);
|
|
63
|
-
case 'UNITARY':
|
|
64
|
-
return (0, UnitaryDistributionMode_1.UnitaryDistributionModeToJSON)(value);
|
|
65
|
-
default:
|
|
66
|
-
throw new Error("No variant of AnyIdentifiedDistributionMode exists with 'type=".concat(value['type'], "'"));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
exports.AnyIdentifiedDistributionModeToJSON = AnyIdentifiedDistributionModeToJSON;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Barcodes
|
|
16
|
-
*/
|
|
17
|
-
export interface Barcodes {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Barcodes
|
|
22
|
-
*/
|
|
23
|
-
cip?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Barcodes
|
|
28
|
-
*/
|
|
29
|
-
cip13?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof Barcodes
|
|
34
|
-
*/
|
|
35
|
-
eans?: Array<string> | null;
|
|
36
|
-
/**
|
|
37
|
-
* The principal is the referent barcode (for display, invoices, ...)
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Barcodes
|
|
40
|
-
*/
|
|
41
|
-
principal?: string;
|
|
42
|
-
}
|
|
43
|
-
export declare function BarcodesFromJSON(json: any): Barcodes;
|
|
44
|
-
export declare function BarcodesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Barcodes;
|
|
45
|
-
export declare function BarcodesToJSON(value?: Barcodes | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-magic-cart
|
|
6
|
-
* This is the REST API of Magic cart
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BarcodesToJSON = exports.BarcodesFromJSONTyped = exports.BarcodesFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function BarcodesFromJSON(json) {
|
|
19
|
-
return BarcodesFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.BarcodesFromJSON = BarcodesFromJSON;
|
|
22
|
-
function BarcodesFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'cip': !(0, runtime_1.exists)(json, 'cip') ? json['cip'] : json['cip'],
|
|
28
|
-
'cip13': !(0, runtime_1.exists)(json, 'cip13') ? json['cip13'] : json['cip13'],
|
|
29
|
-
'eans': !(0, runtime_1.exists)(json, 'eans') ? json['eans'] : json['eans'],
|
|
30
|
-
'principal': !(0, runtime_1.exists)(json, 'principal') ? undefined : json['principal'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
exports.BarcodesFromJSONTyped = BarcodesFromJSONTyped;
|
|
34
|
-
function BarcodesToJSON(value) {
|
|
35
|
-
if (value === undefined) {
|
|
36
|
-
return undefined;
|
|
37
|
-
}
|
|
38
|
-
if (value === null) {
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'cip': value.cip,
|
|
43
|
-
'cip13': value.cip13,
|
|
44
|
-
'eans': value.eans,
|
|
45
|
-
'principal': value.principal,
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.BarcodesToJSON = BarcodesToJSON;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DistributionMode
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionMode {
|
|
18
|
-
/**
|
|
19
|
-
* Type of distribution for this ad
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DistributionMode
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function DistributionModeFromJSON(json: any): DistributionMode;
|
|
26
|
-
export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
|
|
27
|
-
export declare function DistributionModeToJSON(value?: DistributionMode | null): any;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-magic-cart
|
|
6
|
-
* This is the REST API of Magic cart
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DistributionModeToJSON = exports.DistributionModeFromJSONTyped = exports.DistributionModeFromJSON = void 0;
|
|
17
|
-
function DistributionModeFromJSON(json) {
|
|
18
|
-
return DistributionModeFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeFromJSON = DistributionModeFromJSON;
|
|
21
|
-
function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'type': json['type'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
|
|
30
|
-
function DistributionModeToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'type': value.type,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.DistributionModeToJSON = DistributionModeToJSON;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DistributionRange
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionRange {
|
|
18
|
-
/**
|
|
19
|
-
* Number of item per batch
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DistributionRange
|
|
22
|
-
*/
|
|
23
|
-
quantity: number;
|
|
24
|
-
/**
|
|
25
|
-
* The unit price as a decimal.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DistributionRange
|
|
28
|
-
*/
|
|
29
|
-
unitPrice: number;
|
|
30
|
-
/**
|
|
31
|
-
* Number of free units per batch
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof DistributionRange
|
|
34
|
-
*/
|
|
35
|
-
freeUnits: number;
|
|
36
|
-
}
|
|
37
|
-
export declare function DistributionRangeFromJSON(json: any): DistributionRange;
|
|
38
|
-
export declare function DistributionRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionRange;
|
|
39
|
-
export declare function DistributionRangeToJSON(value?: DistributionRange | null): any;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-magic-cart
|
|
3
|
-
* This is the REST API of Magic cart
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
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
|
-
import { SellerProposal } from './SellerProposal';
|
|
13
|
-
/**
|
|
14
|
-
* Express Order as a list of sale offer proposal grouped by sellers
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ExpressOrder
|
|
17
|
-
*/
|
|
18
|
-
export interface ExpressOrder {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<SellerProposal>}
|
|
22
|
-
* @memberof ExpressOrder
|
|
23
|
-
*/
|
|
24
|
-
sellerProposals?: Array<SellerProposal>;
|
|
25
|
-
}
|
|
26
|
-
export declare function ExpressOrderFromJSON(json: any): ExpressOrder;
|
|
27
|
-
export declare function ExpressOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressOrder;
|
|
28
|
-
export declare function ExpressOrderToJSON(value?: ExpressOrder | null): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-magic-cart
|
|
6
|
-
* This is the REST API of Magic cart
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ExpressOrderToJSON = exports.ExpressOrderFromJSONTyped = exports.ExpressOrderFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var SellerProposal_1 = require("./SellerProposal");
|
|
19
|
-
function ExpressOrderFromJSON(json) {
|
|
20
|
-
return ExpressOrderFromJSONTyped(json, false);
|
|
21
|
-
}
|
|
22
|
-
exports.ExpressOrderFromJSON = ExpressOrderFromJSON;
|
|
23
|
-
function ExpressOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if ((json === undefined) || (json === null)) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'sellerProposals': !(0, runtime_1.exists)(json, 'sellerProposals') ? undefined : (json['sellerProposals'].map(SellerProposal_1.SellerProposalFromJSON)),
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.ExpressOrderFromJSONTyped = ExpressOrderFromJSONTyped;
|
|
32
|
-
function ExpressOrderToJSON(value) {
|
|
33
|
-
if (value === undefined) {
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
if (value === null) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'sellerProposals': value.sellerProposals === undefined ? undefined : (value.sellerProposals.map(SellerProposal_1.SellerProposalToJSON)),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.ExpressOrderToJSON = ExpressOrderToJSON;
|