ch-admin-api-client-typescript 5.1.5 → 5.1.7

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.
Files changed (55) hide show
  1. package/lib/api/articles-api.d.ts +55 -0
  2. package/lib/api/articles-api.d.ts.map +1 -1
  3. package/lib/api/articles-api.js +91 -0
  4. package/lib/api/contributors-api.d.ts +55 -0
  5. package/lib/api/contributors-api.d.ts.map +1 -1
  6. package/lib/api/contributors-api.js +91 -0
  7. package/lib/api/countries-api.d.ts +59 -4
  8. package/lib/api/countries-api.d.ts.map +1 -1
  9. package/lib/api/countries-api.js +95 -4
  10. package/lib/api/deals-api.d.ts +55 -0
  11. package/lib/api/deals-api.d.ts.map +1 -1
  12. package/lib/api/deals-api.js +91 -0
  13. package/lib/api/doctor-affiliations-api.d.ts +55 -0
  14. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  15. package/lib/api/doctor-affiliations-api.js +91 -0
  16. package/lib/api/doctors-api.d.ts +55 -0
  17. package/lib/api/doctors-api.d.ts.map +1 -1
  18. package/lib/api/doctors-api.js +91 -0
  19. package/lib/api/faq-categories-api.d.ts +55 -0
  20. package/lib/api/faq-categories-api.d.ts.map +1 -1
  21. package/lib/api/faq-categories-api.js +91 -0
  22. package/lib/api/faqs-api.d.ts +55 -0
  23. package/lib/api/faqs-api.d.ts.map +1 -1
  24. package/lib/api/faqs-api.js +91 -0
  25. package/lib/api/hospitals-api.d.ts +256 -0
  26. package/lib/api/hospitals-api.d.ts.map +1 -1
  27. package/lib/api/hospitals-api.js +388 -0
  28. package/lib/api/specialties-api.d.ts +55 -0
  29. package/lib/api/specialties-api.d.ts.map +1 -1
  30. package/lib/api/specialties-api.js +91 -0
  31. package/lib/api/specialty-types-api.d.ts +55 -0
  32. package/lib/api/specialty-types-api.d.ts.map +1 -1
  33. package/lib/api/specialty-types-api.js +91 -0
  34. package/lib/models/survey-form-element-input-model.d.ts +6 -0
  35. package/lib/models/survey-form-element-input-model.d.ts.map +1 -1
  36. package/lib/models/survey-form-element-model.d.ts +6 -0
  37. package/lib/models/survey-form-element-model.d.ts.map +1 -1
  38. package/lib/models/survey-form-element-types.d.ts +2 -0
  39. package/lib/models/survey-form-element-types.d.ts.map +1 -1
  40. package/lib/models/survey-form-element-types.js +3 -1
  41. package/package.json +1 -1
  42. package/src/api/articles-api.ts +99 -0
  43. package/src/api/contributors-api.ts +99 -0
  44. package/src/api/countries-api.ts +103 -4
  45. package/src/api/deals-api.ts +99 -0
  46. package/src/api/doctor-affiliations-api.ts +99 -0
  47. package/src/api/doctors-api.ts +99 -0
  48. package/src/api/faq-categories-api.ts +99 -0
  49. package/src/api/faqs-api.ts +99 -0
  50. package/src/api/hospitals-api.ts +448 -0
  51. package/src/api/specialties-api.ts +99 -0
  52. package/src/api/specialty-types-api.ts +99 -0
  53. package/src/models/survey-form-element-input-model.ts +6 -0
  54. package/src/models/survey-form-element-model.ts +6 -0
  55. package/src/models/survey-form-element-types.ts +3 -1
@@ -1463,6 +1463,49 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
1463
1463
 
1464
1464
 
1465
1465
 
1466
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1467
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1468
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1469
+
1470
+ return {
1471
+ url: toPathString(localVarUrlObj),
1472
+ options: localVarRequestOptions,
1473
+ };
1474
+ },
1475
+ /**
1476
+ *
1477
+ * @summary Revalidate doctor
1478
+ * @param {string} doctorId
1479
+ * @param {boolean} [includeCurrent]
1480
+ * @param {*} [options] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ */
1483
+ apiV1DoctorsDoctorIdRevalidatePost: async (doctorId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1484
+ // verify required parameter 'doctorId' is not null or undefined
1485
+ assertParamExists('apiV1DoctorsDoctorIdRevalidatePost', 'doctorId', doctorId)
1486
+ const localVarPath = `/api/v1/doctors/{doctorId}/revalidate`
1487
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
1488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1490
+ let baseOptions;
1491
+ if (configuration) {
1492
+ baseOptions = configuration.baseOptions;
1493
+ }
1494
+
1495
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1496
+ const localVarHeaderParameter = {} as any;
1497
+ const localVarQueryParameter = {} as any;
1498
+
1499
+ // authentication oauth2 required
1500
+ // oauth required
1501
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
1502
+
1503
+ if (includeCurrent !== undefined) {
1504
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
1505
+ }
1506
+
1507
+
1508
+
1466
1509
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1467
1510
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1468
1511
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -2374,6 +2417,18 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
2374
2417
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdReactivePut(doctorId, options);
2375
2418
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2376
2419
  },
2420
+ /**
2421
+ *
2422
+ * @summary Revalidate doctor
2423
+ * @param {string} doctorId
2424
+ * @param {boolean} [includeCurrent]
2425
+ * @param {*} [options] Override http request option.
2426
+ * @throws {RequiredError}
2427
+ */
2428
+ async apiV1DoctorsDoctorIdRevalidatePost(doctorId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
2429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdRevalidatePost(doctorId, includeCurrent, options);
2430
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2431
+ },
2377
2432
  /**
2378
2433
  *
2379
2434
  * @summary Get All DoctorSpecialties.
@@ -2860,6 +2915,17 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
2860
2915
  apiV1DoctorsDoctorIdReactivePut(doctorId: string, options?: any): AxiosPromise<boolean> {
2861
2916
  return localVarFp.apiV1DoctorsDoctorIdReactivePut(doctorId, options).then((request) => request(axios, basePath));
2862
2917
  },
2918
+ /**
2919
+ *
2920
+ * @summary Revalidate doctor
2921
+ * @param {string} doctorId
2922
+ * @param {boolean} [includeCurrent]
2923
+ * @param {*} [options] Override http request option.
2924
+ * @throws {RequiredError}
2925
+ */
2926
+ apiV1DoctorsDoctorIdRevalidatePost(doctorId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
2927
+ return localVarFp.apiV1DoctorsDoctorIdRevalidatePost(doctorId, includeCurrent, options).then((request) => request(axios, basePath));
2928
+ },
2863
2929
  /**
2864
2930
  *
2865
2931
  * @summary Get All DoctorSpecialties.
@@ -3795,6 +3861,27 @@ export interface DoctorsApiApiV1DoctorsDoctorIdReactivePutRequest {
3795
3861
  readonly doctorId: string
3796
3862
  }
3797
3863
 
3864
+ /**
3865
+ * Request parameters for apiV1DoctorsDoctorIdRevalidatePost operation in DoctorsApi.
3866
+ * @export
3867
+ * @interface DoctorsApiApiV1DoctorsDoctorIdRevalidatePostRequest
3868
+ */
3869
+ export interface DoctorsApiApiV1DoctorsDoctorIdRevalidatePostRequest {
3870
+ /**
3871
+ *
3872
+ * @type {string}
3873
+ * @memberof DoctorsApiApiV1DoctorsDoctorIdRevalidatePost
3874
+ */
3875
+ readonly doctorId: string
3876
+
3877
+ /**
3878
+ *
3879
+ * @type {boolean}
3880
+ * @memberof DoctorsApiApiV1DoctorsDoctorIdRevalidatePost
3881
+ */
3882
+ readonly includeCurrent?: boolean
3883
+ }
3884
+
3798
3885
  /**
3799
3886
  * Request parameters for apiV1DoctorsDoctorIdSpecialtiesGet operation in DoctorsApi.
3800
3887
  * @export
@@ -4542,6 +4629,18 @@ export class DoctorsApi extends BaseAPI {
4542
4629
  return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdReactivePut(requestParameters.doctorId, options).then((request) => request(this.axios, this.basePath));
4543
4630
  }
4544
4631
 
4632
+ /**
4633
+ *
4634
+ * @summary Revalidate doctor
4635
+ * @param {DoctorsApiApiV1DoctorsDoctorIdRevalidatePostRequest} requestParameters Request parameters.
4636
+ * @param {*} [options] Override http request option.
4637
+ * @throws {RequiredError}
4638
+ * @memberof DoctorsApi
4639
+ */
4640
+ public apiV1DoctorsDoctorIdRevalidatePost(requestParameters: DoctorsApiApiV1DoctorsDoctorIdRevalidatePostRequest, options?: AxiosRequestConfig) {
4641
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdRevalidatePost(requestParameters.doctorId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
4642
+ }
4643
+
4545
4644
  /**
4546
4645
  *
4547
4646
  * @summary Get All DoctorSpecialties.
@@ -174,6 +174,49 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
174
174
  options: localVarRequestOptions,
175
175
  };
176
176
  },
177
+ /**
178
+ *
179
+ * @summary Revalidate faqCategory
180
+ * @param {string} faqCategoryId
181
+ * @param {boolean} [includeCurrent]
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ apiV1FaqcategoriesFaqCategoryIdRevalidatePost: async (faqCategoryId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
186
+ // verify required parameter 'faqCategoryId' is not null or undefined
187
+ assertParamExists('apiV1FaqcategoriesFaqCategoryIdRevalidatePost', 'faqCategoryId', faqCategoryId)
188
+ const localVarPath = `/api/v1/faqcategories/{faqCategoryId}/revalidate`
189
+ .replace(`{${"faqCategoryId"}}`, encodeURIComponent(String(faqCategoryId)));
190
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
191
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
192
+ let baseOptions;
193
+ if (configuration) {
194
+ baseOptions = configuration.baseOptions;
195
+ }
196
+
197
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
198
+ const localVarHeaderParameter = {} as any;
199
+ const localVarQueryParameter = {} as any;
200
+
201
+ // authentication oauth2 required
202
+ // oauth required
203
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
204
+
205
+ if (includeCurrent !== undefined) {
206
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
207
+ }
208
+
209
+
210
+
211
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
212
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
213
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
214
+
215
+ return {
216
+ url: toPathString(localVarUrlObj),
217
+ options: localVarRequestOptions,
218
+ };
219
+ },
177
220
  /**
178
221
  *
179
222
  * @summary Get all FaqCategories.
@@ -394,6 +437,18 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
394
437
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options);
395
438
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
396
439
  },
440
+ /**
441
+ *
442
+ * @summary Revalidate faqCategory
443
+ * @param {string} faqCategoryId
444
+ * @param {boolean} [includeCurrent]
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ async apiV1FaqcategoriesFaqCategoryIdRevalidatePost(faqCategoryId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdRevalidatePost(faqCategoryId, includeCurrent, options);
450
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
451
+ },
397
452
  /**
398
453
  *
399
454
  * @summary Get all FaqCategories.
@@ -483,6 +538,17 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
483
538
  apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId: string, updateFaqCategoryCommand?: UpdateFaqCategoryCommand, options?: any): AxiosPromise<FaqCategoryModel> {
484
539
  return localVarFp.apiV1FaqcategoriesFaqCategoryIdPut(faqCategoryId, updateFaqCategoryCommand, options).then((request) => request(axios, basePath));
485
540
  },
541
+ /**
542
+ *
543
+ * @summary Revalidate faqCategory
544
+ * @param {string} faqCategoryId
545
+ * @param {boolean} [includeCurrent]
546
+ * @param {*} [options] Override http request option.
547
+ * @throws {RequiredError}
548
+ */
549
+ apiV1FaqcategoriesFaqCategoryIdRevalidatePost(faqCategoryId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
550
+ return localVarFp.apiV1FaqcategoriesFaqCategoryIdRevalidatePost(faqCategoryId, includeCurrent, options).then((request) => request(axios, basePath));
551
+ },
486
552
  /**
487
553
  *
488
554
  * @summary Get all FaqCategories.
@@ -604,6 +670,27 @@ export interface FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdPutRequest {
604
670
  readonly updateFaqCategoryCommand?: UpdateFaqCategoryCommand
605
671
  }
606
672
 
673
+ /**
674
+ * Request parameters for apiV1FaqcategoriesFaqCategoryIdRevalidatePost operation in FaqCategoriesApi.
675
+ * @export
676
+ * @interface FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePostRequest
677
+ */
678
+ export interface FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePostRequest {
679
+ /**
680
+ *
681
+ * @type {string}
682
+ * @memberof FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePost
683
+ */
684
+ readonly faqCategoryId: string
685
+
686
+ /**
687
+ *
688
+ * @type {boolean}
689
+ * @memberof FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePost
690
+ */
691
+ readonly includeCurrent?: boolean
692
+ }
693
+
607
694
  /**
608
695
  * Request parameters for apiV1FaqcategoriesGet operation in FaqCategoriesApi.
609
696
  * @export
@@ -766,6 +853,18 @@ export class FaqCategoriesApi extends BaseAPI {
766
853
  return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdPut(requestParameters.faqCategoryId, requestParameters.updateFaqCategoryCommand, options).then((request) => request(this.axios, this.basePath));
767
854
  }
768
855
 
856
+ /**
857
+ *
858
+ * @summary Revalidate faqCategory
859
+ * @param {FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePostRequest} requestParameters Request parameters.
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ * @memberof FaqCategoriesApi
863
+ */
864
+ public apiV1FaqcategoriesFaqCategoryIdRevalidatePost(requestParameters: FaqCategoriesApiApiV1FaqcategoriesFaqCategoryIdRevalidatePostRequest, options?: AxiosRequestConfig) {
865
+ return FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdRevalidatePost(requestParameters.faqCategoryId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
866
+ }
867
+
769
868
  /**
770
869
  *
771
870
  * @summary Get all FaqCategories.
@@ -427,6 +427,49 @@ export const FaqsApiAxiosParamCreator = function (configuration?: Configuration)
427
427
  options: localVarRequestOptions,
428
428
  };
429
429
  },
430
+ /**
431
+ *
432
+ * @summary Revalidate faq
433
+ * @param {string} faqId
434
+ * @param {boolean} [includeCurrent]
435
+ * @param {*} [options] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ apiV1FaqsFaqIdRevalidatePost: async (faqId: string, includeCurrent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
439
+ // verify required parameter 'faqId' is not null or undefined
440
+ assertParamExists('apiV1FaqsFaqIdRevalidatePost', 'faqId', faqId)
441
+ const localVarPath = `/api/v1/faqs/{faqId}/revalidate`
442
+ .replace(`{${"faqId"}}`, encodeURIComponent(String(faqId)));
443
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
444
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
445
+ let baseOptions;
446
+ if (configuration) {
447
+ baseOptions = configuration.baseOptions;
448
+ }
449
+
450
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
451
+ const localVarHeaderParameter = {} as any;
452
+ const localVarQueryParameter = {} as any;
453
+
454
+ // authentication oauth2 required
455
+ // oauth required
456
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
457
+
458
+ if (includeCurrent !== undefined) {
459
+ localVarQueryParameter['includeCurrent'] = includeCurrent;
460
+ }
461
+
462
+
463
+
464
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
465
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
466
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
467
+
468
+ return {
469
+ url: toPathString(localVarUrlObj),
470
+ options: localVarRequestOptions,
471
+ };
472
+ },
430
473
  /**
431
474
  *
432
475
  * @summary GetAll FaqTags.
@@ -903,6 +946,18 @@ export const FaqsApiFp = function(configuration?: Configuration) {
903
946
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options);
904
947
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
905
948
  },
949
+ /**
950
+ *
951
+ * @summary Revalidate faq
952
+ * @param {string} faqId
953
+ * @param {boolean} [includeCurrent]
954
+ * @param {*} [options] Override http request option.
955
+ * @throws {RequiredError}
956
+ */
957
+ async apiV1FaqsFaqIdRevalidatePost(faqId: string, includeCurrent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
958
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FaqsFaqIdRevalidatePost(faqId, includeCurrent, options);
959
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
960
+ },
906
961
  /**
907
962
  *
908
963
  * @summary GetAll FaqTags.
@@ -1104,6 +1159,17 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
1104
1159
  apiV1FaqsFaqIdPut(faqId: string, updateFaqCommand?: UpdateFaqCommand, options?: any): AxiosPromise<FaqModel> {
1105
1160
  return localVarFp.apiV1FaqsFaqIdPut(faqId, updateFaqCommand, options).then((request) => request(axios, basePath));
1106
1161
  },
1162
+ /**
1163
+ *
1164
+ * @summary Revalidate faq
1165
+ * @param {string} faqId
1166
+ * @param {boolean} [includeCurrent]
1167
+ * @param {*} [options] Override http request option.
1168
+ * @throws {RequiredError}
1169
+ */
1170
+ apiV1FaqsFaqIdRevalidatePost(faqId: string, includeCurrent?: boolean, options?: any): AxiosPromise<boolean> {
1171
+ return localVarFp.apiV1FaqsFaqIdRevalidatePost(faqId, includeCurrent, options).then((request) => request(axios, basePath));
1172
+ },
1107
1173
  /**
1108
1174
  *
1109
1175
  * @summary GetAll FaqTags.
@@ -1413,6 +1479,27 @@ export interface FaqsApiApiV1FaqsFaqIdPutRequest {
1413
1479
  readonly updateFaqCommand?: UpdateFaqCommand
1414
1480
  }
1415
1481
 
1482
+ /**
1483
+ * Request parameters for apiV1FaqsFaqIdRevalidatePost operation in FaqsApi.
1484
+ * @export
1485
+ * @interface FaqsApiApiV1FaqsFaqIdRevalidatePostRequest
1486
+ */
1487
+ export interface FaqsApiApiV1FaqsFaqIdRevalidatePostRequest {
1488
+ /**
1489
+ *
1490
+ * @type {string}
1491
+ * @memberof FaqsApiApiV1FaqsFaqIdRevalidatePost
1492
+ */
1493
+ readonly faqId: string
1494
+
1495
+ /**
1496
+ *
1497
+ * @type {boolean}
1498
+ * @memberof FaqsApiApiV1FaqsFaqIdRevalidatePost
1499
+ */
1500
+ readonly includeCurrent?: boolean
1501
+ }
1502
+
1416
1503
  /**
1417
1504
  * Request parameters for apiV1FaqsFaqIdTagsGet operation in FaqsApi.
1418
1505
  * @export
@@ -1747,6 +1834,18 @@ export class FaqsApi extends BaseAPI {
1747
1834
  return FaqsApiFp(this.configuration).apiV1FaqsFaqIdPut(requestParameters.faqId, requestParameters.updateFaqCommand, options).then((request) => request(this.axios, this.basePath));
1748
1835
  }
1749
1836
 
1837
+ /**
1838
+ *
1839
+ * @summary Revalidate faq
1840
+ * @param {FaqsApiApiV1FaqsFaqIdRevalidatePostRequest} requestParameters Request parameters.
1841
+ * @param {*} [options] Override http request option.
1842
+ * @throws {RequiredError}
1843
+ * @memberof FaqsApi
1844
+ */
1845
+ public apiV1FaqsFaqIdRevalidatePost(requestParameters: FaqsApiApiV1FaqsFaqIdRevalidatePostRequest, options?: AxiosRequestConfig) {
1846
+ return FaqsApiFp(this.configuration).apiV1FaqsFaqIdRevalidatePost(requestParameters.faqId, requestParameters.includeCurrent, options).then((request) => request(this.axios, this.basePath));
1847
+ }
1848
+
1750
1849
  /**
1751
1850
  *
1752
1851
  * @summary GetAll FaqTags.