ch-admin-api-client-typescript 4.6.4 → 4.6.6

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/src/api.ts CHANGED
@@ -15873,10 +15873,11 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
15873
15873
  *
15874
15874
  * @summary Delete AboutUs.
15875
15875
  * @param {string} hospitalId
15876
+ * @param {boolean} [isPermanent]
15876
15877
  * @param {*} [options] Override http request option.
15877
15878
  * @throws {RequiredError}
15878
15879
  */
15879
- apiV1AboutusHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15880
+ apiV1AboutusHospitalIdDelete: async (hospitalId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15880
15881
  // verify required parameter 'hospitalId' is not null or undefined
15881
15882
  assertParamExists('apiV1AboutusHospitalIdDelete', 'hospitalId', hospitalId)
15882
15883
  const localVarPath = `/api/v1/aboutus/{hospitalId}`
@@ -15896,6 +15897,10 @@ export const AboutUsApiAxiosParamCreator = function (configuration?: Configurati
15896
15897
  // oauth required
15897
15898
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15898
15899
 
15900
+ if (isPermanent !== undefined) {
15901
+ localVarQueryParameter['isPermanent'] = isPermanent;
15902
+ }
15903
+
15899
15904
 
15900
15905
 
15901
15906
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16117,11 +16122,12 @@ export const AboutUsApiFp = function(configuration?: Configuration) {
16117
16122
  *
16118
16123
  * @summary Delete AboutUs.
16119
16124
  * @param {string} hospitalId
16125
+ * @param {boolean} [isPermanent]
16120
16126
  * @param {*} [options] Override http request option.
16121
16127
  * @throws {RequiredError}
16122
16128
  */
16123
- async apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
16124
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options);
16129
+ async apiV1AboutusHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
16130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options);
16125
16131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16126
16132
  },
16127
16133
  /**
@@ -16206,11 +16212,12 @@ export const AboutUsApiFactory = function (configuration?: Configuration, basePa
16206
16212
  *
16207
16213
  * @summary Delete AboutUs.
16208
16214
  * @param {string} hospitalId
16215
+ * @param {boolean} [isPermanent]
16209
16216
  * @param {*} [options] Override http request option.
16210
16217
  * @throws {RequiredError}
16211
16218
  */
16212
- apiV1AboutusHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean> {
16213
- return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(axios, basePath));
16219
+ apiV1AboutusHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
16220
+ return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options).then((request) => request(axios, basePath));
16214
16221
  },
16215
16222
  /**
16216
16223
  *
@@ -16292,12 +16299,13 @@ export class AboutUsApi extends BaseAPI {
16292
16299
  *
16293
16300
  * @summary Delete AboutUs.
16294
16301
  * @param {string} hospitalId
16302
+ * @param {boolean} [isPermanent]
16295
16303
  * @param {*} [options] Override http request option.
16296
16304
  * @throws {RequiredError}
16297
16305
  * @memberof AboutUsApi
16298
16306
  */
16299
- public apiV1AboutusHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
16300
- return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
16307
+ public apiV1AboutusHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
16308
+ return AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options).then((request) => request(this.axios, this.basePath));
16301
16309
  }
16302
16310
 
16303
16311
  /**
@@ -17507,10 +17515,11 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
17507
17515
  *
17508
17516
  * @summary Delete Article.
17509
17517
  * @param {string} articleId
17518
+ * @param {boolean} [isPermanent]
17510
17519
  * @param {*} [options] Override http request option.
17511
17520
  * @throws {RequiredError}
17512
17521
  */
17513
- apiV1ArticlesArticleIdDelete: async (articleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17522
+ apiV1ArticlesArticleIdDelete: async (articleId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17514
17523
  // verify required parameter 'articleId' is not null or undefined
17515
17524
  assertParamExists('apiV1ArticlesArticleIdDelete', 'articleId', articleId)
17516
17525
  const localVarPath = `/api/v1/articles/{articleId}`
@@ -17530,6 +17539,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
17530
17539
  // oauth required
17531
17540
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
17532
17541
 
17542
+ if (isPermanent !== undefined) {
17543
+ localVarQueryParameter['isPermanent'] = isPermanent;
17544
+ }
17545
+
17533
17546
 
17534
17547
 
17535
17548
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18582,11 +18595,12 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
18582
18595
  *
18583
18596
  * @summary Delete Article.
18584
18597
  * @param {string} articleId
18598
+ * @param {boolean} [isPermanent]
18585
18599
  * @param {*} [options] Override http request option.
18586
18600
  * @throws {RequiredError}
18587
18601
  */
18588
- async apiV1ArticlesArticleIdDelete(articleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
18589
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdDelete(articleId, options);
18602
+ async apiV1ArticlesArticleIdDelete(articleId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
18603
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdDelete(articleId, isPermanent, options);
18590
18604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18591
18605
  },
18592
18606
  /**
@@ -18926,11 +18940,12 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
18926
18940
  *
18927
18941
  * @summary Delete Article.
18928
18942
  * @param {string} articleId
18943
+ * @param {boolean} [isPermanent]
18929
18944
  * @param {*} [options] Override http request option.
18930
18945
  * @throws {RequiredError}
18931
18946
  */
18932
- apiV1ArticlesArticleIdDelete(articleId: string, options?: any): AxiosPromise<boolean> {
18933
- return localVarFp.apiV1ArticlesArticleIdDelete(articleId, options).then((request) => request(axios, basePath));
18947
+ apiV1ArticlesArticleIdDelete(articleId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
18948
+ return localVarFp.apiV1ArticlesArticleIdDelete(articleId, isPermanent, options).then((request) => request(axios, basePath));
18934
18949
  },
18935
18950
  /**
18936
18951
  *
@@ -19260,12 +19275,13 @@ export class ArticlesApi extends BaseAPI {
19260
19275
  *
19261
19276
  * @summary Delete Article.
19262
19277
  * @param {string} articleId
19278
+ * @param {boolean} [isPermanent]
19263
19279
  * @param {*} [options] Override http request option.
19264
19280
  * @throws {RequiredError}
19265
19281
  * @memberof ArticlesApi
19266
19282
  */
19267
- public apiV1ArticlesArticleIdDelete(articleId: string, options?: AxiosRequestConfig) {
19268
- return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdDelete(articleId, options).then((request) => request(this.axios, this.basePath));
19283
+ public apiV1ArticlesArticleIdDelete(articleId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
19284
+ return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdDelete(articleId, isPermanent, options).then((request) => request(this.axios, this.basePath));
19269
19285
  }
19270
19286
 
19271
19287
  /**
@@ -20260,10 +20276,11 @@ export const CHAdminsApiAxiosParamCreator = function (configuration?: Configurat
20260
20276
  *
20261
20277
  * @summary Delete CHAdmin.
20262
20278
  * @param {string} cHAdminId
20279
+ * @param {boolean} [isPermanent]
20263
20280
  * @param {*} [options] Override http request option.
20264
20281
  * @throws {RequiredError}
20265
20282
  */
20266
- apiV1ChadminsCHAdminIdDelete: async (cHAdminId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20283
+ apiV1ChadminsCHAdminIdDelete: async (cHAdminId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20267
20284
  // verify required parameter 'cHAdminId' is not null or undefined
20268
20285
  assertParamExists('apiV1ChadminsCHAdminIdDelete', 'cHAdminId', cHAdminId)
20269
20286
  const localVarPath = `/api/v1/chadmins/{cHAdminId}`
@@ -20283,6 +20300,10 @@ export const CHAdminsApiAxiosParamCreator = function (configuration?: Configurat
20283
20300
  // oauth required
20284
20301
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
20285
20302
 
20303
+ if (isPermanent !== undefined) {
20304
+ localVarQueryParameter['isPermanent'] = isPermanent;
20305
+ }
20306
+
20286
20307
 
20287
20308
 
20288
20309
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20516,11 +20537,12 @@ export const CHAdminsApiFp = function(configuration?: Configuration) {
20516
20537
  *
20517
20538
  * @summary Delete CHAdmin.
20518
20539
  * @param {string} cHAdminId
20540
+ * @param {boolean} [isPermanent]
20519
20541
  * @param {*} [options] Override http request option.
20520
20542
  * @throws {RequiredError}
20521
20543
  */
20522
- async apiV1ChadminsCHAdminIdDelete(cHAdminId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
20523
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChadminsCHAdminIdDelete(cHAdminId, options);
20544
+ async apiV1ChadminsCHAdminIdDelete(cHAdminId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
20545
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options);
20524
20546
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20525
20547
  },
20526
20548
  /**
@@ -20591,11 +20613,12 @@ export const CHAdminsApiFactory = function (configuration?: Configuration, baseP
20591
20613
  *
20592
20614
  * @summary Delete CHAdmin.
20593
20615
  * @param {string} cHAdminId
20616
+ * @param {boolean} [isPermanent]
20594
20617
  * @param {*} [options] Override http request option.
20595
20618
  * @throws {RequiredError}
20596
20619
  */
20597
- apiV1ChadminsCHAdminIdDelete(cHAdminId: string, options?: any): AxiosPromise<boolean> {
20598
- return localVarFp.apiV1ChadminsCHAdminIdDelete(cHAdminId, options).then((request) => request(axios, basePath));
20620
+ apiV1ChadminsCHAdminIdDelete(cHAdminId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
20621
+ return localVarFp.apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options).then((request) => request(axios, basePath));
20599
20622
  },
20600
20623
  /**
20601
20624
  *
@@ -20661,12 +20684,13 @@ export class CHAdminsApi extends BaseAPI {
20661
20684
  *
20662
20685
  * @summary Delete CHAdmin.
20663
20686
  * @param {string} cHAdminId
20687
+ * @param {boolean} [isPermanent]
20664
20688
  * @param {*} [options] Override http request option.
20665
20689
  * @throws {RequiredError}
20666
20690
  * @memberof CHAdminsApi
20667
20691
  */
20668
- public apiV1ChadminsCHAdminIdDelete(cHAdminId: string, options?: AxiosRequestConfig) {
20669
- return CHAdminsApiFp(this.configuration).apiV1ChadminsCHAdminIdDelete(cHAdminId, options).then((request) => request(this.axios, this.basePath));
20692
+ public apiV1ChadminsCHAdminIdDelete(cHAdminId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
20693
+ return CHAdminsApiFp(this.configuration).apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options).then((request) => request(this.axios, this.basePath));
20670
20694
  }
20671
20695
 
20672
20696
  /**
@@ -20739,10 +20763,11 @@ export const CHManagersApiAxiosParamCreator = function (configuration?: Configur
20739
20763
  *
20740
20764
  * @summary Delete CHManager.
20741
20765
  * @param {string} cHManagerId
20766
+ * @param {boolean} [isPermanent]
20742
20767
  * @param {*} [options] Override http request option.
20743
20768
  * @throws {RequiredError}
20744
20769
  */
20745
- apiV1ChmanagersCHManagerIdDelete: async (cHManagerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20770
+ apiV1ChmanagersCHManagerIdDelete: async (cHManagerId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20746
20771
  // verify required parameter 'cHManagerId' is not null or undefined
20747
20772
  assertParamExists('apiV1ChmanagersCHManagerIdDelete', 'cHManagerId', cHManagerId)
20748
20773
  const localVarPath = `/api/v1/chmanagers/{cHManagerId}`
@@ -20762,6 +20787,10 @@ export const CHManagersApiAxiosParamCreator = function (configuration?: Configur
20762
20787
  // oauth required
20763
20788
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
20764
20789
 
20790
+ if (isPermanent !== undefined) {
20791
+ localVarQueryParameter['isPermanent'] = isPermanent;
20792
+ }
20793
+
20765
20794
 
20766
20795
 
20767
20796
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20995,11 +21024,12 @@ export const CHManagersApiFp = function(configuration?: Configuration) {
20995
21024
  *
20996
21025
  * @summary Delete CHManager.
20997
21026
  * @param {string} cHManagerId
21027
+ * @param {boolean} [isPermanent]
20998
21028
  * @param {*} [options] Override http request option.
20999
21029
  * @throws {RequiredError}
21000
21030
  */
21001
- async apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
21002
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChmanagersCHManagerIdDelete(cHManagerId, options);
21031
+ async apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
21032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options);
21003
21033
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21004
21034
  },
21005
21035
  /**
@@ -21070,11 +21100,12 @@ export const CHManagersApiFactory = function (configuration?: Configuration, bas
21070
21100
  *
21071
21101
  * @summary Delete CHManager.
21072
21102
  * @param {string} cHManagerId
21103
+ * @param {boolean} [isPermanent]
21073
21104
  * @param {*} [options] Override http request option.
21074
21105
  * @throws {RequiredError}
21075
21106
  */
21076
- apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, options?: any): AxiosPromise<boolean> {
21077
- return localVarFp.apiV1ChmanagersCHManagerIdDelete(cHManagerId, options).then((request) => request(axios, basePath));
21107
+ apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
21108
+ return localVarFp.apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options).then((request) => request(axios, basePath));
21078
21109
  },
21079
21110
  /**
21080
21111
  *
@@ -21140,12 +21171,13 @@ export class CHManagersApi extends BaseAPI {
21140
21171
  *
21141
21172
  * @summary Delete CHManager.
21142
21173
  * @param {string} cHManagerId
21174
+ * @param {boolean} [isPermanent]
21143
21175
  * @param {*} [options] Override http request option.
21144
21176
  * @throws {RequiredError}
21145
21177
  * @memberof CHManagersApi
21146
21178
  */
21147
- public apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, options?: AxiosRequestConfig) {
21148
- return CHManagersApiFp(this.configuration).apiV1ChmanagersCHManagerIdDelete(cHManagerId, options).then((request) => request(this.axios, this.basePath));
21179
+ public apiV1ChmanagersCHManagerIdDelete(cHManagerId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
21180
+ return CHManagersApiFp(this.configuration).apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options).then((request) => request(this.axios, this.basePath));
21149
21181
  }
21150
21182
 
21151
21183
  /**
@@ -22661,10 +22693,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
22661
22693
  *
22662
22694
  * @summary Delete Contributor.
22663
22695
  * @param {string} contributorId
22696
+ * @param {boolean} [isPermanent]
22664
22697
  * @param {*} [options] Override http request option.
22665
22698
  * @throws {RequiredError}
22666
22699
  */
22667
- apiV1ContributorsContributorIdDelete: async (contributorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22700
+ apiV1ContributorsContributorIdDelete: async (contributorId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22668
22701
  // verify required parameter 'contributorId' is not null or undefined
22669
22702
  assertParamExists('apiV1ContributorsContributorIdDelete', 'contributorId', contributorId)
22670
22703
  const localVarPath = `/api/v1/contributors/{contributorId}`
@@ -22684,6 +22717,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
22684
22717
  // oauth required
22685
22718
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
22686
22719
 
22720
+ if (isPermanent !== undefined) {
22721
+ localVarQueryParameter['isPermanent'] = isPermanent;
22722
+ }
22723
+
22687
22724
 
22688
22725
 
22689
22726
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -23228,11 +23265,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
23228
23265
  *
23229
23266
  * @summary Delete Contributor.
23230
23267
  * @param {string} contributorId
23268
+ * @param {boolean} [isPermanent]
23231
23269
  * @param {*} [options] Override http request option.
23232
23270
  * @throws {RequiredError}
23233
23271
  */
23234
- async apiV1ContributorsContributorIdDelete(contributorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23235
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdDelete(contributorId, options);
23272
+ async apiV1ContributorsContributorIdDelete(contributorId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23273
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options);
23236
23274
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23237
23275
  },
23238
23276
  /**
@@ -23387,11 +23425,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
23387
23425
  *
23388
23426
  * @summary Delete Contributor.
23389
23427
  * @param {string} contributorId
23428
+ * @param {boolean} [isPermanent]
23390
23429
  * @param {*} [options] Override http request option.
23391
23430
  * @throws {RequiredError}
23392
23431
  */
23393
- apiV1ContributorsContributorIdDelete(contributorId: string, options?: any): AxiosPromise<boolean> {
23394
- return localVarFp.apiV1ContributorsContributorIdDelete(contributorId, options).then((request) => request(axios, basePath));
23432
+ apiV1ContributorsContributorIdDelete(contributorId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
23433
+ return localVarFp.apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options).then((request) => request(axios, basePath));
23395
23434
  },
23396
23435
  /**
23397
23436
  *
@@ -23535,12 +23574,13 @@ export class ContributorsApi extends BaseAPI {
23535
23574
  *
23536
23575
  * @summary Delete Contributor.
23537
23576
  * @param {string} contributorId
23577
+ * @param {boolean} [isPermanent]
23538
23578
  * @param {*} [options] Override http request option.
23539
23579
  * @throws {RequiredError}
23540
23580
  * @memberof ContributorsApi
23541
23581
  */
23542
- public apiV1ContributorsContributorIdDelete(contributorId: string, options?: AxiosRequestConfig) {
23543
- return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdDelete(contributorId, options).then((request) => request(this.axios, this.basePath));
23582
+ public apiV1ContributorsContributorIdDelete(contributorId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
23583
+ return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options).then((request) => request(this.axios, this.basePath));
23544
23584
  }
23545
23585
 
23546
23586
  /**
@@ -23703,10 +23743,11 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
23703
23743
  *
23704
23744
  * @summary Delete country.
23705
23745
  * @param {string} countryId
23746
+ * @param {boolean} [isPermanent] Admin only
23706
23747
  * @param {*} [options] Override http request option.
23707
23748
  * @throws {RequiredError}
23708
23749
  */
23709
- apiV1CountriesCountryIdDelete: async (countryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23750
+ apiV1CountriesCountryIdDelete: async (countryId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23710
23751
  // verify required parameter 'countryId' is not null or undefined
23711
23752
  assertParamExists('apiV1CountriesCountryIdDelete', 'countryId', countryId)
23712
23753
  const localVarPath = `/api/v1/countries/{countryId}`
@@ -23726,6 +23767,10 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
23726
23767
  // oauth required
23727
23768
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23728
23769
 
23770
+ if (isPermanent !== undefined) {
23771
+ localVarQueryParameter['isPermanent'] = isPermanent;
23772
+ }
23773
+
23729
23774
 
23730
23775
 
23731
23776
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -24284,11 +24329,12 @@ export const CountriesApiFp = function(configuration?: Configuration) {
24284
24329
  *
24285
24330
  * @summary Delete country.
24286
24331
  * @param {string} countryId
24332
+ * @param {boolean} [isPermanent] Admin only
24287
24333
  * @param {*} [options] Override http request option.
24288
24334
  * @throws {RequiredError}
24289
24335
  */
24290
- async apiV1CountriesCountryIdDelete(countryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24291
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdDelete(countryId, options);
24336
+ async apiV1CountriesCountryIdDelete(countryId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24337
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CountriesCountryIdDelete(countryId, isPermanent, options);
24292
24338
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24293
24339
  },
24294
24340
  /**
@@ -24448,11 +24494,12 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
24448
24494
  *
24449
24495
  * @summary Delete country.
24450
24496
  * @param {string} countryId
24497
+ * @param {boolean} [isPermanent] Admin only
24451
24498
  * @param {*} [options] Override http request option.
24452
24499
  * @throws {RequiredError}
24453
24500
  */
24454
- apiV1CountriesCountryIdDelete(countryId: string, options?: any): AxiosPromise<boolean> {
24455
- return localVarFp.apiV1CountriesCountryIdDelete(countryId, options).then((request) => request(axios, basePath));
24501
+ apiV1CountriesCountryIdDelete(countryId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
24502
+ return localVarFp.apiV1CountriesCountryIdDelete(countryId, isPermanent, options).then((request) => request(axios, basePath));
24456
24503
  },
24457
24504
  /**
24458
24505
  *
@@ -24600,12 +24647,13 @@ export class CountriesApi extends BaseAPI {
24600
24647
  *
24601
24648
  * @summary Delete country.
24602
24649
  * @param {string} countryId
24650
+ * @param {boolean} [isPermanent] Admin only
24603
24651
  * @param {*} [options] Override http request option.
24604
24652
  * @throws {RequiredError}
24605
24653
  * @memberof CountriesApi
24606
24654
  */
24607
- public apiV1CountriesCountryIdDelete(countryId: string, options?: AxiosRequestConfig) {
24608
- return CountriesApiFp(this.configuration).apiV1CountriesCountryIdDelete(countryId, options).then((request) => request(this.axios, this.basePath));
24655
+ public apiV1CountriesCountryIdDelete(countryId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
24656
+ return CountriesApiFp(this.configuration).apiV1CountriesCountryIdDelete(countryId, isPermanent, options).then((request) => request(this.axios, this.basePath));
24609
24657
  }
24610
24658
 
24611
24659
  /**
@@ -24883,10 +24931,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
24883
24931
  *
24884
24932
  * @summary Delete deal.
24885
24933
  * @param {string} dealId
24934
+ * @param {boolean} [isPermanent]
24886
24935
  * @param {*} [options] Override http request option.
24887
24936
  * @throws {RequiredError}
24888
24937
  */
24889
- apiV1DealsDealIdDelete: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24938
+ apiV1DealsDealIdDelete: async (dealId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24890
24939
  // verify required parameter 'dealId' is not null or undefined
24891
24940
  assertParamExists('apiV1DealsDealIdDelete', 'dealId', dealId)
24892
24941
  const localVarPath = `/api/v1/deals/{dealId}`
@@ -24906,6 +24955,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
24906
24955
  // oauth required
24907
24956
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24908
24957
 
24958
+ if (isPermanent !== undefined) {
24959
+ localVarQueryParameter['isPermanent'] = isPermanent;
24960
+ }
24961
+
24909
24962
 
24910
24963
 
24911
24964
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -25060,10 +25113,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
25060
25113
  * @summary Delete DealPackage.
25061
25114
  * @param {string} dealId
25062
25115
  * @param {string} packageId
25116
+ * @param {boolean} [isPermanent]
25063
25117
  * @param {*} [options] Override http request option.
25064
25118
  * @throws {RequiredError}
25065
25119
  */
25066
- apiV1DealsDealIdPackagesPackageIdDelete: async (dealId: string, packageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25120
+ apiV1DealsDealIdPackagesPackageIdDelete: async (dealId: string, packageId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25067
25121
  // verify required parameter 'dealId' is not null or undefined
25068
25122
  assertParamExists('apiV1DealsDealIdPackagesPackageIdDelete', 'dealId', dealId)
25069
25123
  // verify required parameter 'packageId' is not null or undefined
@@ -25086,6 +25140,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
25086
25140
  // oauth required
25087
25141
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
25088
25142
 
25143
+ if (isPermanent !== undefined) {
25144
+ localVarQueryParameter['isPermanent'] = isPermanent;
25145
+ }
25146
+
25089
25147
 
25090
25148
 
25091
25149
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -25903,11 +25961,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
25903
25961
  *
25904
25962
  * @summary Delete deal.
25905
25963
  * @param {string} dealId
25964
+ * @param {boolean} [isPermanent]
25906
25965
  * @param {*} [options] Override http request option.
25907
25966
  * @throws {RequiredError}
25908
25967
  */
25909
- async apiV1DealsDealIdDelete(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25910
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdDelete(dealId, options);
25968
+ async apiV1DealsDealIdDelete(dealId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdDelete(dealId, isPermanent, options);
25911
25970
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25912
25971
  },
25913
25972
  /**
@@ -25949,11 +26008,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
25949
26008
  * @summary Delete DealPackage.
25950
26009
  * @param {string} dealId
25951
26010
  * @param {string} packageId
26011
+ * @param {boolean} [isPermanent]
25952
26012
  * @param {*} [options] Override http request option.
25953
26013
  * @throws {RequiredError}
25954
26014
  */
25955
- async apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25956
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options);
26015
+ async apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
26016
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options);
25957
26017
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25958
26018
  },
25959
26019
  /**
@@ -26173,11 +26233,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
26173
26233
  *
26174
26234
  * @summary Delete deal.
26175
26235
  * @param {string} dealId
26236
+ * @param {boolean} [isPermanent]
26176
26237
  * @param {*} [options] Override http request option.
26177
26238
  * @throws {RequiredError}
26178
26239
  */
26179
- apiV1DealsDealIdDelete(dealId: string, options?: any): AxiosPromise<boolean> {
26180
- return localVarFp.apiV1DealsDealIdDelete(dealId, options).then((request) => request(axios, basePath));
26240
+ apiV1DealsDealIdDelete(dealId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
26241
+ return localVarFp.apiV1DealsDealIdDelete(dealId, isPermanent, options).then((request) => request(axios, basePath));
26181
26242
  },
26182
26243
  /**
26183
26244
  *
@@ -26216,11 +26277,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
26216
26277
  * @summary Delete DealPackage.
26217
26278
  * @param {string} dealId
26218
26279
  * @param {string} packageId
26280
+ * @param {boolean} [isPermanent]
26219
26281
  * @param {*} [options] Override http request option.
26220
26282
  * @throws {RequiredError}
26221
26283
  */
26222
- apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, options?: any): AxiosPromise<boolean> {
26223
- return localVarFp.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options).then((request) => request(axios, basePath));
26284
+ apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
26285
+ return localVarFp.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then((request) => request(axios, basePath));
26224
26286
  },
26225
26287
  /**
26226
26288
  *
@@ -26426,12 +26488,13 @@ export class DealsApi extends BaseAPI {
26426
26488
  *
26427
26489
  * @summary Delete deal.
26428
26490
  * @param {string} dealId
26491
+ * @param {boolean} [isPermanent]
26429
26492
  * @param {*} [options] Override http request option.
26430
26493
  * @throws {RequiredError}
26431
26494
  * @memberof DealsApi
26432
26495
  */
26433
- public apiV1DealsDealIdDelete(dealId: string, options?: AxiosRequestConfig) {
26434
- return DealsApiFp(this.configuration).apiV1DealsDealIdDelete(dealId, options).then((request) => request(this.axios, this.basePath));
26496
+ public apiV1DealsDealIdDelete(dealId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
26497
+ return DealsApiFp(this.configuration).apiV1DealsDealIdDelete(dealId, isPermanent, options).then((request) => request(this.axios, this.basePath));
26435
26498
  }
26436
26499
 
26437
26500
  /**
@@ -26475,12 +26538,13 @@ export class DealsApi extends BaseAPI {
26475
26538
  * @summary Delete DealPackage.
26476
26539
  * @param {string} dealId
26477
26540
  * @param {string} packageId
26541
+ * @param {boolean} [isPermanent]
26478
26542
  * @param {*} [options] Override http request option.
26479
26543
  * @throws {RequiredError}
26480
26544
  * @memberof DealsApi
26481
26545
  */
26482
- public apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, options?: AxiosRequestConfig) {
26483
- return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options).then((request) => request(this.axios, this.basePath));
26546
+ public apiV1DealsDealIdPackagesPackageIdDelete(dealId: string, packageId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
26547
+ return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then((request) => request(this.axios, this.basePath));
26484
26548
  }
26485
26549
 
26486
26550
  /**
@@ -27049,10 +27113,11 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
27049
27113
  *
27050
27114
  * @summary Delete doctor affiliation.
27051
27115
  * @param {string} id
27116
+ * @param {boolean} [isPermanent]
27052
27117
  * @param {*} [options] Override http request option.
27053
27118
  * @throws {RequiredError}
27054
27119
  */
27055
- apiV1DoctoraffiliationsIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27120
+ apiV1DoctoraffiliationsIdDelete: async (id: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27056
27121
  // verify required parameter 'id' is not null or undefined
27057
27122
  assertParamExists('apiV1DoctoraffiliationsIdDelete', 'id', id)
27058
27123
  const localVarPath = `/api/v1/doctoraffiliations/{id}`
@@ -27072,6 +27137,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
27072
27137
  // oauth required
27073
27138
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
27074
27139
 
27140
+ if (isPermanent !== undefined) {
27141
+ localVarQueryParameter['isPermanent'] = isPermanent;
27142
+ }
27143
+
27075
27144
 
27076
27145
 
27077
27146
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -27387,11 +27456,12 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
27387
27456
  *
27388
27457
  * @summary Delete doctor affiliation.
27389
27458
  * @param {string} id
27459
+ * @param {boolean} [isPermanent]
27390
27460
  * @param {*} [options] Override http request option.
27391
27461
  * @throws {RequiredError}
27392
27462
  */
27393
- async apiV1DoctoraffiliationsIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
27394
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, options);
27463
+ async apiV1DoctoraffiliationsIdDelete(id: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
27464
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options);
27395
27465
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27396
27466
  },
27397
27467
  /**
@@ -27547,11 +27617,12 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
27547
27617
  *
27548
27618
  * @summary Delete doctor affiliation.
27549
27619
  * @param {string} id
27620
+ * @param {boolean} [isPermanent]
27550
27621
  * @param {*} [options] Override http request option.
27551
27622
  * @throws {RequiredError}
27552
27623
  */
27553
- apiV1DoctoraffiliationsIdDelete(id: string, options?: any): AxiosPromise<boolean> {
27554
- return localVarFp.apiV1DoctoraffiliationsIdDelete(id, options).then((request) => request(axios, basePath));
27624
+ apiV1DoctoraffiliationsIdDelete(id: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
27625
+ return localVarFp.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options).then((request) => request(axios, basePath));
27555
27626
  },
27556
27627
  /**
27557
27628
  *
@@ -27713,12 +27784,13 @@ export class DoctorAffiliationsApi extends BaseAPI {
27713
27784
  *
27714
27785
  * @summary Delete doctor affiliation.
27715
27786
  * @param {string} id
27787
+ * @param {boolean} [isPermanent]
27716
27788
  * @param {*} [options] Override http request option.
27717
27789
  * @throws {RequiredError}
27718
27790
  * @memberof DoctorAffiliationsApi
27719
27791
  */
27720
- public apiV1DoctoraffiliationsIdDelete(id: string, options?: AxiosRequestConfig) {
27721
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
27792
+ public apiV1DoctoraffiliationsIdDelete(id: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
27793
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, isPermanent, options).then((request) => request(this.axios, this.basePath));
27722
27794
  }
27723
27795
 
27724
27796
  /**
@@ -28051,10 +28123,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
28051
28123
  *
28052
28124
  * @summary Delete Doctor.
28053
28125
  * @param {string} doctorId
28126
+ * @param {boolean} [isPermanent]
28054
28127
  * @param {*} [options] Override http request option.
28055
28128
  * @throws {RequiredError}
28056
28129
  */
28057
- apiV1DoctorsDoctorIdDelete: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28130
+ apiV1DoctorsDoctorIdDelete: async (doctorId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28058
28131
  // verify required parameter 'doctorId' is not null or undefined
28059
28132
  assertParamExists('apiV1DoctorsDoctorIdDelete', 'doctorId', doctorId)
28060
28133
  const localVarPath = `/api/v1/doctors/{doctorId}`
@@ -28074,6 +28147,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
28074
28147
  // oauth required
28075
28148
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
28076
28149
 
28150
+ if (isPermanent !== undefined) {
28151
+ localVarQueryParameter['isPermanent'] = isPermanent;
28152
+ }
28153
+
28077
28154
 
28078
28155
 
28079
28156
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29764,11 +29841,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
29764
29841
  *
29765
29842
  * @summary Delete Doctor.
29766
29843
  * @param {string} doctorId
29844
+ * @param {boolean} [isPermanent]
29767
29845
  * @param {*} [options] Override http request option.
29768
29846
  * @throws {RequiredError}
29769
29847
  */
29770
- async apiV1DoctorsDoctorIdDelete(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
29771
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdDelete(doctorId, options);
29848
+ async apiV1DoctorsDoctorIdDelete(doctorId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
29849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options);
29772
29850
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29773
29851
  },
29774
29852
  /**
@@ -30272,11 +30350,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
30272
30350
  *
30273
30351
  * @summary Delete Doctor.
30274
30352
  * @param {string} doctorId
30353
+ * @param {boolean} [isPermanent]
30275
30354
  * @param {*} [options] Override http request option.
30276
30355
  * @throws {RequiredError}
30277
30356
  */
30278
- apiV1DoctorsDoctorIdDelete(doctorId: string, options?: any): AxiosPromise<boolean> {
30279
- return localVarFp.apiV1DoctorsDoctorIdDelete(doctorId, options).then((request) => request(axios, basePath));
30357
+ apiV1DoctorsDoctorIdDelete(doctorId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
30358
+ return localVarFp.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then((request) => request(axios, basePath));
30280
30359
  },
30281
30360
  /**
30282
30361
  *
@@ -30758,12 +30837,13 @@ export class DoctorsApi extends BaseAPI {
30758
30837
  *
30759
30838
  * @summary Delete Doctor.
30760
30839
  * @param {string} doctorId
30840
+ * @param {boolean} [isPermanent]
30761
30841
  * @param {*} [options] Override http request option.
30762
30842
  * @throws {RequiredError}
30763
30843
  * @memberof DoctorsApi
30764
30844
  */
30765
- public apiV1DoctorsDoctorIdDelete(doctorId: string, options?: AxiosRequestConfig) {
30766
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdDelete(doctorId, options).then((request) => request(this.axios, this.basePath));
30845
+ public apiV1DoctorsDoctorIdDelete(doctorId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
30846
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then((request) => request(this.axios, this.basePath));
30767
30847
  }
30768
30848
 
30769
30849
  /**
@@ -31731,10 +31811,11 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
31731
31811
  * @summary Delete FaqCategory.
31732
31812
  * @param {string} faqCategoryId
31733
31813
  * @param {boolean} [forceDelete]
31814
+ * @param {boolean} [isPermanent]
31734
31815
  * @param {*} [options] Override http request option.
31735
31816
  * @throws {RequiredError}
31736
31817
  */
31737
- apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31818
+ apiV1FaqcategoriesFaqCategoryIdDelete: async (faqCategoryId: string, forceDelete?: boolean, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31738
31819
  // verify required parameter 'faqCategoryId' is not null or undefined
31739
31820
  assertParamExists('apiV1FaqcategoriesFaqCategoryIdDelete', 'faqCategoryId', faqCategoryId)
31740
31821
  const localVarPath = `/api/v1/faqcategories/{faqCategoryId}`
@@ -31758,6 +31839,10 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
31758
31839
  localVarQueryParameter['forceDelete'] = forceDelete;
31759
31840
  }
31760
31841
 
31842
+ if (isPermanent !== undefined) {
31843
+ localVarQueryParameter['isPermanent'] = isPermanent;
31844
+ }
31845
+
31761
31846
 
31762
31847
 
31763
31848
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -32046,11 +32131,12 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
32046
32131
  * @summary Delete FaqCategory.
32047
32132
  * @param {string} faqCategoryId
32048
32133
  * @param {boolean} [forceDelete]
32134
+ * @param {boolean} [isPermanent]
32049
32135
  * @param {*} [options] Override http request option.
32050
32136
  * @throws {RequiredError}
32051
32137
  */
32052
- async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
32053
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options);
32138
+ async apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
32139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options);
32054
32140
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32055
32141
  },
32056
32142
  /**
@@ -32137,11 +32223,12 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
32137
32223
  * @summary Delete FaqCategory.
32138
32224
  * @param {string} faqCategoryId
32139
32225
  * @param {boolean} [forceDelete]
32226
+ * @param {boolean} [isPermanent]
32140
32227
  * @param {*} [options] Override http request option.
32141
32228
  * @throws {RequiredError}
32142
32229
  */
32143
- apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
32144
- return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(axios, basePath));
32230
+ apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
32231
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options).then((request) => request(axios, basePath));
32145
32232
  },
32146
32233
  /**
32147
32234
  *
@@ -32222,12 +32309,13 @@ export class FaqCategoriesApi extends BaseAPI {
32222
32309
  * @summary Delete FaqCategory.
32223
32310
  * @param {string} faqCategoryId
32224
32311
  * @param {boolean} [forceDelete]
32312
+ * @param {boolean} [isPermanent]
32225
32313
  * @param {*} [options] Override http request option.
32226
32314
  * @throws {RequiredError}
32227
32315
  * @memberof FaqCategoriesApi
32228
32316
  */
32229
- public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
32230
- return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then((request) => request(this.axios, this.basePath));
32317
+ public apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId: string, forceDelete?: boolean, isPermanent?: boolean, options?: AxiosRequestConfig) {
32318
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options).then((request) => request(this.axios, this.basePath));
32231
32319
  }
32232
32320
 
32233
32321
  /**
@@ -32317,10 +32405,11 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
32317
32405
  * @summary Delete faq.
32318
32406
  * @param {string} faqId
32319
32407
  * @param {boolean} [forceDelete]
32408
+ * @param {boolean} [isPermanent]
32320
32409
  * @param {*} [options] Override http request option.
32321
32410
  * @throws {RequiredError}
32322
32411
  */
32323
- apiV1FaqsFaqIdDelete: async (faqId: string, forceDelete?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32412
+ apiV1FaqsFaqIdDelete: async (faqId: string, forceDelete?: boolean, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32324
32413
  // verify required parameter 'faqId' is not null or undefined
32325
32414
  assertParamExists('apiV1FaqsFaqIdDelete', 'faqId', faqId)
32326
32415
  const localVarPath = `/api/v1/faqs/{faqId}`
@@ -32344,6 +32433,10 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
32344
32433
  localVarQueryParameter['forceDelete'] = forceDelete;
32345
32434
  }
32346
32435
 
32436
+ if (isPermanent !== undefined) {
32437
+ localVarQueryParameter['isPermanent'] = isPermanent;
32438
+ }
32439
+
32347
32440
 
32348
32441
 
32349
32442
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33064,11 +33157,12 @@ export const FaqsApiFp = function(configuration?: Configuration) {
33064
33157
  * @summary Delete faq.
33065
33158
  * @param {string} faqId
33066
33159
  * @param {boolean} [forceDelete]
33160
+ * @param {boolean} [isPermanent]
33067
33161
  * @param {*} [options] Override http request option.
33068
33162
  * @throws {RequiredError}
33069
33163
  */
33070
- async apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
33071
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, options);
33164
+ async apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
33165
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options);
33072
33166
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33073
33167
  },
33074
33168
  /**
@@ -33273,11 +33367,12 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
33273
33367
  * @summary Delete faq.
33274
33368
  * @param {string} faqId
33275
33369
  * @param {boolean} [forceDelete]
33370
+ * @param {boolean} [isPermanent]
33276
33371
  * @param {*} [options] Override http request option.
33277
33372
  * @throws {RequiredError}
33278
33373
  */
33279
- apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: any): AxiosPromise<boolean> {
33280
- return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then((request) => request(axios, basePath));
33374
+ apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
33375
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options).then((request) => request(axios, basePath));
33281
33376
  },
33282
33377
  /**
33283
33378
  *
@@ -33467,12 +33562,13 @@ export class FaqsApi extends BaseAPI {
33467
33562
  * @summary Delete faq.
33468
33563
  * @param {string} faqId
33469
33564
  * @param {boolean} [forceDelete]
33565
+ * @param {boolean} [isPermanent]
33470
33566
  * @param {*} [options] Override http request option.
33471
33567
  * @throws {RequiredError}
33472
33568
  * @memberof FaqsApi
33473
33569
  */
33474
- public apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, options?: AxiosRequestConfig) {
33475
- return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then((request) => request(this.axios, this.basePath));
33570
+ public apiV1FaqsFaqIdDelete(faqId: string, forceDelete?: boolean, isPermanent?: boolean, options?: AxiosRequestConfig) {
33571
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options).then((request) => request(this.axios, this.basePath));
33476
33572
  }
33477
33573
 
33478
33574
  /**
@@ -34534,10 +34630,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34534
34630
  *
34535
34631
  * @summary Delete Hospital.
34536
34632
  * @param {string} hospitalId
34633
+ * @param {boolean} [isPermanent]
34537
34634
  * @param {*} [options] Override http request option.
34538
34635
  * @throws {RequiredError}
34539
34636
  */
34540
- apiV1HospitalsHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34637
+ apiV1HospitalsHospitalIdDelete: async (hospitalId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34541
34638
  // verify required parameter 'hospitalId' is not null or undefined
34542
34639
  assertParamExists('apiV1HospitalsHospitalIdDelete', 'hospitalId', hospitalId)
34543
34640
  const localVarPath = `/api/v1/hospitals/{hospitalId}`
@@ -34557,6 +34654,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34557
34654
  // oauth required
34558
34655
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34559
34656
 
34657
+ if (isPermanent !== undefined) {
34658
+ localVarQueryParameter['isPermanent'] = isPermanent;
34659
+ }
34660
+
34560
34661
 
34561
34662
 
34562
34663
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34573,10 +34674,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34573
34674
  * @summary Delete HospitalEquipment
34574
34675
  * @param {string} hospitalId
34575
34676
  * @param {string} equipmentId
34677
+ * @param {boolean} [isPermanent]
34576
34678
  * @param {*} [options] Override http request option.
34577
34679
  * @throws {RequiredError}
34578
34680
  */
34579
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: async (hospitalId: string, equipmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34681
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: async (hospitalId: string, equipmentId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34580
34682
  // verify required parameter 'hospitalId' is not null or undefined
34581
34683
  assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete', 'hospitalId', hospitalId)
34582
34684
  // verify required parameter 'equipmentId' is not null or undefined
@@ -34599,6 +34701,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
34599
34701
  // oauth required
34600
34702
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34601
34703
 
34704
+ if (isPermanent !== undefined) {
34705
+ localVarQueryParameter['isPermanent'] = isPermanent;
34706
+ }
34707
+
34602
34708
 
34603
34709
 
34604
34710
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -35697,10 +35803,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
35697
35803
  * @summary Delete Landing.
35698
35804
  * @param {string} hospitalId
35699
35805
  * @param {string} landingId
35806
+ * @param {boolean} [isPermanent]
35700
35807
  * @param {*} [options] Override http request option.
35701
35808
  * @throws {RequiredError}
35702
35809
  */
35703
- apiV1HospitalsHospitalIdLandingsLandingIdDelete: async (hospitalId: string, landingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35810
+ apiV1HospitalsHospitalIdLandingsLandingIdDelete: async (hospitalId: string, landingId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35704
35811
  // verify required parameter 'hospitalId' is not null or undefined
35705
35812
  assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'hospitalId', hospitalId)
35706
35813
  // verify required parameter 'landingId' is not null or undefined
@@ -35723,6 +35830,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
35723
35830
  // oauth required
35724
35831
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
35725
35832
 
35833
+ if (isPermanent !== undefined) {
35834
+ localVarQueryParameter['isPermanent'] = isPermanent;
35835
+ }
35836
+
35726
35837
 
35727
35838
 
35728
35839
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -36533,10 +36644,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
36533
36644
  * @summary Delete HospitalSpecialty.
36534
36645
  * @param {string} hospitalId
36535
36646
  * @param {string} hospitalSpecialtyId
36647
+ * @param {boolean} [isPermanent]
36536
36648
  * @param {*} [options] Override http request option.
36537
36649
  * @throws {RequiredError}
36538
36650
  */
36539
- apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36651
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: async (hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36540
36652
  // verify required parameter 'hospitalId' is not null or undefined
36541
36653
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete', 'hospitalId', hospitalId)
36542
36654
  // verify required parameter 'hospitalSpecialtyId' is not null or undefined
@@ -36559,6 +36671,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
36559
36671
  // oauth required
36560
36672
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
36561
36673
 
36674
+ if (isPermanent !== undefined) {
36675
+ localVarQueryParameter['isPermanent'] = isPermanent;
36676
+ }
36677
+
36562
36678
 
36563
36679
 
36564
36680
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -37278,13 +37394,15 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
37278
37394
  },
37279
37395
  /**
37280
37396
  *
37397
+ * @summary Delete HospitalService
37281
37398
  * @param {string} hospitalId
37282
37399
  * @param {string} specialtyId
37283
37400
  * @param {string} serviceId
37401
+ * @param {boolean} [isPermanent]
37284
37402
  * @param {*} [options] Override http request option.
37285
37403
  * @throws {RequiredError}
37286
37404
  */
37287
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37405
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37288
37406
  // verify required parameter 'hospitalId' is not null or undefined
37289
37407
  assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
37290
37408
  // verify required parameter 'specialtyId' is not null or undefined
@@ -37310,6 +37428,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
37310
37428
  // oauth required
37311
37429
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
37312
37430
 
37431
+ if (isPermanent !== undefined) {
37432
+ localVarQueryParameter['isPermanent'] = isPermanent;
37433
+ }
37434
+
37313
37435
 
37314
37436
 
37315
37437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -38375,11 +38497,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
38375
38497
  *
38376
38498
  * @summary Delete Hospital.
38377
38499
  * @param {string} hospitalId
38500
+ * @param {boolean} [isPermanent]
38378
38501
  * @param {*} [options] Override http request option.
38379
38502
  * @throws {RequiredError}
38380
38503
  */
38381
- async apiV1HospitalsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38382
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdDelete(hospitalId, options);
38504
+ async apiV1HospitalsHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38505
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options);
38383
38506
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38384
38507
  },
38385
38508
  /**
@@ -38387,11 +38510,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
38387
38510
  * @summary Delete HospitalEquipment
38388
38511
  * @param {string} hospitalId
38389
38512
  * @param {string} equipmentId
38513
+ * @param {boolean} [isPermanent]
38390
38514
  * @param {*} [options] Override http request option.
38391
38515
  * @throws {RequiredError}
38392
38516
  */
38393
- async apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38394
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options);
38517
+ async apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38518
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options);
38395
38519
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38396
38520
  },
38397
38521
  /**
@@ -38689,11 +38813,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
38689
38813
  * @summary Delete Landing.
38690
38814
  * @param {string} hospitalId
38691
38815
  * @param {string} landingId
38816
+ * @param {boolean} [isPermanent]
38692
38817
  * @param {*} [options] Override http request option.
38693
38818
  * @throws {RequiredError}
38694
38819
  */
38695
- async apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38696
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options);
38820
+ async apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options);
38697
38822
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38698
38823
  },
38699
38824
  /**
@@ -38916,11 +39041,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
38916
39041
  * @summary Delete HospitalSpecialty.
38917
39042
  * @param {string} hospitalId
38918
39043
  * @param {string} hospitalSpecialtyId
39044
+ * @param {boolean} [isPermanent]
38919
39045
  * @param {*} [options] Override http request option.
38920
39046
  * @throws {RequiredError}
38921
39047
  */
38922
- async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
38923
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options);
39048
+ async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
39049
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options);
38924
39050
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38925
39051
  },
38926
39052
  /**
@@ -39109,14 +39235,16 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
39109
39235
  },
39110
39236
  /**
39111
39237
  *
39238
+ * @summary Delete HospitalService
39112
39239
  * @param {string} hospitalId
39113
39240
  * @param {string} specialtyId
39114
39241
  * @param {string} serviceId
39242
+ * @param {boolean} [isPermanent]
39115
39243
  * @param {*} [options] Override http request option.
39116
39244
  * @throws {RequiredError}
39117
39245
  */
39118
- async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
39119
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options);
39246
+ async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
39247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options);
39120
39248
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39121
39249
  },
39122
39250
  /**
@@ -39461,22 +39589,24 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
39461
39589
  *
39462
39590
  * @summary Delete Hospital.
39463
39591
  * @param {string} hospitalId
39592
+ * @param {boolean} [isPermanent]
39464
39593
  * @param {*} [options] Override http request option.
39465
39594
  * @throws {RequiredError}
39466
39595
  */
39467
- apiV1HospitalsHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean> {
39468
- return localVarFp.apiV1HospitalsHospitalIdDelete(hospitalId, options).then((request) => request(axios, basePath));
39596
+ apiV1HospitalsHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
39597
+ return localVarFp.apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options).then((request) => request(axios, basePath));
39469
39598
  },
39470
39599
  /**
39471
39600
  *
39472
39601
  * @summary Delete HospitalEquipment
39473
39602
  * @param {string} hospitalId
39474
39603
  * @param {string} equipmentId
39604
+ * @param {boolean} [isPermanent]
39475
39605
  * @param {*} [options] Override http request option.
39476
39606
  * @throws {RequiredError}
39477
39607
  */
39478
- apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, options?: any): AxiosPromise<boolean> {
39479
- return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options).then((request) => request(axios, basePath));
39608
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
39609
+ return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options).then((request) => request(axios, basePath));
39480
39610
  },
39481
39611
  /**
39482
39612
  *
@@ -39752,11 +39882,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
39752
39882
  * @summary Delete Landing.
39753
39883
  * @param {string} hospitalId
39754
39884
  * @param {string} landingId
39885
+ * @param {boolean} [isPermanent]
39755
39886
  * @param {*} [options] Override http request option.
39756
39887
  * @throws {RequiredError}
39757
39888
  */
39758
- apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
39759
- return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(axios, basePath));
39889
+ apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
39890
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options).then((request) => request(axios, basePath));
39760
39891
  },
39761
39892
  /**
39762
39893
  *
@@ -39962,11 +40093,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
39962
40093
  * @summary Delete HospitalSpecialty.
39963
40094
  * @param {string} hospitalId
39964
40095
  * @param {string} hospitalSpecialtyId
40096
+ * @param {boolean} [isPermanent]
39965
40097
  * @param {*} [options] Override http request option.
39966
40098
  * @throws {RequiredError}
39967
40099
  */
39968
- apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
39969
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(axios, basePath));
40100
+ apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
40101
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options).then((request) => request(axios, basePath));
39970
40102
  },
39971
40103
  /**
39972
40104
  *
@@ -40142,14 +40274,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
40142
40274
  },
40143
40275
  /**
40144
40276
  *
40277
+ * @summary Delete HospitalService
40145
40278
  * @param {string} hospitalId
40146
40279
  * @param {string} specialtyId
40147
40280
  * @param {string} serviceId
40281
+ * @param {boolean} [isPermanent]
40148
40282
  * @param {*} [options] Override http request option.
40149
40283
  * @throws {RequiredError}
40150
40284
  */
40151
- apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
40152
- return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
40285
+ apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
40286
+ return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options).then((request) => request(axios, basePath));
40153
40287
  },
40154
40288
  /**
40155
40289
  *
@@ -40485,12 +40619,13 @@ export class HospitalsApi extends BaseAPI {
40485
40619
  *
40486
40620
  * @summary Delete Hospital.
40487
40621
  * @param {string} hospitalId
40622
+ * @param {boolean} [isPermanent]
40488
40623
  * @param {*} [options] Override http request option.
40489
40624
  * @throws {RequiredError}
40490
40625
  * @memberof HospitalsApi
40491
40626
  */
40492
- public apiV1HospitalsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
40493
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
40627
+ public apiV1HospitalsHospitalIdDelete(hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
40628
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options).then((request) => request(this.axios, this.basePath));
40494
40629
  }
40495
40630
 
40496
40631
  /**
@@ -40498,12 +40633,13 @@ export class HospitalsApi extends BaseAPI {
40498
40633
  * @summary Delete HospitalEquipment
40499
40634
  * @param {string} hospitalId
40500
40635
  * @param {string} equipmentId
40636
+ * @param {boolean} [isPermanent]
40501
40637
  * @param {*} [options] Override http request option.
40502
40638
  * @throws {RequiredError}
40503
40639
  * @memberof HospitalsApi
40504
40640
  */
40505
- public apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, options?: AxiosRequestConfig) {
40506
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options).then((request) => request(this.axios, this.basePath));
40641
+ public apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId: string, equipmentId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
40642
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options).then((request) => request(this.axios, this.basePath));
40507
40643
  }
40508
40644
 
40509
40645
  /**
@@ -40822,12 +40958,13 @@ export class HospitalsApi extends BaseAPI {
40822
40958
  * @summary Delete Landing.
40823
40959
  * @param {string} hospitalId
40824
40960
  * @param {string} landingId
40961
+ * @param {boolean} [isPermanent]
40825
40962
  * @param {*} [options] Override http request option.
40826
40963
  * @throws {RequiredError}
40827
40964
  * @memberof HospitalsApi
40828
40965
  */
40829
- public apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig) {
40830
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(this.axios, this.basePath));
40966
+ public apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
40967
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options).then((request) => request(this.axios, this.basePath));
40831
40968
  }
40832
40969
 
40833
40970
  /**
@@ -41066,12 +41203,13 @@ export class HospitalsApi extends BaseAPI {
41066
41203
  * @summary Delete HospitalSpecialty.
41067
41204
  * @param {string} hospitalId
41068
41205
  * @param {string} hospitalSpecialtyId
41206
+ * @param {boolean} [isPermanent]
41069
41207
  * @param {*} [options] Override http request option.
41070
41208
  * @throws {RequiredError}
41071
41209
  * @memberof HospitalsApi
41072
41210
  */
41073
- public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
41074
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
41211
+ public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId: string, hospitalSpecialtyId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
41212
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options).then((request) => request(this.axios, this.basePath));
41075
41213
  }
41076
41214
 
41077
41215
  /**
@@ -41272,15 +41410,17 @@ export class HospitalsApi extends BaseAPI {
41272
41410
 
41273
41411
  /**
41274
41412
  *
41413
+ * @summary Delete HospitalService
41275
41414
  * @param {string} hospitalId
41276
41415
  * @param {string} specialtyId
41277
41416
  * @param {string} serviceId
41417
+ * @param {boolean} [isPermanent]
41278
41418
  * @param {*} [options] Override http request option.
41279
41419
  * @throws {RequiredError}
41280
41420
  * @memberof HospitalsApi
41281
41421
  */
41282
- public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig) {
41283
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(this.axios, this.basePath));
41422
+ public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
41423
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options).then((request) => request(this.axios, this.basePath));
41284
41424
  }
41285
41425
 
41286
41426
  /**
@@ -43340,10 +43480,11 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
43340
43480
  *
43341
43481
  * @summary Delete Manager.
43342
43482
  * @param {string} managerId
43483
+ * @param {boolean} [isPermanent]
43343
43484
  * @param {*} [options] Override http request option.
43344
43485
  * @throws {RequiredError}
43345
43486
  */
43346
- apiV1ManagersManagerIdDelete: async (managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43487
+ apiV1ManagersManagerIdDelete: async (managerId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43347
43488
  // verify required parameter 'managerId' is not null or undefined
43348
43489
  assertParamExists('apiV1ManagersManagerIdDelete', 'managerId', managerId)
43349
43490
  const localVarPath = `/api/v1/managers/{managerId}`
@@ -43363,6 +43504,10 @@ export const ManagersApiAxiosParamCreator = function (configuration?: Configurat
43363
43504
  // oauth required
43364
43505
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
43365
43506
 
43507
+ if (isPermanent !== undefined) {
43508
+ localVarQueryParameter['isPermanent'] = isPermanent;
43509
+ }
43510
+
43366
43511
 
43367
43512
 
43368
43513
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -43579,11 +43724,12 @@ export const ManagersApiFp = function(configuration?: Configuration) {
43579
43724
  *
43580
43725
  * @summary Delete Manager.
43581
43726
  * @param {string} managerId
43727
+ * @param {boolean} [isPermanent]
43582
43728
  * @param {*} [options] Override http request option.
43583
43729
  * @throws {RequiredError}
43584
43730
  */
43585
- async apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
43586
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, options);
43731
+ async apiV1ManagersManagerIdDelete(managerId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
43732
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, isPermanent, options);
43587
43733
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43588
43734
  },
43589
43735
  /**
@@ -43702,11 +43848,12 @@ export const ManagersApiFactory = function (configuration?: Configuration, baseP
43702
43848
  *
43703
43849
  * @summary Delete Manager.
43704
43850
  * @param {string} managerId
43851
+ * @param {boolean} [isPermanent]
43705
43852
  * @param {*} [options] Override http request option.
43706
43853
  * @throws {RequiredError}
43707
43854
  */
43708
- apiV1ManagersManagerIdDelete(managerId: string, options?: any): AxiosPromise<boolean> {
43709
- return localVarFp.apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(axios, basePath));
43855
+ apiV1ManagersManagerIdDelete(managerId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
43856
+ return localVarFp.apiV1ManagersManagerIdDelete(managerId, isPermanent, options).then((request) => request(axios, basePath));
43710
43857
  },
43711
43858
  /**
43712
43859
  *
@@ -43831,12 +43978,13 @@ export class ManagersApi extends BaseAPI {
43831
43978
  *
43832
43979
  * @summary Delete Manager.
43833
43980
  * @param {string} managerId
43981
+ * @param {boolean} [isPermanent]
43834
43982
  * @param {*} [options] Override http request option.
43835
43983
  * @throws {RequiredError}
43836
43984
  * @memberof ManagersApi
43837
43985
  */
43838
- public apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig) {
43839
- return ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(this.axios, this.basePath));
43986
+ public apiV1ManagersManagerIdDelete(managerId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
43987
+ return ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, isPermanent, options).then((request) => request(this.axios, this.basePath));
43840
43988
  }
43841
43989
 
43842
43990
  /**
@@ -44537,10 +44685,11 @@ export const PatientsApiAxiosParamCreator = function (configuration?: Configurat
44537
44685
  *
44538
44686
  * @summary Delete Patient.
44539
44687
  * @param {string} patientId
44688
+ * @param {boolean} [isPermanent]
44540
44689
  * @param {*} [options] Override http request option.
44541
44690
  * @throws {RequiredError}
44542
44691
  */
44543
- apiV1PatientsPatientIdDelete: async (patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44692
+ apiV1PatientsPatientIdDelete: async (patientId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44544
44693
  // verify required parameter 'patientId' is not null or undefined
44545
44694
  assertParamExists('apiV1PatientsPatientIdDelete', 'patientId', patientId)
44546
44695
  const localVarPath = `/api/v1/patients/{patientId}`
@@ -44560,6 +44709,10 @@ export const PatientsApiAxiosParamCreator = function (configuration?: Configurat
44560
44709
  // oauth required
44561
44710
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
44562
44711
 
44712
+ if (isPermanent !== undefined) {
44713
+ localVarQueryParameter['isPermanent'] = isPermanent;
44714
+ }
44715
+
44563
44716
 
44564
44717
 
44565
44718
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -44723,11 +44876,12 @@ export const PatientsApiFp = function(configuration?: Configuration) {
44723
44876
  *
44724
44877
  * @summary Delete Patient.
44725
44878
  * @param {string} patientId
44879
+ * @param {boolean} [isPermanent]
44726
44880
  * @param {*} [options] Override http request option.
44727
44881
  * @throws {RequiredError}
44728
44882
  */
44729
- async apiV1PatientsPatientIdDelete(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
44730
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdDelete(patientId, options);
44883
+ async apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
44884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdDelete(patientId, isPermanent, options);
44731
44885
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
44732
44886
  },
44733
44887
  /**
@@ -44797,11 +44951,12 @@ export const PatientsApiFactory = function (configuration?: Configuration, baseP
44797
44951
  *
44798
44952
  * @summary Delete Patient.
44799
44953
  * @param {string} patientId
44954
+ * @param {boolean} [isPermanent]
44800
44955
  * @param {*} [options] Override http request option.
44801
44956
  * @throws {RequiredError}
44802
44957
  */
44803
- apiV1PatientsPatientIdDelete(patientId: string, options?: any): AxiosPromise<boolean> {
44804
- return localVarFp.apiV1PatientsPatientIdDelete(patientId, options).then((request) => request(axios, basePath));
44958
+ apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
44959
+ return localVarFp.apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then((request) => request(axios, basePath));
44805
44960
  },
44806
44961
  /**
44807
44962
  *
@@ -44869,12 +45024,13 @@ export class PatientsApi extends BaseAPI {
44869
45024
  *
44870
45025
  * @summary Delete Patient.
44871
45026
  * @param {string} patientId
45027
+ * @param {boolean} [isPermanent]
44872
45028
  * @param {*} [options] Override http request option.
44873
45029
  * @throws {RequiredError}
44874
45030
  * @memberof PatientsApi
44875
45031
  */
44876
- public apiV1PatientsPatientIdDelete(patientId: string, options?: AxiosRequestConfig) {
44877
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(patientId, options).then((request) => request(this.axios, this.basePath));
45032
+ public apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
45033
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then((request) => request(this.axios, this.basePath));
44878
45034
  }
44879
45035
 
44880
45036
  /**
@@ -46457,10 +46613,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
46457
46613
  *
46458
46614
  * @summary Delete ServiceReview.
46459
46615
  * @param {string} serviceReviewId
46616
+ * @param {boolean} [isPermanent]
46460
46617
  * @param {*} [options] Override http request option.
46461
46618
  * @throws {RequiredError}
46462
46619
  */
46463
- apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46620
+ apiV1ServicereviewsServiceReviewIdDelete: async (serviceReviewId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46464
46621
  // verify required parameter 'serviceReviewId' is not null or undefined
46465
46622
  assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId)
46466
46623
  const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
@@ -46480,6 +46637,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
46480
46637
  // oauth required
46481
46638
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
46482
46639
 
46640
+ if (isPermanent !== undefined) {
46641
+ localVarQueryParameter['isPermanent'] = isPermanent;
46642
+ }
46643
+
46483
46644
 
46484
46645
 
46485
46646
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -46863,11 +47024,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
46863
47024
  *
46864
47025
  * @summary Delete ServiceReview.
46865
47026
  * @param {string} serviceReviewId
47027
+ * @param {boolean} [isPermanent]
46866
47028
  * @param {*} [options] Override http request option.
46867
47029
  * @throws {RequiredError}
46868
47030
  */
46869
- async apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
46870
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options);
47031
+ async apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
47032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options);
46871
47033
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46872
47034
  },
46873
47035
  /**
@@ -47007,11 +47169,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
47007
47169
  *
47008
47170
  * @summary Delete ServiceReview.
47009
47171
  * @param {string} serviceReviewId
47172
+ * @param {boolean} [isPermanent]
47010
47173
  * @param {*} [options] Override http request option.
47011
47174
  * @throws {RequiredError}
47012
47175
  */
47013
- apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: any): AxiosPromise<boolean> {
47014
- return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(axios, basePath));
47176
+ apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
47177
+ return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options).then((request) => request(axios, basePath));
47015
47178
  },
47016
47179
  /**
47017
47180
  *
@@ -47147,12 +47310,13 @@ export class ServiceReviewsApi extends BaseAPI {
47147
47310
  *
47148
47311
  * @summary Delete ServiceReview.
47149
47312
  * @param {string} serviceReviewId
47313
+ * @param {boolean} [isPermanent]
47150
47314
  * @param {*} [options] Override http request option.
47151
47315
  * @throws {RequiredError}
47152
47316
  * @memberof ServiceReviewsApi
47153
47317
  */
47154
- public apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, options?: AxiosRequestConfig) {
47155
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
47318
+ public apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
47319
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options).then((request) => request(this.axios, this.basePath));
47156
47320
  }
47157
47321
 
47158
47322
  /**
@@ -48418,10 +48582,11 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
48418
48582
  *
48419
48583
  * @summary Delete Specialty.
48420
48584
  * @param {string} specialtyId
48585
+ * @param {boolean} [isPermanent]
48421
48586
  * @param {*} [options] Override http request option.
48422
48587
  * @throws {RequiredError}
48423
48588
  */
48424
- apiV1SpecialtiesSpecialtyIdDelete: async (specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48589
+ apiV1SpecialtiesSpecialtyIdDelete: async (specialtyId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48425
48590
  // verify required parameter 'specialtyId' is not null or undefined
48426
48591
  assertParamExists('apiV1SpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
48427
48592
  const localVarPath = `/api/v1/specialties/{specialtyId}`
@@ -48441,6 +48606,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
48441
48606
  // oauth required
48442
48607
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
48443
48608
 
48609
+ if (isPermanent !== undefined) {
48610
+ localVarQueryParameter['isPermanent'] = isPermanent;
48611
+ }
48612
+
48444
48613
 
48445
48614
 
48446
48615
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -48902,11 +49071,12 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
48902
49071
  *
48903
49072
  * @summary Delete Specialty.
48904
49073
  * @param {string} specialtyId
49074
+ * @param {boolean} [isPermanent]
48905
49075
  * @param {*} [options] Override http request option.
48906
49076
  * @throws {RequiredError}
48907
49077
  */
48908
- async apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
48909
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options);
49078
+ async apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
49079
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options);
48910
49080
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
48911
49081
  },
48912
49082
  /**
@@ -49091,11 +49261,12 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
49091
49261
  *
49092
49262
  * @summary Delete Specialty.
49093
49263
  * @param {string} specialtyId
49264
+ * @param {boolean} [isPermanent]
49094
49265
  * @param {*} [options] Override http request option.
49095
49266
  * @throws {RequiredError}
49096
49267
  */
49097
- apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, options?: any): AxiosPromise<boolean> {
49098
- return localVarFp.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options).then((request) => request(axios, basePath));
49268
+ apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
49269
+ return localVarFp.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options).then((request) => request(axios, basePath));
49099
49270
  },
49100
49271
  /**
49101
49272
  *
@@ -49279,12 +49450,13 @@ export class SpecialtiesApi extends BaseAPI {
49279
49450
  *
49280
49451
  * @summary Delete Specialty.
49281
49452
  * @param {string} specialtyId
49453
+ * @param {boolean} [isPermanent]
49282
49454
  * @param {*} [options] Override http request option.
49283
49455
  * @throws {RequiredError}
49284
49456
  * @memberof SpecialtiesApi
49285
49457
  */
49286
- public apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, options?: AxiosRequestConfig) {
49287
- return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options).then((request) => request(this.axios, this.basePath));
49458
+ public apiV1SpecialtiesSpecialtyIdDelete(specialtyId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
49459
+ return SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options).then((request) => request(this.axios, this.basePath));
49288
49460
  }
49289
49461
 
49290
49462
  /**
@@ -49709,10 +49881,11 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
49709
49881
  *
49710
49882
  * @summary Delete Department.
49711
49883
  * @param {string} specialtyTypeId
49884
+ * @param {boolean} [isPermanent]
49712
49885
  * @param {*} [options] Override http request option.
49713
49886
  * @throws {RequiredError}
49714
49887
  */
49715
- apiV1SpecialtytypesSpecialtyTypeIdDelete: async (specialtyTypeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49888
+ apiV1SpecialtytypesSpecialtyTypeIdDelete: async (specialtyTypeId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49716
49889
  // verify required parameter 'specialtyTypeId' is not null or undefined
49717
49890
  assertParamExists('apiV1SpecialtytypesSpecialtyTypeIdDelete', 'specialtyTypeId', specialtyTypeId)
49718
49891
  const localVarPath = `/api/v1/specialtytypes/{specialtyTypeId}`
@@ -49732,6 +49905,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
49732
49905
  // oauth required
49733
49906
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
49734
49907
 
49908
+ if (isPermanent !== undefined) {
49909
+ localVarQueryParameter['isPermanent'] = isPermanent;
49910
+ }
49911
+
49735
49912
 
49736
49913
 
49737
49914
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -50192,11 +50369,12 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
50192
50369
  *
50193
50370
  * @summary Delete Department.
50194
50371
  * @param {string} specialtyTypeId
50372
+ * @param {boolean} [isPermanent]
50195
50373
  * @param {*} [options] Override http request option.
50196
50374
  * @throws {RequiredError}
50197
50375
  */
50198
- async apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
50199
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options);
50376
+ async apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
50377
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options);
50200
50378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
50201
50379
  },
50202
50380
  /**
@@ -50380,11 +50558,12 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
50380
50558
  *
50381
50559
  * @summary Delete Department.
50382
50560
  * @param {string} specialtyTypeId
50561
+ * @param {boolean} [isPermanent]
50383
50562
  * @param {*} [options] Override http request option.
50384
50563
  * @throws {RequiredError}
50385
50564
  */
50386
- apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, options?: any): AxiosPromise<boolean> {
50387
- return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options).then((request) => request(axios, basePath));
50565
+ apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
50566
+ return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then((request) => request(axios, basePath));
50388
50567
  },
50389
50568
  /**
50390
50569
  *
@@ -50567,12 +50746,13 @@ export class SpecialtyTypesApi extends BaseAPI {
50567
50746
  *
50568
50747
  * @summary Delete Department.
50569
50748
  * @param {string} specialtyTypeId
50749
+ * @param {boolean} [isPermanent]
50570
50750
  * @param {*} [options] Override http request option.
50571
50751
  * @throws {RequiredError}
50572
50752
  * @memberof SpecialtyTypesApi
50573
50753
  */
50574
- public apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, options?: AxiosRequestConfig) {
50575
- return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options).then((request) => request(this.axios, this.basePath));
50754
+ public apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
50755
+ return SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then((request) => request(this.axios, this.basePath));
50576
50756
  }
50577
50757
 
50578
50758
  /**