@lcdp/api-react-rest-client 2.14.1-develop.17982133842 → 2.14.2-LDS-4883.18008091819

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 (43) hide show
  1. package/chargebee-hook/index.d.ts +1 -0
  2. package/chargebee-hook/index.js +17 -0
  3. package/chargebee-hook/src/apis/ChargebeeHookApi.d.ts +31 -0
  4. package/chargebee-hook/src/apis/ChargebeeHookApi.js +134 -0
  5. package/chargebee-hook/src/apis/index.d.ts +1 -0
  6. package/chargebee-hook/src/apis/index.js +19 -0
  7. package/chargebee-hook/src/index.d.ts +3 -0
  8. package/chargebee-hook/src/index.js +21 -0
  9. package/chargebee-hook/src/models/HookRequest.d.ts +85 -0
  10. package/chargebee-hook/src/models/HookRequest.js +67 -0
  11. package/chargebee-hook/src/models/RestError.d.ts +103 -0
  12. package/chargebee-hook/src/models/RestError.js +113 -0
  13. package/chargebee-hook/src/models/index.d.ts +2 -0
  14. package/chargebee-hook/src/models/index.js +20 -0
  15. package/chargebee-hook/src/runtime.d.ts +190 -0
  16. package/chargebee-hook/src/runtime.js +598 -0
  17. package/package.json +1 -1
  18. package/statistic/src/models/UserStatistic.d.ts +31 -9
  19. package/statistic/src/models/UserStatistic.js +12 -6
  20. package/statistic/src/models/index.d.ts +0 -2
  21. package/statistic/src/models/index.js +0 -2
  22. package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +4 -2
  23. package/third-party/src/models/ThirdPartyLinkCreationParameters.js +4 -2
  24. package/user/src/models/User.d.ts +0 -7
  25. package/user/src/models/User.js +0 -3
  26. package/user/src/models/UserStatisticLink.d.ts +30 -8
  27. package/user/src/models/UserStatisticLink.js +12 -6
  28. package/user/src/models/UserUpdateParameters.d.ts +0 -7
  29. package/user/src/models/UserUpdateParameters.js +0 -3
  30. package/user/src/models/index.d.ts +0 -4
  31. package/user/src/models/index.js +0 -4
  32. package/statistic/src/models/UserStatisticLongTermQoS.d.ts +0 -61
  33. package/statistic/src/models/UserStatisticLongTermQoS.js +0 -55
  34. package/statistic/src/models/UserStatisticShortTermQoS.d.ts +0 -43
  35. package/statistic/src/models/UserStatisticShortTermQoS.js +0 -49
  36. package/user/src/models/ProductStorageType.d.ts +0 -26
  37. package/user/src/models/ProductStorageType.js +0 -49
  38. package/user/src/models/RestrictedProductStorageType.d.ts +0 -46
  39. package/user/src/models/RestrictedProductStorageType.js +0 -55
  40. package/user/src/models/UserStatisticLinkAllOfLongTermQoS.d.ts +0 -61
  41. package/user/src/models/UserStatisticLinkAllOfLongTermQoS.js +0 -55
  42. package/user/src/models/UserStatisticLinkAllOfShortTermQoS.d.ts +0 -43
  43. package/user/src/models/UserStatisticLinkAllOfShortTermQoS.js +0 -49
@@ -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.RestrictedProductStorageTypeToJSON = exports.RestrictedProductStorageTypeFromJSONTyped = exports.RestrictedProductStorageTypeFromJSON = exports.instanceOfRestrictedProductStorageType = exports.RestrictedProductStorageTypeActionsEnum = void 0;
17
- var ProductStorageType_1 = require("./ProductStorageType");
18
- /**
19
- * @export
20
- */
21
- exports.RestrictedProductStorageTypeActionsEnum = {
22
- BUY: 'BUY',
23
- SELL: 'SELL'
24
- };
25
- /**
26
- * Check if a given object implements the RestrictedProductStorageType interface.
27
- */
28
- function instanceOfRestrictedProductStorageType(value) {
29
- return true;
30
- }
31
- exports.instanceOfRestrictedProductStorageType = instanceOfRestrictedProductStorageType;
32
- function RestrictedProductStorageTypeFromJSON(json) {
33
- return RestrictedProductStorageTypeFromJSONTyped(json, false);
34
- }
35
- exports.RestrictedProductStorageTypeFromJSON = RestrictedProductStorageTypeFromJSON;
36
- function RestrictedProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'actions': json['actions'],
42
- 'target': (json['target'] === null || json['target'] === undefined) ? json['target'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['target']),
43
- };
44
- }
45
- exports.RestrictedProductStorageTypeFromJSONTyped = RestrictedProductStorageTypeFromJSONTyped;
46
- function RestrictedProductStorageTypeToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'actions': value['actions'],
52
- 'target': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value['target']),
53
- };
54
- }
55
- exports.RestrictedProductStorageTypeToJSON = RestrictedProductStorageTypeToJSON;
@@ -1,61 +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
- * Long-term quality of service statistics
14
- * @export
15
- * @interface UserStatisticLinkAllOfLongTermQoS
16
- */
17
- export interface UserStatisticLinkAllOfLongTermQoS {
18
- /**
19
- * Number of sales
20
- * @type {number}
21
- * @memberof UserStatisticLinkAllOfLongTermQoS
22
- */
23
- numberOfSales?: number;
24
- /**
25
- * Rate of sales that have at least one removed or refunded item
26
- * @type {number}
27
- * @memberof UserStatisticLinkAllOfLongTermQoS
28
- */
29
- salesErrorRate?: number;
30
- /**
31
- * Rate of sales that have been canceled, ignoring cancellation issued by the buyer without any reason
32
- * @type {number}
33
- * @memberof UserStatisticLinkAllOfLongTermQoS
34
- */
35
- salesCanceledRate?: number;
36
- /**
37
- * Rate of sales that are associated to a litigation
38
- * @type {number}
39
- * @memberof UserStatisticLinkAllOfLongTermQoS
40
- */
41
- salesLitigationRate?: number;
42
- /**
43
- * Average delay (in days) of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
44
- * @type {number}
45
- * @memberof UserStatisticLinkAllOfLongTermQoS
46
- */
47
- salesResponsivenessDelay?: number;
48
- /**
49
- * Average delay (in days) of delivery for sales
50
- * @type {number}
51
- * @memberof UserStatisticLinkAllOfLongTermQoS
52
- */
53
- deliveryDelay?: number;
54
- }
55
- /**
56
- * Check if a given object implements the UserStatisticLinkAllOfLongTermQoS interface.
57
- */
58
- export declare function instanceOfUserStatisticLinkAllOfLongTermQoS(value: object): value is UserStatisticLinkAllOfLongTermQoS;
59
- export declare function UserStatisticLinkAllOfLongTermQoSFromJSON(json: any): UserStatisticLinkAllOfLongTermQoS;
60
- export declare function UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOfLongTermQoS;
61
- export declare function UserStatisticLinkAllOfLongTermQoSToJSON(value?: UserStatisticLinkAllOfLongTermQoS | 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.UserStatisticLinkAllOfLongTermQoSToJSON = exports.UserStatisticLinkAllOfLongTermQoSFromJSONTyped = exports.UserStatisticLinkAllOfLongTermQoSFromJSON = exports.instanceOfUserStatisticLinkAllOfLongTermQoS = void 0;
17
- /**
18
- * Check if a given object implements the UserStatisticLinkAllOfLongTermQoS interface.
19
- */
20
- function instanceOfUserStatisticLinkAllOfLongTermQoS(value) {
21
- return true;
22
- }
23
- exports.instanceOfUserStatisticLinkAllOfLongTermQoS = instanceOfUserStatisticLinkAllOfLongTermQoS;
24
- function UserStatisticLinkAllOfLongTermQoSFromJSON(json) {
25
- return UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json, false);
26
- }
27
- exports.UserStatisticLinkAllOfLongTermQoSFromJSON = UserStatisticLinkAllOfLongTermQoSFromJSON;
28
- function UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'numberOfSales': json['numberOfSales'],
34
- 'salesErrorRate': json['salesErrorRate'],
35
- 'salesCanceledRate': json['salesCanceledRate'],
36
- 'salesLitigationRate': json['salesLitigationRate'],
37
- 'salesResponsivenessDelay': json['salesResponsivenessDelay'],
38
- 'deliveryDelay': json['deliveryDelay'],
39
- };
40
- }
41
- exports.UserStatisticLinkAllOfLongTermQoSFromJSONTyped = UserStatisticLinkAllOfLongTermQoSFromJSONTyped;
42
- function UserStatisticLinkAllOfLongTermQoSToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'numberOfSales': value['numberOfSales'],
48
- 'salesErrorRate': value['salesErrorRate'],
49
- 'salesCanceledRate': value['salesCanceledRate'],
50
- 'salesLitigationRate': value['salesLitigationRate'],
51
- 'salesResponsivenessDelay': value['salesResponsivenessDelay'],
52
- 'deliveryDelay': value['deliveryDelay'],
53
- };
54
- }
55
- exports.UserStatisticLinkAllOfLongTermQoSToJSON = UserStatisticLinkAllOfLongTermQoSToJSON;
@@ -1,43 +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
- * Short-term quality of service statistics
14
- * @export
15
- * @interface UserStatisticLinkAllOfShortTermQoS
16
- */
17
- export interface UserStatisticLinkAllOfShortTermQoS {
18
- /**
19
- * Number of sales
20
- * @type {number}
21
- * @memberof UserStatisticLinkAllOfShortTermQoS
22
- */
23
- numberOfSales?: number | null;
24
- /**
25
- * Number of sales with modification
26
- * @type {number}
27
- * @memberof UserStatisticLinkAllOfShortTermQoS
28
- */
29
- numberOfSalesWithModification?: number | null;
30
- /**
31
- * Rate of sales that have been modified
32
- * @type {number}
33
- * @memberof UserStatisticLinkAllOfShortTermQoS
34
- */
35
- salesModificationRate?: number | null;
36
- }
37
- /**
38
- * Check if a given object implements the UserStatisticLinkAllOfShortTermQoS interface.
39
- */
40
- export declare function instanceOfUserStatisticLinkAllOfShortTermQoS(value: object): value is UserStatisticLinkAllOfShortTermQoS;
41
- export declare function UserStatisticLinkAllOfShortTermQoSFromJSON(json: any): UserStatisticLinkAllOfShortTermQoS;
42
- export declare function UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOfShortTermQoS;
43
- export declare function UserStatisticLinkAllOfShortTermQoSToJSON(value?: UserStatisticLinkAllOfShortTermQoS | 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.UserStatisticLinkAllOfShortTermQoSToJSON = exports.UserStatisticLinkAllOfShortTermQoSFromJSONTyped = exports.UserStatisticLinkAllOfShortTermQoSFromJSON = exports.instanceOfUserStatisticLinkAllOfShortTermQoS = void 0;
17
- /**
18
- * Check if a given object implements the UserStatisticLinkAllOfShortTermQoS interface.
19
- */
20
- function instanceOfUserStatisticLinkAllOfShortTermQoS(value) {
21
- return true;
22
- }
23
- exports.instanceOfUserStatisticLinkAllOfShortTermQoS = instanceOfUserStatisticLinkAllOfShortTermQoS;
24
- function UserStatisticLinkAllOfShortTermQoSFromJSON(json) {
25
- return UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json, false);
26
- }
27
- exports.UserStatisticLinkAllOfShortTermQoSFromJSON = UserStatisticLinkAllOfShortTermQoSFromJSON;
28
- function UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'numberOfSales': json['numberOfSales'],
34
- 'numberOfSalesWithModification': json['numberOfSalesWithModification'],
35
- 'salesModificationRate': json['salesModificationRate'],
36
- };
37
- }
38
- exports.UserStatisticLinkAllOfShortTermQoSFromJSONTyped = UserStatisticLinkAllOfShortTermQoSFromJSONTyped;
39
- function UserStatisticLinkAllOfShortTermQoSToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'numberOfSales': value['numberOfSales'],
45
- 'numberOfSalesWithModification': value['numberOfSalesWithModification'],
46
- 'salesModificationRate': value['salesModificationRate'],
47
- };
48
- }
49
- exports.UserStatisticLinkAllOfShortTermQoSToJSON = UserStatisticLinkAllOfShortTermQoSToJSON;