@headspace/protos-events 1.738.0 → 1.739.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.
- package/lib/index.d.ts +356 -0
- package/lib/index.js +1599 -340
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -59660,6 +59660,44 @@ export namespace clinical {
|
|
|
59660
59660
|
CLINICIAN_TYPE_PSYCHIATRIST = 2
|
|
59661
59661
|
}
|
|
59662
59662
|
|
|
59663
|
+
/** SyncStatus enum. */
|
|
59664
|
+
enum SyncStatus {
|
|
59665
|
+
SYNC_STATUS__UNKNOWN = 0,
|
|
59666
|
+
SYNC_STATUS_SYNCED = 1,
|
|
59667
|
+
SYNC_STATUS_PENDING = 2,
|
|
59668
|
+
SYNC_STATUS_FAILED = 3
|
|
59669
|
+
}
|
|
59670
|
+
|
|
59671
|
+
/** ClinicalPartnerAppointmentStatus enum. */
|
|
59672
|
+
enum ClinicalPartnerAppointmentStatus {
|
|
59673
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_UNKNOWN = 0,
|
|
59674
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_TENTATIVE = 1,
|
|
59675
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_SCHEDULED = 2,
|
|
59676
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_COMPLETED = 3,
|
|
59677
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_CANCELLED = 4,
|
|
59678
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_RESCHEDULED = 5,
|
|
59679
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_MEMBER_NO_SHOW = 6,
|
|
59680
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_LATE_CANCELLED = 7,
|
|
59681
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_PROVIDER_RESCHEDULED = 8,
|
|
59682
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_PROVIDER_NO_SHOW = 9,
|
|
59683
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_PROVIDER_CANCELLED = 10,
|
|
59684
|
+
CLINICAL_PARTNER_APPOINTMENT_STATUS_PENDING = 11
|
|
59685
|
+
}
|
|
59686
|
+
|
|
59687
|
+
/** ClinicalPartnerAppointmentType enum. */
|
|
59688
|
+
enum ClinicalPartnerAppointmentType {
|
|
59689
|
+
CLINICAL_PARTNER_APPOINTMENT_TYPE_UNKNOWN = 0,
|
|
59690
|
+
CLINICAL_PARTNER_APPOINTMENT_TYPE_THERAPY = 1,
|
|
59691
|
+
CLINICAL_PARTNER_APPOINTMENT_TYPE_PSYCHIATRY = 2
|
|
59692
|
+
}
|
|
59693
|
+
|
|
59694
|
+
/** ClinicalPartnerAppointmentSessionType enum. */
|
|
59695
|
+
enum ClinicalPartnerAppointmentSessionType {
|
|
59696
|
+
CLINICAL_PARTNER_APPOINTMENT_SESSION_TYPE_UNKNOWN = 0,
|
|
59697
|
+
CLINICAL_PARTNER_APPOINTMENT_SESSION_TYPE_INTAKE = 1,
|
|
59698
|
+
CLINICAL_PARTNER_APPOINTMENT_SESSION_TYPE_PROGRESS = 2
|
|
59699
|
+
}
|
|
59700
|
+
|
|
59663
59701
|
/** Properties of a GuardianRelationship. */
|
|
59664
59702
|
interface IGuardianRelationship {
|
|
59665
59703
|
|
|
@@ -59774,6 +59812,180 @@ export namespace clinical {
|
|
|
59774
59812
|
public toJSON(): { [k: string]: any };
|
|
59775
59813
|
}
|
|
59776
59814
|
|
|
59815
|
+
/** Properties of a PartnerAppointmentCreated. */
|
|
59816
|
+
interface IPartnerAppointmentCreated {
|
|
59817
|
+
|
|
59818
|
+
/** PartnerAppointmentCreated id */
|
|
59819
|
+
id?: (string|null);
|
|
59820
|
+
|
|
59821
|
+
/** PartnerAppointmentCreated partnerSource */
|
|
59822
|
+
partnerSource?: (clinical.ClinicalPartnerSource|null);
|
|
59823
|
+
|
|
59824
|
+
/** PartnerAppointmentCreated externalId */
|
|
59825
|
+
externalId?: (string|null);
|
|
59826
|
+
|
|
59827
|
+
/** PartnerAppointmentCreated partnerProviderId */
|
|
59828
|
+
partnerProviderId?: (string|null);
|
|
59829
|
+
|
|
59830
|
+
/** PartnerAppointmentCreated gingerMemberId */
|
|
59831
|
+
gingerMemberId?: (number|Long|null);
|
|
59832
|
+
|
|
59833
|
+
/** PartnerAppointmentCreated appointmentStatus */
|
|
59834
|
+
appointmentStatus?: (clinical.ClinicalPartnerAppointmentStatus|null);
|
|
59835
|
+
|
|
59836
|
+
/** PartnerAppointmentCreated appointmentStartTime */
|
|
59837
|
+
appointmentStartTime?: (number|Long|null);
|
|
59838
|
+
|
|
59839
|
+
/** PartnerAppointmentCreated appointmentEndTime */
|
|
59840
|
+
appointmentEndTime?: (number|Long|null);
|
|
59841
|
+
|
|
59842
|
+
/** PartnerAppointmentCreated durationMinutes */
|
|
59843
|
+
durationMinutes?: (number|null);
|
|
59844
|
+
|
|
59845
|
+
/** PartnerAppointmentCreated locationType */
|
|
59846
|
+
locationType?: (clinical.ClinicalPartnerAppointmentLocationType|null);
|
|
59847
|
+
|
|
59848
|
+
/** PartnerAppointmentCreated appointmentType */
|
|
59849
|
+
appointmentType?: (clinical.ClinicalPartnerAppointmentType|null);
|
|
59850
|
+
|
|
59851
|
+
/** PartnerAppointmentCreated sessionType */
|
|
59852
|
+
sessionType?: (clinical.ClinicalPartnerAppointmentSessionType|null);
|
|
59853
|
+
|
|
59854
|
+
/** PartnerAppointmentCreated covered */
|
|
59855
|
+
covered?: (boolean|null);
|
|
59856
|
+
|
|
59857
|
+
/** PartnerAppointmentCreated timeCreated */
|
|
59858
|
+
timeCreated?: (number|Long|null);
|
|
59859
|
+
|
|
59860
|
+
/** PartnerAppointmentCreated timeUpdated */
|
|
59861
|
+
timeUpdated?: (number|Long|null);
|
|
59862
|
+
}
|
|
59863
|
+
|
|
59864
|
+
/** Represents a PartnerAppointmentCreated. */
|
|
59865
|
+
class PartnerAppointmentCreated implements IPartnerAppointmentCreated {
|
|
59866
|
+
|
|
59867
|
+
/**
|
|
59868
|
+
* Constructs a new PartnerAppointmentCreated.
|
|
59869
|
+
* @param [properties] Properties to set
|
|
59870
|
+
*/
|
|
59871
|
+
constructor(properties?: clinical.IPartnerAppointmentCreated);
|
|
59872
|
+
|
|
59873
|
+
/** PartnerAppointmentCreated id. */
|
|
59874
|
+
public id: string;
|
|
59875
|
+
|
|
59876
|
+
/** PartnerAppointmentCreated partnerSource. */
|
|
59877
|
+
public partnerSource: clinical.ClinicalPartnerSource;
|
|
59878
|
+
|
|
59879
|
+
/** PartnerAppointmentCreated externalId. */
|
|
59880
|
+
public externalId: string;
|
|
59881
|
+
|
|
59882
|
+
/** PartnerAppointmentCreated partnerProviderId. */
|
|
59883
|
+
public partnerProviderId: string;
|
|
59884
|
+
|
|
59885
|
+
/** PartnerAppointmentCreated gingerMemberId. */
|
|
59886
|
+
public gingerMemberId: (number|Long);
|
|
59887
|
+
|
|
59888
|
+
/** PartnerAppointmentCreated appointmentStatus. */
|
|
59889
|
+
public appointmentStatus: clinical.ClinicalPartnerAppointmentStatus;
|
|
59890
|
+
|
|
59891
|
+
/** PartnerAppointmentCreated appointmentStartTime. */
|
|
59892
|
+
public appointmentStartTime: (number|Long);
|
|
59893
|
+
|
|
59894
|
+
/** PartnerAppointmentCreated appointmentEndTime. */
|
|
59895
|
+
public appointmentEndTime: (number|Long);
|
|
59896
|
+
|
|
59897
|
+
/** PartnerAppointmentCreated durationMinutes. */
|
|
59898
|
+
public durationMinutes: number;
|
|
59899
|
+
|
|
59900
|
+
/** PartnerAppointmentCreated locationType. */
|
|
59901
|
+
public locationType: clinical.ClinicalPartnerAppointmentLocationType;
|
|
59902
|
+
|
|
59903
|
+
/** PartnerAppointmentCreated appointmentType. */
|
|
59904
|
+
public appointmentType: clinical.ClinicalPartnerAppointmentType;
|
|
59905
|
+
|
|
59906
|
+
/** PartnerAppointmentCreated sessionType. */
|
|
59907
|
+
public sessionType: clinical.ClinicalPartnerAppointmentSessionType;
|
|
59908
|
+
|
|
59909
|
+
/** PartnerAppointmentCreated covered. */
|
|
59910
|
+
public covered: boolean;
|
|
59911
|
+
|
|
59912
|
+
/** PartnerAppointmentCreated timeCreated. */
|
|
59913
|
+
public timeCreated: (number|Long);
|
|
59914
|
+
|
|
59915
|
+
/** PartnerAppointmentCreated timeUpdated. */
|
|
59916
|
+
public timeUpdated: (number|Long);
|
|
59917
|
+
|
|
59918
|
+
/**
|
|
59919
|
+
* Creates a new PartnerAppointmentCreated instance using the specified properties.
|
|
59920
|
+
* @param [properties] Properties to set
|
|
59921
|
+
* @returns PartnerAppointmentCreated instance
|
|
59922
|
+
*/
|
|
59923
|
+
public static create(properties?: clinical.IPartnerAppointmentCreated): clinical.PartnerAppointmentCreated;
|
|
59924
|
+
|
|
59925
|
+
/**
|
|
59926
|
+
* Encodes the specified PartnerAppointmentCreated message. Does not implicitly {@link clinical.PartnerAppointmentCreated.verify|verify} messages.
|
|
59927
|
+
* @param message PartnerAppointmentCreated message or plain object to encode
|
|
59928
|
+
* @param [writer] Writer to encode to
|
|
59929
|
+
* @returns Writer
|
|
59930
|
+
*/
|
|
59931
|
+
public static encode(message: clinical.IPartnerAppointmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
59932
|
+
|
|
59933
|
+
/**
|
|
59934
|
+
* Encodes the specified PartnerAppointmentCreated message, length delimited. Does not implicitly {@link clinical.PartnerAppointmentCreated.verify|verify} messages.
|
|
59935
|
+
* @param message PartnerAppointmentCreated message or plain object to encode
|
|
59936
|
+
* @param [writer] Writer to encode to
|
|
59937
|
+
* @returns Writer
|
|
59938
|
+
*/
|
|
59939
|
+
public static encodeDelimited(message: clinical.IPartnerAppointmentCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
59940
|
+
|
|
59941
|
+
/**
|
|
59942
|
+
* Decodes a PartnerAppointmentCreated message from the specified reader or buffer.
|
|
59943
|
+
* @param reader Reader or buffer to decode from
|
|
59944
|
+
* @param [length] Message length if known beforehand
|
|
59945
|
+
* @returns PartnerAppointmentCreated
|
|
59946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
59948
|
+
*/
|
|
59949
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.PartnerAppointmentCreated;
|
|
59950
|
+
|
|
59951
|
+
/**
|
|
59952
|
+
* Decodes a PartnerAppointmentCreated message from the specified reader or buffer, length delimited.
|
|
59953
|
+
* @param reader Reader or buffer to decode from
|
|
59954
|
+
* @returns PartnerAppointmentCreated
|
|
59955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
59957
|
+
*/
|
|
59958
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.PartnerAppointmentCreated;
|
|
59959
|
+
|
|
59960
|
+
/**
|
|
59961
|
+
* Verifies a PartnerAppointmentCreated message.
|
|
59962
|
+
* @param message Plain object to verify
|
|
59963
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
59964
|
+
*/
|
|
59965
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
59966
|
+
|
|
59967
|
+
/**
|
|
59968
|
+
* Creates a PartnerAppointmentCreated message from a plain object. Also converts values to their respective internal types.
|
|
59969
|
+
* @param object Plain object
|
|
59970
|
+
* @returns PartnerAppointmentCreated
|
|
59971
|
+
*/
|
|
59972
|
+
public static fromObject(object: { [k: string]: any }): clinical.PartnerAppointmentCreated;
|
|
59973
|
+
|
|
59974
|
+
/**
|
|
59975
|
+
* Creates a plain object from a PartnerAppointmentCreated message. Also converts values to other types if specified.
|
|
59976
|
+
* @param message PartnerAppointmentCreated
|
|
59977
|
+
* @param [options] Conversion options
|
|
59978
|
+
* @returns Plain object
|
|
59979
|
+
*/
|
|
59980
|
+
public static toObject(message: clinical.PartnerAppointmentCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
59981
|
+
|
|
59982
|
+
/**
|
|
59983
|
+
* Converts this PartnerAppointmentCreated to JSON.
|
|
59984
|
+
* @returns JSON object
|
|
59985
|
+
*/
|
|
59986
|
+
public toJSON(): { [k: string]: any };
|
|
59987
|
+
}
|
|
59988
|
+
|
|
59777
59989
|
/** Properties of a PartnerClinicianExported. */
|
|
59778
59990
|
interface IPartnerClinicianExported {
|
|
59779
59991
|
|
|
@@ -59948,6 +60160,150 @@ export namespace clinical {
|
|
|
59948
60160
|
public toJSON(): { [k: string]: any };
|
|
59949
60161
|
}
|
|
59950
60162
|
|
|
60163
|
+
/** Properties of a PartnerPatientLinkExported. */
|
|
60164
|
+
interface IPartnerPatientLinkExported {
|
|
60165
|
+
|
|
60166
|
+
/** PartnerPatientLinkExported id */
|
|
60167
|
+
id?: (string|null);
|
|
60168
|
+
|
|
60169
|
+
/** PartnerPatientLinkExported partnerSlug */
|
|
60170
|
+
partnerSlug?: (string|null);
|
|
60171
|
+
|
|
60172
|
+
/** PartnerPatientLinkExported memberId */
|
|
60173
|
+
memberId?: (number|Long|null);
|
|
60174
|
+
|
|
60175
|
+
/** PartnerPatientLinkExported memberSharedId */
|
|
60176
|
+
memberSharedId?: (string|null);
|
|
60177
|
+
|
|
60178
|
+
/** PartnerPatientLinkExported externalId */
|
|
60179
|
+
externalId?: (string|null);
|
|
60180
|
+
|
|
60181
|
+
/** PartnerPatientLinkExported timeReferred */
|
|
60182
|
+
timeReferred?: (number|Long|null);
|
|
60183
|
+
|
|
60184
|
+
/** PartnerPatientLinkExported timeLastSynced */
|
|
60185
|
+
timeLastSynced?: (number|Long|null);
|
|
60186
|
+
|
|
60187
|
+
/** PartnerPatientLinkExported syncStatus */
|
|
60188
|
+
syncStatus?: (clinical.SyncStatus|null);
|
|
60189
|
+
|
|
60190
|
+
/** PartnerPatientLinkExported timeCreated */
|
|
60191
|
+
timeCreated?: (number|Long|null);
|
|
60192
|
+
|
|
60193
|
+
/** PartnerPatientLinkExported timeUpdated */
|
|
60194
|
+
timeUpdated?: (number|Long|null);
|
|
60195
|
+
}
|
|
60196
|
+
|
|
60197
|
+
/** Represents a PartnerPatientLinkExported. */
|
|
60198
|
+
class PartnerPatientLinkExported implements IPartnerPatientLinkExported {
|
|
60199
|
+
|
|
60200
|
+
/**
|
|
60201
|
+
* Constructs a new PartnerPatientLinkExported.
|
|
60202
|
+
* @param [properties] Properties to set
|
|
60203
|
+
*/
|
|
60204
|
+
constructor(properties?: clinical.IPartnerPatientLinkExported);
|
|
60205
|
+
|
|
60206
|
+
/** PartnerPatientLinkExported id. */
|
|
60207
|
+
public id: string;
|
|
60208
|
+
|
|
60209
|
+
/** PartnerPatientLinkExported partnerSlug. */
|
|
60210
|
+
public partnerSlug: string;
|
|
60211
|
+
|
|
60212
|
+
/** PartnerPatientLinkExported memberId. */
|
|
60213
|
+
public memberId: (number|Long);
|
|
60214
|
+
|
|
60215
|
+
/** PartnerPatientLinkExported memberSharedId. */
|
|
60216
|
+
public memberSharedId: string;
|
|
60217
|
+
|
|
60218
|
+
/** PartnerPatientLinkExported externalId. */
|
|
60219
|
+
public externalId: string;
|
|
60220
|
+
|
|
60221
|
+
/** PartnerPatientLinkExported timeReferred. */
|
|
60222
|
+
public timeReferred: (number|Long);
|
|
60223
|
+
|
|
60224
|
+
/** PartnerPatientLinkExported timeLastSynced. */
|
|
60225
|
+
public timeLastSynced: (number|Long);
|
|
60226
|
+
|
|
60227
|
+
/** PartnerPatientLinkExported syncStatus. */
|
|
60228
|
+
public syncStatus: clinical.SyncStatus;
|
|
60229
|
+
|
|
60230
|
+
/** PartnerPatientLinkExported timeCreated. */
|
|
60231
|
+
public timeCreated: (number|Long);
|
|
60232
|
+
|
|
60233
|
+
/** PartnerPatientLinkExported timeUpdated. */
|
|
60234
|
+
public timeUpdated: (number|Long);
|
|
60235
|
+
|
|
60236
|
+
/**
|
|
60237
|
+
* Creates a new PartnerPatientLinkExported instance using the specified properties.
|
|
60238
|
+
* @param [properties] Properties to set
|
|
60239
|
+
* @returns PartnerPatientLinkExported instance
|
|
60240
|
+
*/
|
|
60241
|
+
public static create(properties?: clinical.IPartnerPatientLinkExported): clinical.PartnerPatientLinkExported;
|
|
60242
|
+
|
|
60243
|
+
/**
|
|
60244
|
+
* Encodes the specified PartnerPatientLinkExported message. Does not implicitly {@link clinical.PartnerPatientLinkExported.verify|verify} messages.
|
|
60245
|
+
* @param message PartnerPatientLinkExported message or plain object to encode
|
|
60246
|
+
* @param [writer] Writer to encode to
|
|
60247
|
+
* @returns Writer
|
|
60248
|
+
*/
|
|
60249
|
+
public static encode(message: clinical.IPartnerPatientLinkExported, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
60250
|
+
|
|
60251
|
+
/**
|
|
60252
|
+
* Encodes the specified PartnerPatientLinkExported message, length delimited. Does not implicitly {@link clinical.PartnerPatientLinkExported.verify|verify} messages.
|
|
60253
|
+
* @param message PartnerPatientLinkExported message or plain object to encode
|
|
60254
|
+
* @param [writer] Writer to encode to
|
|
60255
|
+
* @returns Writer
|
|
60256
|
+
*/
|
|
60257
|
+
public static encodeDelimited(message: clinical.IPartnerPatientLinkExported, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
60258
|
+
|
|
60259
|
+
/**
|
|
60260
|
+
* Decodes a PartnerPatientLinkExported message from the specified reader or buffer.
|
|
60261
|
+
* @param reader Reader or buffer to decode from
|
|
60262
|
+
* @param [length] Message length if known beforehand
|
|
60263
|
+
* @returns PartnerPatientLinkExported
|
|
60264
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60265
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60266
|
+
*/
|
|
60267
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.PartnerPatientLinkExported;
|
|
60268
|
+
|
|
60269
|
+
/**
|
|
60270
|
+
* Decodes a PartnerPatientLinkExported message from the specified reader or buffer, length delimited.
|
|
60271
|
+
* @param reader Reader or buffer to decode from
|
|
60272
|
+
* @returns PartnerPatientLinkExported
|
|
60273
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60274
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60275
|
+
*/
|
|
60276
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.PartnerPatientLinkExported;
|
|
60277
|
+
|
|
60278
|
+
/**
|
|
60279
|
+
* Verifies a PartnerPatientLinkExported message.
|
|
60280
|
+
* @param message Plain object to verify
|
|
60281
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
60282
|
+
*/
|
|
60283
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
60284
|
+
|
|
60285
|
+
/**
|
|
60286
|
+
* Creates a PartnerPatientLinkExported message from a plain object. Also converts values to their respective internal types.
|
|
60287
|
+
* @param object Plain object
|
|
60288
|
+
* @returns PartnerPatientLinkExported
|
|
60289
|
+
*/
|
|
60290
|
+
public static fromObject(object: { [k: string]: any }): clinical.PartnerPatientLinkExported;
|
|
60291
|
+
|
|
60292
|
+
/**
|
|
60293
|
+
* Creates a plain object from a PartnerPatientLinkExported message. Also converts values to other types if specified.
|
|
60294
|
+
* @param message PartnerPatientLinkExported
|
|
60295
|
+
* @param [options] Conversion options
|
|
60296
|
+
* @returns Plain object
|
|
60297
|
+
*/
|
|
60298
|
+
public static toObject(message: clinical.PartnerPatientLinkExported, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
60299
|
+
|
|
60300
|
+
/**
|
|
60301
|
+
* Converts this PartnerPatientLinkExported to JSON.
|
|
60302
|
+
* @returns JSON object
|
|
60303
|
+
*/
|
|
60304
|
+
public toJSON(): { [k: string]: any };
|
|
60305
|
+
}
|
|
60306
|
+
|
|
59951
60307
|
/** Properties of an UnifiedAvailabilityOffered. */
|
|
59952
60308
|
interface IUnifiedAvailabilityOffered {
|
|
59953
60309
|
|