@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 = {}));
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { BaseAPI, ApiResponse } from '../runtime';
|
|
13
13
|
export interface SetVariableValueRequest {
|
|
14
|
-
variableId:
|
|
14
|
+
variableId: SetVariableValueVariableIdEnum;
|
|
15
15
|
body: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
@@ -27,3 +27,55 @@ export declare class ManageVariableApi extends BaseAPI {
|
|
|
27
27
|
*/
|
|
28
28
|
setVariableValue(requestParameters: SetVariableValueRequest): Promise<void>;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
* @enum {string}
|
|
33
|
+
*/
|
|
34
|
+
export declare enum SetVariableValueVariableIdEnum {
|
|
35
|
+
CHRONOPOSTCLOSINGDATETIME = "CHRONOPOST_CLOSING_DATE_TIME",
|
|
36
|
+
CHRONOPOSTRETRIEVALDATETIME = "CHRONOPOST_RETRIEVAL_DATE_TIME",
|
|
37
|
+
CHRONOPOSTDELIVERYDELAY = "CHRONOPOST_DELIVERY_DELAY",
|
|
38
|
+
LCDPVAT = "LCDP_VAT",
|
|
39
|
+
SELLERCOMMISSION = "SELLER_COMMISSION",
|
|
40
|
+
BUYERCOMMISSION = "BUYER_COMMISSION",
|
|
41
|
+
ORDERWORKFLOWACCEPTANCEDELAY = "ORDER_WORKFLOW_ACCEPTANCE_DELAY",
|
|
42
|
+
ORDERWORKFLOWSENDINGDELAY = "ORDER_WORKFLOW_SENDING_DELAY",
|
|
43
|
+
ORDERWORKFLOWVALIDATIONDELAY = "ORDER_WORKFLOW_VALIDATION_DELAY",
|
|
44
|
+
ORDERWORKFLOWADMINVALIDATIONDELAY = "ORDER_WORKFLOW_ADMIN_VALIDATION_DELAY",
|
|
45
|
+
ORDERWORKFLOWDELIVERYLATEDELAY = "ORDER_WORKFLOW_DELIVERY_LATE_DELAY",
|
|
46
|
+
SUBSCRIPTIONAMOUNT = "SUBSCRIPTION_AMOUNT",
|
|
47
|
+
LCDPADDRESSSTREET = "LCDP_ADDRESS_STREET",
|
|
48
|
+
LCDPADDRESSCITY = "LCDP_ADDRESS_CITY",
|
|
49
|
+
LCDPADDRESSZIPCODE = "LCDP_ADDRESS_ZIP_CODE",
|
|
50
|
+
LCDPCONTACTPHONENUMBER = "LCDP_CONTACT_PHONE_NUMBER",
|
|
51
|
+
LCDPCONTACTEMAIL = "LCDP_CONTACT_EMAIL",
|
|
52
|
+
LCDPSERVICEBILLNAME = "LCDP_SERVICE_BILL_NAME",
|
|
53
|
+
LCDPVATNUMBER = "LCDP_VAT_NUMBER",
|
|
54
|
+
LCDPSIRETNUMBER = "LCDP_SIRET_NUMBER",
|
|
55
|
+
NOTIFICATIONFROM = "NOTIFICATION_FROM",
|
|
56
|
+
METATAGKEYWORDS = "META_TAG_KEYWORDS",
|
|
57
|
+
METATAGDESCRIPTION = "META_TAG_DESCRIPTION",
|
|
58
|
+
METATITLE = "META_TITLE",
|
|
59
|
+
EXPIRATIONNOTIFICATIONDELAY = "EXPIRATION_NOTIFICATION_DELAY",
|
|
60
|
+
NOTIFICATIONMANGOPAYMAIL = "NOTIFICATION_MANGOPAY_MAIL",
|
|
61
|
+
FREECARRIAGEENABLED = "FREE_CARRIAGE_ENABLED",
|
|
62
|
+
FREECARRIAGETHRESHOLD = "FREE_CARRIAGE_THRESHOLD",
|
|
63
|
+
SHIPPINGFEESBASE = "SHIPPING_FEES_BASE",
|
|
64
|
+
SHIPPINGFEESINCREMENT = "SHIPPING_FEES_INCREMENT",
|
|
65
|
+
LANDINGVIDEOURL = "LANDING_VIDEO_URL",
|
|
66
|
+
NOTIFICATIONLABORATORYMAIL = "NOTIFICATION_LABORATORY_MAIL",
|
|
67
|
+
ADMINMAIL = "ADMIN_MAIL",
|
|
68
|
+
OFFISANTEEMAIL = "OFFISANTE_EMAIL",
|
|
69
|
+
OFFISANTECGU = "OFFISANTE_CGU",
|
|
70
|
+
INVOICEASKINGDELAY = "INVOICE_ASKING_DELAY",
|
|
71
|
+
NUMBERASKEDINVOICE = "NUMBER_ASKED_INVOICE",
|
|
72
|
+
PROBABILITYASKINVOICE = "PROBABILITY_ASK_INVOICE",
|
|
73
|
+
REGULATORYMAIL = "REGULATORY_MAIL",
|
|
74
|
+
PHARMAIDEVIDEOURL = "PHARMAIDE_VIDEO_URL",
|
|
75
|
+
FACEBOOKURL = "FACEBOOK_URL",
|
|
76
|
+
TWITTERURL = "TWITTER_URL",
|
|
77
|
+
LINKEDINURL = "LINKEDIN_URL",
|
|
78
|
+
ELASTICQUEUESIZE = "ELASTIC_QUEUE_SIZE",
|
|
79
|
+
REQUIREDLAPSINGMONTHS = "REQUIRED_LAPSING_MONTHS",
|
|
80
|
+
OUTGOINGMONITORINGEMAIL = "OUTGOING_MONITORING_EMAIL"
|
|
81
|
+
}
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.ManageVariableApi = void 0;
|
|
67
|
+
exports.SetVariableValueVariableIdEnum = exports.ManageVariableApi = void 0;
|
|
68
68
|
var runtime_1 = require("../runtime");
|
|
69
69
|
/**
|
|
70
70
|
* no description
|
|
@@ -142,3 +142,56 @@ var ManageVariableApi = /** @class */ (function (_super) {
|
|
|
142
142
|
return ManageVariableApi;
|
|
143
143
|
}(runtime_1.BaseAPI));
|
|
144
144
|
exports.ManageVariableApi = ManageVariableApi;
|
|
145
|
+
/**
|
|
146
|
+
* @export
|
|
147
|
+
* @enum {string}
|
|
148
|
+
*/
|
|
149
|
+
var SetVariableValueVariableIdEnum;
|
|
150
|
+
(function (SetVariableValueVariableIdEnum) {
|
|
151
|
+
SetVariableValueVariableIdEnum["CHRONOPOSTCLOSINGDATETIME"] = "CHRONOPOST_CLOSING_DATE_TIME";
|
|
152
|
+
SetVariableValueVariableIdEnum["CHRONOPOSTRETRIEVALDATETIME"] = "CHRONOPOST_RETRIEVAL_DATE_TIME";
|
|
153
|
+
SetVariableValueVariableIdEnum["CHRONOPOSTDELIVERYDELAY"] = "CHRONOPOST_DELIVERY_DELAY";
|
|
154
|
+
SetVariableValueVariableIdEnum["LCDPVAT"] = "LCDP_VAT";
|
|
155
|
+
SetVariableValueVariableIdEnum["SELLERCOMMISSION"] = "SELLER_COMMISSION";
|
|
156
|
+
SetVariableValueVariableIdEnum["BUYERCOMMISSION"] = "BUYER_COMMISSION";
|
|
157
|
+
SetVariableValueVariableIdEnum["ORDERWORKFLOWACCEPTANCEDELAY"] = "ORDER_WORKFLOW_ACCEPTANCE_DELAY";
|
|
158
|
+
SetVariableValueVariableIdEnum["ORDERWORKFLOWSENDINGDELAY"] = "ORDER_WORKFLOW_SENDING_DELAY";
|
|
159
|
+
SetVariableValueVariableIdEnum["ORDERWORKFLOWVALIDATIONDELAY"] = "ORDER_WORKFLOW_VALIDATION_DELAY";
|
|
160
|
+
SetVariableValueVariableIdEnum["ORDERWORKFLOWADMINVALIDATIONDELAY"] = "ORDER_WORKFLOW_ADMIN_VALIDATION_DELAY";
|
|
161
|
+
SetVariableValueVariableIdEnum["ORDERWORKFLOWDELIVERYLATEDELAY"] = "ORDER_WORKFLOW_DELIVERY_LATE_DELAY";
|
|
162
|
+
SetVariableValueVariableIdEnum["SUBSCRIPTIONAMOUNT"] = "SUBSCRIPTION_AMOUNT";
|
|
163
|
+
SetVariableValueVariableIdEnum["LCDPADDRESSSTREET"] = "LCDP_ADDRESS_STREET";
|
|
164
|
+
SetVariableValueVariableIdEnum["LCDPADDRESSCITY"] = "LCDP_ADDRESS_CITY";
|
|
165
|
+
SetVariableValueVariableIdEnum["LCDPADDRESSZIPCODE"] = "LCDP_ADDRESS_ZIP_CODE";
|
|
166
|
+
SetVariableValueVariableIdEnum["LCDPCONTACTPHONENUMBER"] = "LCDP_CONTACT_PHONE_NUMBER";
|
|
167
|
+
SetVariableValueVariableIdEnum["LCDPCONTACTEMAIL"] = "LCDP_CONTACT_EMAIL";
|
|
168
|
+
SetVariableValueVariableIdEnum["LCDPSERVICEBILLNAME"] = "LCDP_SERVICE_BILL_NAME";
|
|
169
|
+
SetVariableValueVariableIdEnum["LCDPVATNUMBER"] = "LCDP_VAT_NUMBER";
|
|
170
|
+
SetVariableValueVariableIdEnum["LCDPSIRETNUMBER"] = "LCDP_SIRET_NUMBER";
|
|
171
|
+
SetVariableValueVariableIdEnum["NOTIFICATIONFROM"] = "NOTIFICATION_FROM";
|
|
172
|
+
SetVariableValueVariableIdEnum["METATAGKEYWORDS"] = "META_TAG_KEYWORDS";
|
|
173
|
+
SetVariableValueVariableIdEnum["METATAGDESCRIPTION"] = "META_TAG_DESCRIPTION";
|
|
174
|
+
SetVariableValueVariableIdEnum["METATITLE"] = "META_TITLE";
|
|
175
|
+
SetVariableValueVariableIdEnum["EXPIRATIONNOTIFICATIONDELAY"] = "EXPIRATION_NOTIFICATION_DELAY";
|
|
176
|
+
SetVariableValueVariableIdEnum["NOTIFICATIONMANGOPAYMAIL"] = "NOTIFICATION_MANGOPAY_MAIL";
|
|
177
|
+
SetVariableValueVariableIdEnum["FREECARRIAGEENABLED"] = "FREE_CARRIAGE_ENABLED";
|
|
178
|
+
SetVariableValueVariableIdEnum["FREECARRIAGETHRESHOLD"] = "FREE_CARRIAGE_THRESHOLD";
|
|
179
|
+
SetVariableValueVariableIdEnum["SHIPPINGFEESBASE"] = "SHIPPING_FEES_BASE";
|
|
180
|
+
SetVariableValueVariableIdEnum["SHIPPINGFEESINCREMENT"] = "SHIPPING_FEES_INCREMENT";
|
|
181
|
+
SetVariableValueVariableIdEnum["LANDINGVIDEOURL"] = "LANDING_VIDEO_URL";
|
|
182
|
+
SetVariableValueVariableIdEnum["NOTIFICATIONLABORATORYMAIL"] = "NOTIFICATION_LABORATORY_MAIL";
|
|
183
|
+
SetVariableValueVariableIdEnum["ADMINMAIL"] = "ADMIN_MAIL";
|
|
184
|
+
SetVariableValueVariableIdEnum["OFFISANTEEMAIL"] = "OFFISANTE_EMAIL";
|
|
185
|
+
SetVariableValueVariableIdEnum["OFFISANTECGU"] = "OFFISANTE_CGU";
|
|
186
|
+
SetVariableValueVariableIdEnum["INVOICEASKINGDELAY"] = "INVOICE_ASKING_DELAY";
|
|
187
|
+
SetVariableValueVariableIdEnum["NUMBERASKEDINVOICE"] = "NUMBER_ASKED_INVOICE";
|
|
188
|
+
SetVariableValueVariableIdEnum["PROBABILITYASKINVOICE"] = "PROBABILITY_ASK_INVOICE";
|
|
189
|
+
SetVariableValueVariableIdEnum["REGULATORYMAIL"] = "REGULATORY_MAIL";
|
|
190
|
+
SetVariableValueVariableIdEnum["PHARMAIDEVIDEOURL"] = "PHARMAIDE_VIDEO_URL";
|
|
191
|
+
SetVariableValueVariableIdEnum["FACEBOOKURL"] = "FACEBOOK_URL";
|
|
192
|
+
SetVariableValueVariableIdEnum["TWITTERURL"] = "TWITTER_URL";
|
|
193
|
+
SetVariableValueVariableIdEnum["LINKEDINURL"] = "LINKEDIN_URL";
|
|
194
|
+
SetVariableValueVariableIdEnum["ELASTICQUEUESIZE"] = "ELASTIC_QUEUE_SIZE";
|
|
195
|
+
SetVariableValueVariableIdEnum["REQUIREDLAPSINGMONTHS"] = "REQUIRED_LAPSING_MONTHS";
|
|
196
|
+
SetVariableValueVariableIdEnum["OUTGOINGMONITORINGEMAIL"] = "OUTGOING_MONITORING_EMAIL";
|
|
197
|
+
})(SetVariableValueVariableIdEnum = exports.SetVariableValueVariableIdEnum || (exports.SetVariableValueVariableIdEnum = {}));
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
|
|
13
13
|
import { Variable } from '../models';
|
|
14
14
|
export interface GetVariableRequest {
|
|
15
|
-
variableId:
|
|
15
|
+
variableId: GetVariableVariableIdEnum;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* no description
|
|
@@ -35,3 +35,55 @@ export declare class SearchVariableApi extends BaseAPI {
|
|
|
35
35
|
*/
|
|
36
36
|
getVariables(): Promise<Array<Variable> | BlobWithMeta>;
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export declare enum GetVariableVariableIdEnum {
|
|
43
|
+
CHRONOPOSTCLOSINGDATETIME = "CHRONOPOST_CLOSING_DATE_TIME",
|
|
44
|
+
CHRONOPOSTRETRIEVALDATETIME = "CHRONOPOST_RETRIEVAL_DATE_TIME",
|
|
45
|
+
CHRONOPOSTDELIVERYDELAY = "CHRONOPOST_DELIVERY_DELAY",
|
|
46
|
+
LCDPVAT = "LCDP_VAT",
|
|
47
|
+
SELLERCOMMISSION = "SELLER_COMMISSION",
|
|
48
|
+
BUYERCOMMISSION = "BUYER_COMMISSION",
|
|
49
|
+
ORDERWORKFLOWACCEPTANCEDELAY = "ORDER_WORKFLOW_ACCEPTANCE_DELAY",
|
|
50
|
+
ORDERWORKFLOWSENDINGDELAY = "ORDER_WORKFLOW_SENDING_DELAY",
|
|
51
|
+
ORDERWORKFLOWVALIDATIONDELAY = "ORDER_WORKFLOW_VALIDATION_DELAY",
|
|
52
|
+
ORDERWORKFLOWADMINVALIDATIONDELAY = "ORDER_WORKFLOW_ADMIN_VALIDATION_DELAY",
|
|
53
|
+
ORDERWORKFLOWDELIVERYLATEDELAY = "ORDER_WORKFLOW_DELIVERY_LATE_DELAY",
|
|
54
|
+
SUBSCRIPTIONAMOUNT = "SUBSCRIPTION_AMOUNT",
|
|
55
|
+
LCDPADDRESSSTREET = "LCDP_ADDRESS_STREET",
|
|
56
|
+
LCDPADDRESSCITY = "LCDP_ADDRESS_CITY",
|
|
57
|
+
LCDPADDRESSZIPCODE = "LCDP_ADDRESS_ZIP_CODE",
|
|
58
|
+
LCDPCONTACTPHONENUMBER = "LCDP_CONTACT_PHONE_NUMBER",
|
|
59
|
+
LCDPCONTACTEMAIL = "LCDP_CONTACT_EMAIL",
|
|
60
|
+
LCDPSERVICEBILLNAME = "LCDP_SERVICE_BILL_NAME",
|
|
61
|
+
LCDPVATNUMBER = "LCDP_VAT_NUMBER",
|
|
62
|
+
LCDPSIRETNUMBER = "LCDP_SIRET_NUMBER",
|
|
63
|
+
NOTIFICATIONFROM = "NOTIFICATION_FROM",
|
|
64
|
+
METATAGKEYWORDS = "META_TAG_KEYWORDS",
|
|
65
|
+
METATAGDESCRIPTION = "META_TAG_DESCRIPTION",
|
|
66
|
+
METATITLE = "META_TITLE",
|
|
67
|
+
EXPIRATIONNOTIFICATIONDELAY = "EXPIRATION_NOTIFICATION_DELAY",
|
|
68
|
+
NOTIFICATIONMANGOPAYMAIL = "NOTIFICATION_MANGOPAY_MAIL",
|
|
69
|
+
FREECARRIAGEENABLED = "FREE_CARRIAGE_ENABLED",
|
|
70
|
+
FREECARRIAGETHRESHOLD = "FREE_CARRIAGE_THRESHOLD",
|
|
71
|
+
SHIPPINGFEESBASE = "SHIPPING_FEES_BASE",
|
|
72
|
+
SHIPPINGFEESINCREMENT = "SHIPPING_FEES_INCREMENT",
|
|
73
|
+
LANDINGVIDEOURL = "LANDING_VIDEO_URL",
|
|
74
|
+
NOTIFICATIONLABORATORYMAIL = "NOTIFICATION_LABORATORY_MAIL",
|
|
75
|
+
ADMINMAIL = "ADMIN_MAIL",
|
|
76
|
+
OFFISANTEEMAIL = "OFFISANTE_EMAIL",
|
|
77
|
+
OFFISANTECGU = "OFFISANTE_CGU",
|
|
78
|
+
INVOICEASKINGDELAY = "INVOICE_ASKING_DELAY",
|
|
79
|
+
NUMBERASKEDINVOICE = "NUMBER_ASKED_INVOICE",
|
|
80
|
+
PROBABILITYASKINVOICE = "PROBABILITY_ASK_INVOICE",
|
|
81
|
+
REGULATORYMAIL = "REGULATORY_MAIL",
|
|
82
|
+
PHARMAIDEVIDEOURL = "PHARMAIDE_VIDEO_URL",
|
|
83
|
+
FACEBOOKURL = "FACEBOOK_URL",
|
|
84
|
+
TWITTERURL = "TWITTER_URL",
|
|
85
|
+
LINKEDINURL = "LINKEDIN_URL",
|
|
86
|
+
ELASTICQUEUESIZE = "ELASTIC_QUEUE_SIZE",
|
|
87
|
+
REQUIREDLAPSINGMONTHS = "REQUIRED_LAPSING_MONTHS",
|
|
88
|
+
OUTGOINGMONITORINGEMAIL = "OUTGOING_MONITORING_EMAIL"
|
|
89
|
+
}
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.SearchVariableApi = void 0;
|
|
67
|
+
exports.GetVariableVariableIdEnum = exports.SearchVariableApi = void 0;
|
|
68
68
|
var runtime_1 = require("../runtime");
|
|
69
69
|
var models_1 = require("../models");
|
|
70
70
|
/**
|
|
@@ -201,3 +201,56 @@ var SearchVariableApi = /** @class */ (function (_super) {
|
|
|
201
201
|
return SearchVariableApi;
|
|
202
202
|
}(runtime_1.BaseAPI));
|
|
203
203
|
exports.SearchVariableApi = SearchVariableApi;
|
|
204
|
+
/**
|
|
205
|
+
* @export
|
|
206
|
+
* @enum {string}
|
|
207
|
+
*/
|
|
208
|
+
var GetVariableVariableIdEnum;
|
|
209
|
+
(function (GetVariableVariableIdEnum) {
|
|
210
|
+
GetVariableVariableIdEnum["CHRONOPOSTCLOSINGDATETIME"] = "CHRONOPOST_CLOSING_DATE_TIME";
|
|
211
|
+
GetVariableVariableIdEnum["CHRONOPOSTRETRIEVALDATETIME"] = "CHRONOPOST_RETRIEVAL_DATE_TIME";
|
|
212
|
+
GetVariableVariableIdEnum["CHRONOPOSTDELIVERYDELAY"] = "CHRONOPOST_DELIVERY_DELAY";
|
|
213
|
+
GetVariableVariableIdEnum["LCDPVAT"] = "LCDP_VAT";
|
|
214
|
+
GetVariableVariableIdEnum["SELLERCOMMISSION"] = "SELLER_COMMISSION";
|
|
215
|
+
GetVariableVariableIdEnum["BUYERCOMMISSION"] = "BUYER_COMMISSION";
|
|
216
|
+
GetVariableVariableIdEnum["ORDERWORKFLOWACCEPTANCEDELAY"] = "ORDER_WORKFLOW_ACCEPTANCE_DELAY";
|
|
217
|
+
GetVariableVariableIdEnum["ORDERWORKFLOWSENDINGDELAY"] = "ORDER_WORKFLOW_SENDING_DELAY";
|
|
218
|
+
GetVariableVariableIdEnum["ORDERWORKFLOWVALIDATIONDELAY"] = "ORDER_WORKFLOW_VALIDATION_DELAY";
|
|
219
|
+
GetVariableVariableIdEnum["ORDERWORKFLOWADMINVALIDATIONDELAY"] = "ORDER_WORKFLOW_ADMIN_VALIDATION_DELAY";
|
|
220
|
+
GetVariableVariableIdEnum["ORDERWORKFLOWDELIVERYLATEDELAY"] = "ORDER_WORKFLOW_DELIVERY_LATE_DELAY";
|
|
221
|
+
GetVariableVariableIdEnum["SUBSCRIPTIONAMOUNT"] = "SUBSCRIPTION_AMOUNT";
|
|
222
|
+
GetVariableVariableIdEnum["LCDPADDRESSSTREET"] = "LCDP_ADDRESS_STREET";
|
|
223
|
+
GetVariableVariableIdEnum["LCDPADDRESSCITY"] = "LCDP_ADDRESS_CITY";
|
|
224
|
+
GetVariableVariableIdEnum["LCDPADDRESSZIPCODE"] = "LCDP_ADDRESS_ZIP_CODE";
|
|
225
|
+
GetVariableVariableIdEnum["LCDPCONTACTPHONENUMBER"] = "LCDP_CONTACT_PHONE_NUMBER";
|
|
226
|
+
GetVariableVariableIdEnum["LCDPCONTACTEMAIL"] = "LCDP_CONTACT_EMAIL";
|
|
227
|
+
GetVariableVariableIdEnum["LCDPSERVICEBILLNAME"] = "LCDP_SERVICE_BILL_NAME";
|
|
228
|
+
GetVariableVariableIdEnum["LCDPVATNUMBER"] = "LCDP_VAT_NUMBER";
|
|
229
|
+
GetVariableVariableIdEnum["LCDPSIRETNUMBER"] = "LCDP_SIRET_NUMBER";
|
|
230
|
+
GetVariableVariableIdEnum["NOTIFICATIONFROM"] = "NOTIFICATION_FROM";
|
|
231
|
+
GetVariableVariableIdEnum["METATAGKEYWORDS"] = "META_TAG_KEYWORDS";
|
|
232
|
+
GetVariableVariableIdEnum["METATAGDESCRIPTION"] = "META_TAG_DESCRIPTION";
|
|
233
|
+
GetVariableVariableIdEnum["METATITLE"] = "META_TITLE";
|
|
234
|
+
GetVariableVariableIdEnum["EXPIRATIONNOTIFICATIONDELAY"] = "EXPIRATION_NOTIFICATION_DELAY";
|
|
235
|
+
GetVariableVariableIdEnum["NOTIFICATIONMANGOPAYMAIL"] = "NOTIFICATION_MANGOPAY_MAIL";
|
|
236
|
+
GetVariableVariableIdEnum["FREECARRIAGEENABLED"] = "FREE_CARRIAGE_ENABLED";
|
|
237
|
+
GetVariableVariableIdEnum["FREECARRIAGETHRESHOLD"] = "FREE_CARRIAGE_THRESHOLD";
|
|
238
|
+
GetVariableVariableIdEnum["SHIPPINGFEESBASE"] = "SHIPPING_FEES_BASE";
|
|
239
|
+
GetVariableVariableIdEnum["SHIPPINGFEESINCREMENT"] = "SHIPPING_FEES_INCREMENT";
|
|
240
|
+
GetVariableVariableIdEnum["LANDINGVIDEOURL"] = "LANDING_VIDEO_URL";
|
|
241
|
+
GetVariableVariableIdEnum["NOTIFICATIONLABORATORYMAIL"] = "NOTIFICATION_LABORATORY_MAIL";
|
|
242
|
+
GetVariableVariableIdEnum["ADMINMAIL"] = "ADMIN_MAIL";
|
|
243
|
+
GetVariableVariableIdEnum["OFFISANTEEMAIL"] = "OFFISANTE_EMAIL";
|
|
244
|
+
GetVariableVariableIdEnum["OFFISANTECGU"] = "OFFISANTE_CGU";
|
|
245
|
+
GetVariableVariableIdEnum["INVOICEASKINGDELAY"] = "INVOICE_ASKING_DELAY";
|
|
246
|
+
GetVariableVariableIdEnum["NUMBERASKEDINVOICE"] = "NUMBER_ASKED_INVOICE";
|
|
247
|
+
GetVariableVariableIdEnum["PROBABILITYASKINVOICE"] = "PROBABILITY_ASK_INVOICE";
|
|
248
|
+
GetVariableVariableIdEnum["REGULATORYMAIL"] = "REGULATORY_MAIL";
|
|
249
|
+
GetVariableVariableIdEnum["PHARMAIDEVIDEOURL"] = "PHARMAIDE_VIDEO_URL";
|
|
250
|
+
GetVariableVariableIdEnum["FACEBOOKURL"] = "FACEBOOK_URL";
|
|
251
|
+
GetVariableVariableIdEnum["TWITTERURL"] = "TWITTER_URL";
|
|
252
|
+
GetVariableVariableIdEnum["LINKEDINURL"] = "LINKEDIN_URL";
|
|
253
|
+
GetVariableVariableIdEnum["ELASTICQUEUESIZE"] = "ELASTIC_QUEUE_SIZE";
|
|
254
|
+
GetVariableVariableIdEnum["REQUIREDLAPSINGMONTHS"] = "REQUIRED_LAPSING_MONTHS";
|
|
255
|
+
GetVariableVariableIdEnum["OUTGOINGMONITORINGEMAIL"] = "OUTGOING_MONITORING_EMAIL";
|
|
256
|
+
})(GetVariableVariableIdEnum = exports.GetVariableVariableIdEnum || (exports.GetVariableVariableIdEnum = {}));
|
|
@@ -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 = {}));
|
|
@@ -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 = {}));
|
|
@@ -26,7 +26,6 @@ export declare enum InvoiceType {
|
|
|
26
26
|
ORDERCREDITNOTEBUYER = "ORDER_CREDIT_NOTE_BUYER",
|
|
27
27
|
ORDERCREDITNOTESELLER = "ORDER_CREDIT_NOTE_SELLER",
|
|
28
28
|
AGGREGATEDCOMMISSION = "AGGREGATED_COMMISSION",
|
|
29
|
-
AGGREGATEDCOMMISSIONCREDITNOTE = "AGGREGATED_COMMISSION_CREDIT_NOTE",
|
|
30
29
|
EXTERNAL = "EXTERNAL"
|
|
31
30
|
}
|
|
32
31
|
export declare function InvoiceTypeFromJSON(json: any): InvoiceType;
|
|
@@ -32,7 +32,6 @@ var InvoiceType;
|
|
|
32
32
|
InvoiceType["ORDERCREDITNOTEBUYER"] = "ORDER_CREDIT_NOTE_BUYER";
|
|
33
33
|
InvoiceType["ORDERCREDITNOTESELLER"] = "ORDER_CREDIT_NOTE_SELLER";
|
|
34
34
|
InvoiceType["AGGREGATEDCOMMISSION"] = "AGGREGATED_COMMISSION";
|
|
35
|
-
InvoiceType["AGGREGATEDCOMMISSIONCREDITNOTE"] = "AGGREGATED_COMMISSION_CREDIT_NOTE";
|
|
36
35
|
InvoiceType["EXTERNAL"] = "EXTERNAL";
|
|
37
36
|
})(InvoiceType = exports.InvoiceType || (exports.InvoiceType = {}));
|
|
38
37
|
function InvoiceTypeFromJSON(json) {
|
|
@@ -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 = {}));
|