@lcdp/api-react-rest-client 2.14.3-LDS-4892.18154750151 → 2.14.3-LDS-4938-monolith-repousser-la-fin-du-tr.18158626411
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/package.json +1 -1
- package/subscription/src/apis/ManageSubscriptionApi.d.ts +56 -0
- package/subscription/src/apis/ManageSubscriptionApi.js +315 -0
- package/subscription/src/apis/ManageSubscriptionPlanApi.d.ts +30 -0
- package/subscription/src/apis/ManageSubscriptionPlanApi.js +164 -0
- package/subscription/src/apis/SearchSubscriptionApi.d.ts +53 -0
- package/subscription/src/apis/SearchSubscriptionApi.js +208 -0
- package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +49 -0
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +249 -0
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.d.ts +26 -0
- package/subscription/src/apis/{SearchSubscriptionsApi.js → SearchSubscriptionPlanFeatureApi.js} +13 -19
- package/subscription/src/apis/index.d.ts +5 -1
- package/subscription/src/apis/index.js +5 -1
- package/subscription/src/models/HttpLink.d.ts +31 -0
- package/subscription/src/models/HttpLink.js +47 -0
- package/subscription/src/models/PaginatedObject.d.ts +32 -0
- package/subscription/src/models/PaginatedObject.js +48 -0
- package/subscription/src/models/PaginatedSubscriptions.d.ts +39 -0
- package/subscription/src/models/PaginatedSubscriptions.js +51 -0
- package/subscription/src/models/PagingMetadata.d.ts +49 -0
- package/subscription/src/models/PagingMetadata.js +55 -0
- package/subscription/src/models/RestError.d.ts +103 -0
- package/subscription/src/models/RestError.js +113 -0
- package/subscription/src/models/SubscriberLink.d.ts +37 -0
- package/subscription/src/models/SubscriberLink.js +49 -0
- package/subscription/src/models/Subscription.d.ts +38 -6
- package/subscription/src/models/Subscription.js +19 -6
- package/subscription/src/models/SubscriptionCreationParameters.d.ts +44 -0
- package/subscription/src/models/SubscriptionCreationParameters.js +56 -0
- package/subscription/src/models/SubscriptionPlan.d.ts +69 -0
- package/subscription/src/models/SubscriptionPlan.js +59 -0
- package/subscription/src/models/SubscriptionPlanFeature.d.ts +44 -0
- package/subscription/src/models/SubscriptionPlanFeature.js +50 -0
- package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +26 -0
- package/subscription/src/models/SubscriptionPlanFeatureId.js +49 -0
- package/subscription/src/models/SubscriptionPlanId.d.ts +25 -0
- package/subscription/src/models/SubscriptionPlanId.js +48 -0
- package/subscription/src/models/SubscriptionPlanLink.d.ts +38 -0
- package/subscription/src/models/SubscriptionPlanLink.js +50 -0
- package/subscription/src/models/SubscriptionPlanUpdateParameters.d.ts +62 -0
- package/subscription/src/models/SubscriptionPlanUpdateParameters.js +56 -0
- package/subscription/src/models/SubscriptionUpdateParameters.d.ts +62 -0
- package/subscription/src/models/SubscriptionUpdateParameters.js +57 -0
- package/subscription/src/models/index.d.ts +14 -0
- package/subscription/src/models/index.js +14 -0
- package/user/src/models/OffisanteStatus.d.ts +3 -1
- package/user/src/models/OffisanteStatus.js +4 -2
- package/subscription/src/apis/SearchSubscriptionsApi.d.ts +0 -29
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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;
|
|
@@ -0,0 +1,56 @@
|
|
|
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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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;
|
|
@@ -0,0 +1,57 @@
|
|
|
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;
|
|
@@ -1 +1,15 @@
|
|
|
1
|
+
export * from './HttpLink';
|
|
2
|
+
export * from './PaginatedObject';
|
|
3
|
+
export * from './PaginatedSubscriptions';
|
|
4
|
+
export * from './PagingMetadata';
|
|
5
|
+
export * from './RestError';
|
|
6
|
+
export * from './SubscriberLink';
|
|
1
7
|
export * from './Subscription';
|
|
8
|
+
export * from './SubscriptionCreationParameters';
|
|
9
|
+
export * from './SubscriptionPlan';
|
|
10
|
+
export * from './SubscriptionPlanFeature';
|
|
11
|
+
export * from './SubscriptionPlanFeatureId';
|
|
12
|
+
export * from './SubscriptionPlanId';
|
|
13
|
+
export * from './SubscriptionPlanLink';
|
|
14
|
+
export * from './SubscriptionPlanUpdateParameters';
|
|
15
|
+
export * from './SubscriptionUpdateParameters';
|
|
@@ -16,4 +16,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./HttpLink"), exports);
|
|
20
|
+
__exportStar(require("./PaginatedObject"), exports);
|
|
21
|
+
__exportStar(require("./PaginatedSubscriptions"), exports);
|
|
22
|
+
__exportStar(require("./PagingMetadata"), exports);
|
|
23
|
+
__exportStar(require("./RestError"), exports);
|
|
24
|
+
__exportStar(require("./SubscriberLink"), exports);
|
|
19
25
|
__exportStar(require("./Subscription"), exports);
|
|
26
|
+
__exportStar(require("./SubscriptionCreationParameters"), exports);
|
|
27
|
+
__exportStar(require("./SubscriptionPlan"), exports);
|
|
28
|
+
__exportStar(require("./SubscriptionPlanFeature"), exports);
|
|
29
|
+
__exportStar(require("./SubscriptionPlanFeatureId"), exports);
|
|
30
|
+
__exportStar(require("./SubscriptionPlanId"), exports);
|
|
31
|
+
__exportStar(require("./SubscriptionPlanLink"), exports);
|
|
32
|
+
__exportStar(require("./SubscriptionPlanUpdateParameters"), exports);
|
|
33
|
+
__exportStar(require("./SubscriptionUpdateParameters"), exports);
|
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Status of company in our system against Offisante system.
|
|
14
|
-
* SET : Offisante know this resource
|
|
14
|
+
* SET : Offisante know this resource but not yet its stock
|
|
15
15
|
* NOT_SET : Offisante do not know this resource
|
|
16
16
|
* IN_PROGRESS : Offisante is going to know this resource in the future
|
|
17
|
+
* ACTIVE : Offisante know this resource and its stock
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -21,6 +22,7 @@ export declare const OffisanteStatus: {
|
|
|
21
22
|
readonly SET: "SET";
|
|
22
23
|
readonly NOT_SET: "NOT_SET";
|
|
23
24
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
25
|
+
readonly ACTIVE: "ACTIVE";
|
|
24
26
|
};
|
|
25
27
|
export declare type OffisanteStatus = typeof OffisanteStatus[keyof typeof OffisanteStatus];
|
|
26
28
|
export declare function instanceOfOffisanteStatus(value: any): boolean;
|
|
@@ -16,16 +16,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.OffisanteStatusToJSON = exports.OffisanteStatusFromJSONTyped = exports.OffisanteStatusFromJSON = exports.instanceOfOffisanteStatus = exports.OffisanteStatus = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Status of company in our system against Offisante system.
|
|
19
|
-
* SET : Offisante know this resource
|
|
19
|
+
* SET : Offisante know this resource but not yet its stock
|
|
20
20
|
* NOT_SET : Offisante do not know this resource
|
|
21
21
|
* IN_PROGRESS : Offisante is going to know this resource in the future
|
|
22
|
+
* ACTIVE : Offisante know this resource and its stock
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
26
|
exports.OffisanteStatus = {
|
|
26
27
|
SET: 'SET',
|
|
27
28
|
NOT_SET: 'NOT_SET',
|
|
28
|
-
IN_PROGRESS: 'IN_PROGRESS'
|
|
29
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
30
|
+
ACTIVE: 'ACTIVE'
|
|
29
31
|
};
|
|
30
32
|
function instanceOfOffisanteStatus(value) {
|
|
31
33
|
for (var key in exports.OffisanteStatus) {
|
|
@@ -1,29 +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 * as runtime from '../runtime';
|
|
13
|
-
import type { Subscription } from '../models/index';
|
|
14
|
-
export interface GetSubscriptionsRequest {
|
|
15
|
-
ownerIdEq: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class SearchSubscriptionsApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Get subscriptions
|
|
23
|
-
*/
|
|
24
|
-
getSubscriptionsRaw(requestParameters: GetSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Subscription> | runtime.BlobWithMeta>>;
|
|
25
|
-
/**
|
|
26
|
-
* Get subscriptions
|
|
27
|
-
*/
|
|
28
|
-
getSubscriptions(requestParameters: GetSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Subscription> | runtime.BlobWithMeta>;
|
|
29
|
-
}
|