@headspace/protos-events 1.829.0 → 1.830.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 (3) hide show
  1. package/lib/index.d.ts +396 -0
  2. package/lib/index.js +1209 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -88606,6 +88606,402 @@ export namespace HealthRecordAiNoteFeedbackSubmitted {
88606
88606
  type $Shape = HealthRecordAiNoteFeedbackSubmitted.$Properties;
88607
88607
  }
88608
88608
 
88609
+ /** HieDeliveryResourceType enum. */
88610
+ export enum HieDeliveryResourceType {
88611
+
88612
+ /** HIE_DELIVERY_RESOURCE_TYPE_UNKNOWN value */
88613
+ HIE_DELIVERY_RESOURCE_TYPE_UNKNOWN = 0,
88614
+
88615
+ /** HIE_DELIVERY_RESOURCE_TYPE_OBSERVATION value */
88616
+ HIE_DELIVERY_RESOURCE_TYPE_OBSERVATION = 1,
88617
+
88618
+ /** HIE_DELIVERY_RESOURCE_TYPE_CLINICAL_NOTE_BUNDLE value */
88619
+ HIE_DELIVERY_RESOURCE_TYPE_CLINICAL_NOTE_BUNDLE = 2,
88620
+
88621
+ /** HIE_DELIVERY_RESOURCE_TYPE_ENCOUNTER value */
88622
+ HIE_DELIVERY_RESOURCE_TYPE_ENCOUNTER = 3
88623
+ }
88624
+
88625
+ /** HieDeliverySourceEvent enum. */
88626
+ export enum HieDeliverySourceEvent {
88627
+
88628
+ /** HIE_DELIVERY_SOURCE_EVENT_UNKNOWN value */
88629
+ HIE_DELIVERY_SOURCE_EVENT_UNKNOWN = 0,
88630
+
88631
+ /** HIE_DELIVERY_SOURCE_EVENT_GINGER_CLINICAL_NOTE_EXPORTED value */
88632
+ HIE_DELIVERY_SOURCE_EVENT_GINGER_CLINICAL_NOTE_EXPORTED = 1,
88633
+
88634
+ /** HIE_DELIVERY_SOURCE_EVENT_PHQ_ASSESSMENT_SCORED_COMPLETED value */
88635
+ HIE_DELIVERY_SOURCE_EVENT_PHQ_ASSESSMENT_SCORED_COMPLETED = 2,
88636
+
88637
+ /** HIE_DELIVERY_SOURCE_EVENT_COACHING_ENCOUNTER_EXPORTED value */
88638
+ HIE_DELIVERY_SOURCE_EVENT_COACHING_ENCOUNTER_EXPORTED = 3
88639
+ }
88640
+
88641
+ /** HieDeliveryFailureReason enum. */
88642
+ export enum HieDeliveryFailureReason {
88643
+
88644
+ /** HIE_DELIVERY_FAILURE_REASON_UNKNOWN value */
88645
+ HIE_DELIVERY_FAILURE_REASON_UNKNOWN = 0,
88646
+
88647
+ /** HIE_DELIVERY_FAILURE_REASON_BROKER_4XX value */
88648
+ HIE_DELIVERY_FAILURE_REASON_BROKER_4XX = 1,
88649
+
88650
+ /** HIE_DELIVERY_FAILURE_REASON_BROKER_5XX value */
88651
+ HIE_DELIVERY_FAILURE_REASON_BROKER_5XX = 2,
88652
+
88653
+ /** HIE_DELIVERY_FAILURE_REASON_CONSENT_INACTIVE value */
88654
+ HIE_DELIVERY_FAILURE_REASON_CONSENT_INACTIVE = 3,
88655
+
88656
+ /** HIE_DELIVERY_FAILURE_REASON_PATIENT_NOT_REGISTERED value */
88657
+ HIE_DELIVERY_FAILURE_REASON_PATIENT_NOT_REGISTERED = 4,
88658
+
88659
+ /** HIE_DELIVERY_FAILURE_REASON_S3_READ_FAILED value */
88660
+ HIE_DELIVERY_FAILURE_REASON_S3_READ_FAILED = 5,
88661
+
88662
+ /** HIE_DELIVERY_FAILURE_REASON_BUNDLE_VALIDATION_FAILED value */
88663
+ HIE_DELIVERY_FAILURE_REASON_BUNDLE_VALIDATION_FAILED = 6,
88664
+
88665
+ /** HIE_DELIVERY_FAILURE_REASON_RETRY_EXHAUSTED value */
88666
+ HIE_DELIVERY_FAILURE_REASON_RETRY_EXHAUSTED = 7
88667
+ }
88668
+
88669
+ /**
88670
+ * Properties of a HieDeliverySucceeded.
88671
+ * @deprecated Use HieDeliverySucceeded.$Properties instead.
88672
+ */
88673
+ export interface IHieDeliverySucceeded extends HieDeliverySucceeded.$Properties {
88674
+ }
88675
+
88676
+ /**
88677
+ * Published when hs-hie-service successfully submits a FHIR Bundle to the HIE
88678
+ * connectivity broker. One event is emitted for each upstream source delivery.
88679
+ * Contains no clinical content or PHI beyond opaque identifiers.
88680
+ * Used by hs-cms-access-service for delivery audit of Observation outcomes
88681
+ * (and later Observation-to-Goal ordering when CMS ACCESS Goal/CarePlan
88682
+ * pipelines are registered); other services may subscribe for delivery
88683
+ * confirmation without coupling to a broker.
88684
+ * Fired by: hs-hie-service
88685
+ * Responsible team: Commercial Platform
88686
+ */
88687
+ export class HieDeliverySucceeded {
88688
+
88689
+ /**
88690
+ * Constructs a new HieDeliverySucceeded.
88691
+ * @param [properties] Properties to set
88692
+ */
88693
+ constructor(properties?: HieDeliverySucceeded.$Properties);
88694
+
88695
+ /** Unknown fields preserved while decoding */
88696
+ $unknowns?: Uint8Array[];
88697
+
88698
+ /** HieDeliverySucceeded timestamp. */
88699
+ timestamp: (number|Long);
88700
+
88701
+ /** HieDeliverySucceeded hsUserId. */
88702
+ hsUserId: string;
88703
+
88704
+ /** HieDeliverySucceeded resourceType. */
88705
+ resourceType: HieDeliveryResourceType;
88706
+
88707
+ /** HieDeliverySucceeded sourceEvent. */
88708
+ sourceEvent: HieDeliverySourceEvent;
88709
+
88710
+ /** HieDeliverySucceeded sourceEventId. */
88711
+ sourceEventId: string;
88712
+
88713
+ /** HieDeliverySucceeded externalDeliveryId. */
88714
+ externalDeliveryId: string;
88715
+
88716
+ /** HieDeliverySucceeded deliveredAt. */
88717
+ deliveredAt: (number|Long);
88718
+
88719
+ /**
88720
+ * Creates a new HieDeliverySucceeded instance using the specified properties.
88721
+ * @param [properties] Properties to set
88722
+ * @returns HieDeliverySucceeded instance
88723
+ */
88724
+ static create(properties: HieDeliverySucceeded.$Shape): HieDeliverySucceeded & HieDeliverySucceeded.$Shape;
88725
+ static create(properties?: HieDeliverySucceeded.$Properties): HieDeliverySucceeded;
88726
+
88727
+ /**
88728
+ * Encodes the specified HieDeliverySucceeded message. Does not implicitly {@link HieDeliverySucceeded.verify|verify} messages.
88729
+ * @param message HieDeliverySucceeded message or plain object to encode
88730
+ * @param [writer] Writer to encode to
88731
+ * @returns Writer
88732
+ */
88733
+ static encode(message: HieDeliverySucceeded.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88734
+
88735
+ /**
88736
+ * Encodes the specified HieDeliverySucceeded message, length delimited. Does not implicitly {@link HieDeliverySucceeded.verify|verify} messages.
88737
+ * @param message HieDeliverySucceeded message or plain object to encode
88738
+ * @param [writer] Writer to encode to
88739
+ * @returns Writer
88740
+ */
88741
+ static encodeDelimited(message: HieDeliverySucceeded.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88742
+
88743
+ /**
88744
+ * Decodes a HieDeliverySucceeded message from the specified reader or buffer.
88745
+ * @param reader Reader or buffer to decode from
88746
+ * @param [length] Message length if known beforehand
88747
+ * @returns {HieDeliverySucceeded & HieDeliverySucceeded.$Shape} HieDeliverySucceeded
88748
+ * @throws {Error} If the payload is not a reader or valid buffer
88749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88750
+ */
88751
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HieDeliverySucceeded & HieDeliverySucceeded.$Shape;
88752
+
88753
+ /**
88754
+ * Decodes a HieDeliverySucceeded message from the specified reader or buffer, length delimited.
88755
+ * @param reader Reader or buffer to decode from
88756
+ * @returns {HieDeliverySucceeded & HieDeliverySucceeded.$Shape} HieDeliverySucceeded
88757
+ * @throws {Error} If the payload is not a reader or valid buffer
88758
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88759
+ */
88760
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HieDeliverySucceeded & HieDeliverySucceeded.$Shape;
88761
+
88762
+ /**
88763
+ * Verifies a HieDeliverySucceeded message.
88764
+ * @param message Plain object to verify
88765
+ * @returns `null` if valid, otherwise the reason why it is not
88766
+ */
88767
+ static verify(message: { [k: string]: any }): (string|null);
88768
+
88769
+ /**
88770
+ * Creates a HieDeliverySucceeded message from a plain object. Also converts values to their respective internal types.
88771
+ * @param object Plain object
88772
+ * @returns HieDeliverySucceeded
88773
+ */
88774
+ static fromObject(object: { [k: string]: any }): HieDeliverySucceeded;
88775
+
88776
+ /**
88777
+ * Creates a plain object from a HieDeliverySucceeded message. Also converts values to other types if specified.
88778
+ * @param message HieDeliverySucceeded
88779
+ * @param [options] Conversion options
88780
+ * @returns Plain object
88781
+ */
88782
+ static toObject(message: HieDeliverySucceeded, options?: $protobuf.IConversionOptions): { [k: string]: any };
88783
+
88784
+ /**
88785
+ * Converts this HieDeliverySucceeded to JSON.
88786
+ * @returns JSON object
88787
+ */
88788
+ toJSON(): { [k: string]: any };
88789
+
88790
+ /**
88791
+ * Gets the type url for HieDeliverySucceeded
88792
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88793
+ * @returns The type url
88794
+ */
88795
+ static getTypeUrl(prefix?: string): string;
88796
+ }
88797
+
88798
+ export namespace HieDeliverySucceeded {
88799
+
88800
+ /** Properties of a HieDeliverySucceeded. */
88801
+ interface $Properties {
88802
+
88803
+ /** HieDeliverySucceeded timestamp */
88804
+ timestamp?: (number|Long|null);
88805
+
88806
+ /** HieDeliverySucceeded hsUserId */
88807
+ hsUserId?: (string|null);
88808
+
88809
+ /** HieDeliverySucceeded resourceType */
88810
+ resourceType?: (HieDeliveryResourceType|null);
88811
+
88812
+ /** HieDeliverySucceeded sourceEvent */
88813
+ sourceEvent?: (HieDeliverySourceEvent|null);
88814
+
88815
+ /** HieDeliverySucceeded sourceEventId */
88816
+ sourceEventId?: (string|null);
88817
+
88818
+ /** HieDeliverySucceeded externalDeliveryId */
88819
+ externalDeliveryId?: (string|null);
88820
+
88821
+ /** HieDeliverySucceeded deliveredAt */
88822
+ deliveredAt?: (number|Long|null);
88823
+
88824
+ /** Unknown fields preserved while decoding */
88825
+ $unknowns?: Uint8Array[];
88826
+ }
88827
+
88828
+ /** Shape of a HieDeliverySucceeded. */
88829
+ type $Shape = HieDeliverySucceeded.$Properties;
88830
+ }
88831
+
88832
+ /**
88833
+ * Properties of a HieDeliveryFailed.
88834
+ * @deprecated Use HieDeliveryFailed.$Properties instead.
88835
+ */
88836
+ export interface IHieDeliveryFailed extends HieDeliveryFailed.$Properties {
88837
+ }
88838
+
88839
+ /**
88840
+ * Published when hs-hie-service exhausts retries or encounters a non-retryable error
88841
+ * and will not deliver the upstream source event to the HIE connectivity broker.
88842
+ * Contains no clinical content or PHI beyond opaque identifiers. last_error is sanitized
88843
+ * and must not contain PII, PHI, a vendor product name, or broker response payload content.
88844
+ * Used by producer audit and alerting subscribers and hs-cms-access-service observability.
88845
+ * Fired by: hs-hie-service
88846
+ * Responsible team: Commercial Platform
88847
+ */
88848
+ export class HieDeliveryFailed {
88849
+
88850
+ /**
88851
+ * Constructs a new HieDeliveryFailed.
88852
+ * @param [properties] Properties to set
88853
+ */
88854
+ constructor(properties?: HieDeliveryFailed.$Properties);
88855
+
88856
+ /** Unknown fields preserved while decoding */
88857
+ $unknowns?: Uint8Array[];
88858
+
88859
+ /** HieDeliveryFailed timestamp. */
88860
+ timestamp: (number|Long);
88861
+
88862
+ /** HieDeliveryFailed hsUserId. */
88863
+ hsUserId: string;
88864
+
88865
+ /** HieDeliveryFailed resourceType. */
88866
+ resourceType: HieDeliveryResourceType;
88867
+
88868
+ /** HieDeliveryFailed sourceEvent. */
88869
+ sourceEvent: HieDeliverySourceEvent;
88870
+
88871
+ /** HieDeliveryFailed sourceEventId. */
88872
+ sourceEventId: string;
88873
+
88874
+ /** HieDeliveryFailed attemptCount. */
88875
+ attemptCount: number;
88876
+
88877
+ /** HieDeliveryFailed failureReason. */
88878
+ failureReason: HieDeliveryFailureReason;
88879
+
88880
+ /** HieDeliveryFailed lastError. */
88881
+ lastError: string;
88882
+
88883
+ /** HieDeliveryFailed failedAt. */
88884
+ failedAt: (number|Long);
88885
+
88886
+ /**
88887
+ * Creates a new HieDeliveryFailed instance using the specified properties.
88888
+ * @param [properties] Properties to set
88889
+ * @returns HieDeliveryFailed instance
88890
+ */
88891
+ static create(properties: HieDeliveryFailed.$Shape): HieDeliveryFailed & HieDeliveryFailed.$Shape;
88892
+ static create(properties?: HieDeliveryFailed.$Properties): HieDeliveryFailed;
88893
+
88894
+ /**
88895
+ * Encodes the specified HieDeliveryFailed message. Does not implicitly {@link HieDeliveryFailed.verify|verify} messages.
88896
+ * @param message HieDeliveryFailed message or plain object to encode
88897
+ * @param [writer] Writer to encode to
88898
+ * @returns Writer
88899
+ */
88900
+ static encode(message: HieDeliveryFailed.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88901
+
88902
+ /**
88903
+ * Encodes the specified HieDeliveryFailed message, length delimited. Does not implicitly {@link HieDeliveryFailed.verify|verify} messages.
88904
+ * @param message HieDeliveryFailed message or plain object to encode
88905
+ * @param [writer] Writer to encode to
88906
+ * @returns Writer
88907
+ */
88908
+ static encodeDelimited(message: HieDeliveryFailed.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88909
+
88910
+ /**
88911
+ * Decodes a HieDeliveryFailed message from the specified reader or buffer.
88912
+ * @param reader Reader or buffer to decode from
88913
+ * @param [length] Message length if known beforehand
88914
+ * @returns {HieDeliveryFailed & HieDeliveryFailed.$Shape} HieDeliveryFailed
88915
+ * @throws {Error} If the payload is not a reader or valid buffer
88916
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88917
+ */
88918
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HieDeliveryFailed & HieDeliveryFailed.$Shape;
88919
+
88920
+ /**
88921
+ * Decodes a HieDeliveryFailed message from the specified reader or buffer, length delimited.
88922
+ * @param reader Reader or buffer to decode from
88923
+ * @returns {HieDeliveryFailed & HieDeliveryFailed.$Shape} HieDeliveryFailed
88924
+ * @throws {Error} If the payload is not a reader or valid buffer
88925
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88926
+ */
88927
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HieDeliveryFailed & HieDeliveryFailed.$Shape;
88928
+
88929
+ /**
88930
+ * Verifies a HieDeliveryFailed message.
88931
+ * @param message Plain object to verify
88932
+ * @returns `null` if valid, otherwise the reason why it is not
88933
+ */
88934
+ static verify(message: { [k: string]: any }): (string|null);
88935
+
88936
+ /**
88937
+ * Creates a HieDeliveryFailed message from a plain object. Also converts values to their respective internal types.
88938
+ * @param object Plain object
88939
+ * @returns HieDeliveryFailed
88940
+ */
88941
+ static fromObject(object: { [k: string]: any }): HieDeliveryFailed;
88942
+
88943
+ /**
88944
+ * Creates a plain object from a HieDeliveryFailed message. Also converts values to other types if specified.
88945
+ * @param message HieDeliveryFailed
88946
+ * @param [options] Conversion options
88947
+ * @returns Plain object
88948
+ */
88949
+ static toObject(message: HieDeliveryFailed, options?: $protobuf.IConversionOptions): { [k: string]: any };
88950
+
88951
+ /**
88952
+ * Converts this HieDeliveryFailed to JSON.
88953
+ * @returns JSON object
88954
+ */
88955
+ toJSON(): { [k: string]: any };
88956
+
88957
+ /**
88958
+ * Gets the type url for HieDeliveryFailed
88959
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88960
+ * @returns The type url
88961
+ */
88962
+ static getTypeUrl(prefix?: string): string;
88963
+ }
88964
+
88965
+ export namespace HieDeliveryFailed {
88966
+
88967
+ /** Properties of a HieDeliveryFailed. */
88968
+ interface $Properties {
88969
+
88970
+ /** HieDeliveryFailed timestamp */
88971
+ timestamp?: (number|Long|null);
88972
+
88973
+ /** HieDeliveryFailed hsUserId */
88974
+ hsUserId?: (string|null);
88975
+
88976
+ /** HieDeliveryFailed resourceType */
88977
+ resourceType?: (HieDeliveryResourceType|null);
88978
+
88979
+ /** HieDeliveryFailed sourceEvent */
88980
+ sourceEvent?: (HieDeliverySourceEvent|null);
88981
+
88982
+ /** HieDeliveryFailed sourceEventId */
88983
+ sourceEventId?: (string|null);
88984
+
88985
+ /** HieDeliveryFailed attemptCount */
88986
+ attemptCount?: (number|null);
88987
+
88988
+ /** HieDeliveryFailed failureReason */
88989
+ failureReason?: (HieDeliveryFailureReason|null);
88990
+
88991
+ /** HieDeliveryFailed lastError */
88992
+ lastError?: (string|null);
88993
+
88994
+ /** HieDeliveryFailed failedAt */
88995
+ failedAt?: (number|Long|null);
88996
+
88997
+ /** Unknown fields preserved while decoding */
88998
+ $unknowns?: Uint8Array[];
88999
+ }
89000
+
89001
+ /** Shape of a HieDeliveryFailed. */
89002
+ type $Shape = HieDeliveryFailed.$Properties;
89003
+ }
89004
+
88609
89005
  /**
88610
89006
  * Properties of an InteractiveJournalingParticipant.
88611
89007
  * @deprecated Use InteractiveJournalingParticipant.$Properties instead.