@lcdp/api-react-rest-client 2.14.3-LDS-4747-chargebee.18197926017 → 2.14.3-LDS-4747-chargebee.18225761899

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +1 -1
  2. package/subscription/src/apis/SearchSubscriptionsApi.d.ts +29 -0
  3. package/subscription/src/apis/{SearchSubscriptionPlanFeatureApi.js → SearchSubscriptionsApi.js} +19 -13
  4. package/subscription/src/apis/index.d.ts +1 -5
  5. package/subscription/src/apis/index.js +1 -5
  6. package/subscription/src/models/Subscription.d.ts +6 -38
  7. package/subscription/src/models/Subscription.js +6 -19
  8. package/subscription/src/models/index.d.ts +0 -14
  9. package/subscription/src/models/index.js +0 -14
  10. package/subscription/src/apis/ManageSubscriptionApi.d.ts +0 -56
  11. package/subscription/src/apis/ManageSubscriptionApi.js +0 -315
  12. package/subscription/src/apis/ManageSubscriptionPlanApi.d.ts +0 -30
  13. package/subscription/src/apis/ManageSubscriptionPlanApi.js +0 -164
  14. package/subscription/src/apis/SearchSubscriptionApi.d.ts +0 -53
  15. package/subscription/src/apis/SearchSubscriptionApi.js +0 -208
  16. package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +0 -49
  17. package/subscription/src/apis/SearchSubscriptionPlanApi.js +0 -249
  18. package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.d.ts +0 -26
  19. package/subscription/src/models/HttpLink.d.ts +0 -31
  20. package/subscription/src/models/HttpLink.js +0 -47
  21. package/subscription/src/models/PaginatedObject.d.ts +0 -32
  22. package/subscription/src/models/PaginatedObject.js +0 -48
  23. package/subscription/src/models/PaginatedSubscriptions.d.ts +0 -39
  24. package/subscription/src/models/PaginatedSubscriptions.js +0 -51
  25. package/subscription/src/models/PagingMetadata.d.ts +0 -49
  26. package/subscription/src/models/PagingMetadata.js +0 -55
  27. package/subscription/src/models/RestError.d.ts +0 -103
  28. package/subscription/src/models/RestError.js +0 -113
  29. package/subscription/src/models/SubscriberLink.d.ts +0 -37
  30. package/subscription/src/models/SubscriberLink.js +0 -49
  31. package/subscription/src/models/SubscriptionCreationParameters.d.ts +0 -44
  32. package/subscription/src/models/SubscriptionCreationParameters.js +0 -56
  33. package/subscription/src/models/SubscriptionPlan.d.ts +0 -69
  34. package/subscription/src/models/SubscriptionPlan.js +0 -59
  35. package/subscription/src/models/SubscriptionPlanFeature.d.ts +0 -44
  36. package/subscription/src/models/SubscriptionPlanFeature.js +0 -50
  37. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +0 -26
  38. package/subscription/src/models/SubscriptionPlanFeatureId.js +0 -49
  39. package/subscription/src/models/SubscriptionPlanId.d.ts +0 -25
  40. package/subscription/src/models/SubscriptionPlanId.js +0 -48
  41. package/subscription/src/models/SubscriptionPlanLink.d.ts +0 -38
  42. package/subscription/src/models/SubscriptionPlanLink.js +0 -50
  43. package/subscription/src/models/SubscriptionPlanUpdateParameters.d.ts +0 -62
  44. package/subscription/src/models/SubscriptionPlanUpdateParameters.js +0 -56
  45. package/subscription/src/models/SubscriptionUpdateParameters.d.ts +0 -62
  46. package/subscription/src/models/SubscriptionUpdateParameters.js +0 -57
@@ -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.PaginatedObjectToJSON = exports.PaginatedObjectFromJSONTyped = exports.PaginatedObjectFromJSON = exports.instanceOfPaginatedObject = void 0;
17
- var PagingMetadata_1 = require("./PagingMetadata");
18
- /**
19
- * Check if a given object implements the PaginatedObject interface.
20
- */
21
- function instanceOfPaginatedObject(value) {
22
- if (!('metadata' in value) || value['metadata'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- exports.instanceOfPaginatedObject = instanceOfPaginatedObject;
27
- function PaginatedObjectFromJSON(json) {
28
- return PaginatedObjectFromJSONTyped(json, false);
29
- }
30
- exports.PaginatedObjectFromJSON = PaginatedObjectFromJSON;
31
- function PaginatedObjectFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
37
- };
38
- }
39
- exports.PaginatedObjectFromJSONTyped = PaginatedObjectFromJSONTyped;
40
- function PaginatedObjectToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
46
- };
47
- }
48
- exports.PaginatedObjectToJSON = PaginatedObjectToJSON;
@@ -1,39 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP products
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@lecomptoirdespharmacies.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { Subscription } from './Subscription';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedSubscriptions
18
- */
19
- export interface PaginatedSubscriptions {
20
- /**
21
- *
22
- * @type {PagingMetadata}
23
- * @memberof PaginatedSubscriptions
24
- */
25
- metadata: PagingMetadata;
26
- /**
27
- *
28
- * @type {Array<Subscription>}
29
- * @memberof PaginatedSubscriptions
30
- */
31
- records?: Array<Subscription>;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedSubscriptions interface.
35
- */
36
- export declare function instanceOfPaginatedSubscriptions(value: object): value is PaginatedSubscriptions;
37
- export declare function PaginatedSubscriptionsFromJSON(json: any): PaginatedSubscriptions;
38
- export declare function PaginatedSubscriptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSubscriptions;
39
- export declare function PaginatedSubscriptionsToJSON(value?: PaginatedSubscriptions | 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 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.PaginatedSubscriptionsToJSON = exports.PaginatedSubscriptionsFromJSONTyped = exports.PaginatedSubscriptionsFromJSON = exports.instanceOfPaginatedSubscriptions = void 0;
17
- var PagingMetadata_1 = require("./PagingMetadata");
18
- var Subscription_1 = require("./Subscription");
19
- /**
20
- * Check if a given object implements the PaginatedSubscriptions interface.
21
- */
22
- function instanceOfPaginatedSubscriptions(value) {
23
- if (!('metadata' in value) || value['metadata'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfPaginatedSubscriptions = instanceOfPaginatedSubscriptions;
28
- function PaginatedSubscriptionsFromJSON(json) {
29
- return PaginatedSubscriptionsFromJSONTyped(json, false);
30
- }
31
- exports.PaginatedSubscriptionsFromJSON = PaginatedSubscriptionsFromJSON;
32
- function PaginatedSubscriptionsFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
38
- 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Subscription_1.SubscriptionFromJSON),
39
- };
40
- }
41
- exports.PaginatedSubscriptionsFromJSONTyped = PaginatedSubscriptionsFromJSONTyped;
42
- function PaginatedSubscriptionsToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
48
- 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Subscription_1.SubscriptionToJSON),
49
- };
50
- }
51
- exports.PaginatedSubscriptionsToJSON = PaginatedSubscriptionsToJSON;
@@ -1,49 +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
- * All information about current and available pages
14
- * @export
15
- * @interface PagingMetadata
16
- */
17
- export interface PagingMetadata {
18
- /**
19
- * Current page requested. Start at 0. May not be present if user do not request specific page.
20
- * @type {number}
21
- * @memberof PagingMetadata
22
- */
23
- page?: number;
24
- /**
25
- * Number of item per page. 0 means that you only required metadata. May not be present if user do not request specific perPage.
26
- * @type {number}
27
- * @memberof PagingMetadata
28
- */
29
- perPage?: number;
30
- /**
31
- * Total number of item visible by the client in the request
32
- * @type {number}
33
- * @memberof PagingMetadata
34
- */
35
- totalVisible: number;
36
- /**
37
- * Total number of item found in database
38
- * @type {number}
39
- * @memberof PagingMetadata
40
- */
41
- totalFound: number;
42
- }
43
- /**
44
- * Check if a given object implements the PagingMetadata interface.
45
- */
46
- export declare function instanceOfPagingMetadata(value: object): value is PagingMetadata;
47
- export declare function PagingMetadataFromJSON(json: any): PagingMetadata;
48
- export declare function PagingMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagingMetadata;
49
- export declare function PagingMetadataToJSON(value?: PagingMetadata | null): any;
@@ -1,55 +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.PagingMetadataToJSON = exports.PagingMetadataFromJSONTyped = exports.PagingMetadataFromJSON = exports.instanceOfPagingMetadata = void 0;
17
- /**
18
- * Check if a given object implements the PagingMetadata interface.
19
- */
20
- function instanceOfPagingMetadata(value) {
21
- if (!('totalVisible' in value) || value['totalVisible'] === undefined)
22
- return false;
23
- if (!('totalFound' in value) || value['totalFound'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfPagingMetadata = instanceOfPagingMetadata;
28
- function PagingMetadataFromJSON(json) {
29
- return PagingMetadataFromJSONTyped(json, false);
30
- }
31
- exports.PagingMetadataFromJSON = PagingMetadataFromJSON;
32
- function PagingMetadataFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'page': json['page'],
38
- 'perPage': json['perPage'],
39
- 'totalVisible': json['totalVisible'],
40
- 'totalFound': json['totalFound'],
41
- };
42
- }
43
- exports.PagingMetadataFromJSONTyped = PagingMetadataFromJSONTyped;
44
- function PagingMetadataToJSON(value) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'page': value['page'],
50
- 'perPage': value['perPage'],
51
- 'totalVisible': value['totalVisible'],
52
- 'totalFound': value['totalFound'],
53
- };
54
- }
55
- exports.PagingMetadataToJSON = PagingMetadataToJSON;
@@ -1,103 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP products
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@lecomptoirdespharmacies.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface RestError
16
- */
17
- export interface RestError {
18
- /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
20
- *
21
- * @type {string}
22
- * @memberof RestError
23
- */
24
- code: RestErrorCodeEnum;
25
- /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
27
- *
28
- * @type {string}
29
- * @memberof RestError
30
- */
31
- message: RestErrorMessageEnum;
32
- }
33
- /**
34
- * @export
35
- */
36
- export declare const RestErrorCodeEnum: {
37
- readonly CODE000: "CODE000";
38
- readonly CODE001: "CODE001";
39
- readonly CODE002: "CODE002";
40
- readonly CODE003: "CODE003";
41
- readonly CODE004: "CODE004";
42
- readonly CODE005: "CODE005";
43
- readonly CODE006: "CODE006";
44
- readonly CODE007: "CODE007";
45
- readonly CODE008: "CODE008";
46
- readonly CODE009: "CODE009";
47
- readonly CODE010: "CODE010";
48
- readonly CODE011: "CODE011";
49
- readonly CODE012: "CODE012";
50
- readonly CODE013: "CODE013";
51
- readonly CODE014: "CODE014";
52
- readonly CODE015: "CODE015";
53
- readonly CODE016: "CODE016";
54
- readonly CODE017: "CODE017";
55
- readonly CODE018: "CODE018";
56
- readonly CODE019: "CODE019";
57
- readonly CODE020: "CODE020";
58
- readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
- readonly CODE025: "CODE025";
63
- };
64
- export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
- /**
66
- * @export
67
- */
68
- export declare const RestErrorMessageEnum: {
69
- readonly MESSAGE000: "Using outdated resource";
70
- readonly MESSAGE001: "Login failed";
71
- readonly MESSAGE002: "Cannot renew token";
72
- readonly MESSAGE003: "Invalid User CGV";
73
- readonly MESSAGE004: "Resource already exists";
74
- readonly MESSAGE005: "User account is disabled";
75
- readonly MESSAGE006: "Invalid schedule";
76
- readonly MESSAGE007: "Wrong Address according CHRONOPOST";
77
- readonly MESSAGE008: "Invalid Mangopay Mandate";
78
- readonly MESSAGE009: "Invalid Status";
79
- readonly MESSAGE010: "Image dimension exceeded";
80
- readonly MESSAGE011: "Empty User Address";
81
- readonly MESSAGE012: "Empty User Legal Name";
82
- readonly MESSAGE013: "Invalid quantities";
83
- readonly MESSAGE014: "Invalid Meta-Order";
84
- readonly MESSAGE015: "Can not release quantity greater than claimed";
85
- readonly MESSAGE016: "Can not release a negative quantity of items";
86
- readonly MESSAGE017: "Batch is forbidden for sale";
87
- readonly MESSAGE018: "Trial already used";
88
- readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
89
- readonly MESSAGE020: "ETag do not match";
90
- readonly MESSAGE021: "Missing informations for Offisante subscription";
91
- readonly MESSAGE022: "Disabled feature";
92
- readonly MESSAGE023: "Invalid Sca Enrollment status";
93
- readonly MESSAGE024: "Image missing";
94
- readonly MESSAGE025: "Invalid International Bank Account Number";
95
- };
96
- export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
- /**
98
- * Check if a given object implements the RestError interface.
99
- */
100
- export declare function instanceOfRestError(value: object): value is RestError;
101
- export declare function RestErrorFromJSON(json: any): RestError;
102
- export declare function RestErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestError;
103
- export declare function RestErrorToJSON(value?: RestError | null): any;
@@ -1,113 +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.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFromJSON = exports.instanceOfRestError = exports.RestErrorMessageEnum = exports.RestErrorCodeEnum = void 0;
17
- /**
18
- * @export
19
- */
20
- exports.RestErrorCodeEnum = {
21
- CODE000: 'CODE000',
22
- CODE001: 'CODE001',
23
- CODE002: 'CODE002',
24
- CODE003: 'CODE003',
25
- CODE004: 'CODE004',
26
- CODE005: 'CODE005',
27
- CODE006: 'CODE006',
28
- CODE007: 'CODE007',
29
- CODE008: 'CODE008',
30
- CODE009: 'CODE009',
31
- CODE010: 'CODE010',
32
- CODE011: 'CODE011',
33
- CODE012: 'CODE012',
34
- CODE013: 'CODE013',
35
- CODE014: 'CODE014',
36
- CODE015: 'CODE015',
37
- CODE016: 'CODE016',
38
- CODE017: 'CODE017',
39
- CODE018: 'CODE018',
40
- CODE019: 'CODE019',
41
- CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024',
46
- CODE025: 'CODE025'
47
- };
48
- /**
49
- * @export
50
- */
51
- exports.RestErrorMessageEnum = {
52
- MESSAGE000: 'Using outdated resource',
53
- MESSAGE001: 'Login failed',
54
- MESSAGE002: 'Cannot renew token',
55
- MESSAGE003: 'Invalid User CGV',
56
- MESSAGE004: 'Resource already exists',
57
- MESSAGE005: 'User account is disabled',
58
- MESSAGE006: 'Invalid schedule',
59
- MESSAGE007: 'Wrong Address according CHRONOPOST',
60
- MESSAGE008: 'Invalid Mangopay Mandate',
61
- MESSAGE009: 'Invalid Status',
62
- MESSAGE010: 'Image dimension exceeded',
63
- MESSAGE011: 'Empty User Address',
64
- MESSAGE012: 'Empty User Legal Name',
65
- MESSAGE013: 'Invalid quantities',
66
- MESSAGE014: 'Invalid Meta-Order',
67
- MESSAGE015: 'Can not release quantity greater than claimed',
68
- MESSAGE016: 'Can not release a negative quantity of items',
69
- MESSAGE017: 'Batch is forbidden for sale',
70
- MESSAGE018: 'Trial already used',
71
- MESSAGE019: 'Unable to generate session from disposableToken for admin users',
72
- MESSAGE020: 'ETag do not match',
73
- MESSAGE021: 'Missing informations for Offisante subscription',
74
- MESSAGE022: 'Disabled feature',
75
- MESSAGE023: 'Invalid Sca Enrollment status',
76
- MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
- };
79
- /**
80
- * Check if a given object implements the RestError interface.
81
- */
82
- function instanceOfRestError(value) {
83
- if (!('code' in value) || value['code'] === undefined)
84
- return false;
85
- if (!('message' in value) || value['message'] === undefined)
86
- return false;
87
- return true;
88
- }
89
- exports.instanceOfRestError = instanceOfRestError;
90
- function RestErrorFromJSON(json) {
91
- return RestErrorFromJSONTyped(json, false);
92
- }
93
- exports.RestErrorFromJSON = RestErrorFromJSON;
94
- function RestErrorFromJSONTyped(json, ignoreDiscriminator) {
95
- if (json == null) {
96
- return json;
97
- }
98
- return {
99
- 'code': json['code'],
100
- 'message': json['message'],
101
- };
102
- }
103
- exports.RestErrorFromJSONTyped = RestErrorFromJSONTyped;
104
- function RestErrorToJSON(value) {
105
- if (value == null) {
106
- return value;
107
- }
108
- return {
109
- 'code': value['code'],
110
- 'message': value['message'],
111
- };
112
- }
113
- exports.RestErrorToJSON = RestErrorToJSON;
@@ -1,37 +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
- * Subscriber link
14
- * @export
15
- * @interface SubscriberLink
16
- */
17
- export interface SubscriberLink {
18
- /**
19
- * Any URL that is using http or https protocol
20
- * @type {string}
21
- * @memberof SubscriberLink
22
- */
23
- href: string;
24
- /**
25
- * User id
26
- * @type {number}
27
- * @memberof SubscriberLink
28
- */
29
- id?: number;
30
- }
31
- /**
32
- * Check if a given object implements the SubscriberLink interface.
33
- */
34
- export declare function instanceOfSubscriberLink(value: object): value is SubscriberLink;
35
- export declare function SubscriberLinkFromJSON(json: any): SubscriberLink;
36
- export declare function SubscriberLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriberLink;
37
- export declare function SubscriberLinkToJSON(value?: SubscriberLink | 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.SubscriberLinkToJSON = exports.SubscriberLinkFromJSONTyped = exports.SubscriberLinkFromJSON = exports.instanceOfSubscriberLink = void 0;
17
- /**
18
- * Check if a given object implements the SubscriberLink interface.
19
- */
20
- function instanceOfSubscriberLink(value) {
21
- if (!('href' in value) || value['href'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfSubscriberLink = instanceOfSubscriberLink;
26
- function SubscriberLinkFromJSON(json) {
27
- return SubscriberLinkFromJSONTyped(json, false);
28
- }
29
- exports.SubscriberLinkFromJSON = SubscriberLinkFromJSON;
30
- function SubscriberLinkFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'href': json['href'],
36
- 'id': json['id'],
37
- };
38
- }
39
- exports.SubscriberLinkFromJSONTyped = SubscriberLinkFromJSONTyped;
40
- function SubscriberLinkToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'href': value['href'],
46
- 'id': value['id'],
47
- };
48
- }
49
- exports.SubscriberLinkToJSON = SubscriberLinkToJSON;
@@ -1,44 +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 SubscriptionCreationParameters
17
- */
18
- export interface SubscriptionCreationParameters {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof SubscriptionCreationParameters
23
- */
24
- subscriberId: number;
25
- /**
26
- *
27
- * @type {SubscriptionPlanId}
28
- * @memberof SubscriptionCreationParameters
29
- */
30
- planId: SubscriptionPlanId;
31
- /**
32
- *
33
- * @type {boolean}
34
- * @memberof SubscriptionCreationParameters
35
- */
36
- isTrial: boolean;
37
- }
38
- /**
39
- * Check if a given object implements the SubscriptionCreationParameters interface.
40
- */
41
- export declare function instanceOfSubscriptionCreationParameters(value: object): value is SubscriptionCreationParameters;
42
- export declare function SubscriptionCreationParametersFromJSON(json: any): SubscriptionCreationParameters;
43
- export declare function SubscriptionCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionCreationParameters;
44
- export declare function SubscriptionCreationParametersToJSON(value?: SubscriptionCreationParameters | 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.SubscriptionCreationParametersToJSON = exports.SubscriptionCreationParametersFromJSONTyped = exports.SubscriptionCreationParametersFromJSON = exports.instanceOfSubscriptionCreationParameters = void 0;
17
- var SubscriptionPlanId_1 = require("./SubscriptionPlanId");
18
- /**
19
- * Check if a given object implements the SubscriptionCreationParameters interface.
20
- */
21
- function instanceOfSubscriptionCreationParameters(value) {
22
- if (!('subscriberId' in value) || value['subscriberId'] === undefined)
23
- return false;
24
- if (!('planId' in value) || value['planId'] === undefined)
25
- return false;
26
- if (!('isTrial' in value) || value['isTrial'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- exports.instanceOfSubscriptionCreationParameters = instanceOfSubscriptionCreationParameters;
31
- function SubscriptionCreationParametersFromJSON(json) {
32
- return SubscriptionCreationParametersFromJSONTyped(json, false);
33
- }
34
- exports.SubscriptionCreationParametersFromJSON = SubscriptionCreationParametersFromJSON;
35
- function SubscriptionCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'subscriberId': json['subscriberId'],
41
- 'planId': (json['planId'] === null || json['planId'] === undefined) ? json['planId'] : (0, SubscriptionPlanId_1.SubscriptionPlanIdFromJSON)(json['planId']),
42
- 'isTrial': json['isTrial'],
43
- };
44
- }
45
- exports.SubscriptionCreationParametersFromJSONTyped = SubscriptionCreationParametersFromJSONTyped;
46
- function SubscriptionCreationParametersToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'subscriberId': value['subscriberId'],
52
- 'planId': (0, SubscriptionPlanId_1.SubscriptionPlanIdToJSON)(value['planId']),
53
- 'isTrial': value['isTrial'],
54
- };
55
- }
56
- exports.SubscriptionCreationParametersToJSON = SubscriptionCreationParametersToJSON;