@lcdp/api-react-rest-client 2.14.3-LDS-4938-monolith-repousser-la-fin-du-tr.18158626411 → 2.14.3-LDS-4918-avoid-infinite-error-on-smuggle.18162994669
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/rfx/src/apis/index.d.ts +0 -1
- package/rfx/src/apis/index.js +0 -1
- package/rfx/src/models/index.d.ts +0 -1
- package/rfx/src/models/index.js +0 -1
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -5
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -5
- package/user/src/models/OffisanteStatus.d.ts +1 -3
- package/user/src/models/OffisanteStatus.js +2 -4
- package/chargebee-hook/index.d.ts +0 -1
- package/chargebee-hook/index.js +0 -17
- package/chargebee-hook/src/apis/ChargebeeHookApi.d.ts +0 -31
- package/chargebee-hook/src/apis/ChargebeeHookApi.js +0 -134
- package/chargebee-hook/src/apis/index.d.ts +0 -1
- package/chargebee-hook/src/apis/index.js +0 -19
- package/chargebee-hook/src/index.d.ts +0 -3
- package/chargebee-hook/src/index.js +0 -21
- package/chargebee-hook/src/models/HookRequest.d.ts +0 -85
- package/chargebee-hook/src/models/HookRequest.js +0 -67
- package/chargebee-hook/src/models/RestError.d.ts +0 -103
- package/chargebee-hook/src/models/RestError.js +0 -113
- package/chargebee-hook/src/models/index.d.ts +0 -2
- package/chargebee-hook/src/models/index.js +0 -20
- package/chargebee-hook/src/runtime.d.ts +0 -190
- package/chargebee-hook/src/runtime.js +0 -598
- package/rfx/src/apis/ManageRffApi.d.ts +0 -29
- package/rfx/src/apis/ManageRffApi.js +0 -146
- package/rfx/src/models/RffCreationParameters.d.ts +0 -37
- package/rfx/src/models/RffCreationParameters.js +0 -51
package/package.json
CHANGED
package/rfx/src/apis/index.d.ts
CHANGED
package/rfx/src/apis/index.js
CHANGED
|
@@ -16,7 +16,6 @@ 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("./ManageRffApi"), exports);
|
|
20
19
|
__exportStar(require("./ManageRfiApi"), exports);
|
|
21
20
|
__exportStar(require("./ManageRfilApi"), exports);
|
|
22
21
|
__exportStar(require("./ManageRfoiApi"), exports);
|
|
@@ -4,7 +4,6 @@ export * from './PaginatedObject';
|
|
|
4
4
|
export * from './PaginatedRfois';
|
|
5
5
|
export * from './PagingMetadata';
|
|
6
6
|
export * from './RestError';
|
|
7
|
-
export * from './RffCreationParameters';
|
|
8
7
|
export * from './RfiCreationParameters';
|
|
9
8
|
export * from './RfilCreationParameters';
|
|
10
9
|
export * from './RfoCreationParameters';
|
package/rfx/src/models/index.js
CHANGED
|
@@ -22,7 +22,6 @@ __exportStar(require("./PaginatedObject"), exports);
|
|
|
22
22
|
__exportStar(require("./PaginatedRfois"), exports);
|
|
23
23
|
__exportStar(require("./PagingMetadata"), exports);
|
|
24
24
|
__exportStar(require("./RestError"), exports);
|
|
25
|
-
__exportStar(require("./RffCreationParameters"), exports);
|
|
26
25
|
__exportStar(require("./RfiCreationParameters"), exports);
|
|
27
26
|
__exportStar(require("./RfilCreationParameters"), exports);
|
|
28
27
|
__exportStar(require("./RfoCreationParameters"), exports);
|
|
@@ -32,11 +32,8 @@ export interface ThirdPartyLinkCreationParameters {
|
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
34
|
export declare const ThirdPartyLinkCreationParametersSlugEnum: {
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE: "SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE";
|
|
38
|
-
readonly SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: "SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE";
|
|
39
|
-
readonly SUBSCRIPTIONS_USER_PORTAL: "SUBSCRIPTIONS_USER_PORTAL";
|
|
35
|
+
readonly PHARMACY_STATISTICS_DASHBOARD: "BADGES_PHARMACY_STATISTICS_DASHBOARD";
|
|
36
|
+
readonly LABORATORY_STATISTICS_DASHBOARD: "BADGES_LABORATORY_STATISTICS_DASHBOARD";
|
|
40
37
|
};
|
|
41
38
|
export declare type ThirdPartyLinkCreationParametersSlugEnum = typeof ThirdPartyLinkCreationParametersSlugEnum[keyof typeof ThirdPartyLinkCreationParametersSlugEnum];
|
|
42
39
|
/**
|
|
@@ -18,11 +18,8 @@ exports.ThirdPartyLinkCreationParametersToJSON = exports.ThirdPartyLinkCreationP
|
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
20
|
exports.ThirdPartyLinkCreationParametersSlugEnum = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE: 'SUBSCRIPTIONS_PHARMAIDE_USER_PRICING_PAGE',
|
|
24
|
-
SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE: 'SUBSCRIPTIONS_LOGISTIC_USER_PRICING_PAGE',
|
|
25
|
-
SUBSCRIPTIONS_USER_PORTAL: 'SUBSCRIPTIONS_USER_PORTAL'
|
|
21
|
+
PHARMACY_STATISTICS_DASHBOARD: 'BADGES_PHARMACY_STATISTICS_DASHBOARD',
|
|
22
|
+
LABORATORY_STATISTICS_DASHBOARD: 'BADGES_LABORATORY_STATISTICS_DASHBOARD'
|
|
26
23
|
};
|
|
27
24
|
/**
|
|
28
25
|
* Check if a given object implements the ThirdPartyLinkCreationParameters interface.
|
|
@@ -11,10 +11,9 @@
|
|
|
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 and
|
|
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
|
|
18
17
|
*
|
|
19
18
|
* @export
|
|
20
19
|
*/
|
|
@@ -22,7 +21,6 @@ export declare const OffisanteStatus: {
|
|
|
22
21
|
readonly SET: "SET";
|
|
23
22
|
readonly NOT_SET: "NOT_SET";
|
|
24
23
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
25
|
-
readonly ACTIVE: "ACTIVE";
|
|
26
24
|
};
|
|
27
25
|
export declare type OffisanteStatus = typeof OffisanteStatus[keyof typeof OffisanteStatus];
|
|
28
26
|
export declare function instanceOfOffisanteStatus(value: any): boolean;
|
|
@@ -16,18 +16,16 @@ 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 and
|
|
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
|
|
23
22
|
*
|
|
24
23
|
* @export
|
|
25
24
|
*/
|
|
26
25
|
exports.OffisanteStatus = {
|
|
27
26
|
SET: 'SET',
|
|
28
27
|
NOT_SET: 'NOT_SET',
|
|
29
|
-
IN_PROGRESS: 'IN_PROGRESS'
|
|
30
|
-
ACTIVE: 'ACTIVE'
|
|
28
|
+
IN_PROGRESS: 'IN_PROGRESS'
|
|
31
29
|
};
|
|
32
30
|
function instanceOfOffisanteStatus(value) {
|
|
33
31
|
for (var key in exports.OffisanteStatus) {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
package/chargebee-hook/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src"), exports);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP Chargebee hook
|
|
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 { HookRequest } from '../models/index';
|
|
14
|
-
export interface HookOperationRequest {
|
|
15
|
-
hookRequest: HookRequest;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class ChargebeeHookApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* Call chargebee hook
|
|
24
|
-
*/
|
|
25
|
-
hookRaw(requestParameters: HookOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* Call chargebee hook
|
|
29
|
-
*/
|
|
30
|
-
hook(requestParameters: HookOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
31
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP Chargebee hook
|
|
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
|
-
var __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (_) try {
|
|
46
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0: case 1: t = op; break;
|
|
50
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
-
default:
|
|
54
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
-
if (t[2]) _.ops.pop();
|
|
59
|
-
_.trys.pop(); continue;
|
|
60
|
-
}
|
|
61
|
-
op = body.call(thisArg, _);
|
|
62
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.ChargebeeHookApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var ChargebeeHookApi = /** @class */ (function (_super) {
|
|
74
|
-
__extends(ChargebeeHookApi, _super);
|
|
75
|
-
function ChargebeeHookApi() {
|
|
76
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* Call chargebee hook
|
|
81
|
-
*/
|
|
82
|
-
ChargebeeHookApi.prototype.hookRaw = function (requestParameters, initOverrides) {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, response, response_1;
|
|
85
|
-
return __generator(this, function (_a) {
|
|
86
|
-
switch (_a.label) {
|
|
87
|
-
case 0:
|
|
88
|
-
if (requestParameters['hookRequest'] == null) {
|
|
89
|
-
throw new runtime.RequiredError('hookRequest', 'Required parameter "hookRequest" was null or undefined when calling hook().');
|
|
90
|
-
}
|
|
91
|
-
queryParameters = {};
|
|
92
|
-
headerParameters = {};
|
|
93
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
-
_a.label = 1;
|
|
95
|
-
case 1:
|
|
96
|
-
_a.trys.push([1, 3, , 4]);
|
|
97
|
-
return [4 /*yield*/, this.request({
|
|
98
|
-
path: "/chargebee-hooks",
|
|
99
|
-
method: 'POST',
|
|
100
|
-
headers: headerParameters,
|
|
101
|
-
query: queryParameters,
|
|
102
|
-
body: (0, index_1.HookRequestToJSON)(requestParameters['hookRequest']),
|
|
103
|
-
}, initOverrides)];
|
|
104
|
-
case 2:
|
|
105
|
-
response = _a.sent();
|
|
106
|
-
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
107
|
-
case 3:
|
|
108
|
-
response_1 = _a.sent();
|
|
109
|
-
console.debug(response_1);
|
|
110
|
-
throw response_1;
|
|
111
|
-
case 4: return [2 /*return*/];
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* Call chargebee hook
|
|
119
|
-
*/
|
|
120
|
-
ChargebeeHookApi.prototype.hook = function (requestParameters, initOverrides) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
122
|
-
return __generator(this, function (_a) {
|
|
123
|
-
switch (_a.label) {
|
|
124
|
-
case 0: return [4 /*yield*/, this.hookRaw(requestParameters, initOverrides)];
|
|
125
|
-
case 1:
|
|
126
|
-
_a.sent();
|
|
127
|
-
return [2 /*return*/];
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
|
-
return ChargebeeHookApi;
|
|
133
|
-
}(runtime.BaseAPI));
|
|
134
|
-
exports.ChargebeeHookApi = ChargebeeHookApi;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ChargebeeHookApi';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/* tslint:disable */
|
|
18
|
-
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./ChargebeeHookApi"), exports);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/* tslint:disable */
|
|
18
|
-
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./runtime"), exports);
|
|
20
|
-
__exportStar(require("./apis/index"), exports);
|
|
21
|
-
__exportStar(require("./models/index"), exports);
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP Chargebee hook
|
|
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 HookRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface HookRequest {
|
|
18
|
-
/**
|
|
19
|
-
* API version (e.g., v2)
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof HookRequest
|
|
22
|
-
*/
|
|
23
|
-
api_version?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Event type (e.g., subscription_created, customer_updated)
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof HookRequest
|
|
28
|
-
*/
|
|
29
|
-
event_type: string;
|
|
30
|
-
/**
|
|
31
|
-
* Unique event identifier
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof HookRequest
|
|
34
|
-
*/
|
|
35
|
-
id: string;
|
|
36
|
-
/**
|
|
37
|
-
* Object type (e.g., event)
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof HookRequest
|
|
40
|
-
*/
|
|
41
|
-
object?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Event timestamp (epoch seconds)
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof HookRequest
|
|
46
|
-
*/
|
|
47
|
-
occurred_at?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Event source (e.g., admin_console, api)
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof HookRequest
|
|
52
|
-
*/
|
|
53
|
-
source?: string;
|
|
54
|
-
/**
|
|
55
|
-
* User who triggered the event
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof HookRequest
|
|
58
|
-
*/
|
|
59
|
-
user?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Webhook status (e.g., scheduled)
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof HookRequest
|
|
64
|
-
*/
|
|
65
|
-
webhook_status?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Event-specific content containing customer, subscription, etc.
|
|
68
|
-
* @type {object}
|
|
69
|
-
* @memberof HookRequest
|
|
70
|
-
*/
|
|
71
|
-
content?: object;
|
|
72
|
-
/**
|
|
73
|
-
* List of webhooks
|
|
74
|
-
* @type {Array<object>}
|
|
75
|
-
* @memberof HookRequest
|
|
76
|
-
*/
|
|
77
|
-
webhooks?: Array<object>;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Check if a given object implements the HookRequest interface.
|
|
81
|
-
*/
|
|
82
|
-
export declare function instanceOfHookRequest(value: object): value is HookRequest;
|
|
83
|
-
export declare function HookRequestFromJSON(json: any): HookRequest;
|
|
84
|
-
export declare function HookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): HookRequest;
|
|
85
|
-
export declare function HookRequestToJSON(value?: HookRequest | null): any;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP Chargebee hook
|
|
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.HookRequestToJSON = exports.HookRequestFromJSONTyped = exports.HookRequestFromJSON = exports.instanceOfHookRequest = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the HookRequest interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfHookRequest(value) {
|
|
21
|
-
if (!('event_type' in value) || value['event_type'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfHookRequest = instanceOfHookRequest;
|
|
28
|
-
function HookRequestFromJSON(json) {
|
|
29
|
-
return HookRequestFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.HookRequestFromJSON = HookRequestFromJSON;
|
|
32
|
-
function HookRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'api_version': json['api_version'],
|
|
38
|
-
'event_type': json['event_type'],
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'object': json['object'],
|
|
41
|
-
'occurred_at': json['occurred_at'],
|
|
42
|
-
'source': json['source'],
|
|
43
|
-
'user': json['user'],
|
|
44
|
-
'webhook_status': json['webhook_status'],
|
|
45
|
-
'content': json['content'],
|
|
46
|
-
'webhooks': json['webhooks'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.HookRequestFromJSONTyped = HookRequestFromJSONTyped;
|
|
50
|
-
function HookRequestToJSON(value) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'api_version': value['api_version'],
|
|
56
|
-
'event_type': value['event_type'],
|
|
57
|
-
'id': value['id'],
|
|
58
|
-
'object': value['object'],
|
|
59
|
-
'occurred_at': value['occurred_at'],
|
|
60
|
-
'source': value['source'],
|
|
61
|
-
'user': value['user'],
|
|
62
|
-
'webhook_status': value['webhook_status'],
|
|
63
|
-
'content': value['content'],
|
|
64
|
-
'webhooks': value['webhooks'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
exports.HookRequestToJSON = HookRequestToJSON;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP Chargebee hook
|
|
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;
|