@headspace/protos-events 1.632.0 → 1.634.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 +271 -2
- package/lib/index.js +787 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -16949,10 +16949,15 @@ export namespace userdomain {
|
|
|
16949
16949
|
HEALTH_USER = 4
|
|
16950
16950
|
}
|
|
16951
16951
|
|
|
16952
|
-
/**
|
|
16952
|
+
/**
|
|
16953
|
+
* User Deletion Reason
|
|
16954
|
+
*
|
|
16955
|
+
* To provide context for the user deletion
|
|
16956
|
+
*/
|
|
16953
16957
|
enum UserDeleteReason {
|
|
16954
16958
|
UNKNOWN_REASON = 0,
|
|
16955
|
-
INACTIVE = 1
|
|
16959
|
+
INACTIVE = 1,
|
|
16960
|
+
USER_DELETE_REASON_DSAR = 2
|
|
16956
16961
|
}
|
|
16957
16962
|
}
|
|
16958
16963
|
|
|
@@ -43380,6 +43385,9 @@ export interface IClinicalCoverageCreated {
|
|
|
43380
43385
|
|
|
43381
43386
|
/** ClinicalCoverageCreated externalOrgId */
|
|
43382
43387
|
externalOrgId?: (string|null);
|
|
43388
|
+
|
|
43389
|
+
/** ClinicalCoverageCreated orgSubscriptionStartDate */
|
|
43390
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
43383
43391
|
}
|
|
43384
43392
|
|
|
43385
43393
|
/** Represents a ClinicalCoverageCreated. */
|
|
@@ -43415,6 +43423,9 @@ export class ClinicalCoverageCreated implements IClinicalCoverageCreated {
|
|
|
43415
43423
|
/** ClinicalCoverageCreated externalOrgId. */
|
|
43416
43424
|
public externalOrgId: string;
|
|
43417
43425
|
|
|
43426
|
+
/** ClinicalCoverageCreated orgSubscriptionStartDate. */
|
|
43427
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
43428
|
+
|
|
43418
43429
|
/**
|
|
43419
43430
|
* Creates a new ClinicalCoverageCreated instance using the specified properties.
|
|
43420
43431
|
* @param [properties] Properties to set
|
|
@@ -43512,6 +43523,9 @@ export interface IClinicalCoverageUpdated {
|
|
|
43512
43523
|
|
|
43513
43524
|
/** ClinicalCoverageUpdated externalOrgId */
|
|
43514
43525
|
externalOrgId?: (string|null);
|
|
43526
|
+
|
|
43527
|
+
/** ClinicalCoverageUpdated orgSubscriptionStartDate */
|
|
43528
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
43515
43529
|
}
|
|
43516
43530
|
|
|
43517
43531
|
/** Represents a ClinicalCoverageUpdated. */
|
|
@@ -43547,6 +43561,9 @@ export class ClinicalCoverageUpdated implements IClinicalCoverageUpdated {
|
|
|
43547
43561
|
/** ClinicalCoverageUpdated externalOrgId. */
|
|
43548
43562
|
public externalOrgId: string;
|
|
43549
43563
|
|
|
43564
|
+
/** ClinicalCoverageUpdated orgSubscriptionStartDate. */
|
|
43565
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
43566
|
+
|
|
43550
43567
|
/**
|
|
43551
43568
|
* Creates a new ClinicalCoverageUpdated instance using the specified properties.
|
|
43552
43569
|
* @param [properties] Properties to set
|
|
@@ -43644,6 +43661,9 @@ export interface IClinicalCoverageDeleted {
|
|
|
43644
43661
|
|
|
43645
43662
|
/** ClinicalCoverageDeleted externalOrgId */
|
|
43646
43663
|
externalOrgId?: (string|null);
|
|
43664
|
+
|
|
43665
|
+
/** ClinicalCoverageDeleted orgSubscriptionStartDate */
|
|
43666
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
43647
43667
|
}
|
|
43648
43668
|
|
|
43649
43669
|
/** Represents a ClinicalCoverageDeleted. */
|
|
@@ -43679,6 +43699,9 @@ export class ClinicalCoverageDeleted implements IClinicalCoverageDeleted {
|
|
|
43679
43699
|
/** ClinicalCoverageDeleted externalOrgId. */
|
|
43680
43700
|
public externalOrgId: string;
|
|
43681
43701
|
|
|
43702
|
+
/** ClinicalCoverageDeleted orgSubscriptionStartDate. */
|
|
43703
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
43704
|
+
|
|
43682
43705
|
/**
|
|
43683
43706
|
* Creates a new ClinicalCoverageDeleted instance using the specified properties.
|
|
43684
43707
|
* @param [properties] Properties to set
|
|
@@ -43773,6 +43796,9 @@ export interface IEapCoverageCreated {
|
|
|
43773
43796
|
|
|
43774
43797
|
/** EapCoverageCreated externalOrgId */
|
|
43775
43798
|
externalOrgId?: (string|null);
|
|
43799
|
+
|
|
43800
|
+
/** EapCoverageCreated orgSubscriptionStartDate */
|
|
43801
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
43776
43802
|
}
|
|
43777
43803
|
|
|
43778
43804
|
/** Represents an EapCoverageCreated. */
|
|
@@ -43805,6 +43831,9 @@ export class EapCoverageCreated implements IEapCoverageCreated {
|
|
|
43805
43831
|
/** EapCoverageCreated externalOrgId. */
|
|
43806
43832
|
public externalOrgId: string;
|
|
43807
43833
|
|
|
43834
|
+
/** EapCoverageCreated orgSubscriptionStartDate. */
|
|
43835
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
43836
|
+
|
|
43808
43837
|
/**
|
|
43809
43838
|
* Creates a new EapCoverageCreated instance using the specified properties.
|
|
43810
43839
|
* @param [properties] Properties to set
|
|
@@ -43899,6 +43928,9 @@ export interface IEapCoverageUpdated {
|
|
|
43899
43928
|
|
|
43900
43929
|
/** EapCoverageUpdated externalOrgId */
|
|
43901
43930
|
externalOrgId?: (string|null);
|
|
43931
|
+
|
|
43932
|
+
/** EapCoverageUpdated orgSubscriptionStartDate */
|
|
43933
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
43902
43934
|
}
|
|
43903
43935
|
|
|
43904
43936
|
/** Represents an EapCoverageUpdated. */
|
|
@@ -43931,6 +43963,9 @@ export class EapCoverageUpdated implements IEapCoverageUpdated {
|
|
|
43931
43963
|
/** EapCoverageUpdated externalOrgId. */
|
|
43932
43964
|
public externalOrgId: string;
|
|
43933
43965
|
|
|
43966
|
+
/** EapCoverageUpdated orgSubscriptionStartDate. */
|
|
43967
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
43968
|
+
|
|
43934
43969
|
/**
|
|
43935
43970
|
* Creates a new EapCoverageUpdated instance using the specified properties.
|
|
43936
43971
|
* @param [properties] Properties to set
|
|
@@ -44025,6 +44060,9 @@ export interface IEapCoverageDeleted {
|
|
|
44025
44060
|
|
|
44026
44061
|
/** EapCoverageDeleted externalOrgId */
|
|
44027
44062
|
externalOrgId?: (string|null);
|
|
44063
|
+
|
|
44064
|
+
/** EapCoverageDeleted orgSubscriptionStartDate */
|
|
44065
|
+
orgSubscriptionStartDate?: (number|Long|null);
|
|
44028
44066
|
}
|
|
44029
44067
|
|
|
44030
44068
|
/** Represents an EapCoverageDeleted. */
|
|
@@ -44057,6 +44095,9 @@ export class EapCoverageDeleted implements IEapCoverageDeleted {
|
|
|
44057
44095
|
/** EapCoverageDeleted externalOrgId. */
|
|
44058
44096
|
public externalOrgId: string;
|
|
44059
44097
|
|
|
44098
|
+
/** EapCoverageDeleted orgSubscriptionStartDate. */
|
|
44099
|
+
public orgSubscriptionStartDate: (number|Long);
|
|
44100
|
+
|
|
44060
44101
|
/**
|
|
44061
44102
|
* Creates a new EapCoverageDeleted instance using the specified properties.
|
|
44062
44103
|
* @param [properties] Properties to set
|
|
@@ -66814,6 +66855,234 @@ export class UserConsentUpdated implements IUserConsentUpdated {
|
|
|
66814
66855
|
public toJSON(): { [k: string]: any };
|
|
66815
66856
|
}
|
|
66816
66857
|
|
|
66858
|
+
/** Properties of a UserDeletionRequested. */
|
|
66859
|
+
export interface IUserDeletionRequested {
|
|
66860
|
+
|
|
66861
|
+
/** UserDeletionRequested requester */
|
|
66862
|
+
requester?: (string|null);
|
|
66863
|
+
|
|
66864
|
+
/** UserDeletionRequested timestamp */
|
|
66865
|
+
timestamp?: (number|Long|null);
|
|
66866
|
+
|
|
66867
|
+
/** UserDeletionRequested deleteReason */
|
|
66868
|
+
deleteReason?: (userdomain.users.UserDeleteReason|null);
|
|
66869
|
+
|
|
66870
|
+
/** UserDeletionRequested appClient */
|
|
66871
|
+
appClient?: (UserServiceAppClient|null);
|
|
66872
|
+
}
|
|
66873
|
+
|
|
66874
|
+
/**
|
|
66875
|
+
* Sent when a user requests their account to be deleted.
|
|
66876
|
+
*
|
|
66877
|
+
* Ex: If a user has outstanding balances on their account, the deletion request can be revoked
|
|
66878
|
+
* if the issue is not resolved within 15 days.
|
|
66879
|
+
*
|
|
66880
|
+
* Workflow: UserDeletionRequested -> UserDeletionRevoked (If needed) -> UserDeleted
|
|
66881
|
+
*/
|
|
66882
|
+
export class UserDeletionRequested implements IUserDeletionRequested {
|
|
66883
|
+
|
|
66884
|
+
/**
|
|
66885
|
+
* Constructs a new UserDeletionRequested.
|
|
66886
|
+
* @param [properties] Properties to set
|
|
66887
|
+
*/
|
|
66888
|
+
constructor(properties?: IUserDeletionRequested);
|
|
66889
|
+
|
|
66890
|
+
/** UserDeletionRequested requester. */
|
|
66891
|
+
public requester: string;
|
|
66892
|
+
|
|
66893
|
+
/** UserDeletionRequested timestamp. */
|
|
66894
|
+
public timestamp: (number|Long);
|
|
66895
|
+
|
|
66896
|
+
/** UserDeletionRequested deleteReason. */
|
|
66897
|
+
public deleteReason: userdomain.users.UserDeleteReason;
|
|
66898
|
+
|
|
66899
|
+
/** UserDeletionRequested appClient. */
|
|
66900
|
+
public appClient: UserServiceAppClient;
|
|
66901
|
+
|
|
66902
|
+
/**
|
|
66903
|
+
* Creates a new UserDeletionRequested instance using the specified properties.
|
|
66904
|
+
* @param [properties] Properties to set
|
|
66905
|
+
* @returns UserDeletionRequested instance
|
|
66906
|
+
*/
|
|
66907
|
+
public static create(properties?: IUserDeletionRequested): UserDeletionRequested;
|
|
66908
|
+
|
|
66909
|
+
/**
|
|
66910
|
+
* Encodes the specified UserDeletionRequested message. Does not implicitly {@link UserDeletionRequested.verify|verify} messages.
|
|
66911
|
+
* @param message UserDeletionRequested message or plain object to encode
|
|
66912
|
+
* @param [writer] Writer to encode to
|
|
66913
|
+
* @returns Writer
|
|
66914
|
+
*/
|
|
66915
|
+
public static encode(message: IUserDeletionRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66916
|
+
|
|
66917
|
+
/**
|
|
66918
|
+
* Encodes the specified UserDeletionRequested message, length delimited. Does not implicitly {@link UserDeletionRequested.verify|verify} messages.
|
|
66919
|
+
* @param message UserDeletionRequested message or plain object to encode
|
|
66920
|
+
* @param [writer] Writer to encode to
|
|
66921
|
+
* @returns Writer
|
|
66922
|
+
*/
|
|
66923
|
+
public static encodeDelimited(message: IUserDeletionRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
66924
|
+
|
|
66925
|
+
/**
|
|
66926
|
+
* Decodes a UserDeletionRequested message from the specified reader or buffer.
|
|
66927
|
+
* @param reader Reader or buffer to decode from
|
|
66928
|
+
* @param [length] Message length if known beforehand
|
|
66929
|
+
* @returns UserDeletionRequested
|
|
66930
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66931
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66932
|
+
*/
|
|
66933
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDeletionRequested;
|
|
66934
|
+
|
|
66935
|
+
/**
|
|
66936
|
+
* Decodes a UserDeletionRequested message from the specified reader or buffer, length delimited.
|
|
66937
|
+
* @param reader Reader or buffer to decode from
|
|
66938
|
+
* @returns UserDeletionRequested
|
|
66939
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
66940
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66941
|
+
*/
|
|
66942
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDeletionRequested;
|
|
66943
|
+
|
|
66944
|
+
/**
|
|
66945
|
+
* Verifies a UserDeletionRequested message.
|
|
66946
|
+
* @param message Plain object to verify
|
|
66947
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
66948
|
+
*/
|
|
66949
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
66950
|
+
|
|
66951
|
+
/**
|
|
66952
|
+
* Creates a UserDeletionRequested message from a plain object. Also converts values to their respective internal types.
|
|
66953
|
+
* @param object Plain object
|
|
66954
|
+
* @returns UserDeletionRequested
|
|
66955
|
+
*/
|
|
66956
|
+
public static fromObject(object: { [k: string]: any }): UserDeletionRequested;
|
|
66957
|
+
|
|
66958
|
+
/**
|
|
66959
|
+
* Creates a plain object from a UserDeletionRequested message. Also converts values to other types if specified.
|
|
66960
|
+
* @param message UserDeletionRequested
|
|
66961
|
+
* @param [options] Conversion options
|
|
66962
|
+
* @returns Plain object
|
|
66963
|
+
*/
|
|
66964
|
+
public static toObject(message: UserDeletionRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
66965
|
+
|
|
66966
|
+
/**
|
|
66967
|
+
* Converts this UserDeletionRequested to JSON.
|
|
66968
|
+
* @returns JSON object
|
|
66969
|
+
*/
|
|
66970
|
+
public toJSON(): { [k: string]: any };
|
|
66971
|
+
}
|
|
66972
|
+
|
|
66973
|
+
/** Properties of a UserDeletionRevoked. */
|
|
66974
|
+
export interface IUserDeletionRevoked {
|
|
66975
|
+
|
|
66976
|
+
/** UserDeletionRevoked hsUserId */
|
|
66977
|
+
hsUserId?: (string|null);
|
|
66978
|
+
|
|
66979
|
+
/** UserDeletionRevoked timestamp */
|
|
66980
|
+
timestamp?: (number|Long|null);
|
|
66981
|
+
}
|
|
66982
|
+
|
|
66983
|
+
/**
|
|
66984
|
+
* Sent when an administrative user revokes the deletion of a user account.
|
|
66985
|
+
*
|
|
66986
|
+
* Ex: If a user has outstanding balances on their account, the deletion request will be revoked
|
|
66987
|
+
* if the issue is not resolved within 15 days.
|
|
66988
|
+
*/
|
|
66989
|
+
export class UserDeletionRevoked implements IUserDeletionRevoked {
|
|
66990
|
+
|
|
66991
|
+
/**
|
|
66992
|
+
* Constructs a new UserDeletionRevoked.
|
|
66993
|
+
* @param [properties] Properties to set
|
|
66994
|
+
*/
|
|
66995
|
+
constructor(properties?: IUserDeletionRevoked);
|
|
66996
|
+
|
|
66997
|
+
/** UserDeletionRevoked hsUserId. */
|
|
66998
|
+
public hsUserId: string;
|
|
66999
|
+
|
|
67000
|
+
/** UserDeletionRevoked timestamp. */
|
|
67001
|
+
public timestamp: (number|Long);
|
|
67002
|
+
|
|
67003
|
+
/**
|
|
67004
|
+
* Creates a new UserDeletionRevoked instance using the specified properties.
|
|
67005
|
+
* @param [properties] Properties to set
|
|
67006
|
+
* @returns UserDeletionRevoked instance
|
|
67007
|
+
*/
|
|
67008
|
+
public static create(properties?: IUserDeletionRevoked): UserDeletionRevoked;
|
|
67009
|
+
|
|
67010
|
+
/**
|
|
67011
|
+
* Encodes the specified UserDeletionRevoked message. Does not implicitly {@link UserDeletionRevoked.verify|verify} messages.
|
|
67012
|
+
* @param message UserDeletionRevoked message or plain object to encode
|
|
67013
|
+
* @param [writer] Writer to encode to
|
|
67014
|
+
* @returns Writer
|
|
67015
|
+
*/
|
|
67016
|
+
public static encode(message: IUserDeletionRevoked, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
67017
|
+
|
|
67018
|
+
/**
|
|
67019
|
+
* Encodes the specified UserDeletionRevoked message, length delimited. Does not implicitly {@link UserDeletionRevoked.verify|verify} messages.
|
|
67020
|
+
* @param message UserDeletionRevoked message or plain object to encode
|
|
67021
|
+
* @param [writer] Writer to encode to
|
|
67022
|
+
* @returns Writer
|
|
67023
|
+
*/
|
|
67024
|
+
public static encodeDelimited(message: IUserDeletionRevoked, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
67025
|
+
|
|
67026
|
+
/**
|
|
67027
|
+
* Decodes a UserDeletionRevoked message from the specified reader or buffer.
|
|
67028
|
+
* @param reader Reader or buffer to decode from
|
|
67029
|
+
* @param [length] Message length if known beforehand
|
|
67030
|
+
* @returns UserDeletionRevoked
|
|
67031
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67032
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67033
|
+
*/
|
|
67034
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDeletionRevoked;
|
|
67035
|
+
|
|
67036
|
+
/**
|
|
67037
|
+
* Decodes a UserDeletionRevoked message from the specified reader or buffer, length delimited.
|
|
67038
|
+
* @param reader Reader or buffer to decode from
|
|
67039
|
+
* @returns UserDeletionRevoked
|
|
67040
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67041
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67042
|
+
*/
|
|
67043
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDeletionRevoked;
|
|
67044
|
+
|
|
67045
|
+
/**
|
|
67046
|
+
* Verifies a UserDeletionRevoked message.
|
|
67047
|
+
* @param message Plain object to verify
|
|
67048
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
67049
|
+
*/
|
|
67050
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
67051
|
+
|
|
67052
|
+
/**
|
|
67053
|
+
* Creates a UserDeletionRevoked message from a plain object. Also converts values to their respective internal types.
|
|
67054
|
+
* @param object Plain object
|
|
67055
|
+
* @returns UserDeletionRevoked
|
|
67056
|
+
*/
|
|
67057
|
+
public static fromObject(object: { [k: string]: any }): UserDeletionRevoked;
|
|
67058
|
+
|
|
67059
|
+
/**
|
|
67060
|
+
* Creates a plain object from a UserDeletionRevoked message. Also converts values to other types if specified.
|
|
67061
|
+
* @param message UserDeletionRevoked
|
|
67062
|
+
* @param [options] Conversion options
|
|
67063
|
+
* @returns Plain object
|
|
67064
|
+
*/
|
|
67065
|
+
public static toObject(message: UserDeletionRevoked, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
67066
|
+
|
|
67067
|
+
/**
|
|
67068
|
+
* Converts this UserDeletionRevoked to JSON.
|
|
67069
|
+
* @returns JSON object
|
|
67070
|
+
*/
|
|
67071
|
+
public toJSON(): { [k: string]: any };
|
|
67072
|
+
}
|
|
67073
|
+
|
|
67074
|
+
/**
|
|
67075
|
+
* User Deletion Request Origin
|
|
67076
|
+
*
|
|
67077
|
+
* A request from the compliance teams to provide the origin of the user deletion request
|
|
67078
|
+
*/
|
|
67079
|
+
export enum UserServiceAppClient {
|
|
67080
|
+
USER_SERVICE_APP_CLIENT_UNKNOWN = 0,
|
|
67081
|
+
USER_SERVICE_APP_CLIENT_HEADSPACE_APP = 1,
|
|
67082
|
+
USER_SERVICE_APP_CLIENT_HEADSPACE_CARE_APP = 2,
|
|
67083
|
+
USER_SERVICE_APP_CLIENT_CROCPIT = 3
|
|
67084
|
+
}
|
|
67085
|
+
|
|
66817
67086
|
/** Properties of a VirginPulseAccountLinked. */
|
|
66818
67087
|
export interface IVirginPulseAccountLinked {
|
|
66819
67088
|
|