@lcdp/api-react-rest-client 2.4.0-develop.5667184163 → 2.4.0

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 (84) hide show
  1. package/notification/src/apis/SearchNotificationTypeApi.d.ts +2 -13
  2. package/notification/src/apis/SearchNotificationTypeApi.js +9 -82
  3. package/package.json +1 -1
  4. package/product/src/apis/ManageProductApi.d.ts +0 -2
  5. package/product/src/apis/ManageProductApi.js +0 -6
  6. package/product/src/apis/SearchProductApi.d.ts +0 -1
  7. package/product/src/apis/SearchProductApi.js +0 -3
  8. package/product/src/apis/SearchProductMetadataApi.d.ts +0 -22
  9. package/product/src/apis/SearchProductMetadataApi.js +8 -154
  10. package/product/src/models/Image.d.ts +0 -7
  11. package/product/src/models/Image.js +0 -3
  12. package/product/src/models/Product.d.ts +37 -44
  13. package/product/src/models/Product.js +31 -33
  14. package/product/src/models/ProductCreationOrUpdateParameters.d.ts +6 -6
  15. package/product/src/models/ProductCreationOrUpdateParameters.js +2 -2
  16. package/product/src/models/ProductProscription.d.ts +0 -7
  17. package/product/src/models/ProductProscription.js +0 -3
  18. package/product/src/models/{DataProvider.d.ts → ProductProvider.d.ts} +5 -7
  19. package/product/src/models/ProductProvider.js +38 -0
  20. package/product/src/models/index.d.ts +1 -6
  21. package/product/src/models/index.js +1 -6
  22. package/catalog/index.d.ts +0 -1
  23. package/catalog/index.js +0 -17
  24. package/catalog/src/apis/ManageProductInsightApi.d.ts +0 -54
  25. package/catalog/src/apis/ManageProductInsightApi.js +0 -295
  26. package/catalog/src/apis/SearchProductInsightApi.d.ts +0 -54
  27. package/catalog/src/apis/SearchProductInsightApi.js +0 -249
  28. package/catalog/src/apis/index.d.ts +0 -2
  29. package/catalog/src/apis/index.js +0 -18
  30. package/catalog/src/index.d.ts +0 -3
  31. package/catalog/src/index.js +0 -19
  32. package/catalog/src/models/Barcodes.d.ts +0 -45
  33. package/catalog/src/models/Barcodes.js +0 -48
  34. package/catalog/src/models/HttpLink.d.ts +0 -27
  35. package/catalog/src/models/HttpLink.js +0 -41
  36. package/catalog/src/models/LaboratoryLink.d.ts +0 -34
  37. package/catalog/src/models/LaboratoryLink.js +0 -50
  38. package/catalog/src/models/LaboratoryLinkAllOf.d.ts +0 -33
  39. package/catalog/src/models/LaboratoryLinkAllOf.js +0 -44
  40. package/catalog/src/models/PaginatedObject.d.ts +0 -28
  41. package/catalog/src/models/PaginatedObject.js +0 -42
  42. package/catalog/src/models/PaginatedProductInsights.d.ts +0 -29
  43. package/catalog/src/models/PaginatedProductInsights.js +0 -50
  44. package/catalog/src/models/PaginatedProductInsightsAllOf.d.ts +0 -28
  45. package/catalog/src/models/PaginatedProductInsightsAllOf.js +0 -42
  46. package/catalog/src/models/PagingMetadata.d.ts +0 -45
  47. package/catalog/src/models/PagingMetadata.js +0 -47
  48. package/catalog/src/models/ProductInsight.d.ts +0 -106
  49. package/catalog/src/models/ProductInsight.js +0 -73
  50. package/catalog/src/models/ProductInsightCreateOrUpdateParameters.d.ts +0 -89
  51. package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +0 -64
  52. package/catalog/src/models/ProductInsightJournal.d.ts +0 -33
  53. package/catalog/src/models/ProductInsightJournal.js +0 -44
  54. package/catalog/src/models/ProductSecondaryTypeLink.d.ts +0 -34
  55. package/catalog/src/models/ProductSecondaryTypeLink.js +0 -50
  56. package/catalog/src/models/ProductSecondaryTypeLinkAllOf.d.ts +0 -33
  57. package/catalog/src/models/ProductSecondaryTypeLinkAllOf.js +0 -44
  58. package/catalog/src/models/ProductStorageType.d.ts +0 -25
  59. package/catalog/src/models/ProductStorageType.js +0 -40
  60. package/catalog/src/models/ProductTypeLink.d.ts +0 -34
  61. package/catalog/src/models/ProductTypeLink.js +0 -50
  62. package/catalog/src/models/ProductTypeLinkAllOf.d.ts +0 -33
  63. package/catalog/src/models/ProductTypeLinkAllOf.js +0 -44
  64. package/catalog/src/models/RestError.d.ts +0 -85
  65. package/catalog/src/models/RestError.js +0 -97
  66. package/catalog/src/models/VatLink.d.ts +0 -40
  67. package/catalog/src/models/VatLink.js +0 -50
  68. package/catalog/src/models/VatLinkAllOf.d.ts +0 -39
  69. package/catalog/src/models/VatLinkAllOf.js +0 -46
  70. package/catalog/src/models/index.d.ts +0 -19
  71. package/catalog/src/models/index.js +0 -35
  72. package/catalog/src/runtime.d.ts +0 -149
  73. package/catalog/src/runtime.js +0 -480
  74. package/product/src/models/DataProvider.js +0 -40
  75. package/product/src/models/ProductJournal.d.ts +0 -27
  76. package/product/src/models/ProductJournal.js +0 -41
  77. package/product/src/models/ProductSource.d.ts +0 -47
  78. package/product/src/models/ProductSource.js +0 -49
  79. package/product/src/models/ProductSourceBcb.d.ts +0 -39
  80. package/product/src/models/ProductSourceBcb.js +0 -46
  81. package/product/src/models/ProductSourceFields.d.ts +0 -131
  82. package/product/src/models/ProductSourceFields.js +0 -77
  83. package/product/src/models/ProductSourceFieldsBarcodes.d.ts +0 -46
  84. package/product/src/models/ProductSourceFieldsBarcodes.js +0 -48
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-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.ProductJournalToJSON = exports.ProductJournalFromJSONTyped = exports.ProductJournalFromJSON = void 0;
17
- function ProductJournalFromJSON(json) {
18
- return ProductJournalFromJSONTyped(json, false);
19
- }
20
- exports.ProductJournalFromJSON = ProductJournalFromJSON;
21
- function ProductJournalFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'lastSyncedDate': (json['lastSyncedDate'] === null ? null : new Date(json['lastSyncedDate'])),
27
- };
28
- }
29
- exports.ProductJournalFromJSONTyped = ProductJournalFromJSONTyped;
30
- function ProductJournalToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- return {
38
- 'lastSyncedDate': (value.lastSyncedDate === null ? null : value.lastSyncedDate.toISOString()),
39
- };
40
- }
41
- exports.ProductJournalToJSON = ProductJournalToJSON;
@@ -1,47 +0,0 @@
1
- /**
2
- * lcdp-monolith-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 { ProductSourceBcb } from './ProductSourceBcb';
13
- import { ProductSourceFields } from './ProductSourceFields';
14
- /**
15
- *
16
- * @export
17
- * @interface ProductSource
18
- */
19
- export interface ProductSource {
20
- /**
21
- *
22
- * @type {ProductSourceBcb}
23
- * @memberof ProductSource
24
- */
25
- bcb: ProductSourceBcb | null;
26
- /**
27
- *
28
- * @type {ProductSourceBcb}
29
- * @memberof ProductSource
30
- */
31
- vidal: ProductSourceBcb | null;
32
- /**
33
- *
34
- * @type {ProductSourceBcb}
35
- * @memberof ProductSource
36
- */
37
- lcdpCatalog: ProductSourceBcb | null;
38
- /**
39
- *
40
- * @type {ProductSourceFields}
41
- * @memberof ProductSource
42
- */
43
- fields: ProductSourceFields;
44
- }
45
- export declare function ProductSourceFromJSON(json: any): ProductSource;
46
- export declare function ProductSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSource;
47
- export declare function ProductSourceToJSON(value?: ProductSource | null): any;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-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.ProductSourceToJSON = exports.ProductSourceFromJSONTyped = exports.ProductSourceFromJSON = void 0;
17
- var ProductSourceBcb_1 = require("./ProductSourceBcb");
18
- var ProductSourceFields_1 = require("./ProductSourceFields");
19
- function ProductSourceFromJSON(json) {
20
- return ProductSourceFromJSONTyped(json, false);
21
- }
22
- exports.ProductSourceFromJSON = ProductSourceFromJSON;
23
- function ProductSourceFromJSONTyped(json, ignoreDiscriminator) {
24
- if ((json === undefined) || (json === null)) {
25
- return json;
26
- }
27
- return {
28
- 'bcb': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['bcb']),
29
- 'vidal': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['vidal']),
30
- 'lcdpCatalog': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['lcdpCatalog']),
31
- 'fields': (0, ProductSourceFields_1.ProductSourceFieldsFromJSON)(json['fields']),
32
- };
33
- }
34
- exports.ProductSourceFromJSONTyped = ProductSourceFromJSONTyped;
35
- function ProductSourceToJSON(value) {
36
- if (value === undefined) {
37
- return undefined;
38
- }
39
- if (value === null) {
40
- return null;
41
- }
42
- return {
43
- 'bcb': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.bcb),
44
- 'vidal': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.vidal),
45
- 'lcdpCatalog': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.lcdpCatalog),
46
- 'fields': (0, ProductSourceFields_1.ProductSourceFieldsToJSON)(value.fields),
47
- };
48
- }
49
- exports.ProductSourceToJSON = ProductSourceToJSON;
@@ -1,39 +0,0 @@
1
- /**
2
- * lcdp-monolith-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 ProductSourceBcb
16
- */
17
- export interface ProductSourceBcb {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof ProductSourceBcb
22
- */
23
- id: number | null;
24
- /**
25
- * Public price of the product
26
- * @type {number}
27
- * @memberof ProductSourceBcb
28
- */
29
- unitPrice?: number | null;
30
- /**
31
- * Date on which the unit price take effect
32
- * @type {Date}
33
- * @memberof ProductSourceBcb
34
- */
35
- unitPriceEffectiveDate?: Date | null;
36
- }
37
- export declare function ProductSourceBcbFromJSON(json: any): ProductSourceBcb;
38
- export declare function ProductSourceBcbFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSourceBcb;
39
- export declare function ProductSourceBcbToJSON(value?: ProductSourceBcb | null): any;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-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.ProductSourceBcbToJSON = exports.ProductSourceBcbFromJSONTyped = exports.ProductSourceBcbFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
- function ProductSourceBcbFromJSON(json) {
19
- return ProductSourceBcbFromJSONTyped(json, false);
20
- }
21
- exports.ProductSourceBcbFromJSON = ProductSourceBcbFromJSON;
22
- function ProductSourceBcbFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'id': json['id'],
28
- 'unitPrice': !(0, runtime_1.exists)(json, 'unitPrice') ? json['unitPrice'] : json['unitPrice'],
29
- 'unitPriceEffectiveDate': !(0, runtime_1.exists)(json, 'unitPriceEffectiveDate') ? json['unitPriceEffectiveDate'] : (new Date(json['unitPriceEffectiveDate'])),
30
- };
31
- }
32
- exports.ProductSourceBcbFromJSONTyped = ProductSourceBcbFromJSONTyped;
33
- function ProductSourceBcbToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
39
- }
40
- return {
41
- 'id': value.id,
42
- 'unitPrice': value.unitPrice,
43
- 'unitPriceEffectiveDate': value.unitPriceEffectiveDate === undefined ? undefined : (value.unitPriceEffectiveDate === null ? null : value.unitPriceEffectiveDate.toISOString()),
44
- };
45
- }
46
- exports.ProductSourceBcbToJSON = ProductSourceBcbToJSON;
@@ -1,131 +0,0 @@
1
- /**
2
- * lcdp-monolith-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 { DataProvider } from './DataProvider';
13
- import { ProductSourceFieldsBarcodes } from './ProductSourceFieldsBarcodes';
14
- /**
15
- *
16
- * @export
17
- * @interface ProductSourceFields
18
- */
19
- export interface ProductSourceFields {
20
- /**
21
- *
22
- * @type {ProductSourceFieldsBarcodes}
23
- * @memberof ProductSourceFields
24
- */
25
- barcodes: ProductSourceFieldsBarcodes;
26
- /**
27
- *
28
- * @type {DataProvider}
29
- * @memberof ProductSourceFields
30
- */
31
- name: DataProvider | null;
32
- /**
33
- *
34
- * @type {DataProvider}
35
- * @memberof ProductSourceFields
36
- */
37
- shortName: DataProvider | null;
38
- /**
39
- *
40
- * @type {DataProvider}
41
- * @memberof ProductSourceFields
42
- */
43
- dci: DataProvider | null;
44
- /**
45
- *
46
- * @type {DataProvider}
47
- * @memberof ProductSourceFields
48
- */
49
- unitWeight: DataProvider | null;
50
- /**
51
- *
52
- * @type {DataProvider}
53
- * @memberof ProductSourceFields
54
- */
55
- unitPrice: DataProvider | null;
56
- /**
57
- *
58
- * @type {DataProvider}
59
- * @memberof ProductSourceFields
60
- */
61
- unitPriceEffectiveDate: DataProvider | null;
62
- /**
63
- *
64
- * @type {DataProvider}
65
- * @memberof ProductSourceFields
66
- */
67
- type: DataProvider | null;
68
- /**
69
- *
70
- * @type {DataProvider}
71
- * @memberof ProductSourceFields
72
- */
73
- secondaryType: DataProvider | null;
74
- /**
75
- *
76
- * @type {DataProvider}
77
- * @memberof ProductSourceFields
78
- */
79
- laboratory: DataProvider | null;
80
- /**
81
- *
82
- * @type {DataProvider}
83
- * @memberof ProductSourceFields
84
- */
85
- vat: DataProvider | null;
86
- /**
87
- *
88
- * @type {DataProvider}
89
- * @memberof ProductSourceFields
90
- */
91
- narcoticPrescription: DataProvider | null;
92
- /**
93
- *
94
- * @type {DataProvider}
95
- * @memberof ProductSourceFields
96
- */
97
- storageType: DataProvider | null;
98
- /**
99
- *
100
- * @type {DataProvider}
101
- * @memberof ProductSourceFields
102
- */
103
- marketStatus: DataProvider | null;
104
- /**
105
- *
106
- * @type {DataProvider}
107
- * @memberof ProductSourceFields
108
- */
109
- dispensationPlace: DataProvider | null;
110
- /**
111
- *
112
- * @type {DataProvider}
113
- * @memberof ProductSourceFields
114
- */
115
- isOtc: DataProvider | null;
116
- /**
117
- *
118
- * @type {DataProvider}
119
- * @memberof ProductSourceFields
120
- */
121
- isDrugInSport: DataProvider | null;
122
- /**
123
- *
124
- * @type {Array<DataProvider>}
125
- * @memberof ProductSourceFields
126
- */
127
- tags: Array<DataProvider>;
128
- }
129
- export declare function ProductSourceFieldsFromJSON(json: any): ProductSourceFields;
130
- export declare function ProductSourceFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSourceFields;
131
- export declare function ProductSourceFieldsToJSON(value?: ProductSourceFields | null): any;
@@ -1,77 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-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.ProductSourceFieldsToJSON = exports.ProductSourceFieldsFromJSONTyped = exports.ProductSourceFieldsFromJSON = void 0;
17
- var DataProvider_1 = require("./DataProvider");
18
- var ProductSourceFieldsBarcodes_1 = require("./ProductSourceFieldsBarcodes");
19
- function ProductSourceFieldsFromJSON(json) {
20
- return ProductSourceFieldsFromJSONTyped(json, false);
21
- }
22
- exports.ProductSourceFieldsFromJSON = ProductSourceFieldsFromJSON;
23
- function ProductSourceFieldsFromJSONTyped(json, ignoreDiscriminator) {
24
- if ((json === undefined) || (json === null)) {
25
- return json;
26
- }
27
- return {
28
- 'barcodes': (0, ProductSourceFieldsBarcodes_1.ProductSourceFieldsBarcodesFromJSON)(json['barcodes']),
29
- 'name': (0, DataProvider_1.DataProviderFromJSON)(json['name']),
30
- 'shortName': (0, DataProvider_1.DataProviderFromJSON)(json['shortName']),
31
- 'dci': (0, DataProvider_1.DataProviderFromJSON)(json['dci']),
32
- 'unitWeight': (0, DataProvider_1.DataProviderFromJSON)(json['unitWeight']),
33
- 'unitPrice': (0, DataProvider_1.DataProviderFromJSON)(json['unitPrice']),
34
- 'unitPriceEffectiveDate': (0, DataProvider_1.DataProviderFromJSON)(json['unitPriceEffectiveDate']),
35
- 'type': (0, DataProvider_1.DataProviderFromJSON)(json['type']),
36
- 'secondaryType': (0, DataProvider_1.DataProviderFromJSON)(json['secondaryType']),
37
- 'laboratory': (0, DataProvider_1.DataProviderFromJSON)(json['laboratory']),
38
- 'vat': (0, DataProvider_1.DataProviderFromJSON)(json['vat']),
39
- 'narcoticPrescription': (0, DataProvider_1.DataProviderFromJSON)(json['narcoticPrescription']),
40
- 'storageType': (0, DataProvider_1.DataProviderFromJSON)(json['storageType']),
41
- 'marketStatus': (0, DataProvider_1.DataProviderFromJSON)(json['marketStatus']),
42
- 'dispensationPlace': (0, DataProvider_1.DataProviderFromJSON)(json['dispensationPlace']),
43
- 'isOtc': (0, DataProvider_1.DataProviderFromJSON)(json['isOtc']),
44
- 'isDrugInSport': (0, DataProvider_1.DataProviderFromJSON)(json['isDrugInSport']),
45
- 'tags': (json['tags'].map(DataProvider_1.DataProviderFromJSON)),
46
- };
47
- }
48
- exports.ProductSourceFieldsFromJSONTyped = ProductSourceFieldsFromJSONTyped;
49
- function ProductSourceFieldsToJSON(value) {
50
- if (value === undefined) {
51
- return undefined;
52
- }
53
- if (value === null) {
54
- return null;
55
- }
56
- return {
57
- 'barcodes': (0, ProductSourceFieldsBarcodes_1.ProductSourceFieldsBarcodesToJSON)(value.barcodes),
58
- 'name': (0, DataProvider_1.DataProviderToJSON)(value.name),
59
- 'shortName': (0, DataProvider_1.DataProviderToJSON)(value.shortName),
60
- 'dci': (0, DataProvider_1.DataProviderToJSON)(value.dci),
61
- 'unitWeight': (0, DataProvider_1.DataProviderToJSON)(value.unitWeight),
62
- 'unitPrice': (0, DataProvider_1.DataProviderToJSON)(value.unitPrice),
63
- 'unitPriceEffectiveDate': (0, DataProvider_1.DataProviderToJSON)(value.unitPriceEffectiveDate),
64
- 'type': (0, DataProvider_1.DataProviderToJSON)(value.type),
65
- 'secondaryType': (0, DataProvider_1.DataProviderToJSON)(value.secondaryType),
66
- 'laboratory': (0, DataProvider_1.DataProviderToJSON)(value.laboratory),
67
- 'vat': (0, DataProvider_1.DataProviderToJSON)(value.vat),
68
- 'narcoticPrescription': (0, DataProvider_1.DataProviderToJSON)(value.narcoticPrescription),
69
- 'storageType': (0, DataProvider_1.DataProviderToJSON)(value.storageType),
70
- 'marketStatus': (0, DataProvider_1.DataProviderToJSON)(value.marketStatus),
71
- 'dispensationPlace': (0, DataProvider_1.DataProviderToJSON)(value.dispensationPlace),
72
- 'isOtc': (0, DataProvider_1.DataProviderToJSON)(value.isOtc),
73
- 'isDrugInSport': (0, DataProvider_1.DataProviderToJSON)(value.isDrugInSport),
74
- 'tags': (value.tags.map(DataProvider_1.DataProviderToJSON)),
75
- };
76
- }
77
- exports.ProductSourceFieldsToJSON = ProductSourceFieldsToJSON;
@@ -1,46 +0,0 @@
1
- /**
2
- * lcdp-monolith-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 { DataProvider } from './DataProvider';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductSourceFieldsBarcodes
17
- */
18
- export interface ProductSourceFieldsBarcodes {
19
- /**
20
- *
21
- * @type {DataProvider}
22
- * @memberof ProductSourceFieldsBarcodes
23
- */
24
- cip: DataProvider | null;
25
- /**
26
- *
27
- * @type {DataProvider}
28
- * @memberof ProductSourceFieldsBarcodes
29
- */
30
- cip13: DataProvider | null;
31
- /**
32
- *
33
- * @type {DataProvider}
34
- * @memberof ProductSourceFieldsBarcodes
35
- */
36
- eans: DataProvider | null;
37
- /**
38
- *
39
- * @type {DataProvider}
40
- * @memberof ProductSourceFieldsBarcodes
41
- */
42
- principal: DataProvider | null;
43
- }
44
- export declare function ProductSourceFieldsBarcodesFromJSON(json: any): ProductSourceFieldsBarcodes;
45
- export declare function ProductSourceFieldsBarcodesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSourceFieldsBarcodes;
46
- export declare function ProductSourceFieldsBarcodesToJSON(value?: ProductSourceFieldsBarcodes | null): any;
@@ -1,48 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-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.ProductSourceFieldsBarcodesToJSON = exports.ProductSourceFieldsBarcodesFromJSONTyped = exports.ProductSourceFieldsBarcodesFromJSON = void 0;
17
- var DataProvider_1 = require("./DataProvider");
18
- function ProductSourceFieldsBarcodesFromJSON(json) {
19
- return ProductSourceFieldsBarcodesFromJSONTyped(json, false);
20
- }
21
- exports.ProductSourceFieldsBarcodesFromJSON = ProductSourceFieldsBarcodesFromJSON;
22
- function ProductSourceFieldsBarcodesFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'cip': (0, DataProvider_1.DataProviderFromJSON)(json['cip']),
28
- 'cip13': (0, DataProvider_1.DataProviderFromJSON)(json['cip13']),
29
- 'eans': (0, DataProvider_1.DataProviderFromJSON)(json['eans']),
30
- 'principal': (0, DataProvider_1.DataProviderFromJSON)(json['principal']),
31
- };
32
- }
33
- exports.ProductSourceFieldsBarcodesFromJSONTyped = ProductSourceFieldsBarcodesFromJSONTyped;
34
- function ProductSourceFieldsBarcodesToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'cip': (0, DataProvider_1.DataProviderToJSON)(value.cip),
43
- 'cip13': (0, DataProvider_1.DataProviderToJSON)(value.cip13),
44
- 'eans': (0, DataProvider_1.DataProviderToJSON)(value.eans),
45
- 'principal': (0, DataProvider_1.DataProviderToJSON)(value.principal),
46
- };
47
- }
48
- exports.ProductSourceFieldsBarcodesToJSON = ProductSourceFieldsBarcodesToJSON;