ch-api-client-typescript2 5.0.4 → 5.0.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/articles-api.d.ts +16 -7
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +16 -10
- package/lib/api/contributors-api.d.ts +12 -3
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +12 -6
- package/lib/api/countries-api.d.ts +16 -7
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +16 -10
- package/lib/api/deals-api.d.ts +12 -3
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +12 -6
- package/lib/api/hospitals-api.d.ts +56 -17
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +56 -26
- package/lib/api/services-api.d.ts +20 -11
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +20 -14
- package/lib/api/specialties-api.d.ts +20 -11
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +20 -14
- package/lib/api/specialty-types-api.d.ts +20 -11
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +20 -14
- package/package.json +1 -1
- package/src/api/articles-api.ts +24 -10
- package/src/api/contributors-api.ts +20 -6
- package/src/api/countries-api.ts +24 -10
- package/src/api/deals-api.ts +20 -6
- package/src/api/hospitals-api.ts +80 -26
- package/src/api/services-api.ts +28 -14
- package/src/api/specialties-api.ts +28 -14
- package/src/api/specialty-types-api.ts +28 -14
|
@@ -66,17 +66,18 @@ export declare const SpecialtiesApiAxiosParamCreator: (configuration?: Configura
|
|
|
66
66
|
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<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @summary
|
|
69
|
+
* @summary Get specialty by slug
|
|
70
70
|
* @param {string} slug
|
|
71
71
|
* @param {string} [languageCode]
|
|
72
72
|
* @param {boolean} [returnDefaultValue]
|
|
73
|
+
* @param {string} [previewSecret]
|
|
73
74
|
* @param {*} [options] Override http request option.
|
|
74
75
|
* @throws {RequiredError}
|
|
75
76
|
*/
|
|
76
|
-
apiV2SpecialtiesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
apiV2SpecialtiesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
78
|
/**
|
|
78
79
|
*
|
|
79
|
-
* @summary
|
|
80
|
+
* @summary Get specialty by id
|
|
80
81
|
* @param {string} specialtyId
|
|
81
82
|
* @param {string} [languageCode]
|
|
82
83
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -154,17 +155,18 @@ export declare const SpecialtiesApiFp: (configuration?: Configuration) => {
|
|
|
154
155
|
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<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>>;
|
|
155
156
|
/**
|
|
156
157
|
*
|
|
157
|
-
* @summary
|
|
158
|
+
* @summary Get specialty by slug
|
|
158
159
|
* @param {string} slug
|
|
159
160
|
* @param {string} [languageCode]
|
|
160
161
|
* @param {boolean} [returnDefaultValue]
|
|
162
|
+
* @param {string} [previewSecret]
|
|
161
163
|
* @param {*} [options] Override http request option.
|
|
162
164
|
* @throws {RequiredError}
|
|
163
165
|
*/
|
|
164
|
-
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>>;
|
|
166
|
+
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyModel>>;
|
|
165
167
|
/**
|
|
166
168
|
*
|
|
167
|
-
* @summary
|
|
169
|
+
* @summary Get specialty by id
|
|
168
170
|
* @param {string} specialtyId
|
|
169
171
|
* @param {string} [languageCode]
|
|
170
172
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -242,17 +244,18 @@ export declare const SpecialtiesApiFactory: (configuration?: Configuration, base
|
|
|
242
244
|
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?: any): AxiosPromise<SpecialtiesSimpleModel>;
|
|
243
245
|
/**
|
|
244
246
|
*
|
|
245
|
-
* @summary
|
|
247
|
+
* @summary Get specialty by slug
|
|
246
248
|
* @param {string} slug
|
|
247
249
|
* @param {string} [languageCode]
|
|
248
250
|
* @param {boolean} [returnDefaultValue]
|
|
251
|
+
* @param {string} [previewSecret]
|
|
249
252
|
* @param {*} [options] Override http request option.
|
|
250
253
|
* @throws {RequiredError}
|
|
251
254
|
*/
|
|
252
|
-
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyModel>;
|
|
255
|
+
apiV2SpecialtiesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<SpecialtyModel>;
|
|
253
256
|
/**
|
|
254
257
|
*
|
|
255
|
-
* @summary
|
|
258
|
+
* @summary Get specialty by id
|
|
256
259
|
* @param {string} specialtyId
|
|
257
260
|
* @param {string} [languageCode]
|
|
258
261
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -477,6 +480,12 @@ export interface SpecialtiesApiApiV2SpecialtiesSlugGetRequest {
|
|
|
477
480
|
* @memberof SpecialtiesApiApiV2SpecialtiesSlugGet
|
|
478
481
|
*/
|
|
479
482
|
readonly returnDefaultValue?: boolean;
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* @type {string}
|
|
486
|
+
* @memberof SpecialtiesApiApiV2SpecialtiesSlugGet
|
|
487
|
+
*/
|
|
488
|
+
readonly previewSecret?: string;
|
|
480
489
|
}
|
|
481
490
|
/**
|
|
482
491
|
* Request parameters for apiV2SpecialtiesSpecialtyIdGet operation in SpecialtiesApi.
|
|
@@ -592,7 +601,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
592
601
|
apiV2SpecialtiesSimpleGet(requestParameters?: SpecialtiesApiApiV2SpecialtiesSimpleGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtiesSimpleModel, any>>;
|
|
593
602
|
/**
|
|
594
603
|
*
|
|
595
|
-
* @summary
|
|
604
|
+
* @summary Get specialty by slug
|
|
596
605
|
* @param {SpecialtiesApiApiV2SpecialtiesSlugGetRequest} requestParameters Request parameters.
|
|
597
606
|
* @param {*} [options] Override http request option.
|
|
598
607
|
* @throws {RequiredError}
|
|
@@ -601,7 +610,7 @@ export declare class SpecialtiesApi extends BaseAPI {
|
|
|
601
610
|
apiV2SpecialtiesSlugGet(requestParameters: SpecialtiesApiApiV2SpecialtiesSlugGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyModel, any>>;
|
|
602
611
|
/**
|
|
603
612
|
*
|
|
604
|
-
* @summary
|
|
613
|
+
* @summary Get specialty by id
|
|
605
614
|
* @param {SpecialtiesApiApiV2SpecialtiesSpecialtyIdGetRequest} requestParameters Request parameters.
|
|
606
615
|
* @param {*} [options] Override http request option.
|
|
607
616
|
* @throws {RequiredError}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specialties-api.d.ts","sourceRoot":"","sources":["../../src/api/specialties-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;;;;;;;;;;;;;;;OAkBG;+BAC8B,MAAM,SAAS,MAAM,gBAAgB,MAAM,oBAAoB,MAAM,kBAAkB,aAAa,eAAe,MAAM,YAAY,IAAI,iBAAiB,MAAM,QAAQ,MAAM,MAAM,CAAC,uBAAuB,OAAO,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAgFlW;;;;;;;;;;;;;;;;;;OAkBG;qCACoC,MAAM,SAAS,MAAM,gBAAgB,MAAM,oBAAoB,MAAM,kBAAkB,aAAa,eAAe,MAAM,YAAY,IAAI,iBAAiB,MAAM,QAAQ,MAAM,MAAM,CAAC,uBAAuB,OAAO,SA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,kBAAkB;IAI1I;;;;;;;OAOG;IACI,oCAAoC,CAAC,iBAAiB,EAAE,yDAAyD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAItJ;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,EAAE,gEAAgE,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGvK"}
|
|
@@ -264,14 +264,15 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
264
264
|
},
|
|
265
265
|
/**
|
|
266
266
|
*
|
|
267
|
-
* @summary
|
|
267
|
+
* @summary Get specialty by slug
|
|
268
268
|
* @param {string} slug
|
|
269
269
|
* @param {string} [languageCode]
|
|
270
270
|
* @param {boolean} [returnDefaultValue]
|
|
271
|
+
* @param {string} [previewSecret]
|
|
271
272
|
* @param {*} [options] Override http request option.
|
|
272
273
|
* @throws {RequiredError}
|
|
273
274
|
*/
|
|
274
|
-
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
275
|
+
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
275
276
|
if (options === void 0) { options = {}; }
|
|
276
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
277
278
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -293,6 +294,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
293
294
|
if (returnDefaultValue !== undefined) {
|
|
294
295
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
295
296
|
}
|
|
297
|
+
if (previewSecret !== undefined) {
|
|
298
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
299
|
+
}
|
|
296
300
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
297
301
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
298
302
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -305,7 +309,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
305
309
|
},
|
|
306
310
|
/**
|
|
307
311
|
*
|
|
308
|
-
* @summary
|
|
312
|
+
* @summary Get specialty by id
|
|
309
313
|
* @param {string} specialtyId
|
|
310
314
|
* @param {string} [languageCode]
|
|
311
315
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -512,19 +516,20 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
512
516
|
},
|
|
513
517
|
/**
|
|
514
518
|
*
|
|
515
|
-
* @summary
|
|
519
|
+
* @summary Get specialty by slug
|
|
516
520
|
* @param {string} slug
|
|
517
521
|
* @param {string} [languageCode]
|
|
518
522
|
* @param {boolean} [returnDefaultValue]
|
|
523
|
+
* @param {string} [previewSecret]
|
|
519
524
|
* @param {*} [options] Override http request option.
|
|
520
525
|
* @throws {RequiredError}
|
|
521
526
|
*/
|
|
522
|
-
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
527
|
+
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
523
528
|
return __awaiter(this, void 0, void 0, function () {
|
|
524
529
|
var localVarAxiosArgs;
|
|
525
530
|
return __generator(this, function (_a) {
|
|
526
531
|
switch (_a.label) {
|
|
527
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
532
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options)];
|
|
528
533
|
case 1:
|
|
529
534
|
localVarAxiosArgs = _a.sent();
|
|
530
535
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -534,7 +539,7 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
534
539
|
},
|
|
535
540
|
/**
|
|
536
541
|
*
|
|
537
|
-
* @summary
|
|
542
|
+
* @summary Get specialty by id
|
|
538
543
|
* @param {string} specialtyId
|
|
539
544
|
* @param {string} [languageCode]
|
|
540
545
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -656,19 +661,20 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
656
661
|
},
|
|
657
662
|
/**
|
|
658
663
|
*
|
|
659
|
-
* @summary
|
|
664
|
+
* @summary Get specialty by slug
|
|
660
665
|
* @param {string} slug
|
|
661
666
|
* @param {string} [languageCode]
|
|
662
667
|
* @param {boolean} [returnDefaultValue]
|
|
668
|
+
* @param {string} [previewSecret]
|
|
663
669
|
* @param {*} [options] Override http request option.
|
|
664
670
|
* @throws {RequiredError}
|
|
665
671
|
*/
|
|
666
|
-
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
667
|
-
return localVarFp.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
672
|
+
apiV2SpecialtiesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
673
|
+
return localVarFp.apiV2SpecialtiesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
668
674
|
},
|
|
669
675
|
/**
|
|
670
676
|
*
|
|
671
|
-
* @summary
|
|
677
|
+
* @summary Get specialty by id
|
|
672
678
|
* @param {string} specialtyId
|
|
673
679
|
* @param {string} [languageCode]
|
|
674
680
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -746,7 +752,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
746
752
|
};
|
|
747
753
|
/**
|
|
748
754
|
*
|
|
749
|
-
* @summary
|
|
755
|
+
* @summary Get specialty by slug
|
|
750
756
|
* @param {SpecialtiesApiApiV2SpecialtiesSlugGetRequest} requestParameters Request parameters.
|
|
751
757
|
* @param {*} [options] Override http request option.
|
|
752
758
|
* @throws {RequiredError}
|
|
@@ -754,11 +760,11 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
754
760
|
*/
|
|
755
761
|
SpecialtiesApi.prototype.apiV2SpecialtiesSlugGet = function (requestParameters, options) {
|
|
756
762
|
var _this = this;
|
|
757
|
-
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
763
|
+
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
758
764
|
};
|
|
759
765
|
/**
|
|
760
766
|
*
|
|
761
|
-
* @summary
|
|
767
|
+
* @summary Get specialty by id
|
|
762
768
|
* @param {SpecialtiesApiApiV2SpecialtiesSpecialtyIdGetRequest} requestParameters Request parameters.
|
|
763
769
|
* @param {*} [options] Override http request option.
|
|
764
770
|
* @throws {RequiredError}
|
|
@@ -68,17 +68,18 @@ export declare const SpecialtyTypesApiAxiosParamCreator: (configuration?: Config
|
|
|
68
68
|
apiV2SpecialtytypesSimpleGet: (id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
|
-
* @summary
|
|
71
|
+
* @summary Get specialtyType by slug
|
|
72
72
|
* @param {string} slug
|
|
73
73
|
* @param {string} [languageCode]
|
|
74
74
|
* @param {boolean} [returnDefaultValue]
|
|
75
|
+
* @param {string} [previewSecret]
|
|
75
76
|
* @param {*} [options] Override http request option.
|
|
76
77
|
* @throws {RequiredError}
|
|
77
78
|
*/
|
|
78
|
-
apiV2SpecialtytypesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
apiV2SpecialtytypesSlugGet: (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
80
|
/**
|
|
80
81
|
*
|
|
81
|
-
* @summary
|
|
82
|
+
* @summary Get specialtyType by id
|
|
82
83
|
* @param {string} specialtyTypeId
|
|
83
84
|
* @param {string} [languageCode]
|
|
84
85
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -158,17 +159,18 @@ export declare const SpecialtyTypesApiFp: (configuration?: Configuration) => {
|
|
|
158
159
|
apiV2SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypesSimpleModel>>;
|
|
159
160
|
/**
|
|
160
161
|
*
|
|
161
|
-
* @summary
|
|
162
|
+
* @summary Get specialtyType by slug
|
|
162
163
|
* @param {string} slug
|
|
163
164
|
* @param {string} [languageCode]
|
|
164
165
|
* @param {boolean} [returnDefaultValue]
|
|
166
|
+
* @param {string} [previewSecret]
|
|
165
167
|
* @param {*} [options] Override http request option.
|
|
166
168
|
* @throws {RequiredError}
|
|
167
169
|
*/
|
|
168
|
-
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>>;
|
|
170
|
+
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>>;
|
|
169
171
|
/**
|
|
170
172
|
*
|
|
171
|
-
* @summary
|
|
173
|
+
* @summary Get specialtyType by id
|
|
172
174
|
* @param {string} specialtyTypeId
|
|
173
175
|
* @param {string} [languageCode]
|
|
174
176
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -248,17 +250,18 @@ export declare const SpecialtyTypesApiFactory: (configuration?: Configuration, b
|
|
|
248
250
|
apiV2SpecialtytypesSimpleGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, ids?: Array<string>, specialtyTypeCategoryId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtyTypesSimpleModel>;
|
|
249
251
|
/**
|
|
250
252
|
*
|
|
251
|
-
* @summary
|
|
253
|
+
* @summary Get specialtyType by slug
|
|
252
254
|
* @param {string} slug
|
|
253
255
|
* @param {string} [languageCode]
|
|
254
256
|
* @param {boolean} [returnDefaultValue]
|
|
257
|
+
* @param {string} [previewSecret]
|
|
255
258
|
* @param {*} [options] Override http request option.
|
|
256
259
|
* @throws {RequiredError}
|
|
257
260
|
*/
|
|
258
|
-
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel>;
|
|
261
|
+
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<SpecialtyTypeModel>;
|
|
259
262
|
/**
|
|
260
263
|
*
|
|
261
|
-
* @summary
|
|
264
|
+
* @summary Get specialtyType by id
|
|
262
265
|
* @param {string} specialtyTypeId
|
|
263
266
|
* @param {string} [languageCode]
|
|
264
267
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -495,6 +498,12 @@ export interface SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest {
|
|
|
495
498
|
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
496
499
|
*/
|
|
497
500
|
readonly returnDefaultValue?: boolean;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
505
|
+
*/
|
|
506
|
+
readonly previewSecret?: string;
|
|
498
507
|
}
|
|
499
508
|
/**
|
|
500
509
|
* Request parameters for apiV2SpecialtytypesSpecialtyTypeIdGet operation in SpecialtyTypesApi.
|
|
@@ -610,7 +619,7 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
610
619
|
apiV2SpecialtytypesSimpleGet(requestParameters?: SpecialtyTypesApiApiV2SpecialtytypesSimpleGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypesSimpleModel, any>>;
|
|
611
620
|
/**
|
|
612
621
|
*
|
|
613
|
-
* @summary
|
|
622
|
+
* @summary Get specialtyType by slug
|
|
614
623
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest} requestParameters Request parameters.
|
|
615
624
|
* @param {*} [options] Override http request option.
|
|
616
625
|
* @throws {RequiredError}
|
|
@@ -619,7 +628,7 @@ export declare class SpecialtyTypesApi extends BaseAPI {
|
|
|
619
628
|
apiV2SpecialtytypesSlugGet(requestParameters: SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialtyTypeModel, any>>;
|
|
620
629
|
/**
|
|
621
630
|
*
|
|
622
|
-
* @summary
|
|
631
|
+
* @summary Get specialtyType by id
|
|
623
632
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSpecialtyTypeIdGetRequest} requestParameters Request parameters.
|
|
624
633
|
* @param {*} [options] Override http request option.
|
|
625
634
|
* @throws {RequiredError}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specialty-types-api.d.ts","sourceRo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EAAE,kDAAkD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIrI;;;;;;;OAOG;IACI,qCAAqC,CAAC,iBAAiB,EAAE,6DAA6D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3J;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,EAAE,mEAAmE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIvK;;;;;;;OAOG;IACI,kDAAkD,CAAC,iBAAiB,EAAE,0EAA0E,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGxL"}
|
|
@@ -272,14 +272,15 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
272
272
|
},
|
|
273
273
|
/**
|
|
274
274
|
*
|
|
275
|
-
* @summary
|
|
275
|
+
* @summary Get specialtyType by slug
|
|
276
276
|
* @param {string} slug
|
|
277
277
|
* @param {string} [languageCode]
|
|
278
278
|
* @param {boolean} [returnDefaultValue]
|
|
279
|
+
* @param {string} [previewSecret]
|
|
279
280
|
* @param {*} [options] Override http request option.
|
|
280
281
|
* @throws {RequiredError}
|
|
281
282
|
*/
|
|
282
|
-
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
283
|
+
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
283
284
|
if (options === void 0) { options = {}; }
|
|
284
285
|
return __awaiter(_this, void 0, void 0, function () {
|
|
285
286
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -301,6 +302,9 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
301
302
|
if (returnDefaultValue !== undefined) {
|
|
302
303
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
303
304
|
}
|
|
305
|
+
if (previewSecret !== undefined) {
|
|
306
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
307
|
+
}
|
|
304
308
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
305
309
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
306
310
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -313,7 +317,7 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
313
317
|
},
|
|
314
318
|
/**
|
|
315
319
|
*
|
|
316
|
-
* @summary
|
|
320
|
+
* @summary Get specialtyType by id
|
|
317
321
|
* @param {string} specialtyTypeId
|
|
318
322
|
* @param {string} [languageCode]
|
|
319
323
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -522,19 +526,20 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
522
526
|
},
|
|
523
527
|
/**
|
|
524
528
|
*
|
|
525
|
-
* @summary
|
|
529
|
+
* @summary Get specialtyType by slug
|
|
526
530
|
* @param {string} slug
|
|
527
531
|
* @param {string} [languageCode]
|
|
528
532
|
* @param {boolean} [returnDefaultValue]
|
|
533
|
+
* @param {string} [previewSecret]
|
|
529
534
|
* @param {*} [options] Override http request option.
|
|
530
535
|
* @throws {RequiredError}
|
|
531
536
|
*/
|
|
532
|
-
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
537
|
+
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
533
538
|
return __awaiter(this, void 0, void 0, function () {
|
|
534
539
|
var localVarAxiosArgs;
|
|
535
540
|
return __generator(this, function (_a) {
|
|
536
541
|
switch (_a.label) {
|
|
537
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
542
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options)];
|
|
538
543
|
case 1:
|
|
539
544
|
localVarAxiosArgs = _a.sent();
|
|
540
545
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -544,7 +549,7 @@ var SpecialtyTypesApiFp = function (configuration) {
|
|
|
544
549
|
},
|
|
545
550
|
/**
|
|
546
551
|
*
|
|
547
|
-
* @summary
|
|
552
|
+
* @summary Get specialtyType by id
|
|
548
553
|
* @param {string} specialtyTypeId
|
|
549
554
|
* @param {string} [languageCode]
|
|
550
555
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -668,19 +673,20 @@ var SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
668
673
|
},
|
|
669
674
|
/**
|
|
670
675
|
*
|
|
671
|
-
* @summary
|
|
676
|
+
* @summary Get specialtyType by slug
|
|
672
677
|
* @param {string} slug
|
|
673
678
|
* @param {string} [languageCode]
|
|
674
679
|
* @param {boolean} [returnDefaultValue]
|
|
680
|
+
* @param {string} [previewSecret]
|
|
675
681
|
* @param {*} [options] Override http request option.
|
|
676
682
|
* @throws {RequiredError}
|
|
677
683
|
*/
|
|
678
|
-
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
679
|
-
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
684
|
+
apiV2SpecialtytypesSlugGet: function (slug, languageCode, returnDefaultValue, previewSecret, options) {
|
|
685
|
+
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
680
686
|
},
|
|
681
687
|
/**
|
|
682
688
|
*
|
|
683
|
-
* @summary
|
|
689
|
+
* @summary Get specialtyType by id
|
|
684
690
|
* @param {string} specialtyTypeId
|
|
685
691
|
* @param {string} [languageCode]
|
|
686
692
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -758,7 +764,7 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
758
764
|
};
|
|
759
765
|
/**
|
|
760
766
|
*
|
|
761
|
-
* @summary
|
|
767
|
+
* @summary Get specialtyType by slug
|
|
762
768
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest} requestParameters Request parameters.
|
|
763
769
|
* @param {*} [options] Override http request option.
|
|
764
770
|
* @throws {RequiredError}
|
|
@@ -766,11 +772,11 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
766
772
|
*/
|
|
767
773
|
SpecialtyTypesApi.prototype.apiV2SpecialtytypesSlugGet = function (requestParameters, options) {
|
|
768
774
|
var _this = this;
|
|
769
|
-
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
775
|
+
return (0, exports.SpecialtyTypesApiFp)(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
770
776
|
};
|
|
771
777
|
/**
|
|
772
778
|
*
|
|
773
|
-
* @summary
|
|
779
|
+
* @summary Get specialtyType by id
|
|
774
780
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSpecialtyTypeIdGetRequest} requestParameters Request parameters.
|
|
775
781
|
* @param {*} [options] Override http request option.
|
|
776
782
|
* @throws {RequiredError}
|
package/package.json
CHANGED
package/src/api/articles-api.ts
CHANGED
|
@@ -631,14 +631,15 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
631
631
|
},
|
|
632
632
|
/**
|
|
633
633
|
*
|
|
634
|
-
* @summary
|
|
634
|
+
* @summary Get article by slug
|
|
635
635
|
* @param {string} slug
|
|
636
636
|
* @param {string} [languageCode]
|
|
637
637
|
* @param {boolean} [returnDefaultValue]
|
|
638
|
+
* @param {string} [previewSecret]
|
|
638
639
|
* @param {*} [options] Override http request option.
|
|
639
640
|
* @throws {RequiredError}
|
|
640
641
|
*/
|
|
641
|
-
apiV2ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
642
|
+
apiV2ArticlesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
642
643
|
// verify required parameter 'slug' is not null or undefined
|
|
643
644
|
assertParamExists('apiV2ArticlesSlugGet', 'slug', slug)
|
|
644
645
|
const localVarPath = `/api/v2/articles/{slug}`
|
|
@@ -662,6 +663,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
662
663
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
663
664
|
}
|
|
664
665
|
|
|
666
|
+
if (previewSecret !== undefined) {
|
|
667
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
668
|
+
}
|
|
669
|
+
|
|
665
670
|
|
|
666
671
|
|
|
667
672
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -841,15 +846,16 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
841
846
|
},
|
|
842
847
|
/**
|
|
843
848
|
*
|
|
844
|
-
* @summary
|
|
849
|
+
* @summary Get article by slug
|
|
845
850
|
* @param {string} slug
|
|
846
851
|
* @param {string} [languageCode]
|
|
847
852
|
* @param {boolean} [returnDefaultValue]
|
|
853
|
+
* @param {string} [previewSecret]
|
|
848
854
|
* @param {*} [options] Override http request option.
|
|
849
855
|
* @throws {RequiredError}
|
|
850
856
|
*/
|
|
851
|
-
async apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
852
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
857
|
+
async apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
|
|
858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
853
859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
854
860
|
},
|
|
855
861
|
}
|
|
@@ -1010,15 +1016,16 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
1010
1016
|
},
|
|
1011
1017
|
/**
|
|
1012
1018
|
*
|
|
1013
|
-
* @summary
|
|
1019
|
+
* @summary Get article by slug
|
|
1014
1020
|
* @param {string} slug
|
|
1015
1021
|
* @param {string} [languageCode]
|
|
1016
1022
|
* @param {boolean} [returnDefaultValue]
|
|
1023
|
+
* @param {string} [previewSecret]
|
|
1017
1024
|
* @param {*} [options] Override http request option.
|
|
1018
1025
|
* @throws {RequiredError}
|
|
1019
1026
|
*/
|
|
1020
|
-
apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ArticleModel> {
|
|
1021
|
-
return localVarFp.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
1027
|
+
apiV2ArticlesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<ArticleModel> {
|
|
1028
|
+
return localVarFp.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
1022
1029
|
},
|
|
1023
1030
|
};
|
|
1024
1031
|
};
|
|
@@ -1511,6 +1518,13 @@ export interface ArticlesApiApiV2ArticlesSlugGetRequest {
|
|
|
1511
1518
|
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1512
1519
|
*/
|
|
1513
1520
|
readonly returnDefaultValue?: boolean
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
*
|
|
1524
|
+
* @type {string}
|
|
1525
|
+
* @memberof ArticlesApiApiV2ArticlesSlugGet
|
|
1526
|
+
*/
|
|
1527
|
+
readonly previewSecret?: string
|
|
1514
1528
|
}
|
|
1515
1529
|
|
|
1516
1530
|
/**
|
|
@@ -1642,13 +1656,13 @@ export class ArticlesApi extends BaseAPI {
|
|
|
1642
1656
|
|
|
1643
1657
|
/**
|
|
1644
1658
|
*
|
|
1645
|
-
* @summary
|
|
1659
|
+
* @summary Get article by slug
|
|
1646
1660
|
* @param {ArticlesApiApiV2ArticlesSlugGetRequest} requestParameters Request parameters.
|
|
1647
1661
|
* @param {*} [options] Override http request option.
|
|
1648
1662
|
* @throws {RequiredError}
|
|
1649
1663
|
* @memberof ArticlesApi
|
|
1650
1664
|
*/
|
|
1651
1665
|
public apiV2ArticlesSlugGet(requestParameters: ArticlesApiApiV2ArticlesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1652
|
-
return ArticlesApiFp(this.configuration).apiV2ArticlesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1666
|
+
return ArticlesApiFp(this.configuration).apiV2ArticlesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
1653
1667
|
}
|
|
1654
1668
|
}
|