@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
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ActiveProductToJSON = exports.ActiveProductFromJSONTyped = exports.ActiveProductFromJSON = exports.instanceOfActiveProduct = void 0;
|
|
17
|
-
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
17
|
var ProductLink_1 = require("./ProductLink");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the ActiveProduct interface.
|
|
@@ -35,8 +34,7 @@ function ActiveProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
36
35
|
'totalActiveSaleOffers': json['totalActiveSaleOffers'],
|
|
37
36
|
'activeStock': json['activeStock'],
|
|
38
|
-
'
|
|
39
|
-
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
37
|
+
'_synchronized': json['synchronized'],
|
|
40
38
|
};
|
|
41
39
|
}
|
|
42
40
|
exports.ActiveProductFromJSONTyped = ActiveProductFromJSONTyped;
|
|
@@ -48,8 +46,7 @@ function ActiveProductToJSON(value) {
|
|
|
48
46
|
'product': (0, ProductLink_1.ProductLinkToJSON)(value['product']),
|
|
49
47
|
'totalActiveSaleOffers': value['totalActiveSaleOffers'],
|
|
50
48
|
'activeStock': value['activeStock'],
|
|
51
|
-
'
|
|
52
|
-
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
49
|
+
'synchronized': value['_synchronized'],
|
|
53
50
|
};
|
|
54
51
|
}
|
|
55
52
|
exports.ActiveProductToJSON = ActiveProductToJSON;
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SynchronizationMode } from './SynchronizationMode';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -17,11 +16,11 @@ import type { SynchronizationMode } from './SynchronizationMode';
|
|
|
17
16
|
*/
|
|
18
17
|
export interface ActiveProductUpdateParameters {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
19
|
+
* Product synchronization is enabled or not
|
|
20
|
+
* @type {boolean}
|
|
22
21
|
* @memberof ActiveProductUpdateParameters
|
|
23
22
|
*/
|
|
24
|
-
|
|
23
|
+
_synchronized?: boolean;
|
|
25
24
|
}
|
|
26
25
|
/**
|
|
27
26
|
* Check if a given object implements the ActiveProductUpdateParameters interface.
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ActiveProductUpdateParametersToJSON = exports.ActiveProductUpdateParametersFromJSONTyped = exports.ActiveProductUpdateParametersFromJSON = exports.instanceOfActiveProductUpdateParameters = void 0;
|
|
17
|
-
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the ActiveProductUpdateParameters interface.
|
|
20
19
|
*/
|
|
@@ -31,7 +30,7 @@ function ActiveProductUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
30
|
return json;
|
|
32
31
|
}
|
|
33
32
|
return {
|
|
34
|
-
'
|
|
33
|
+
'_synchronized': json['synchronized'],
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
36
|
exports.ActiveProductUpdateParametersFromJSONTyped = ActiveProductUpdateParametersFromJSONTyped;
|
|
@@ -40,7 +39,7 @@ function ActiveProductUpdateParametersToJSON(value) {
|
|
|
40
39
|
return value;
|
|
41
40
|
}
|
|
42
41
|
return {
|
|
43
|
-
'
|
|
42
|
+
'synchronized': value['_synchronized'],
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
45
|
exports.ActiveProductUpdateParametersToJSON = ActiveProductUpdateParametersToJSON;
|
|
@@ -40,12 +40,6 @@ export interface MisalignedProduct {
|
|
|
40
40
|
* @memberof MisalignedProduct
|
|
41
41
|
*/
|
|
42
42
|
currentStock?: number;
|
|
43
|
-
/**
|
|
44
|
-
* Date of last update of the product
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof MisalignedProduct
|
|
47
|
-
*/
|
|
48
|
-
updatedAt?: Date;
|
|
49
43
|
}
|
|
50
44
|
/**
|
|
51
45
|
* Check if a given object implements the MisalignedProduct interface.
|
|
@@ -35,7 +35,6 @@ function MisalignedProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'totalActiveSaleOffers': json['totalActiveSaleOffers'],
|
|
36
36
|
'activeStock': json['activeStock'],
|
|
37
37
|
'currentStock': json['currentStock'],
|
|
38
|
-
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
exports.MisalignedProductFromJSONTyped = MisalignedProductFromJSONTyped;
|
|
@@ -48,7 +47,6 @@ function MisalignedProductToJSON(value) {
|
|
|
48
47
|
'totalActiveSaleOffers': value['totalActiveSaleOffers'],
|
|
49
48
|
'activeStock': value['activeStock'],
|
|
50
49
|
'currentStock': value['currentStock'],
|
|
51
|
-
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
52
50
|
};
|
|
53
51
|
}
|
|
54
52
|
exports.MisalignedProductToJSON = MisalignedProductToJSON;
|
|
@@ -67,12 +67,6 @@ export interface OverstockProduct {
|
|
|
67
67
|
* @memberof OverstockProduct
|
|
68
68
|
*/
|
|
69
69
|
isUnsold: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Date of last update of the product
|
|
72
|
-
* @type {Date}
|
|
73
|
-
* @memberof OverstockProduct
|
|
74
|
-
*/
|
|
75
|
-
updatedAt?: Date;
|
|
76
70
|
}
|
|
77
71
|
/**
|
|
78
72
|
* Check if a given object implements the OverstockProduct interface.
|
|
@@ -55,7 +55,6 @@ function OverstockProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'blacklisted': json['blacklisted'],
|
|
56
56
|
'forecast': json['forecast'],
|
|
57
57
|
'isUnsold': json['isUnsold'],
|
|
58
|
-
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
60
|
exports.OverstockProductFromJSONTyped = OverstockProductFromJSONTyped;
|
|
@@ -72,7 +71,6 @@ function OverstockProductToJSON(value) {
|
|
|
72
71
|
'blacklisted': value['blacklisted'],
|
|
73
72
|
'forecast': value['forecast'],
|
|
74
73
|
'isUnsold': value['isUnsold'],
|
|
75
|
-
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
76
74
|
};
|
|
77
75
|
}
|
|
78
76
|
exports.OverstockProductToJSON = OverstockProductToJSON;
|
|
@@ -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.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-pharmaide-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SynchroneityOffisante } from './SynchroneityOffisante';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Synchroneity
|
|
17
|
+
*/
|
|
18
|
+
export interface Synchroneity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SynchroneityOffisante}
|
|
22
|
+
* @memberof Synchroneity
|
|
23
|
+
*/
|
|
24
|
+
offisante?: SynchroneityOffisante;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Synchroneity interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSynchroneity(value: object): value is Synchroneity;
|
|
30
|
+
export declare function SynchroneityFromJSON(json: any): Synchroneity;
|
|
31
|
+
export declare function SynchroneityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Synchroneity;
|
|
32
|
+
export declare function SynchroneityToJSON(value?: Synchroneity | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-pharmaide-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SynchroneityToJSON = exports.SynchroneityFromJSONTyped = exports.SynchroneityFromJSON = exports.instanceOfSynchroneity = void 0;
|
|
17
|
+
var SynchroneityOffisante_1 = require("./SynchroneityOffisante");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Synchroneity interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSynchroneity(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfSynchroneity = instanceOfSynchroneity;
|
|
25
|
+
function SynchroneityFromJSON(json) {
|
|
26
|
+
return SynchroneityFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.SynchroneityFromJSON = SynchroneityFromJSON;
|
|
29
|
+
function SynchroneityFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'offisante': (json['offisante'] === null || json['offisante'] === undefined) ? json['offisante'] : (0, SynchroneityOffisante_1.SynchroneityOffisanteFromJSON)(json['offisante']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.SynchroneityFromJSONTyped = SynchroneityFromJSONTyped;
|
|
38
|
+
function SynchroneityToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'offisante': (0, SynchroneityOffisante_1.SynchroneityOffisanteToJSON)(value['offisante']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.SynchroneityToJSON = SynchroneityToJSON;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-pharmaide-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SynchroneitySource } from './SynchroneitySource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SynchroneityOffisante
|
|
17
|
+
*/
|
|
18
|
+
export interface SynchroneityOffisante {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SynchroneitySource}
|
|
22
|
+
* @memberof SynchroneityOffisante
|
|
23
|
+
*/
|
|
24
|
+
stock?: SynchroneitySource;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SynchroneitySource}
|
|
28
|
+
* @memberof SynchroneityOffisante
|
|
29
|
+
*/
|
|
30
|
+
overstock?: SynchroneitySource;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SynchroneityOffisante interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSynchroneityOffisante(value: object): value is SynchroneityOffisante;
|
|
36
|
+
export declare function SynchroneityOffisanteFromJSON(json: any): SynchroneityOffisante;
|
|
37
|
+
export declare function SynchroneityOffisanteFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchroneityOffisante;
|
|
38
|
+
export declare function SynchroneityOffisanteToJSON(value?: SynchroneityOffisante | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-pharmaide-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SynchroneityOffisanteToJSON = exports.SynchroneityOffisanteFromJSONTyped = exports.SynchroneityOffisanteFromJSON = exports.instanceOfSynchroneityOffisante = void 0;
|
|
17
|
+
var SynchroneitySource_1 = require("./SynchroneitySource");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SynchroneityOffisante interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSynchroneityOffisante(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfSynchroneityOffisante = instanceOfSynchroneityOffisante;
|
|
25
|
+
function SynchroneityOffisanteFromJSON(json) {
|
|
26
|
+
return SynchroneityOffisanteFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.SynchroneityOffisanteFromJSON = SynchroneityOffisanteFromJSON;
|
|
29
|
+
function SynchroneityOffisanteFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'stock': (json['stock'] === null || json['stock'] === undefined) ? json['stock'] : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['stock']),
|
|
35
|
+
'overstock': (json['overstock'] === null || json['overstock'] === undefined) ? json['overstock'] : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['overstock']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SynchroneityOffisanteFromJSONTyped = SynchroneityOffisanteFromJSONTyped;
|
|
39
|
+
function SynchroneityOffisanteToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'stock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value['stock']),
|
|
45
|
+
'overstock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value['overstock']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.SynchroneityOffisanteToJSON = SynchroneityOffisanteToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-pharmaide-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* This object contain informations about synchronization between our data and the source.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SynchroneitySource
|
|
16
|
+
*/
|
|
17
|
+
export interface SynchroneitySource {
|
|
18
|
+
/**
|
|
19
|
+
* Last successful synchronization date for this source
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof SynchroneitySource
|
|
22
|
+
*/
|
|
23
|
+
lastSynchronizationDate?: Date | null;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the source will be synrchonized ASAP
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SynchroneitySource
|
|
28
|
+
*/
|
|
29
|
+
synchronizationScheduled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SynchroneitySource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSynchroneitySource(value: object): value is SynchroneitySource;
|
|
35
|
+
export declare function SynchroneitySourceFromJSON(json: any): SynchroneitySource;
|
|
36
|
+
export declare function SynchroneitySourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchroneitySource;
|
|
37
|
+
export declare function SynchroneitySourceToJSON(value?: SynchroneitySource | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-pharmaide-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SynchroneitySourceToJSON = exports.SynchroneitySourceFromJSONTyped = exports.SynchroneitySourceFromJSON = exports.instanceOfSynchroneitySource = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SynchroneitySource interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSynchroneitySource(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfSynchroneitySource = instanceOfSynchroneitySource;
|
|
24
|
+
function SynchroneitySourceFromJSON(json) {
|
|
25
|
+
return SynchroneitySourceFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.SynchroneitySourceFromJSON = SynchroneitySourceFromJSON;
|
|
28
|
+
function SynchroneitySourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'lastSynchronizationDate': (json['lastSynchronizationDate'] === null || json['lastSynchronizationDate'] === undefined) ? json['lastSynchronizationDate'] : new Date(json['lastSynchronizationDate']),
|
|
34
|
+
'synchronizationScheduled': json['synchronizationScheduled'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.SynchroneitySourceFromJSONTyped = SynchroneitySourceFromJSONTyped;
|
|
38
|
+
function SynchroneitySourceToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'lastSynchronizationDate': (value['lastSynchronizationDate'] === null || value['lastSynchronizationDate'] === undefined) ? value['lastSynchronizationDate'] : value['lastSynchronizationDate'].toISOString(),
|
|
44
|
+
'synchronizationScheduled': value['synchronizationScheduled'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.SynchroneitySourceToJSON = SynchroneitySourceToJSON;
|
|
@@ -2,13 +2,10 @@ export * from './ActiveProduct';
|
|
|
2
2
|
export * from './ActiveProductUpdateParameters';
|
|
3
3
|
export * from './Barcodes';
|
|
4
4
|
export * from './HttpLink';
|
|
5
|
-
export * from './Inventory';
|
|
6
|
-
export * from './InventoryJournal';
|
|
7
5
|
export * from './MisalignedProduct';
|
|
8
6
|
export * from './OverstockProduct';
|
|
9
7
|
export * from './OverstockProductUpdateParameters';
|
|
10
8
|
export * from './PaginatedActiveProducts';
|
|
11
|
-
export * from './PaginatedInventories';
|
|
12
9
|
export * from './PaginatedMisalignedProducts';
|
|
13
10
|
export * from './PaginatedObject';
|
|
14
11
|
export * from './PaginatedOverstockProducts';
|
|
@@ -19,4 +16,6 @@ export * from './Statistics';
|
|
|
19
16
|
export * from './StatisticsActiveProducts';
|
|
20
17
|
export * from './StatisticsMisalignedProducts';
|
|
21
18
|
export * from './StatisticsOverstockProducts';
|
|
22
|
-
export * from './
|
|
19
|
+
export * from './Synchroneity';
|
|
20
|
+
export * from './SynchroneityOffisante';
|
|
21
|
+
export * from './SynchroneitySource';
|
|
@@ -20,13 +20,10 @@ __exportStar(require("./ActiveProduct"), exports);
|
|
|
20
20
|
__exportStar(require("./ActiveProductUpdateParameters"), exports);
|
|
21
21
|
__exportStar(require("./Barcodes"), exports);
|
|
22
22
|
__exportStar(require("./HttpLink"), exports);
|
|
23
|
-
__exportStar(require("./Inventory"), exports);
|
|
24
|
-
__exportStar(require("./InventoryJournal"), exports);
|
|
25
23
|
__exportStar(require("./MisalignedProduct"), exports);
|
|
26
24
|
__exportStar(require("./OverstockProduct"), exports);
|
|
27
25
|
__exportStar(require("./OverstockProductUpdateParameters"), exports);
|
|
28
26
|
__exportStar(require("./PaginatedActiveProducts"), exports);
|
|
29
|
-
__exportStar(require("./PaginatedInventories"), exports);
|
|
30
27
|
__exportStar(require("./PaginatedMisalignedProducts"), exports);
|
|
31
28
|
__exportStar(require("./PaginatedObject"), exports);
|
|
32
29
|
__exportStar(require("./PaginatedOverstockProducts"), exports);
|
|
@@ -37,4 +34,6 @@ __exportStar(require("./Statistics"), exports);
|
|
|
37
34
|
__exportStar(require("./StatisticsActiveProducts"), exports);
|
|
38
35
|
__exportStar(require("./StatisticsMisalignedProducts"), exports);
|
|
39
36
|
__exportStar(require("./StatisticsOverstockProducts"), exports);
|
|
40
|
-
__exportStar(require("./
|
|
37
|
+
__exportStar(require("./Synchroneity"), exports);
|
|
38
|
+
__exportStar(require("./SynchroneityOffisante"), exports);
|
|
39
|
+
__exportStar(require("./SynchroneitySource"), exports);
|
|
@@ -52,15 +52,15 @@ export declare class SearchInvoiceApi extends runtime.BaseAPI {
|
|
|
52
52
|
* @export
|
|
53
53
|
*/
|
|
54
54
|
export declare const GetInvoicesOrderByEnum: {
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
55
|
+
readonly ReferencEasc: "REFERENCE:asc";
|
|
56
|
+
readonly ReferencEdesc: "REFERENCE:desc";
|
|
57
|
+
readonly ChargeDatEasc: "CHARGE_DATE:asc";
|
|
58
|
+
readonly ChargeDatEdesc: "CHARGE_DATE:desc";
|
|
59
|
+
readonly TotalExcludingTaxeSasc: "TOTAL_EXCLUDING_TAXES:asc";
|
|
60
|
+
readonly TotalExcludingTaxeSdesc: "TOTAL_EXCLUDING_TAXES:desc";
|
|
61
|
+
readonly TotalIncludingTaxeSasc: "TOTAL_INCLUDING_TAXES:asc";
|
|
62
|
+
readonly TotalIncludingTaxeSdesc: "TOTAL_INCLUDING_TAXES:desc";
|
|
63
|
+
readonly OwnerCompanyLegalNamEasc: "OWNER_COMPANY_LEGAL_NAME:asc";
|
|
64
|
+
readonly OwnerCompanyLegalNamEdesc: "OWNER_COMPANY_LEGAL_NAME:desc";
|
|
65
65
|
};
|
|
66
66
|
export declare type GetInvoicesOrderByEnum = typeof GetInvoicesOrderByEnum[keyof typeof GetInvoicesOrderByEnum];
|
|
@@ -271,14 +271,14 @@ exports.SearchInvoiceApi = SearchInvoiceApi;
|
|
|
271
271
|
* @export
|
|
272
272
|
*/
|
|
273
273
|
exports.GetInvoicesOrderByEnum = {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
274
|
+
ReferencEasc: 'REFERENCE:asc',
|
|
275
|
+
ReferencEdesc: 'REFERENCE:desc',
|
|
276
|
+
ChargeDatEasc: 'CHARGE_DATE:asc',
|
|
277
|
+
ChargeDatEdesc: 'CHARGE_DATE:desc',
|
|
278
|
+
TotalExcludingTaxeSasc: 'TOTAL_EXCLUDING_TAXES:asc',
|
|
279
|
+
TotalExcludingTaxeSdesc: 'TOTAL_EXCLUDING_TAXES:desc',
|
|
280
|
+
TotalIncludingTaxeSasc: 'TOTAL_INCLUDING_TAXES:asc',
|
|
281
|
+
TotalIncludingTaxeSdesc: 'TOTAL_INCLUDING_TAXES:desc',
|
|
282
|
+
OwnerCompanyLegalNamEasc: 'OWNER_COMPANY_LEGAL_NAME:asc',
|
|
283
|
+
OwnerCompanyLegalNamEdesc: 'OWNER_COMPANY_LEGAL_NAME:desc'
|
|
284
284
|
};
|