@lcdp/api-react-rest-client 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038374439 → 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038534788
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/user/index.d.ts +0 -1
- package/user/index.js +0 -17
- package/user/src/apis/ManagePasswordApi.d.ts +0 -41
- package/user/src/apis/ManagePasswordApi.js +0 -214
- package/user/src/apis/ManageUserApi.d.ts +0 -143
- package/user/src/apis/ManageUserApi.js +0 -777
- package/user/src/apis/ManageUserBankAccountApi.d.ts +0 -45
- package/user/src/apis/ManageUserBankAccountApi.js +0 -249
- package/user/src/apis/ManageUserDocumentApi.d.ts +0 -98
- package/user/src/apis/ManageUserDocumentApi.js +0 -419
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.d.ts +0 -64
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +0 -354
- package/user/src/apis/ManageUserRestrictionApi.d.ts +0 -112
- package/user/src/apis/ManageUserRestrictionApi.js +0 -618
- package/user/src/apis/ManageUserRuleApi.d.ts +0 -44
- package/user/src/apis/ManageUserRuleApi.js +0 -235
- package/user/src/apis/ManageUserSocialNetworksApi.d.ts +0 -45
- package/user/src/apis/ManageUserSocialNetworksApi.js +0 -249
- package/user/src/apis/ManageUserTransportApi.d.ts +0 -32
- package/user/src/apis/ManageUserTransportApi.js +0 -166
- package/user/src/apis/SearchUserApi.d.ts +0 -130
- package/user/src/apis/SearchUserApi.js +0 -628
- package/user/src/apis/SearchUserDocumentApi.d.ts +0 -165
- package/user/src/apis/SearchUserDocumentApi.js +0 -688
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.d.ts +0 -37
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +0 -235
- package/user/src/apis/SearchUserFeatureApi.d.ts +0 -26
- package/user/src/apis/SearchUserFeatureApi.js +0 -156
- package/user/src/apis/SearchUserRestrictionApi.d.ts +0 -59
- package/user/src/apis/SearchUserRestrictionApi.js +0 -393
- package/user/src/apis/SearchUserRuleApi.d.ts +0 -29
- package/user/src/apis/SearchUserRuleApi.js +0 -159
- package/user/src/apis/SearchUserSocialNetworksApi.d.ts +0 -41
- package/user/src/apis/SearchUserSocialNetworksApi.js +0 -239
- package/user/src/apis/SearchUserTransportApi.d.ts +0 -37
- package/user/src/apis/SearchUserTransportApi.js +0 -235
- package/user/src/apis/index.d.ts +0 -17
- package/user/src/apis/index.js +0 -35
- package/user/src/index.d.ts +0 -3
- package/user/src/index.js +0 -21
- package/user/src/models/Address.d.ts +0 -49
- package/user/src/models/Address.js +0 -51
- package/user/src/models/Gender.d.ts +0 -24
- package/user/src/models/Gender.js +0 -47
- package/user/src/models/HttpLink.d.ts +0 -31
- package/user/src/models/HttpLink.js +0 -47
- package/user/src/models/KycLevel.d.ts +0 -24
- package/user/src/models/KycLevel.js +0 -47
- package/user/src/models/MyPasswordUpdateParameters.d.ts +0 -37
- package/user/src/models/MyPasswordUpdateParameters.js +0 -47
- package/user/src/models/NotificationTypeId.d.ts +0 -69
- package/user/src/models/NotificationTypeId.js +0 -92
- package/user/src/models/NotificationTypeLink.d.ts +0 -38
- package/user/src/models/NotificationTypeLink.js +0 -50
- package/user/src/models/OffisanteStatus.d.ts +0 -29
- package/user/src/models/OffisanteStatus.js +0 -52
- package/user/src/models/PaginatedObject.d.ts +0 -32
- package/user/src/models/PaginatedObject.js +0 -48
- package/user/src/models/PaginatedUsers.d.ts +0 -39
- package/user/src/models/PaginatedUsers.js +0 -51
- package/user/src/models/PagingMetadata.d.ts +0 -49
- package/user/src/models/PagingMetadata.js +0 -55
- package/user/src/models/PasswordResetCompletionParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCompletionParameters.js +0 -47
- package/user/src/models/PasswordResetCreationParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCreationParameters.js +0 -47
- package/user/src/models/ProductStorageType.d.ts +0 -26
- package/user/src/models/ProductStorageType.js +0 -49
- package/user/src/models/ProductTypeLink.d.ts +0 -43
- package/user/src/models/ProductTypeLink.js +0 -51
- package/user/src/models/RestError.d.ts +0 -103
- package/user/src/models/RestError.js +0 -113
- package/user/src/models/RestrictedProductStorageType.d.ts +0 -46
- package/user/src/models/RestrictedProductStorageType.js +0 -55
- package/user/src/models/ScaEnrollmentStatus.d.ts +0 -31
- package/user/src/models/ScaEnrollmentStatus.js +0 -54
- package/user/src/models/SomeonePasswordUpdateParameters.d.ts +0 -31
- package/user/src/models/SomeonePasswordUpdateParameters.js +0 -45
- package/user/src/models/ThreadLink.d.ts +0 -37
- package/user/src/models/ThreadLink.js +0 -51
- package/user/src/models/Transport.d.ts +0 -55
- package/user/src/models/Transport.js +0 -63
- package/user/src/models/User.d.ts +0 -349
- package/user/src/models/User.js +0 -180
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -31
- package/user/src/models/UserBankAccountCreationParameters.js +0 -45
- package/user/src/models/UserBankAccountLink.d.ts +0 -53
- package/user/src/models/UserBankAccountLink.js +0 -60
- package/user/src/models/UserChargebeeTarget.d.ts +0 -37
- package/user/src/models/UserChargebeeTarget.js +0 -49
- package/user/src/models/UserCompany.d.ts +0 -118
- package/user/src/models/UserCompany.js +0 -75
- package/user/src/models/UserCreationParameters.d.ts +0 -68
- package/user/src/models/UserCreationParameters.js +0 -71
- package/user/src/models/UserCustomCommissions.d.ts +0 -37
- package/user/src/models/UserCustomCommissions.js +0 -47
- package/user/src/models/UserCustomCommissionsUpdateParameters.d.ts +0 -37
- package/user/src/models/UserCustomCommissionsUpdateParameters.js +0 -47
- package/user/src/models/UserDelegatedServices.d.ts +0 -52
- package/user/src/models/UserDelegatedServices.js +0 -49
- package/user/src/models/UserDocument.d.ts +0 -66
- package/user/src/models/UserDocument.js +0 -68
- package/user/src/models/UserDocumentStatus.d.ts +0 -27
- package/user/src/models/UserDocumentStatus.js +0 -50
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.d.ts +0 -31
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.js +0 -47
- package/user/src/models/UserFavoriteLaboratoryStoreLink.d.ts +0 -37
- package/user/src/models/UserFavoriteLaboratoryStoreLink.js +0 -49
- package/user/src/models/UserFeature.d.ts +0 -37
- package/user/src/models/UserFeature.js +0 -47
- package/user/src/models/UserForbiddenSellerLink.d.ts +0 -37
- package/user/src/models/UserForbiddenSellerLink.js +0 -49
- package/user/src/models/UserJournal.d.ts +0 -39
- package/user/src/models/UserJournal.js +0 -47
- package/user/src/models/UserJournalUpdateParameters.d.ts +0 -31
- package/user/src/models/UserJournalUpdateParameters.js +0 -45
- package/user/src/models/UserMangopayTarget.d.ts +0 -37
- package/user/src/models/UserMangopayTarget.js +0 -49
- package/user/src/models/UserRestrictedFeatureCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedFeatureCreationParameter.js +0 -47
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.d.ts +0 -32
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +0 -48
- package/user/src/models/UserRestrictedProductTypeCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedProductTypeCreationParameter.js +0 -47
- package/user/src/models/UserRole.d.ts +0 -29
- package/user/src/models/UserRole.js +0 -52
- package/user/src/models/UserRule.d.ts +0 -58
- package/user/src/models/UserRule.js +0 -56
- package/user/src/models/UserRuleActionEnum.d.ts +0 -23
- package/user/src/models/UserRuleActionEnum.js +0 -46
- package/user/src/models/UserRuleAttributeEnum.d.ts +0 -24
- package/user/src/models/UserRuleAttributeEnum.js +0 -47
- package/user/src/models/UserRuleComparatorEnum.d.ts +0 -24
- package/user/src/models/UserRuleComparatorEnum.js +0 -47
- package/user/src/models/UserRuleCreationParameters.d.ts +0 -52
- package/user/src/models/UserRuleCreationParameters.js +0 -62
- package/user/src/models/UserSocialNetwork.d.ts +0 -67
- package/user/src/models/UserSocialNetwork.js +0 -57
- package/user/src/models/UserStatisticLink.d.ts +0 -45
- package/user/src/models/UserStatisticLink.js +0 -53
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.d.ts +0 -61
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.js +0 -55
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.d.ts +0 -43
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.js +0 -49
- package/user/src/models/UserThreads.d.ts +0 -32
- package/user/src/models/UserThreads.js +0 -46
- package/user/src/models/UserUpdateParameters.d.ts +0 -164
- package/user/src/models/UserUpdateParameters.js +0 -95
- package/user/src/models/UserWalletLink.d.ts +0 -37
- package/user/src/models/UserWalletLink.js +0 -49
- package/user/src/models/UserWallets.d.ts +0 -50
- package/user/src/models/UserWallets.js +0 -52
- package/user/src/models/index.d.ts +0 -56
- package/user/src/models/index.js +0 -74
- package/user/src/runtime.d.ts +0 -190
- package/user/src/runtime.js +0 -598
|
@@ -1,239 +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
|
-
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.SearchUserSocialNetworksApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var SearchUserSocialNetworksApi = /** @class */ (function (_super) {
|
|
74
|
-
__extends(SearchUserSocialNetworksApi, _super);
|
|
75
|
-
function SearchUserSocialNetworksApi() {
|
|
76
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* Retrieve current user social networks
|
|
81
|
-
*/
|
|
82
|
-
SearchUserSocialNetworksApi.prototype.getCurrentUserSocialNetworksRaw = function (initOverrides) {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_1;
|
|
85
|
-
return __generator(this, function (_c) {
|
|
86
|
-
switch (_c.label) {
|
|
87
|
-
case 0:
|
|
88
|
-
queryParameters = {};
|
|
89
|
-
headerParameters = {};
|
|
90
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
91
|
-
_a = headerParameters;
|
|
92
|
-
_b = "x-api-key";
|
|
93
|
-
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
94
|
-
case 1:
|
|
95
|
-
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
96
|
-
_c.label = 2;
|
|
97
|
-
case 2:
|
|
98
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
99
|
-
token = this.configuration.accessToken;
|
|
100
|
-
return [4 /*yield*/, token("bearerAuth", [])];
|
|
101
|
-
case 3:
|
|
102
|
-
tokenString = _c.sent();
|
|
103
|
-
if (tokenString) {
|
|
104
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
105
|
-
}
|
|
106
|
-
_c.label = 4;
|
|
107
|
-
case 4:
|
|
108
|
-
_c.trys.push([4, 6, , 7]);
|
|
109
|
-
return [4 /*yield*/, this.request({
|
|
110
|
-
path: "/users/me/social-networks",
|
|
111
|
-
method: 'GET',
|
|
112
|
-
headers: headerParameters,
|
|
113
|
-
query: queryParameters,
|
|
114
|
-
}, initOverrides)];
|
|
115
|
-
case 5:
|
|
116
|
-
response = _c.sent();
|
|
117
|
-
contentType = response.headers.get("content-type");
|
|
118
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
119
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserSocialNetworkFromJSON)(jsonValue); })];
|
|
120
|
-
}
|
|
121
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
122
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
// TODO : Better handling of others application types
|
|
126
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
127
|
-
}
|
|
128
|
-
return [3 /*break*/, 7];
|
|
129
|
-
case 6:
|
|
130
|
-
response_1 = _c.sent();
|
|
131
|
-
console.debug(response_1);
|
|
132
|
-
throw response_1;
|
|
133
|
-
case 7: return [2 /*return*/];
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* Retrieve current user social networks
|
|
141
|
-
*/
|
|
142
|
-
SearchUserSocialNetworksApi.prototype.getCurrentUserSocialNetworks = function (initOverrides) {
|
|
143
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
144
|
-
var response;
|
|
145
|
-
return __generator(this, function (_a) {
|
|
146
|
-
switch (_a.label) {
|
|
147
|
-
case 0: return [4 /*yield*/, this.getCurrentUserSocialNetworksRaw(initOverrides)];
|
|
148
|
-
case 1:
|
|
149
|
-
response = _a.sent();
|
|
150
|
-
return [4 /*yield*/, response.value()];
|
|
151
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* Retrieve given user social networks
|
|
159
|
-
*/
|
|
160
|
-
SearchUserSocialNetworksApi.prototype.getUserSocialNetworksRaw = function (requestParameters, initOverrides) {
|
|
161
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
162
|
-
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_2;
|
|
163
|
-
return __generator(this, function (_c) {
|
|
164
|
-
switch (_c.label) {
|
|
165
|
-
case 0:
|
|
166
|
-
if (requestParameters['userId'] == null) {
|
|
167
|
-
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUserSocialNetworks().');
|
|
168
|
-
}
|
|
169
|
-
queryParameters = {};
|
|
170
|
-
headerParameters = {};
|
|
171
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
172
|
-
_a = headerParameters;
|
|
173
|
-
_b = "x-api-key";
|
|
174
|
-
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
175
|
-
case 1:
|
|
176
|
-
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
177
|
-
_c.label = 2;
|
|
178
|
-
case 2:
|
|
179
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
180
|
-
token = this.configuration.accessToken;
|
|
181
|
-
return [4 /*yield*/, token("bearerAuth", [])];
|
|
182
|
-
case 3:
|
|
183
|
-
tokenString = _c.sent();
|
|
184
|
-
if (tokenString) {
|
|
185
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
186
|
-
}
|
|
187
|
-
_c.label = 4;
|
|
188
|
-
case 4:
|
|
189
|
-
_c.trys.push([4, 6, , 7]);
|
|
190
|
-
return [4 /*yield*/, this.request({
|
|
191
|
-
path: "/users/{userId}/social-networks".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))),
|
|
192
|
-
method: 'GET',
|
|
193
|
-
headers: headerParameters,
|
|
194
|
-
query: queryParameters,
|
|
195
|
-
}, initOverrides)];
|
|
196
|
-
case 5:
|
|
197
|
-
response = _c.sent();
|
|
198
|
-
contentType = response.headers.get("content-type");
|
|
199
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
200
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserSocialNetworkFromJSON)(jsonValue); })];
|
|
201
|
-
}
|
|
202
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
203
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
// TODO : Better handling of others application types
|
|
207
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
208
|
-
}
|
|
209
|
-
return [3 /*break*/, 7];
|
|
210
|
-
case 6:
|
|
211
|
-
response_2 = _c.sent();
|
|
212
|
-
console.debug(response_2);
|
|
213
|
-
throw response_2;
|
|
214
|
-
case 7: return [2 /*return*/];
|
|
215
|
-
}
|
|
216
|
-
});
|
|
217
|
-
});
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* Retrieve given user social networks
|
|
222
|
-
*/
|
|
223
|
-
SearchUserSocialNetworksApi.prototype.getUserSocialNetworks = function (requestParameters, initOverrides) {
|
|
224
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
225
|
-
var response;
|
|
226
|
-
return __generator(this, function (_a) {
|
|
227
|
-
switch (_a.label) {
|
|
228
|
-
case 0: return [4 /*yield*/, this.getUserSocialNetworksRaw(requestParameters, initOverrides)];
|
|
229
|
-
case 1:
|
|
230
|
-
response = _a.sent();
|
|
231
|
-
return [4 /*yield*/, response.value()];
|
|
232
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
};
|
|
237
|
-
return SearchUserSocialNetworksApi;
|
|
238
|
-
}(runtime.BaseAPI));
|
|
239
|
-
exports.SearchUserSocialNetworksApi = SearchUserSocialNetworksApi;
|
|
@@ -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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { Transport } from '../models/index';
|
|
14
|
-
export interface GetUserTransportRequest {
|
|
15
|
-
userId: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class SearchUserTransportApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Get user transport information
|
|
23
|
-
*/
|
|
24
|
-
getCurrentUserTransportRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Transport | runtime.BlobWithMeta>>;
|
|
25
|
-
/**
|
|
26
|
-
* Get user transport information
|
|
27
|
-
*/
|
|
28
|
-
getCurrentUserTransport(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Transport | runtime.BlobWithMeta>;
|
|
29
|
-
/**
|
|
30
|
-
* Get user transport information
|
|
31
|
-
*/
|
|
32
|
-
getUserTransportRaw(requestParameters: GetUserTransportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Transport | runtime.BlobWithMeta>>;
|
|
33
|
-
/**
|
|
34
|
-
* Get user transport information
|
|
35
|
-
*/
|
|
36
|
-
getUserTransport(requestParameters: GetUserTransportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Transport | runtime.BlobWithMeta>;
|
|
37
|
-
}
|
|
@@ -1,235 +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
|
-
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.SearchUserTransportApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var SearchUserTransportApi = /** @class */ (function (_super) {
|
|
74
|
-
__extends(SearchUserTransportApi, _super);
|
|
75
|
-
function SearchUserTransportApi() {
|
|
76
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Get user transport information
|
|
80
|
-
*/
|
|
81
|
-
SearchUserTransportApi.prototype.getCurrentUserTransportRaw = function (initOverrides) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_1;
|
|
84
|
-
return __generator(this, function (_c) {
|
|
85
|
-
switch (_c.label) {
|
|
86
|
-
case 0:
|
|
87
|
-
queryParameters = {};
|
|
88
|
-
headerParameters = {};
|
|
89
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
90
|
-
_a = headerParameters;
|
|
91
|
-
_b = "x-api-key";
|
|
92
|
-
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
93
|
-
case 1:
|
|
94
|
-
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
95
|
-
_c.label = 2;
|
|
96
|
-
case 2:
|
|
97
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
98
|
-
token = this.configuration.accessToken;
|
|
99
|
-
return [4 /*yield*/, token("bearerAuth", [])];
|
|
100
|
-
case 3:
|
|
101
|
-
tokenString = _c.sent();
|
|
102
|
-
if (tokenString) {
|
|
103
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
104
|
-
}
|
|
105
|
-
_c.label = 4;
|
|
106
|
-
case 4:
|
|
107
|
-
_c.trys.push([4, 6, , 7]);
|
|
108
|
-
return [4 /*yield*/, this.request({
|
|
109
|
-
path: "/users/me/transport",
|
|
110
|
-
method: 'GET',
|
|
111
|
-
headers: headerParameters,
|
|
112
|
-
query: queryParameters,
|
|
113
|
-
}, initOverrides)];
|
|
114
|
-
case 5:
|
|
115
|
-
response = _c.sent();
|
|
116
|
-
contentType = response.headers.get("content-type");
|
|
117
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
118
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TransportFromJSON)(jsonValue); })];
|
|
119
|
-
}
|
|
120
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
121
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
// TODO : Better handling of others application types
|
|
125
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
126
|
-
}
|
|
127
|
-
return [3 /*break*/, 7];
|
|
128
|
-
case 6:
|
|
129
|
-
response_1 = _c.sent();
|
|
130
|
-
console.debug(response_1);
|
|
131
|
-
throw response_1;
|
|
132
|
-
case 7: return [2 /*return*/];
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Get user transport information
|
|
139
|
-
*/
|
|
140
|
-
SearchUserTransportApi.prototype.getCurrentUserTransport = function (initOverrides) {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
142
|
-
var response;
|
|
143
|
-
return __generator(this, function (_a) {
|
|
144
|
-
switch (_a.label) {
|
|
145
|
-
case 0: return [4 /*yield*/, this.getCurrentUserTransportRaw(initOverrides)];
|
|
146
|
-
case 1:
|
|
147
|
-
response = _a.sent();
|
|
148
|
-
return [4 /*yield*/, response.value()];
|
|
149
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Get user transport information
|
|
156
|
-
*/
|
|
157
|
-
SearchUserTransportApi.prototype.getUserTransportRaw = function (requestParameters, initOverrides) {
|
|
158
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
159
|
-
var queryParameters, headerParameters, _a, _b, token, tokenString, response, contentType, response_2;
|
|
160
|
-
return __generator(this, function (_c) {
|
|
161
|
-
switch (_c.label) {
|
|
162
|
-
case 0:
|
|
163
|
-
if (requestParameters['userId'] == null) {
|
|
164
|
-
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUserTransport().');
|
|
165
|
-
}
|
|
166
|
-
queryParameters = {};
|
|
167
|
-
headerParameters = {};
|
|
168
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
169
|
-
_a = headerParameters;
|
|
170
|
-
_b = "x-api-key";
|
|
171
|
-
return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
|
|
172
|
-
case 1:
|
|
173
|
-
_a[_b] = _c.sent(); // apiKeyAuth authentication
|
|
174
|
-
_c.label = 2;
|
|
175
|
-
case 2:
|
|
176
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
177
|
-
token = this.configuration.accessToken;
|
|
178
|
-
return [4 /*yield*/, token("bearerAuth", [])];
|
|
179
|
-
case 3:
|
|
180
|
-
tokenString = _c.sent();
|
|
181
|
-
if (tokenString) {
|
|
182
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
183
|
-
}
|
|
184
|
-
_c.label = 4;
|
|
185
|
-
case 4:
|
|
186
|
-
_c.trys.push([4, 6, , 7]);
|
|
187
|
-
return [4 /*yield*/, this.request({
|
|
188
|
-
path: "/users/{userId}/transport".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))),
|
|
189
|
-
method: 'GET',
|
|
190
|
-
headers: headerParameters,
|
|
191
|
-
query: queryParameters,
|
|
192
|
-
}, initOverrides)];
|
|
193
|
-
case 5:
|
|
194
|
-
response = _c.sent();
|
|
195
|
-
contentType = response.headers.get("content-type");
|
|
196
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
197
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TransportFromJSON)(jsonValue); })];
|
|
198
|
-
}
|
|
199
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
200
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
// TODO : Better handling of others application types
|
|
204
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
205
|
-
}
|
|
206
|
-
return [3 /*break*/, 7];
|
|
207
|
-
case 6:
|
|
208
|
-
response_2 = _c.sent();
|
|
209
|
-
console.debug(response_2);
|
|
210
|
-
throw response_2;
|
|
211
|
-
case 7: return [2 /*return*/];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
};
|
|
216
|
-
/**
|
|
217
|
-
* Get user transport information
|
|
218
|
-
*/
|
|
219
|
-
SearchUserTransportApi.prototype.getUserTransport = function (requestParameters, initOverrides) {
|
|
220
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
-
var response;
|
|
222
|
-
return __generator(this, function (_a) {
|
|
223
|
-
switch (_a.label) {
|
|
224
|
-
case 0: return [4 /*yield*/, this.getUserTransportRaw(requestParameters, initOverrides)];
|
|
225
|
-
case 1:
|
|
226
|
-
response = _a.sent();
|
|
227
|
-
return [4 /*yield*/, response.value()];
|
|
228
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
});
|
|
232
|
-
};
|
|
233
|
-
return SearchUserTransportApi;
|
|
234
|
-
}(runtime.BaseAPI));
|
|
235
|
-
exports.SearchUserTransportApi = SearchUserTransportApi;
|
package/user/src/apis/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from './ManagePasswordApi';
|
|
2
|
-
export * from './ManageUserApi';
|
|
3
|
-
export * from './ManageUserBankAccountApi';
|
|
4
|
-
export * from './ManageUserDocumentApi';
|
|
5
|
-
export * from './ManageUserFavoriteLaboratoryStoreApi';
|
|
6
|
-
export * from './ManageUserRestrictionApi';
|
|
7
|
-
export * from './ManageUserRuleApi';
|
|
8
|
-
export * from './ManageUserSocialNetworksApi';
|
|
9
|
-
export * from './ManageUserTransportApi';
|
|
10
|
-
export * from './SearchUserApi';
|
|
11
|
-
export * from './SearchUserDocumentApi';
|
|
12
|
-
export * from './SearchUserFavoriteLaboratoryStoreApi';
|
|
13
|
-
export * from './SearchUserFeatureApi';
|
|
14
|
-
export * from './SearchUserRestrictionApi';
|
|
15
|
-
export * from './SearchUserRuleApi';
|
|
16
|
-
export * from './SearchUserSocialNetworksApi';
|
|
17
|
-
export * from './SearchUserTransportApi';
|
package/user/src/apis/index.js
DELETED
|
@@ -1,35 +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("./ManagePasswordApi"), exports);
|
|
20
|
-
__exportStar(require("./ManageUserApi"), exports);
|
|
21
|
-
__exportStar(require("./ManageUserBankAccountApi"), exports);
|
|
22
|
-
__exportStar(require("./ManageUserDocumentApi"), exports);
|
|
23
|
-
__exportStar(require("./ManageUserFavoriteLaboratoryStoreApi"), exports);
|
|
24
|
-
__exportStar(require("./ManageUserRestrictionApi"), exports);
|
|
25
|
-
__exportStar(require("./ManageUserRuleApi"), exports);
|
|
26
|
-
__exportStar(require("./ManageUserSocialNetworksApi"), exports);
|
|
27
|
-
__exportStar(require("./ManageUserTransportApi"), exports);
|
|
28
|
-
__exportStar(require("./SearchUserApi"), exports);
|
|
29
|
-
__exportStar(require("./SearchUserDocumentApi"), exports);
|
|
30
|
-
__exportStar(require("./SearchUserFavoriteLaboratoryStoreApi"), exports);
|
|
31
|
-
__exportStar(require("./SearchUserFeatureApi"), exports);
|
|
32
|
-
__exportStar(require("./SearchUserRestrictionApi"), exports);
|
|
33
|
-
__exportStar(require("./SearchUserRuleApi"), exports);
|
|
34
|
-
__exportStar(require("./SearchUserSocialNetworksApi"), exports);
|
|
35
|
-
__exportStar(require("./SearchUserTransportApi"), exports);
|
package/user/src/index.d.ts
DELETED
package/user/src/index.js
DELETED
|
@@ -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,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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Address
|
|
16
|
-
*/
|
|
17
|
-
export interface Address {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Address
|
|
22
|
-
*/
|
|
23
|
-
name?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Address
|
|
28
|
-
*/
|
|
29
|
-
street?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Address
|
|
34
|
-
*/
|
|
35
|
-
city?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Address
|
|
40
|
-
*/
|
|
41
|
-
zipCode?: string | null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the Address interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfAddress(value: object): value is Address;
|
|
47
|
-
export declare function AddressFromJSON(json: any): Address;
|
|
48
|
-
export declare function AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address;
|
|
49
|
-
export declare function AddressToJSON(value?: Address | null): any;
|