@lcdp/api-react-rest-client 0.0.2-develop.0 → 0.0.2-develop.2

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 (88) hide show
  1. package/configuration/src/apis/ManageVariableApi.d.ts +1 -53
  2. package/configuration/src/apis/ManageVariableApi.js +1 -54
  3. package/configuration/src/apis/SearchVariableApi.d.ts +1 -53
  4. package/configuration/src/apis/SearchVariableApi.js +1 -54
  5. package/laboratory-store/src/models/ImageVersions.d.ts +5 -5
  6. package/magic-cart/src/apis/ManageExpressOrderApi.d.ts +31 -0
  7. package/magic-cart/src/apis/{ManageMagicCartApi.js → ManageExpressOrderApi.js} +16 -17
  8. package/magic-cart/src/apis/index.d.ts +1 -1
  9. package/magic-cart/src/apis/index.js +1 -1
  10. package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +28 -0
  11. package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +69 -0
  12. package/magic-cart/src/models/Barcodes.d.ts +45 -0
  13. package/magic-cart/src/models/Barcodes.js +48 -0
  14. package/magic-cart/src/models/DistributionMode.d.ts +27 -0
  15. package/magic-cart/src/models/{MagicProductBus.js → DistributionMode.js} +10 -12
  16. package/magic-cart/src/models/DistributionRange.d.ts +39 -0
  17. package/magic-cart/src/models/{MagicProposal.js → DistributionRange.js} +12 -12
  18. package/magic-cart/src/models/ExpressOrder.d.ts +28 -0
  19. package/magic-cart/src/models/ExpressOrder.js +43 -0
  20. package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +34 -0
  21. package/magic-cart/src/models/ExpressOrderCreationParameters.js +45 -0
  22. package/magic-cart/src/models/ExpressOrderNeed.d.ts +33 -0
  23. package/magic-cart/src/models/{MagicNeed.js → ExpressOrderNeed.js} +8 -10
  24. package/magic-cart/src/models/HttpLink.d.ts +27 -0
  25. package/magic-cart/src/models/HttpLink.js +41 -0
  26. package/magic-cart/src/models/IdentifiedDistributionRange.d.ts +34 -0
  27. package/magic-cart/src/models/IdentifiedDistributionRange.js +49 -0
  28. package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.d.ts +33 -0
  29. package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.js +43 -0
  30. package/magic-cart/src/models/IdentifiedRangeDistributionMode.d.ts +29 -0
  31. package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +50 -0
  32. package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +28 -0
  33. package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.js +42 -0
  34. package/magic-cart/src/models/ProductLink.d.ts +41 -0
  35. package/magic-cart/src/models/ProductLink.js +50 -0
  36. package/magic-cart/src/models/ProductLinkAllOf.d.ts +40 -0
  37. package/magic-cart/src/models/ProductLinkAllOf.js +46 -0
  38. package/magic-cart/src/models/QuotationDistributionMode.d.ts +22 -0
  39. package/magic-cart/src/models/QuotationDistributionMode.js +28 -0
  40. package/magic-cart/src/models/SaleOfferLink.d.ts +54 -0
  41. package/magic-cart/src/models/SaleOfferLink.js +52 -0
  42. package/magic-cart/src/models/SaleOfferLinkAllOf.d.ts +53 -0
  43. package/magic-cart/src/models/SaleOfferLinkAllOf.js +52 -0
  44. package/magic-cart/src/models/SaleOfferProposal.d.ts +47 -0
  45. package/magic-cart/src/models/SaleOfferProposal.js +49 -0
  46. package/magic-cart/src/models/SellerProposal.d.ts +41 -0
  47. package/magic-cart/src/models/SellerProposal.js +47 -0
  48. package/magic-cart/src/models/Stock.d.ts +39 -0
  49. package/magic-cart/src/models/Stock.js +46 -0
  50. package/magic-cart/src/models/UnitaryDistributionMode.d.ts +34 -0
  51. package/magic-cart/src/models/UnitaryDistributionMode.js +49 -0
  52. package/magic-cart/src/models/UnitaryDistributionModeAllOf.d.ts +33 -0
  53. package/magic-cart/src/models/UnitaryDistributionModeAllOf.js +43 -0
  54. package/magic-cart/src/models/UserLink.d.ts +34 -0
  55. package/magic-cart/src/models/UserLink.js +49 -0
  56. package/magic-cart/src/models/UserLinkAllOf.d.ts +33 -0
  57. package/magic-cart/src/models/UserLinkAllOf.js +43 -0
  58. package/magic-cart/src/models/index.d.ts +24 -9
  59. package/magic-cart/src/models/index.js +24 -9
  60. package/mangopay-hook/src/apis/MangopayHookApi.d.ts +0 -13
  61. package/mangopay-hook/src/apis/MangopayHookApi.js +1 -63
  62. package/package.json +1 -1
  63. package/product/src/apis/SearchProductApi.d.ts +1 -0
  64. package/product/src/apis/SearchProductApi.js +3 -0
  65. package/product/src/models/ImageVersions.d.ts +5 -5
  66. package/pub/src/models/ImageVersions.d.ts +5 -5
  67. package/pub/src/models/PubLocationEnum.d.ts +3 -1
  68. package/pub/src/models/PubLocationEnum.js +2 -0
  69. package/sale-offer/src/models/ImageVersions.d.ts +5 -5
  70. package/shopping-cart/src/models/CartSubCartLine.d.ts +0 -6
  71. package/shopping-cart/src/models/CartSubCartLine.js +0 -2
  72. package/user/src/models/UserDelegatedServices.d.ts +1 -1
  73. package/magic-cart/src/apis/ManageMagicCartApi.d.ts +0 -29
  74. package/magic-cart/src/models/AnyMagicCartCreationParameters.d.ts +0 -25
  75. package/magic-cart/src/models/AnyMagicCartCreationParameters.js +0 -64
  76. package/magic-cart/src/models/MagicCart.d.ts +0 -28
  77. package/magic-cart/src/models/MagicCart.js +0 -43
  78. package/magic-cart/src/models/MagicCartWithInitialCreationParameters.d.ts +0 -29
  79. package/magic-cart/src/models/MagicCartWithInitialCreationParameters.js +0 -50
  80. package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.d.ts +0 -28
  81. package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.js +0 -42
  82. package/magic-cart/src/models/MagicCartWithNeedCreationParameters.d.ts +0 -29
  83. package/magic-cart/src/models/MagicCartWithNeedCreationParameters.js +0 -50
  84. package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.d.ts +0 -28
  85. package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.js +0 -42
  86. package/magic-cart/src/models/MagicNeed.d.ts +0 -39
  87. package/magic-cart/src/models/MagicProductBus.d.ts +0 -33
  88. package/magic-cart/src/models/MagicProposal.d.ts +0 -39
@@ -1,42 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-magic-cart
6
- * This is the REST API of Magic cart
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.MagicCartWithNeedCreationParametersAllOfToJSON = exports.MagicCartWithNeedCreationParametersAllOfFromJSONTyped = exports.MagicCartWithNeedCreationParametersAllOfFromJSON = void 0;
17
- var MagicNeed_1 = require("./MagicNeed");
18
- function MagicCartWithNeedCreationParametersAllOfFromJSON(json) {
19
- return MagicCartWithNeedCreationParametersAllOfFromJSONTyped(json, false);
20
- }
21
- exports.MagicCartWithNeedCreationParametersAllOfFromJSON = MagicCartWithNeedCreationParametersAllOfFromJSON;
22
- function MagicCartWithNeedCreationParametersAllOfFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'needs': (json['needs'].map(MagicNeed_1.MagicNeedFromJSON)),
28
- };
29
- }
30
- exports.MagicCartWithNeedCreationParametersAllOfFromJSONTyped = MagicCartWithNeedCreationParametersAllOfFromJSONTyped;
31
- function MagicCartWithNeedCreationParametersAllOfToJSON(value) {
32
- if (value === undefined) {
33
- return undefined;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- 'needs': (value.needs.map(MagicNeed_1.MagicNeedToJSON)),
40
- };
41
- }
42
- exports.MagicCartWithNeedCreationParametersAllOfToJSON = MagicCartWithNeedCreationParametersAllOfToJSON;
@@ -1,39 +0,0 @@
1
- /**
2
- * lcdp-magic-cart
3
- * This is the REST API of Magic cart
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
- * Product wished by the client
14
- * @export
15
- * @interface MagicNeed
16
- */
17
- export interface MagicNeed {
18
- /**
19
- * Unique identifier of the product
20
- * @type {number}
21
- * @memberof MagicNeed
22
- */
23
- productId: number;
24
- /**
25
- * Wished quantity
26
- * @type {number}
27
- * @memberof MagicNeed
28
- */
29
- quantity: number;
30
- /**
31
- * Acceptable month before lapsing
32
- * @type {number}
33
- * @memberof MagicNeed
34
- */
35
- monthsBeforeLapsing: number;
36
- }
37
- export declare function MagicNeedFromJSON(json: any): MagicNeed;
38
- export declare function MagicNeedFromJSONTyped(json: any, ignoreDiscriminator: boolean): MagicNeed;
39
- export declare function MagicNeedToJSON(value?: MagicNeed | null): any;
@@ -1,33 +0,0 @@
1
- /**
2
- * lcdp-magic-cart
3
- * This is the REST API of Magic cart
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
- * Payload who contain the wish of the client
14
- * @export
15
- * @interface MagicProductBus
16
- */
17
- export interface MagicProductBus {
18
- /**
19
- * Complexity of the request
20
- * @type {string}
21
- * @memberof MagicProductBus
22
- */
23
- complexity: string;
24
- /**
25
- * The way client ask for magic cart
26
- * @type {string}
27
- * @memberof MagicProductBus
28
- */
29
- wishFrom: string;
30
- }
31
- export declare function MagicProductBusFromJSON(json: any): MagicProductBus;
32
- export declare function MagicProductBusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MagicProductBus;
33
- export declare function MagicProductBusToJSON(value?: MagicProductBus | null): any;
@@ -1,39 +0,0 @@
1
- /**
2
- * lcdp-magic-cart
3
- * This is the REST API of Magic cart
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
- * Ad found by the algorithm
14
- * @export
15
- * @interface MagicProposal
16
- */
17
- export interface MagicProposal {
18
- /**
19
- * Unique identifier of the product
20
- * @type {number}
21
- * @memberof MagicProposal
22
- */
23
- productId: number;
24
- /**
25
- * Quantity found
26
- * @type {number}
27
- * @memberof MagicProposal
28
- */
29
- quantity: number;
30
- /**
31
- * Unique identifier of the proposal ad
32
- * @type {string}
33
- * @memberof MagicProposal
34
- */
35
- saleOfferReference: string;
36
- }
37
- export declare function MagicProposalFromJSON(json: any): MagicProposal;
38
- export declare function MagicProposalFromJSONTyped(json: any, ignoreDiscriminator: boolean): MagicProposal;
39
- export declare function MagicProposalToJSON(value?: MagicProposal | null): any;