@metriport/shared 0.32.4 → 0.33.1-alpha.0

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 (214) hide show
  1. package/dist/common/__tests__/demographics.test.js +59 -3
  2. package/dist/common/__tests__/demographics.test.js.map +1 -1
  3. package/dist/common/__tests__/string.test.js +24 -0
  4. package/dist/common/__tests__/string.test.js.map +1 -1
  5. package/dist/common/demographics.d.ts +2 -2
  6. package/dist/common/demographics.d.ts.map +1 -1
  7. package/dist/common/demographics.js +19 -12
  8. package/dist/common/demographics.js.map +1 -1
  9. package/dist/common/general.d.ts +4 -0
  10. package/dist/common/general.d.ts.map +1 -1
  11. package/dist/common/general.js +8 -1
  12. package/dist/common/general.js.map +1 -1
  13. package/dist/common/purpose-of-use.d.ts +13 -0
  14. package/dist/common/purpose-of-use.d.ts.map +1 -1
  15. package/dist/common/purpose-of-use.js +17 -1
  16. package/dist/common/purpose-of-use.js.map +1 -1
  17. package/dist/common/string.d.ts +6 -0
  18. package/dist/common/string.d.ts.map +1 -1
  19. package/dist/common/string.js +10 -1
  20. package/dist/common/string.js.map +1 -1
  21. package/dist/domain/cohort.d.ts +14 -11
  22. package/dist/domain/cohort.d.ts.map +1 -1
  23. package/dist/domain/cohort.js +11 -8
  24. package/dist/domain/cohort.js.map +1 -1
  25. package/dist/domain/consolidated/recreate/event-type.d.ts +7 -0
  26. package/dist/domain/consolidated/recreate/event-type.d.ts.map +1 -0
  27. package/dist/domain/consolidated/recreate/event-type.js +11 -0
  28. package/dist/domain/consolidated/recreate/event-type.js.map +1 -0
  29. package/dist/domain/consolidated/recreate/index.d.ts +3 -0
  30. package/dist/domain/consolidated/recreate/index.d.ts.map +1 -0
  31. package/dist/domain/consolidated/recreate/index.js +19 -0
  32. package/dist/domain/consolidated/recreate/index.js.map +1 -0
  33. package/dist/domain/consolidated/recreate/supported-event-types.d.ts +7 -0
  34. package/dist/domain/consolidated/recreate/supported-event-types.d.ts.map +1 -0
  35. package/dist/domain/consolidated/recreate/supported-event-types.js +22 -0
  36. package/dist/domain/consolidated/recreate/supported-event-types.js.map +1 -0
  37. package/dist/domain/customer.d.ts +6 -0
  38. package/dist/domain/customer.d.ts.map +1 -1
  39. package/dist/domain/customer.js +6 -1
  40. package/dist/domain/customer.js.map +1 -1
  41. package/dist/domain/db.d.ts +5 -0
  42. package/dist/domain/db.d.ts.map +1 -1
  43. package/dist/domain/db.js +20 -1
  44. package/dist/domain/db.js.map +1 -1
  45. package/dist/domain/network-query/__tests__/source.test.js +13 -13
  46. package/dist/domain/network-query/__tests__/source.test.js.map +1 -1
  47. package/dist/domain/network-query/index.d.ts +1 -0
  48. package/dist/domain/network-query/index.d.ts.map +1 -1
  49. package/dist/domain/network-query/index.js +1 -0
  50. package/dist/domain/network-query/index.js.map +1 -1
  51. package/dist/domain/network-query/query.d.ts +306 -6
  52. package/dist/domain/network-query/query.d.ts.map +1 -1
  53. package/dist/domain/network-query/query.js +6 -2
  54. package/dist/domain/network-query/query.js.map +1 -1
  55. package/dist/domain/network-query/source.d.ts +413 -4
  56. package/dist/domain/network-query/source.d.ts.map +1 -1
  57. package/dist/domain/network-query/source.js +124 -10
  58. package/dist/domain/network-query/source.js.map +1 -1
  59. package/dist/domain/network-query/supported-event-types.d.ts +18 -0
  60. package/dist/domain/network-query/supported-event-types.d.ts.map +1 -0
  61. package/dist/domain/network-query/supported-event-types.js +60 -0
  62. package/dist/domain/network-query/supported-event-types.js.map +1 -0
  63. package/dist/domain/notification-webhooks/index.d.ts +2 -0
  64. package/dist/domain/notification-webhooks/index.d.ts.map +1 -0
  65. package/dist/domain/notification-webhooks/index.js +18 -0
  66. package/dist/domain/notification-webhooks/index.js.map +1 -0
  67. package/dist/domain/notification-webhooks/types.d.ts +29 -0
  68. package/dist/domain/notification-webhooks/types.d.ts.map +1 -0
  69. package/dist/domain/notification-webhooks/types.js +17 -0
  70. package/dist/domain/notification-webhooks/types.js.map +1 -0
  71. package/dist/domain/patient/patient-import/schemas.d.ts +2 -2
  72. package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts +133 -0
  73. package/dist/domain/patient/patient-monitoring/discharge-requery.d.ts.map +1 -1
  74. package/dist/domain/patient/patient-monitoring/discharge-requery.js +10 -0
  75. package/dist/domain/patient/patient-monitoring/discharge-requery.js.map +1 -1
  76. package/dist/domain/patient/patient-monitoring/utils.d.ts +19 -2
  77. package/dist/domain/patient/patient-monitoring/utils.d.ts.map +1 -1
  78. package/dist/domain/patient/patient-monitoring/utils.js +20 -4
  79. package/dist/domain/patient/patient-monitoring/utils.js.map +1 -1
  80. package/dist/domain/rate-limiting/index.d.ts +1 -1
  81. package/dist/domain/rate-limiting/index.d.ts.map +1 -1
  82. package/dist/domain/rate-limiting/index.js +9 -0
  83. package/dist/domain/rate-limiting/index.js.map +1 -1
  84. package/dist/domain/roster/patient-roster-added-by.d.ts +6 -0
  85. package/dist/domain/roster/patient-roster-added-by.d.ts.map +1 -0
  86. package/dist/domain/roster/patient-roster-added-by.js +19 -0
  87. package/dist/domain/roster/patient-roster-added-by.js.map +1 -0
  88. package/dist/domain/roster/patient-roster.d.ts +5 -1
  89. package/dist/domain/roster/patient-roster.d.ts.map +1 -1
  90. package/dist/domain/tcm-encounter.d.ts +2 -2
  91. package/dist/external/hl7v2/constants.d.ts +8 -1
  92. package/dist/external/hl7v2/constants.d.ts.map +1 -1
  93. package/dist/external/hl7v2/constants.js +21 -1
  94. package/dist/external/hl7v2/constants.js.map +1 -1
  95. package/dist/index.d.ts +15 -12
  96. package/dist/index.d.ts.map +1 -1
  97. package/dist/index.js +18 -13
  98. package/dist/index.js.map +1 -1
  99. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +0 -3
  100. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -1
  101. package/dist/interface/external/ehr/canvas/cx-mapping.js +0 -1
  102. package/dist/interface/external/ehr/canvas/cx-mapping.js.map +1 -1
  103. package/dist/interface/external/ehr/eclinicalworks/jwt-token.d.ts +2 -2
  104. package/dist/interface/external/ehr/elation/jwt-token.d.ts +2 -2
  105. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +432 -7
  106. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
  107. package/dist/interface/external/ehr/healthie/cx-mapping.js +20 -4
  108. package/dist/interface/external/ehr/healthie/cx-mapping.js.map +1 -1
  109. package/dist/interface/external/ehr/healthie/event.d.ts +14 -0
  110. package/dist/interface/external/ehr/healthie/event.d.ts.map +1 -1
  111. package/dist/interface/external/ehr/healthie/event.js +6 -1
  112. package/dist/interface/external/ehr/healthie/event.js.map +1 -1
  113. package/dist/interface/external/ehr/healthie/form-answer-group.d.ts +605 -0
  114. package/dist/interface/external/ehr/healthie/form-answer-group.d.ts.map +1 -0
  115. package/dist/interface/external/ehr/healthie/form-answer-group.js +51 -0
  116. package/dist/interface/external/ehr/healthie/form-answer-group.js.map +1 -0
  117. package/dist/interface/external/ehr/healthie/index.d.ts +1 -0
  118. package/dist/interface/external/ehr/healthie/index.d.ts.map +1 -1
  119. package/dist/interface/external/ehr/healthie/index.js +1 -0
  120. package/dist/interface/external/ehr/healthie/index.js.map +1 -1
  121. package/dist/interface/external/ehr/healthie/jwt-token.d.ts +2 -2
  122. package/dist/interface/external/ehr/healthie/patient.d.ts +121 -82
  123. package/dist/interface/external/ehr/healthie/patient.d.ts.map +1 -1
  124. package/dist/interface/external/ehr/healthie/patient.js +9 -6
  125. package/dist/interface/external/ehr/healthie/patient.js.map +1 -1
  126. package/dist/interface/external/ehr/healthie/subscription.d.ts +12 -3
  127. package/dist/interface/external/ehr/healthie/subscription.d.ts.map +1 -1
  128. package/dist/interface/external/ehr/healthie/subscription.js +20 -3
  129. package/dist/interface/external/ehr/healthie/subscription.js.map +1 -1
  130. package/dist/interface/external/ehr/practicefusion/jwt-token.d.ts +2 -2
  131. package/dist/interface/external/ehr/salesforce/jwt-token.d.ts +2 -2
  132. package/dist/interface/external/ehr/shared.d.ts +1053 -0
  133. package/dist/interface/external/ehr/shared.d.ts.map +1 -1
  134. package/dist/interface/external/ehr/shared.js +64 -2
  135. package/dist/interface/external/ehr/shared.js.map +1 -1
  136. package/dist/interface/external/ehr/source.d.ts +1 -0
  137. package/dist/interface/external/ehr/source.d.ts.map +1 -1
  138. package/dist/interface/external/ehr/source.js +2 -1
  139. package/dist/interface/external/ehr/source.js.map +1 -1
  140. package/dist/interface/external/surescripts/added-by.d.ts +8 -0
  141. package/dist/interface/external/surescripts/added-by.d.ts.map +1 -0
  142. package/dist/interface/external/surescripts/added-by.js +23 -0
  143. package/dist/interface/external/surescripts/added-by.js.map +1 -0
  144. package/dist/interface/external/surescripts/index.d.ts +2 -0
  145. package/dist/interface/external/surescripts/index.d.ts.map +1 -1
  146. package/dist/interface/external/surescripts/index.js +2 -0
  147. package/dist/interface/external/surescripts/index.js.map +1 -1
  148. package/dist/interface/external/surescripts/realtime-pulls/file-name.d.ts +15 -0
  149. package/dist/interface/external/surescripts/realtime-pulls/file-name.d.ts.map +1 -0
  150. package/dist/interface/external/surescripts/realtime-pulls/file-name.js +19 -0
  151. package/dist/interface/external/surescripts/realtime-pulls/file-name.js.map +1 -0
  152. package/dist/interface/external/surescripts/realtime-pulls/index.d.ts +3 -0
  153. package/dist/interface/external/surescripts/realtime-pulls/index.d.ts.map +1 -0
  154. package/dist/interface/external/surescripts/realtime-pulls/index.js +19 -0
  155. package/dist/interface/external/surescripts/realtime-pulls/index.js.map +1 -0
  156. package/dist/interface/external/surescripts/realtime-pulls/status-codes.d.ts +91 -0
  157. package/dist/interface/external/surescripts/realtime-pulls/status-codes.d.ts.map +1 -0
  158. package/dist/interface/external/surescripts/realtime-pulls/status-codes.js +64 -0
  159. package/dist/interface/external/surescripts/realtime-pulls/status-codes.js.map +1 -0
  160. package/dist/interface/external/surescripts/roster.d.ts +2 -0
  161. package/dist/interface/external/surescripts/roster.d.ts.map +1 -1
  162. package/dist/interface/external/surescripts/roster.js +12 -1
  163. package/dist/interface/external/surescripts/roster.js.map +1 -1
  164. package/dist/interface/internal/cohort.d.ts +124 -124
  165. package/dist/interface/internal/cohort.d.ts.map +1 -1
  166. package/dist/interface/internal/cohort.js +10 -6
  167. package/dist/interface/internal/cohort.js.map +1 -1
  168. package/dist/interface/internal/consolidated.d.ts +349 -6
  169. package/dist/interface/internal/consolidated.d.ts.map +1 -1
  170. package/dist/interface/internal/consolidated.js +22 -3
  171. package/dist/interface/internal/consolidated.js.map +1 -1
  172. package/dist/interface/internal/customer.d.ts +14 -0
  173. package/dist/interface/internal/customer.d.ts.map +1 -0
  174. package/dist/interface/internal/customer.js +28 -0
  175. package/dist/interface/internal/customer.js.map +1 -0
  176. package/dist/interface/internal/document-query.d.ts +4 -4
  177. package/dist/interface/internal/index.d.ts +1 -0
  178. package/dist/interface/internal/index.d.ts.map +1 -1
  179. package/dist/interface/internal/index.js +1 -0
  180. package/dist/interface/internal/index.js.map +1 -1
  181. package/dist/medical/webhook/webhook-request.d.ts +1239 -199
  182. package/dist/medical/webhook/webhook-request.d.ts.map +1 -1
  183. package/dist/medical/webhook/webhook-request.js +79 -4
  184. package/dist/medical/webhook/webhook-request.js.map +1 -1
  185. package/dist/net/__tests__/axios.d.ts +4 -4
  186. package/dist/util/base64.d.ts +14 -0
  187. package/dist/util/base64.d.ts.map +1 -1
  188. package/dist/util/base64.js +26 -1
  189. package/dist/util/base64.js.map +1 -1
  190. package/dist/util/index.d.ts +0 -2
  191. package/dist/util/index.d.ts.map +1 -1
  192. package/dist/util/index.js +0 -2
  193. package/dist/util/index.js.map +1 -1
  194. package/dist/util/stack-trace.d.ts +17 -0
  195. package/dist/util/stack-trace.d.ts.map +1 -0
  196. package/dist/util/stack-trace.js +33 -0
  197. package/dist/util/stack-trace.js.map +1 -0
  198. package/package.json +17 -4
  199. package/dist/util/__tests__/concurrency.test.d.ts +0 -2
  200. package/dist/util/__tests__/concurrency.test.d.ts.map +0 -1
  201. package/dist/util/__tests__/concurrency.test.js +0 -162
  202. package/dist/util/__tests__/concurrency.test.js.map +0 -1
  203. package/dist/util/__tests__/null-to-undefined.test.d.ts +0 -2
  204. package/dist/util/__tests__/null-to-undefined.test.d.ts.map +0 -1
  205. package/dist/util/__tests__/null-to-undefined.test.js +0 -60
  206. package/dist/util/__tests__/null-to-undefined.test.js.map +0 -1
  207. package/dist/util/concurrency.d.ts +0 -72
  208. package/dist/util/concurrency.d.ts.map +0 -1
  209. package/dist/util/concurrency.js +0 -87
  210. package/dist/util/concurrency.js.map +0 -1
  211. package/dist/util/null-to-undefined.d.ts +0 -2
  212. package/dist/util/null-to-undefined.d.ts.map +0 -1
  213. package/dist/util/null-to-undefined.js +0 -31
  214. package/dist/util/null-to-undefined.js.map +0 -1
@@ -814,4 +814,1057 @@ export declare const documentQueryWebhookFiltersSchema: z.ZodObject<{
814
814
  sendDocumentQueryWebhookEnabled?: boolean | undefined;
815
815
  }>;
816
816
  export type DocumentQueryWebhookFilters = z.infer<typeof documentQueryWebhookFiltersSchema>;
817
+ export declare const ContributionExtensionSchema: z.ZodObject<{
818
+ url: z.ZodString;
819
+ values: z.ZodArray<z.ZodString, "many">;
820
+ }, "strip", z.ZodTypeAny, {
821
+ url: string;
822
+ values: string[];
823
+ }, {
824
+ url: string;
825
+ values: string[];
826
+ }>;
827
+ export type ContributionExtension = z.infer<typeof ContributionExtensionSchema>;
828
+ export declare const diagnosticReportPractitionersSchema: z.ZodObject<{
829
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
830
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
833
+ practitionerIds?: string[] | undefined;
834
+ }, {
835
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
836
+ practitionerIds?: string[] | undefined;
837
+ }>;
838
+ export type DiagnosticReportPractitioners = z.infer<typeof diagnosticReportPractitionersSchema>;
839
+ declare const diagnosticReportContributionSchema: z.ZodObject<{
840
+ extensionValue: z.ZodOptional<z.ZodObject<{
841
+ url: z.ZodString;
842
+ values: z.ZodArray<z.ZodString, "many">;
843
+ }, "strip", z.ZodTypeAny, {
844
+ url: string;
845
+ values: string[];
846
+ }, {
847
+ url: string;
848
+ values: string[];
849
+ }>>;
850
+ disabled: z.ZodOptional<z.ZodBoolean>;
851
+ practitioners: z.ZodOptional<z.ZodObject<{
852
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
853
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
856
+ practitionerIds?: string[] | undefined;
857
+ }, {
858
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
859
+ practitionerIds?: string[] | undefined;
860
+ }>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ disabled?: boolean | undefined;
863
+ extensionValue?: {
864
+ url: string;
865
+ values: string[];
866
+ } | undefined;
867
+ practitioners?: {
868
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
869
+ practitionerIds?: string[] | undefined;
870
+ } | undefined;
871
+ }, {
872
+ disabled?: boolean | undefined;
873
+ extensionValue?: {
874
+ url: string;
875
+ values: string[];
876
+ } | undefined;
877
+ practitioners?: {
878
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
879
+ practitionerIds?: string[] | undefined;
880
+ } | undefined;
881
+ }>;
882
+ export type DiagnosticReportContribution = z.infer<typeof diagnosticReportContributionSchema>;
883
+ export declare const diagnosticReportContributionFiltersSchema: z.ZodEffects<z.ZodObject<{
884
+ optOut: z.ZodOptional<z.ZodObject<{
885
+ extensionValue: z.ZodOptional<z.ZodObject<{
886
+ url: z.ZodString;
887
+ values: z.ZodArray<z.ZodString, "many">;
888
+ }, "strip", z.ZodTypeAny, {
889
+ url: string;
890
+ values: string[];
891
+ }, {
892
+ url: string;
893
+ values: string[];
894
+ }>>;
895
+ disabled: z.ZodOptional<z.ZodBoolean>;
896
+ practitioners: z.ZodOptional<z.ZodObject<{
897
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
898
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
901
+ practitionerIds?: string[] | undefined;
902
+ }, {
903
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
904
+ practitionerIds?: string[] | undefined;
905
+ }>>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ disabled?: boolean | undefined;
908
+ extensionValue?: {
909
+ url: string;
910
+ values: string[];
911
+ } | undefined;
912
+ practitioners?: {
913
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
914
+ practitionerIds?: string[] | undefined;
915
+ } | undefined;
916
+ }, {
917
+ disabled?: boolean | undefined;
918
+ extensionValue?: {
919
+ url: string;
920
+ values: string[];
921
+ } | undefined;
922
+ practitioners?: {
923
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
924
+ practitionerIds?: string[] | undefined;
925
+ } | undefined;
926
+ }>>;
927
+ optIn: z.ZodOptional<z.ZodObject<{
928
+ extensionValue: z.ZodOptional<z.ZodObject<{
929
+ url: z.ZodString;
930
+ values: z.ZodArray<z.ZodString, "many">;
931
+ }, "strip", z.ZodTypeAny, {
932
+ url: string;
933
+ values: string[];
934
+ }, {
935
+ url: string;
936
+ values: string[];
937
+ }>>;
938
+ disabled: z.ZodOptional<z.ZodBoolean>;
939
+ practitioners: z.ZodOptional<z.ZodObject<{
940
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
941
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
942
+ }, "strip", z.ZodTypeAny, {
943
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
944
+ practitionerIds?: string[] | undefined;
945
+ }, {
946
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
947
+ practitionerIds?: string[] | undefined;
948
+ }>>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ disabled?: boolean | undefined;
951
+ extensionValue?: {
952
+ url: string;
953
+ values: string[];
954
+ } | undefined;
955
+ practitioners?: {
956
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
957
+ practitionerIds?: string[] | undefined;
958
+ } | undefined;
959
+ }, {
960
+ disabled?: boolean | undefined;
961
+ extensionValue?: {
962
+ url: string;
963
+ values: string[];
964
+ } | undefined;
965
+ practitioners?: {
966
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
967
+ practitionerIds?: string[] | undefined;
968
+ } | undefined;
969
+ }>>;
970
+ }, "strip", z.ZodTypeAny, {
971
+ optOut?: {
972
+ disabled?: boolean | undefined;
973
+ extensionValue?: {
974
+ url: string;
975
+ values: string[];
976
+ } | undefined;
977
+ practitioners?: {
978
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
979
+ practitionerIds?: string[] | undefined;
980
+ } | undefined;
981
+ } | undefined;
982
+ optIn?: {
983
+ disabled?: boolean | undefined;
984
+ extensionValue?: {
985
+ url: string;
986
+ values: string[];
987
+ } | undefined;
988
+ practitioners?: {
989
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
990
+ practitionerIds?: string[] | undefined;
991
+ } | undefined;
992
+ } | undefined;
993
+ }, {
994
+ optOut?: {
995
+ disabled?: boolean | undefined;
996
+ extensionValue?: {
997
+ url: string;
998
+ values: string[];
999
+ } | undefined;
1000
+ practitioners?: {
1001
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1002
+ practitionerIds?: string[] | undefined;
1003
+ } | undefined;
1004
+ } | undefined;
1005
+ optIn?: {
1006
+ disabled?: boolean | undefined;
1007
+ extensionValue?: {
1008
+ url: string;
1009
+ values: string[];
1010
+ } | undefined;
1011
+ practitioners?: {
1012
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1013
+ practitionerIds?: string[] | undefined;
1014
+ } | undefined;
1015
+ } | undefined;
1016
+ }>, {
1017
+ optOut?: {
1018
+ disabled?: boolean | undefined;
1019
+ extensionValue?: {
1020
+ url: string;
1021
+ values: string[];
1022
+ } | undefined;
1023
+ practitioners?: {
1024
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1025
+ practitionerIds?: string[] | undefined;
1026
+ } | undefined;
1027
+ } | undefined;
1028
+ optIn?: {
1029
+ disabled?: boolean | undefined;
1030
+ extensionValue?: {
1031
+ url: string;
1032
+ values: string[];
1033
+ } | undefined;
1034
+ practitioners?: {
1035
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1036
+ practitionerIds?: string[] | undefined;
1037
+ } | undefined;
1038
+ } | undefined;
1039
+ }, {
1040
+ optOut?: {
1041
+ disabled?: boolean | undefined;
1042
+ extensionValue?: {
1043
+ url: string;
1044
+ values: string[];
1045
+ } | undefined;
1046
+ practitioners?: {
1047
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1048
+ practitionerIds?: string[] | undefined;
1049
+ } | undefined;
1050
+ } | undefined;
1051
+ optIn?: {
1052
+ disabled?: boolean | undefined;
1053
+ extensionValue?: {
1054
+ url: string;
1055
+ values: string[];
1056
+ } | undefined;
1057
+ practitioners?: {
1058
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1059
+ practitionerIds?: string[] | undefined;
1060
+ } | undefined;
1061
+ } | undefined;
1062
+ }>;
1063
+ export type DiagnosticReportContributionFilters = z.infer<typeof diagnosticReportContributionFiltersSchema>;
1064
+ declare const problemContributionSchema: z.ZodObject<{
1065
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1066
+ disabled: z.ZodOptional<z.ZodBoolean>;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ disabled?: boolean | undefined;
1069
+ stringFilters?: string[] | undefined;
1070
+ }, {
1071
+ disabled?: boolean | undefined;
1072
+ stringFilters?: string[] | undefined;
1073
+ }>;
1074
+ export type ProblemContribution = z.infer<typeof problemContributionSchema>;
1075
+ export declare const problemContributionFiltersSchema: z.ZodEffects<z.ZodObject<{
1076
+ optOut: z.ZodOptional<z.ZodObject<{
1077
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1078
+ disabled: z.ZodOptional<z.ZodBoolean>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ disabled?: boolean | undefined;
1081
+ stringFilters?: string[] | undefined;
1082
+ }, {
1083
+ disabled?: boolean | undefined;
1084
+ stringFilters?: string[] | undefined;
1085
+ }>>;
1086
+ optIn: z.ZodOptional<z.ZodObject<{
1087
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1088
+ disabled: z.ZodOptional<z.ZodBoolean>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ disabled?: boolean | undefined;
1091
+ stringFilters?: string[] | undefined;
1092
+ }, {
1093
+ disabled?: boolean | undefined;
1094
+ stringFilters?: string[] | undefined;
1095
+ }>>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ optOut?: {
1098
+ disabled?: boolean | undefined;
1099
+ stringFilters?: string[] | undefined;
1100
+ } | undefined;
1101
+ optIn?: {
1102
+ disabled?: boolean | undefined;
1103
+ stringFilters?: string[] | undefined;
1104
+ } | undefined;
1105
+ }, {
1106
+ optOut?: {
1107
+ disabled?: boolean | undefined;
1108
+ stringFilters?: string[] | undefined;
1109
+ } | undefined;
1110
+ optIn?: {
1111
+ disabled?: boolean | undefined;
1112
+ stringFilters?: string[] | undefined;
1113
+ } | undefined;
1114
+ }>, {
1115
+ optOut?: {
1116
+ disabled?: boolean | undefined;
1117
+ stringFilters?: string[] | undefined;
1118
+ } | undefined;
1119
+ optIn?: {
1120
+ disabled?: boolean | undefined;
1121
+ stringFilters?: string[] | undefined;
1122
+ } | undefined;
1123
+ }, {
1124
+ optOut?: {
1125
+ disabled?: boolean | undefined;
1126
+ stringFilters?: string[] | undefined;
1127
+ } | undefined;
1128
+ optIn?: {
1129
+ disabled?: boolean | undefined;
1130
+ stringFilters?: string[] | undefined;
1131
+ } | undefined;
1132
+ }>;
1133
+ export type ProblemContributionFilters = z.infer<typeof problemContributionFiltersSchema>;
1134
+ export declare const contributionFiltersPerResourceTypeSchema: z.ZodObject<{
1135
+ diagnosticReport: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1136
+ optOut: z.ZodOptional<z.ZodObject<{
1137
+ extensionValue: z.ZodOptional<z.ZodObject<{
1138
+ url: z.ZodString;
1139
+ values: z.ZodArray<z.ZodString, "many">;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ url: string;
1142
+ values: string[];
1143
+ }, {
1144
+ url: string;
1145
+ values: string[];
1146
+ }>>;
1147
+ disabled: z.ZodOptional<z.ZodBoolean>;
1148
+ practitioners: z.ZodOptional<z.ZodObject<{
1149
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
1150
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1153
+ practitionerIds?: string[] | undefined;
1154
+ }, {
1155
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1156
+ practitionerIds?: string[] | undefined;
1157
+ }>>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ disabled?: boolean | undefined;
1160
+ extensionValue?: {
1161
+ url: string;
1162
+ values: string[];
1163
+ } | undefined;
1164
+ practitioners?: {
1165
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1166
+ practitionerIds?: string[] | undefined;
1167
+ } | undefined;
1168
+ }, {
1169
+ disabled?: boolean | undefined;
1170
+ extensionValue?: {
1171
+ url: string;
1172
+ values: string[];
1173
+ } | undefined;
1174
+ practitioners?: {
1175
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1176
+ practitionerIds?: string[] | undefined;
1177
+ } | undefined;
1178
+ }>>;
1179
+ optIn: z.ZodOptional<z.ZodObject<{
1180
+ extensionValue: z.ZodOptional<z.ZodObject<{
1181
+ url: z.ZodString;
1182
+ values: z.ZodArray<z.ZodString, "many">;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ url: string;
1185
+ values: string[];
1186
+ }, {
1187
+ url: string;
1188
+ values: string[];
1189
+ }>>;
1190
+ disabled: z.ZodOptional<z.ZodBoolean>;
1191
+ practitioners: z.ZodOptional<z.ZodObject<{
1192
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
1193
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1196
+ practitionerIds?: string[] | undefined;
1197
+ }, {
1198
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1199
+ practitionerIds?: string[] | undefined;
1200
+ }>>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ disabled?: boolean | undefined;
1203
+ extensionValue?: {
1204
+ url: string;
1205
+ values: string[];
1206
+ } | undefined;
1207
+ practitioners?: {
1208
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1209
+ practitionerIds?: string[] | undefined;
1210
+ } | undefined;
1211
+ }, {
1212
+ disabled?: boolean | undefined;
1213
+ extensionValue?: {
1214
+ url: string;
1215
+ values: string[];
1216
+ } | undefined;
1217
+ practitioners?: {
1218
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1219
+ practitionerIds?: string[] | undefined;
1220
+ } | undefined;
1221
+ }>>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ optOut?: {
1224
+ disabled?: boolean | undefined;
1225
+ extensionValue?: {
1226
+ url: string;
1227
+ values: string[];
1228
+ } | undefined;
1229
+ practitioners?: {
1230
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1231
+ practitionerIds?: string[] | undefined;
1232
+ } | undefined;
1233
+ } | undefined;
1234
+ optIn?: {
1235
+ disabled?: boolean | undefined;
1236
+ extensionValue?: {
1237
+ url: string;
1238
+ values: string[];
1239
+ } | undefined;
1240
+ practitioners?: {
1241
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1242
+ practitionerIds?: string[] | undefined;
1243
+ } | undefined;
1244
+ } | undefined;
1245
+ }, {
1246
+ optOut?: {
1247
+ disabled?: boolean | undefined;
1248
+ extensionValue?: {
1249
+ url: string;
1250
+ values: string[];
1251
+ } | undefined;
1252
+ practitioners?: {
1253
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1254
+ practitionerIds?: string[] | undefined;
1255
+ } | undefined;
1256
+ } | undefined;
1257
+ optIn?: {
1258
+ disabled?: boolean | undefined;
1259
+ extensionValue?: {
1260
+ url: string;
1261
+ values: string[];
1262
+ } | undefined;
1263
+ practitioners?: {
1264
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1265
+ practitionerIds?: string[] | undefined;
1266
+ } | undefined;
1267
+ } | undefined;
1268
+ }>, {
1269
+ optOut?: {
1270
+ disabled?: boolean | undefined;
1271
+ extensionValue?: {
1272
+ url: string;
1273
+ values: string[];
1274
+ } | undefined;
1275
+ practitioners?: {
1276
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1277
+ practitionerIds?: string[] | undefined;
1278
+ } | undefined;
1279
+ } | undefined;
1280
+ optIn?: {
1281
+ disabled?: boolean | undefined;
1282
+ extensionValue?: {
1283
+ url: string;
1284
+ values: string[];
1285
+ } | undefined;
1286
+ practitioners?: {
1287
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1288
+ practitionerIds?: string[] | undefined;
1289
+ } | undefined;
1290
+ } | undefined;
1291
+ }, {
1292
+ optOut?: {
1293
+ disabled?: boolean | undefined;
1294
+ extensionValue?: {
1295
+ url: string;
1296
+ values: string[];
1297
+ } | undefined;
1298
+ practitioners?: {
1299
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1300
+ practitionerIds?: string[] | undefined;
1301
+ } | undefined;
1302
+ } | undefined;
1303
+ optIn?: {
1304
+ disabled?: boolean | undefined;
1305
+ extensionValue?: {
1306
+ url: string;
1307
+ values: string[];
1308
+ } | undefined;
1309
+ practitioners?: {
1310
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1311
+ practitionerIds?: string[] | undefined;
1312
+ } | undefined;
1313
+ } | undefined;
1314
+ }>>;
1315
+ problem: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1316
+ optOut: z.ZodOptional<z.ZodObject<{
1317
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1318
+ disabled: z.ZodOptional<z.ZodBoolean>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ disabled?: boolean | undefined;
1321
+ stringFilters?: string[] | undefined;
1322
+ }, {
1323
+ disabled?: boolean | undefined;
1324
+ stringFilters?: string[] | undefined;
1325
+ }>>;
1326
+ optIn: z.ZodOptional<z.ZodObject<{
1327
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1328
+ disabled: z.ZodOptional<z.ZodBoolean>;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ disabled?: boolean | undefined;
1331
+ stringFilters?: string[] | undefined;
1332
+ }, {
1333
+ disabled?: boolean | undefined;
1334
+ stringFilters?: string[] | undefined;
1335
+ }>>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ optOut?: {
1338
+ disabled?: boolean | undefined;
1339
+ stringFilters?: string[] | undefined;
1340
+ } | undefined;
1341
+ optIn?: {
1342
+ disabled?: boolean | undefined;
1343
+ stringFilters?: string[] | undefined;
1344
+ } | undefined;
1345
+ }, {
1346
+ optOut?: {
1347
+ disabled?: boolean | undefined;
1348
+ stringFilters?: string[] | undefined;
1349
+ } | undefined;
1350
+ optIn?: {
1351
+ disabled?: boolean | undefined;
1352
+ stringFilters?: string[] | undefined;
1353
+ } | undefined;
1354
+ }>, {
1355
+ optOut?: {
1356
+ disabled?: boolean | undefined;
1357
+ stringFilters?: string[] | undefined;
1358
+ } | undefined;
1359
+ optIn?: {
1360
+ disabled?: boolean | undefined;
1361
+ stringFilters?: string[] | undefined;
1362
+ } | undefined;
1363
+ }, {
1364
+ optOut?: {
1365
+ disabled?: boolean | undefined;
1366
+ stringFilters?: string[] | undefined;
1367
+ } | undefined;
1368
+ optIn?: {
1369
+ disabled?: boolean | undefined;
1370
+ stringFilters?: string[] | undefined;
1371
+ } | undefined;
1372
+ }>>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ problem?: {
1375
+ optOut?: {
1376
+ disabled?: boolean | undefined;
1377
+ stringFilters?: string[] | undefined;
1378
+ } | undefined;
1379
+ optIn?: {
1380
+ disabled?: boolean | undefined;
1381
+ stringFilters?: string[] | undefined;
1382
+ } | undefined;
1383
+ } | undefined;
1384
+ diagnosticReport?: {
1385
+ optOut?: {
1386
+ disabled?: boolean | undefined;
1387
+ extensionValue?: {
1388
+ url: string;
1389
+ values: string[];
1390
+ } | undefined;
1391
+ practitioners?: {
1392
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1393
+ practitionerIds?: string[] | undefined;
1394
+ } | undefined;
1395
+ } | undefined;
1396
+ optIn?: {
1397
+ disabled?: boolean | undefined;
1398
+ extensionValue?: {
1399
+ url: string;
1400
+ values: string[];
1401
+ } | undefined;
1402
+ practitioners?: {
1403
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1404
+ practitionerIds?: string[] | undefined;
1405
+ } | undefined;
1406
+ } | undefined;
1407
+ } | undefined;
1408
+ }, {
1409
+ problem?: {
1410
+ optOut?: {
1411
+ disabled?: boolean | undefined;
1412
+ stringFilters?: string[] | undefined;
1413
+ } | undefined;
1414
+ optIn?: {
1415
+ disabled?: boolean | undefined;
1416
+ stringFilters?: string[] | undefined;
1417
+ } | undefined;
1418
+ } | undefined;
1419
+ diagnosticReport?: {
1420
+ optOut?: {
1421
+ disabled?: boolean | undefined;
1422
+ extensionValue?: {
1423
+ url: string;
1424
+ values: string[];
1425
+ } | undefined;
1426
+ practitioners?: {
1427
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1428
+ practitionerIds?: string[] | undefined;
1429
+ } | undefined;
1430
+ } | undefined;
1431
+ optIn?: {
1432
+ disabled?: boolean | undefined;
1433
+ extensionValue?: {
1434
+ url: string;
1435
+ values: string[];
1436
+ } | undefined;
1437
+ practitioners?: {
1438
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1439
+ practitionerIds?: string[] | undefined;
1440
+ } | undefined;
1441
+ } | undefined;
1442
+ } | undefined;
1443
+ }>;
1444
+ /**
1445
+ * Unlike write-back filters, contribution filters are ON by default for all CX.
1446
+ * For flexible filtering, each resource has two modes: opt-in and opt-out; at most one may be
1447
+ * set per resource.
1448
+ */
1449
+ export declare const contributionFiltersSchema: z.ZodObject<{
1450
+ contributionFilters: z.ZodOptional<z.ZodObject<{
1451
+ diagnosticReport: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1452
+ optOut: z.ZodOptional<z.ZodObject<{
1453
+ extensionValue: z.ZodOptional<z.ZodObject<{
1454
+ url: z.ZodString;
1455
+ values: z.ZodArray<z.ZodString, "many">;
1456
+ }, "strip", z.ZodTypeAny, {
1457
+ url: string;
1458
+ values: string[];
1459
+ }, {
1460
+ url: string;
1461
+ values: string[];
1462
+ }>>;
1463
+ disabled: z.ZodOptional<z.ZodBoolean>;
1464
+ practitioners: z.ZodOptional<z.ZodObject<{
1465
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
1466
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1469
+ practitionerIds?: string[] | undefined;
1470
+ }, {
1471
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1472
+ practitionerIds?: string[] | undefined;
1473
+ }>>;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ disabled?: boolean | undefined;
1476
+ extensionValue?: {
1477
+ url: string;
1478
+ values: string[];
1479
+ } | undefined;
1480
+ practitioners?: {
1481
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1482
+ practitionerIds?: string[] | undefined;
1483
+ } | undefined;
1484
+ }, {
1485
+ disabled?: boolean | undefined;
1486
+ extensionValue?: {
1487
+ url: string;
1488
+ values: string[];
1489
+ } | undefined;
1490
+ practitioners?: {
1491
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1492
+ practitionerIds?: string[] | undefined;
1493
+ } | undefined;
1494
+ }>>;
1495
+ optIn: z.ZodOptional<z.ZodObject<{
1496
+ extensionValue: z.ZodOptional<z.ZodObject<{
1497
+ url: z.ZodString;
1498
+ values: z.ZodArray<z.ZodString, "many">;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ url: string;
1501
+ values: string[];
1502
+ }, {
1503
+ url: string;
1504
+ values: string[];
1505
+ }>>;
1506
+ disabled: z.ZodOptional<z.ZodBoolean>;
1507
+ practitioners: z.ZodOptional<z.ZodObject<{
1508
+ mustHaveAtLeastOnePractitioner: z.ZodOptional<z.ZodBoolean>;
1509
+ practitionerIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1510
+ }, "strip", z.ZodTypeAny, {
1511
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1512
+ practitionerIds?: string[] | undefined;
1513
+ }, {
1514
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1515
+ practitionerIds?: string[] | undefined;
1516
+ }>>;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ disabled?: boolean | undefined;
1519
+ extensionValue?: {
1520
+ url: string;
1521
+ values: string[];
1522
+ } | undefined;
1523
+ practitioners?: {
1524
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1525
+ practitionerIds?: string[] | undefined;
1526
+ } | undefined;
1527
+ }, {
1528
+ disabled?: boolean | undefined;
1529
+ extensionValue?: {
1530
+ url: string;
1531
+ values: string[];
1532
+ } | undefined;
1533
+ practitioners?: {
1534
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1535
+ practitionerIds?: string[] | undefined;
1536
+ } | undefined;
1537
+ }>>;
1538
+ }, "strip", z.ZodTypeAny, {
1539
+ optOut?: {
1540
+ disabled?: boolean | undefined;
1541
+ extensionValue?: {
1542
+ url: string;
1543
+ values: string[];
1544
+ } | undefined;
1545
+ practitioners?: {
1546
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1547
+ practitionerIds?: string[] | undefined;
1548
+ } | undefined;
1549
+ } | undefined;
1550
+ optIn?: {
1551
+ disabled?: boolean | undefined;
1552
+ extensionValue?: {
1553
+ url: string;
1554
+ values: string[];
1555
+ } | undefined;
1556
+ practitioners?: {
1557
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1558
+ practitionerIds?: string[] | undefined;
1559
+ } | undefined;
1560
+ } | undefined;
1561
+ }, {
1562
+ optOut?: {
1563
+ disabled?: boolean | undefined;
1564
+ extensionValue?: {
1565
+ url: string;
1566
+ values: string[];
1567
+ } | undefined;
1568
+ practitioners?: {
1569
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1570
+ practitionerIds?: string[] | undefined;
1571
+ } | undefined;
1572
+ } | undefined;
1573
+ optIn?: {
1574
+ disabled?: boolean | undefined;
1575
+ extensionValue?: {
1576
+ url: string;
1577
+ values: string[];
1578
+ } | undefined;
1579
+ practitioners?: {
1580
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1581
+ practitionerIds?: string[] | undefined;
1582
+ } | undefined;
1583
+ } | undefined;
1584
+ }>, {
1585
+ optOut?: {
1586
+ disabled?: boolean | undefined;
1587
+ extensionValue?: {
1588
+ url: string;
1589
+ values: string[];
1590
+ } | undefined;
1591
+ practitioners?: {
1592
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1593
+ practitionerIds?: string[] | undefined;
1594
+ } | undefined;
1595
+ } | undefined;
1596
+ optIn?: {
1597
+ disabled?: boolean | undefined;
1598
+ extensionValue?: {
1599
+ url: string;
1600
+ values: string[];
1601
+ } | undefined;
1602
+ practitioners?: {
1603
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1604
+ practitionerIds?: string[] | undefined;
1605
+ } | undefined;
1606
+ } | undefined;
1607
+ }, {
1608
+ optOut?: {
1609
+ disabled?: boolean | undefined;
1610
+ extensionValue?: {
1611
+ url: string;
1612
+ values: string[];
1613
+ } | undefined;
1614
+ practitioners?: {
1615
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1616
+ practitionerIds?: string[] | undefined;
1617
+ } | undefined;
1618
+ } | undefined;
1619
+ optIn?: {
1620
+ disabled?: boolean | undefined;
1621
+ extensionValue?: {
1622
+ url: string;
1623
+ values: string[];
1624
+ } | undefined;
1625
+ practitioners?: {
1626
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1627
+ practitionerIds?: string[] | undefined;
1628
+ } | undefined;
1629
+ } | undefined;
1630
+ }>>;
1631
+ problem: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1632
+ optOut: z.ZodOptional<z.ZodObject<{
1633
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1634
+ disabled: z.ZodOptional<z.ZodBoolean>;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ disabled?: boolean | undefined;
1637
+ stringFilters?: string[] | undefined;
1638
+ }, {
1639
+ disabled?: boolean | undefined;
1640
+ stringFilters?: string[] | undefined;
1641
+ }>>;
1642
+ optIn: z.ZodOptional<z.ZodObject<{
1643
+ stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1644
+ disabled: z.ZodOptional<z.ZodBoolean>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ disabled?: boolean | undefined;
1647
+ stringFilters?: string[] | undefined;
1648
+ }, {
1649
+ disabled?: boolean | undefined;
1650
+ stringFilters?: string[] | undefined;
1651
+ }>>;
1652
+ }, "strip", z.ZodTypeAny, {
1653
+ optOut?: {
1654
+ disabled?: boolean | undefined;
1655
+ stringFilters?: string[] | undefined;
1656
+ } | undefined;
1657
+ optIn?: {
1658
+ disabled?: boolean | undefined;
1659
+ stringFilters?: string[] | undefined;
1660
+ } | undefined;
1661
+ }, {
1662
+ optOut?: {
1663
+ disabled?: boolean | undefined;
1664
+ stringFilters?: string[] | undefined;
1665
+ } | undefined;
1666
+ optIn?: {
1667
+ disabled?: boolean | undefined;
1668
+ stringFilters?: string[] | undefined;
1669
+ } | undefined;
1670
+ }>, {
1671
+ optOut?: {
1672
+ disabled?: boolean | undefined;
1673
+ stringFilters?: string[] | undefined;
1674
+ } | undefined;
1675
+ optIn?: {
1676
+ disabled?: boolean | undefined;
1677
+ stringFilters?: string[] | undefined;
1678
+ } | undefined;
1679
+ }, {
1680
+ optOut?: {
1681
+ disabled?: boolean | undefined;
1682
+ stringFilters?: string[] | undefined;
1683
+ } | undefined;
1684
+ optIn?: {
1685
+ disabled?: boolean | undefined;
1686
+ stringFilters?: string[] | undefined;
1687
+ } | undefined;
1688
+ }>>;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ problem?: {
1691
+ optOut?: {
1692
+ disabled?: boolean | undefined;
1693
+ stringFilters?: string[] | undefined;
1694
+ } | undefined;
1695
+ optIn?: {
1696
+ disabled?: boolean | undefined;
1697
+ stringFilters?: string[] | undefined;
1698
+ } | undefined;
1699
+ } | undefined;
1700
+ diagnosticReport?: {
1701
+ optOut?: {
1702
+ disabled?: boolean | undefined;
1703
+ extensionValue?: {
1704
+ url: string;
1705
+ values: string[];
1706
+ } | undefined;
1707
+ practitioners?: {
1708
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1709
+ practitionerIds?: string[] | undefined;
1710
+ } | undefined;
1711
+ } | undefined;
1712
+ optIn?: {
1713
+ disabled?: boolean | undefined;
1714
+ extensionValue?: {
1715
+ url: string;
1716
+ values: string[];
1717
+ } | undefined;
1718
+ practitioners?: {
1719
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1720
+ practitionerIds?: string[] | undefined;
1721
+ } | undefined;
1722
+ } | undefined;
1723
+ } | undefined;
1724
+ }, {
1725
+ problem?: {
1726
+ optOut?: {
1727
+ disabled?: boolean | undefined;
1728
+ stringFilters?: string[] | undefined;
1729
+ } | undefined;
1730
+ optIn?: {
1731
+ disabled?: boolean | undefined;
1732
+ stringFilters?: string[] | undefined;
1733
+ } | undefined;
1734
+ } | undefined;
1735
+ diagnosticReport?: {
1736
+ optOut?: {
1737
+ disabled?: boolean | undefined;
1738
+ extensionValue?: {
1739
+ url: string;
1740
+ values: string[];
1741
+ } | undefined;
1742
+ practitioners?: {
1743
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1744
+ practitionerIds?: string[] | undefined;
1745
+ } | undefined;
1746
+ } | undefined;
1747
+ optIn?: {
1748
+ disabled?: boolean | undefined;
1749
+ extensionValue?: {
1750
+ url: string;
1751
+ values: string[];
1752
+ } | undefined;
1753
+ practitioners?: {
1754
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1755
+ practitionerIds?: string[] | undefined;
1756
+ } | undefined;
1757
+ } | undefined;
1758
+ } | undefined;
1759
+ }>>;
1760
+ }, "strip", z.ZodTypeAny, {
1761
+ contributionFilters?: {
1762
+ problem?: {
1763
+ optOut?: {
1764
+ disabled?: boolean | undefined;
1765
+ stringFilters?: string[] | undefined;
1766
+ } | undefined;
1767
+ optIn?: {
1768
+ disabled?: boolean | undefined;
1769
+ stringFilters?: string[] | undefined;
1770
+ } | undefined;
1771
+ } | undefined;
1772
+ diagnosticReport?: {
1773
+ optOut?: {
1774
+ disabled?: boolean | undefined;
1775
+ extensionValue?: {
1776
+ url: string;
1777
+ values: string[];
1778
+ } | undefined;
1779
+ practitioners?: {
1780
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1781
+ practitionerIds?: string[] | undefined;
1782
+ } | undefined;
1783
+ } | undefined;
1784
+ optIn?: {
1785
+ disabled?: boolean | undefined;
1786
+ extensionValue?: {
1787
+ url: string;
1788
+ values: string[];
1789
+ } | undefined;
1790
+ practitioners?: {
1791
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1792
+ practitionerIds?: string[] | undefined;
1793
+ } | undefined;
1794
+ } | undefined;
1795
+ } | undefined;
1796
+ } | undefined;
1797
+ }, {
1798
+ contributionFilters?: {
1799
+ problem?: {
1800
+ optOut?: {
1801
+ disabled?: boolean | undefined;
1802
+ stringFilters?: string[] | undefined;
1803
+ } | undefined;
1804
+ optIn?: {
1805
+ disabled?: boolean | undefined;
1806
+ stringFilters?: string[] | undefined;
1807
+ } | undefined;
1808
+ } | undefined;
1809
+ diagnosticReport?: {
1810
+ optOut?: {
1811
+ disabled?: boolean | undefined;
1812
+ extensionValue?: {
1813
+ url: string;
1814
+ values: string[];
1815
+ } | undefined;
1816
+ practitioners?: {
1817
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1818
+ practitionerIds?: string[] | undefined;
1819
+ } | undefined;
1820
+ } | undefined;
1821
+ optIn?: {
1822
+ disabled?: boolean | undefined;
1823
+ extensionValue?: {
1824
+ url: string;
1825
+ values: string[];
1826
+ } | undefined;
1827
+ practitioners?: {
1828
+ mustHaveAtLeastOnePractitioner?: boolean | undefined;
1829
+ practitionerIds?: string[] | undefined;
1830
+ } | undefined;
1831
+ } | undefined;
1832
+ } | undefined;
1833
+ } | undefined;
1834
+ }>;
1835
+ export type ContributionFilters = z.infer<typeof contributionFiltersSchema>;
1836
+ /**
1837
+ * General/top-level contribution toggles.
1838
+ */
1839
+ export declare const generalContributionFiltersSchema: z.ZodObject<{
1840
+ contributionDisabled: z.ZodOptional<z.ZodBoolean>;
1841
+ pickedContributionResourceTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ contributionDisabled?: boolean | undefined;
1844
+ pickedContributionResourceTypes?: string[] | undefined;
1845
+ }, {
1846
+ contributionDisabled?: boolean | undefined;
1847
+ pickedContributionResourceTypes?: string[] | undefined;
1848
+ }>;
1849
+ export type GeneralContributionFilters = z.infer<typeof generalContributionFiltersSchema>;
1850
+ export declare const dqDisabledFiltersSchema: z.ZodObject<{
1851
+ dqDisabled: z.ZodOptional<z.ZodBoolean>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ dqDisabled?: boolean | undefined;
1854
+ }, {
1855
+ dqDisabled?: boolean | undefined;
1856
+ }>;
1857
+ export type DqDisabledFilters = z.infer<typeof dqDisabledFiltersSchema>;
1858
+ /**
1859
+ * The webhook types that are picked to use for background contribution.
1860
+ */
1861
+ export declare const backgroundContributionWebhookTypesSchema: z.ZodObject<{
1862
+ backgroundContributionWebhookTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1863
+ }, "strip", z.ZodTypeAny, {
1864
+ backgroundContributionWebhookTypes?: string[] | undefined;
1865
+ }, {
1866
+ backgroundContributionWebhookTypes?: string[] | undefined;
1867
+ }>;
1868
+ export type BackgroundContributionWebhookTypes = z.infer<typeof backgroundContributionWebhookTypesSchema>;
1869
+ export {};
817
1870
  //# sourceMappingURL=shared.d.ts.map