ch-admin-api-client-typescript 2.2.8 → 2.2.10

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/lib/api.js CHANGED
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
76
76
  return (mod && mod.__esModule) ? mod : { "default": mod };
77
77
  };
78
78
  Object.defineProperty(exports, "__esModule", { value: true });
79
- exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
79
+ exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
80
80
  var axios_1 = __importDefault(require("axios"));
81
81
  // Some imports not used depending on template conditions
82
82
  // @ts-ignore
@@ -18075,6 +18075,546 @@ var LanguagesApi = /** @class */ (function (_super) {
18075
18075
  return LanguagesApi;
18076
18076
  }(base_1.BaseAPI));
18077
18077
  exports.LanguagesApi = LanguagesApi;
18078
+ /**
18079
+ * ManagersApi - axios parameter creator
18080
+ * @export
18081
+ */
18082
+ exports.ManagersApiAxiosParamCreator = function (configuration) {
18083
+ var _this = this;
18084
+ return {
18085
+ /**
18086
+ *
18087
+ * @summary Get all Managers.
18088
+ * @param {string} [hospitalId]
18089
+ * @param {string} [id]
18090
+ * @param {string} [fullname]
18091
+ * @param {string} [email]
18092
+ * @param {Gender} [gender]
18093
+ * @param {Date} [dateOfBirth]
18094
+ * @param {Date} [created]
18095
+ * @param {number} [page]
18096
+ * @param {number} [limit]
18097
+ * @param {Date} [lastRetrieved]
18098
+ * @param {*} [options] Override http request option.
18099
+ * @throws {RequiredError}
18100
+ */
18101
+ apiV1ManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
18102
+ if (options === void 0) { options = {}; }
18103
+ return __awaiter(_this, void 0, void 0, function () {
18104
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18105
+ return __generator(this, function (_a) {
18106
+ switch (_a.label) {
18107
+ case 0:
18108
+ localVarPath = "/api/v1/managers";
18109
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18110
+ if (configuration) {
18111
+ baseOptions = configuration.baseOptions;
18112
+ }
18113
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18114
+ localVarHeaderParameter = {};
18115
+ localVarQueryParameter = {};
18116
+ // authentication oauth2 required
18117
+ // oauth required
18118
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18119
+ case 1:
18120
+ // authentication oauth2 required
18121
+ // oauth required
18122
+ _a.sent();
18123
+ if (hospitalId !== undefined) {
18124
+ localVarQueryParameter['HospitalId'] = hospitalId;
18125
+ }
18126
+ if (id !== undefined) {
18127
+ localVarQueryParameter['Id'] = id;
18128
+ }
18129
+ if (fullname !== undefined) {
18130
+ localVarQueryParameter['Fullname'] = fullname;
18131
+ }
18132
+ if (email !== undefined) {
18133
+ localVarQueryParameter['Email'] = email;
18134
+ }
18135
+ if (gender !== undefined) {
18136
+ localVarQueryParameter['Gender'] = gender;
18137
+ }
18138
+ if (dateOfBirth !== undefined) {
18139
+ localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
18140
+ dateOfBirth.toISOString() :
18141
+ dateOfBirth;
18142
+ }
18143
+ if (created !== undefined) {
18144
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
18145
+ created.toISOString() :
18146
+ created;
18147
+ }
18148
+ if (page !== undefined) {
18149
+ localVarQueryParameter['page'] = page;
18150
+ }
18151
+ if (limit !== undefined) {
18152
+ localVarQueryParameter['limit'] = limit;
18153
+ }
18154
+ if (lastRetrieved !== undefined) {
18155
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
18156
+ lastRetrieved.toISOString() :
18157
+ lastRetrieved;
18158
+ }
18159
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18160
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18161
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18162
+ return [2 /*return*/, {
18163
+ url: common_1.toPathString(localVarUrlObj),
18164
+ options: localVarRequestOptions,
18165
+ }];
18166
+ }
18167
+ });
18168
+ });
18169
+ },
18170
+ /**
18171
+ *
18172
+ * @summary Delete Manager.
18173
+ * @param {string} managerId
18174
+ * @param {*} [options] Override http request option.
18175
+ * @throws {RequiredError}
18176
+ */
18177
+ apiV1ManagersManagerIdDelete: function (managerId, options) {
18178
+ if (options === void 0) { options = {}; }
18179
+ return __awaiter(_this, void 0, void 0, function () {
18180
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18181
+ return __generator(this, function (_a) {
18182
+ switch (_a.label) {
18183
+ case 0:
18184
+ // verify required parameter 'managerId' is not null or undefined
18185
+ common_1.assertParamExists('apiV1ManagersManagerIdDelete', 'managerId', managerId);
18186
+ localVarPath = "/api/v1/managers/{managerId}"
18187
+ .replace("{" + "managerId" + "}", encodeURIComponent(String(managerId)));
18188
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18189
+ if (configuration) {
18190
+ baseOptions = configuration.baseOptions;
18191
+ }
18192
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
18193
+ localVarHeaderParameter = {};
18194
+ localVarQueryParameter = {};
18195
+ // authentication oauth2 required
18196
+ // oauth required
18197
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18198
+ case 1:
18199
+ // authentication oauth2 required
18200
+ // oauth required
18201
+ _a.sent();
18202
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18203
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18204
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18205
+ return [2 /*return*/, {
18206
+ url: common_1.toPathString(localVarUrlObj),
18207
+ options: localVarRequestOptions,
18208
+ }];
18209
+ }
18210
+ });
18211
+ });
18212
+ },
18213
+ /**
18214
+ *
18215
+ * @summary Get Manager.
18216
+ * @param {string} managerId
18217
+ * @param {*} [options] Override http request option.
18218
+ * @throws {RequiredError}
18219
+ */
18220
+ apiV1ManagersManagerIdGet: function (managerId, options) {
18221
+ if (options === void 0) { options = {}; }
18222
+ return __awaiter(_this, void 0, void 0, function () {
18223
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18224
+ return __generator(this, function (_a) {
18225
+ switch (_a.label) {
18226
+ case 0:
18227
+ // verify required parameter 'managerId' is not null or undefined
18228
+ common_1.assertParamExists('apiV1ManagersManagerIdGet', 'managerId', managerId);
18229
+ localVarPath = "/api/v1/managers/{managerId}"
18230
+ .replace("{" + "managerId" + "}", encodeURIComponent(String(managerId)));
18231
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18232
+ if (configuration) {
18233
+ baseOptions = configuration.baseOptions;
18234
+ }
18235
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18236
+ localVarHeaderParameter = {};
18237
+ localVarQueryParameter = {};
18238
+ // authentication oauth2 required
18239
+ // oauth required
18240
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18241
+ case 1:
18242
+ // authentication oauth2 required
18243
+ // oauth required
18244
+ _a.sent();
18245
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18246
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18247
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18248
+ return [2 /*return*/, {
18249
+ url: common_1.toPathString(localVarUrlObj),
18250
+ options: localVarRequestOptions,
18251
+ }];
18252
+ }
18253
+ });
18254
+ });
18255
+ },
18256
+ /**
18257
+ *
18258
+ * @summary Update Manager.
18259
+ * @param {string} managerId
18260
+ * @param {UpdateManagerCommand} [updateManagerCommand]
18261
+ * @param {*} [options] Override http request option.
18262
+ * @throws {RequiredError}
18263
+ */
18264
+ apiV1ManagersManagerIdPut: function (managerId, updateManagerCommand, options) {
18265
+ if (options === void 0) { options = {}; }
18266
+ return __awaiter(_this, void 0, void 0, function () {
18267
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18268
+ return __generator(this, function (_a) {
18269
+ switch (_a.label) {
18270
+ case 0:
18271
+ // verify required parameter 'managerId' is not null or undefined
18272
+ common_1.assertParamExists('apiV1ManagersManagerIdPut', 'managerId', managerId);
18273
+ localVarPath = "/api/v1/managers/{managerId}"
18274
+ .replace("{" + "managerId" + "}", encodeURIComponent(String(managerId)));
18275
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18276
+ if (configuration) {
18277
+ baseOptions = configuration.baseOptions;
18278
+ }
18279
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
18280
+ localVarHeaderParameter = {};
18281
+ localVarQueryParameter = {};
18282
+ // authentication oauth2 required
18283
+ // oauth required
18284
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18285
+ case 1:
18286
+ // authentication oauth2 required
18287
+ // oauth required
18288
+ _a.sent();
18289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18290
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18291
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18292
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18293
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateManagerCommand, localVarRequestOptions, configuration);
18294
+ return [2 /*return*/, {
18295
+ url: common_1.toPathString(localVarUrlObj),
18296
+ options: localVarRequestOptions,
18297
+ }];
18298
+ }
18299
+ });
18300
+ });
18301
+ },
18302
+ /**
18303
+ *
18304
+ * @summary Create a Manager.
18305
+ * @param {CreateManagerCommand} [createManagerCommand]
18306
+ * @param {*} [options] Override http request option.
18307
+ * @throws {RequiredError}
18308
+ */
18309
+ apiV1ManagersPost: function (createManagerCommand, options) {
18310
+ if (options === void 0) { options = {}; }
18311
+ return __awaiter(_this, void 0, void 0, function () {
18312
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18313
+ return __generator(this, function (_a) {
18314
+ switch (_a.label) {
18315
+ case 0:
18316
+ localVarPath = "/api/v1/managers";
18317
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18318
+ if (configuration) {
18319
+ baseOptions = configuration.baseOptions;
18320
+ }
18321
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
18322
+ localVarHeaderParameter = {};
18323
+ localVarQueryParameter = {};
18324
+ // authentication oauth2 required
18325
+ // oauth required
18326
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18327
+ case 1:
18328
+ // authentication oauth2 required
18329
+ // oauth required
18330
+ _a.sent();
18331
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18332
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18333
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18334
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18335
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createManagerCommand, localVarRequestOptions, configuration);
18336
+ return [2 /*return*/, {
18337
+ url: common_1.toPathString(localVarUrlObj),
18338
+ options: localVarRequestOptions,
18339
+ }];
18340
+ }
18341
+ });
18342
+ });
18343
+ },
18344
+ };
18345
+ };
18346
+ /**
18347
+ * ManagersApi - functional programming interface
18348
+ * @export
18349
+ */
18350
+ exports.ManagersApiFp = function (configuration) {
18351
+ var localVarAxiosParamCreator = exports.ManagersApiAxiosParamCreator(configuration);
18352
+ return {
18353
+ /**
18354
+ *
18355
+ * @summary Get all Managers.
18356
+ * @param {string} [hospitalId]
18357
+ * @param {string} [id]
18358
+ * @param {string} [fullname]
18359
+ * @param {string} [email]
18360
+ * @param {Gender} [gender]
18361
+ * @param {Date} [dateOfBirth]
18362
+ * @param {Date} [created]
18363
+ * @param {number} [page]
18364
+ * @param {number} [limit]
18365
+ * @param {Date} [lastRetrieved]
18366
+ * @param {*} [options] Override http request option.
18367
+ * @throws {RequiredError}
18368
+ */
18369
+ apiV1ManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
18370
+ return __awaiter(this, void 0, void 0, function () {
18371
+ var localVarAxiosArgs;
18372
+ return __generator(this, function (_a) {
18373
+ switch (_a.label) {
18374
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options)];
18375
+ case 1:
18376
+ localVarAxiosArgs = _a.sent();
18377
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
18378
+ }
18379
+ });
18380
+ });
18381
+ },
18382
+ /**
18383
+ *
18384
+ * @summary Delete Manager.
18385
+ * @param {string} managerId
18386
+ * @param {*} [options] Override http request option.
18387
+ * @throws {RequiredError}
18388
+ */
18389
+ apiV1ManagersManagerIdDelete: function (managerId, options) {
18390
+ return __awaiter(this, void 0, void 0, function () {
18391
+ var localVarAxiosArgs;
18392
+ return __generator(this, function (_a) {
18393
+ switch (_a.label) {
18394
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, options)];
18395
+ case 1:
18396
+ localVarAxiosArgs = _a.sent();
18397
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
18398
+ }
18399
+ });
18400
+ });
18401
+ },
18402
+ /**
18403
+ *
18404
+ * @summary Get Manager.
18405
+ * @param {string} managerId
18406
+ * @param {*} [options] Override http request option.
18407
+ * @throws {RequiredError}
18408
+ */
18409
+ apiV1ManagersManagerIdGet: function (managerId, options) {
18410
+ return __awaiter(this, void 0, void 0, function () {
18411
+ var localVarAxiosArgs;
18412
+ return __generator(this, function (_a) {
18413
+ switch (_a.label) {
18414
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdGet(managerId, options)];
18415
+ case 1:
18416
+ localVarAxiosArgs = _a.sent();
18417
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
18418
+ }
18419
+ });
18420
+ });
18421
+ },
18422
+ /**
18423
+ *
18424
+ * @summary Update Manager.
18425
+ * @param {string} managerId
18426
+ * @param {UpdateManagerCommand} [updateManagerCommand]
18427
+ * @param {*} [options] Override http request option.
18428
+ * @throws {RequiredError}
18429
+ */
18430
+ apiV1ManagersManagerIdPut: function (managerId, updateManagerCommand, options) {
18431
+ return __awaiter(this, void 0, void 0, function () {
18432
+ var localVarAxiosArgs;
18433
+ return __generator(this, function (_a) {
18434
+ switch (_a.label) {
18435
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options)];
18436
+ case 1:
18437
+ localVarAxiosArgs = _a.sent();
18438
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
18439
+ }
18440
+ });
18441
+ });
18442
+ },
18443
+ /**
18444
+ *
18445
+ * @summary Create a Manager.
18446
+ * @param {CreateManagerCommand} [createManagerCommand]
18447
+ * @param {*} [options] Override http request option.
18448
+ * @throws {RequiredError}
18449
+ */
18450
+ apiV1ManagersPost: function (createManagerCommand, options) {
18451
+ return __awaiter(this, void 0, void 0, function () {
18452
+ var localVarAxiosArgs;
18453
+ return __generator(this, function (_a) {
18454
+ switch (_a.label) {
18455
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersPost(createManagerCommand, options)];
18456
+ case 1:
18457
+ localVarAxiosArgs = _a.sent();
18458
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
18459
+ }
18460
+ });
18461
+ });
18462
+ },
18463
+ };
18464
+ };
18465
+ /**
18466
+ * ManagersApi - factory interface
18467
+ * @export
18468
+ */
18469
+ exports.ManagersApiFactory = function (configuration, basePath, axios) {
18470
+ var localVarFp = exports.ManagersApiFp(configuration);
18471
+ return {
18472
+ /**
18473
+ *
18474
+ * @summary Get all Managers.
18475
+ * @param {string} [hospitalId]
18476
+ * @param {string} [id]
18477
+ * @param {string} [fullname]
18478
+ * @param {string} [email]
18479
+ * @param {Gender} [gender]
18480
+ * @param {Date} [dateOfBirth]
18481
+ * @param {Date} [created]
18482
+ * @param {number} [page]
18483
+ * @param {number} [limit]
18484
+ * @param {Date} [lastRetrieved]
18485
+ * @param {*} [options] Override http request option.
18486
+ * @throws {RequiredError}
18487
+ */
18488
+ apiV1ManagersGet: function (hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
18489
+ return localVarFp.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18490
+ },
18491
+ /**
18492
+ *
18493
+ * @summary Delete Manager.
18494
+ * @param {string} managerId
18495
+ * @param {*} [options] Override http request option.
18496
+ * @throws {RequiredError}
18497
+ */
18498
+ apiV1ManagersManagerIdDelete: function (managerId, options) {
18499
+ return localVarFp.apiV1ManagersManagerIdDelete(managerId, options).then(function (request) { return request(axios, basePath); });
18500
+ },
18501
+ /**
18502
+ *
18503
+ * @summary Get Manager.
18504
+ * @param {string} managerId
18505
+ * @param {*} [options] Override http request option.
18506
+ * @throws {RequiredError}
18507
+ */
18508
+ apiV1ManagersManagerIdGet: function (managerId, options) {
18509
+ return localVarFp.apiV1ManagersManagerIdGet(managerId, options).then(function (request) { return request(axios, basePath); });
18510
+ },
18511
+ /**
18512
+ *
18513
+ * @summary Update Manager.
18514
+ * @param {string} managerId
18515
+ * @param {UpdateManagerCommand} [updateManagerCommand]
18516
+ * @param {*} [options] Override http request option.
18517
+ * @throws {RequiredError}
18518
+ */
18519
+ apiV1ManagersManagerIdPut: function (managerId, updateManagerCommand, options) {
18520
+ return localVarFp.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then(function (request) { return request(axios, basePath); });
18521
+ },
18522
+ /**
18523
+ *
18524
+ * @summary Create a Manager.
18525
+ * @param {CreateManagerCommand} [createManagerCommand]
18526
+ * @param {*} [options] Override http request option.
18527
+ * @throws {RequiredError}
18528
+ */
18529
+ apiV1ManagersPost: function (createManagerCommand, options) {
18530
+ return localVarFp.apiV1ManagersPost(createManagerCommand, options).then(function (request) { return request(axios, basePath); });
18531
+ },
18532
+ };
18533
+ };
18534
+ /**
18535
+ * ManagersApi - object-oriented interface
18536
+ * @export
18537
+ * @class ManagersApi
18538
+ * @extends {BaseAPI}
18539
+ */
18540
+ var ManagersApi = /** @class */ (function (_super) {
18541
+ __extends(ManagersApi, _super);
18542
+ function ManagersApi() {
18543
+ return _super !== null && _super.apply(this, arguments) || this;
18544
+ }
18545
+ /**
18546
+ *
18547
+ * @summary Get all Managers.
18548
+ * @param {string} [hospitalId]
18549
+ * @param {string} [id]
18550
+ * @param {string} [fullname]
18551
+ * @param {string} [email]
18552
+ * @param {Gender} [gender]
18553
+ * @param {Date} [dateOfBirth]
18554
+ * @param {Date} [created]
18555
+ * @param {number} [page]
18556
+ * @param {number} [limit]
18557
+ * @param {Date} [lastRetrieved]
18558
+ * @param {*} [options] Override http request option.
18559
+ * @throws {RequiredError}
18560
+ * @memberof ManagersApi
18561
+ */
18562
+ ManagersApi.prototype.apiV1ManagersGet = function (hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
18563
+ var _this = this;
18564
+ return exports.ManagersApiFp(this.configuration).apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18565
+ };
18566
+ /**
18567
+ *
18568
+ * @summary Delete Manager.
18569
+ * @param {string} managerId
18570
+ * @param {*} [options] Override http request option.
18571
+ * @throws {RequiredError}
18572
+ * @memberof ManagersApi
18573
+ */
18574
+ ManagersApi.prototype.apiV1ManagersManagerIdDelete = function (managerId, options) {
18575
+ var _this = this;
18576
+ return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
18577
+ };
18578
+ /**
18579
+ *
18580
+ * @summary Get Manager.
18581
+ * @param {string} managerId
18582
+ * @param {*} [options] Override http request option.
18583
+ * @throws {RequiredError}
18584
+ * @memberof ManagersApi
18585
+ */
18586
+ ManagersApi.prototype.apiV1ManagersManagerIdGet = function (managerId, options) {
18587
+ var _this = this;
18588
+ return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdGet(managerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
18589
+ };
18590
+ /**
18591
+ *
18592
+ * @summary Update Manager.
18593
+ * @param {string} managerId
18594
+ * @param {UpdateManagerCommand} [updateManagerCommand]
18595
+ * @param {*} [options] Override http request option.
18596
+ * @throws {RequiredError}
18597
+ * @memberof ManagersApi
18598
+ */
18599
+ ManagersApi.prototype.apiV1ManagersManagerIdPut = function (managerId, updateManagerCommand, options) {
18600
+ var _this = this;
18601
+ return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
18602
+ };
18603
+ /**
18604
+ *
18605
+ * @summary Create a Manager.
18606
+ * @param {CreateManagerCommand} [createManagerCommand]
18607
+ * @param {*} [options] Override http request option.
18608
+ * @throws {RequiredError}
18609
+ * @memberof ManagersApi
18610
+ */
18611
+ ManagersApi.prototype.apiV1ManagersPost = function (createManagerCommand, options) {
18612
+ var _this = this;
18613
+ return exports.ManagersApiFp(this.configuration).apiV1ManagersPost(createManagerCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
18614
+ };
18615
+ return ManagersApi;
18616
+ }(base_1.BaseAPI));
18617
+ exports.ManagersApi = ManagersApi;
18078
18618
  /**
18079
18619
  * NotificationsApi - axios parameter creator
18080
18620
  * @export
@@ -18315,6 +18855,293 @@ var NotificationsApi = /** @class */ (function (_super) {
18315
18855
  return NotificationsApi;
18316
18856
  }(base_1.BaseAPI));
18317
18857
  exports.NotificationsApi = NotificationsApi;
18858
+ /**
18859
+ * ProfilesApi - axios parameter creator
18860
+ * @export
18861
+ */
18862
+ exports.ProfilesApiAxiosParamCreator = function (configuration) {
18863
+ var _this = this;
18864
+ return {
18865
+ /**
18866
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
18867
+ * @summary Change user\'s email on both Identity and Api.
18868
+ * @param {ChangeEmailCommand} [changeEmailCommand]
18869
+ * @param {*} [options] Override http request option.
18870
+ * @throws {RequiredError}
18871
+ */
18872
+ apiV1ProfilesChangeemailPost: function (changeEmailCommand, options) {
18873
+ if (options === void 0) { options = {}; }
18874
+ return __awaiter(_this, void 0, void 0, function () {
18875
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18876
+ return __generator(this, function (_a) {
18877
+ switch (_a.label) {
18878
+ case 0:
18879
+ localVarPath = "/api/v1/profiles/changeemail";
18880
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18881
+ if (configuration) {
18882
+ baseOptions = configuration.baseOptions;
18883
+ }
18884
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
18885
+ localVarHeaderParameter = {};
18886
+ localVarQueryParameter = {};
18887
+ // authentication oauth2 required
18888
+ // oauth required
18889
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18890
+ case 1:
18891
+ // authentication oauth2 required
18892
+ // oauth required
18893
+ _a.sent();
18894
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18895
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18896
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18897
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18898
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(changeEmailCommand, localVarRequestOptions, configuration);
18899
+ return [2 /*return*/, {
18900
+ url: common_1.toPathString(localVarUrlObj),
18901
+ options: localVarRequestOptions,
18902
+ }];
18903
+ }
18904
+ });
18905
+ });
18906
+ },
18907
+ /**
18908
+ *
18909
+ * @summary Configm email.
18910
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
18911
+ * @param {*} [options] Override http request option.
18912
+ * @throws {RequiredError}
18913
+ */
18914
+ apiV1ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
18915
+ if (options === void 0) { options = {}; }
18916
+ return __awaiter(_this, void 0, void 0, function () {
18917
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18918
+ return __generator(this, function (_a) {
18919
+ switch (_a.label) {
18920
+ case 0:
18921
+ localVarPath = "/api/v1/profiles/confirmemail";
18922
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18923
+ if (configuration) {
18924
+ baseOptions = configuration.baseOptions;
18925
+ }
18926
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
18927
+ localVarHeaderParameter = {};
18928
+ localVarQueryParameter = {};
18929
+ // authentication oauth2 required
18930
+ // oauth required
18931
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18932
+ case 1:
18933
+ // authentication oauth2 required
18934
+ // oauth required
18935
+ _a.sent();
18936
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18937
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18938
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18939
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18940
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(confirmEmailCommand, localVarRequestOptions, configuration);
18941
+ return [2 /*return*/, {
18942
+ url: common_1.toPathString(localVarUrlObj),
18943
+ options: localVarRequestOptions,
18944
+ }];
18945
+ }
18946
+ });
18947
+ });
18948
+ },
18949
+ /**
18950
+ *
18951
+ * @summary Get Profile.
18952
+ * @param {*} [options] Override http request option.
18953
+ * @throws {RequiredError}
18954
+ */
18955
+ apiV1ProfilesGet: function (options) {
18956
+ if (options === void 0) { options = {}; }
18957
+ return __awaiter(_this, void 0, void 0, function () {
18958
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18959
+ return __generator(this, function (_a) {
18960
+ switch (_a.label) {
18961
+ case 0:
18962
+ localVarPath = "/api/v1/profiles";
18963
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18964
+ if (configuration) {
18965
+ baseOptions = configuration.baseOptions;
18966
+ }
18967
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18968
+ localVarHeaderParameter = {};
18969
+ localVarQueryParameter = {};
18970
+ // authentication oauth2 required
18971
+ // oauth required
18972
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
18973
+ case 1:
18974
+ // authentication oauth2 required
18975
+ // oauth required
18976
+ _a.sent();
18977
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
18978
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18979
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18980
+ return [2 /*return*/, {
18981
+ url: common_1.toPathString(localVarUrlObj),
18982
+ options: localVarRequestOptions,
18983
+ }];
18984
+ }
18985
+ });
18986
+ });
18987
+ },
18988
+ };
18989
+ };
18990
+ /**
18991
+ * ProfilesApi - functional programming interface
18992
+ * @export
18993
+ */
18994
+ exports.ProfilesApiFp = function (configuration) {
18995
+ var localVarAxiosParamCreator = exports.ProfilesApiAxiosParamCreator(configuration);
18996
+ return {
18997
+ /**
18998
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
18999
+ * @summary Change user\'s email on both Identity and Api.
19000
+ * @param {ChangeEmailCommand} [changeEmailCommand]
19001
+ * @param {*} [options] Override http request option.
19002
+ * @throws {RequiredError}
19003
+ */
19004
+ apiV1ProfilesChangeemailPost: function (changeEmailCommand, options) {
19005
+ return __awaiter(this, void 0, void 0, function () {
19006
+ var localVarAxiosArgs;
19007
+ return __generator(this, function (_a) {
19008
+ switch (_a.label) {
19009
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ProfilesChangeemailPost(changeEmailCommand, options)];
19010
+ case 1:
19011
+ localVarAxiosArgs = _a.sent();
19012
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
19013
+ }
19014
+ });
19015
+ });
19016
+ },
19017
+ /**
19018
+ *
19019
+ * @summary Configm email.
19020
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
19021
+ * @param {*} [options] Override http request option.
19022
+ * @throws {RequiredError}
19023
+ */
19024
+ apiV1ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
19025
+ return __awaiter(this, void 0, void 0, function () {
19026
+ var localVarAxiosArgs;
19027
+ return __generator(this, function (_a) {
19028
+ switch (_a.label) {
19029
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options)];
19030
+ case 1:
19031
+ localVarAxiosArgs = _a.sent();
19032
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
19033
+ }
19034
+ });
19035
+ });
19036
+ },
19037
+ /**
19038
+ *
19039
+ * @summary Get Profile.
19040
+ * @param {*} [options] Override http request option.
19041
+ * @throws {RequiredError}
19042
+ */
19043
+ apiV1ProfilesGet: function (options) {
19044
+ return __awaiter(this, void 0, void 0, function () {
19045
+ var localVarAxiosArgs;
19046
+ return __generator(this, function (_a) {
19047
+ switch (_a.label) {
19048
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ProfilesGet(options)];
19049
+ case 1:
19050
+ localVarAxiosArgs = _a.sent();
19051
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
19052
+ }
19053
+ });
19054
+ });
19055
+ },
19056
+ };
19057
+ };
19058
+ /**
19059
+ * ProfilesApi - factory interface
19060
+ * @export
19061
+ */
19062
+ exports.ProfilesApiFactory = function (configuration, basePath, axios) {
19063
+ var localVarFp = exports.ProfilesApiFp(configuration);
19064
+ return {
19065
+ /**
19066
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
19067
+ * @summary Change user\'s email on both Identity and Api.
19068
+ * @param {ChangeEmailCommand} [changeEmailCommand]
19069
+ * @param {*} [options] Override http request option.
19070
+ * @throws {RequiredError}
19071
+ */
19072
+ apiV1ProfilesChangeemailPost: function (changeEmailCommand, options) {
19073
+ return localVarFp.apiV1ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
19074
+ },
19075
+ /**
19076
+ *
19077
+ * @summary Configm email.
19078
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
19079
+ * @param {*} [options] Override http request option.
19080
+ * @throws {RequiredError}
19081
+ */
19082
+ apiV1ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
19083
+ return localVarFp.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
19084
+ },
19085
+ /**
19086
+ *
19087
+ * @summary Get Profile.
19088
+ * @param {*} [options] Override http request option.
19089
+ * @throws {RequiredError}
19090
+ */
19091
+ apiV1ProfilesGet: function (options) {
19092
+ return localVarFp.apiV1ProfilesGet(options).then(function (request) { return request(axios, basePath); });
19093
+ },
19094
+ };
19095
+ };
19096
+ /**
19097
+ * ProfilesApi - object-oriented interface
19098
+ * @export
19099
+ * @class ProfilesApi
19100
+ * @extends {BaseAPI}
19101
+ */
19102
+ var ProfilesApi = /** @class */ (function (_super) {
19103
+ __extends(ProfilesApi, _super);
19104
+ function ProfilesApi() {
19105
+ return _super !== null && _super.apply(this, arguments) || this;
19106
+ }
19107
+ /**
19108
+ * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
19109
+ * @summary Change user\'s email on both Identity and Api.
19110
+ * @param {ChangeEmailCommand} [changeEmailCommand]
19111
+ * @param {*} [options] Override http request option.
19112
+ * @throws {RequiredError}
19113
+ * @memberof ProfilesApi
19114
+ */
19115
+ ProfilesApi.prototype.apiV1ProfilesChangeemailPost = function (changeEmailCommand, options) {
19116
+ var _this = this;
19117
+ return exports.ProfilesApiFp(this.configuration).apiV1ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
19118
+ };
19119
+ /**
19120
+ *
19121
+ * @summary Configm email.
19122
+ * @param {ConfirmEmailCommand} [confirmEmailCommand]
19123
+ * @param {*} [options] Override http request option.
19124
+ * @throws {RequiredError}
19125
+ * @memberof ProfilesApi
19126
+ */
19127
+ ProfilesApi.prototype.apiV1ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
19128
+ var _this = this;
19129
+ return exports.ProfilesApiFp(this.configuration).apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
19130
+ };
19131
+ /**
19132
+ *
19133
+ * @summary Get Profile.
19134
+ * @param {*} [options] Override http request option.
19135
+ * @throws {RequiredError}
19136
+ * @memberof ProfilesApi
19137
+ */
19138
+ ProfilesApi.prototype.apiV1ProfilesGet = function (options) {
19139
+ var _this = this;
19140
+ return exports.ProfilesApiFp(this.configuration).apiV1ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
19141
+ };
19142
+ return ProfilesApi;
19143
+ }(base_1.BaseAPI));
19144
+ exports.ProfilesApi = ProfilesApi;
18318
19145
  /**
18319
19146
  * ServicesApi - axios parameter creator
18320
19147
  * @export