ch-api-client-typescript2 4.2.1 → 4.2.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/lib/api.d.ts +74 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +42 -21
- package/package.json +1 -1
- package/src/api.ts +95 -21
package/lib/api.d.ts
CHANGED
|
@@ -7829,6 +7829,44 @@ export declare enum Platform {
|
|
|
7829
7829
|
IOs = "iOS",
|
|
7830
7830
|
Android = "Android"
|
|
7831
7831
|
}
|
|
7832
|
+
/**
|
|
7833
|
+
*
|
|
7834
|
+
* @export
|
|
7835
|
+
* @interface ProblemDetails
|
|
7836
|
+
*/
|
|
7837
|
+
export interface ProblemDetails {
|
|
7838
|
+
[key: string]: any | any;
|
|
7839
|
+
/**
|
|
7840
|
+
*
|
|
7841
|
+
* @type {string}
|
|
7842
|
+
* @memberof ProblemDetails
|
|
7843
|
+
*/
|
|
7844
|
+
'type'?: string | null;
|
|
7845
|
+
/**
|
|
7846
|
+
*
|
|
7847
|
+
* @type {string}
|
|
7848
|
+
* @memberof ProblemDetails
|
|
7849
|
+
*/
|
|
7850
|
+
'title'?: string | null;
|
|
7851
|
+
/**
|
|
7852
|
+
*
|
|
7853
|
+
* @type {number}
|
|
7854
|
+
* @memberof ProblemDetails
|
|
7855
|
+
*/
|
|
7856
|
+
'status'?: number | null;
|
|
7857
|
+
/**
|
|
7858
|
+
*
|
|
7859
|
+
* @type {string}
|
|
7860
|
+
* @memberof ProblemDetails
|
|
7861
|
+
*/
|
|
7862
|
+
'detail'?: string | null;
|
|
7863
|
+
/**
|
|
7864
|
+
*
|
|
7865
|
+
* @type {string}
|
|
7866
|
+
* @memberof ProblemDetails
|
|
7867
|
+
*/
|
|
7868
|
+
'instance'?: string | null;
|
|
7869
|
+
}
|
|
7832
7870
|
/**
|
|
7833
7871
|
*
|
|
7834
7872
|
* @export
|
|
@@ -8678,6 +8716,12 @@ export interface SpecialtyItemModel {
|
|
|
8678
8716
|
* @memberof SpecialtyItemModel
|
|
8679
8717
|
*/
|
|
8680
8718
|
'specialtyTypeName'?: string | null;
|
|
8719
|
+
/**
|
|
8720
|
+
*
|
|
8721
|
+
* @type {MarketingType}
|
|
8722
|
+
* @memberof SpecialtyItemModel
|
|
8723
|
+
*/
|
|
8724
|
+
'marketingType'?: MarketingType;
|
|
8681
8725
|
/**
|
|
8682
8726
|
*
|
|
8683
8727
|
* @type {Array<MediaModel>}
|
|
@@ -8782,6 +8826,12 @@ export interface SpecialtyModel {
|
|
|
8782
8826
|
* @memberof SpecialtyModel
|
|
8783
8827
|
*/
|
|
8784
8828
|
'specialtyTypeName'?: string | null;
|
|
8829
|
+
/**
|
|
8830
|
+
*
|
|
8831
|
+
* @type {MarketingType}
|
|
8832
|
+
* @memberof SpecialtyModel
|
|
8833
|
+
*/
|
|
8834
|
+
'marketingType'?: MarketingType;
|
|
8785
8835
|
/**
|
|
8786
8836
|
*
|
|
8787
8837
|
* @type {Array<MediaModel>}
|
|
@@ -16475,11 +16525,12 @@ export declare const LanguagesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
16475
16525
|
/**
|
|
16476
16526
|
*
|
|
16477
16527
|
* @summary Get Language.
|
|
16528
|
+
* @param {string} code
|
|
16478
16529
|
* @param {string} id
|
|
16479
16530
|
* @param {*} [options] Override http request option.
|
|
16480
16531
|
* @throws {RequiredError}
|
|
16481
16532
|
*/
|
|
16482
|
-
apiV2LanguagesIdGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16533
|
+
apiV2LanguagesIdGet: (code: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16483
16534
|
};
|
|
16484
16535
|
/**
|
|
16485
16536
|
* LanguagesApi - functional programming interface
|
|
@@ -16511,11 +16562,12 @@ export declare const LanguagesApiFp: (configuration?: Configuration | undefined)
|
|
|
16511
16562
|
/**
|
|
16512
16563
|
*
|
|
16513
16564
|
* @summary Get Language.
|
|
16565
|
+
* @param {string} code
|
|
16514
16566
|
* @param {string} id
|
|
16515
16567
|
* @param {*} [options] Override http request option.
|
|
16516
16568
|
* @throws {RequiredError}
|
|
16517
16569
|
*/
|
|
16518
|
-
apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LanguageModel>>;
|
|
16570
|
+
apiV2LanguagesIdGet(code: string, id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LanguageModel>>;
|
|
16519
16571
|
};
|
|
16520
16572
|
/**
|
|
16521
16573
|
* LanguagesApi - factory interface
|
|
@@ -16547,11 +16599,12 @@ export declare const LanguagesApiFactory: (configuration?: Configuration | undef
|
|
|
16547
16599
|
/**
|
|
16548
16600
|
*
|
|
16549
16601
|
* @summary Get Language.
|
|
16602
|
+
* @param {string} code
|
|
16550
16603
|
* @param {string} id
|
|
16551
16604
|
* @param {*} [options] Override http request option.
|
|
16552
16605
|
* @throws {RequiredError}
|
|
16553
16606
|
*/
|
|
16554
|
-
apiV2LanguagesIdGet(id: string, options?: any): AxiosPromise<LanguageModel>;
|
|
16607
|
+
apiV2LanguagesIdGet(code: string, id: string, options?: any): AxiosPromise<LanguageModel>;
|
|
16555
16608
|
};
|
|
16556
16609
|
/**
|
|
16557
16610
|
* LanguagesApi - object-oriented interface
|
|
@@ -16587,12 +16640,13 @@ export declare class LanguagesApi extends BaseAPI {
|
|
|
16587
16640
|
/**
|
|
16588
16641
|
*
|
|
16589
16642
|
* @summary Get Language.
|
|
16643
|
+
* @param {string} code
|
|
16590
16644
|
* @param {string} id
|
|
16591
16645
|
* @param {*} [options] Override http request option.
|
|
16592
16646
|
* @throws {RequiredError}
|
|
16593
16647
|
* @memberof LanguagesApi
|
|
16594
16648
|
*/
|
|
16595
|
-
apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguageModel, any>>;
|
|
16649
|
+
apiV2LanguagesIdGet(code: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LanguageModel, any>>;
|
|
16596
16650
|
}
|
|
16597
16651
|
/**
|
|
16598
16652
|
* MembershipsApi - axios parameter creator
|
|
@@ -18158,6 +18212,7 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
|
|
|
18158
18212
|
* @param {string} [name]
|
|
18159
18213
|
* @param {string} [description]
|
|
18160
18214
|
* @param {string} [specialtyTypeId]
|
|
18215
|
+
* @param {MarketingType} [marketingType]
|
|
18161
18216
|
* @param {string} [hospitalId]
|
|
18162
18217
|
* @param {Date} [created]
|
|
18163
18218
|
* @param {string} [languageCode]
|
|
@@ -18169,7 +18224,7 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
|
|
|
18169
18224
|
* @param {*} [options] Override http request option.
|
|
18170
18225
|
* @throws {RequiredError}
|
|
18171
18226
|
*/
|
|
18172
|
-
apiV2SpecialtiesGet: (id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18227
|
+
apiV2SpecialtiesGet: (id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18173
18228
|
/**
|
|
18174
18229
|
*
|
|
18175
18230
|
* @summary Get all Specialties Simple.
|
|
@@ -18177,6 +18232,7 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
|
|
|
18177
18232
|
* @param {string} [name]
|
|
18178
18233
|
* @param {string} [description]
|
|
18179
18234
|
* @param {string} [specialtyTypeId]
|
|
18235
|
+
* @param {MarketingType} [marketingType]
|
|
18180
18236
|
* @param {string} [hospitalId]
|
|
18181
18237
|
* @param {Date} [created]
|
|
18182
18238
|
* @param {string} [languageCode]
|
|
@@ -18188,7 +18244,7 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
|
|
|
18188
18244
|
* @param {*} [options] Override http request option.
|
|
18189
18245
|
* @throws {RequiredError}
|
|
18190
18246
|
*/
|
|
18191
|
-
apiV2SpecialtiesSimpleGet: (id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18247
|
+
apiV2SpecialtiesSimpleGet: (id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18192
18248
|
/**
|
|
18193
18249
|
*
|
|
18194
18250
|
* @param {string} slug
|
|
@@ -18242,6 +18298,7 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration | undefine
|
|
|
18242
18298
|
* @param {string} [name]
|
|
18243
18299
|
* @param {string} [description]
|
|
18244
18300
|
* @param {string} [specialtyTypeId]
|
|
18301
|
+
* @param {MarketingType} [marketingType]
|
|
18245
18302
|
* @param {string} [hospitalId]
|
|
18246
18303
|
* @param {Date} [created]
|
|
18247
18304
|
* @param {string} [languageCode]
|
|
@@ -18253,7 +18310,7 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration | undefine
|
|
|
18253
18310
|
* @param {*} [options] Override http request option.
|
|
18254
18311
|
* @throws {RequiredError}
|
|
18255
18312
|
*/
|
|
18256
|
-
apiV2SpecialtiesGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtiesModel>>;
|
|
18313
|
+
apiV2SpecialtiesGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtiesModel>>;
|
|
18257
18314
|
/**
|
|
18258
18315
|
*
|
|
18259
18316
|
* @summary Get all Specialties Simple.
|
|
@@ -18261,6 +18318,7 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration | undefine
|
|
|
18261
18318
|
* @param {string} [name]
|
|
18262
18319
|
* @param {string} [description]
|
|
18263
18320
|
* @param {string} [specialtyTypeId]
|
|
18321
|
+
* @param {MarketingType} [marketingType]
|
|
18264
18322
|
* @param {string} [hospitalId]
|
|
18265
18323
|
* @param {Date} [created]
|
|
18266
18324
|
* @param {string} [languageCode]
|
|
@@ -18272,7 +18330,7 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration | undefine
|
|
|
18272
18330
|
* @param {*} [options] Override http request option.
|
|
18273
18331
|
* @throws {RequiredError}
|
|
18274
18332
|
*/
|
|
18275
|
-
apiV2SpecialtiesSimpleGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtiesSimpleModel>>;
|
|
18333
|
+
apiV2SpecialtiesSimpleGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SpecialtiesSimpleModel>>;
|
|
18276
18334
|
/**
|
|
18277
18335
|
*
|
|
18278
18336
|
* @param {string} slug
|
|
@@ -18326,6 +18384,7 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration | und
|
|
|
18326
18384
|
* @param {string} [name]
|
|
18327
18385
|
* @param {string} [description]
|
|
18328
18386
|
* @param {string} [specialtyTypeId]
|
|
18387
|
+
* @param {MarketingType} [marketingType]
|
|
18329
18388
|
* @param {string} [hospitalId]
|
|
18330
18389
|
* @param {Date} [created]
|
|
18331
18390
|
* @param {string} [languageCode]
|
|
@@ -18337,7 +18396,7 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration | und
|
|
|
18337
18396
|
* @param {*} [options] Override http request option.
|
|
18338
18397
|
* @throws {RequiredError}
|
|
18339
18398
|
*/
|
|
18340
|
-
apiV2SpecialtiesGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<SpecialtiesModel>;
|
|
18399
|
+
apiV2SpecialtiesGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<SpecialtiesModel>;
|
|
18341
18400
|
/**
|
|
18342
18401
|
*
|
|
18343
18402
|
* @summary Get all Specialties Simple.
|
|
@@ -18345,6 +18404,7 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration | und
|
|
|
18345
18404
|
* @param {string} [name]
|
|
18346
18405
|
* @param {string} [description]
|
|
18347
18406
|
* @param {string} [specialtyTypeId]
|
|
18407
|
+
* @param {MarketingType} [marketingType]
|
|
18348
18408
|
* @param {string} [hospitalId]
|
|
18349
18409
|
* @param {Date} [created]
|
|
18350
18410
|
* @param {string} [languageCode]
|
|
@@ -18356,7 +18416,7 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration | und
|
|
|
18356
18416
|
* @param {*} [options] Override http request option.
|
|
18357
18417
|
* @throws {RequiredError}
|
|
18358
18418
|
*/
|
|
18359
|
-
apiV2SpecialtiesSimpleGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<SpecialtiesSimpleModel>;
|
|
18419
|
+
apiV2SpecialtiesSimpleGet(id?: string | undefined, name?: string | undefined, description?: string | undefined, specialtyTypeId?: string | undefined, marketingType?: MarketingType | undefined, hospitalId?: string | undefined, created?: Date | undefined, languageCode?: string | undefined, ids?: string[] | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<SpecialtiesSimpleModel>;
|
|
18360
18420
|
/**
|
|
18361
18421
|
*
|
|
18362
18422
|
* @param {string} slug
|
|
@@ -18412,6 +18472,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
18412
18472
|
* @param {string} [name]
|
|
18413
18473
|
* @param {string} [description]
|
|
18414
18474
|
* @param {string} [specialtyTypeId]
|
|
18475
|
+
* @param {MarketingType} [marketingType]
|
|
18415
18476
|
* @param {string} [hospitalId]
|
|
18416
18477
|
* @param {Date} [created]
|
|
18417
18478
|
* @param {string} [languageCode]
|
|
@@ -18424,7 +18485,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
18424
18485
|
* @throws {RequiredError}
|
|
18425
18486
|
* @memberof SpecialtiesApi
|
|
18426
18487
|
*/
|
|
18427
|
-
apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtiesModel, any>>;
|
|
18488
|
+
apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtiesModel, any>>;
|
|
18428
18489
|
/**
|
|
18429
18490
|
*
|
|
18430
18491
|
* @summary Get all Specialties Simple.
|
|
@@ -18432,6 +18493,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
18432
18493
|
* @param {string} [name]
|
|
18433
18494
|
* @param {string} [description]
|
|
18434
18495
|
* @param {string} [specialtyTypeId]
|
|
18496
|
+
* @param {MarketingType} [marketingType]
|
|
18435
18497
|
* @param {string} [hospitalId]
|
|
18436
18498
|
* @param {Date} [created]
|
|
18437
18499
|
* @param {string} [languageCode]
|
|
@@ -18444,7 +18506,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
18444
18506
|
* @throws {RequiredError}
|
|
18445
18507
|
* @memberof SpecialtiesApi
|
|
18446
18508
|
*/
|
|
18447
|
-
apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtiesSimpleModel, any>>;
|
|
18509
|
+
apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtiesSimpleModel, any>>;
|
|
18448
18510
|
/**
|
|
18449
18511
|
*
|
|
18450
18512
|
* @param {string} slug
|