ch-api-client-typescript2 4.0.8 → 4.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.d.ts CHANGED
@@ -2721,12 +2721,6 @@ export interface CreateBookingCommand {
2721
2721
  * @interface CreateChatUserCommand
2722
2722
  */
2723
2723
  export interface CreateChatUserCommand {
2724
- /**
2725
- *
2726
- * @type {string}
2727
- * @memberof CreateChatUserCommand
2728
- */
2729
- 'userId'?: string;
2730
2724
  /**
2731
2725
  *
2732
2726
  * @type {string}
@@ -2751,6 +2745,12 @@ export interface CreateChatUserCommand {
2751
2745
  * @memberof CreateChatUserCommand
2752
2746
  */
2753
2747
  'discoveryKeys'?: Array<string> | null;
2748
+ /**
2749
+ *
2750
+ * @type {string}
2751
+ * @memberof CreateChatUserCommand
2752
+ */
2753
+ 'hospitalId'?: string;
2754
2754
  }
2755
2755
  /**
2756
2756
  *
@@ -10773,6 +10773,13 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10773
10773
  * @throws {RequiredError}
10774
10774
  */
10775
10775
  apiV2ChatusersCurrentGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
10776
+ /**
10777
+ *
10778
+ * @summary Delete chatUser.
10779
+ * @param {*} [options] Override http request option.
10780
+ * @throws {RequiredError}
10781
+ */
10782
+ apiV2ChatusersDelete: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
10776
10783
  /**
10777
10784
  *
10778
10785
  * @summary Get all chatUsers.
@@ -10795,12 +10802,12 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10795
10802
  apiV2ChatusersPost: (createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10796
10803
  /**
10797
10804
  *
10798
- * @summary Delete chatUser.
10799
- * @param {string} userId
10805
+ * @summary Update chatUser.
10806
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10800
10807
  * @param {*} [options] Override http request option.
10801
10808
  * @throws {RequiredError}
10802
10809
  */
10803
- apiV2ChatusersUserIdDelete: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10810
+ apiV2ChatusersPut: (updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10804
10811
  /**
10805
10812
  *
10806
10813
  * @summary Get chatUser.
@@ -10809,15 +10816,6 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10809
10816
  * @throws {RequiredError}
10810
10817
  */
10811
10818
  apiV2ChatusersUserIdGet: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10812
- /**
10813
- *
10814
- * @summary Update chatUser.
10815
- * @param {string} userId
10816
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10817
- * @param {*} [options] Override http request option.
10818
- * @throws {RequiredError}
10819
- */
10820
- apiV2ChatusersUserIdPut: (userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10821
10819
  };
10822
10820
  /**
10823
10821
  * ChatUsersApi - functional programming interface
@@ -10830,6 +10828,13 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10830
10828
  * @throws {RequiredError}
10831
10829
  */
10832
10830
  apiV2ChatusersCurrentGet(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10831
+ /**
10832
+ *
10833
+ * @summary Delete chatUser.
10834
+ * @param {*} [options] Override http request option.
10835
+ * @throws {RequiredError}
10836
+ */
10837
+ apiV2ChatusersDelete(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
10833
10838
  /**
10834
10839
  *
10835
10840
  * @summary Get all chatUsers.
@@ -10852,12 +10857,12 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10852
10857
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10853
10858
  /**
10854
10859
  *
10855
- * @summary Delete chatUser.
10856
- * @param {string} userId
10860
+ * @summary Update chatUser.
10861
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10857
10862
  * @param {*} [options] Override http request option.
10858
10863
  * @throws {RequiredError}
10859
10864
  */
10860
- apiV2ChatusersUserIdDelete(userId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
10865
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10861
10866
  /**
10862
10867
  *
10863
10868
  * @summary Get chatUser.
@@ -10866,15 +10871,6 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10866
10871
  * @throws {RequiredError}
10867
10872
  */
10868
10873
  apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10869
- /**
10870
- *
10871
- * @summary Update chatUser.
10872
- * @param {string} userId
10873
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10874
- * @param {*} [options] Override http request option.
10875
- * @throws {RequiredError}
10876
- */
10877
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10878
10874
  };
10879
10875
  /**
10880
10876
  * ChatUsersApi - factory interface
@@ -10887,6 +10883,13 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10887
10883
  * @throws {RequiredError}
10888
10884
  */
10889
10885
  apiV2ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel>;
10886
+ /**
10887
+ *
10888
+ * @summary Delete chatUser.
10889
+ * @param {*} [options] Override http request option.
10890
+ * @throws {RequiredError}
10891
+ */
10892
+ apiV2ChatusersDelete(options?: any): AxiosPromise<boolean>;
10890
10893
  /**
10891
10894
  *
10892
10895
  * @summary Get all chatUsers.
@@ -10909,12 +10912,12 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10909
10912
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10910
10913
  /**
10911
10914
  *
10912
- * @summary Delete chatUser.
10913
- * @param {string} userId
10915
+ * @summary Update chatUser.
10916
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10914
10917
  * @param {*} [options] Override http request option.
10915
10918
  * @throws {RequiredError}
10916
10919
  */
10917
- apiV2ChatusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean>;
10920
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10918
10921
  /**
10919
10922
  *
10920
10923
  * @summary Get chatUser.
@@ -10923,15 +10926,6 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10923
10926
  * @throws {RequiredError}
10924
10927
  */
10925
10928
  apiV2ChatusersUserIdGet(userId: string, options?: any): AxiosPromise<ChatUserModel>;
10926
- /**
10927
- *
10928
- * @summary Update chatUser.
10929
- * @param {string} userId
10930
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10931
- * @param {*} [options] Override http request option.
10932
- * @throws {RequiredError}
10933
- */
10934
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10935
10929
  };
10936
10930
  /**
10937
10931
  * ChatUsersApi - object-oriented interface
@@ -10947,6 +10941,14 @@ export declare class ChatUsersApi extends BaseAPI {
10947
10941
  * @memberof ChatUsersApi
10948
10942
  */
10949
10943
  apiV2ChatusersCurrentGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10944
+ /**
10945
+ *
10946
+ * @summary Delete chatUser.
10947
+ * @param {*} [options] Override http request option.
10948
+ * @throws {RequiredError}
10949
+ * @memberof ChatUsersApi
10950
+ */
10951
+ apiV2ChatusersDelete(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
10950
10952
  /**
10951
10953
  *
10952
10954
  * @summary Get all chatUsers.
@@ -10971,13 +10973,13 @@ export declare class ChatUsersApi extends BaseAPI {
10971
10973
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10972
10974
  /**
10973
10975
  *
10974
- * @summary Delete chatUser.
10975
- * @param {string} userId
10976
+ * @summary Update chatUser.
10977
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10976
10978
  * @param {*} [options] Override http request option.
10977
10979
  * @throws {RequiredError}
10978
10980
  * @memberof ChatUsersApi
10979
10981
  */
10980
- apiV2ChatusersUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
10982
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10981
10983
  /**
10982
10984
  *
10983
10985
  * @summary Get chatUser.
@@ -10987,16 +10989,6 @@ export declare class ChatUsersApi extends BaseAPI {
10987
10989
  * @memberof ChatUsersApi
10988
10990
  */
10989
10991
  apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10990
- /**
10991
- *
10992
- * @summary Update chatUser.
10993
- * @param {string} userId
10994
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10995
- * @param {*} [options] Override http request option.
10996
- * @throws {RequiredError}
10997
- * @memberof ChatUsersApi
10998
- */
10999
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
11000
10992
  }
11001
10993
  /**
11002
10994
  * CommunicationsApi - axios parameter creator