@lcdp/api-react-rest-client 3.1.6-LDS-5436-api-modifications-routes-et-sch.23587674043 → 3.1.6-develop.23737431721
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/models/RestError.d.ts +5 -3
- package/auth/src/models/RestError.js +5 -3
- package/catalog/src/models/RestError.d.ts +5 -3
- package/catalog/src/models/RestError.js +5 -3
- package/chargebee-hook/src/models/RestError.d.ts +5 -3
- package/chargebee-hook/src/models/RestError.js +5 -3
- package/configuration/src/models/RestError.d.ts +5 -3
- package/configuration/src/models/RestError.js +5 -3
- package/content/src/models/RestError.d.ts +5 -3
- package/content/src/models/RestError.js +5 -3
- package/favorite/src/models/RestError.d.ts +5 -3
- package/favorite/src/models/RestError.js +5 -3
- package/inventory/src/models/RestError.d.ts +5 -3
- package/inventory/src/models/RestError.js +5 -3
- package/invoice/src/models/RestError.d.ts +5 -3
- package/invoice/src/models/RestError.js +5 -3
- package/laboratory-store/src/models/RestError.d.ts +5 -3
- package/laboratory-store/src/models/RestError.js +5 -3
- package/lexicon/src/models/RestError.d.ts +5 -3
- package/lexicon/src/models/RestError.js +5 -3
- package/litigation/src/models/RestError.d.ts +5 -3
- package/litigation/src/models/RestError.js +5 -3
- package/magic-cart/src/models/ExpressOrder.d.ts +3 -3
- package/magic-cart/src/models/ExpressOrder.js +3 -3
- package/magic-cart/src/models/SaleOfferProposal.d.ts +51 -0
- package/magic-cart/src/models/SaleOfferProposal.js +61 -0
- package/magic-cart/src/models/SellerProposal.d.ts +45 -0
- package/magic-cart/src/models/SellerProposal.js +57 -0
- package/magic-cart/src/models/index.d.ts +2 -1
- package/magic-cart/src/models/index.js +2 -1
- package/mangopay-hook/src/models/RestError.d.ts +5 -3
- package/mangopay-hook/src/models/RestError.js +5 -3
- package/notification/src/models/RestError.d.ts +5 -3
- package/notification/src/models/RestError.js +5 -3
- package/order/src/apis/ManageMetaOrderApi.d.ts +45 -0
- package/{shopping-cart/src/apis/SearchCartLineApi.js → order/src/apis/ManageMetaOrderApi.js} +41 -46
- package/order/src/apis/ManageOrderApi.d.ts +8 -8
- package/order/src/apis/ManageOrderApi.js +10 -9
- package/order/src/apis/index.d.ts +1 -2
- package/order/src/apis/index.js +1 -2
- package/order/src/models/AnyMetaOrderWarning.d.ts +26 -0
- package/order/src/models/AnyMetaOrderWarning.js +50 -0
- package/order/src/models/MetaOrder.d.ts +64 -0
- package/order/src/models/MetaOrder.js +70 -0
- package/order/src/models/MetaOrderCreationParameters.d.ts +38 -0
- package/order/src/models/MetaOrderCreationParameters.js +52 -0
- package/order/src/models/MetaOrderCreationSubCartParameters.d.ts +31 -0
- package/order/src/models/MetaOrderCreationSubCartParameters.js +47 -0
- package/order/src/models/MetaOrderPrices.d.ts +79 -0
- package/order/src/models/MetaOrderPrices.js +79 -0
- package/order/src/models/MetaOrderWarning.d.ts +31 -0
- package/order/src/models/MetaOrderWarning.js +47 -0
- package/order/src/models/MetaOrderWithWarnings.d.ts +39 -0
- package/order/src/models/MetaOrderWithWarnings.js +49 -0
- package/order/src/models/Order.d.ts +75 -80
- package/order/src/models/Order.js +48 -53
- package/order/src/models/OrderItemPrices.d.ts +3 -3
- package/order/src/models/{ForeorderItemWarning.d.ts → OrderItemWarning.d.ts} +18 -23
- package/order/src/models/{ForeorderItemWarning.js → OrderItemWarning.js} +15 -18
- package/order/src/models/OrderWarning.d.ts +51 -0
- package/order/src/models/{ForeorderWarning.js → OrderWarning.js} +12 -12
- package/order/src/models/RestError.d.ts +5 -3
- package/order/src/models/RestError.js +5 -3
- package/order/src/models/ShoppedOffer.d.ts +2 -2
- package/order/src/models/ShoppedOffer.js +2 -2
- package/order/src/models/index.d.ts +9 -17
- package/order/src/models/index.js +9 -17
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +5 -3
- package/product/src/models/RestError.js +5 -3
- package/pub/src/models/RestError.d.ts +5 -3
- package/pub/src/models/RestError.js +5 -3
- package/rfx/src/models/RestError.d.ts +5 -3
- package/rfx/src/models/RestError.js +5 -3
- package/sale-offer/src/models/RestError.d.ts +5 -3
- package/sale-offer/src/models/RestError.js +5 -3
- package/servant/src/models/RestError.d.ts +5 -3
- package/servant/src/models/RestError.js +5 -3
- package/shipment/src/models/RestError.d.ts +5 -3
- package/shipment/src/models/RestError.js +5 -3
- package/shopping-cart/src/apis/ManageCartApi.d.ts +24 -35
- package/shopping-cart/src/apis/ManageCartApi.js +120 -57
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +107 -0
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +556 -0
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.d.ts +151 -0
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +879 -0
- package/shopping-cart/src/apis/index.d.ts +2 -3
- package/shopping-cart/src/apis/index.js +2 -3
- package/shopping-cart/src/models/Cart.d.ts +4 -61
- package/shopping-cart/src/models/Cart.js +2 -47
- package/shopping-cart/src/models/CartSubCart.d.ts +76 -0
- package/shopping-cart/src/models/CartSubCart.js +78 -0
- package/shopping-cart/src/models/{CartLine.d.ts → CartSubCartLine.d.ts} +13 -13
- package/shopping-cart/src/models/{CartLine.js → CartSubCartLine.js} +11 -11
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.d.ts +37 -0
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +49 -0
- package/shopping-cart/src/models/{CartTransport.d.ts → CartSubCartTransport.d.ts} +12 -12
- package/shopping-cart/src/models/{CartTransport.js → CartSubCartTransport.js} +11 -11
- package/shopping-cart/src/models/RestError.d.ts +5 -3
- package/shopping-cart/src/models/RestError.js +5 -3
- package/shopping-cart/src/models/ShoppedOffer.d.ts +2 -2
- package/shopping-cart/src/models/ShoppedOffer.js +2 -2
- package/shopping-cart/src/models/index.d.ts +4 -12
- package/shopping-cart/src/models/index.js +4 -12
- package/smuggler/src/models/RestError.d.ts +5 -3
- package/smuggler/src/models/RestError.js +5 -3
- package/statistic/src/models/RestError.d.ts +5 -3
- package/statistic/src/models/RestError.js +5 -3
- package/third-party/src/models/RestError.d.ts +5 -3
- package/third-party/src/models/RestError.js +5 -3
- package/ubo/src/models/RestError.d.ts +5 -3
- package/ubo/src/models/RestError.js +5 -3
- package/user/src/models/RestError.d.ts +5 -3
- package/user/src/models/RestError.js +5 -3
- package/wish/src/models/RestError.d.ts +5 -3
- package/wish/src/models/RestError.js +5 -3
- package/magic-cart/src/models/ShoppedOffer.d.ts +0 -43
- package/magic-cart/src/models/ShoppedOffer.js +0 -53
- package/order/src/apis/ManageForeorderApi.d.ts +0 -31
- package/order/src/apis/ManageForeorderApi.js +0 -163
- package/order/src/apis/SearchForeorderItemApi.d.ts +0 -44
- package/order/src/apis/SearchForeorderItemApi.js +0 -175
- package/order/src/models/AnyForeorderCreationParameters.d.ts +0 -23
- package/order/src/models/AnyForeorderCreationParameters.js +0 -45
- package/order/src/models/AnyForeorderWarning.d.ts +0 -26
- package/order/src/models/AnyForeorderWarning.js +0 -50
- package/order/src/models/AnyOrderCreationParameters.d.ts +0 -26
- package/order/src/models/AnyOrderCreationParameters.js +0 -50
- package/order/src/models/AnySource.d.ts +0 -26
- package/order/src/models/AnySource.js +0 -50
- package/order/src/models/CartForeorderCreationParameters.d.ts +0 -37
- package/order/src/models/CartForeorderCreationParameters.js +0 -51
- package/order/src/models/CartSource.d.ts +0 -37
- package/order/src/models/CartSource.js +0 -49
- package/order/src/models/CloneOrderCreationParameters.d.ts +0 -37
- package/order/src/models/CloneOrderCreationParameters.js +0 -51
- package/order/src/models/Foreorder.d.ts +0 -155
- package/order/src/models/Foreorder.js +0 -128
- package/order/src/models/ForeorderCreationParameters.d.ts +0 -31
- package/order/src/models/ForeorderCreationParameters.js +0 -47
- package/order/src/models/ForeorderCreationResponse.d.ts +0 -39
- package/order/src/models/ForeorderCreationResponse.js +0 -53
- package/order/src/models/ForeorderOrderCreationParameters.d.ts +0 -37
- package/order/src/models/ForeorderOrderCreationParameters.js +0 -51
- package/order/src/models/ForeorderWarning.d.ts +0 -51
- package/order/src/models/ForeorderWarningBase.d.ts +0 -37
- package/order/src/models/ForeorderWarningBase.js +0 -51
- package/order/src/models/OrderCreationParameters.d.ts +0 -31
- package/order/src/models/OrderCreationParameters.js +0 -47
- package/order/src/models/OrderSource.d.ts +0 -37
- package/order/src/models/OrderSource.js +0 -49
- package/order/src/models/Source.d.ts +0 -31
- package/order/src/models/Source.js +0 -45
- package/shopping-cart/src/apis/ManageCartLineApi.d.ts +0 -45
- package/shopping-cart/src/apis/ManageCartLineApi.js +0 -238
- package/shopping-cart/src/apis/SearchCartApi.d.ts +0 -59
- package/shopping-cart/src/apis/SearchCartApi.js +0 -267
- package/shopping-cart/src/apis/SearchCartLineApi.d.ts +0 -41
- package/shopping-cart/src/models/CartCreationParameters.d.ts +0 -44
- package/shopping-cart/src/models/CartCreationParameters.js +0 -56
- package/shopping-cart/src/models/CartLineUpdateParameters.d.ts +0 -37
- package/shopping-cart/src/models/CartLineUpdateParameters.js +0 -49
- package/shopping-cart/src/models/CartLineWithWarnings.d.ts +0 -39
- package/shopping-cart/src/models/CartLineWithWarnings.js +0 -49
- package/shopping-cart/src/models/CartSummary.d.ts +0 -31
- package/shopping-cart/src/models/CartSummary.js +0 -47
- package/shopping-cart/src/models/CartUpdateParameters.d.ts +0 -31
- package/shopping-cart/src/models/CartUpdateParameters.js +0 -45
- package/shopping-cart/src/models/CartWarning.d.ts +0 -70
- package/shopping-cart/src/models/CartWarning.js +0 -67
- package/shopping-cart/src/models/CartsWithWarnings.d.ts +0 -39
- package/shopping-cart/src/models/CartsWithWarnings.js +0 -49
- package/shopping-cart/src/models/OwnerLink.d.ts +0 -43
- package/shopping-cart/src/models/OwnerLink.js +0 -53
- package/shopping-cart/src/models/PaginatedCarts.d.ts +0 -46
- package/shopping-cart/src/models/PaginatedCarts.js +0 -58
- package/shopping-cart/src/models/PagingMetadata.d.ts +0 -49
- package/shopping-cart/src/models/PagingMetadata.js +0 -55
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.ForeorderToJSON = exports.ForeorderFromJSONTyped = exports.ForeorderFromJSON = exports.instanceOfForeorder = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var UserLink_1 = require("./UserLink");
|
|
19
|
-
var OrderPrices_1 = require("./OrderPrices");
|
|
20
|
-
var OrderType_1 = require("./OrderType");
|
|
21
|
-
var Address_1 = require("./Address");
|
|
22
|
-
var OrderJournal_1 = require("./OrderJournal");
|
|
23
|
-
var OrderStorageType_1 = require("./OrderStorageType");
|
|
24
|
-
var HttpLink_1 = require("./HttpLink");
|
|
25
|
-
var AnySource_1 = require("./AnySource");
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the Foreorder interface.
|
|
28
|
-
*/
|
|
29
|
-
function instanceOfForeorder(value) {
|
|
30
|
-
if (!('reference' in value) || value['reference'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('estimatedDeliveryDate' in value) || value['estimatedDeliveryDate'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('seller' in value) || value['seller'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('shippingAddress' in value) || value['shippingAddress'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('billingAddress' in value) || value['billingAddress'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('shipments' in value) || value['shipments'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('maxShipment' in value) || value['maxShipment'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('maxParcelPerShipment' in value) || value['maxParcelPerShipment'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('prices' in value) || value['prices'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('items' in value) || value['items'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('reservations' in value) || value['reservations'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('tags' in value) || value['tags'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
if (!('journal' in value) || value['journal'] === undefined)
|
|
61
|
-
return false;
|
|
62
|
-
if (!('eTag' in value) || value['eTag'] === undefined)
|
|
63
|
-
return false;
|
|
64
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
65
|
-
return false;
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
exports.instanceOfForeorder = instanceOfForeorder;
|
|
69
|
-
function ForeorderFromJSON(json) {
|
|
70
|
-
return ForeorderFromJSONTyped(json, false);
|
|
71
|
-
}
|
|
72
|
-
exports.ForeorderFromJSON = ForeorderFromJSON;
|
|
73
|
-
function ForeorderFromJSONTyped(json, ignoreDiscriminator) {
|
|
74
|
-
if (json == null) {
|
|
75
|
-
return json;
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
'reference': json['reference'],
|
|
79
|
-
'type': (json['type'] === null || json['type'] === undefined) ? json['type'] : (0, OrderType_1.OrderTypeFromJSON)(json['type']),
|
|
80
|
-
'estimatedDeliveryDate': (json['estimatedDeliveryDate'] === null || json['estimatedDeliveryDate'] === undefined) ? json['estimatedDeliveryDate'] : new Date(json['estimatedDeliveryDate']),
|
|
81
|
-
'createdAt': (json['createdAt'] === null || json['createdAt'] === undefined) ? json['createdAt'] : new Date(json['createdAt']),
|
|
82
|
-
'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
|
|
83
|
-
'buyer': (json['buyer'] === null || json['buyer'] === undefined) ? json['buyer'] : (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
|
|
84
|
-
'shippingAddress': (json['shippingAddress'] === null || json['shippingAddress'] === undefined) ? json['shippingAddress'] : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
85
|
-
'billingAddress': (json['billingAddress'] === null || json['billingAddress'] === undefined) ? json['billingAddress'] : (0, Address_1.AddressFromJSON)(json['billingAddress']),
|
|
86
|
-
'shipments': (json['shipments'] === null || json['shipments'] === undefined) ? json['shipments'] : (0, HttpLink_1.HttpLinkFromJSON)(json['shipments']),
|
|
87
|
-
'storageTypes': (json['storageTypes'] === null || json['storageTypes'] === undefined) ? json['storageTypes'] : json['storageTypes'].map(OrderStorageType_1.OrderStorageTypeFromJSON),
|
|
88
|
-
'maxShipment': json['maxShipment'],
|
|
89
|
-
'maxShippingDate': (json['maxShippingDate'] === null || json['maxShippingDate'] === undefined) ? json['maxShippingDate'] : new Date(json['maxShippingDate']),
|
|
90
|
-
'maxParcelPerShipment': json['maxParcelPerShipment'],
|
|
91
|
-
'prices': (json['prices'] === null || json['prices'] === undefined) ? json['prices'] : (0, OrderPrices_1.OrderPricesFromJSON)(json['prices']),
|
|
92
|
-
'items': (json['items'] === null || json['items'] === undefined) ? json['items'] : (0, HttpLink_1.HttpLinkFromJSON)(json['items']),
|
|
93
|
-
'reservations': (json['reservations'] === null || json['reservations'] === undefined) ? json['reservations'] : (0, HttpLink_1.HttpLinkFromJSON)(json['reservations']),
|
|
94
|
-
'tags': json['tags'],
|
|
95
|
-
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, OrderJournal_1.OrderJournalFromJSON)(json['journal']),
|
|
96
|
-
'eTag': json['eTag'],
|
|
97
|
-
'source': (json['source'] === null || json['source'] === undefined) ? json['source'] : (0, AnySource_1.AnySourceFromJSON)(json['source']),
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
exports.ForeorderFromJSONTyped = ForeorderFromJSONTyped;
|
|
101
|
-
function ForeorderToJSON(value) {
|
|
102
|
-
if (value == null) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
return {
|
|
106
|
-
'reference': value['reference'],
|
|
107
|
-
'type': (0, OrderType_1.OrderTypeToJSON)(value['type']),
|
|
108
|
-
'estimatedDeliveryDate': (value['estimatedDeliveryDate'] === null || value['estimatedDeliveryDate'] === undefined) ? value['estimatedDeliveryDate'] : (0, runtime_1.toDateISOString)(value['estimatedDeliveryDate']),
|
|
109
|
-
'createdAt': (value['createdAt'] === null || value['createdAt'] === undefined) ? value['createdAt'] : (value['createdAt']).toISOString(),
|
|
110
|
-
'seller': (0, UserLink_1.UserLinkToJSON)(value['seller']),
|
|
111
|
-
'buyer': (0, UserLink_1.UserLinkToJSON)(value['buyer']),
|
|
112
|
-
'shippingAddress': (0, Address_1.AddressToJSON)(value['shippingAddress']),
|
|
113
|
-
'billingAddress': (0, Address_1.AddressToJSON)(value['billingAddress']),
|
|
114
|
-
'shipments': (0, HttpLink_1.HttpLinkToJSON)(value['shipments']),
|
|
115
|
-
'storageTypes': (value['storageTypes'] === null || value['storageTypes'] === undefined) ? value['storageTypes'] : value['storageTypes'].map(OrderStorageType_1.OrderStorageTypeToJSON),
|
|
116
|
-
'maxShipment': value['maxShipment'],
|
|
117
|
-
'maxShippingDate': (value['maxShippingDate'] === null || value['maxShippingDate'] === undefined) ? value['maxShippingDate'] : (0, runtime_1.toDateISOString)(value['maxShippingDate']),
|
|
118
|
-
'maxParcelPerShipment': value['maxParcelPerShipment'],
|
|
119
|
-
'prices': (0, OrderPrices_1.OrderPricesToJSON)(value['prices']),
|
|
120
|
-
'items': (0, HttpLink_1.HttpLinkToJSON)(value['items']),
|
|
121
|
-
'reservations': (0, HttpLink_1.HttpLinkToJSON)(value['reservations']),
|
|
122
|
-
'tags': value['tags'],
|
|
123
|
-
'journal': (0, OrderJournal_1.OrderJournalToJSON)(value['journal']),
|
|
124
|
-
'eTag': value['eTag'],
|
|
125
|
-
'source': (0, AnySource_1.AnySourceToJSON)(value['source']),
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
exports.ForeorderToJSON = ForeorderToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 ForeorderCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface ForeorderCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Source from which to create foreorders
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForeorderCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
source: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ForeorderCreationParameters interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfForeorderCreationParameters(value: object): value is ForeorderCreationParameters;
|
|
29
|
-
export declare function ForeorderCreationParametersFromJSON(json: any): ForeorderCreationParameters;
|
|
30
|
-
export declare function ForeorderCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeorderCreationParameters;
|
|
31
|
-
export declare function ForeorderCreationParametersToJSON(value?: ForeorderCreationParameters | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.ForeorderCreationParametersToJSON = exports.ForeorderCreationParametersFromJSONTyped = exports.ForeorderCreationParametersFromJSON = exports.instanceOfForeorderCreationParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ForeorderCreationParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfForeorderCreationParameters(value) {
|
|
21
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfForeorderCreationParameters = instanceOfForeorderCreationParameters;
|
|
26
|
-
function ForeorderCreationParametersFromJSON(json) {
|
|
27
|
-
return ForeorderCreationParametersFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.ForeorderCreationParametersFromJSON = ForeorderCreationParametersFromJSON;
|
|
30
|
-
function ForeorderCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'source': json['source'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.ForeorderCreationParametersFromJSONTyped = ForeorderCreationParametersFromJSONTyped;
|
|
39
|
-
function ForeorderCreationParametersToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'source': value['source'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.ForeorderCreationParametersToJSON = ForeorderCreationParametersToJSON;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 { Foreorder } from './Foreorder';
|
|
13
|
-
import type { AnyForeorderWarning } from './AnyForeorderWarning';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ForeorderCreationResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface ForeorderCreationResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<AnyForeorderWarning>}
|
|
23
|
-
* @memberof ForeorderCreationResponse
|
|
24
|
-
*/
|
|
25
|
-
warnings: Array<AnyForeorderWarning>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<Foreorder>}
|
|
29
|
-
* @memberof ForeorderCreationResponse
|
|
30
|
-
*/
|
|
31
|
-
foreorders: Array<Foreorder>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the ForeorderCreationResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfForeorderCreationResponse(value: object): value is ForeorderCreationResponse;
|
|
37
|
-
export declare function ForeorderCreationResponseFromJSON(json: any): ForeorderCreationResponse;
|
|
38
|
-
export declare function ForeorderCreationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeorderCreationResponse;
|
|
39
|
-
export declare function ForeorderCreationResponseToJSON(value?: ForeorderCreationResponse | null): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.ForeorderCreationResponseToJSON = exports.ForeorderCreationResponseFromJSONTyped = exports.ForeorderCreationResponseFromJSON = exports.instanceOfForeorderCreationResponse = void 0;
|
|
17
|
-
var Foreorder_1 = require("./Foreorder");
|
|
18
|
-
var AnyForeorderWarning_1 = require("./AnyForeorderWarning");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ForeorderCreationResponse interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfForeorderCreationResponse(value) {
|
|
23
|
-
if (!('warnings' in value) || value['warnings'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('foreorders' in value) || value['foreorders'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfForeorderCreationResponse = instanceOfForeorderCreationResponse;
|
|
30
|
-
function ForeorderCreationResponseFromJSON(json) {
|
|
31
|
-
return ForeorderCreationResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.ForeorderCreationResponseFromJSON = ForeorderCreationResponseFromJSON;
|
|
34
|
-
function ForeorderCreationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'warnings': (json['warnings'] === null || json['warnings'] === undefined) ? json['warnings'] : json['warnings'].map(AnyForeorderWarning_1.AnyForeorderWarningFromJSON),
|
|
40
|
-
'foreorders': (json['foreorders'] === null || json['foreorders'] === undefined) ? json['foreorders'] : json['foreorders'].map(Foreorder_1.ForeorderFromJSON),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.ForeorderCreationResponseFromJSONTyped = ForeorderCreationResponseFromJSONTyped;
|
|
44
|
-
function ForeorderCreationResponseToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'warnings': (value['warnings'] === null || value['warnings'] === undefined) ? value['warnings'] : value['warnings'].map(AnyForeorderWarning_1.AnyForeorderWarningToJSON),
|
|
50
|
-
'foreorders': (value['foreorders'] === null || value['foreorders'] === undefined) ? value['foreorders'] : value['foreorders'].map(Foreorder_1.ForeorderToJSON),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.ForeorderCreationResponseToJSON = ForeorderCreationResponseToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 ForeorderOrderCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface ForeorderOrderCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Source from which to create orders.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForeorderOrderCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
source: string;
|
|
24
|
-
/**
|
|
25
|
-
* List of foreorder references
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof ForeorderOrderCreationParameters
|
|
28
|
-
*/
|
|
29
|
-
references: Array<string>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ForeorderOrderCreationParameters interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfForeorderOrderCreationParameters(value: object): value is ForeorderOrderCreationParameters;
|
|
35
|
-
export declare function ForeorderOrderCreationParametersFromJSON(json: any): ForeorderOrderCreationParameters;
|
|
36
|
-
export declare function ForeorderOrderCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeorderOrderCreationParameters;
|
|
37
|
-
export declare function ForeorderOrderCreationParametersToJSON(value?: ForeorderOrderCreationParameters | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.ForeorderOrderCreationParametersToJSON = exports.ForeorderOrderCreationParametersFromJSONTyped = exports.ForeorderOrderCreationParametersFromJSON = exports.instanceOfForeorderOrderCreationParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ForeorderOrderCreationParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfForeorderOrderCreationParameters(value) {
|
|
21
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('references' in value) || value['references'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfForeorderOrderCreationParameters = instanceOfForeorderOrderCreationParameters;
|
|
28
|
-
function ForeorderOrderCreationParametersFromJSON(json) {
|
|
29
|
-
return ForeorderOrderCreationParametersFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.ForeorderOrderCreationParametersFromJSON = ForeorderOrderCreationParametersFromJSON;
|
|
32
|
-
function ForeorderOrderCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'source': json['source'],
|
|
38
|
-
'references': json['references'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.ForeorderOrderCreationParametersFromJSONTyped = ForeorderOrderCreationParametersFromJSONTyped;
|
|
42
|
-
function ForeorderOrderCreationParametersToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'source': value['source'],
|
|
48
|
-
'references': value['references'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.ForeorderOrderCreationParametersToJSON = ForeorderOrderCreationParametersToJSON;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 ForeorderWarning
|
|
16
|
-
*/
|
|
17
|
-
export interface ForeorderWarning {
|
|
18
|
-
/**
|
|
19
|
-
* What type of warning is it
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForeorderWarning
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
* User nickname of the seller associated to this order
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ForeorderWarning
|
|
28
|
-
*/
|
|
29
|
-
sellerNickname: string;
|
|
30
|
-
/**
|
|
31
|
-
* Warning cause
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ForeorderWarning
|
|
34
|
-
*/
|
|
35
|
-
cause: ForeorderWarningCauseEnum;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const ForeorderWarningCauseEnum: {
|
|
41
|
-
readonly MINIMUM_PRICE: "MINIMUM_PRICE";
|
|
42
|
-
readonly FORBIDDEN_SELLER: "FORBIDDEN_SELLER";
|
|
43
|
-
};
|
|
44
|
-
export declare type ForeorderWarningCauseEnum = typeof ForeorderWarningCauseEnum[keyof typeof ForeorderWarningCauseEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the ForeorderWarning interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfForeorderWarning(value: object): value is ForeorderWarning;
|
|
49
|
-
export declare function ForeorderWarningFromJSON(json: any): ForeorderWarning;
|
|
50
|
-
export declare function ForeorderWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeorderWarning;
|
|
51
|
-
export declare function ForeorderWarningToJSON(value?: ForeorderWarning | null): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 ForeorderWarningBase
|
|
16
|
-
*/
|
|
17
|
-
export interface ForeorderWarningBase {
|
|
18
|
-
/**
|
|
19
|
-
* What type of warning is it
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForeorderWarningBase
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
* User nickname of the seller associated to this order
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ForeorderWarningBase
|
|
28
|
-
*/
|
|
29
|
-
sellerNickname: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ForeorderWarningBase interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfForeorderWarningBase(value: object): value is ForeorderWarningBase;
|
|
35
|
-
export declare function ForeorderWarningBaseFromJSON(json: any): ForeorderWarningBase;
|
|
36
|
-
export declare function ForeorderWarningBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeorderWarningBase;
|
|
37
|
-
export declare function ForeorderWarningBaseToJSON(value?: ForeorderWarningBase | null): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.ForeorderWarningBaseToJSON = exports.ForeorderWarningBaseFromJSONTyped = exports.ForeorderWarningBaseFromJSON = exports.instanceOfForeorderWarningBase = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ForeorderWarningBase interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfForeorderWarningBase(value) {
|
|
21
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('sellerNickname' in value) || value['sellerNickname'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfForeorderWarningBase = instanceOfForeorderWarningBase;
|
|
28
|
-
function ForeorderWarningBaseFromJSON(json) {
|
|
29
|
-
return ForeorderWarningBaseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.ForeorderWarningBaseFromJSON = ForeorderWarningBaseFromJSON;
|
|
32
|
-
function ForeorderWarningBaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'type': json['type'],
|
|
38
|
-
'sellerNickname': json['sellerNickname'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.ForeorderWarningBaseFromJSONTyped = ForeorderWarningBaseFromJSONTyped;
|
|
42
|
-
function ForeorderWarningBaseToJSON(value) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'type': value['type'],
|
|
48
|
-
'sellerNickname': value['sellerNickname'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.ForeorderWarningBaseToJSON = ForeorderWarningBaseToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 OrderCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface OrderCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Source from which to create orders.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OrderCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
source: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the OrderCreationParameters interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfOrderCreationParameters(value: object): value is OrderCreationParameters;
|
|
29
|
-
export declare function OrderCreationParametersFromJSON(json: any): OrderCreationParameters;
|
|
30
|
-
export declare function OrderCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderCreationParameters;
|
|
31
|
-
export declare function OrderCreationParametersToJSON(value?: OrderCreationParameters | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
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.OrderCreationParametersToJSON = exports.OrderCreationParametersFromJSONTyped = exports.OrderCreationParametersFromJSON = exports.instanceOfOrderCreationParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the OrderCreationParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfOrderCreationParameters(value) {
|
|
21
|
-
if (!('source' in value) || value['source'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfOrderCreationParameters = instanceOfOrderCreationParameters;
|
|
26
|
-
function OrderCreationParametersFromJSON(json) {
|
|
27
|
-
return OrderCreationParametersFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.OrderCreationParametersFromJSON = OrderCreationParametersFromJSON;
|
|
30
|
-
function OrderCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'source': json['source'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.OrderCreationParametersFromJSONTyped = OrderCreationParametersFromJSONTyped;
|
|
39
|
-
function OrderCreationParametersToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'source': value['source'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.OrderCreationParametersToJSON = OrderCreationParametersToJSON;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 OrderSource
|
|
16
|
-
*/
|
|
17
|
-
export interface OrderSource {
|
|
18
|
-
/**
|
|
19
|
-
* Source from which the object have been created
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OrderSource
|
|
22
|
-
*/
|
|
23
|
-
source?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Source order reference
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof OrderSource
|
|
28
|
-
*/
|
|
29
|
-
reference: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the OrderSource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfOrderSource(value: object): value is OrderSource;
|
|
35
|
-
export declare function OrderSourceFromJSON(json: any): OrderSource;
|
|
36
|
-
export declare function OrderSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderSource;
|
|
37
|
-
export declare function OrderSourceToJSON(value?: OrderSource | null): any;
|