@lcdp/api-react-rest-client 2.9.0-develop.13139560325 → 2.9.0-upgrade-codegen-client-react.12465129775
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/apis/SearchApiKeyApi.d.ts +6 -6
- package/auth/src/apis/SearchApiKeyApi.js +6 -6
- package/auth/src/models/RestError.d.ts +24 -26
- package/auth/src/models/RestError.js +23 -25
- package/banking-operation/src/apis/SearchLevyApi.d.ts +14 -14
- package/banking-operation/src/apis/SearchLevyApi.js +14 -14
- package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +2 -2
- package/banking-operation/src/apis/SearchOrderPaymentApi.js +2 -2
- package/banking-operation/src/models/LevyPaymentStatus.d.ts +3 -3
- package/banking-operation/src/models/LevyPaymentStatus.js +3 -3
- package/banking-operation/src/models/LevyStatus.d.ts +2 -2
- package/banking-operation/src/models/LevyStatus.js +2 -2
- package/banking-operation/src/models/Transaction.d.ts +4 -4
- package/banking-operation/src/models/Transaction.js +4 -4
- package/catalog/src/apis/SearchProductInsightApi.d.ts +4 -4
- package/catalog/src/apis/SearchProductInsightApi.js +4 -4
- package/catalog/src/models/ProductStorageType.d.ts +4 -4
- package/catalog/src/models/ProductStorageType.js +4 -4
- package/catalog/src/models/RestError.d.ts +24 -26
- package/catalog/src/models/RestError.js +23 -25
- package/challenge/src/models/ChallengeAction.d.ts +1 -1
- package/challenge/src/models/ChallengeAction.js +1 -1
- package/configuration/src/models/RestError.d.ts +24 -26
- package/configuration/src/models/RestError.js +23 -25
- package/content/src/models/RestError.d.ts +24 -26
- package/content/src/models/RestError.js +23 -25
- package/factory/src/apis/SearchAssemblyApi.d.ts +6 -6
- package/factory/src/apis/SearchAssemblyApi.js +6 -6
- package/factory/src/models/AssemblyOutputInner.d.ts +2 -2
- package/factory/src/models/AssemblyOutputInner.js +2 -2
- package/factory/src/models/AssemblyStatus.d.ts +8 -8
- package/factory/src/models/AssemblyStatus.js +8 -8
- package/factory/src/models/ProductStatus.d.ts +4 -4
- package/factory/src/models/ProductStatus.js +4 -4
- package/factory/src/models/SaleOfferStatus.d.ts +7 -7
- package/factory/src/models/SaleOfferStatus.js +7 -7
- package/factory/src/models/StatusEnum.d.ts +8 -8
- package/factory/src/models/StatusEnum.js +8 -8
- package/favorite/src/apis/ManageFavoriteProductApi.d.ts +4 -4
- package/favorite/src/apis/ManageFavoriteProductApi.js +4 -4
- package/favorite/src/models/ProductStatus.d.ts +4 -4
- package/favorite/src/models/ProductStatus.js +4 -4
- package/favorite/src/models/RestError.d.ts +24 -26
- package/favorite/src/models/RestError.js +23 -25
- package/inventory/src/apis/ManageInventoryApi.d.ts +17 -5
- package/inventory/src/apis/ManageInventoryApi.js +86 -12
- package/inventory/src/apis/SearchInventoryApi.d.ts +76 -83
- package/inventory/src/apis/SearchInventoryApi.js +141 -160
- package/inventory/src/models/ActiveProduct.d.ts +3 -10
- package/inventory/src/models/ActiveProduct.js +2 -5
- package/inventory/src/models/ActiveProductUpdateParameters.d.ts +3 -4
- package/inventory/src/models/ActiveProductUpdateParameters.js +2 -3
- package/inventory/src/models/MisalignedProduct.d.ts +0 -6
- package/inventory/src/models/MisalignedProduct.js +0 -2
- package/inventory/src/models/OverstockProduct.d.ts +0 -6
- package/inventory/src/models/OverstockProduct.js +0 -2
- package/inventory/src/models/RestError.d.ts +24 -26
- package/inventory/src/models/RestError.js +23 -25
- package/inventory/src/models/Synchroneity.d.ts +32 -0
- package/inventory/src/models/Synchroneity.js +46 -0
- package/inventory/src/models/SynchroneityOffisante.d.ts +38 -0
- package/inventory/src/models/SynchroneityOffisante.js +48 -0
- package/inventory/src/models/SynchroneitySource.d.ts +37 -0
- package/inventory/src/models/SynchroneitySource.js +47 -0
- package/inventory/src/models/index.d.ts +3 -4
- package/inventory/src/models/index.js +3 -4
- package/invoice/src/apis/SearchInvoiceApi.d.ts +10 -10
- package/invoice/src/apis/SearchInvoiceApi.js +10 -10
- package/invoice/src/apis/SearchInvoiceLineApi.d.ts +4 -4
- package/invoice/src/apis/SearchInvoiceLineApi.js +4 -4
- package/invoice/src/apis/SearchOrderTallyApi.d.ts +8 -8
- package/invoice/src/apis/SearchOrderTallyApi.js +8 -8
- package/invoice/src/models/InvoiceType.d.ts +13 -13
- package/invoice/src/models/InvoiceType.js +13 -13
- package/invoice/src/models/RestError.d.ts +24 -26
- package/invoice/src/models/RestError.js +23 -25
- package/laboratory/src/apis/SearchLaboratoryApi.d.ts +2 -2
- package/laboratory/src/apis/SearchLaboratoryApi.js +2 -2
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.d.ts +7 -7
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +7 -7
- package/laboratory-store/src/models/DisplayType.d.ts +2 -2
- package/laboratory-store/src/models/DisplayType.js +2 -2
- package/laboratory-store/src/models/LaboratoryType.d.ts +5 -5
- package/laboratory-store/src/models/LaboratoryType.js +5 -5
- package/laboratory-store/src/models/RestError.d.ts +24 -26
- package/laboratory-store/src/models/RestError.js +23 -25
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +2 -2
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +2 -2
- package/lexicon/src/models/RestError.d.ts +24 -26
- package/lexicon/src/models/RestError.js +23 -25
- package/litigation/src/models/RestError.d.ts +24 -26
- package/litigation/src/models/RestError.js +23 -25
- package/magic-cart/src/models/ProductStorageType.d.ts +4 -4
- package/magic-cart/src/models/ProductStorageType.js +4 -4
- package/mandate/src/models/ChallengeAction.d.ts +1 -1
- package/mandate/src/models/ChallengeAction.js +1 -1
- package/mandate/src/models/Mandate.d.ts +5 -5
- package/mandate/src/models/Mandate.js +5 -5
- package/mangopay-hook/src/models/RestError.d.ts +24 -26
- package/mangopay-hook/src/models/RestError.js +23 -25
- package/message/src/apis/SearchMessageApi.d.ts +4 -4
- package/message/src/apis/SearchMessageApi.js +4 -4
- package/notification/src/apis/SearchNotificationApi.d.ts +2 -2
- package/notification/src/apis/SearchNotificationApi.js +2 -2
- package/notification/src/apis/SearchNotificationTypeApi.d.ts +6 -6
- package/notification/src/apis/SearchNotificationTypeApi.js +6 -6
- package/notification/src/models/NotificationTypeId.d.ts +48 -48
- package/notification/src/models/NotificationTypeId.js +48 -48
- package/notification/src/models/RestError.d.ts +24 -26
- package/notification/src/models/RestError.js +23 -25
- package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +2 -2
- package/order/src/apis/SearchFreeCarriageCouponApi.js +2 -2
- package/order/src/apis/SearchOrderApi.d.ts +18 -18
- package/order/src/apis/SearchOrderApi.js +18 -18
- package/order/src/apis/SearchOrderItemApi.d.ts +24 -24
- package/order/src/apis/SearchOrderItemApi.js +24 -24
- package/order/src/models/OrderItemWarning.d.ts +5 -5
- package/order/src/models/OrderItemWarning.js +5 -5
- package/order/src/models/OrderItemsOperation.d.ts +3 -3
- package/order/src/models/OrderItemsOperation.js +3 -3
- package/order/src/models/OrderStatus.d.ts +15 -15
- package/order/src/models/OrderStatus.js +15 -15
- package/order/src/models/OrderStatusReason.d.ts +3 -3
- package/order/src/models/OrderStatusReason.js +3 -3
- package/order/src/models/OrderStorageType.d.ts +4 -4
- package/order/src/models/OrderStorageType.js +4 -4
- package/order/src/models/OrderType.d.ts +2 -2
- package/order/src/models/OrderType.js +2 -2
- package/order/src/models/OrderWarning.d.ts +2 -2
- package/order/src/models/OrderWarning.js +2 -2
- package/order/src/models/ProductStorageType.d.ts +4 -4
- package/order/src/models/ProductStorageType.js +4 -4
- package/order/src/models/RestError.d.ts +24 -26
- package/order/src/models/RestError.js +23 -25
- package/order/src/models/UpdateOrderStatusParameters.d.ts +8 -8
- package/order/src/models/UpdateOrderStatusParameters.js +8 -8
- package/order-log/src/apis/SearchOrderLogApi.d.ts +2 -2
- package/order-log/src/apis/SearchOrderLogApi.js +2 -2
- package/order-log/src/models/OrderStatusReason.d.ts +3 -3
- package/order-log/src/models/OrderStatusReason.js +3 -3
- package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +4 -4
- package/outrage-message/src/apis/SearchOutrageMessageApi.js +4 -4
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +18 -18
- package/product/src/apis/SearchProductApi.js +18 -18
- package/product/src/apis/SearchProductProscriptionApi.d.ts +4 -4
- package/product/src/apis/SearchProductProscriptionApi.js +4 -4
- package/product/src/models/DataProvider.d.ts +5 -5
- package/product/src/models/DataProvider.js +5 -5
- package/product/src/models/ProductDispensationPlace.d.ts +2 -2
- package/product/src/models/ProductDispensationPlace.js +2 -2
- package/product/src/models/ProductMarketStatus.d.ts +6 -6
- package/product/src/models/ProductMarketStatus.js +6 -6
- package/product/src/models/ProductStatus.d.ts +4 -4
- package/product/src/models/ProductStatus.js +4 -4
- package/product/src/models/ProductStorageType.d.ts +4 -4
- package/product/src/models/ProductStorageType.js +4 -4
- package/product/src/models/RestError.d.ts +24 -26
- package/product/src/models/RestError.js +23 -25
- package/pub/src/apis/SearchPubApi.d.ts +27 -27
- package/pub/src/apis/SearchPubApi.js +27 -27
- package/pub/src/models/PubLocationEnum.d.ts +3 -3
- package/pub/src/models/PubLocationEnum.js +3 -3
- package/pub/src/models/RestError.d.ts +24 -26
- package/pub/src/models/RestError.js +23 -25
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +4 -4
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +4 -4
- package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +4 -4
- package/recommendation/src/apis/SearchProductRecommendationApi.js +4 -4
- package/recommendation/src/models/ProductRecommendationType.d.ts +3 -3
- package/recommendation/src/models/ProductRecommendationType.js +3 -3
- package/rfx/src/apis/SearchRfoiApi.d.ts +10 -10
- package/rfx/src/apis/SearchRfoiApi.js +10 -10
- package/rfx/src/models/RestError.d.ts +24 -26
- package/rfx/src/models/RestError.js +23 -25
- package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +35 -35
- package/sale-offer/src/apis/SearchSaleOfferApi.js +35 -35
- package/sale-offer/src/models/RestError.d.ts +24 -26
- package/sale-offer/src/models/RestError.js +23 -25
- package/sale-offer/src/models/SaleOfferStatus.d.ts +7 -7
- package/sale-offer/src/models/SaleOfferStatus.js +7 -7
- package/sale-offer/src/models/SaleOfferStatusReason.d.ts +6 -6
- package/sale-offer/src/models/SaleOfferStatusReason.js +6 -6
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.d.ts +2 -2
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +2 -2
- package/servant/src/models/RestError.d.ts +24 -26
- package/servant/src/models/RestError.js +23 -25
- package/shipment/src/apis/SearchOrderCarriageApi.d.ts +4 -4
- package/shipment/src/apis/SearchOrderCarriageApi.js +4 -4
- package/shipment/src/models/RestError.d.ts +24 -26
- package/shipment/src/models/RestError.js +23 -25
- package/shipment/src/models/ShipmentError.d.ts +1 -1
- package/shipment/src/models/ShipmentError.js +1 -1
- package/shipment/src/models/ShipmentParcelStatus.d.ts +3 -3
- package/shipment/src/models/ShipmentParcelStatus.js +3 -3
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +4 -4
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -4
- package/shopping-cart/src/models/ProductStorageType.d.ts +4 -4
- package/shopping-cart/src/models/ProductStorageType.js +4 -4
- package/shopping-cart/src/models/RestError.d.ts +24 -26
- package/shopping-cart/src/models/RestError.js +23 -25
- package/shopping-cart/src/models/SaleOfferStatus.d.ts +7 -7
- package/shopping-cart/src/models/SaleOfferStatus.js +7 -7
- package/shopping-cart/src/models/UserRole.d.ts +8 -8
- package/shopping-cart/src/models/UserRole.js +8 -8
- package/smuggler/src/models/RestError.d.ts +24 -26
- package/smuggler/src/models/RestError.js +23 -25
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +2 -2
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +2 -2
- package/statistic/src/models/RestError.d.ts +24 -26
- package/statistic/src/models/RestError.js +23 -25
- package/subscription/src/apis/SearchSubscriptionApi.d.ts +8 -8
- package/subscription/src/apis/SearchSubscriptionApi.js +8 -8
- package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +2 -2
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +2 -2
- package/subscription/src/models/RestError.d.ts +24 -26
- package/subscription/src/models/RestError.js +23 -25
- package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +3 -3
- package/subscription/src/models/SubscriptionPlanFeatureId.js +3 -3
- package/subscription/src/models/SubscriptionPlanId.d.ts +3 -3
- package/subscription/src/models/SubscriptionPlanId.js +3 -3
- package/third-party/src/models/RestError.d.ts +24 -26
- package/third-party/src/models/RestError.js +23 -25
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -2
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -2
- package/thread/src/apis/SearchThreadCommentApi.d.ts +4 -4
- package/thread/src/apis/SearchThreadCommentApi.js +4 -4
- package/ubo/src/models/RestError.d.ts +24 -26
- package/ubo/src/models/RestError.js +23 -25
- package/ubo/src/models/UboDeclaration.d.ts +6 -6
- package/ubo/src/models/UboDeclaration.js +6 -6
- package/user/src/apis/ManageUserDocumentApi.d.ts +18 -18
- package/user/src/apis/ManageUserDocumentApi.js +18 -18
- package/user/src/apis/SearchUserApi.d.ts +20 -20
- package/user/src/apis/SearchUserApi.js +20 -20
- package/user/src/apis/SearchUserDocumentApi.d.ts +30 -30
- package/user/src/apis/SearchUserDocumentApi.js +30 -30
- package/user/src/models/Gender.d.ts +2 -2
- package/user/src/models/Gender.js +2 -2
- package/user/src/models/KycLevel.d.ts +2 -2
- package/user/src/models/KycLevel.js +2 -2
- package/user/src/models/NotificationTypeId.d.ts +48 -48
- package/user/src/models/NotificationTypeId.js +48 -48
- package/user/src/models/OffisanteStatus.d.ts +3 -3
- package/user/src/models/OffisanteStatus.js +3 -3
- package/user/src/models/RestError.d.ts +24 -26
- package/user/src/models/RestError.js +23 -25
- package/user/src/models/UserDocument.d.ts +10 -10
- package/user/src/models/UserDocument.js +10 -10
- package/user/src/models/UserDocumentStatus.d.ts +5 -5
- package/user/src/models/UserDocumentStatus.js +5 -5
- package/user/src/models/UserRole.d.ts +8 -8
- package/user/src/models/UserRole.js +8 -8
- package/user/src/models/UserRuleActionEnum.d.ts +1 -1
- package/user/src/models/UserRuleActionEnum.js +1 -1
- package/user/src/models/UserRuleAttributeEnum.d.ts +2 -2
- package/user/src/models/UserRuleAttributeEnum.js +2 -2
- package/user/src/models/UserRuleComparatorEnum.d.ts +2 -2
- package/user/src/models/UserRuleComparatorEnum.js +2 -2
- package/wish/src/apis/SearchProductEnthusiasmApi.d.ts +10 -10
- package/wish/src/apis/SearchProductEnthusiasmApi.js +10 -10
- package/wish/src/apis/SearchWishApi.d.ts +10 -10
- package/wish/src/apis/SearchWishApi.js +10 -10
- package/wish/src/models/RestError.d.ts +24 -26
- package/wish/src/models/RestError.js +23 -25
- package/wish/src/models/WishReferrerType.d.ts +2 -2
- package/wish/src/models/WishReferrerType.js +2 -2
- package/wish/src/models/WishStatus.d.ts +3 -3
- package/wish/src/models/WishStatus.js +3 -3
- package/inventory/src/models/Inventory.d.ts +0 -63
- package/inventory/src/models/Inventory.js +0 -57
- package/inventory/src/models/InventoryJournal.d.ts +0 -31
- package/inventory/src/models/InventoryJournal.js +0 -45
- package/inventory/src/models/PaginatedInventories.d.ts +0 -39
- package/inventory/src/models/PaginatedInventories.js +0 -53
- package/inventory/src/models/SynchronizationMode.d.ts +0 -25
- package/inventory/src/models/SynchronizationMode.js +0 -48
|
@@ -16,14 +16,14 @@
|
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
|
+
* 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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -34,29 +34,28 @@ export interface RestError {
|
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
36
|
export declare const RestErrorCodeEnum: {
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly CODE022: "CODE022";
|
|
37
|
+
readonly Code000: "CODE000";
|
|
38
|
+
readonly Code001: "CODE001";
|
|
39
|
+
readonly Code002: "CODE002";
|
|
40
|
+
readonly Code003: "CODE003";
|
|
41
|
+
readonly Code004: "CODE004";
|
|
42
|
+
readonly Code005: "CODE005";
|
|
43
|
+
readonly Code006: "CODE006";
|
|
44
|
+
readonly Code007: "CODE007";
|
|
45
|
+
readonly Code008: "CODE008";
|
|
46
|
+
readonly Code009: "CODE009";
|
|
47
|
+
readonly Code010: "CODE010";
|
|
48
|
+
readonly Code011: "CODE011";
|
|
49
|
+
readonly Code012: "CODE012";
|
|
50
|
+
readonly Code013: "CODE013";
|
|
51
|
+
readonly Code014: "CODE014";
|
|
52
|
+
readonly Code015: "CODE015";
|
|
53
|
+
readonly Code016: "CODE016";
|
|
54
|
+
readonly Code017: "CODE017";
|
|
55
|
+
readonly Code018: "CODE018";
|
|
56
|
+
readonly Code019: "CODE019";
|
|
57
|
+
readonly Code020: "CODE020";
|
|
58
|
+
readonly Code021: "CODE021";
|
|
60
59
|
};
|
|
61
60
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
61
|
/**
|
|
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
85
84
|
readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
|
|
86
85
|
readonly MESSAGE020: "ETag do not match";
|
|
87
86
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
|
-
readonly MESSAGE022: "Disabled feature";
|
|
89
87
|
};
|
|
90
88
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
89
|
/**
|
|
@@ -18,29 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
|
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
exports.RestErrorCodeEnum = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CODE022: 'CODE022'
|
|
21
|
+
Code000: 'CODE000',
|
|
22
|
+
Code001: 'CODE001',
|
|
23
|
+
Code002: 'CODE002',
|
|
24
|
+
Code003: 'CODE003',
|
|
25
|
+
Code004: 'CODE004',
|
|
26
|
+
Code005: 'CODE005',
|
|
27
|
+
Code006: 'CODE006',
|
|
28
|
+
Code007: 'CODE007',
|
|
29
|
+
Code008: 'CODE008',
|
|
30
|
+
Code009: 'CODE009',
|
|
31
|
+
Code010: 'CODE010',
|
|
32
|
+
Code011: 'CODE011',
|
|
33
|
+
Code012: 'CODE012',
|
|
34
|
+
Code013: 'CODE013',
|
|
35
|
+
Code014: 'CODE014',
|
|
36
|
+
Code015: 'CODE015',
|
|
37
|
+
Code016: 'CODE016',
|
|
38
|
+
Code017: 'CODE017',
|
|
39
|
+
Code018: 'CODE018',
|
|
40
|
+
Code019: 'CODE019',
|
|
41
|
+
Code020: 'CODE020',
|
|
42
|
+
Code021: 'CODE021'
|
|
44
43
|
};
|
|
45
44
|
/**
|
|
46
45
|
* @export
|
|
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
|
|
|
67
66
|
MESSAGE018: 'Trial already used',
|
|
68
67
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
68
|
MESSAGE020: 'ETag do not match',
|
|
70
|
-
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
69
|
+
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
72
70
|
};
|
|
73
71
|
/**
|
|
74
72
|
* Check if a given object implements the RestError interface.
|
|
@@ -45,16 +45,16 @@ export interface UserDocument {
|
|
|
45
45
|
* @export
|
|
46
46
|
*/
|
|
47
47
|
export declare const UserDocumentStatusReasonEnum: {
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
48
|
+
readonly DocumentMissing: "DOCUMENT_MISSING";
|
|
49
|
+
readonly DocumentUnreadable: "DOCUMENT_UNREADABLE";
|
|
50
|
+
readonly DocumentNotAccepted: "DOCUMENT_NOT_ACCEPTED";
|
|
51
|
+
readonly DocumentHasExpired: "DOCUMENT_HAS_EXPIRED";
|
|
52
|
+
readonly DocumentIncomplete: "DOCUMENT_INCOMPLETE";
|
|
53
|
+
readonly DocumentDoNotMatchUserData: "DOCUMENT_DO_NOT_MATCH_USER_DATA";
|
|
54
|
+
readonly DocumentDoNotMatchAccountData: "DOCUMENT_DO_NOT_MATCH_ACCOUNT_DATA";
|
|
55
|
+
readonly DocumentFalsified: "DOCUMENT_FALSIFIED";
|
|
56
|
+
readonly UnderagePerson: "UNDERAGE_PERSON";
|
|
57
|
+
readonly SpecificCase: "SPECIFIC_CASE";
|
|
58
58
|
};
|
|
59
59
|
export declare type UserDocumentStatusReasonEnum = typeof UserDocumentStatusReasonEnum[keyof typeof UserDocumentStatusReasonEnum];
|
|
60
60
|
/**
|
|
@@ -20,16 +20,16 @@ var UserDocumentStatus_1 = require("./UserDocumentStatus");
|
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
22
|
exports.UserDocumentStatusReasonEnum = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
DocumentMissing: 'DOCUMENT_MISSING',
|
|
24
|
+
DocumentUnreadable: 'DOCUMENT_UNREADABLE',
|
|
25
|
+
DocumentNotAccepted: 'DOCUMENT_NOT_ACCEPTED',
|
|
26
|
+
DocumentHasExpired: 'DOCUMENT_HAS_EXPIRED',
|
|
27
|
+
DocumentIncomplete: 'DOCUMENT_INCOMPLETE',
|
|
28
|
+
DocumentDoNotMatchUserData: 'DOCUMENT_DO_NOT_MATCH_USER_DATA',
|
|
29
|
+
DocumentDoNotMatchAccountData: 'DOCUMENT_DO_NOT_MATCH_ACCOUNT_DATA',
|
|
30
|
+
DocumentFalsified: 'DOCUMENT_FALSIFIED',
|
|
31
|
+
UnderagePerson: 'UNDERAGE_PERSON',
|
|
32
|
+
SpecificCase: 'SPECIFIC_CASE'
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Check if a given object implements the UserDocument interface.
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserDocumentStatus: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
17
|
+
readonly Created: "CREATED";
|
|
18
|
+
readonly ValidationAsked: "VALIDATION_ASKED";
|
|
19
|
+
readonly Validated: "VALIDATED";
|
|
20
|
+
readonly Refused: "REFUSED";
|
|
21
|
+
readonly Outdated: "OUTDATED";
|
|
22
22
|
};
|
|
23
23
|
export declare type UserDocumentStatus = typeof UserDocumentStatus[keyof typeof UserDocumentStatus];
|
|
24
24
|
export declare function instanceOfUserDocumentStatus(value: any): boolean;
|
|
@@ -19,11 +19,11 @@ exports.UserDocumentStatusToJSON = exports.UserDocumentStatusFromJSONTyped = exp
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.UserDocumentStatus = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
Created: 'CREATED',
|
|
23
|
+
ValidationAsked: 'VALIDATION_ASKED',
|
|
24
|
+
Validated: 'VALIDATED',
|
|
25
|
+
Refused: 'REFUSED',
|
|
26
|
+
Outdated: 'OUTDATED'
|
|
27
27
|
};
|
|
28
28
|
function instanceOfUserDocumentStatus(value) {
|
|
29
29
|
for (var key in exports.UserDocumentStatus) {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserRole: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
17
|
+
readonly SubscriptionInProgress: "SUBSCRIPTION_IN_PROGRESS";
|
|
18
|
+
readonly Waiting: "WAITING";
|
|
19
|
+
readonly Test: "TEST";
|
|
20
|
+
readonly SellerBuyer: "SELLER_BUYER";
|
|
21
|
+
readonly Archived: "ARCHIVED";
|
|
22
|
+
readonly Blocked: "BLOCKED";
|
|
23
|
+
readonly Administrator: "ADMINISTRATOR";
|
|
24
|
+
readonly Laboratory: "LABORATORY";
|
|
25
25
|
};
|
|
26
26
|
export declare type UserRole = typeof UserRole[keyof typeof UserRole];
|
|
27
27
|
export declare function instanceOfUserRole(value: any): boolean;
|
|
@@ -19,14 +19,14 @@ exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSO
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.UserRole = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
SubscriptionInProgress: 'SUBSCRIPTION_IN_PROGRESS',
|
|
23
|
+
Waiting: 'WAITING',
|
|
24
|
+
Test: 'TEST',
|
|
25
|
+
SellerBuyer: 'SELLER_BUYER',
|
|
26
|
+
Archived: 'ARCHIVED',
|
|
27
|
+
Blocked: 'BLOCKED',
|
|
28
|
+
Administrator: 'ADMINISTRATOR',
|
|
29
|
+
Laboratory: 'LABORATORY'
|
|
30
30
|
};
|
|
31
31
|
function instanceOfUserRole(value) {
|
|
32
32
|
for (var key in exports.UserRole) {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserRuleActionEnum: {
|
|
17
|
-
readonly
|
|
17
|
+
readonly Blocked: "BLOCKED";
|
|
18
18
|
};
|
|
19
19
|
export declare type UserRuleActionEnum = typeof UserRuleActionEnum[keyof typeof UserRuleActionEnum];
|
|
20
20
|
export declare function instanceOfUserRuleActionEnum(value: any): boolean;
|
|
@@ -19,7 +19,7 @@ exports.UserRuleActionEnumToJSON = exports.UserRuleActionEnumFromJSONTyped = exp
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.UserRuleActionEnum = {
|
|
22
|
-
|
|
22
|
+
Blocked: 'BLOCKED'
|
|
23
23
|
};
|
|
24
24
|
function instanceOfUserRuleActionEnum(value) {
|
|
25
25
|
for (var key in exports.UserRuleActionEnum) {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserRuleAttributeEnum: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
17
|
+
readonly ZipCode: "ZIP_CODE";
|
|
18
|
+
readonly User: "USER";
|
|
19
19
|
};
|
|
20
20
|
export declare type UserRuleAttributeEnum = typeof UserRuleAttributeEnum[keyof typeof UserRuleAttributeEnum];
|
|
21
21
|
export declare function instanceOfUserRuleAttributeEnum(value: any): boolean;
|
|
@@ -19,8 +19,8 @@ exports.UserRuleAttributeEnumToJSON = exports.UserRuleAttributeEnumFromJSONTyped
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.UserRuleAttributeEnum = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ZipCode: 'ZIP_CODE',
|
|
23
|
+
User: 'USER'
|
|
24
24
|
};
|
|
25
25
|
function instanceOfUserRuleAttributeEnum(value) {
|
|
26
26
|
for (var key in exports.UserRuleAttributeEnum) {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserRuleComparatorEnum: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
17
|
+
readonly Equal: "EQUAL";
|
|
18
|
+
readonly StartWith: "START_WITH";
|
|
19
19
|
};
|
|
20
20
|
export declare type UserRuleComparatorEnum = typeof UserRuleComparatorEnum[keyof typeof UserRuleComparatorEnum];
|
|
21
21
|
export declare function instanceOfUserRuleComparatorEnum(value: any): boolean;
|
|
@@ -19,8 +19,8 @@ exports.UserRuleComparatorEnumToJSON = exports.UserRuleComparatorEnumFromJSONTyp
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.UserRuleComparatorEnum = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Equal: 'EQUAL',
|
|
23
|
+
StartWith: 'START_WITH'
|
|
24
24
|
};
|
|
25
25
|
function instanceOfUserRuleComparatorEnum(value) {
|
|
26
26
|
for (var key in exports.UserRuleComparatorEnum) {
|
|
@@ -35,15 +35,15 @@ export declare class SearchProductEnthusiasmApi extends runtime.BaseAPI {
|
|
|
35
35
|
* @export
|
|
36
36
|
*/
|
|
37
37
|
export declare const GetProductEnthusiasmsOrderByEnum: {
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
38
|
+
readonly ProductNamEasc: "PRODUCT_NAME:asc";
|
|
39
|
+
readonly ProductNamEdesc: "PRODUCT_NAME:desc";
|
|
40
|
+
readonly ProductBarcodesPrincipaLasc: "PRODUCT_BARCODES_PRINCIPAL:asc";
|
|
41
|
+
readonly ProductBarcodesPrincipaLdesc: "PRODUCT_BARCODES_PRINCIPAL:desc";
|
|
42
|
+
readonly RecentDatEasc: "RECENT_DATE:asc";
|
|
43
|
+
readonly RecentDatEdesc: "RECENT_DATE:desc";
|
|
44
|
+
readonly MaxRebatEasc: "MAX_REBATE:asc";
|
|
45
|
+
readonly MaxRebatEdesc: "MAX_REBATE:desc";
|
|
46
|
+
readonly TotalQuantitYasc: "TOTAL_QUANTITY:asc";
|
|
47
|
+
readonly TotalQuantitYdesc: "TOTAL_QUANTITY:desc";
|
|
48
48
|
};
|
|
49
49
|
export declare type GetProductEnthusiasmsOrderByEnum = typeof GetProductEnthusiasmsOrderByEnum[keyof typeof GetProductEnthusiasmsOrderByEnum];
|
|
@@ -174,14 +174,14 @@ exports.SearchProductEnthusiasmApi = SearchProductEnthusiasmApi;
|
|
|
174
174
|
* @export
|
|
175
175
|
*/
|
|
176
176
|
exports.GetProductEnthusiasmsOrderByEnum = {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
177
|
+
ProductNamEasc: 'PRODUCT_NAME:asc',
|
|
178
|
+
ProductNamEdesc: 'PRODUCT_NAME:desc',
|
|
179
|
+
ProductBarcodesPrincipaLasc: 'PRODUCT_BARCODES_PRINCIPAL:asc',
|
|
180
|
+
ProductBarcodesPrincipaLdesc: 'PRODUCT_BARCODES_PRINCIPAL:desc',
|
|
181
|
+
RecentDatEasc: 'RECENT_DATE:asc',
|
|
182
|
+
RecentDatEdesc: 'RECENT_DATE:desc',
|
|
183
|
+
MaxRebatEasc: 'MAX_REBATE:asc',
|
|
184
|
+
MaxRebatEdesc: 'MAX_REBATE:desc',
|
|
185
|
+
TotalQuantitYasc: 'TOTAL_QUANTITY:asc',
|
|
186
|
+
TotalQuantitYdesc: 'TOTAL_QUANTITY:desc'
|
|
187
187
|
};
|
|
@@ -54,15 +54,15 @@ export declare class SearchWishApi extends runtime.BaseAPI {
|
|
|
54
54
|
* @export
|
|
55
55
|
*/
|
|
56
56
|
export declare const GetWishesOrderByEnum: {
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
57
|
+
readonly ProductNamEasc: "PRODUCT_NAME:asc";
|
|
58
|
+
readonly ProductNamEdesc: "PRODUCT_NAME:desc";
|
|
59
|
+
readonly ProductBarcodesPrincipaLasc: "PRODUCT_BARCODES_PRINCIPAL:asc";
|
|
60
|
+
readonly ProductBarcodesPrincipaLdesc: "PRODUCT_BARCODES_PRINCIPAL:desc";
|
|
61
|
+
readonly CreatedATasc: "CREATED_AT:asc";
|
|
62
|
+
readonly CreatedATdesc: "CREATED_AT:desc";
|
|
63
|
+
readonly RebatEasc: "REBATE:asc";
|
|
64
|
+
readonly RebatEdesc: "REBATE:desc";
|
|
65
|
+
readonly QuantitYasc: "QUANTITY:asc";
|
|
66
|
+
readonly QuantitYdesc: "QUANTITY:desc";
|
|
67
67
|
};
|
|
68
68
|
export declare type GetWishesOrderByEnum = typeof GetWishesOrderByEnum[keyof typeof GetWishesOrderByEnum];
|
|
@@ -277,14 +277,14 @@ exports.SearchWishApi = SearchWishApi;
|
|
|
277
277
|
* @export
|
|
278
278
|
*/
|
|
279
279
|
exports.GetWishesOrderByEnum = {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
280
|
+
ProductNamEasc: 'PRODUCT_NAME:asc',
|
|
281
|
+
ProductNamEdesc: 'PRODUCT_NAME:desc',
|
|
282
|
+
ProductBarcodesPrincipaLasc: 'PRODUCT_BARCODES_PRINCIPAL:asc',
|
|
283
|
+
ProductBarcodesPrincipaLdesc: 'PRODUCT_BARCODES_PRINCIPAL:desc',
|
|
284
|
+
CreatedATasc: 'CREATED_AT:asc',
|
|
285
|
+
CreatedATdesc: 'CREATED_AT:desc',
|
|
286
|
+
RebatEasc: 'REBATE:asc',
|
|
287
|
+
RebatEdesc: 'REBATE:desc',
|
|
288
|
+
QuantitYasc: 'QUANTITY:asc',
|
|
289
|
+
QuantitYdesc: 'QUANTITY:desc'
|
|
290
290
|
};
|
|
@@ -16,14 +16,14 @@
|
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
|
+
* 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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -34,29 +34,28 @@ export interface RestError {
|
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
36
|
export declare const RestErrorCodeEnum: {
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly CODE022: "CODE022";
|
|
37
|
+
readonly Code000: "CODE000";
|
|
38
|
+
readonly Code001: "CODE001";
|
|
39
|
+
readonly Code002: "CODE002";
|
|
40
|
+
readonly Code003: "CODE003";
|
|
41
|
+
readonly Code004: "CODE004";
|
|
42
|
+
readonly Code005: "CODE005";
|
|
43
|
+
readonly Code006: "CODE006";
|
|
44
|
+
readonly Code007: "CODE007";
|
|
45
|
+
readonly Code008: "CODE008";
|
|
46
|
+
readonly Code009: "CODE009";
|
|
47
|
+
readonly Code010: "CODE010";
|
|
48
|
+
readonly Code011: "CODE011";
|
|
49
|
+
readonly Code012: "CODE012";
|
|
50
|
+
readonly Code013: "CODE013";
|
|
51
|
+
readonly Code014: "CODE014";
|
|
52
|
+
readonly Code015: "CODE015";
|
|
53
|
+
readonly Code016: "CODE016";
|
|
54
|
+
readonly Code017: "CODE017";
|
|
55
|
+
readonly Code018: "CODE018";
|
|
56
|
+
readonly Code019: "CODE019";
|
|
57
|
+
readonly Code020: "CODE020";
|
|
58
|
+
readonly Code021: "CODE021";
|
|
60
59
|
};
|
|
61
60
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
61
|
/**
|
|
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
85
84
|
readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
|
|
86
85
|
readonly MESSAGE020: "ETag do not match";
|
|
87
86
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
|
-
readonly MESSAGE022: "Disabled feature";
|
|
89
87
|
};
|
|
90
88
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
89
|
/**
|
|
@@ -18,29 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
|
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
exports.RestErrorCodeEnum = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CODE022: 'CODE022'
|
|
21
|
+
Code000: 'CODE000',
|
|
22
|
+
Code001: 'CODE001',
|
|
23
|
+
Code002: 'CODE002',
|
|
24
|
+
Code003: 'CODE003',
|
|
25
|
+
Code004: 'CODE004',
|
|
26
|
+
Code005: 'CODE005',
|
|
27
|
+
Code006: 'CODE006',
|
|
28
|
+
Code007: 'CODE007',
|
|
29
|
+
Code008: 'CODE008',
|
|
30
|
+
Code009: 'CODE009',
|
|
31
|
+
Code010: 'CODE010',
|
|
32
|
+
Code011: 'CODE011',
|
|
33
|
+
Code012: 'CODE012',
|
|
34
|
+
Code013: 'CODE013',
|
|
35
|
+
Code014: 'CODE014',
|
|
36
|
+
Code015: 'CODE015',
|
|
37
|
+
Code016: 'CODE016',
|
|
38
|
+
Code017: 'CODE017',
|
|
39
|
+
Code018: 'CODE018',
|
|
40
|
+
Code019: 'CODE019',
|
|
41
|
+
Code020: 'CODE020',
|
|
42
|
+
Code021: 'CODE021'
|
|
44
43
|
};
|
|
45
44
|
/**
|
|
46
45
|
* @export
|
|
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
|
|
|
67
66
|
MESSAGE018: 'Trial already used',
|
|
68
67
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
68
|
MESSAGE020: 'ETag do not match',
|
|
70
|
-
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
69
|
+
MESSAGE021: 'Missing informations for Offisante subscription'
|
|
72
70
|
};
|
|
73
71
|
/**
|
|
74
72
|
* Check if a given object implements the RestError interface.
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const WishReferrerType: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
17
|
+
readonly Manual: "MANUAL";
|
|
18
|
+
readonly Favorite: "FAVORITE";
|
|
19
19
|
};
|
|
20
20
|
export declare type WishReferrerType = typeof WishReferrerType[keyof typeof WishReferrerType];
|
|
21
21
|
export declare function instanceOfWishReferrerType(value: any): boolean;
|
|
@@ -19,8 +19,8 @@ exports.WishReferrerTypeToJSON = exports.WishReferrerTypeFromJSONTyped = exports
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.WishReferrerType = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Manual: 'MANUAL',
|
|
23
|
+
Favorite: 'FAVORITE'
|
|
24
24
|
};
|
|
25
25
|
function instanceOfWishReferrerType(value) {
|
|
26
26
|
for (var key in exports.WishReferrerType) {
|