ch-api-client-typescript2 4.0.6 → 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/.github/workflows/publish-npm.yml +15 -0
- package/lib/api.d.ts +77 -67
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +129 -122
- package/package.json +1 -1
- package/src/api.ts +138 -122
|
@@ -47,3 +47,18 @@ jobs:
|
|
|
47
47
|
- run: npm publish
|
|
48
48
|
env:
|
|
49
49
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
50
|
+
|
|
51
|
+
- uses: 8398a7/action-slack@v3
|
|
52
|
+
with:
|
|
53
|
+
status: custom
|
|
54
|
+
fields: workflow,job,commit,repo,ref,author,took
|
|
55
|
+
custom_payload: |
|
|
56
|
+
{
|
|
57
|
+
attachments: [{
|
|
58
|
+
color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
|
|
59
|
+
text: `Ch-api-client ${{ github.event.client_payload.message.tag }} publish ${{ job.status }} in ${process.env.AS_TOOK}`,
|
|
60
|
+
}]
|
|
61
|
+
}
|
|
62
|
+
env:
|
|
63
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
|
|
64
|
+
if: always() # Pick up events even if the job fails or is canceled.
|
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
|
*
|
|
@@ -3288,16 +3288,16 @@ export interface DealModel {
|
|
|
3288
3288
|
'content'?: string | null;
|
|
3289
3289
|
/**
|
|
3290
3290
|
*
|
|
3291
|
-
* @type {
|
|
3291
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3292
3292
|
* @memberof DealModel
|
|
3293
3293
|
*/
|
|
3294
|
-
'
|
|
3294
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3295
3295
|
/**
|
|
3296
3296
|
*
|
|
3297
|
-
* @type {
|
|
3297
|
+
* @type {number}
|
|
3298
3298
|
* @memberof DealModel
|
|
3299
3299
|
*/
|
|
3300
|
-
'
|
|
3300
|
+
'serviceDuration'?: number;
|
|
3301
3301
|
}
|
|
3302
3302
|
/**
|
|
3303
3303
|
*
|
|
@@ -3353,6 +3353,12 @@ export interface DealPackageItemModel {
|
|
|
3353
3353
|
* @memberof DealPackageItemModel
|
|
3354
3354
|
*/
|
|
3355
3355
|
'hospitalSlug'?: string | null;
|
|
3356
|
+
/**
|
|
3357
|
+
*
|
|
3358
|
+
* @type {string}
|
|
3359
|
+
* @memberof DealPackageItemModel
|
|
3360
|
+
*/
|
|
3361
|
+
'additionalServices'?: string | null;
|
|
3356
3362
|
/**
|
|
3357
3363
|
*
|
|
3358
3364
|
* @type {RefundPolicy}
|
|
@@ -10767,6 +10773,13 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
10767
10773
|
* @throws {RequiredError}
|
|
10768
10774
|
*/
|
|
10769
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>;
|
|
10770
10783
|
/**
|
|
10771
10784
|
*
|
|
10772
10785
|
* @summary Get all chatUsers.
|
|
@@ -10789,12 +10802,12 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
10789
10802
|
apiV2ChatusersPost: (createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10790
10803
|
/**
|
|
10791
10804
|
*
|
|
10792
|
-
* @summary
|
|
10793
|
-
* @param {
|
|
10805
|
+
* @summary Update chatUser.
|
|
10806
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10794
10807
|
* @param {*} [options] Override http request option.
|
|
10795
10808
|
* @throws {RequiredError}
|
|
10796
10809
|
*/
|
|
10797
|
-
|
|
10810
|
+
apiV2ChatusersPut: (updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10798
10811
|
/**
|
|
10799
10812
|
*
|
|
10800
10813
|
* @summary Get chatUser.
|
|
@@ -10803,15 +10816,6 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
10803
10816
|
* @throws {RequiredError}
|
|
10804
10817
|
*/
|
|
10805
10818
|
apiV2ChatusersUserIdGet: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10806
|
-
/**
|
|
10807
|
-
*
|
|
10808
|
-
* @summary Update chatUser.
|
|
10809
|
-
* @param {string} userId
|
|
10810
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10811
|
-
* @param {*} [options] Override http request option.
|
|
10812
|
-
* @throws {RequiredError}
|
|
10813
|
-
*/
|
|
10814
|
-
apiV2ChatusersUserIdPut: (userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10815
10819
|
};
|
|
10816
10820
|
/**
|
|
10817
10821
|
* ChatUsersApi - functional programming interface
|
|
@@ -10824,6 +10828,13 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
|
|
|
10824
10828
|
* @throws {RequiredError}
|
|
10825
10829
|
*/
|
|
10826
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>>;
|
|
10827
10838
|
/**
|
|
10828
10839
|
*
|
|
10829
10840
|
* @summary Get all chatUsers.
|
|
@@ -10846,12 +10857,12 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
|
|
|
10846
10857
|
apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
|
|
10847
10858
|
/**
|
|
10848
10859
|
*
|
|
10849
|
-
* @summary
|
|
10850
|
-
* @param {
|
|
10860
|
+
* @summary Update chatUser.
|
|
10861
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10851
10862
|
* @param {*} [options] Override http request option.
|
|
10852
10863
|
* @throws {RequiredError}
|
|
10853
10864
|
*/
|
|
10854
|
-
|
|
10865
|
+
apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
|
|
10855
10866
|
/**
|
|
10856
10867
|
*
|
|
10857
10868
|
* @summary Get chatUser.
|
|
@@ -10860,15 +10871,6 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
|
|
|
10860
10871
|
* @throws {RequiredError}
|
|
10861
10872
|
*/
|
|
10862
10873
|
apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
|
|
10863
|
-
/**
|
|
10864
|
-
*
|
|
10865
|
-
* @summary Update chatUser.
|
|
10866
|
-
* @param {string} userId
|
|
10867
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10868
|
-
* @param {*} [options] Override http request option.
|
|
10869
|
-
* @throws {RequiredError}
|
|
10870
|
-
*/
|
|
10871
|
-
apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
|
|
10872
10874
|
};
|
|
10873
10875
|
/**
|
|
10874
10876
|
* ChatUsersApi - factory interface
|
|
@@ -10881,6 +10883,13 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
|
|
|
10881
10883
|
* @throws {RequiredError}
|
|
10882
10884
|
*/
|
|
10883
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>;
|
|
10884
10893
|
/**
|
|
10885
10894
|
*
|
|
10886
10895
|
* @summary Get all chatUsers.
|
|
@@ -10903,12 +10912,12 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
|
|
|
10903
10912
|
apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
|
|
10904
10913
|
/**
|
|
10905
10914
|
*
|
|
10906
|
-
* @summary
|
|
10907
|
-
* @param {
|
|
10915
|
+
* @summary Update chatUser.
|
|
10916
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10908
10917
|
* @param {*} [options] Override http request option.
|
|
10909
10918
|
* @throws {RequiredError}
|
|
10910
10919
|
*/
|
|
10911
|
-
|
|
10920
|
+
apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
|
|
10912
10921
|
/**
|
|
10913
10922
|
*
|
|
10914
10923
|
* @summary Get chatUser.
|
|
@@ -10917,15 +10926,6 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
|
|
|
10917
10926
|
* @throws {RequiredError}
|
|
10918
10927
|
*/
|
|
10919
10928
|
apiV2ChatusersUserIdGet(userId: string, options?: any): AxiosPromise<ChatUserModel>;
|
|
10920
|
-
/**
|
|
10921
|
-
*
|
|
10922
|
-
* @summary Update chatUser.
|
|
10923
|
-
* @param {string} userId
|
|
10924
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10925
|
-
* @param {*} [options] Override http request option.
|
|
10926
|
-
* @throws {RequiredError}
|
|
10927
|
-
*/
|
|
10928
|
-
apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand | undefined, options?: any): AxiosPromise<ChatUserModel>;
|
|
10929
10929
|
};
|
|
10930
10930
|
/**
|
|
10931
10931
|
* ChatUsersApi - object-oriented interface
|
|
@@ -10941,6 +10941,14 @@ export declare class ChatUsersApi extends BaseAPI {
|
|
|
10941
10941
|
* @memberof ChatUsersApi
|
|
10942
10942
|
*/
|
|
10943
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>>;
|
|
10944
10952
|
/**
|
|
10945
10953
|
*
|
|
10946
10954
|
* @summary Get all chatUsers.
|
|
@@ -10965,13 +10973,13 @@ export declare class ChatUsersApi extends BaseAPI {
|
|
|
10965
10973
|
apiV2ChatusersPost(createChatUserCommand?: CreateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
|
|
10966
10974
|
/**
|
|
10967
10975
|
*
|
|
10968
|
-
* @summary
|
|
10969
|
-
* @param {
|
|
10976
|
+
* @summary Update chatUser.
|
|
10977
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10970
10978
|
* @param {*} [options] Override http request option.
|
|
10971
10979
|
* @throws {RequiredError}
|
|
10972
10980
|
* @memberof ChatUsersApi
|
|
10973
10981
|
*/
|
|
10974
|
-
|
|
10982
|
+
apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
|
|
10975
10983
|
/**
|
|
10976
10984
|
*
|
|
10977
10985
|
* @summary Get chatUser.
|
|
@@ -10981,16 +10989,6 @@ export declare class ChatUsersApi extends BaseAPI {
|
|
|
10981
10989
|
* @memberof ChatUsersApi
|
|
10982
10990
|
*/
|
|
10983
10991
|
apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
|
|
10984
|
-
/**
|
|
10985
|
-
*
|
|
10986
|
-
* @summary Update chatUser.
|
|
10987
|
-
* @param {string} userId
|
|
10988
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
10989
|
-
* @param {*} [options] Override http request option.
|
|
10990
|
-
* @throws {RequiredError}
|
|
10991
|
-
* @memberof ChatUsersApi
|
|
10992
|
-
*/
|
|
10993
|
-
apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel, any>>;
|
|
10994
10992
|
}
|
|
10995
10993
|
/**
|
|
10996
10994
|
* CommunicationsApi - axios parameter creator
|
|
@@ -11927,22 +11925,25 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
11927
11925
|
* @param {string} [countryId]
|
|
11928
11926
|
* @param {string} [hospitalId]
|
|
11929
11927
|
* @param {string} [hospitalName]
|
|
11928
|
+
* @param {string} [languageCode]
|
|
11929
|
+
* @param {boolean} [showHidden]
|
|
11930
11930
|
* @param {number} [page]
|
|
11931
11931
|
* @param {number} [limit]
|
|
11932
11932
|
* @param {Date} [lastRetrieved]
|
|
11933
11933
|
* @param {*} [options] Override http request option.
|
|
11934
11934
|
* @throws {RequiredError}
|
|
11935
11935
|
*/
|
|
11936
|
-
apiV2DealsDealIdPackagesGet: (dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11936
|
+
apiV2DealsDealIdPackagesGet: (dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11937
11937
|
/**
|
|
11938
11938
|
*
|
|
11939
11939
|
* @summary Get DealPackage.
|
|
11940
11940
|
* @param {string} dealId
|
|
11941
11941
|
* @param {string} packageId
|
|
11942
|
+
* @param {string} [languageCode]
|
|
11942
11943
|
* @param {*} [options] Override http request option.
|
|
11943
11944
|
* @throws {RequiredError}
|
|
11944
11945
|
*/
|
|
11945
|
-
apiV2DealsDealIdPackagesPackageIdGet: (dealId: string, packageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11946
|
+
apiV2DealsDealIdPackagesPackageIdGet: (dealId: string, packageId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11946
11947
|
/**
|
|
11947
11948
|
*
|
|
11948
11949
|
* @summary Get all DealService.
|
|
@@ -12059,22 +12060,25 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
12059
12060
|
* @param {string} [countryId]
|
|
12060
12061
|
* @param {string} [hospitalId]
|
|
12061
12062
|
* @param {string} [hospitalName]
|
|
12063
|
+
* @param {string} [languageCode]
|
|
12064
|
+
* @param {boolean} [showHidden]
|
|
12062
12065
|
* @param {number} [page]
|
|
12063
12066
|
* @param {number} [limit]
|
|
12064
12067
|
* @param {Date} [lastRetrieved]
|
|
12065
12068
|
* @param {*} [options] Override http request option.
|
|
12066
12069
|
* @throws {RequiredError}
|
|
12067
12070
|
*/
|
|
12068
|
-
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealPackagesModel>>;
|
|
12071
|
+
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealPackagesModel>>;
|
|
12069
12072
|
/**
|
|
12070
12073
|
*
|
|
12071
12074
|
* @summary Get DealPackage.
|
|
12072
12075
|
* @param {string} dealId
|
|
12073
12076
|
* @param {string} packageId
|
|
12077
|
+
* @param {string} [languageCode]
|
|
12074
12078
|
* @param {*} [options] Override http request option.
|
|
12075
12079
|
* @throws {RequiredError}
|
|
12076
12080
|
*/
|
|
12077
|
-
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealPackageModel>>;
|
|
12081
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealPackageModel>>;
|
|
12078
12082
|
/**
|
|
12079
12083
|
*
|
|
12080
12084
|
* @summary Get all DealService.
|
|
@@ -12191,22 +12195,25 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
|
|
|
12191
12195
|
* @param {string} [countryId]
|
|
12192
12196
|
* @param {string} [hospitalId]
|
|
12193
12197
|
* @param {string} [hospitalName]
|
|
12198
|
+
* @param {string} [languageCode]
|
|
12199
|
+
* @param {boolean} [showHidden]
|
|
12194
12200
|
* @param {number} [page]
|
|
12195
12201
|
* @param {number} [limit]
|
|
12196
12202
|
* @param {Date} [lastRetrieved]
|
|
12197
12203
|
* @param {*} [options] Override http request option.
|
|
12198
12204
|
* @throws {RequiredError}
|
|
12199
12205
|
*/
|
|
12200
|
-
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealPackagesModel>;
|
|
12206
|
+
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string | undefined, dealName?: string | undefined, name?: string | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealPackagesModel>;
|
|
12201
12207
|
/**
|
|
12202
12208
|
*
|
|
12203
12209
|
* @summary Get DealPackage.
|
|
12204
12210
|
* @param {string} dealId
|
|
12205
12211
|
* @param {string} packageId
|
|
12212
|
+
* @param {string} [languageCode]
|
|
12206
12213
|
* @param {*} [options] Override http request option.
|
|
12207
12214
|
* @throws {RequiredError}
|
|
12208
12215
|
*/
|
|
12209
|
-
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: any): AxiosPromise<DealPackageModel>;
|
|
12216
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string | undefined, options?: any): AxiosPromise<DealPackageModel>;
|
|
12210
12217
|
/**
|
|
12211
12218
|
*
|
|
12212
12219
|
* @summary Get all DealService.
|
|
@@ -12326,6 +12333,8 @@ export declare class DealsApi extends BaseAPI {
|
|
|
12326
12333
|
* @param {string} [countryId]
|
|
12327
12334
|
* @param {string} [hospitalId]
|
|
12328
12335
|
* @param {string} [hospitalName]
|
|
12336
|
+
* @param {string} [languageCode]
|
|
12337
|
+
* @param {boolean} [showHidden]
|
|
12329
12338
|
* @param {number} [page]
|
|
12330
12339
|
* @param {number} [limit]
|
|
12331
12340
|
* @param {Date} [lastRetrieved]
|
|
@@ -12333,17 +12342,18 @@ export declare class DealsApi extends BaseAPI {
|
|
|
12333
12342
|
* @throws {RequiredError}
|
|
12334
12343
|
* @memberof DealsApi
|
|
12335
12344
|
*/
|
|
12336
|
-
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealPackagesModel, any>>;
|
|
12345
|
+
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealPackagesModel, any>>;
|
|
12337
12346
|
/**
|
|
12338
12347
|
*
|
|
12339
12348
|
* @summary Get DealPackage.
|
|
12340
12349
|
* @param {string} dealId
|
|
12341
12350
|
* @param {string} packageId
|
|
12351
|
+
* @param {string} [languageCode]
|
|
12342
12352
|
* @param {*} [options] Override http request option.
|
|
12343
12353
|
* @throws {RequiredError}
|
|
12344
12354
|
* @memberof DealsApi
|
|
12345
12355
|
*/
|
|
12346
|
-
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealPackageModel, any>>;
|
|
12356
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealPackageModel, any>>;
|
|
12347
12357
|
/**
|
|
12348
12358
|
*
|
|
12349
12359
|
* @summary Get all DealService.
|