@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.
Files changed (279) hide show
  1. package/auth/src/apis/SearchApiKeyApi.d.ts +6 -6
  2. package/auth/src/apis/SearchApiKeyApi.js +6 -6
  3. package/auth/src/models/RestError.d.ts +24 -26
  4. package/auth/src/models/RestError.js +23 -25
  5. package/banking-operation/src/apis/SearchLevyApi.d.ts +14 -14
  6. package/banking-operation/src/apis/SearchLevyApi.js +14 -14
  7. package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +2 -2
  8. package/banking-operation/src/apis/SearchOrderPaymentApi.js +2 -2
  9. package/banking-operation/src/models/LevyPaymentStatus.d.ts +3 -3
  10. package/banking-operation/src/models/LevyPaymentStatus.js +3 -3
  11. package/banking-operation/src/models/LevyStatus.d.ts +2 -2
  12. package/banking-operation/src/models/LevyStatus.js +2 -2
  13. package/banking-operation/src/models/Transaction.d.ts +4 -4
  14. package/banking-operation/src/models/Transaction.js +4 -4
  15. package/catalog/src/apis/SearchProductInsightApi.d.ts +4 -4
  16. package/catalog/src/apis/SearchProductInsightApi.js +4 -4
  17. package/catalog/src/models/ProductStorageType.d.ts +4 -4
  18. package/catalog/src/models/ProductStorageType.js +4 -4
  19. package/catalog/src/models/RestError.d.ts +24 -26
  20. package/catalog/src/models/RestError.js +23 -25
  21. package/challenge/src/models/ChallengeAction.d.ts +1 -1
  22. package/challenge/src/models/ChallengeAction.js +1 -1
  23. package/configuration/src/models/RestError.d.ts +24 -26
  24. package/configuration/src/models/RestError.js +23 -25
  25. package/content/src/models/RestError.d.ts +24 -26
  26. package/content/src/models/RestError.js +23 -25
  27. package/factory/src/apis/SearchAssemblyApi.d.ts +6 -6
  28. package/factory/src/apis/SearchAssemblyApi.js +6 -6
  29. package/factory/src/models/AssemblyOutputInner.d.ts +2 -2
  30. package/factory/src/models/AssemblyOutputInner.js +2 -2
  31. package/factory/src/models/AssemblyStatus.d.ts +8 -8
  32. package/factory/src/models/AssemblyStatus.js +8 -8
  33. package/factory/src/models/ProductStatus.d.ts +4 -4
  34. package/factory/src/models/ProductStatus.js +4 -4
  35. package/factory/src/models/SaleOfferStatus.d.ts +7 -7
  36. package/factory/src/models/SaleOfferStatus.js +7 -7
  37. package/factory/src/models/StatusEnum.d.ts +8 -8
  38. package/factory/src/models/StatusEnum.js +8 -8
  39. package/favorite/src/apis/ManageFavoriteProductApi.d.ts +4 -4
  40. package/favorite/src/apis/ManageFavoriteProductApi.js +4 -4
  41. package/favorite/src/models/ProductStatus.d.ts +4 -4
  42. package/favorite/src/models/ProductStatus.js +4 -4
  43. package/favorite/src/models/RestError.d.ts +24 -26
  44. package/favorite/src/models/RestError.js +23 -25
  45. package/inventory/src/apis/ManageInventoryApi.d.ts +17 -5
  46. package/inventory/src/apis/ManageInventoryApi.js +86 -12
  47. package/inventory/src/apis/SearchInventoryApi.d.ts +76 -83
  48. package/inventory/src/apis/SearchInventoryApi.js +141 -160
  49. package/inventory/src/models/ActiveProduct.d.ts +3 -10
  50. package/inventory/src/models/ActiveProduct.js +2 -5
  51. package/inventory/src/models/ActiveProductUpdateParameters.d.ts +3 -4
  52. package/inventory/src/models/ActiveProductUpdateParameters.js +2 -3
  53. package/inventory/src/models/MisalignedProduct.d.ts +0 -6
  54. package/inventory/src/models/MisalignedProduct.js +0 -2
  55. package/inventory/src/models/OverstockProduct.d.ts +0 -6
  56. package/inventory/src/models/OverstockProduct.js +0 -2
  57. package/inventory/src/models/RestError.d.ts +24 -26
  58. package/inventory/src/models/RestError.js +23 -25
  59. package/inventory/src/models/Synchroneity.d.ts +32 -0
  60. package/inventory/src/models/Synchroneity.js +46 -0
  61. package/inventory/src/models/SynchroneityOffisante.d.ts +38 -0
  62. package/inventory/src/models/SynchroneityOffisante.js +48 -0
  63. package/inventory/src/models/SynchroneitySource.d.ts +37 -0
  64. package/inventory/src/models/SynchroneitySource.js +47 -0
  65. package/inventory/src/models/index.d.ts +3 -4
  66. package/inventory/src/models/index.js +3 -4
  67. package/invoice/src/apis/SearchInvoiceApi.d.ts +10 -10
  68. package/invoice/src/apis/SearchInvoiceApi.js +10 -10
  69. package/invoice/src/apis/SearchInvoiceLineApi.d.ts +4 -4
  70. package/invoice/src/apis/SearchInvoiceLineApi.js +4 -4
  71. package/invoice/src/apis/SearchOrderTallyApi.d.ts +8 -8
  72. package/invoice/src/apis/SearchOrderTallyApi.js +8 -8
  73. package/invoice/src/models/InvoiceType.d.ts +13 -13
  74. package/invoice/src/models/InvoiceType.js +13 -13
  75. package/invoice/src/models/RestError.d.ts +24 -26
  76. package/invoice/src/models/RestError.js +23 -25
  77. package/laboratory/src/apis/SearchLaboratoryApi.d.ts +2 -2
  78. package/laboratory/src/apis/SearchLaboratoryApi.js +2 -2
  79. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.d.ts +7 -7
  80. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +7 -7
  81. package/laboratory-store/src/models/DisplayType.d.ts +2 -2
  82. package/laboratory-store/src/models/DisplayType.js +2 -2
  83. package/laboratory-store/src/models/LaboratoryType.d.ts +5 -5
  84. package/laboratory-store/src/models/LaboratoryType.js +5 -5
  85. package/laboratory-store/src/models/RestError.d.ts +24 -26
  86. package/laboratory-store/src/models/RestError.js +23 -25
  87. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +2 -2
  88. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +2 -2
  89. package/lexicon/src/models/RestError.d.ts +24 -26
  90. package/lexicon/src/models/RestError.js +23 -25
  91. package/litigation/src/models/RestError.d.ts +24 -26
  92. package/litigation/src/models/RestError.js +23 -25
  93. package/magic-cart/src/models/ProductStorageType.d.ts +4 -4
  94. package/magic-cart/src/models/ProductStorageType.js +4 -4
  95. package/mandate/src/models/ChallengeAction.d.ts +1 -1
  96. package/mandate/src/models/ChallengeAction.js +1 -1
  97. package/mandate/src/models/Mandate.d.ts +5 -5
  98. package/mandate/src/models/Mandate.js +5 -5
  99. package/mangopay-hook/src/models/RestError.d.ts +24 -26
  100. package/mangopay-hook/src/models/RestError.js +23 -25
  101. package/message/src/apis/SearchMessageApi.d.ts +4 -4
  102. package/message/src/apis/SearchMessageApi.js +4 -4
  103. package/notification/src/apis/SearchNotificationApi.d.ts +2 -2
  104. package/notification/src/apis/SearchNotificationApi.js +2 -2
  105. package/notification/src/apis/SearchNotificationTypeApi.d.ts +6 -6
  106. package/notification/src/apis/SearchNotificationTypeApi.js +6 -6
  107. package/notification/src/models/NotificationTypeId.d.ts +48 -48
  108. package/notification/src/models/NotificationTypeId.js +48 -48
  109. package/notification/src/models/RestError.d.ts +24 -26
  110. package/notification/src/models/RestError.js +23 -25
  111. package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +2 -2
  112. package/order/src/apis/SearchFreeCarriageCouponApi.js +2 -2
  113. package/order/src/apis/SearchOrderApi.d.ts +18 -18
  114. package/order/src/apis/SearchOrderApi.js +18 -18
  115. package/order/src/apis/SearchOrderItemApi.d.ts +24 -24
  116. package/order/src/apis/SearchOrderItemApi.js +24 -24
  117. package/order/src/models/OrderItemWarning.d.ts +5 -5
  118. package/order/src/models/OrderItemWarning.js +5 -5
  119. package/order/src/models/OrderItemsOperation.d.ts +3 -3
  120. package/order/src/models/OrderItemsOperation.js +3 -3
  121. package/order/src/models/OrderStatus.d.ts +15 -15
  122. package/order/src/models/OrderStatus.js +15 -15
  123. package/order/src/models/OrderStatusReason.d.ts +3 -3
  124. package/order/src/models/OrderStatusReason.js +3 -3
  125. package/order/src/models/OrderStorageType.d.ts +4 -4
  126. package/order/src/models/OrderStorageType.js +4 -4
  127. package/order/src/models/OrderType.d.ts +2 -2
  128. package/order/src/models/OrderType.js +2 -2
  129. package/order/src/models/OrderWarning.d.ts +2 -2
  130. package/order/src/models/OrderWarning.js +2 -2
  131. package/order/src/models/ProductStorageType.d.ts +4 -4
  132. package/order/src/models/ProductStorageType.js +4 -4
  133. package/order/src/models/RestError.d.ts +24 -26
  134. package/order/src/models/RestError.js +23 -25
  135. package/order/src/models/UpdateOrderStatusParameters.d.ts +8 -8
  136. package/order/src/models/UpdateOrderStatusParameters.js +8 -8
  137. package/order-log/src/apis/SearchOrderLogApi.d.ts +2 -2
  138. package/order-log/src/apis/SearchOrderLogApi.js +2 -2
  139. package/order-log/src/models/OrderStatusReason.d.ts +3 -3
  140. package/order-log/src/models/OrderStatusReason.js +3 -3
  141. package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +4 -4
  142. package/outrage-message/src/apis/SearchOutrageMessageApi.js +4 -4
  143. package/package.json +1 -1
  144. package/product/src/apis/SearchProductApi.d.ts +18 -18
  145. package/product/src/apis/SearchProductApi.js +18 -18
  146. package/product/src/apis/SearchProductProscriptionApi.d.ts +4 -4
  147. package/product/src/apis/SearchProductProscriptionApi.js +4 -4
  148. package/product/src/models/DataProvider.d.ts +5 -5
  149. package/product/src/models/DataProvider.js +5 -5
  150. package/product/src/models/ProductDispensationPlace.d.ts +2 -2
  151. package/product/src/models/ProductDispensationPlace.js +2 -2
  152. package/product/src/models/ProductMarketStatus.d.ts +6 -6
  153. package/product/src/models/ProductMarketStatus.js +6 -6
  154. package/product/src/models/ProductStatus.d.ts +4 -4
  155. package/product/src/models/ProductStatus.js +4 -4
  156. package/product/src/models/ProductStorageType.d.ts +4 -4
  157. package/product/src/models/ProductStorageType.js +4 -4
  158. package/product/src/models/RestError.d.ts +24 -26
  159. package/product/src/models/RestError.js +23 -25
  160. package/pub/src/apis/SearchPubApi.d.ts +27 -27
  161. package/pub/src/apis/SearchPubApi.js +27 -27
  162. package/pub/src/models/PubLocationEnum.d.ts +3 -3
  163. package/pub/src/models/PubLocationEnum.js +3 -3
  164. package/pub/src/models/RestError.d.ts +24 -26
  165. package/pub/src/models/RestError.js +23 -25
  166. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +4 -4
  167. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +4 -4
  168. package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +4 -4
  169. package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +4 -4
  170. package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +4 -4
  171. package/recommendation/src/apis/SearchProductRecommendationApi.js +4 -4
  172. package/recommendation/src/models/ProductRecommendationType.d.ts +3 -3
  173. package/recommendation/src/models/ProductRecommendationType.js +3 -3
  174. package/rfx/src/apis/SearchRfoiApi.d.ts +10 -10
  175. package/rfx/src/apis/SearchRfoiApi.js +10 -10
  176. package/rfx/src/models/RestError.d.ts +24 -26
  177. package/rfx/src/models/RestError.js +23 -25
  178. package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +35 -35
  179. package/sale-offer/src/apis/SearchSaleOfferApi.js +35 -35
  180. package/sale-offer/src/models/RestError.d.ts +24 -26
  181. package/sale-offer/src/models/RestError.js +23 -25
  182. package/sale-offer/src/models/SaleOfferStatus.d.ts +7 -7
  183. package/sale-offer/src/models/SaleOfferStatus.js +7 -7
  184. package/sale-offer/src/models/SaleOfferStatusReason.d.ts +6 -6
  185. package/sale-offer/src/models/SaleOfferStatusReason.js +6 -6
  186. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.d.ts +2 -2
  187. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +2 -2
  188. package/servant/src/models/RestError.d.ts +24 -26
  189. package/servant/src/models/RestError.js +23 -25
  190. package/shipment/src/apis/SearchOrderCarriageApi.d.ts +4 -4
  191. package/shipment/src/apis/SearchOrderCarriageApi.js +4 -4
  192. package/shipment/src/models/RestError.d.ts +24 -26
  193. package/shipment/src/models/RestError.js +23 -25
  194. package/shipment/src/models/ShipmentError.d.ts +1 -1
  195. package/shipment/src/models/ShipmentError.js +1 -1
  196. package/shipment/src/models/ShipmentParcelStatus.d.ts +3 -3
  197. package/shipment/src/models/ShipmentParcelStatus.js +3 -3
  198. package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +4 -4
  199. package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -4
  200. package/shopping-cart/src/models/ProductStorageType.d.ts +4 -4
  201. package/shopping-cart/src/models/ProductStorageType.js +4 -4
  202. package/shopping-cart/src/models/RestError.d.ts +24 -26
  203. package/shopping-cart/src/models/RestError.js +23 -25
  204. package/shopping-cart/src/models/SaleOfferStatus.d.ts +7 -7
  205. package/shopping-cart/src/models/SaleOfferStatus.js +7 -7
  206. package/shopping-cart/src/models/UserRole.d.ts +8 -8
  207. package/shopping-cart/src/models/UserRole.js +8 -8
  208. package/smuggler/src/models/RestError.d.ts +24 -26
  209. package/smuggler/src/models/RestError.js +23 -25
  210. package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +2 -2
  211. package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +2 -2
  212. package/statistic/src/models/RestError.d.ts +24 -26
  213. package/statistic/src/models/RestError.js +23 -25
  214. package/subscription/src/apis/SearchSubscriptionApi.d.ts +8 -8
  215. package/subscription/src/apis/SearchSubscriptionApi.js +8 -8
  216. package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +2 -2
  217. package/subscription/src/apis/SearchSubscriptionPlanApi.js +2 -2
  218. package/subscription/src/models/RestError.d.ts +24 -26
  219. package/subscription/src/models/RestError.js +23 -25
  220. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +3 -3
  221. package/subscription/src/models/SubscriptionPlanFeatureId.js +3 -3
  222. package/subscription/src/models/SubscriptionPlanId.d.ts +3 -3
  223. package/subscription/src/models/SubscriptionPlanId.js +3 -3
  224. package/third-party/src/models/RestError.d.ts +24 -26
  225. package/third-party/src/models/RestError.js +23 -25
  226. package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -2
  227. package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -2
  228. package/thread/src/apis/SearchThreadCommentApi.d.ts +4 -4
  229. package/thread/src/apis/SearchThreadCommentApi.js +4 -4
  230. package/ubo/src/models/RestError.d.ts +24 -26
  231. package/ubo/src/models/RestError.js +23 -25
  232. package/ubo/src/models/UboDeclaration.d.ts +6 -6
  233. package/ubo/src/models/UboDeclaration.js +6 -6
  234. package/user/src/apis/ManageUserDocumentApi.d.ts +18 -18
  235. package/user/src/apis/ManageUserDocumentApi.js +18 -18
  236. package/user/src/apis/SearchUserApi.d.ts +20 -20
  237. package/user/src/apis/SearchUserApi.js +20 -20
  238. package/user/src/apis/SearchUserDocumentApi.d.ts +30 -30
  239. package/user/src/apis/SearchUserDocumentApi.js +30 -30
  240. package/user/src/models/Gender.d.ts +2 -2
  241. package/user/src/models/Gender.js +2 -2
  242. package/user/src/models/KycLevel.d.ts +2 -2
  243. package/user/src/models/KycLevel.js +2 -2
  244. package/user/src/models/NotificationTypeId.d.ts +48 -48
  245. package/user/src/models/NotificationTypeId.js +48 -48
  246. package/user/src/models/OffisanteStatus.d.ts +3 -3
  247. package/user/src/models/OffisanteStatus.js +3 -3
  248. package/user/src/models/RestError.d.ts +24 -26
  249. package/user/src/models/RestError.js +23 -25
  250. package/user/src/models/UserDocument.d.ts +10 -10
  251. package/user/src/models/UserDocument.js +10 -10
  252. package/user/src/models/UserDocumentStatus.d.ts +5 -5
  253. package/user/src/models/UserDocumentStatus.js +5 -5
  254. package/user/src/models/UserRole.d.ts +8 -8
  255. package/user/src/models/UserRole.js +8 -8
  256. package/user/src/models/UserRuleActionEnum.d.ts +1 -1
  257. package/user/src/models/UserRuleActionEnum.js +1 -1
  258. package/user/src/models/UserRuleAttributeEnum.d.ts +2 -2
  259. package/user/src/models/UserRuleAttributeEnum.js +2 -2
  260. package/user/src/models/UserRuleComparatorEnum.d.ts +2 -2
  261. package/user/src/models/UserRuleComparatorEnum.js +2 -2
  262. package/wish/src/apis/SearchProductEnthusiasmApi.d.ts +10 -10
  263. package/wish/src/apis/SearchProductEnthusiasmApi.js +10 -10
  264. package/wish/src/apis/SearchWishApi.d.ts +10 -10
  265. package/wish/src/apis/SearchWishApi.js +10 -10
  266. package/wish/src/models/RestError.d.ts +24 -26
  267. package/wish/src/models/RestError.js +23 -25
  268. package/wish/src/models/WishReferrerType.d.ts +2 -2
  269. package/wish/src/models/WishReferrerType.js +2 -2
  270. package/wish/src/models/WishStatus.d.ts +3 -3
  271. package/wish/src/models/WishStatus.js +3 -3
  272. package/inventory/src/models/Inventory.d.ts +0 -63
  273. package/inventory/src/models/Inventory.js +0 -57
  274. package/inventory/src/models/InventoryJournal.d.ts +0 -31
  275. package/inventory/src/models/InventoryJournal.js +0 -45
  276. package/inventory/src/models/PaginatedInventories.d.ts +0 -39
  277. package/inventory/src/models/PaginatedInventories.js +0 -53
  278. package/inventory/src/models/SynchronizationMode.d.ts +0 -25
  279. 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 WAITING_FOR_VALIDATION: "WAITING_FOR_VALIDATION";
18
- readonly ACTIVE: "ACTIVE";
19
- readonly ARCHIVED: "ARCHIVED";
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
- WAITING_FOR_VALIDATION: 'WAITING_FOR_VALIDATION',
23
- ACTIVE: 'ACTIVE',
24
- ARCHIVED: 'ARCHIVED'
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;