ch-admin-api-client-typescript 4.4.4 → 4.4.5

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
@@ -4547,6 +4547,43 @@ export interface CreateFaqTagCommand {
4547
4547
  */
4548
4548
  'tagId'?: string | null;
4549
4549
  }
4550
+ /**
4551
+ *
4552
+ * @export
4553
+ * @interface CreateHeaderNavigationItemCommand
4554
+ */
4555
+ export interface CreateHeaderNavigationItemCommand {
4556
+ /**
4557
+ *
4558
+ * @type {string}
4559
+ * @memberof CreateHeaderNavigationItemCommand
4560
+ */
4561
+ 'languageCode'?: string | null;
4562
+ /**
4563
+ *
4564
+ * @type {string}
4565
+ * @memberof CreateHeaderNavigationItemCommand
4566
+ */
4567
+ 'name'?: string | null;
4568
+ /**
4569
+ *
4570
+ * @type {string}
4571
+ * @memberof CreateHeaderNavigationItemCommand
4572
+ */
4573
+ 'url'?: string | null;
4574
+ /**
4575
+ *
4576
+ * @type {number}
4577
+ * @memberof CreateHeaderNavigationItemCommand
4578
+ */
4579
+ 'order'?: number;
4580
+ /**
4581
+ *
4582
+ * @type {string}
4583
+ * @memberof CreateHeaderNavigationItemCommand
4584
+ */
4585
+ 'parentId'?: string | null;
4586
+ }
4550
4587
  /**
4551
4588
  *
4552
4589
  * @export
@@ -7955,6 +7992,49 @@ export enum Gender {
7955
7992
  PreferNotToSay = 'PreferNotToSay'
7956
7993
  }
7957
7994
 
7995
+ /**
7996
+ *
7997
+ * @export
7998
+ * @interface HeaderNavigationItemModel
7999
+ */
8000
+ export interface HeaderNavigationItemModel {
8001
+ /**
8002
+ *
8003
+ * @type {string}
8004
+ * @memberof HeaderNavigationItemModel
8005
+ */
8006
+ 'id'?: string;
8007
+ /**
8008
+ *
8009
+ * @type {string}
8010
+ * @memberof HeaderNavigationItemModel
8011
+ */
8012
+ 'name'?: string | null;
8013
+ /**
8014
+ *
8015
+ * @type {string}
8016
+ * @memberof HeaderNavigationItemModel
8017
+ */
8018
+ 'url'?: string | null;
8019
+ /**
8020
+ *
8021
+ * @type {number}
8022
+ * @memberof HeaderNavigationItemModel
8023
+ */
8024
+ 'level'?: number;
8025
+ /**
8026
+ *
8027
+ * @type {number}
8028
+ * @memberof HeaderNavigationItemModel
8029
+ */
8030
+ 'order'?: number;
8031
+ /**
8032
+ *
8033
+ * @type {Array<HeaderNavigationItemModel>}
8034
+ * @memberof HeaderNavigationItemModel
8035
+ */
8036
+ 'subItems'?: Array<HeaderNavigationItemModel> | null;
8037
+ }
7958
8038
  /**
7959
8039
  *
7960
8040
  * @export
@@ -14085,6 +14165,43 @@ export interface UpdateFaqCommand {
14085
14165
  */
14086
14166
  'medias'?: Array<MediaModel> | null;
14087
14167
  }
14168
+ /**
14169
+ *
14170
+ * @export
14171
+ * @interface UpdateHeaderNavigationItemCommand
14172
+ */
14173
+ export interface UpdateHeaderNavigationItemCommand {
14174
+ /**
14175
+ *
14176
+ * @type {string}
14177
+ * @memberof UpdateHeaderNavigationItemCommand
14178
+ */
14179
+ 'languageCode'?: string | null;
14180
+ /**
14181
+ *
14182
+ * @type {string}
14183
+ * @memberof UpdateHeaderNavigationItemCommand
14184
+ */
14185
+ 'name'?: string | null;
14186
+ /**
14187
+ *
14188
+ * @type {string}
14189
+ * @memberof UpdateHeaderNavigationItemCommand
14190
+ */
14191
+ 'url'?: string | null;
14192
+ /**
14193
+ *
14194
+ * @type {number}
14195
+ * @memberof UpdateHeaderNavigationItemCommand
14196
+ */
14197
+ 'order'?: number;
14198
+ /**
14199
+ *
14200
+ * @type {string}
14201
+ * @memberof UpdateHeaderNavigationItemCommand
14202
+ */
14203
+ 'parentId'?: string | null;
14204
+ }
14088
14205
  /**
14089
14206
  *
14090
14207
  * @export
@@ -33485,6 +33602,478 @@ export class GroupChannelsApi extends BaseAPI {
33485
33602
  }
33486
33603
 
33487
33604
 
33605
+ /**
33606
+ * HeaderNavigationsApi - axios parameter creator
33607
+ * @export
33608
+ */
33609
+ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
33610
+ return {
33611
+ /**
33612
+ *
33613
+ * @summary Get all HeaderNavigationItems
33614
+ * @param {string} [languageCode]
33615
+ * @param {*} [options] Override http request option.
33616
+ * @throws {RequiredError}
33617
+ */
33618
+ apiV1HeadernavigationsGet: async (languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33619
+ const localVarPath = `/api/v1/headernavigations`;
33620
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33621
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33622
+ let baseOptions;
33623
+ if (configuration) {
33624
+ baseOptions = configuration.baseOptions;
33625
+ }
33626
+
33627
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33628
+ const localVarHeaderParameter = {} as any;
33629
+ const localVarQueryParameter = {} as any;
33630
+
33631
+ // authentication oauth2 required
33632
+ // oauth required
33633
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33634
+
33635
+ if (languageCode !== undefined) {
33636
+ localVarQueryParameter['languageCode'] = languageCode;
33637
+ }
33638
+
33639
+
33640
+
33641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33643
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33644
+
33645
+ return {
33646
+ url: toPathString(localVarUrlObj),
33647
+ options: localVarRequestOptions,
33648
+ };
33649
+ },
33650
+ /**
33651
+ *
33652
+ * @summary Delete HeaderNavigationItem
33653
+ * @param {string} id
33654
+ * @param {*} [options] Override http request option.
33655
+ * @throws {RequiredError}
33656
+ */
33657
+ apiV1HeadernavigationsIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33658
+ // verify required parameter 'id' is not null or undefined
33659
+ assertParamExists('apiV1HeadernavigationsIdDelete', 'id', id)
33660
+ const localVarPath = `/api/v1/headernavigations/{id}`
33661
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
33662
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33663
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33664
+ let baseOptions;
33665
+ if (configuration) {
33666
+ baseOptions = configuration.baseOptions;
33667
+ }
33668
+
33669
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
33670
+ const localVarHeaderParameter = {} as any;
33671
+ const localVarQueryParameter = {} as any;
33672
+
33673
+ // authentication oauth2 required
33674
+ // oauth required
33675
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33676
+
33677
+
33678
+
33679
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33680
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33681
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33682
+
33683
+ return {
33684
+ url: toPathString(localVarUrlObj),
33685
+ options: localVarRequestOptions,
33686
+ };
33687
+ },
33688
+ /**
33689
+ *
33690
+ * @summary Get HeaderNavigationItem by id
33691
+ * @param {string} id
33692
+ * @param {*} [options] Override http request option.
33693
+ * @throws {RequiredError}
33694
+ */
33695
+ apiV1HeadernavigationsIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33696
+ // verify required parameter 'id' is not null or undefined
33697
+ assertParamExists('apiV1HeadernavigationsIdGet', 'id', id)
33698
+ const localVarPath = `/api/v1/headernavigations/{id}`
33699
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
33700
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33701
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33702
+ let baseOptions;
33703
+ if (configuration) {
33704
+ baseOptions = configuration.baseOptions;
33705
+ }
33706
+
33707
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33708
+ const localVarHeaderParameter = {} as any;
33709
+ const localVarQueryParameter = {} as any;
33710
+
33711
+ // authentication oauth2 required
33712
+ // oauth required
33713
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33714
+
33715
+
33716
+
33717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33719
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33720
+
33721
+ return {
33722
+ url: toPathString(localVarUrlObj),
33723
+ options: localVarRequestOptions,
33724
+ };
33725
+ },
33726
+ /**
33727
+ *
33728
+ * @summary Update HeaderNavigationItem
33729
+ * @param {string} id
33730
+ * @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
33731
+ * @param {*} [options] Override http request option.
33732
+ * @throws {RequiredError}
33733
+ */
33734
+ apiV1HeadernavigationsIdPut: async (id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33735
+ // verify required parameter 'id' is not null or undefined
33736
+ assertParamExists('apiV1HeadernavigationsIdPut', 'id', id)
33737
+ const localVarPath = `/api/v1/headernavigations/{id}`
33738
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
33739
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33740
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33741
+ let baseOptions;
33742
+ if (configuration) {
33743
+ baseOptions = configuration.baseOptions;
33744
+ }
33745
+
33746
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
33747
+ const localVarHeaderParameter = {} as any;
33748
+ const localVarQueryParameter = {} as any;
33749
+
33750
+ // authentication oauth2 required
33751
+ // oauth required
33752
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33753
+
33754
+
33755
+
33756
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33757
+
33758
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33759
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33760
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33761
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHeaderNavigationItemCommand, localVarRequestOptions, configuration)
33762
+
33763
+ return {
33764
+ url: toPathString(localVarUrlObj),
33765
+ options: localVarRequestOptions,
33766
+ };
33767
+ },
33768
+ /**
33769
+ *
33770
+ * @summary Get HeaderNavigationItems by parent id
33771
+ * @param {string} parentId
33772
+ * @param {*} [options] Override http request option.
33773
+ * @throws {RequiredError}
33774
+ */
33775
+ apiV1HeadernavigationsParentIdSubitemsGet: async (parentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33776
+ // verify required parameter 'parentId' is not null or undefined
33777
+ assertParamExists('apiV1HeadernavigationsParentIdSubitemsGet', 'parentId', parentId)
33778
+ const localVarPath = `/api/v1/headernavigations/{parentId}/subitems`
33779
+ .replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
33780
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33782
+ let baseOptions;
33783
+ if (configuration) {
33784
+ baseOptions = configuration.baseOptions;
33785
+ }
33786
+
33787
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33788
+ const localVarHeaderParameter = {} as any;
33789
+ const localVarQueryParameter = {} as any;
33790
+
33791
+ // authentication oauth2 required
33792
+ // oauth required
33793
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33794
+
33795
+
33796
+
33797
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33798
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33799
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33800
+
33801
+ return {
33802
+ url: toPathString(localVarUrlObj),
33803
+ options: localVarRequestOptions,
33804
+ };
33805
+ },
33806
+ /**
33807
+ *
33808
+ * @summary Create HeaderNavigationItem
33809
+ * @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
33810
+ * @param {*} [options] Override http request option.
33811
+ * @throws {RequiredError}
33812
+ */
33813
+ apiV1HeadernavigationsPost: async (createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33814
+ const localVarPath = `/api/v1/headernavigations`;
33815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33817
+ let baseOptions;
33818
+ if (configuration) {
33819
+ baseOptions = configuration.baseOptions;
33820
+ }
33821
+
33822
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
33823
+ const localVarHeaderParameter = {} as any;
33824
+ const localVarQueryParameter = {} as any;
33825
+
33826
+ // authentication oauth2 required
33827
+ // oauth required
33828
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33829
+
33830
+
33831
+
33832
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33833
+
33834
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33835
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33836
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33837
+ localVarRequestOptions.data = serializeDataIfNeeded(createHeaderNavigationItemCommand, localVarRequestOptions, configuration)
33838
+
33839
+ return {
33840
+ url: toPathString(localVarUrlObj),
33841
+ options: localVarRequestOptions,
33842
+ };
33843
+ },
33844
+ }
33845
+ };
33846
+
33847
+ /**
33848
+ * HeaderNavigationsApi - functional programming interface
33849
+ * @export
33850
+ */
33851
+ export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
33852
+ const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
33853
+ return {
33854
+ /**
33855
+ *
33856
+ * @summary Get all HeaderNavigationItems
33857
+ * @param {string} [languageCode]
33858
+ * @param {*} [options] Override http request option.
33859
+ * @throws {RequiredError}
33860
+ */
33861
+ async apiV1HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
33862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsGet(languageCode, options);
33863
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33864
+ },
33865
+ /**
33866
+ *
33867
+ * @summary Delete HeaderNavigationItem
33868
+ * @param {string} id
33869
+ * @param {*} [options] Override http request option.
33870
+ * @throws {RequiredError}
33871
+ */
33872
+ async apiV1HeadernavigationsIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
33873
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsIdDelete(id, options);
33874
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33875
+ },
33876
+ /**
33877
+ *
33878
+ * @summary Get HeaderNavigationItem by id
33879
+ * @param {string} id
33880
+ * @param {*} [options] Override http request option.
33881
+ * @throws {RequiredError}
33882
+ */
33883
+ async apiV1HeadernavigationsIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
33884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsIdGet(id, options);
33885
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33886
+ },
33887
+ /**
33888
+ *
33889
+ * @summary Update HeaderNavigationItem
33890
+ * @param {string} id
33891
+ * @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
33892
+ * @param {*} [options] Override http request option.
33893
+ * @throws {RequiredError}
33894
+ */
33895
+ async apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
33896
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options);
33897
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33898
+ },
33899
+ /**
33900
+ *
33901
+ * @summary Get HeaderNavigationItems by parent id
33902
+ * @param {string} parentId
33903
+ * @param {*} [options] Override http request option.
33904
+ * @throws {RequiredError}
33905
+ */
33906
+ async apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
33907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsParentIdSubitemsGet(parentId, options);
33908
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33909
+ },
33910
+ /**
33911
+ *
33912
+ * @summary Create HeaderNavigationItem
33913
+ * @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
33914
+ * @param {*} [options] Override http request option.
33915
+ * @throws {RequiredError}
33916
+ */
33917
+ async apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
33918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsPost(createHeaderNavigationItemCommand, options);
33919
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33920
+ },
33921
+ }
33922
+ };
33923
+
33924
+ /**
33925
+ * HeaderNavigationsApi - factory interface
33926
+ * @export
33927
+ */
33928
+ export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
33929
+ const localVarFp = HeaderNavigationsApiFp(configuration)
33930
+ return {
33931
+ /**
33932
+ *
33933
+ * @summary Get all HeaderNavigationItems
33934
+ * @param {string} [languageCode]
33935
+ * @param {*} [options] Override http request option.
33936
+ * @throws {RequiredError}
33937
+ */
33938
+ apiV1HeadernavigationsGet(languageCode?: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
33939
+ return localVarFp.apiV1HeadernavigationsGet(languageCode, options).then((request) => request(axios, basePath));
33940
+ },
33941
+ /**
33942
+ *
33943
+ * @summary Delete HeaderNavigationItem
33944
+ * @param {string} id
33945
+ * @param {*} [options] Override http request option.
33946
+ * @throws {RequiredError}
33947
+ */
33948
+ apiV1HeadernavigationsIdDelete(id: string, options?: any): AxiosPromise<boolean> {
33949
+ return localVarFp.apiV1HeadernavigationsIdDelete(id, options).then((request) => request(axios, basePath));
33950
+ },
33951
+ /**
33952
+ *
33953
+ * @summary Get HeaderNavigationItem by id
33954
+ * @param {string} id
33955
+ * @param {*} [options] Override http request option.
33956
+ * @throws {RequiredError}
33957
+ */
33958
+ apiV1HeadernavigationsIdGet(id: string, options?: any): AxiosPromise<HeaderNavigationItemModel> {
33959
+ return localVarFp.apiV1HeadernavigationsIdGet(id, options).then((request) => request(axios, basePath));
33960
+ },
33961
+ /**
33962
+ *
33963
+ * @summary Update HeaderNavigationItem
33964
+ * @param {string} id
33965
+ * @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
33966
+ * @param {*} [options] Override http request option.
33967
+ * @throws {RequiredError}
33968
+ */
33969
+ apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: any): AxiosPromise<void> {
33970
+ return localVarFp.apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options).then((request) => request(axios, basePath));
33971
+ },
33972
+ /**
33973
+ *
33974
+ * @summary Get HeaderNavigationItems by parent id
33975
+ * @param {string} parentId
33976
+ * @param {*} [options] Override http request option.
33977
+ * @throws {RequiredError}
33978
+ */
33979
+ apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
33980
+ return localVarFp.apiV1HeadernavigationsParentIdSubitemsGet(parentId, options).then((request) => request(axios, basePath));
33981
+ },
33982
+ /**
33983
+ *
33984
+ * @summary Create HeaderNavigationItem
33985
+ * @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
33986
+ * @param {*} [options] Override http request option.
33987
+ * @throws {RequiredError}
33988
+ */
33989
+ apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand, options?: any): AxiosPromise<HeaderNavigationItemModel> {
33990
+ return localVarFp.apiV1HeadernavigationsPost(createHeaderNavigationItemCommand, options).then((request) => request(axios, basePath));
33991
+ },
33992
+ };
33993
+ };
33994
+
33995
+ /**
33996
+ * HeaderNavigationsApi - object-oriented interface
33997
+ * @export
33998
+ * @class HeaderNavigationsApi
33999
+ * @extends {BaseAPI}
34000
+ */
34001
+ export class HeaderNavigationsApi extends BaseAPI {
34002
+ /**
34003
+ *
34004
+ * @summary Get all HeaderNavigationItems
34005
+ * @param {string} [languageCode]
34006
+ * @param {*} [options] Override http request option.
34007
+ * @throws {RequiredError}
34008
+ * @memberof HeaderNavigationsApi
34009
+ */
34010
+ public apiV1HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig) {
34011
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsGet(languageCode, options).then((request) => request(this.axios, this.basePath));
34012
+ }
34013
+
34014
+ /**
34015
+ *
34016
+ * @summary Delete HeaderNavigationItem
34017
+ * @param {string} id
34018
+ * @param {*} [options] Override http request option.
34019
+ * @throws {RequiredError}
34020
+ * @memberof HeaderNavigationsApi
34021
+ */
34022
+ public apiV1HeadernavigationsIdDelete(id: string, options?: AxiosRequestConfig) {
34023
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
34024
+ }
34025
+
34026
+ /**
34027
+ *
34028
+ * @summary Get HeaderNavigationItem by id
34029
+ * @param {string} id
34030
+ * @param {*} [options] Override http request option.
34031
+ * @throws {RequiredError}
34032
+ * @memberof HeaderNavigationsApi
34033
+ */
34034
+ public apiV1HeadernavigationsIdGet(id: string, options?: AxiosRequestConfig) {
34035
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsIdGet(id, options).then((request) => request(this.axios, this.basePath));
34036
+ }
34037
+
34038
+ /**
34039
+ *
34040
+ * @summary Update HeaderNavigationItem
34041
+ * @param {string} id
34042
+ * @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
34043
+ * @param {*} [options] Override http request option.
34044
+ * @throws {RequiredError}
34045
+ * @memberof HeaderNavigationsApi
34046
+ */
34047
+ public apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: AxiosRequestConfig) {
34048
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsIdPut(id, updateHeaderNavigationItemCommand, options).then((request) => request(this.axios, this.basePath));
34049
+ }
34050
+
34051
+ /**
34052
+ *
34053
+ * @summary Get HeaderNavigationItems by parent id
34054
+ * @param {string} parentId
34055
+ * @param {*} [options] Override http request option.
34056
+ * @throws {RequiredError}
34057
+ * @memberof HeaderNavigationsApi
34058
+ */
34059
+ public apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: AxiosRequestConfig) {
34060
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsParentIdSubitemsGet(parentId, options).then((request) => request(this.axios, this.basePath));
34061
+ }
34062
+
34063
+ /**
34064
+ *
34065
+ * @summary Create HeaderNavigationItem
34066
+ * @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
34067
+ * @param {*} [options] Override http request option.
34068
+ * @throws {RequiredError}
34069
+ * @memberof HeaderNavigationsApi
34070
+ */
34071
+ public apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand, options?: AxiosRequestConfig) {
34072
+ return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsPost(createHeaderNavigationItemCommand, options).then((request) => request(this.axios, this.basePath));
34073
+ }
34074
+ }
34075
+
34076
+
33488
34077
  /**
33489
34078
  * HospitalsApi - axios parameter creator
33490
34079
  * @export