ch-api-client-typescript2 4.7.9 → 4.8.1

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
@@ -17173,31 +17173,24 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
17173
17173
  },
17174
17174
  /**
17175
17175
  *
17176
- * @summary Delete Profile.
17177
- * @param {string} profileId
17178
- * @param {string} patientId
17176
+ * @summary Create a Profile.
17177
+ * @param {CreateProfileCommand} [createProfileCommand]
17179
17178
  * @param {*} [options] Override http request option.
17180
17179
  * @throws {RequiredError}
17181
17180
  */
17182
- apiV2ProfilesPatientIdDelete: function (profileId, patientId, options) {
17181
+ apiV2ProfilesPost: function (createProfileCommand, options) {
17183
17182
  if (options === void 0) { options = {}; }
17184
17183
  return __awaiter(_this, void 0, void 0, function () {
17185
17184
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
17186
17185
  return __generator(this, function (_a) {
17187
17186
  switch (_a.label) {
17188
17187
  case 0:
17189
- // verify required parameter 'profileId' is not null or undefined
17190
- (0, common_1.assertParamExists)('apiV2ProfilesPatientIdDelete', 'profileId', profileId);
17191
- // verify required parameter 'patientId' is not null or undefined
17192
- (0, common_1.assertParamExists)('apiV2ProfilesPatientIdDelete', 'patientId', patientId);
17193
- localVarPath = "/api/v2/profiles/{patientId}"
17194
- .replace("{".concat("profileId", "}"), encodeURIComponent(String(profileId)))
17195
- .replace("{".concat("patientId", "}"), encodeURIComponent(String(patientId)));
17188
+ localVarPath = "/api/v2/profiles";
17196
17189
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17197
17190
  if (configuration) {
17198
17191
  baseOptions = configuration.baseOptions;
17199
17192
  }
17200
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
17193
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
17201
17194
  localVarHeaderParameter = {};
17202
17195
  localVarQueryParameter = {};
17203
17196
  // authentication oauth2 required
@@ -17207,9 +17200,11 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
17207
17200
  // authentication oauth2 required
17208
17201
  // oauth required
17209
17202
  _a.sent();
17203
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17210
17204
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17211
17205
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17212
17206
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17207
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createProfileCommand, localVarRequestOptions, configuration);
17213
17208
  return [2 /*return*/, {
17214
17209
  url: (0, common_1.toPathString)(localVarUrlObj),
17215
17210
  options: localVarRequestOptions,
@@ -17220,24 +17215,27 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
17220
17215
  },
17221
17216
  /**
17222
17217
  *
17223
- * @summary Create a Profile.
17224
- * @param {CreateProfileCommand} [createProfileCommand]
17218
+ * @summary Delete Profile.
17219
+ * @param {string} profileId
17225
17220
  * @param {*} [options] Override http request option.
17226
17221
  * @throws {RequiredError}
17227
17222
  */
17228
- apiV2ProfilesPost: function (createProfileCommand, options) {
17223
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
17229
17224
  if (options === void 0) { options = {}; }
17230
17225
  return __awaiter(_this, void 0, void 0, function () {
17231
17226
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
17232
17227
  return __generator(this, function (_a) {
17233
17228
  switch (_a.label) {
17234
17229
  case 0:
17235
- localVarPath = "/api/v2/profiles";
17230
+ // verify required parameter 'profileId' is not null or undefined
17231
+ (0, common_1.assertParamExists)('apiV2ProfilesProfileIdDelete', 'profileId', profileId);
17232
+ localVarPath = "/api/v2/profiles/{profileId}"
17233
+ .replace("{".concat("profileId", "}"), encodeURIComponent(String(profileId)));
17236
17234
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17237
17235
  if (configuration) {
17238
17236
  baseOptions = configuration.baseOptions;
17239
17237
  }
17240
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
17238
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
17241
17239
  localVarHeaderParameter = {};
17242
17240
  localVarQueryParameter = {};
17243
17241
  // authentication oauth2 required
@@ -17247,11 +17245,9 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
17247
17245
  // authentication oauth2 required
17248
17246
  // oauth required
17249
17247
  _a.sent();
17250
- localVarHeaderParameter['Content-Type'] = 'application/json';
17251
17248
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17252
17249
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17253
17250
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17254
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createProfileCommand, localVarRequestOptions, configuration);
17255
17251
  return [2 /*return*/, {
17256
17252
  url: (0, common_1.toPathString)(localVarUrlObj),
17257
17253
  options: localVarRequestOptions,
@@ -17373,18 +17369,17 @@ var ProfilesApiFp = function (configuration) {
17373
17369
  },
17374
17370
  /**
17375
17371
  *
17376
- * @summary Delete Profile.
17377
- * @param {string} profileId
17378
- * @param {string} patientId
17372
+ * @summary Create a Profile.
17373
+ * @param {CreateProfileCommand} [createProfileCommand]
17379
17374
  * @param {*} [options] Override http request option.
17380
17375
  * @throws {RequiredError}
17381
17376
  */
17382
- apiV2ProfilesPatientIdDelete: function (profileId, patientId, options) {
17377
+ apiV2ProfilesPost: function (createProfileCommand, options) {
17383
17378
  return __awaiter(this, void 0, void 0, function () {
17384
17379
  var localVarAxiosArgs;
17385
17380
  return __generator(this, function (_a) {
17386
17381
  switch (_a.label) {
17387
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPatientIdDelete(profileId, patientId, options)];
17382
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options)];
17388
17383
  case 1:
17389
17384
  localVarAxiosArgs = _a.sent();
17390
17385
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -17394,17 +17389,17 @@ var ProfilesApiFp = function (configuration) {
17394
17389
  },
17395
17390
  /**
17396
17391
  *
17397
- * @summary Create a Profile.
17398
- * @param {CreateProfileCommand} [createProfileCommand]
17392
+ * @summary Delete Profile.
17393
+ * @param {string} profileId
17399
17394
  * @param {*} [options] Override http request option.
17400
17395
  * @throws {RequiredError}
17401
17396
  */
17402
- apiV2ProfilesPost: function (createProfileCommand, options) {
17397
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
17403
17398
  return __awaiter(this, void 0, void 0, function () {
17404
17399
  var localVarAxiosArgs;
17405
17400
  return __generator(this, function (_a) {
17406
17401
  switch (_a.label) {
17407
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options)];
17402
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesProfileIdDelete(profileId, options)];
17408
17403
  case 1:
17409
17404
  localVarAxiosArgs = _a.sent();
17410
17405
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -17473,24 +17468,23 @@ var ProfilesApiFactory = function (configuration, basePath, axios) {
17473
17468
  },
17474
17469
  /**
17475
17470
  *
17476
- * @summary Delete Profile.
17477
- * @param {string} profileId
17478
- * @param {string} patientId
17471
+ * @summary Create a Profile.
17472
+ * @param {CreateProfileCommand} [createProfileCommand]
17479
17473
  * @param {*} [options] Override http request option.
17480
17474
  * @throws {RequiredError}
17481
17475
  */
17482
- apiV2ProfilesPatientIdDelete: function (profileId, patientId, options) {
17483
- return localVarFp.apiV2ProfilesPatientIdDelete(profileId, patientId, options).then(function (request) { return request(axios, basePath); });
17476
+ apiV2ProfilesPost: function (createProfileCommand, options) {
17477
+ return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(axios, basePath); });
17484
17478
  },
17485
17479
  /**
17486
17480
  *
17487
- * @summary Create a Profile.
17488
- * @param {CreateProfileCommand} [createProfileCommand]
17481
+ * @summary Delete Profile.
17482
+ * @param {string} profileId
17489
17483
  * @param {*} [options] Override http request option.
17490
17484
  * @throws {RequiredError}
17491
17485
  */
17492
- apiV2ProfilesPost: function (createProfileCommand, options) {
17493
- return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(axios, basePath); });
17486
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
17487
+ return localVarFp.apiV2ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(axios, basePath); });
17494
17488
  },
17495
17489
  /**
17496
17490
  *
@@ -17553,28 +17547,27 @@ var ProfilesApi = /** @class */ (function (_super) {
17553
17547
  };
17554
17548
  /**
17555
17549
  *
17556
- * @summary Delete Profile.
17557
- * @param {string} profileId
17558
- * @param {string} patientId
17550
+ * @summary Create a Profile.
17551
+ * @param {CreateProfileCommand} [createProfileCommand]
17559
17552
  * @param {*} [options] Override http request option.
17560
17553
  * @throws {RequiredError}
17561
17554
  * @memberof ProfilesApi
17562
17555
  */
17563
- ProfilesApi.prototype.apiV2ProfilesPatientIdDelete = function (profileId, patientId, options) {
17556
+ ProfilesApi.prototype.apiV2ProfilesPost = function (createProfileCommand, options) {
17564
17557
  var _this = this;
17565
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPatientIdDelete(profileId, patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17558
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17566
17559
  };
17567
17560
  /**
17568
17561
  *
17569
- * @summary Create a Profile.
17570
- * @param {CreateProfileCommand} [createProfileCommand]
17562
+ * @summary Delete Profile.
17563
+ * @param {string} profileId
17571
17564
  * @param {*} [options] Override http request option.
17572
17565
  * @throws {RequiredError}
17573
17566
  * @memberof ProfilesApi
17574
17567
  */
17575
- ProfilesApi.prototype.apiV2ProfilesPost = function (createProfileCommand, options) {
17568
+ ProfilesApi.prototype.apiV2ProfilesProfileIdDelete = function (profileId, options) {
17576
17569
  var _this = this;
17577
- return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17570
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17578
17571
  };
17579
17572
  /**
17580
17573
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.7.9",
3
+ "version": "4.8.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -3340,6 +3340,12 @@ export interface CreateProfileCommand {
3340
3340
  * @memberof CreateProfileCommand
3341
3341
  */
3342
3342
  'lastName'?: string | null;
3343
+ /**
3344
+ *
3345
+ * @type {string}
3346
+ * @memberof CreateProfileCommand
3347
+ */
3348
+ 'phoneCountryCode'?: string | null;
3343
3349
  /**
3344
3350
  *
3345
3351
  * @type {string}
@@ -3394,12 +3400,6 @@ export interface CreateProfileCommand {
3394
3400
  * @memberof CreateProfileCommand
3395
3401
  */
3396
3402
  'hospitalId'?: string;
3397
- /**
3398
- *
3399
- * @type {number}
3400
- * @memberof CreateProfileCommand
3401
- */
3402
- 'userType'?: number;
3403
3403
  }
3404
3404
  /**
3405
3405
  *
@@ -4990,6 +4990,12 @@ export interface DoctorModel {
4990
4990
  * @memberof DoctorModel
4991
4991
  */
4992
4992
  'auditableEntity'?: AuditableEntity;
4993
+ /**
4994
+ *
4995
+ * @type {string}
4996
+ * @memberof DoctorModel
4997
+ */
4998
+ 'phoneCountryCode'?: string | null;
4993
4999
  /**
4994
5000
  *
4995
5001
  * @type {string}
@@ -8355,6 +8361,12 @@ export interface PatientModel {
8355
8361
  * @memberof PatientModel
8356
8362
  */
8357
8363
  'auditableEntity'?: AuditableEntity;
8364
+ /**
8365
+ *
8366
+ * @type {string}
8367
+ * @memberof PatientModel
8368
+ */
8369
+ 'phoneCountryCode'?: string | null;
8358
8370
  /**
8359
8371
  *
8360
8372
  * @type {string}
@@ -10609,6 +10621,12 @@ export interface UpdateProfileCommand {
10609
10621
  * @memberof UpdateProfileCommand
10610
10622
  */
10611
10623
  'lastName'?: string | null;
10624
+ /**
10625
+ *
10626
+ * @type {string}
10627
+ * @memberof UpdateProfileCommand
10628
+ */
10629
+ 'phoneCountryCode'?: string | null;
10612
10630
  /**
10613
10631
  *
10614
10632
  * @type {string}
@@ -10897,6 +10915,12 @@ export interface UserModel {
10897
10915
  * @memberof UserModel
10898
10916
  */
10899
10917
  'auditableEntity'?: AuditableEntity;
10918
+ /**
10919
+ *
10920
+ * @type {string}
10921
+ * @memberof UserModel
10922
+ */
10923
+ 'phoneCountryCode'?: string | null;
10900
10924
  /**
10901
10925
  *
10902
10926
  * @type {string}
@@ -26826,20 +26850,13 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26826
26850
  },
26827
26851
  /**
26828
26852
  *
26829
- * @summary Delete Profile.
26830
- * @param {string} profileId
26831
- * @param {string} patientId
26853
+ * @summary Create a Profile.
26854
+ * @param {CreateProfileCommand} [createProfileCommand]
26832
26855
  * @param {*} [options] Override http request option.
26833
26856
  * @throws {RequiredError}
26834
26857
  */
26835
- apiV2ProfilesPatientIdDelete: async (profileId: string, patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26836
- // verify required parameter 'profileId' is not null or undefined
26837
- assertParamExists('apiV2ProfilesPatientIdDelete', 'profileId', profileId)
26838
- // verify required parameter 'patientId' is not null or undefined
26839
- assertParamExists('apiV2ProfilesPatientIdDelete', 'patientId', patientId)
26840
- const localVarPath = `/api/v2/profiles/{patientId}`
26841
- .replace(`{${"profileId"}}`, encodeURIComponent(String(profileId)))
26842
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
26858
+ apiV2ProfilesPost: async (createProfileCommand?: CreateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26859
+ const localVarPath = `/api/v2/profiles`;
26843
26860
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26844
26861
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26845
26862
  let baseOptions;
@@ -26847,7 +26864,7 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26847
26864
  baseOptions = configuration.baseOptions;
26848
26865
  }
26849
26866
 
26850
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26867
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26851
26868
  const localVarHeaderParameter = {} as any;
26852
26869
  const localVarQueryParameter = {} as any;
26853
26870
 
@@ -26857,9 +26874,12 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26857
26874
 
26858
26875
 
26859
26876
 
26877
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26878
+
26860
26879
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26861
26880
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26862
26881
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26882
+ localVarRequestOptions.data = serializeDataIfNeeded(createProfileCommand, localVarRequestOptions, configuration)
26863
26883
 
26864
26884
  return {
26865
26885
  url: toPathString(localVarUrlObj),
@@ -26868,13 +26888,16 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26868
26888
  },
26869
26889
  /**
26870
26890
  *
26871
- * @summary Create a Profile.
26872
- * @param {CreateProfileCommand} [createProfileCommand]
26891
+ * @summary Delete Profile.
26892
+ * @param {string} profileId
26873
26893
  * @param {*} [options] Override http request option.
26874
26894
  * @throws {RequiredError}
26875
26895
  */
26876
- apiV2ProfilesPost: async (createProfileCommand?: CreateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26877
- const localVarPath = `/api/v2/profiles`;
26896
+ apiV2ProfilesProfileIdDelete: async (profileId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26897
+ // verify required parameter 'profileId' is not null or undefined
26898
+ assertParamExists('apiV2ProfilesProfileIdDelete', 'profileId', profileId)
26899
+ const localVarPath = `/api/v2/profiles/{profileId}`
26900
+ .replace(`{${"profileId"}}`, encodeURIComponent(String(profileId)));
26878
26901
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26879
26902
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26880
26903
  let baseOptions;
@@ -26882,7 +26905,7 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26882
26905
  baseOptions = configuration.baseOptions;
26883
26906
  }
26884
26907
 
26885
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26908
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26886
26909
  const localVarHeaderParameter = {} as any;
26887
26910
  const localVarQueryParameter = {} as any;
26888
26911
 
@@ -26892,12 +26915,9 @@ export const ProfilesApiAxiosParamCreator = function (configuration?: Configurat
26892
26915
 
26893
26916
 
26894
26917
 
26895
- localVarHeaderParameter['Content-Type'] = 'application/json';
26896
-
26897
26918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26898
26919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26899
26920
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26900
- localVarRequestOptions.data = serializeDataIfNeeded(createProfileCommand, localVarRequestOptions, configuration)
26901
26921
 
26902
26922
  return {
26903
26923
  url: toPathString(localVarUrlObj),
@@ -26986,25 +27006,24 @@ export const ProfilesApiFp = function(configuration?: Configuration) {
26986
27006
  },
26987
27007
  /**
26988
27008
  *
26989
- * @summary Delete Profile.
26990
- * @param {string} profileId
26991
- * @param {string} patientId
27009
+ * @summary Create a Profile.
27010
+ * @param {CreateProfileCommand} [createProfileCommand]
26992
27011
  * @param {*} [options] Override http request option.
26993
27012
  * @throws {RequiredError}
26994
27013
  */
26995
- async apiV2ProfilesPatientIdDelete(profileId: string, patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
26996
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesPatientIdDelete(profileId, patientId, options);
27014
+ async apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
27015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options);
26997
27016
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26998
27017
  },
26999
27018
  /**
27000
27019
  *
27001
- * @summary Create a Profile.
27002
- * @param {CreateProfileCommand} [createProfileCommand]
27020
+ * @summary Delete Profile.
27021
+ * @param {string} profileId
27003
27022
  * @param {*} [options] Override http request option.
27004
27023
  * @throws {RequiredError}
27005
27024
  */
27006
- async apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
27007
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options);
27025
+ async apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
27026
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesProfileIdDelete(profileId, options);
27008
27027
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27009
27028
  },
27010
27029
  /**
@@ -27059,24 +27078,23 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
27059
27078
  },
27060
27079
  /**
27061
27080
  *
27062
- * @summary Delete Profile.
27063
- * @param {string} profileId
27064
- * @param {string} patientId
27081
+ * @summary Create a Profile.
27082
+ * @param {CreateProfileCommand} [createProfileCommand]
27065
27083
  * @param {*} [options] Override http request option.
27066
27084
  * @throws {RequiredError}
27067
27085
  */
27068
- apiV2ProfilesPatientIdDelete(profileId: string, patientId: string, options?: any): AxiosPromise<boolean> {
27069
- return localVarFp.apiV2ProfilesPatientIdDelete(profileId, patientId, options).then((request) => request(axios, basePath));
27086
+ apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel> {
27087
+ return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then((request) => request(axios, basePath));
27070
27088
  },
27071
27089
  /**
27072
27090
  *
27073
- * @summary Create a Profile.
27074
- * @param {CreateProfileCommand} [createProfileCommand]
27091
+ * @summary Delete Profile.
27092
+ * @param {string} profileId
27075
27093
  * @param {*} [options] Override http request option.
27076
27094
  * @throws {RequiredError}
27077
27095
  */
27078
- apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel> {
27079
- return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then((request) => request(axios, basePath));
27096
+ apiV2ProfilesProfileIdDelete(profileId: string, options?: any): AxiosPromise<boolean> {
27097
+ return localVarFp.apiV2ProfilesProfileIdDelete(profileId, options).then((request) => request(axios, basePath));
27080
27098
  },
27081
27099
  /**
27082
27100
  *
@@ -27135,27 +27153,26 @@ export class ProfilesApi extends BaseAPI {
27135
27153
 
27136
27154
  /**
27137
27155
  *
27138
- * @summary Delete Profile.
27139
- * @param {string} profileId
27140
- * @param {string} patientId
27156
+ * @summary Create a Profile.
27157
+ * @param {CreateProfileCommand} [createProfileCommand]
27141
27158
  * @param {*} [options] Override http request option.
27142
27159
  * @throws {RequiredError}
27143
27160
  * @memberof ProfilesApi
27144
27161
  */
27145
- public apiV2ProfilesPatientIdDelete(profileId: string, patientId: string, options?: AxiosRequestConfig) {
27146
- return ProfilesApiFp(this.configuration).apiV2ProfilesPatientIdDelete(profileId, patientId, options).then((request) => request(this.axios, this.basePath));
27162
+ public apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) {
27163
+ return ProfilesApiFp(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
27147
27164
  }
27148
27165
 
27149
27166
  /**
27150
27167
  *
27151
- * @summary Create a Profile.
27152
- * @param {CreateProfileCommand} [createProfileCommand]
27168
+ * @summary Delete Profile.
27169
+ * @param {string} profileId
27153
27170
  * @param {*} [options] Override http request option.
27154
27171
  * @throws {RequiredError}
27155
27172
  * @memberof ProfilesApi
27156
27173
  */
27157
- public apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) {
27158
- return ProfilesApiFp(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
27174
+ public apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig) {
27175
+ return ProfilesApiFp(this.configuration).apiV2ProfilesProfileIdDelete(profileId, options).then((request) => request(this.axios, this.basePath));
27159
27176
  }
27160
27177
 
27161
27178
  /**