@rededor/site-front-end-lib 1.0.14 → 1.0.15

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.
Files changed (139) hide show
  1. package/index.d.ts +5 -0
  2. package/lib/components/algolia/algolia.component.d.ts +46 -0
  3. package/lib/components/banner/content-banner/content-banner.component.d.ts +14 -0
  4. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +31 -0
  5. package/lib/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.d.ts +41 -0
  6. package/lib/components/cards/expandable-card/expandable-card.component.d.ts +27 -0
  7. package/lib/components/cta-wrapper/cta-wrapper.component.d.ts +28 -0
  8. package/lib/components/error/error-service/error.service.d.ts +17 -0
  9. package/lib/components/error/error.component.d.ts +44 -0
  10. package/lib/components/filter-letter-and-terms/filter-letter-and-terms.component.d.ts +11 -0
  11. package/lib/components/filters/filter-planos-convenios/filter-planos-convenios.component.d.ts +41 -0
  12. package/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.d.ts +15 -0
  13. package/lib/components/footer/components/footer-menu/footer-menu.component.d.ts +11 -0
  14. package/lib/components/footer/components/footer-menu-item/footer-menu-item.component.d.ts +15 -0
  15. package/lib/components/footer/components/footer-social-medias/footer-social-medias.component.d.ts +17 -0
  16. package/lib/components/footer/footer.component.d.ts +17 -0
  17. package/lib/components/footer/helpers/footerTheme.func.d.ts +3 -0
  18. package/lib/components/footer/models/FooterTheme.model.d.ts +7 -0
  19. package/lib/components/header/components/header-action-menu/header-action-menu.component.d.ts +13 -0
  20. package/lib/components/header/components/header-aux-menu/header-aux-menu.component.d.ts +5 -0
  21. package/lib/components/header/components/header-aux-menu-container/header-aux-menu-container.component.d.ts +6 -0
  22. package/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.d.ts +18 -0
  23. package/lib/components/header/components/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.d.ts +10 -0
  24. package/lib/components/header/components/header-logo/header-logo.component.d.ts +12 -0
  25. package/lib/components/header/components/header-main-menu/header-main-menu.component.d.ts +5 -0
  26. package/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.d.ts +26 -0
  27. package/lib/components/header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.d.ts +36 -0
  28. package/lib/components/header/components/header-side-menu/header-side-menu.component.d.ts +9 -0
  29. package/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.d.ts +21 -0
  30. package/lib/components/header/header.component.d.ts +27 -0
  31. package/lib/components/header/helpers/headerTheme.func.d.ts +3 -0
  32. package/lib/components/header/models/HeaderTheme.model.d.ts +8 -0
  33. package/lib/components/header/services/header.service.d.ts +11 -0
  34. package/lib/components/image/image.component.d.ts +22 -0
  35. package/lib/components/index.d.ts +40 -0
  36. package/lib/components/load-screen/load-screen.component.d.ts +13 -0
  37. package/lib/components/overlay/overlay.component.d.ts +8 -0
  38. package/lib/components/page-header/page-header.component.d.ts +17 -0
  39. package/lib/components/page-template-sidebar/page-template-sidebar.component.d.ts +12 -0
  40. package/lib/components/search/search.component.d.ts +48 -0
  41. package/lib/components/section-navigation/section-navigation.component.d.ts +36 -0
  42. package/lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.d.ts +22 -0
  43. package/lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.d.ts +14 -0
  44. package/lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.d.ts +21 -0
  45. package/lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.d.ts +5 -0
  46. package/lib/components/side-ctas/models/SideCta.model.d.ts +5 -0
  47. package/lib/components/side-ctas/side-ctas.component.d.ts +11 -0
  48. package/lib/components/whatsapp/whatsapp.component.d.ts +26 -0
  49. package/lib/directives/index.d.ts +3 -0
  50. package/lib/directives/rdsite-click-outside/rdsite-click-outside.directive.d.ts +10 -0
  51. package/lib/directives/rdsite-link/rdsite-link.directive.d.ts +38 -0
  52. package/lib/directives/rdsite-phone-modal/rdsite-phone-modal.directive.d.ts +17 -0
  53. package/lib/enums/EnumDoencaTaxonomy.enum.d.ts +8 -0
  54. package/lib/enums/EnumError.enum.d.ts +4 -0
  55. package/lib/enums/EnumThemes.enum.d.ts +6 -0
  56. package/lib/enums/Estados.enum.d.ts +29 -0
  57. package/lib/enums/IconCuraDefaultType.enum.d.ts +119 -0
  58. package/lib/enums/ImageMimeType.enum.d.ts +5 -0
  59. package/lib/enums/RdsiteModalComponentStyle.enum.d.ts +11 -0
  60. package/lib/enums/RdsiteModalDrawerComponentStyle.enum.d.ts +5 -0
  61. package/lib/enums/UnidadeCoverageType.enum.d.ts +5 -0
  62. package/lib/enums/index.d.ts +9 -0
  63. package/lib/helpers/check-safari-agent.func.d.ts +2 -0
  64. package/lib/helpers/formatPhone.func.d.ts +1 -0
  65. package/lib/helpers/getSiteUrl.func.d.ts +2 -0
  66. package/lib/helpers/index.d.ts +7 -0
  67. package/lib/helpers/mediaQueries.d.ts +6 -0
  68. package/lib/helpers/removeDuplicateObjectsFromArray.func.d.ts +2 -0
  69. package/lib/helpers/removeDuplicateValuesFromArray.func.d.ts +2 -0
  70. package/lib/helpers/removeHtmlTags.func.d.ts +2 -0
  71. package/lib/helpers/toQueryParams.func.d.ts +5 -0
  72. package/lib/models/algolia-search-api.model.d.ts +167 -0
  73. package/lib/models/algolia.model.d.ts +12 -0
  74. package/lib/models/breadcrumbs/breadcrumbs-items.model.d.ts +10 -0
  75. package/lib/models/breadcrumbs/breadcrumbs-json-item.model.d.ts +8 -0
  76. package/lib/models/centro-estudos-backend.model.d.ts +8 -0
  77. package/lib/models/content-banner.model.d.ts +15 -0
  78. package/lib/models/cta-wrapper.model.d.ts +9 -0
  79. package/lib/models/doenca-backend.model.d.ts +25 -0
  80. package/lib/models/doenca-taxonomy.model.d.ts +11 -0
  81. package/lib/models/especialidade-backend.model.d.ts +24 -0
  82. package/lib/models/exame-backend.model.d.ts +25 -0
  83. package/lib/models/filters/filter-planos-convenios.model.d.ts +12 -0
  84. package/lib/models/images/rdsite-image.model.d.ts +5 -0
  85. package/lib/models/medico-cv.model.d.ts +10 -0
  86. package/lib/models/menu-de-unidade.model.d.ts +14 -0
  87. package/lib/models/menu-item.model.d.ts +67 -0
  88. package/lib/models/privacy-tools/privacy-tools.model.d.ts +8 -0
  89. package/lib/models/rdsl-cobertura.model.d.ts +71 -0
  90. package/lib/models/rdsl-convenio.model.d.ts +17 -0
  91. package/lib/models/rdsl-especialidade.model.d.ts +33 -0
  92. package/lib/models/rdsl-planos.model.d.ts +13 -0
  93. package/lib/models/rdsl-post-category.model.d.ts +8 -0
  94. package/lib/models/rdsl-unidade.model.d.ts +50 -0
  95. package/lib/models/section-navigation.model.d.ts +9 -0
  96. package/lib/models/seo/seo-data.model.d.ts +9 -0
  97. package/lib/models/seo/seo-unidade.model.d.ts +6 -0
  98. package/lib/models/social-meta-properties.model.d.ts +9 -0
  99. package/lib/models/wordpress/WpResponse.model.d.ts +31 -0
  100. package/lib/models/wordpress/category/wpCategory.model.d.ts +14 -0
  101. package/lib/models/wordpress/general/content.model.d.ts +4 -0
  102. package/lib/models/wordpress/general/excerpt.model.d.ts +4 -0
  103. package/lib/models/wordpress/general/featuredMedia.model.d.ts +26 -0
  104. package/lib/models/wordpress/general/guid.model.d.ts +3 -0
  105. package/lib/models/wordpress/general/index.d.ts +10 -0
  106. package/lib/models/wordpress/general/links.model.d.ts +47 -0
  107. package/lib/models/wordpress/general/meta.model.d.ts +3 -0
  108. package/lib/models/wordpress/general/title.model.d.ts +3 -0
  109. package/lib/models/wordpress/general/yoastData.model.d.ts +4 -0
  110. package/lib/models/wordpress/general/yoastHeadJson.model.d.ts +56 -0
  111. package/lib/models/wordpress/general/yoastMeta.model.d.ts +5 -0
  112. package/lib/models/wordpress/page/page.model.d.ts +10 -0
  113. package/lib/models/wordpress/post/post.model.d.ts +33 -0
  114. package/lib/models/wordpress/unidade/wp-unidade-onco.model.d.ts +55 -0
  115. package/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.d.ts +166 -0
  116. package/lib/models/wordpress/unidade/wp-unidade-site.model.d.ts +45 -0
  117. package/lib/pipes/index.d.ts +1 -0
  118. package/lib/pipes/phone/phone.pipe.d.ts +7 -0
  119. package/lib/services/algolia/algolia.service.d.ts +16 -0
  120. package/lib/services/algolia-search-api/algolia-search-api.service.d.ts +18 -0
  121. package/lib/services/cura/cura.service.d.ts +31 -0
  122. package/lib/services/http-client/http-client.service.d.ts +19 -0
  123. package/lib/services/index.d.ts +16 -0
  124. package/lib/services/log/log.service.d.ts +16 -0
  125. package/lib/services/modal/modal.service.d.ts +31 -0
  126. package/lib/services/modal-drawer/modal-drawer.service.d.ts +37 -0
  127. package/lib/services/ngu-carousel/ngu-carousel.service.d.ts +13 -0
  128. package/lib/services/phone/phone.service.d.ts +11 -0
  129. package/lib/services/privacy-tools/privacy-tools.service.d.ts +20 -0
  130. package/lib/services/seo/seo.service.d.ts +141 -0
  131. package/lib/services/server-response/server-response.service.d.ts +39 -0
  132. package/lib/services/site-back-end/site-back-end.service.d.ts +67 -0
  133. package/lib/services/ssr-loading/ssr-loading.service.d.ts +13 -0
  134. package/lib/services/transfer-state/transfer-state.service.d.ts +13 -0
  135. package/lib/tokens/CuraApi.d.ts +2 -0
  136. package/lib/tokens/LibConfig.d.ts +36 -0
  137. package/lib/tokens/express.tokens.d.ts +4 -0
  138. package/package.json +1 -1
  139. package/public-api.d.ts +9 -0
@@ -0,0 +1,5 @@
1
+ export declare enum ImageMimeType {
2
+ WEBP = "image/webp",
3
+ JPEG = "image/jpeg",
4
+ PNG = "image/png"
5
+ }
@@ -0,0 +1,11 @@
1
+ export declare enum RdsiteModalComponentStyle {
2
+ DEFAULT = "default",
3
+ ALERT = "alert",
4
+ LIGHT = "light",
5
+ DOCTORCARD = "doctor-card",
6
+ HOMESLIDE = "home-slide",
7
+ BASIC = "basic",
8
+ SHARING = "sharing",
9
+ FORMFALLBACK = "form-fallback",
10
+ FILTER = "filter"
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum RdsiteModalDrawerComponentStyle {
2
+ DEFAULT = "default",
3
+ DRAWERDOCTOR = "doctor-card",
4
+ FORMFALLBACK = "form-fallback"
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum UnidadeCoverageType {
2
+ TOTAL = "Cobertura completa",
3
+ PARTIAL = "Cobertura apenas para",
4
+ NONE = "Esta unidade n\u00E3o oferece cobertura ao seu plano ou conv\u00EAnio"
5
+ }
@@ -0,0 +1,9 @@
1
+ export * from './Estados.enum';
2
+ export * from './EnumDoencaTaxonomy.enum';
3
+ export * from './IconCuraDefaultType.enum';
4
+ export * from './ImageMimeType.enum';
5
+ export * from './RdsiteModalComponentStyle.enum';
6
+ export * from './RdsiteModalDrawerComponentStyle.enum';
7
+ export * from './EnumThemes.enum';
8
+ export * from './EnumError.enum';
9
+ export * from './UnidadeCoverageType.enum';
@@ -0,0 +1,2 @@
1
+ declare const checkSafariAgent: () => boolean;
2
+ export default checkSafariAgent;
@@ -0,0 +1 @@
1
+ export declare const formatPhone: (phone: string) => string;
@@ -0,0 +1,2 @@
1
+ declare const getSiteUrl: (siteUrl?: string, siteSufix?: string) => string;
2
+ export { getSiteUrl };
@@ -0,0 +1,7 @@
1
+ export * from './removeDuplicateObjectsFromArray.func';
2
+ export * from './removeDuplicateValuesFromArray.func';
3
+ export * from './formatPhone.func';
4
+ export * from './getSiteUrl.func';
5
+ export * from './removeHtmlTags.func';
6
+ export * from './toQueryParams.func';
7
+ export * from './check-safari-agent.func';
@@ -0,0 +1,6 @@
1
+ export declare const MediaQueries: {
2
+ xSmallBreakpoint: number;
3
+ smallBreakpoint: number;
4
+ mediumBreakPoint: number;
5
+ largeBreakpoint: number;
6
+ };
@@ -0,0 +1,2 @@
1
+ declare const removeDuplicateObjectsFromArray: <T = any>(arr: T[], key: string) => T[];
2
+ export { removeDuplicateObjectsFromArray };
@@ -0,0 +1,2 @@
1
+ declare const removeDuplicateValuesFromArray: <T = any>(arr: T[]) => T[];
2
+ export { removeDuplicateValuesFromArray };
@@ -0,0 +1,2 @@
1
+ declare function removeHtmlTags(content: string): string;
2
+ export { removeHtmlTags };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Converte JSON para query string.
3
+ * @param params JSON
4
+ */
5
+ export declare function toQueryParams(params: any): string;
@@ -0,0 +1,167 @@
1
+ export interface AlgoliaResult<T> {
2
+ exhaustiveNbHits: boolean;
3
+ exhaustiveTypo: boolean;
4
+ hits: T[];
5
+ hitsPerPage: number;
6
+ indexUsed: string;
7
+ nbHits: number;
8
+ nbPages: number;
9
+ page: number;
10
+ params: string;
11
+ parsedQuery: string;
12
+ processingTimeMS: number;
13
+ query: string;
14
+ renderingContent: any;
15
+ }
16
+ export interface AlgoliaMultipleResults {
17
+ results: AlgoliaResult<any>[];
18
+ }
19
+ export interface RdslAlgoliaMultipleIndex {
20
+ indexName: string;
21
+ params?: RdslAlgoliaSearchParams;
22
+ query?: string;
23
+ }
24
+ export interface RdslAlgoliaSearchParams {
25
+ query?: string;
26
+ similarQuery?: string;
27
+ attributesToRetrieve?: string[];
28
+ restrictSearchableAttributes?: string[];
29
+ filters?: string;
30
+ facetFilters?: any[];
31
+ optionalFilters?: any[];
32
+ numericFilters?: string[];
33
+ tagFilters?: any[];
34
+ sumOrFiltersScores?: boolean;
35
+ facets?: string[];
36
+ maxValuesPerFacet?: number;
37
+ facetingAfterDistinct?: boolean;
38
+ sortFacetValuesBy?: 'count' | 'alpha';
39
+ attributesToHighlight?: string[];
40
+ attributesToSnippet?: string[];
41
+ highlightPreTag?: string;
42
+ highlightPostTag?: string;
43
+ snippetEllipsisText?: string;
44
+ restrictHighlightAndSnippetArrays?: boolean;
45
+ page?: number;
46
+ hitsPerPage?: number;
47
+ offset?: number;
48
+ length?: number;
49
+ minWordSizefor1Typo?: number;
50
+ minWordSizefor2Typos?: number;
51
+ typoTolerance?: boolean | 'min' | 'strict';
52
+ allowTyposOnNumericTokens?: boolean;
53
+ disableTypoToleranceOnAttributes?: string[];
54
+ aroundLatLng?: string;
55
+ aroundLatLngViaIP?: boolean;
56
+ aroundRadius?: number | 'all';
57
+ aroundPrecision?: number | any[];
58
+ minimumAroundRadius?: number;
59
+ insideBoundingBox?: any[];
60
+ insidePolygon?: any[];
61
+ ignorePlurals?: boolean | string[];
62
+ removeStopWords?: boolean | string[];
63
+ queryLanguages?: string[];
64
+ naturalLanguages?: string[];
65
+ enableRules?: boolean;
66
+ ruleContexts?: string[];
67
+ enablePersonalization?: boolean;
68
+ personalizationImpact?: number;
69
+ userToken?: string;
70
+ queryType?: 'prefixLast' | 'prefixAll' | 'prefixNone';
71
+ removeWordsIfNoResults?: 'none' | 'lastWords' | 'firstWords' | 'allOptional';
72
+ advancedSyntax?: boolean;
73
+ optionalWords?: string[];
74
+ disableExactOnAttributes?: string[];
75
+ exactOnSingleWordQuery?: 'attribute' | 'none' | 'word';
76
+ alternativesAsExact?: string[];
77
+ advancedSyntaxFeatures?: string[];
78
+ distinct?: 0 | 1 | 2 | 3;
79
+ getRankingInfo?: boolean;
80
+ clickAnalytics?: boolean;
81
+ analytics?: boolean;
82
+ analyticsTags?: string[];
83
+ synonyms?: boolean;
84
+ replaceSynonymsInHighlight?: boolean;
85
+ minProximity?: number;
86
+ responseFields?: string[];
87
+ maxFacetHits?: number;
88
+ percentileComputation?: boolean;
89
+ attributeCriteriaComputedByMinProximity?: boolean;
90
+ enableABTest?: boolean;
91
+ [propName: string]: any;
92
+ }
93
+ export interface AlgoliaSearchParams {
94
+ query?: string;
95
+ similarQuery?: string;
96
+ attributesToRetrieve?: string[];
97
+ restrictSearchableAttributes?: string[];
98
+ filters?: string;
99
+ facetFilters?: string[];
100
+ optionalFilters?: any[];
101
+ numericFilters?: string[];
102
+ tagFilters?: any[];
103
+ sumOrFiltersScores?: boolean;
104
+ facets?: string[];
105
+ maxValuesPerFacet?: number;
106
+ facetingAfterDistinct?: boolean;
107
+ sortFacetValuesBy?: 'count' | 'alpha';
108
+ attributesToHighlight?: string[];
109
+ attributesToSnippet?: string[];
110
+ highlightPreTag?: string;
111
+ highlightPostTag?: string;
112
+ snippetEllipsisText?: string;
113
+ restrictHighlightAndSnippetArrays?: boolean;
114
+ page?: number;
115
+ hitsPerPage?: number;
116
+ offset?: number;
117
+ length?: number;
118
+ minWordSizefor1Typo?: number;
119
+ minWordSizefor2Typos?: number;
120
+ typoTolerance?: boolean | 'min' | 'strict';
121
+ allowTyposOnNumericTokens?: boolean;
122
+ disableTypoToleranceOnAttributes?: string[];
123
+ aroundLatLng?: string;
124
+ aroundLatLngViaIP?: boolean;
125
+ aroundRadius?: number | string;
126
+ aroundPrecision?: number | any[];
127
+ minimumAroundRadius?: number;
128
+ insideBoundingBox?: any[];
129
+ insidePolygon?: any[];
130
+ ignorePlurals?: boolean | string[];
131
+ removeStopWords?: boolean | string[];
132
+ queryLanguages?: string[];
133
+ naturalLanguages?: string[];
134
+ enableRules?: boolean;
135
+ ruleContexts?: string[];
136
+ enablePersonalization?: boolean;
137
+ personalizationImpact?: number;
138
+ userToken?: string;
139
+ queryType?: 'prefixLast' | 'prefixAll' | 'prefixNone';
140
+ removeWordsIfNoResults?: 'none' | 'lastWords' | 'firstWords' | 'allOptional';
141
+ advancedSyntax?: boolean;
142
+ optionalWords?: string[];
143
+ disableExactOnAttributes?: string[];
144
+ exactOnSingleWordQuery?: 'attribute' | 'none' | 'word';
145
+ alternativesAsExact?: string[];
146
+ advancedSyntaxFeatures?: string[];
147
+ distinct?: 0 | 1 | 2 | 3;
148
+ getRankingInfo?: boolean;
149
+ clickAnalytics?: boolean;
150
+ analytics?: boolean;
151
+ analyticsTags?: string[];
152
+ synonyms?: boolean;
153
+ replaceSynonymsInHighlight?: boolean;
154
+ minProximity?: number;
155
+ responseFields?: string[];
156
+ maxFacetHits?: number;
157
+ percentileComputation?: boolean;
158
+ attributeCriteriaComputedByMinProximity?: boolean;
159
+ enableABTest?: boolean;
160
+ [propName: string]: any;
161
+ }
162
+ export interface AlgoliaConfig {
163
+ id: string;
164
+ key: string;
165
+ index?: string;
166
+ multipleIndex?: RdslAlgoliaMultipleIndex[];
167
+ }
@@ -0,0 +1,12 @@
1
+ export interface AlgoliaOption {
2
+ hit?: any;
3
+ value: string;
4
+ subtitle?: string | null;
5
+ icon?: string | null;
6
+ imageSrc?: string | null;
7
+ distance?: string | null;
8
+ avatar?: boolean;
9
+ deleteButton?: false;
10
+ type: string;
11
+ title: boolean;
12
+ }
@@ -0,0 +1,10 @@
1
+ export interface BreadcrumbsItems {
2
+ label: string;
3
+ url?: string[];
4
+ helper?: string;
5
+ groupName?: string;
6
+ icon?: string;
7
+ iconColor?: string;
8
+ iconSize?: number;
9
+ iconDisabled?: boolean;
10
+ }
@@ -0,0 +1,8 @@
1
+ export interface BreadcrumbsJsonItem {
2
+ '@type': 'ListItem';
3
+ position: number;
4
+ item: {
5
+ '@id': string;
6
+ name: string;
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface CentroEstudosBackendMedico {
2
+ nome: string;
3
+ email: string;
4
+ telefone: string;
5
+ conselhoTipo: string;
6
+ conselhoCodigo: string;
7
+ especialidade: string;
8
+ }
@@ -0,0 +1,15 @@
1
+ export interface ContentBanner {
2
+ image: any;
3
+ title: string;
4
+ text: string;
5
+ info: {
6
+ icon: string;
7
+ text: string;
8
+ link: string;
9
+ }[];
10
+ cta: {
11
+ icon: string;
12
+ text: string;
13
+ link: string;
14
+ };
15
+ }
@@ -0,0 +1,9 @@
1
+ export interface CtaWrapper {
2
+ title?: string;
3
+ text?: string;
4
+ ctas?: {
5
+ label: string;
6
+ link: string;
7
+ icon: string;
8
+ }[];
9
+ }
@@ -0,0 +1,25 @@
1
+ import { DoencaTaxonomy } from './doenca-taxonomy.model';
2
+ import { WpPage } from './wordpress/page/page.model';
3
+ export interface WpDoenca extends WpPage {
4
+ parent_slug?: string;
5
+ parent_title?: string;
6
+ acf: {
7
+ doenca_subtitulo: string;
8
+ doenca_icone: string;
9
+ doenca_imagem: any;
10
+ doenca_especialidades: any[];
11
+ };
12
+ doencas_cat: DoencaTaxonomy[];
13
+ doencas_tag: DoencaTaxonomy[];
14
+ }
15
+ export interface DoencaBackend {
16
+ slug: string;
17
+ title: string;
18
+ content: string;
19
+ imagem: {
20
+ default: any;
21
+ webp: any;
22
+ };
23
+ doencas_cat: DoencaTaxonomy[];
24
+ doencas_tag: DoencaTaxonomy[];
25
+ }
@@ -0,0 +1,11 @@
1
+ import { EnumDoencaTaxonomy } from '../enums/EnumDoencaTaxonomy.enum';
2
+ export interface DoencaTaxonomy {
3
+ id: number;
4
+ name: string;
5
+ slug: string;
6
+ taxonomy: EnumDoencaTaxonomy;
7
+ }
8
+ export interface TaxonomiasDoencasList {
9
+ doencas_cat: DoencaTaxonomy[];
10
+ doencas_tag: DoencaTaxonomy[];
11
+ }
@@ -0,0 +1,24 @@
1
+ export interface EspecialidadeBackend {
2
+ agendamentoOnline?: boolean;
3
+ agendamentoOnlineUrl: string;
4
+ content: boolean;
5
+ especialistaComplemento: string;
6
+ especialistaDescricao: string;
7
+ id: number;
8
+ idmotion: string;
9
+ idrdsl: string;
10
+ parent: number;
11
+ slug: string;
12
+ titulo: string;
13
+ parent_slug: string;
14
+ parent_title: string;
15
+ }
16
+ export interface EspecialidadeGrupoBackend extends EspecialidadeBackend {
17
+ id: number;
18
+ idmotion: string;
19
+ idrdsl: string;
20
+ parent: number;
21
+ slug: string;
22
+ titulo: string;
23
+ children: EspecialidadeBackend[];
24
+ }
@@ -0,0 +1,25 @@
1
+ export interface ExameBackend {
2
+ id: number;
3
+ slug: string;
4
+ titulo: string;
5
+ idrdsl?: number | string;
6
+ idmotion?: number | string;
7
+ content?: boolean;
8
+ parent: number;
9
+ parentSlug?: string;
10
+ parentTitulo?: string;
11
+ possuiAgendamento?: string;
12
+ agendamentoOnlineUrl?: string;
13
+ cta?: string;
14
+ children?: Array<ExameBackend>;
15
+ [prop: string]: any;
16
+ }
17
+ export interface ExameApiDados {
18
+ ID_DQ_EXAME: string;
19
+ CODIGO_EXAME_MOTION: string;
20
+ DESCRICAO_EXAME: string;
21
+ FLAG_POSSUI_AGENDAMENTO_ONLINE: string;
22
+ SINONIMIAS_EXAME: string;
23
+ ID_DQ_CATEG_EXAME: string;
24
+ DESCRICAO_CATEG_EXAME: string;
25
+ }
@@ -0,0 +1,12 @@
1
+ export interface FilterPlanosConvenios {
2
+ label: string;
3
+ value: string;
4
+ }
5
+ export interface FilterPlanosConveniosCobertura extends FilterPlanosConvenios {
6
+ checked: boolean;
7
+ }
8
+ export interface FilterPlanosConveniosChange {
9
+ unidade: string | number | null;
10
+ estado: string | number | null;
11
+ cobertura: FilterPlanosConveniosCobertura[];
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface RdsiteImage {
2
+ source_url: string;
3
+ media: string;
4
+ mime_type: string;
5
+ }
@@ -0,0 +1,10 @@
1
+ export interface MedicoCv {
2
+ CPF_MEDICO: string;
3
+ EXPERIENCIA_PROFISSIONAL: string[];
4
+ FILIACAO: string[];
5
+ FORMACAO_ACADEMICA: string[];
6
+ ID_DQ_MEDICOS: string;
7
+ TITULOS: string[];
8
+ NOME_MEDICO: string;
9
+ NUMERO_CONSELHO: string;
10
+ }
@@ -0,0 +1,14 @@
1
+ export interface MenuDeUnidade extends MenuDeUnidadesItem {
2
+ extUrl?: string;
3
+ children?: MenuPorEstado[];
4
+ active?: boolean;
5
+ }
6
+ export interface MenuPorEstado extends MenuDeUnidadesItem {
7
+ uf?: string;
8
+ children?: MenuDeUnidadesItem[];
9
+ }
10
+ export interface MenuDeUnidadesItem {
11
+ ID: number | string;
12
+ title: string;
13
+ url: string;
14
+ }
@@ -0,0 +1,67 @@
1
+ export interface MenuItem {
2
+ ID: string | number;
3
+ attr_title: string;
4
+ classes: string[];
5
+ comment_count: string;
6
+ comment_status: string;
7
+ db_id: string | number;
8
+ description: string;
9
+ filter: string;
10
+ guid: string;
11
+ menu_item_parent: string;
12
+ menu_order: string | number;
13
+ object: string;
14
+ object_id: string | number;
15
+ ping_status: string;
16
+ pinged: string;
17
+ post_author: string;
18
+ post_content: string;
19
+ post_content_filtered: string;
20
+ post_date: string;
21
+ post_date_gmt: string;
22
+ post_excerpt: string;
23
+ post_mime_type: string;
24
+ post_modified: string;
25
+ post_modified_gmt: string;
26
+ post_name: string;
27
+ post_parent: string | number;
28
+ post_password: string;
29
+ post_status: string;
30
+ post_title: string;
31
+ post_type: string;
32
+ target: string;
33
+ title: string;
34
+ to_ping: string;
35
+ type: string;
36
+ type_label: string;
37
+ url: string;
38
+ xfn: string;
39
+ children?: MenuItem[];
40
+ itens_destaque?: MenuItemDestaque[];
41
+ ctas?: MenuCta[];
42
+ active?: boolean;
43
+ external?: boolean;
44
+ }
45
+ export interface MenuItemDestaque {
46
+ titulo: string;
47
+ descricao: string;
48
+ link: string;
49
+ imagem: any;
50
+ }
51
+ export interface MenuCta {
52
+ titulo: string;
53
+ link: string;
54
+ icone: string;
55
+ }
56
+ export interface UnifiedMenu {
57
+ main: MenuItem[];
58
+ auxiliar: MenuItem[];
59
+ footer: MenuItem[];
60
+ social: MenuItem[];
61
+ support: MenuItem[];
62
+ }
63
+ export interface MenuSocialMedia {
64
+ icon: string;
65
+ title: string;
66
+ link: string;
67
+ }
@@ -0,0 +1,8 @@
1
+ export interface PrivacyToolsCookieBanner {
2
+ styleSrc: string;
3
+ scriptSrc: string;
4
+ basePath: string[];
5
+ }
6
+ export interface PrivacyToolsConfigOptions {
7
+ cookieBanners?: PrivacyToolsCookieBanner[];
8
+ }
@@ -0,0 +1,71 @@
1
+ export interface RDSLCobertura {
2
+ AMBULATORIO_ONCOLOGIA: string;
3
+ BAIRRO_UNIDADE: string;
4
+ CEP_UNIDADE: string;
5
+ CNPJ_UNIDADE: string;
6
+ CODIGO_UNIDADE_MOTION: string;
7
+ COMPLEMENTO_ENDERECO_UNIDADE: string;
8
+ DESCRICAO_UNIDADE: string;
9
+ EMAIL_CHECKIN_INTERNACAO: string;
10
+ ENDERECO_UNIDADE: string;
11
+ ESPECIALIDADES_AMBULATORIO: string;
12
+ ESPECIALIDADES_INTERNACAO: string;
13
+ ESPECIALIDADES_PS: string;
14
+ EXAMES_CONTRATADOS: string;
15
+ FLAG_ACEITA_AMBULATORIO: string;
16
+ FLAG_ACEITA_EXAME: string;
17
+ FLAG_ACEITA_INTERNACAO: string;
18
+ FLAG_ACEITA_PS: string;
19
+ FLAG_CHECKIN_EMERGENCIA: string;
20
+ FLAG_CHECKIN_INTERNACAO: string;
21
+ FLAG_EMERGENCIA_ADULTO: string;
22
+ FLAG_EMERGENCIA_INFANTIL: string;
23
+ FLAG_PEDIDO_VAGA: string;
24
+ FLAG_POSSUI_MATERINIDADE: string;
25
+ FLAG_UNIDADE_ATIVA_AGD_EXAME: string;
26
+ FLAG_UNIDADE_ATIVA_AGENDAMENTO: string;
27
+ FLAG_UNIDADE_ATIVA_SITE: string;
28
+ GEOLOCALIZACAO_UNIDADE: string;
29
+ HOSPITAL: string;
30
+ ID_DQ_COBERTURA: number;
31
+ ID_DQ_FRENTE_NEGOCIOS: number;
32
+ ID_DQ_PLANO: number;
33
+ ID_DQ_UNIDADES_RDSL: number;
34
+ LATITUDE_UNIDADE: string;
35
+ LONGITUDE_UNIDADE: string;
36
+ MUNICIPIO_UNIDADE: string;
37
+ OBSERVACAO: string;
38
+ SIGLA_UNIDADE: string;
39
+ STATUS_COBERTURA: string;
40
+ TELEFONES_UNIDADE: string;
41
+ TELEFONE_SITE: string;
42
+ TIPO_COBERTURA: string;
43
+ UF_UNIDADE: string;
44
+ URL_IMAGE: string;
45
+ unidadeImage?: any;
46
+ unidadeLinkMapa?: string;
47
+ unidadePath?: string;
48
+ unidadeSite?: string;
49
+ }
50
+ export interface RDSLCoberturaParams {
51
+ ativaAgConsultas?: string;
52
+ ativaAgExames?: string;
53
+ aceitaAmbulatorio?: string;
54
+ aceitaInternacao?: string;
55
+ aceitaPs?: string;
56
+ aceitaExame?: string;
57
+ ambulatorioOncologia?: string;
58
+ hospital?: string;
59
+ statusCobertura?: string;
60
+ municipio?: string;
61
+ uf?: string;
62
+ ativaSite?: string;
63
+ checkinEmergencia?: string;
64
+ checkinInternacao?: string;
65
+ emergenciaAdulto?: string;
66
+ emergenciaInfantil?: string;
67
+ maternidade?: string;
68
+ pedidoVaga?: string;
69
+ frenteNegocios?: string;
70
+ tipoCobertura?: string;
71
+ }
@@ -0,0 +1,17 @@
1
+ export interface RDSLConvenioParams {
2
+ ativaAgConsultas?: 'S' | 'N';
3
+ ativaAgExames?: 'S' | 'N';
4
+ ativaCortesia?: 'S' | 'N';
5
+ codigoAns?: string;
6
+ codigoMotion?: string;
7
+ }
8
+ export interface RDSLConvenio {
9
+ CODIGO_CONVENIO_ANS: string;
10
+ CODIGO_CONVENIO_MOTION: string;
11
+ FLAG_ATIVO_AGENDAMENTO_CONSULTA: 'S' | 'N';
12
+ FLAG_ATIVO_AGENDAMENTO_EXAME: 'S' | 'N';
13
+ FLAG_LIBERAR_CORTESIA: 'S' | 'N';
14
+ ID_DQ_CONVENIO_DIGITAL: string;
15
+ NOME_CONVENIO_CORPORATIVO: string;
16
+ NOME_CONVENIO_DIGITAL: string;
17
+ }
@@ -0,0 +1,33 @@
1
+ export interface RDSLEspecialidadesParams {
2
+ conteudoSite?: string;
3
+ grupo?: string;
4
+ id?: string;
5
+ idMotion?: string;
6
+ nome?: string;
7
+ possuiAgendamento?: string;
8
+ }
9
+ export interface RDSLEspecialidade {
10
+ CODIGO_ESPECIALIDADE_CONSELHO: string;
11
+ CODIGO_ESPECIALIDADE_MOTION: string;
12
+ DESCRICAO_ESPECIALIDADE: string;
13
+ ESPECIALISTA_COMPLEMENTO: string;
14
+ ESPECIALISTA_DESCRICAO: string;
15
+ FLAG_POSSUI_AGENDAMENTO_ONLINE: string;
16
+ FLAG_POSSUI_CONTEUDO_SITE: string;
17
+ GRUPO_ESPECIALIDADE: string;
18
+ ID_DQ_ESPECIALIDADE: number;
19
+ ID_DQ_TIPO_CONSELHO: number;
20
+ OBSERVACAO: string;
21
+ SUBGRUPO_ESPECIALIDADE: string;
22
+ slug_especialista?: string;
23
+ slug_especialista_grupo?: string;
24
+ }
25
+ export interface RDSLGrupoEspecialidadeParams {
26
+ conteudoSite?: string;
27
+ possuiAgendamento?: string;
28
+ }
29
+ export interface RDSLGrupoEspecialidade {
30
+ GRUPO_ESPECIALIDADE: string;
31
+ nome_especialista?: string;
32
+ slug_especialista?: string;
33
+ }