ch-api-client-typescript2 4.1.1 → 4.1.6
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 +132 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +171 -24
- package/package.json +1 -1
- package/src/api.ts +201 -21
package/lib/api.d.ts
CHANGED
|
@@ -313,6 +313,37 @@ export interface AdminMessageModel {
|
|
|
313
313
|
*/
|
|
314
314
|
'updated_at'?: number;
|
|
315
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @export
|
|
319
|
+
* @interface AppVersionModel
|
|
320
|
+
*/
|
|
321
|
+
export interface AppVersionModel {
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @type {Platform}
|
|
325
|
+
* @memberof AppVersionModel
|
|
326
|
+
*/
|
|
327
|
+
'platform'?: Platform;
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof AppVersionModel
|
|
332
|
+
*/
|
|
333
|
+
'latestVersion'?: string | null;
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @type {string}
|
|
337
|
+
* @memberof AppVersionModel
|
|
338
|
+
*/
|
|
339
|
+
'minimumVersion'?: string | null;
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {Date}
|
|
343
|
+
* @memberof AppVersionModel
|
|
344
|
+
*/
|
|
345
|
+
'committedDate'?: Date;
|
|
346
|
+
}
|
|
316
347
|
/**
|
|
317
348
|
*
|
|
318
349
|
* @export
|
|
@@ -7603,6 +7634,16 @@ export interface PlansModel {
|
|
|
7603
7634
|
*/
|
|
7604
7635
|
'metaData'?: PagedListMetaData;
|
|
7605
7636
|
}
|
|
7637
|
+
/**
|
|
7638
|
+
*
|
|
7639
|
+
* @export
|
|
7640
|
+
* @enum {string}
|
|
7641
|
+
*/
|
|
7642
|
+
export declare enum Platform {
|
|
7643
|
+
Web = "Web",
|
|
7644
|
+
IOs = "iOS",
|
|
7645
|
+
Android = "Android"
|
|
7646
|
+
}
|
|
7606
7647
|
/**
|
|
7607
7648
|
*
|
|
7608
7649
|
* @export
|
|
@@ -8088,6 +8129,12 @@ export interface ServiceReviewItemModel {
|
|
|
8088
8129
|
* @memberof ServiceReviewItemModel
|
|
8089
8130
|
*/
|
|
8090
8131
|
'serviceSlug'?: string | null;
|
|
8132
|
+
/**
|
|
8133
|
+
*
|
|
8134
|
+
* @type {string}
|
|
8135
|
+
* @memberof ServiceReviewItemModel
|
|
8136
|
+
*/
|
|
8137
|
+
'hospitalId'?: string;
|
|
8091
8138
|
/**
|
|
8092
8139
|
*
|
|
8093
8140
|
* @type {string}
|
|
@@ -8215,6 +8262,12 @@ export interface ServiceReviewModel {
|
|
|
8215
8262
|
* @memberof ServiceReviewModel
|
|
8216
8263
|
*/
|
|
8217
8264
|
'serviceSlug'?: string | null;
|
|
8265
|
+
/**
|
|
8266
|
+
*
|
|
8267
|
+
* @type {string}
|
|
8268
|
+
* @memberof ServiceReviewModel
|
|
8269
|
+
*/
|
|
8270
|
+
'hospitalId'?: string;
|
|
8218
8271
|
/**
|
|
8219
8272
|
*
|
|
8220
8273
|
* @type {string}
|
|
@@ -9980,6 +10033,61 @@ export declare class AccreditationsApi extends BaseAPI {
|
|
|
9980
10033
|
*/
|
|
9981
10034
|
apiV2AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccreditationsModel, any>>;
|
|
9982
10035
|
}
|
|
10036
|
+
/**
|
|
10037
|
+
* AppVersionApi - axios parameter creator
|
|
10038
|
+
* @export
|
|
10039
|
+
*/
|
|
10040
|
+
export declare const AppVersionApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
10041
|
+
/**
|
|
10042
|
+
*
|
|
10043
|
+
* @param {Platform} platform
|
|
10044
|
+
* @param {*} [options] Override http request option.
|
|
10045
|
+
* @throws {RequiredError}
|
|
10046
|
+
*/
|
|
10047
|
+
apiV2AppversionPlatformGet: (platform: Platform, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10048
|
+
};
|
|
10049
|
+
/**
|
|
10050
|
+
* AppVersionApi - functional programming interface
|
|
10051
|
+
* @export
|
|
10052
|
+
*/
|
|
10053
|
+
export declare const AppVersionApiFp: (configuration?: Configuration | undefined) => {
|
|
10054
|
+
/**
|
|
10055
|
+
*
|
|
10056
|
+
* @param {Platform} platform
|
|
10057
|
+
* @param {*} [options] Override http request option.
|
|
10058
|
+
* @throws {RequiredError}
|
|
10059
|
+
*/
|
|
10060
|
+
apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionModel>>;
|
|
10061
|
+
};
|
|
10062
|
+
/**
|
|
10063
|
+
* AppVersionApi - factory interface
|
|
10064
|
+
* @export
|
|
10065
|
+
*/
|
|
10066
|
+
export declare const AppVersionApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
10067
|
+
/**
|
|
10068
|
+
*
|
|
10069
|
+
* @param {Platform} platform
|
|
10070
|
+
* @param {*} [options] Override http request option.
|
|
10071
|
+
* @throws {RequiredError}
|
|
10072
|
+
*/
|
|
10073
|
+
apiV2AppversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel>;
|
|
10074
|
+
};
|
|
10075
|
+
/**
|
|
10076
|
+
* AppVersionApi - object-oriented interface
|
|
10077
|
+
* @export
|
|
10078
|
+
* @class AppVersionApi
|
|
10079
|
+
* @extends {BaseAPI}
|
|
10080
|
+
*/
|
|
10081
|
+
export declare class AppVersionApi extends BaseAPI {
|
|
10082
|
+
/**
|
|
10083
|
+
*
|
|
10084
|
+
* @param {Platform} platform
|
|
10085
|
+
* @param {*} [options] Override http request option.
|
|
10086
|
+
* @throws {RequiredError}
|
|
10087
|
+
* @memberof AppVersionApi
|
|
10088
|
+
*/
|
|
10089
|
+
apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel, any>>;
|
|
10090
|
+
}
|
|
9983
10091
|
/**
|
|
9984
10092
|
* ArticlesApi - axios parameter creator
|
|
9985
10093
|
* @export
|
|
@@ -14131,25 +14239,28 @@ export declare const GroupChannelsApiAxiosParamCreator: (configuration?: Configu
|
|
|
14131
14239
|
*
|
|
14132
14240
|
* @param {string} dealId
|
|
14133
14241
|
* @param {string} [hospitalId]
|
|
14242
|
+
* @param {boolean} [isExternal]
|
|
14134
14243
|
* @param {*} [options] Override http request option.
|
|
14135
14244
|
* @throws {RequiredError}
|
|
14136
14245
|
*/
|
|
14137
|
-
apiV2GroupchannelsDealDealIdGet: (dealId: string, hospitalId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14246
|
+
apiV2GroupchannelsDealDealIdGet: (dealId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14138
14247
|
/**
|
|
14139
14248
|
*
|
|
14140
14249
|
* @param {string} doctorId
|
|
14141
14250
|
* @param {string} [hospitalId]
|
|
14251
|
+
* @param {boolean} [isExternal]
|
|
14142
14252
|
* @param {*} [options] Override http request option.
|
|
14143
14253
|
* @throws {RequiredError}
|
|
14144
14254
|
*/
|
|
14145
|
-
apiV2GroupchannelsDoctorDoctorIdGet: (doctorId: string, hospitalId?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14255
|
+
apiV2GroupchannelsDoctorDoctorIdGet: (doctorId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14146
14256
|
/**
|
|
14147
14257
|
*
|
|
14148
14258
|
* @param {string} hospitalId
|
|
14259
|
+
* @param {boolean} [isExternal]
|
|
14149
14260
|
* @param {*} [options] Override http request option.
|
|
14150
14261
|
* @throws {RequiredError}
|
|
14151
14262
|
*/
|
|
14152
|
-
apiV2GroupchannelsHospitalHospitalIdGet: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14263
|
+
apiV2GroupchannelsHospitalHospitalIdGet: (hospitalId: string, isExternal?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14153
14264
|
};
|
|
14154
14265
|
/**
|
|
14155
14266
|
* GroupChannelsApi - functional programming interface
|
|
@@ -14168,25 +14279,28 @@ export declare const GroupChannelsApiFp: (configuration?: Configuration | undefi
|
|
|
14168
14279
|
*
|
|
14169
14280
|
* @param {string} dealId
|
|
14170
14281
|
* @param {string} [hospitalId]
|
|
14282
|
+
* @param {boolean} [isExternal]
|
|
14171
14283
|
* @param {*} [options] Override http request option.
|
|
14172
14284
|
* @throws {RequiredError}
|
|
14173
14285
|
*/
|
|
14174
|
-
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
14286
|
+
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
14175
14287
|
/**
|
|
14176
14288
|
*
|
|
14177
14289
|
* @param {string} doctorId
|
|
14178
14290
|
* @param {string} [hospitalId]
|
|
14291
|
+
* @param {boolean} [isExternal]
|
|
14179
14292
|
* @param {*} [options] Override http request option.
|
|
14180
14293
|
* @throws {RequiredError}
|
|
14181
14294
|
*/
|
|
14182
|
-
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
14295
|
+
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
14183
14296
|
/**
|
|
14184
14297
|
*
|
|
14185
14298
|
* @param {string} hospitalId
|
|
14299
|
+
* @param {boolean} [isExternal]
|
|
14186
14300
|
* @param {*} [options] Override http request option.
|
|
14187
14301
|
* @throws {RequiredError}
|
|
14188
14302
|
*/
|
|
14189
|
-
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
14303
|
+
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
14190
14304
|
};
|
|
14191
14305
|
/**
|
|
14192
14306
|
* GroupChannelsApi - factory interface
|
|
@@ -14205,25 +14319,28 @@ export declare const GroupChannelsApiFactory: (configuration?: Configuration | u
|
|
|
14205
14319
|
*
|
|
14206
14320
|
* @param {string} dealId
|
|
14207
14321
|
* @param {string} [hospitalId]
|
|
14322
|
+
* @param {boolean} [isExternal]
|
|
14208
14323
|
* @param {*} [options] Override http request option.
|
|
14209
14324
|
* @throws {RequiredError}
|
|
14210
14325
|
*/
|
|
14211
|
-
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string | undefined, options?: any): AxiosPromise<
|
|
14326
|
+
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: any): AxiosPromise<string>;
|
|
14212
14327
|
/**
|
|
14213
14328
|
*
|
|
14214
14329
|
* @param {string} doctorId
|
|
14215
14330
|
* @param {string} [hospitalId]
|
|
14331
|
+
* @param {boolean} [isExternal]
|
|
14216
14332
|
* @param {*} [options] Override http request option.
|
|
14217
14333
|
* @throws {RequiredError}
|
|
14218
14334
|
*/
|
|
14219
|
-
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string | undefined, options?: any): AxiosPromise<
|
|
14335
|
+
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string | undefined, isExternal?: boolean | undefined, options?: any): AxiosPromise<string>;
|
|
14220
14336
|
/**
|
|
14221
14337
|
*
|
|
14222
14338
|
* @param {string} hospitalId
|
|
14339
|
+
* @param {boolean} [isExternal]
|
|
14223
14340
|
* @param {*} [options] Override http request option.
|
|
14224
14341
|
* @throws {RequiredError}
|
|
14225
14342
|
*/
|
|
14226
|
-
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<
|
|
14343
|
+
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean | undefined, options?: any): AxiosPromise<string>;
|
|
14227
14344
|
};
|
|
14228
14345
|
/**
|
|
14229
14346
|
* GroupChannelsApi - object-oriented interface
|
|
@@ -14245,28 +14362,31 @@ export declare class GroupChannelsApi extends BaseAPI {
|
|
|
14245
14362
|
*
|
|
14246
14363
|
* @param {string} dealId
|
|
14247
14364
|
* @param {string} [hospitalId]
|
|
14365
|
+
* @param {boolean} [isExternal]
|
|
14248
14366
|
* @param {*} [options] Override http request option.
|
|
14249
14367
|
* @throws {RequiredError}
|
|
14250
14368
|
* @memberof GroupChannelsApi
|
|
14251
14369
|
*/
|
|
14252
|
-
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
14370
|
+
apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
14253
14371
|
/**
|
|
14254
14372
|
*
|
|
14255
14373
|
* @param {string} doctorId
|
|
14256
14374
|
* @param {string} [hospitalId]
|
|
14375
|
+
* @param {boolean} [isExternal]
|
|
14257
14376
|
* @param {*} [options] Override http request option.
|
|
14258
14377
|
* @throws {RequiredError}
|
|
14259
14378
|
* @memberof GroupChannelsApi
|
|
14260
14379
|
*/
|
|
14261
|
-
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
14380
|
+
apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
14262
14381
|
/**
|
|
14263
14382
|
*
|
|
14264
14383
|
* @param {string} hospitalId
|
|
14384
|
+
* @param {boolean} [isExternal]
|
|
14265
14385
|
* @param {*} [options] Override http request option.
|
|
14266
14386
|
* @throws {RequiredError}
|
|
14267
14387
|
* @memberof GroupChannelsApi
|
|
14268
14388
|
*/
|
|
14269
|
-
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
14389
|
+
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
14270
14390
|
}
|
|
14271
14391
|
/**
|
|
14272
14392
|
* HospitalsApi - axios parameter creator
|