ch-api-client-typescript2 4.0.7 → 4.1.0

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
  *
@@ -3062,6 +3062,12 @@ export interface DealItemModel {
3062
3062
  * @memberof DealItemModel
3063
3063
  */
3064
3064
  'slug'?: string | null;
3065
+ /**
3066
+ *
3067
+ * @type {string}
3068
+ * @memberof DealItemModel
3069
+ */
3070
+ 'description'?: string | null;
3065
3071
  /**
3066
3072
  *
3067
3073
  * @type {boolean}
@@ -3196,6 +3202,12 @@ export interface DealModel {
3196
3202
  * @memberof DealModel
3197
3203
  */
3198
3204
  'slug'?: string | null;
3205
+ /**
3206
+ *
3207
+ * @type {string}
3208
+ * @memberof DealModel
3209
+ */
3210
+ 'description'?: string | null;
3199
3211
  /**
3200
3212
  *
3201
3213
  * @type {boolean}
@@ -3267,19 +3279,19 @@ export interface DealModel {
3267
3279
  * @type {string}
3268
3280
  * @memberof DealModel
3269
3281
  */
3270
- 'description'?: string | null;
3282
+ 'overview'?: string | null;
3271
3283
  /**
3272
3284
  *
3273
3285
  * @type {string}
3274
3286
  * @memberof DealModel
3275
3287
  */
3276
- 'overview'?: string | null;
3288
+ 'content'?: string | null;
3277
3289
  /**
3278
3290
  *
3279
- * @type {string}
3291
+ * @type {Array<LocalizedUrlModel>}
3280
3292
  * @memberof DealModel
3281
3293
  */
3282
- 'content'?: string | null;
3294
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
3283
3295
  /**
3284
3296
  *
3285
3297
  * @type {number}
@@ -10761,6 +10773,13 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10761
10773
  * @throws {RequiredError}
10762
10774
  */
10763
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>;
10764
10783
  /**
10765
10784
  *
10766
10785
  * @summary Get all chatUsers.
@@ -10783,12 +10802,12 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10783
10802
  apiV2ChatusersPost: (createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10784
10803
  /**
10785
10804
  *
10786
- * @summary Delete chatUser.
10787
- * @param {string} userId
10805
+ * @summary Update chatUser.
10806
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10788
10807
  * @param {*} [options] Override http request option.
10789
10808
  * @throws {RequiredError}
10790
10809
  */
10791
- apiV2ChatusersUserIdDelete: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10810
+ apiV2ChatusersPut: (updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10792
10811
  /**
10793
10812
  *
10794
10813
  * @summary Get chatUser.
@@ -10797,15 +10816,6 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
10797
10816
  * @throws {RequiredError}
10798
10817
  */
10799
10818
  apiV2ChatusersUserIdGet: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10800
- /**
10801
- *
10802
- * @summary Update chatUser.
10803
- * @param {string} userId
10804
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10805
- * @param {*} [options] Override http request option.
10806
- * @throws {RequiredError}
10807
- */
10808
- apiV2ChatusersUserIdPut: (userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10809
10819
  };
10810
10820
  /**
10811
10821
  * ChatUsersApi - functional programming interface
@@ -10818,6 +10828,13 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10818
10828
  * @throws {RequiredError}
10819
10829
  */
10820
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>>;
10821
10838
  /**
10822
10839
  *
10823
10840
  * @summary Get all chatUsers.
@@ -10840,12 +10857,12 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10840
10857
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10841
10858
  /**
10842
10859
  *
10843
- * @summary Delete chatUser.
10844
- * @param {string} userId
10860
+ * @summary Update chatUser.
10861
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10845
10862
  * @param {*} [options] Override http request option.
10846
10863
  * @throws {RequiredError}
10847
10864
  */
10848
- 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>>;
10849
10866
  /**
10850
10867
  *
10851
10868
  * @summary Get chatUser.
@@ -10854,15 +10871,6 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
10854
10871
  * @throws {RequiredError}
10855
10872
  */
10856
10873
  apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10857
- /**
10858
- *
10859
- * @summary Update chatUser.
10860
- * @param {string} userId
10861
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10862
- * @param {*} [options] Override http request option.
10863
- * @throws {RequiredError}
10864
- */
10865
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
10866
10874
  };
10867
10875
  /**
10868
10876
  * ChatUsersApi - factory interface
@@ -10875,6 +10883,13 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10875
10883
  * @throws {RequiredError}
10876
10884
  */
10877
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>;
10878
10893
  /**
10879
10894
  *
10880
10895
  * @summary Get all chatUsers.
@@ -10897,12 +10912,12 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10897
10912
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10898
10913
  /**
10899
10914
  *
10900
- * @summary Delete chatUser.
10901
- * @param {string} userId
10915
+ * @summary Update chatUser.
10916
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10902
10917
  * @param {*} [options] Override http request option.
10903
10918
  * @throws {RequiredError}
10904
10919
  */
10905
- apiV2ChatusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean>;
10920
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10906
10921
  /**
10907
10922
  *
10908
10923
  * @summary Get chatUser.
@@ -10911,15 +10926,6 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
10911
10926
  * @throws {RequiredError}
10912
10927
  */
10913
10928
  apiV2ChatusersUserIdGet(userId: string, options?: any): AxiosPromise<ChatUserModel>;
10914
- /**
10915
- *
10916
- * @summary Update chatUser.
10917
- * @param {string} userId
10918
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10919
- * @param {*} [options] Override http request option.
10920
- * @throws {RequiredError}
10921
- */
10922
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
10923
10929
  };
10924
10930
  /**
10925
10931
  * ChatUsersApi - object-oriented interface
@@ -10935,6 +10941,14 @@ export declare class ChatUsersApi extends BaseAPI {
10935
10941
  * @memberof ChatUsersApi
10936
10942
  */
10937
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>>;
10938
10952
  /**
10939
10953
  *
10940
10954
  * @summary Get all chatUsers.
@@ -10959,13 +10973,13 @@ export declare class ChatUsersApi extends BaseAPI {
10959
10973
  apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10960
10974
  /**
10961
10975
  *
10962
- * @summary Delete chatUser.
10963
- * @param {string} userId
10976
+ * @summary Update chatUser.
10977
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
10964
10978
  * @param {*} [options] Override http request option.
10965
10979
  * @throws {RequiredError}
10966
10980
  * @memberof ChatUsersApi
10967
10981
  */
10968
- apiV2ChatusersUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
10982
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10969
10983
  /**
10970
10984
  *
10971
10985
  * @summary Get chatUser.
@@ -10975,16 +10989,6 @@ export declare class ChatUsersApi extends BaseAPI {
10975
10989
  * @memberof ChatUsersApi
10976
10990
  */
10977
10991
  apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10978
- /**
10979
- *
10980
- * @summary Update chatUser.
10981
- * @param {string} userId
10982
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
10983
- * @param {*} [options] Override http request option.
10984
- * @throws {RequiredError}
10985
- * @memberof ChatUsersApi
10986
- */
10987
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
10988
10992
  }
10989
10993
  /**
10990
10994
  * CommunicationsApi - axios parameter creator
@@ -12451,6 +12455,28 @@ export declare class DealsApi extends BaseAPI {
12451
12455
  * @export
12452
12456
  */
12453
12457
  export declare const DoctorAffiliationsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
12458
+ /**
12459
+ *
12460
+ * @summary Get all DoctorAffiliationMedias.
12461
+ * @param {string} doctorAffiliationId
12462
+ * @param {string} [id]
12463
+ * @param {MediaType} [mediaType]
12464
+ * @param {number} [page]
12465
+ * @param {number} [limit]
12466
+ * @param {Date} [lastRetrieved]
12467
+ * @param {*} [options] Override http request option.
12468
+ * @throws {RequiredError}
12469
+ */
12470
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: (doctorAffiliationId: string, id?: string | undefined, mediaType?: MediaType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12471
+ /**
12472
+ *
12473
+ * @summary Get DoctorAffiliationMedia.
12474
+ * @param {string} doctorAffiliationId
12475
+ * @param {string} mediaId
12476
+ * @param {*} [options] Override http request option.
12477
+ * @throws {RequiredError}
12478
+ */
12479
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: (doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
12454
12480
  /**
12455
12481
  *
12456
12482
  * @summary Get all doctor affiliations.
@@ -12493,6 +12519,28 @@ export declare const DoctorAffiliationsApiAxiosParamCreator: (configuration?: Co
12493
12519
  * @export
12494
12520
  */
12495
12521
  export declare const DoctorAffiliationsApiFp: (configuration?: Configuration | undefined) => {
12522
+ /**
12523
+ *
12524
+ * @summary Get all DoctorAffiliationMedias.
12525
+ * @param {string} doctorAffiliationId
12526
+ * @param {string} [id]
12527
+ * @param {MediaType} [mediaType]
12528
+ * @param {number} [page]
12529
+ * @param {number} [limit]
12530
+ * @param {Date} [lastRetrieved]
12531
+ * @param {*} [options] Override http request option.
12532
+ * @throws {RequiredError}
12533
+ */
12534
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string | undefined, mediaType?: MediaType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MediasModel>>;
12535
+ /**
12536
+ *
12537
+ * @summary Get DoctorAffiliationMedia.
12538
+ * @param {string} doctorAffiliationId
12539
+ * @param {string} mediaId
12540
+ * @param {*} [options] Override http request option.
12541
+ * @throws {RequiredError}
12542
+ */
12543
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<MediaModel>>;
12496
12544
  /**
12497
12545
  *
12498
12546
  * @summary Get all doctor affiliations.
@@ -12535,6 +12583,28 @@ export declare const DoctorAffiliationsApiFp: (configuration?: Configuration | u
12535
12583
  * @export
12536
12584
  */
12537
12585
  export declare const DoctorAffiliationsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
12586
+ /**
12587
+ *
12588
+ * @summary Get all DoctorAffiliationMedias.
12589
+ * @param {string} doctorAffiliationId
12590
+ * @param {string} [id]
12591
+ * @param {MediaType} [mediaType]
12592
+ * @param {number} [page]
12593
+ * @param {number} [limit]
12594
+ * @param {Date} [lastRetrieved]
12595
+ * @param {*} [options] Override http request option.
12596
+ * @throws {RequiredError}
12597
+ */
12598
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string | undefined, mediaType?: MediaType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<MediasModel>;
12599
+ /**
12600
+ *
12601
+ * @summary Get DoctorAffiliationMedia.
12602
+ * @param {string} doctorAffiliationId
12603
+ * @param {string} mediaId
12604
+ * @param {*} [options] Override http request option.
12605
+ * @throws {RequiredError}
12606
+ */
12607
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel>;
12538
12608
  /**
12539
12609
  *
12540
12610
  * @summary Get all doctor affiliations.
@@ -12579,6 +12649,30 @@ export declare const DoctorAffiliationsApiFactory: (configuration?: Configuratio
12579
12649
  * @extends {BaseAPI}
12580
12650
  */
12581
12651
  export declare class DoctorAffiliationsApi extends BaseAPI {
12652
+ /**
12653
+ *
12654
+ * @summary Get all DoctorAffiliationMedias.
12655
+ * @param {string} doctorAffiliationId
12656
+ * @param {string} [id]
12657
+ * @param {MediaType} [mediaType]
12658
+ * @param {number} [page]
12659
+ * @param {number} [limit]
12660
+ * @param {Date} [lastRetrieved]
12661
+ * @param {*} [options] Override http request option.
12662
+ * @throws {RequiredError}
12663
+ * @memberof DoctorAffiliationsApi
12664
+ */
12665
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediasModel, any>>;
12666
+ /**
12667
+ *
12668
+ * @summary Get DoctorAffiliationMedia.
12669
+ * @param {string} doctorAffiliationId
12670
+ * @param {string} mediaId
12671
+ * @param {*} [options] Override http request option.
12672
+ * @throws {RequiredError}
12673
+ * @memberof DoctorAffiliationsApi
12674
+ */
12675
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaModel, any>>;
12582
12676
  /**
12583
12677
  *
12584
12678
  * @summary Get all doctor affiliations.