@lcdp/api-react-rest-client 2.14.3-develop.18164509826 → 2.14.3-develop.18496590089
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/chargebee-hook/index.d.ts +1 -0
- package/chargebee-hook/index.js +17 -0
- package/chargebee-hook/src/apis/ChargebeeHookApi.d.ts +31 -0
- package/chargebee-hook/src/apis/ChargebeeHookApi.js +134 -0
- package/chargebee-hook/src/apis/index.d.ts +1 -0
- package/chargebee-hook/src/apis/index.js +19 -0
- package/chargebee-hook/src/index.d.ts +3 -0
- package/chargebee-hook/src/index.js +21 -0
- package/chargebee-hook/src/models/HookRequest.d.ts +85 -0
- package/chargebee-hook/src/models/HookRequest.js +67 -0
- package/{subscription → chargebee-hook}/src/models/RestError.d.ts +1 -1
- package/{subscription → chargebee-hook}/src/models/RestError.js +1 -1
- package/chargebee-hook/src/models/index.d.ts +2 -0
- package/chargebee-hook/src/models/index.js +20 -0
- package/chargebee-hook/src/runtime.d.ts +190 -0
- package/chargebee-hook/src/runtime.js +598 -0
- package/invoice/src/apis/SearchInvoiceApi.d.ts +2 -2
- package/invoice/src/apis/SearchInvoiceApi.js +2 -2
- package/invoice/src/models/InvoiceType.d.ts +0 -1
- package/invoice/src/models/InvoiceType.js +0 -1
- package/notification/src/models/NotificationTypeId.d.ts +1 -2
- package/notification/src/models/NotificationTypeId.js +1 -2
- package/package.json +1 -1
- package/rfx/src/apis/ManageRffApi.d.ts +29 -0
- package/{subscription/src/apis/ManageSubscriptionPlanApi.js → rfx/src/apis/ManageRffApi.js} +21 -39
- package/rfx/src/apis/index.d.ts +1 -0
- package/rfx/src/apis/index.js +1 -0
- package/rfx/src/models/RffCreationParameters.d.ts +37 -0
- package/rfx/src/models/RffCreationParameters.js +51 -0
- package/rfx/src/models/index.d.ts +1 -0
- package/rfx/src/models/index.js +1 -0
- package/subscription/src/apis/SearchSubscriptionsApi.d.ts +29 -0
- package/subscription/src/apis/{SearchSubscriptionPlanFeatureApi.js → SearchSubscriptionsApi.js} +19 -13
- package/subscription/src/apis/index.d.ts +1 -5
- package/subscription/src/apis/index.js +1 -5
- package/subscription/src/models/Subscription.d.ts +6 -38
- package/subscription/src/models/Subscription.js +6 -19
- package/subscription/src/models/index.d.ts +0 -14
- package/subscription/src/models/index.js +0 -14
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +5 -2
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +5 -2
- package/user/src/models/NotificationTypeId.d.ts +1 -2
- package/user/src/models/NotificationTypeId.js +1 -2
- package/user/src/models/OffisanteStatus.d.ts +3 -1
- package/user/src/models/OffisanteStatus.js +4 -2
- package/user/src/models/User.d.ts +8 -0
- package/user/src/models/User.js +2 -0
- package/subscription/src/apis/ManageSubscriptionApi.d.ts +0 -56
- package/subscription/src/apis/ManageSubscriptionApi.js +0 -315
- package/subscription/src/apis/ManageSubscriptionPlanApi.d.ts +0 -30
- package/subscription/src/apis/SearchSubscriptionApi.d.ts +0 -53
- package/subscription/src/apis/SearchSubscriptionApi.js +0 -208
- package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +0 -49
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +0 -249
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.d.ts +0 -26
- package/subscription/src/models/HttpLink.d.ts +0 -31
- package/subscription/src/models/HttpLink.js +0 -47
- package/subscription/src/models/PaginatedObject.d.ts +0 -32
- package/subscription/src/models/PaginatedObject.js +0 -48
- package/subscription/src/models/PaginatedSubscriptions.d.ts +0 -39
- package/subscription/src/models/PaginatedSubscriptions.js +0 -51
- package/subscription/src/models/PagingMetadata.d.ts +0 -49
- package/subscription/src/models/PagingMetadata.js +0 -55
- package/subscription/src/models/SubscriberLink.d.ts +0 -37
- package/subscription/src/models/SubscriberLink.js +0 -49
- package/subscription/src/models/SubscriptionCreationParameters.d.ts +0 -44
- package/subscription/src/models/SubscriptionCreationParameters.js +0 -56
- package/subscription/src/models/SubscriptionPlan.d.ts +0 -69
- package/subscription/src/models/SubscriptionPlan.js +0 -59
- package/subscription/src/models/SubscriptionPlanFeature.d.ts +0 -44
- package/subscription/src/models/SubscriptionPlanFeature.js +0 -50
- package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +0 -26
- package/subscription/src/models/SubscriptionPlanFeatureId.js +0 -49
- package/subscription/src/models/SubscriptionPlanId.d.ts +0 -25
- package/subscription/src/models/SubscriptionPlanId.js +0 -48
- package/subscription/src/models/SubscriptionPlanLink.d.ts +0 -38
- package/subscription/src/models/SubscriptionPlanLink.js +0 -50
- package/subscription/src/models/SubscriptionPlanUpdateParameters.d.ts +0 -62
- package/subscription/src/models/SubscriptionPlanUpdateParameters.js +0 -56
- package/subscription/src/models/SubscriptionUpdateParameters.d.ts +0 -62
- package/subscription/src/models/SubscriptionUpdateParameters.js +0 -57
|
@@ -1,26 +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
|
-
* Id of the subscription plan feature. It is a machine name
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const SubscriptionPlanFeatureId: {
|
|
17
|
-
readonly UPDATE: "UPDATE";
|
|
18
|
-
readonly BUY: "BUY";
|
|
19
|
-
readonly SELL: "SELL";
|
|
20
|
-
readonly UNDERSTOCK: "UNDERSTOCK";
|
|
21
|
-
};
|
|
22
|
-
export declare type SubscriptionPlanFeatureId = typeof SubscriptionPlanFeatureId[keyof typeof SubscriptionPlanFeatureId];
|
|
23
|
-
export declare function instanceOfSubscriptionPlanFeatureId(value: any): boolean;
|
|
24
|
-
export declare function SubscriptionPlanFeatureIdFromJSON(json: any): SubscriptionPlanFeatureId;
|
|
25
|
-
export declare function SubscriptionPlanFeatureIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanFeatureId;
|
|
26
|
-
export declare function SubscriptionPlanFeatureIdToJSON(value?: SubscriptionPlanFeatureId | 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.SubscriptionPlanFeatureIdToJSON = exports.SubscriptionPlanFeatureIdFromJSONTyped = exports.SubscriptionPlanFeatureIdFromJSON = exports.instanceOfSubscriptionPlanFeatureId = exports.SubscriptionPlanFeatureId = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Id of the subscription plan feature. It is a machine name
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.SubscriptionPlanFeatureId = {
|
|
22
|
-
UPDATE: 'UPDATE',
|
|
23
|
-
BUY: 'BUY',
|
|
24
|
-
SELL: 'SELL',
|
|
25
|
-
UNDERSTOCK: 'UNDERSTOCK'
|
|
26
|
-
};
|
|
27
|
-
function instanceOfSubscriptionPlanFeatureId(value) {
|
|
28
|
-
for (var key in exports.SubscriptionPlanFeatureId) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(exports.SubscriptionPlanFeatureId, key)) {
|
|
30
|
-
if (exports.SubscriptionPlanFeatureId[key] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
exports.instanceOfSubscriptionPlanFeatureId = instanceOfSubscriptionPlanFeatureId;
|
|
38
|
-
function SubscriptionPlanFeatureIdFromJSON(json) {
|
|
39
|
-
return SubscriptionPlanFeatureIdFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
exports.SubscriptionPlanFeatureIdFromJSON = SubscriptionPlanFeatureIdFromJSON;
|
|
42
|
-
function SubscriptionPlanFeatureIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
exports.SubscriptionPlanFeatureIdFromJSONTyped = SubscriptionPlanFeatureIdFromJSONTyped;
|
|
46
|
-
function SubscriptionPlanFeatureIdToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
exports.SubscriptionPlanFeatureIdToJSON = SubscriptionPlanFeatureIdToJSON;
|
|
@@ -1,25 +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
|
-
* Id of the subscription plan. It is a machine name
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const SubscriptionPlanId: {
|
|
17
|
-
readonly BLUE: "BLUE";
|
|
18
|
-
readonly ORANGE: "ORANGE";
|
|
19
|
-
readonly RED: "RED";
|
|
20
|
-
};
|
|
21
|
-
export declare type SubscriptionPlanId = typeof SubscriptionPlanId[keyof typeof SubscriptionPlanId];
|
|
22
|
-
export declare function instanceOfSubscriptionPlanId(value: any): boolean;
|
|
23
|
-
export declare function SubscriptionPlanIdFromJSON(json: any): SubscriptionPlanId;
|
|
24
|
-
export declare function SubscriptionPlanIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanId;
|
|
25
|
-
export declare function SubscriptionPlanIdToJSON(value?: SubscriptionPlanId | 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.SubscriptionPlanIdToJSON = exports.SubscriptionPlanIdFromJSONTyped = exports.SubscriptionPlanIdFromJSON = exports.instanceOfSubscriptionPlanId = exports.SubscriptionPlanId = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Id of the subscription plan. It is a machine name
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.SubscriptionPlanId = {
|
|
22
|
-
BLUE: 'BLUE',
|
|
23
|
-
ORANGE: 'ORANGE',
|
|
24
|
-
RED: 'RED'
|
|
25
|
-
};
|
|
26
|
-
function instanceOfSubscriptionPlanId(value) {
|
|
27
|
-
for (var key in exports.SubscriptionPlanId) {
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(exports.SubscriptionPlanId, key)) {
|
|
29
|
-
if (exports.SubscriptionPlanId[key] === value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfSubscriptionPlanId = instanceOfSubscriptionPlanId;
|
|
37
|
-
function SubscriptionPlanIdFromJSON(json) {
|
|
38
|
-
return SubscriptionPlanIdFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.SubscriptionPlanIdFromJSON = SubscriptionPlanIdFromJSON;
|
|
41
|
-
function SubscriptionPlanIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
exports.SubscriptionPlanIdFromJSONTyped = SubscriptionPlanIdFromJSONTyped;
|
|
45
|
-
function SubscriptionPlanIdToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
exports.SubscriptionPlanIdToJSON = SubscriptionPlanIdToJSON;
|
|
@@ -1,38 +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 type { SubscriptionPlanId } from './SubscriptionPlanId';
|
|
13
|
-
/**
|
|
14
|
-
* Subscription plan link
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SubscriptionPlanLink
|
|
17
|
-
*/
|
|
18
|
-
export interface SubscriptionPlanLink {
|
|
19
|
-
/**
|
|
20
|
-
* Any URL that is using http or https protocol
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SubscriptionPlanLink
|
|
23
|
-
*/
|
|
24
|
-
href: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {SubscriptionPlanId}
|
|
28
|
-
* @memberof SubscriptionPlanLink
|
|
29
|
-
*/
|
|
30
|
-
id?: SubscriptionPlanId;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the SubscriptionPlanLink interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfSubscriptionPlanLink(value: object): value is SubscriptionPlanLink;
|
|
36
|
-
export declare function SubscriptionPlanLinkFromJSON(json: any): SubscriptionPlanLink;
|
|
37
|
-
export declare function SubscriptionPlanLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanLink;
|
|
38
|
-
export declare function SubscriptionPlanLinkToJSON(value?: SubscriptionPlanLink | 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 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.SubscriptionPlanLinkToJSON = exports.SubscriptionPlanLinkFromJSONTyped = exports.SubscriptionPlanLinkFromJSON = exports.instanceOfSubscriptionPlanLink = void 0;
|
|
17
|
-
var SubscriptionPlanId_1 = require("./SubscriptionPlanId");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the SubscriptionPlanLink interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfSubscriptionPlanLink(value) {
|
|
22
|
-
if (!('href' in value) || value['href'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfSubscriptionPlanLink = instanceOfSubscriptionPlanLink;
|
|
27
|
-
function SubscriptionPlanLinkFromJSON(json) {
|
|
28
|
-
return SubscriptionPlanLinkFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.SubscriptionPlanLinkFromJSON = SubscriptionPlanLinkFromJSON;
|
|
31
|
-
function SubscriptionPlanLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'href': json['href'],
|
|
37
|
-
'id': (json['id'] === null || json['id'] === undefined) ? json['id'] : (0, SubscriptionPlanId_1.SubscriptionPlanIdFromJSON)(json['id']),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.SubscriptionPlanLinkFromJSONTyped = SubscriptionPlanLinkFromJSONTyped;
|
|
41
|
-
function SubscriptionPlanLinkToJSON(value) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'href': value['href'],
|
|
47
|
-
'id': (0, SubscriptionPlanId_1.SubscriptionPlanIdToJSON)(value['id']),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.SubscriptionPlanLinkToJSON = SubscriptionPlanLinkToJSON;
|
|
@@ -1,62 +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 type { SubscriptionPlanFeatureId } from './SubscriptionPlanFeatureId';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SubscriptionPlanUpdateParameters
|
|
17
|
-
*/
|
|
18
|
-
export interface SubscriptionPlanUpdateParameters {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
29
|
-
*/
|
|
30
|
-
description?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
35
|
-
*/
|
|
36
|
-
price?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<SubscriptionPlanFeatureId>}
|
|
40
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
41
|
-
*/
|
|
42
|
-
features?: Array<SubscriptionPlanFeatureId>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {boolean}
|
|
46
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
47
|
-
*/
|
|
48
|
-
active?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof SubscriptionPlanUpdateParameters
|
|
53
|
-
*/
|
|
54
|
-
position?: number;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the SubscriptionPlanUpdateParameters interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfSubscriptionPlanUpdateParameters(value: object): value is SubscriptionPlanUpdateParameters;
|
|
60
|
-
export declare function SubscriptionPlanUpdateParametersFromJSON(json: any): SubscriptionPlanUpdateParameters;
|
|
61
|
-
export declare function SubscriptionPlanUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanUpdateParameters;
|
|
62
|
-
export declare function SubscriptionPlanUpdateParametersToJSON(value?: SubscriptionPlanUpdateParameters | null): any;
|
|
@@ -1,56 +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.SubscriptionPlanUpdateParametersToJSON = exports.SubscriptionPlanUpdateParametersFromJSONTyped = exports.SubscriptionPlanUpdateParametersFromJSON = exports.instanceOfSubscriptionPlanUpdateParameters = void 0;
|
|
17
|
-
var SubscriptionPlanFeatureId_1 = require("./SubscriptionPlanFeatureId");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the SubscriptionPlanUpdateParameters interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfSubscriptionPlanUpdateParameters(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfSubscriptionPlanUpdateParameters = instanceOfSubscriptionPlanUpdateParameters;
|
|
25
|
-
function SubscriptionPlanUpdateParametersFromJSON(json) {
|
|
26
|
-
return SubscriptionPlanUpdateParametersFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.SubscriptionPlanUpdateParametersFromJSON = SubscriptionPlanUpdateParametersFromJSON;
|
|
29
|
-
function SubscriptionPlanUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'name': json['name'],
|
|
35
|
-
'description': json['description'],
|
|
36
|
-
'price': json['price'],
|
|
37
|
-
'features': (json['features'] === null || json['features'] === undefined) ? json['features'] : json['features'].map(SubscriptionPlanFeatureId_1.SubscriptionPlanFeatureIdFromJSON),
|
|
38
|
-
'active': json['active'],
|
|
39
|
-
'position': json['position'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.SubscriptionPlanUpdateParametersFromJSONTyped = SubscriptionPlanUpdateParametersFromJSONTyped;
|
|
43
|
-
function SubscriptionPlanUpdateParametersToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'name': value['name'],
|
|
49
|
-
'description': value['description'],
|
|
50
|
-
'price': value['price'],
|
|
51
|
-
'features': (value['features'] === null || value['features'] === undefined) ? value['features'] : value['features'].map(SubscriptionPlanFeatureId_1.SubscriptionPlanFeatureIdToJSON),
|
|
52
|
-
'active': value['active'],
|
|
53
|
-
'position': value['position'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.SubscriptionPlanUpdateParametersToJSON = SubscriptionPlanUpdateParametersToJSON;
|
|
@@ -1,62 +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 type { SubscriptionPlanId } from './SubscriptionPlanId';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SubscriptionUpdateParameters
|
|
17
|
-
*/
|
|
18
|
-
export interface SubscriptionUpdateParameters {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {SubscriptionPlanId}
|
|
22
|
-
* @memberof SubscriptionUpdateParameters
|
|
23
|
-
*/
|
|
24
|
-
planId?: SubscriptionPlanId;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof SubscriptionUpdateParameters
|
|
29
|
-
*/
|
|
30
|
-
billingPrice?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Date}
|
|
34
|
-
* @memberof SubscriptionUpdateParameters
|
|
35
|
-
*/
|
|
36
|
-
validFrom?: Date;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Date}
|
|
40
|
-
* @memberof SubscriptionUpdateParameters
|
|
41
|
-
*/
|
|
42
|
-
validTo?: Date | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof SubscriptionUpdateParameters
|
|
47
|
-
*/
|
|
48
|
-
nextBillingDate?: Date | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof SubscriptionUpdateParameters
|
|
53
|
-
*/
|
|
54
|
-
isTrial?: boolean;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the SubscriptionUpdateParameters interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfSubscriptionUpdateParameters(value: object): value is SubscriptionUpdateParameters;
|
|
60
|
-
export declare function SubscriptionUpdateParametersFromJSON(json: any): SubscriptionUpdateParameters;
|
|
61
|
-
export declare function SubscriptionUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionUpdateParameters;
|
|
62
|
-
export declare function SubscriptionUpdateParametersToJSON(value?: SubscriptionUpdateParameters | null): any;
|
|
@@ -1,57 +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.SubscriptionUpdateParametersToJSON = exports.SubscriptionUpdateParametersFromJSONTyped = exports.SubscriptionUpdateParametersFromJSON = exports.instanceOfSubscriptionUpdateParameters = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var SubscriptionPlanId_1 = require("./SubscriptionPlanId");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the SubscriptionUpdateParameters interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfSubscriptionUpdateParameters(value) {
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfSubscriptionUpdateParameters = instanceOfSubscriptionUpdateParameters;
|
|
26
|
-
function SubscriptionUpdateParametersFromJSON(json) {
|
|
27
|
-
return SubscriptionUpdateParametersFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.SubscriptionUpdateParametersFromJSON = SubscriptionUpdateParametersFromJSON;
|
|
30
|
-
function SubscriptionUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'planId': (json['planId'] === null || json['planId'] === undefined) ? json['planId'] : (0, SubscriptionPlanId_1.SubscriptionPlanIdFromJSON)(json['planId']),
|
|
36
|
-
'billingPrice': json['billingPrice'],
|
|
37
|
-
'validFrom': (json['validFrom'] === null || json['validFrom'] === undefined) ? json['validFrom'] : new Date(json['validFrom']),
|
|
38
|
-
'validTo': (json['validTo'] === null || json['validTo'] === undefined) ? json['validTo'] : new Date(json['validTo']),
|
|
39
|
-
'nextBillingDate': (json['nextBillingDate'] === null || json['nextBillingDate'] === undefined) ? json['nextBillingDate'] : new Date(json['nextBillingDate']),
|
|
40
|
-
'isTrial': json['isTrial'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.SubscriptionUpdateParametersFromJSONTyped = SubscriptionUpdateParametersFromJSONTyped;
|
|
44
|
-
function SubscriptionUpdateParametersToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'planId': (0, SubscriptionPlanId_1.SubscriptionPlanIdToJSON)(value['planId']),
|
|
50
|
-
'billingPrice': value['billingPrice'],
|
|
51
|
-
'validFrom': (value['validFrom'] === null || value['validFrom'] === undefined) ? value['validFrom'] : (0, runtime_1.toDateISOString)(value['validFrom']),
|
|
52
|
-
'validTo': (value['validTo'] === null || value['validTo'] === undefined) ? value['validTo'] : (0, runtime_1.toDateISOString)(value['validTo']),
|
|
53
|
-
'nextBillingDate': (value['nextBillingDate'] === null || value['nextBillingDate'] === undefined) ? value['nextBillingDate'] : (0, runtime_1.toDateISOString)(value['nextBillingDate']),
|
|
54
|
-
'isTrial': value['isTrial'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.SubscriptionUpdateParametersToJSON = SubscriptionUpdateParametersToJSON;
|