@lcdp/api-react-rest-client 2.5.14-develop.8064013522 → 2.5.14
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/configuration/src/apis/ManageVariableApi.d.ts +1 -28
- package/configuration/src/apis/ManageVariableApi.js +4 -160
- package/configuration/src/models/Variable.d.ts +2 -2
- package/configuration/src/models/Variable.js +3 -2
- package/configuration/src/models/Vat.d.ts +3 -3
- package/configuration/src/models/Vat.js +4 -3
- package/order/src/apis/SearchOrderApi.d.ts +1 -1
- package/order/src/apis/SearchOrderApi.js +2 -2
- package/order/src/apis/index.d.ts +0 -2
- package/order/src/apis/index.js +0 -2
- package/order/src/models/OrderJournal.d.ts +1 -1
- package/order/src/models/OrderJournal.js +2 -2
- package/order/src/models/index.d.ts +0 -6
- package/order/src/models/index.js +0 -6
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +1 -1
- package/product/src/apis/SearchProductApi.js +2 -2
- package/product/src/models/Vat.d.ts +3 -3
- package/product/src/models/Vat.js +4 -3
- package/pub/src/apis/SearchPubApi.d.ts +1 -1
- package/pub/src/apis/SearchPubApi.js +2 -2
- package/user/src/apis/SearchUserApi.d.ts +1 -1
- package/user/src/apis/SearchUserApi.js +2 -2
- package/order/src/apis/ManageFreeCarriageCouponApi.d.ts +0 -42
- package/order/src/apis/ManageFreeCarriageCouponApi.js +0 -233
- package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +0 -49
- package/order/src/apis/SearchFreeCarriageCouponApi.js +0 -202
- package/order/src/models/FreeCarriageCoupon.d.ts +0 -82
- package/order/src/models/FreeCarriageCoupon.js +0 -61
- package/order/src/models/FreeCarriageCouponCreationParameters.d.ts +0 -57
- package/order/src/models/FreeCarriageCouponCreationParameters.js +0 -52
- package/order/src/models/FreeCarriageCouponOwnerLink.d.ts +0 -28
- package/order/src/models/FreeCarriageCouponOwnerLink.js +0 -49
- package/order/src/models/FreeCarriageCouponOwnerLinkAllOf.d.ts +0 -27
- package/order/src/models/FreeCarriageCouponOwnerLinkAllOf.js +0 -41
- package/order/src/models/PaginatedFreeCarriageCoupons.d.ts +0 -29
- package/order/src/models/PaginatedFreeCarriageCoupons.js +0 -50
- package/order/src/models/PaginatedFreeCarriageCouponsAllOf.d.ts +0 -28
- package/order/src/models/PaginatedFreeCarriageCouponsAllOf.js +0 -42
|
@@ -1,57 +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 FreeCarriageCouponCreationParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface FreeCarriageCouponCreationParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Client owner of the free carriage coupon
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
22
|
-
*/
|
|
23
|
-
ownerId: number;
|
|
24
|
-
/**
|
|
25
|
-
* Coupon is valid starting from this date (Format uses RFC 3339, section 5.6 - null value is considered as start of universe which means coupon will is valid until validTo)
|
|
26
|
-
* @type {Date}
|
|
27
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
28
|
-
*/
|
|
29
|
-
validFrom: Date | null;
|
|
30
|
-
/**
|
|
31
|
-
* Coupon is valid until this date (Format uses RFC 3339, section 5.6 - null value is considered as infinite which means coupon will never expires)
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
34
|
-
*/
|
|
35
|
-
validTo: Date | null;
|
|
36
|
-
/**
|
|
37
|
-
* Indicate the priority of the coupon. The higher the value, the higher the priority
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
40
|
-
*/
|
|
41
|
-
weight: number;
|
|
42
|
-
/**
|
|
43
|
-
* Comment about coupon
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
46
|
-
*/
|
|
47
|
-
comment?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
* A list of free texts to qualify the coupon
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof FreeCarriageCouponCreationParameters
|
|
52
|
-
*/
|
|
53
|
-
tags?: Array<string>;
|
|
54
|
-
}
|
|
55
|
-
export declare function FreeCarriageCouponCreationParametersFromJSON(json: any): FreeCarriageCouponCreationParameters;
|
|
56
|
-
export declare function FreeCarriageCouponCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreeCarriageCouponCreationParameters;
|
|
57
|
-
export declare function FreeCarriageCouponCreationParametersToJSON(value?: FreeCarriageCouponCreationParameters | null): any;
|
|
@@ -1,52 +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.FreeCarriageCouponCreationParametersToJSON = exports.FreeCarriageCouponCreationParametersFromJSONTyped = exports.FreeCarriageCouponCreationParametersFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function FreeCarriageCouponCreationParametersFromJSON(json) {
|
|
19
|
-
return FreeCarriageCouponCreationParametersFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.FreeCarriageCouponCreationParametersFromJSON = FreeCarriageCouponCreationParametersFromJSON;
|
|
22
|
-
function FreeCarriageCouponCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'ownerId': json['ownerId'],
|
|
28
|
-
'validFrom': (json['validFrom'] === null ? null : new Date(json['validFrom'])),
|
|
29
|
-
'validTo': (json['validTo'] === null ? null : new Date(json['validTo'])),
|
|
30
|
-
'weight': json['weight'],
|
|
31
|
-
'comment': !(0, runtime_1.exists)(json, 'comment') ? json['comment'] : json['comment'],
|
|
32
|
-
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
exports.FreeCarriageCouponCreationParametersFromJSONTyped = FreeCarriageCouponCreationParametersFromJSONTyped;
|
|
36
|
-
function FreeCarriageCouponCreationParametersToJSON(value) {
|
|
37
|
-
if (value === undefined) {
|
|
38
|
-
return undefined;
|
|
39
|
-
}
|
|
40
|
-
if (value === null) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'ownerId': value.ownerId,
|
|
45
|
-
'validFrom': (value.validFrom === null ? null : value.validFrom.toISOString()),
|
|
46
|
-
'validTo': (value.validTo === null ? null : value.validTo.toISOString()),
|
|
47
|
-
'weight': value.weight,
|
|
48
|
-
'comment': value.comment,
|
|
49
|
-
'tags': value.tags,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.FreeCarriageCouponCreationParametersToJSON = FreeCarriageCouponCreationParametersToJSON;
|
|
@@ -1,28 +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 { HttpLink } from './HttpLink';
|
|
13
|
-
/**
|
|
14
|
-
* Owner of the free carriage coupon
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FreeCarriageCouponOwnerLink
|
|
17
|
-
*/
|
|
18
|
-
export interface FreeCarriageCouponOwnerLink extends HttpLink {
|
|
19
|
-
/**
|
|
20
|
-
* Id of the owner
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof FreeCarriageCouponOwnerLink
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
}
|
|
26
|
-
export declare function FreeCarriageCouponOwnerLinkFromJSON(json: any): FreeCarriageCouponOwnerLink;
|
|
27
|
-
export declare function FreeCarriageCouponOwnerLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreeCarriageCouponOwnerLink;
|
|
28
|
-
export declare function FreeCarriageCouponOwnerLinkToJSON(value?: FreeCarriageCouponOwnerLink | 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 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
|
-
var __assign = (this && this.__assign) || function () {
|
|
16
|
-
__assign = Object.assign || function(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.FreeCarriageCouponOwnerLinkToJSON = exports.FreeCarriageCouponOwnerLinkFromJSONTyped = exports.FreeCarriageCouponOwnerLinkFromJSON = void 0;
|
|
28
|
-
var HttpLink_1 = require("./HttpLink");
|
|
29
|
-
function FreeCarriageCouponOwnerLinkFromJSON(json) {
|
|
30
|
-
return FreeCarriageCouponOwnerLinkFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.FreeCarriageCouponOwnerLinkFromJSON = FreeCarriageCouponOwnerLinkFromJSON;
|
|
33
|
-
function FreeCarriageCouponOwnerLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if ((json === undefined) || (json === null)) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'] });
|
|
38
|
-
}
|
|
39
|
-
exports.FreeCarriageCouponOwnerLinkFromJSONTyped = FreeCarriageCouponOwnerLinkFromJSONTyped;
|
|
40
|
-
function FreeCarriageCouponOwnerLinkToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id });
|
|
48
|
-
}
|
|
49
|
-
exports.FreeCarriageCouponOwnerLinkToJSON = FreeCarriageCouponOwnerLinkToJSON;
|
|
@@ -1,27 +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 FreeCarriageCouponOwnerLinkAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface FreeCarriageCouponOwnerLinkAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Id of the owner
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof FreeCarriageCouponOwnerLinkAllOf
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
}
|
|
25
|
-
export declare function FreeCarriageCouponOwnerLinkAllOfFromJSON(json: any): FreeCarriageCouponOwnerLinkAllOf;
|
|
26
|
-
export declare function FreeCarriageCouponOwnerLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): FreeCarriageCouponOwnerLinkAllOf;
|
|
27
|
-
export declare function FreeCarriageCouponOwnerLinkAllOfToJSON(value?: FreeCarriageCouponOwnerLinkAllOf | null): any;
|
|
@@ -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 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.FreeCarriageCouponOwnerLinkAllOfToJSON = exports.FreeCarriageCouponOwnerLinkAllOfFromJSONTyped = exports.FreeCarriageCouponOwnerLinkAllOfFromJSON = void 0;
|
|
17
|
-
function FreeCarriageCouponOwnerLinkAllOfFromJSON(json) {
|
|
18
|
-
return FreeCarriageCouponOwnerLinkAllOfFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.FreeCarriageCouponOwnerLinkAllOfFromJSON = FreeCarriageCouponOwnerLinkAllOfFromJSON;
|
|
21
|
-
function FreeCarriageCouponOwnerLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'id': json['id'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.FreeCarriageCouponOwnerLinkAllOfFromJSONTyped = FreeCarriageCouponOwnerLinkAllOfFromJSONTyped;
|
|
30
|
-
function FreeCarriageCouponOwnerLinkAllOfToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'id': value.id,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.FreeCarriageCouponOwnerLinkAllOfToJSON = FreeCarriageCouponOwnerLinkAllOfToJSON;
|
|
@@ -1,29 +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 { FreeCarriageCoupon } from './FreeCarriageCoupon';
|
|
13
|
-
import { PaginatedObject } from './PaginatedObject';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedFreeCarriageCoupons
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedFreeCarriageCoupons extends PaginatedObject {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<FreeCarriageCoupon>}
|
|
23
|
-
* @memberof PaginatedFreeCarriageCoupons
|
|
24
|
-
*/
|
|
25
|
-
records: Array<FreeCarriageCoupon>;
|
|
26
|
-
}
|
|
27
|
-
export declare function PaginatedFreeCarriageCouponsFromJSON(json: any): PaginatedFreeCarriageCoupons;
|
|
28
|
-
export declare function PaginatedFreeCarriageCouponsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFreeCarriageCoupons;
|
|
29
|
-
export declare function PaginatedFreeCarriageCouponsToJSON(value?: PaginatedFreeCarriageCoupons | null): any;
|
|
@@ -1,50 +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
|
-
var __assign = (this && this.__assign) || function () {
|
|
16
|
-
__assign = Object.assign || function(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.PaginatedFreeCarriageCouponsToJSON = exports.PaginatedFreeCarriageCouponsFromJSONTyped = exports.PaginatedFreeCarriageCouponsFromJSON = void 0;
|
|
28
|
-
var FreeCarriageCoupon_1 = require("./FreeCarriageCoupon");
|
|
29
|
-
var PaginatedObject_1 = require("./PaginatedObject");
|
|
30
|
-
function PaginatedFreeCarriageCouponsFromJSON(json) {
|
|
31
|
-
return PaginatedFreeCarriageCouponsFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PaginatedFreeCarriageCouponsFromJSON = PaginatedFreeCarriageCouponsFromJSON;
|
|
34
|
-
function PaginatedFreeCarriageCouponsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectFromJSONTyped)(json, ignoreDiscriminator)), { 'records': (json['records'].map(FreeCarriageCoupon_1.FreeCarriageCouponFromJSON)) });
|
|
39
|
-
}
|
|
40
|
-
exports.PaginatedFreeCarriageCouponsFromJSONTyped = PaginatedFreeCarriageCouponsFromJSONTyped;
|
|
41
|
-
function PaginatedFreeCarriageCouponsToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectToJSON)(value)), { 'records': (value.records.map(FreeCarriageCoupon_1.FreeCarriageCouponToJSON)) });
|
|
49
|
-
}
|
|
50
|
-
exports.PaginatedFreeCarriageCouponsToJSON = PaginatedFreeCarriageCouponsToJSON;
|
|
@@ -1,28 +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 { FreeCarriageCoupon } from './FreeCarriageCoupon';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PaginatedFreeCarriageCouponsAllOf
|
|
17
|
-
*/
|
|
18
|
-
export interface PaginatedFreeCarriageCouponsAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<FreeCarriageCoupon>}
|
|
22
|
-
* @memberof PaginatedFreeCarriageCouponsAllOf
|
|
23
|
-
*/
|
|
24
|
-
records: Array<FreeCarriageCoupon>;
|
|
25
|
-
}
|
|
26
|
-
export declare function PaginatedFreeCarriageCouponsAllOfFromJSON(json: any): PaginatedFreeCarriageCouponsAllOf;
|
|
27
|
-
export declare function PaginatedFreeCarriageCouponsAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFreeCarriageCouponsAllOf;
|
|
28
|
-
export declare function PaginatedFreeCarriageCouponsAllOfToJSON(value?: PaginatedFreeCarriageCouponsAllOf | null): any;
|
|
@@ -1,42 +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.PaginatedFreeCarriageCouponsAllOfToJSON = exports.PaginatedFreeCarriageCouponsAllOfFromJSONTyped = exports.PaginatedFreeCarriageCouponsAllOfFromJSON = void 0;
|
|
17
|
-
var FreeCarriageCoupon_1 = require("./FreeCarriageCoupon");
|
|
18
|
-
function PaginatedFreeCarriageCouponsAllOfFromJSON(json) {
|
|
19
|
-
return PaginatedFreeCarriageCouponsAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.PaginatedFreeCarriageCouponsAllOfFromJSON = PaginatedFreeCarriageCouponsAllOfFromJSON;
|
|
22
|
-
function PaginatedFreeCarriageCouponsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'records': (json['records'].map(FreeCarriageCoupon_1.FreeCarriageCouponFromJSON)),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.PaginatedFreeCarriageCouponsAllOfFromJSONTyped = PaginatedFreeCarriageCouponsAllOfFromJSONTyped;
|
|
31
|
-
function PaginatedFreeCarriageCouponsAllOfToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'records': (value.records.map(FreeCarriageCoupon_1.FreeCarriageCouponToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.PaginatedFreeCarriageCouponsAllOfToJSON = PaginatedFreeCarriageCouponsAllOfToJSON;
|