@lcdp/api-react-rest-client 2.14.3-develop.18775084447 → 2.14.3

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 (83) hide show
  1. package/invoice/src/apis/SearchInvoiceApi.d.ts +2 -2
  2. package/invoice/src/apis/SearchInvoiceApi.js +2 -2
  3. package/invoice/src/models/InvoiceType.d.ts +1 -0
  4. package/invoice/src/models/InvoiceType.js +1 -0
  5. package/notification/src/models/NotificationTypeId.d.ts +2 -1
  6. package/notification/src/models/NotificationTypeId.js +2 -1
  7. package/package.json +1 -1
  8. package/rfx/src/apis/index.d.ts +0 -1
  9. package/rfx/src/apis/index.js +0 -1
  10. package/rfx/src/models/index.d.ts +0 -1
  11. package/rfx/src/models/index.js +0 -1
  12. package/subscription/src/apis/ManageSubscriptionApi.d.ts +56 -0
  13. package/subscription/src/apis/ManageSubscriptionApi.js +315 -0
  14. package/subscription/src/apis/ManageSubscriptionPlanApi.d.ts +30 -0
  15. package/{rfx/src/apis/ManageRffApi.js → subscription/src/apis/ManageSubscriptionPlanApi.js} +39 -21
  16. package/subscription/src/apis/SearchSubscriptionApi.d.ts +53 -0
  17. package/subscription/src/apis/SearchSubscriptionApi.js +208 -0
  18. package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +49 -0
  19. package/subscription/src/apis/SearchSubscriptionPlanApi.js +249 -0
  20. package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.d.ts +26 -0
  21. package/subscription/src/apis/{SearchSubscriptionsApi.js → SearchSubscriptionPlanFeatureApi.js} +13 -19
  22. package/subscription/src/apis/index.d.ts +5 -1
  23. package/subscription/src/apis/index.js +5 -1
  24. package/subscription/src/models/HttpLink.d.ts +31 -0
  25. package/subscription/src/models/HttpLink.js +47 -0
  26. package/subscription/src/models/PaginatedObject.d.ts +32 -0
  27. package/subscription/src/models/PaginatedObject.js +48 -0
  28. package/subscription/src/models/PaginatedSubscriptions.d.ts +39 -0
  29. package/subscription/src/models/PaginatedSubscriptions.js +51 -0
  30. package/subscription/src/models/PagingMetadata.d.ts +49 -0
  31. package/subscription/src/models/PagingMetadata.js +55 -0
  32. package/{chargebee-hook → subscription}/src/models/RestError.d.ts +1 -1
  33. package/{chargebee-hook → subscription}/src/models/RestError.js +1 -1
  34. package/subscription/src/models/SubscriberLink.d.ts +37 -0
  35. package/subscription/src/models/SubscriberLink.js +49 -0
  36. package/subscription/src/models/Subscription.d.ts +18 -23
  37. package/subscription/src/models/Subscription.js +19 -29
  38. package/subscription/src/models/SubscriptionCreationParameters.d.ts +44 -0
  39. package/subscription/src/models/SubscriptionCreationParameters.js +56 -0
  40. package/subscription/src/models/SubscriptionPlan.d.ts +69 -0
  41. package/subscription/src/models/SubscriptionPlan.js +59 -0
  42. package/subscription/src/models/SubscriptionPlanFeature.d.ts +44 -0
  43. package/subscription/src/models/SubscriptionPlanFeature.js +50 -0
  44. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +26 -0
  45. package/subscription/src/models/SubscriptionPlanFeatureId.js +49 -0
  46. package/subscription/src/models/SubscriptionPlanId.d.ts +25 -0
  47. package/subscription/src/models/SubscriptionPlanId.js +48 -0
  48. package/subscription/src/models/SubscriptionPlanLink.d.ts +38 -0
  49. package/subscription/src/models/SubscriptionPlanLink.js +50 -0
  50. package/subscription/src/models/SubscriptionPlanUpdateParameters.d.ts +62 -0
  51. package/subscription/src/models/SubscriptionPlanUpdateParameters.js +56 -0
  52. package/subscription/src/models/SubscriptionUpdateParameters.d.ts +62 -0
  53. package/subscription/src/models/SubscriptionUpdateParameters.js +57 -0
  54. package/subscription/src/models/index.d.ts +14 -1
  55. package/subscription/src/models/index.js +14 -1
  56. package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -5
  57. package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -5
  58. package/user/src/models/NotificationTypeId.d.ts +2 -1
  59. package/user/src/models/NotificationTypeId.js +2 -1
  60. package/user/src/models/OffisanteStatus.d.ts +1 -3
  61. package/user/src/models/OffisanteStatus.js +2 -4
  62. package/user/src/models/User.d.ts +0 -8
  63. package/user/src/models/User.js +0 -2
  64. package/chargebee-hook/index.d.ts +0 -1
  65. package/chargebee-hook/index.js +0 -17
  66. package/chargebee-hook/src/apis/ChargebeeHookApi.d.ts +0 -31
  67. package/chargebee-hook/src/apis/ChargebeeHookApi.js +0 -134
  68. package/chargebee-hook/src/apis/index.d.ts +0 -1
  69. package/chargebee-hook/src/apis/index.js +0 -19
  70. package/chargebee-hook/src/index.d.ts +0 -3
  71. package/chargebee-hook/src/index.js +0 -21
  72. package/chargebee-hook/src/models/HookRequest.d.ts +0 -85
  73. package/chargebee-hook/src/models/HookRequest.js +0 -67
  74. package/chargebee-hook/src/models/index.d.ts +0 -2
  75. package/chargebee-hook/src/models/index.js +0 -20
  76. package/chargebee-hook/src/runtime.d.ts +0 -190
  77. package/chargebee-hook/src/runtime.js +0 -598
  78. package/rfx/src/apis/ManageRffApi.d.ts +0 -29
  79. package/rfx/src/models/RffCreationParameters.d.ts +0 -37
  80. package/rfx/src/models/RffCreationParameters.js +0 -51
  81. package/subscription/src/apis/SearchSubscriptionsApi.d.ts +0 -29
  82. package/subscription/src/models/SubscriptionStatus.d.ts +0 -39
  83. package/subscription/src/models/SubscriptionStatus.js +0 -62
@@ -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 RFx (Request For X)
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.RffCreationParametersToJSON = exports.RffCreationParametersFromJSONTyped = exports.RffCreationParametersFromJSON = exports.instanceOfRffCreationParameters = void 0;
17
- /**
18
- * Check if a given object implements the RffCreationParameters interface.
19
- */
20
- function instanceOfRffCreationParameters(value) {
21
- if (!('userId' in value) || value['userId'] === undefined)
22
- return false;
23
- if (!('featureName' in value) || value['featureName'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfRffCreationParameters = instanceOfRffCreationParameters;
28
- function RffCreationParametersFromJSON(json) {
29
- return RffCreationParametersFromJSONTyped(json, false);
30
- }
31
- exports.RffCreationParametersFromJSON = RffCreationParametersFromJSON;
32
- function RffCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'userId': json['userId'],
38
- 'featureName': json['featureName'],
39
- };
40
- }
41
- exports.RffCreationParametersFromJSONTyped = RffCreationParametersFromJSONTyped;
42
- function RffCreationParametersToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'userId': value['userId'],
48
- 'featureName': value['featureName'],
49
- };
50
- }
51
- exports.RffCreationParametersToJSON = RffCreationParametersToJSON;
@@ -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
- }
@@ -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
- /**
13
- * Status of the subscription
14
- * - FUTURE: The subscription is scheduled to start at a future date.
15
- * - IN_TRIAL: The subscription is in trial.
16
- * - ACTIVE: The subscription is active and will be charged for automatically based on the items in it.
17
- * - NON_RENEWING: The subscription will be canceled at the end of the current term.
18
- * - PAUSED: The subscription is paused. The subscription will not renew while in this state.
19
- * - CANCELLED: The subscription has been canceled and is no longer in service.
20
- * - TRANSFERRED: The subscription has been transferred to another business entity within the organization.
21
- * - _UNKNOWN: Indicates unexpected value for this enum.
22
- *
23
- * @export
24
- */
25
- export declare const SubscriptionStatus: {
26
- readonly FUTURE: "FUTURE";
27
- readonly IN_TRIAL: "IN_TRIAL";
28
- readonly ACTIVE: "ACTIVE";
29
- readonly NON_RENEWING: "NON_RENEWING";
30
- readonly PAUSED: "PAUSED";
31
- readonly CANCELLED: "CANCELLED";
32
- readonly TRANSFERRED: "TRANSFERRED";
33
- readonly UNKNOWN: "_UNKNOWN";
34
- };
35
- export declare type SubscriptionStatus = typeof SubscriptionStatus[keyof typeof SubscriptionStatus];
36
- export declare function instanceOfSubscriptionStatus(value: any): boolean;
37
- export declare function SubscriptionStatusFromJSON(json: any): SubscriptionStatus;
38
- export declare function SubscriptionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionStatus;
39
- export declare function SubscriptionStatusToJSON(value?: SubscriptionStatus | null): any;
@@ -1,62 +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.SubscriptionStatusToJSON = exports.SubscriptionStatusFromJSONTyped = exports.SubscriptionStatusFromJSON = exports.instanceOfSubscriptionStatus = exports.SubscriptionStatus = void 0;
17
- /**
18
- * Status of the subscription
19
- * - FUTURE: The subscription is scheduled to start at a future date.
20
- * - IN_TRIAL: The subscription is in trial.
21
- * - ACTIVE: The subscription is active and will be charged for automatically based on the items in it.
22
- * - NON_RENEWING: The subscription will be canceled at the end of the current term.
23
- * - PAUSED: The subscription is paused. The subscription will not renew while in this state.
24
- * - CANCELLED: The subscription has been canceled and is no longer in service.
25
- * - TRANSFERRED: The subscription has been transferred to another business entity within the organization.
26
- * - _UNKNOWN: Indicates unexpected value for this enum.
27
- *
28
- * @export
29
- */
30
- exports.SubscriptionStatus = {
31
- FUTURE: 'FUTURE',
32
- IN_TRIAL: 'IN_TRIAL',
33
- ACTIVE: 'ACTIVE',
34
- NON_RENEWING: 'NON_RENEWING',
35
- PAUSED: 'PAUSED',
36
- CANCELLED: 'CANCELLED',
37
- TRANSFERRED: 'TRANSFERRED',
38
- UNKNOWN: '_UNKNOWN'
39
- };
40
- function instanceOfSubscriptionStatus(value) {
41
- for (var key in exports.SubscriptionStatus) {
42
- if (Object.prototype.hasOwnProperty.call(exports.SubscriptionStatus, key)) {
43
- if (exports.SubscriptionStatus[key] === value) {
44
- return true;
45
- }
46
- }
47
- }
48
- return false;
49
- }
50
- exports.instanceOfSubscriptionStatus = instanceOfSubscriptionStatus;
51
- function SubscriptionStatusFromJSON(json) {
52
- return SubscriptionStatusFromJSONTyped(json, false);
53
- }
54
- exports.SubscriptionStatusFromJSON = SubscriptionStatusFromJSON;
55
- function SubscriptionStatusFromJSONTyped(json, ignoreDiscriminator) {
56
- return json;
57
- }
58
- exports.SubscriptionStatusFromJSONTyped = SubscriptionStatusFromJSONTyped;
59
- function SubscriptionStatusToJSON(value) {
60
- return value;
61
- }
62
- exports.SubscriptionStatusToJSON = SubscriptionStatusToJSON;