ch-api-client-typescript2 5.0.4 → 5.0.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/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/lib/models/about-us-page-model.d.ts +7 -0
- package/lib/models/about-us-page-model.d.ts.map +1 -1
- package/lib/models/accreditation-document-model.d.ts +3 -3
- package/lib/models/appointment-option-document-model.d.ts +5 -5
- package/lib/models/article-contributor-document-model.d.ts +3 -3
- package/lib/models/article-document-model.d.ts +13 -13
- package/lib/models/article-model.d.ts +7 -0
- package/lib/models/article-model.d.ts.map +1 -1
- package/lib/models/contributor-document-model.d.ts +5 -5
- package/lib/models/contributor-model.d.ts +7 -0
- package/lib/models/contributor-model.d.ts.map +1 -1
- package/lib/models/contributor-sub-document-model.d.ts +2 -2
- package/lib/models/country-document-model.d.ts +7 -7
- package/lib/models/country-model.d.ts +7 -0
- package/lib/models/country-model.d.ts.map +1 -1
- package/lib/models/country-sub-document-model.d.ts +2 -2
- package/lib/models/deal-document-model.d.ts +13 -13
- package/lib/models/deal-model.d.ts +7 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/department-document-model.d.ts +8 -8
- package/lib/models/department-sub-document-model.d.ts +3 -3
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/doctor-certificate-sub-document-model.d.ts +4 -4
- package/lib/models/doctor-document-model.d.ts +15 -15
- package/lib/models/doctor-specialty-sub-document-model.d.ts +2 -2
- package/lib/models/faq-category-document-model.d.ts +4 -4
- package/lib/models/faq-category-model.d.ts +7 -0
- package/lib/models/faq-category-model.d.ts.map +1 -1
- package/lib/models/faq-category-sub-document-model.d.ts +3 -3
- package/lib/models/faq-document-model.d.ts +4 -4
- package/lib/models/faq-model.d.ts +7 -0
- package/lib/models/faq-model.d.ts.map +1 -1
- package/lib/models/hospital-document-model.d.ts +23 -23
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-service-model.d.ts +7 -0
- package/lib/models/hospital-service-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-document-model.d.ts +13 -13
- package/lib/models/hospital-specialty-model.d.ts +7 -0
- package/lib/models/hospital-specialty-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-sub-document-model.d.ts +4 -4
- package/lib/models/hospital-sub-document-model.d.ts +4 -4
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- package/lib/models/landing-model.d.ts +7 -0
- package/lib/models/landing-model.d.ts.map +1 -1
- package/lib/models/location-document-model.d.ts +7 -7
- package/lib/models/media-document-model.d.ts +7 -7
- package/lib/models/package-sub-document-model.d.ts +5 -5
- package/lib/models/service-document-model.d.ts +11 -11
- package/lib/models/service-review-model.d.ts +7 -0
- package/lib/models/service-review-model.d.ts.map +1 -1
- package/lib/models/service-sub-document-model.d.ts +2 -2
- package/lib/models/slug-change-log-model.d.ts +43 -0
- package/lib/models/slug-change-log-model.d.ts.map +1 -0
- package/lib/models/slug-change-log-model.js +15 -0
- package/lib/models/sns-handle-document-model.d.ts +2 -2
- package/lib/models/specialty-document-model.d.ts +8 -8
- package/lib/models/specialty-model.d.ts +7 -0
- package/lib/models/specialty-model.d.ts.map +1 -1
- package/lib/models/specialty-sub-document-model.d.ts +2 -2
- package/lib/models/specialty-type-model.d.ts +7 -0
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/tag-document-model.d.ts +2 -2
- package/lib/models/translation-document-model.d.ts +7 -7
- package/lib/models/translation-item-document-model.d.ts +4 -4
- package/lib/models/user-location-document-model.d.ts +7 -7
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +1 -0
- 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
- package/src/models/about-us-page-model.ts +9 -0
- package/src/models/accreditation-document-model.ts +3 -3
- package/src/models/appointment-option-document-model.ts +5 -5
- package/src/models/article-contributor-document-model.ts +3 -3
- package/src/models/article-document-model.ts +13 -13
- package/src/models/article-model.ts +9 -0
- package/src/models/contributor-document-model.ts +5 -5
- package/src/models/contributor-model.ts +9 -0
- package/src/models/contributor-sub-document-model.ts +2 -2
- package/src/models/country-document-model.ts +7 -7
- package/src/models/country-model.ts +9 -0
- package/src/models/country-sub-document-model.ts +2 -2
- package/src/models/deal-document-model.ts +13 -13
- package/src/models/deal-model.ts +9 -0
- package/src/models/department-document-model.ts +8 -8
- package/src/models/department-sub-document-model.ts +3 -3
- package/src/models/doctor-affiliation-model.ts +9 -0
- package/src/models/doctor-certificate-sub-document-model.ts +4 -4
- package/src/models/doctor-document-model.ts +15 -15
- package/src/models/doctor-specialty-sub-document-model.ts +2 -2
- package/src/models/faq-category-document-model.ts +4 -4
- package/src/models/faq-category-model.ts +9 -0
- package/src/models/faq-category-sub-document-model.ts +3 -3
- package/src/models/faq-document-model.ts +4 -4
- package/src/models/faq-model.ts +9 -0
- package/src/models/hospital-document-model.ts +23 -23
- package/src/models/hospital-model.ts +9 -0
- package/src/models/hospital-service-model.ts +9 -0
- package/src/models/hospital-specialty-document-model.ts +13 -13
- package/src/models/hospital-specialty-model.ts +9 -0
- package/src/models/hospital-specialty-sub-document-model.ts +4 -4
- package/src/models/hospital-sub-document-model.ts +4 -4
- package/src/models/index.ts +1 -0
- package/src/models/landing-model.ts +9 -0
- package/src/models/location-document-model.ts +7 -7
- package/src/models/media-document-model.ts +7 -7
- package/src/models/package-sub-document-model.ts +5 -5
- package/src/models/service-document-model.ts +11 -11
- package/src/models/service-review-model.ts +9 -0
- package/src/models/service-sub-document-model.ts +2 -2
- package/src/models/slug-change-log-model.ts +48 -0
- package/src/models/sns-handle-document-model.ts +2 -2
- package/src/models/specialty-document-model.ts +8 -8
- package/src/models/specialty-model.ts +9 -0
- package/src/models/specialty-sub-document-model.ts +2 -2
- package/src/models/specialty-type-model.ts +9 -0
- package/src/models/tag-document-model.ts +2 -2
- package/src/models/translation-document-model.ts +7 -7
- package/src/models/translation-item-document-model.ts +4 -4
- package/src/models/user-location-document-model.ts +7 -7
|
@@ -250,14 +250,15 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
252
|
*
|
|
253
|
-
* @summary
|
|
253
|
+
* @summary Get specialtyType by slug
|
|
254
254
|
* @param {string} slug
|
|
255
255
|
* @param {string} [languageCode]
|
|
256
256
|
* @param {boolean} [returnDefaultValue]
|
|
257
|
+
* @param {string} [previewSecret]
|
|
257
258
|
* @param {*} [options] Override http request option.
|
|
258
259
|
* @throws {RequiredError}
|
|
259
260
|
*/
|
|
260
|
-
apiV2SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
|
+
apiV2SpecialtytypesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
261
262
|
// verify required parameter 'slug' is not null or undefined
|
|
262
263
|
assertParamExists('apiV2SpecialtytypesSlugGet', 'slug', slug)
|
|
263
264
|
const localVarPath = `/api/v2/specialtytypes/{slug}`
|
|
@@ -281,6 +282,10 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
281
282
|
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
282
283
|
}
|
|
283
284
|
|
|
285
|
+
if (previewSecret !== undefined) {
|
|
286
|
+
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
287
|
+
}
|
|
288
|
+
|
|
284
289
|
|
|
285
290
|
|
|
286
291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -294,7 +299,7 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
294
299
|
},
|
|
295
300
|
/**
|
|
296
301
|
*
|
|
297
|
-
* @summary
|
|
302
|
+
* @summary Get specialtyType by id
|
|
298
303
|
* @param {string} specialtyTypeId
|
|
299
304
|
* @param {string} [languageCode]
|
|
300
305
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -495,20 +500,21 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
495
500
|
},
|
|
496
501
|
/**
|
|
497
502
|
*
|
|
498
|
-
* @summary
|
|
503
|
+
* @summary Get specialtyType by slug
|
|
499
504
|
* @param {string} slug
|
|
500
505
|
* @param {string} [languageCode]
|
|
501
506
|
* @param {boolean} [returnDefaultValue]
|
|
507
|
+
* @param {string} [previewSecret]
|
|
502
508
|
* @param {*} [options] Override http request option.
|
|
503
509
|
* @throws {RequiredError}
|
|
504
510
|
*/
|
|
505
|
-
async apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
511
|
+
async apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtyTypeModel>> {
|
|
512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options);
|
|
507
513
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
514
|
},
|
|
509
515
|
/**
|
|
510
516
|
*
|
|
511
|
-
* @summary
|
|
517
|
+
* @summary Get specialtyType by id
|
|
512
518
|
* @param {string} specialtyTypeId
|
|
513
519
|
* @param {string} [languageCode]
|
|
514
520
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -605,19 +611,20 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
605
611
|
},
|
|
606
612
|
/**
|
|
607
613
|
*
|
|
608
|
-
* @summary
|
|
614
|
+
* @summary Get specialtyType by slug
|
|
609
615
|
* @param {string} slug
|
|
610
616
|
* @param {string} [languageCode]
|
|
611
617
|
* @param {boolean} [returnDefaultValue]
|
|
618
|
+
* @param {string} [previewSecret]
|
|
612
619
|
* @param {*} [options] Override http request option.
|
|
613
620
|
* @throws {RequiredError}
|
|
614
621
|
*/
|
|
615
|
-
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
616
|
-
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
622
|
+
apiV2SpecialtytypesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<SpecialtyTypeModel> {
|
|
623
|
+
return localVarFp.apiV2SpecialtytypesSlugGet(slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
|
|
617
624
|
},
|
|
618
625
|
/**
|
|
619
626
|
*
|
|
620
|
-
* @summary
|
|
627
|
+
* @summary Get specialtyType by id
|
|
621
628
|
* @param {string} specialtyTypeId
|
|
622
629
|
* @param {string} [languageCode]
|
|
623
630
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -892,6 +899,13 @@ export interface SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest {
|
|
|
892
899
|
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
893
900
|
*/
|
|
894
901
|
readonly returnDefaultValue?: boolean
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {string}
|
|
906
|
+
* @memberof SpecialtyTypesApiApiV2SpecialtytypesSlugGet
|
|
907
|
+
*/
|
|
908
|
+
readonly previewSecret?: string
|
|
895
909
|
}
|
|
896
910
|
|
|
897
911
|
/**
|
|
@@ -1025,19 +1039,19 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
1025
1039
|
|
|
1026
1040
|
/**
|
|
1027
1041
|
*
|
|
1028
|
-
* @summary
|
|
1042
|
+
* @summary Get specialtyType by slug
|
|
1029
1043
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest} requestParameters Request parameters.
|
|
1030
1044
|
* @param {*} [options] Override http request option.
|
|
1031
1045
|
* @throws {RequiredError}
|
|
1032
1046
|
* @memberof SpecialtyTypesApi
|
|
1033
1047
|
*/
|
|
1034
1048
|
public apiV2SpecialtytypesSlugGet(requestParameters: SpecialtyTypesApiApiV2SpecialtytypesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
1035
|
-
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1049
|
+
return SpecialtyTypesApiFp(this.configuration).apiV2SpecialtytypesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
|
|
1036
1050
|
}
|
|
1037
1051
|
|
|
1038
1052
|
/**
|
|
1039
1053
|
*
|
|
1040
|
-
* @summary
|
|
1054
|
+
* @summary Get specialtyType by id
|
|
1041
1055
|
* @param {SpecialtyTypesApiApiV2SpecialtytypesSpecialtyTypeIdGetRequest} requestParameters Request parameters.
|
|
1042
1056
|
* @param {*} [options] Override http request option.
|
|
1043
1057
|
* @throws {RequiredError}
|
|
@@ -22,6 +22,9 @@ import { LocalizedUrlModel } from './localized-url-model';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { MediaModel } from './media-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { SlugChangeLogModel } from './slug-change-log-model';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -107,6 +110,12 @@ export interface AboutUsPageModel {
|
|
|
107
110
|
* @memberof AboutUsPageModel
|
|
108
111
|
*/
|
|
109
112
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {Array<SlugChangeLogModel>}
|
|
116
|
+
* @memberof AboutUsPageModel
|
|
117
|
+
*/
|
|
118
|
+
'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
|
|
110
119
|
/**
|
|
111
120
|
*
|
|
112
121
|
* @type {Array<MediaModel>}
|
|
@@ -25,18 +25,18 @@ export interface AccreditationDocumentModel {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof AccreditationDocumentModel
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'Name'?: string | null;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof AccreditationDocumentModel
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'Logo'?: string | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof AccreditationDocumentModel
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'Country'?: string | null;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -25,30 +25,30 @@ export interface AppointmentOptionDocumentModel {
|
|
|
25
25
|
* @type {boolean}
|
|
26
26
|
* @memberof AppointmentOptionDocumentModel
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'AppointmentEnabled'?: boolean;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {number}
|
|
32
32
|
* @memberof AppointmentOptionDocumentModel
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'AppointmentFee'?: number;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {boolean}
|
|
38
38
|
* @memberof AppointmentOptionDocumentModel
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'UseTimetable'?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {number}
|
|
44
44
|
* @memberof AppointmentOptionDocumentModel
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'BeforeEventBufferMinutes'?: number;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof AppointmentOptionDocumentModel
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'AfterEventBufferMinutes'?: number;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -28,18 +28,18 @@ export interface ArticleContributorDocumentModel {
|
|
|
28
28
|
* @type {ContributorSubDocumentModel}
|
|
29
29
|
* @memberof ArticleContributorDocumentModel
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'Contributor'?: ContributorSubDocumentModel;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ArticleContributorDocumentModel
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'Type'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof ArticleContributorDocumentModel
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
43
|
+
'Filter'?: string | null;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -37,78 +37,78 @@ export interface ArticleDocumentModel {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof ArticleDocumentModel
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'Id'?: string | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof ArticleDocumentModel
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'MarketingType'?: string | null;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof ArticleDocumentModel
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'UserId'?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof ArticleDocumentModel
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'UserName'?: string | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof ArticleDocumentModel
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'YoutubeUrl'?: string | null;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof ArticleDocumentModel
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'Photo'?: string | null;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof ArticleDocumentModel
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'PhotoThumbnail'?: string | null;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ArticleDocumentModel
|
|
81
81
|
*/
|
|
82
|
-
'
|
|
82
|
+
'Background'?: string | null;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof ArticleDocumentModel
|
|
87
87
|
*/
|
|
88
|
-
'
|
|
88
|
+
'BackgroundThumbnail'?: string | null;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {HospitalSubDocumentModel}
|
|
92
92
|
* @memberof ArticleDocumentModel
|
|
93
93
|
*/
|
|
94
|
-
'
|
|
94
|
+
'Hospital'?: HospitalSubDocumentModel;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {Array<TagDocumentModel>}
|
|
98
98
|
* @memberof ArticleDocumentModel
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
100
|
+
'Tags'?: Array<TagDocumentModel> | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {Array<ArticleContributorDocumentModel>}
|
|
104
104
|
* @memberof ArticleDocumentModel
|
|
105
105
|
*/
|
|
106
|
-
'
|
|
106
|
+
'ArticleContributors'?: Array<ArticleContributorDocumentModel> | null;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {Array<TranslationDocumentModel>}
|
|
110
110
|
* @memberof ArticleDocumentModel
|
|
111
111
|
*/
|
|
112
|
-
'
|
|
112
|
+
'Translations'?: Array<TranslationDocumentModel> | null;
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -28,6 +28,9 @@ import { MarketingType } from './marketing-type';
|
|
|
28
28
|
// May contain unused imports in some cases
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { MediaModel } from './media-model';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { SlugChangeLogModel } from './slug-change-log-model';
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
36
|
*
|
|
@@ -179,6 +182,12 @@ export interface ArticleModel {
|
|
|
179
182
|
* @memberof ArticleModel
|
|
180
183
|
*/
|
|
181
184
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {Array<SlugChangeLogModel>}
|
|
188
|
+
* @memberof ArticleModel
|
|
189
|
+
*/
|
|
190
|
+
'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
|
|
182
191
|
/**
|
|
183
192
|
*
|
|
184
193
|
* @type {string}
|
|
@@ -34,30 +34,30 @@ export interface ContributorDocumentModel {
|
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ContributorDocumentModel
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'Id'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof ContributorDocumentModel
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
43
|
+
'Website'?: string | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {HospitalSubDocumentModel}
|
|
47
47
|
* @memberof ContributorDocumentModel
|
|
48
48
|
*/
|
|
49
|
-
'
|
|
49
|
+
'Hospital'?: HospitalSubDocumentModel;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {Array<SnsHandleDocumentModel>}
|
|
53
53
|
* @memberof ContributorDocumentModel
|
|
54
54
|
*/
|
|
55
|
-
'
|
|
55
|
+
'SnsHandles'?: Array<SnsHandleDocumentModel> | null;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {Array<TranslationDocumentModel>}
|
|
59
59
|
* @memberof ContributorDocumentModel
|
|
60
60
|
*/
|
|
61
|
-
'
|
|
61
|
+
'Translations'?: Array<TranslationDocumentModel> | null;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -21,6 +21,9 @@ import { AuditableEntity } from './auditable-entity';
|
|
|
21
21
|
import { LocalizedUrlModel } from './localized-url-model';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { SlugChangeLogModel } from './slug-change-log-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import { SnsHandleModel } from './sns-handle-model';
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -143,5 +146,11 @@ export interface ContributorModel {
|
|
|
143
146
|
* @memberof ContributorModel
|
|
144
147
|
*/
|
|
145
148
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Array<SlugChangeLogModel>}
|
|
152
|
+
* @memberof ContributorModel
|
|
153
|
+
*/
|
|
154
|
+
'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
|
|
146
155
|
}
|
|
147
156
|
|
|
@@ -28,12 +28,12 @@ export interface ContributorSubDocumentModel {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof ContributorSubDocumentModel
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'Id'?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Array<TranslationItemDocumentModel>}
|
|
35
35
|
* @memberof ContributorSubDocumentModel
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'Translations'?: Array<TranslationItemDocumentModel> | null;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -31,42 +31,42 @@ export interface CountryDocumentModel {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CountryDocumentModel
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'Id'?: string | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CountryDocumentModel
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'Logo'?: string | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {number}
|
|
44
44
|
* @memberof CountryDocumentModel
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'HospitalsCount'?: number;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof CountryDocumentModel
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'DoctorsCount'?: number;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof CountryDocumentModel
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'DealsCount'?: number;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {Array<MediaDocumentModel>}
|
|
62
62
|
* @memberof CountryDocumentModel
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'Medias'?: Array<MediaDocumentModel> | null;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {Array<TranslationDocumentModel>}
|
|
68
68
|
* @memberof CountryDocumentModel
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'Translations'?: Array<TranslationDocumentModel> | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -22,6 +22,9 @@ import { LocalizedUrlModel } from './localized-url-model';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { MediaModel } from './media-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { SlugChangeLogModel } from './slug-change-log-model';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -125,5 +128,11 @@ export interface CountryModel {
|
|
|
125
128
|
* @memberof CountryModel
|
|
126
129
|
*/
|
|
127
130
|
'medias'?: Array<MediaModel> | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {Array<SlugChangeLogModel>}
|
|
134
|
+
* @memberof CountryModel
|
|
135
|
+
*/
|
|
136
|
+
'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
|
|
128
137
|
}
|
|
129
138
|
|
|
@@ -28,12 +28,12 @@ export interface CountrySubDocumentModel {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CountrySubDocumentModel
|
|
30
30
|
*/
|
|
31
|
-
'
|
|
31
|
+
'Id'?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Array<TranslationItemDocumentModel>}
|
|
35
35
|
* @memberof CountrySubDocumentModel
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'Translations'?: Array<TranslationItemDocumentModel> | null;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -43,78 +43,78 @@ export interface DealDocumentModel {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DealDocumentModel
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'Id'?: string | null;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof DealDocumentModel
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'Name'?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof DealDocumentModel
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'Description'?: string | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof DealDocumentModel
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'MarketingType'?: string | null;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {HospitalSubDocumentModel}
|
|
68
68
|
* @memberof DealDocumentModel
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'Hospital'?: HospitalSubDocumentModel;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {LocationDocumentModel}
|
|
74
74
|
* @memberof DealDocumentModel
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'Location'?: LocationDocumentModel;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof DealDocumentModel
|
|
81
81
|
*/
|
|
82
|
-
'
|
|
82
|
+
'Photo'?: string | null;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof DealDocumentModel
|
|
87
87
|
*/
|
|
88
|
-
'
|
|
88
|
+
'PhotoThumbnail'?: string | null;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @type {number}
|
|
92
92
|
* @memberof DealDocumentModel
|
|
93
93
|
*/
|
|
94
|
-
'
|
|
94
|
+
'ServiceDuration'?: number;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {AppointmentOptionDocumentModel}
|
|
98
98
|
* @memberof DealDocumentModel
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
100
|
+
'AppointmentOption'?: AppointmentOptionDocumentModel;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {Array<PackageSubDocumentModel>}
|
|
104
104
|
* @memberof DealDocumentModel
|
|
105
105
|
*/
|
|
106
|
-
'
|
|
106
|
+
'Packages'?: Array<PackageSubDocumentModel> | null;
|
|
107
107
|
/**
|
|
108
108
|
*
|
|
109
109
|
* @type {Array<ServiceSubDocumentModel>}
|
|
110
110
|
* @memberof DealDocumentModel
|
|
111
111
|
*/
|
|
112
|
-
'
|
|
112
|
+
'Services'?: Array<ServiceSubDocumentModel> | null;
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
* @type {Array<TranslationDocumentModel>}
|
|
116
116
|
* @memberof DealDocumentModel
|
|
117
117
|
*/
|
|
118
|
-
'
|
|
118
|
+
'Translations'?: Array<TranslationDocumentModel> | null;
|
|
119
119
|
}
|
|
120
120
|
|
package/src/models/deal-model.ts
CHANGED
|
@@ -25,6 +25,9 @@ import { LocalizedUrlModel } from './localized-url-model';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { MarketingType } from './marketing-type';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { SlugChangeLogModel } from './slug-change-log-model';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -158,5 +161,11 @@ export interface DealModel {
|
|
|
158
161
|
* @memberof DealModel
|
|
159
162
|
*/
|
|
160
163
|
'serviceDuration'?: number;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {Array<SlugChangeLogModel>}
|
|
167
|
+
* @memberof DealModel
|
|
168
|
+
*/
|
|
169
|
+
'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
|
|
161
170
|
}
|
|
162
171
|
|