@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,9 +14,9 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const WishStatus: {
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
17
|
+
readonly WaitingForValidation: "WAITING_FOR_VALIDATION";
|
|
18
|
+
readonly Active: "ACTIVE";
|
|
19
|
+
readonly Archived: "ARCHIVED";
|
|
20
20
|
};
|
|
21
21
|
export declare type WishStatus = typeof WishStatus[keyof typeof WishStatus];
|
|
22
22
|
export declare function instanceOfWishStatus(value: any): boolean;
|
|
@@ -19,9 +19,9 @@ exports.WishStatusToJSON = exports.WishStatusFromJSONTyped = exports.WishStatusF
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
exports.WishStatus = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
WaitingForValidation: 'WAITING_FOR_VALIDATION',
|
|
23
|
+
Active: 'ACTIVE',
|
|
24
|
+
Archived: 'ARCHIVED'
|
|
25
25
|
};
|
|
26
26
|
function instanceOfWishStatus(value) {
|
|
27
27
|
for (var key in exports.WishStatus) {
|
|
@@ -1,63 +0,0 @@
|
|
|
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 { InventoryJournal } from './InventoryJournal';
|
|
13
|
-
import type { HttpLink } from './HttpLink';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface Inventory
|
|
18
|
-
*/
|
|
19
|
-
export interface Inventory {
|
|
20
|
-
/**
|
|
21
|
-
* Inventory id, match user id
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof Inventory
|
|
24
|
-
*/
|
|
25
|
-
id?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Number of products with stock available in Offisante
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof Inventory
|
|
30
|
-
*/
|
|
31
|
-
availableStockProductCount?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {HttpLink}
|
|
35
|
-
* @memberof Inventory
|
|
36
|
-
*/
|
|
37
|
-
activeProducts?: HttpLink;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {HttpLink}
|
|
41
|
-
* @memberof Inventory
|
|
42
|
-
*/
|
|
43
|
-
overstockProducts?: HttpLink;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {HttpLink}
|
|
47
|
-
* @memberof Inventory
|
|
48
|
-
*/
|
|
49
|
-
misalignedProducts?: HttpLink;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {InventoryJournal}
|
|
53
|
-
* @memberof Inventory
|
|
54
|
-
*/
|
|
55
|
-
journal?: InventoryJournal;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the Inventory interface.
|
|
59
|
-
*/
|
|
60
|
-
export declare function instanceOfInventory(value: object): value is Inventory;
|
|
61
|
-
export declare function InventoryFromJSON(json: any): Inventory;
|
|
62
|
-
export declare function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory;
|
|
63
|
-
export declare function InventoryToJSON(value?: Inventory | null): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.InventoryToJSON = exports.InventoryFromJSONTyped = exports.InventoryFromJSON = exports.instanceOfInventory = void 0;
|
|
17
|
-
var InventoryJournal_1 = require("./InventoryJournal");
|
|
18
|
-
var HttpLink_1 = require("./HttpLink");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the Inventory interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfInventory(value) {
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfInventory = instanceOfInventory;
|
|
26
|
-
function InventoryFromJSON(json) {
|
|
27
|
-
return InventoryFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.InventoryFromJSON = InventoryFromJSON;
|
|
30
|
-
function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'id': json['id'],
|
|
36
|
-
'availableStockProductCount': json['availableStockProductCount'],
|
|
37
|
-
'activeProducts': (json['activeProducts'] === null || json['activeProducts'] === undefined) ? json['activeProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['activeProducts']),
|
|
38
|
-
'overstockProducts': (json['overstockProducts'] === null || json['overstockProducts'] === undefined) ? json['overstockProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['overstockProducts']),
|
|
39
|
-
'misalignedProducts': (json['misalignedProducts'] === null || json['misalignedProducts'] === undefined) ? json['misalignedProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['misalignedProducts']),
|
|
40
|
-
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, InventoryJournal_1.InventoryJournalFromJSON)(json['journal']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.InventoryFromJSONTyped = InventoryFromJSONTyped;
|
|
44
|
-
function InventoryToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'id': value['id'],
|
|
50
|
-
'availableStockProductCount': value['availableStockProductCount'],
|
|
51
|
-
'activeProducts': (0, HttpLink_1.HttpLinkToJSON)(value['activeProducts']),
|
|
52
|
-
'overstockProducts': (0, HttpLink_1.HttpLinkToJSON)(value['overstockProducts']),
|
|
53
|
-
'misalignedProducts': (0, HttpLink_1.HttpLinkToJSON)(value['misalignedProducts']),
|
|
54
|
-
'journal': (0, InventoryJournal_1.InventoryJournalToJSON)(value['journal']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.InventoryToJSON = InventoryToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InventoryJournal
|
|
16
|
-
*/
|
|
17
|
-
export interface InventoryJournal {
|
|
18
|
-
/**
|
|
19
|
-
* Last synchronization date of stock
|
|
20
|
-
* @type {Date}
|
|
21
|
-
* @memberof InventoryJournal
|
|
22
|
-
*/
|
|
23
|
-
lastStockSyncDate?: Date;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the InventoryJournal interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfInventoryJournal(value: object): value is InventoryJournal;
|
|
29
|
-
export declare function InventoryJournalFromJSON(json: any): InventoryJournal;
|
|
30
|
-
export declare function InventoryJournalFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryJournal;
|
|
31
|
-
export declare function InventoryJournalToJSON(value?: InventoryJournal | null): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
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.InventoryJournalToJSON = exports.InventoryJournalFromJSONTyped = exports.InventoryJournalFromJSON = exports.instanceOfInventoryJournal = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the InventoryJournal interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfInventoryJournal(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfInventoryJournal = instanceOfInventoryJournal;
|
|
24
|
-
function InventoryJournalFromJSON(json) {
|
|
25
|
-
return InventoryJournalFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.InventoryJournalFromJSON = InventoryJournalFromJSON;
|
|
28
|
-
function InventoryJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'lastStockSyncDate': (json['lastStockSyncDate'] === null || json['lastStockSyncDate'] === undefined) ? json['lastStockSyncDate'] : new Date(json['lastStockSyncDate']),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.InventoryJournalFromJSONTyped = InventoryJournalFromJSONTyped;
|
|
37
|
-
function InventoryJournalToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'lastStockSyncDate': (value['lastStockSyncDate'] === null || value['lastStockSyncDate'] === undefined) ? value['lastStockSyncDate'] : (value['lastStockSyncDate']).toISOString(),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.InventoryJournalToJSON = InventoryJournalToJSON;
|
|
@@ -1,39 +0,0 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { Inventory } from './Inventory';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedInventories
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedInventories {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {PagingMetadata}
|
|
23
|
-
* @memberof PaginatedInventories
|
|
24
|
-
*/
|
|
25
|
-
metadata: PagingMetadata;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<Inventory>}
|
|
29
|
-
* @memberof PaginatedInventories
|
|
30
|
-
*/
|
|
31
|
-
records: Array<Inventory>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedInventories interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedInventories(value: object): value is PaginatedInventories;
|
|
37
|
-
export declare function PaginatedInventoriesFromJSON(json: any): PaginatedInventories;
|
|
38
|
-
export declare function PaginatedInventoriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedInventories;
|
|
39
|
-
export declare function PaginatedInventoriesToJSON(value?: PaginatedInventories | null): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
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.PaginatedInventoriesToJSON = exports.PaginatedInventoriesFromJSONTyped = exports.PaginatedInventoriesFromJSON = exports.instanceOfPaginatedInventories = void 0;
|
|
17
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
18
|
-
var Inventory_1 = require("./Inventory");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the PaginatedInventories interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfPaginatedInventories(value) {
|
|
23
|
-
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('records' in value) || value['records'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfPaginatedInventories = instanceOfPaginatedInventories;
|
|
30
|
-
function PaginatedInventoriesFromJSON(json) {
|
|
31
|
-
return PaginatedInventoriesFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PaginatedInventoriesFromJSON = PaginatedInventoriesFromJSON;
|
|
34
|
-
function PaginatedInventoriesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
40
|
-
'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Inventory_1.InventoryFromJSON),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.PaginatedInventoriesFromJSONTyped = PaginatedInventoriesFromJSONTyped;
|
|
44
|
-
function PaginatedInventoriesToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
50
|
-
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Inventory_1.InventoryToJSON),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.PaginatedInventoriesToJSON = PaginatedInventoriesToJSON;
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
* Synchronization state of the product
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const SynchronizationMode: {
|
|
17
|
-
readonly UP_AND_DOWN: "UP_AND_DOWN";
|
|
18
|
-
readonly DOWN: "DOWN";
|
|
19
|
-
readonly NONE: "NONE";
|
|
20
|
-
};
|
|
21
|
-
export declare type SynchronizationMode = typeof SynchronizationMode[keyof typeof SynchronizationMode];
|
|
22
|
-
export declare function instanceOfSynchronizationMode(value: any): boolean;
|
|
23
|
-
export declare function SynchronizationModeFromJSON(json: any): SynchronizationMode;
|
|
24
|
-
export declare function SynchronizationModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchronizationMode;
|
|
25
|
-
export declare function SynchronizationModeToJSON(value?: SynchronizationMode | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
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.SynchronizationModeToJSON = exports.SynchronizationModeFromJSONTyped = exports.SynchronizationModeFromJSON = exports.instanceOfSynchronizationMode = exports.SynchronizationMode = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Synchronization state of the product
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.SynchronizationMode = {
|
|
22
|
-
UP_AND_DOWN: 'UP_AND_DOWN',
|
|
23
|
-
DOWN: 'DOWN',
|
|
24
|
-
NONE: 'NONE'
|
|
25
|
-
};
|
|
26
|
-
function instanceOfSynchronizationMode(value) {
|
|
27
|
-
for (var key in exports.SynchronizationMode) {
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(exports.SynchronizationMode, key)) {
|
|
29
|
-
if (exports.SynchronizationMode[key] === value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfSynchronizationMode = instanceOfSynchronizationMode;
|
|
37
|
-
function SynchronizationModeFromJSON(json) {
|
|
38
|
-
return SynchronizationModeFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.SynchronizationModeFromJSON = SynchronizationModeFromJSON;
|
|
41
|
-
function SynchronizationModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
exports.SynchronizationModeFromJSONTyped = SynchronizationModeFromJSONTyped;
|
|
45
|
-
function SynchronizationModeToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
exports.SynchronizationModeToJSON = SynchronizationModeToJSON;
|