@headspace/protos-events 1.617.0 → 1.618.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 +318 -0
- package/lib/index.js +1744 -884
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -50877,6 +50877,204 @@ export enum KeyType {
|
|
|
50877
50877
|
WORK_EMAIL = 1
|
|
50878
50878
|
}
|
|
50879
50879
|
|
|
50880
|
+
/** Properties of an OrganizationIdentifier. */
|
|
50881
|
+
export interface IOrganizationIdentifier {
|
|
50882
|
+
|
|
50883
|
+
/** OrganizationIdentifier headspaceHealthOrgId */
|
|
50884
|
+
headspaceHealthOrgId?: (string|null);
|
|
50885
|
+
|
|
50886
|
+
/** OrganizationIdentifier b2bOrgId */
|
|
50887
|
+
b2bOrgId?: (string|null);
|
|
50888
|
+
|
|
50889
|
+
/** OrganizationIdentifier gingerOrgId */
|
|
50890
|
+
gingerOrgId?: (string|null);
|
|
50891
|
+
}
|
|
50892
|
+
|
|
50893
|
+
/** Represents an OrganizationIdentifier. */
|
|
50894
|
+
export class OrganizationIdentifier implements IOrganizationIdentifier {
|
|
50895
|
+
|
|
50896
|
+
/**
|
|
50897
|
+
* Constructs a new OrganizationIdentifier.
|
|
50898
|
+
* @param [properties] Properties to set
|
|
50899
|
+
*/
|
|
50900
|
+
constructor(properties?: IOrganizationIdentifier);
|
|
50901
|
+
|
|
50902
|
+
/** OrganizationIdentifier headspaceHealthOrgId. */
|
|
50903
|
+
public headspaceHealthOrgId: string;
|
|
50904
|
+
|
|
50905
|
+
/** OrganizationIdentifier b2bOrgId. */
|
|
50906
|
+
public b2bOrgId: string;
|
|
50907
|
+
|
|
50908
|
+
/** OrganizationIdentifier gingerOrgId. */
|
|
50909
|
+
public gingerOrgId: string;
|
|
50910
|
+
|
|
50911
|
+
/**
|
|
50912
|
+
* Creates a new OrganizationIdentifier instance using the specified properties.
|
|
50913
|
+
* @param [properties] Properties to set
|
|
50914
|
+
* @returns OrganizationIdentifier instance
|
|
50915
|
+
*/
|
|
50916
|
+
public static create(properties?: IOrganizationIdentifier): OrganizationIdentifier;
|
|
50917
|
+
|
|
50918
|
+
/**
|
|
50919
|
+
* Encodes the specified OrganizationIdentifier message. Does not implicitly {@link OrganizationIdentifier.verify|verify} messages.
|
|
50920
|
+
* @param message OrganizationIdentifier message or plain object to encode
|
|
50921
|
+
* @param [writer] Writer to encode to
|
|
50922
|
+
* @returns Writer
|
|
50923
|
+
*/
|
|
50924
|
+
public static encode(message: IOrganizationIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
50925
|
+
|
|
50926
|
+
/**
|
|
50927
|
+
* Encodes the specified OrganizationIdentifier message, length delimited. Does not implicitly {@link OrganizationIdentifier.verify|verify} messages.
|
|
50928
|
+
* @param message OrganizationIdentifier message or plain object to encode
|
|
50929
|
+
* @param [writer] Writer to encode to
|
|
50930
|
+
* @returns Writer
|
|
50931
|
+
*/
|
|
50932
|
+
public static encodeDelimited(message: IOrganizationIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
50933
|
+
|
|
50934
|
+
/**
|
|
50935
|
+
* Decodes an OrganizationIdentifier message from the specified reader or buffer.
|
|
50936
|
+
* @param reader Reader or buffer to decode from
|
|
50937
|
+
* @param [length] Message length if known beforehand
|
|
50938
|
+
* @returns OrganizationIdentifier
|
|
50939
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50940
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50941
|
+
*/
|
|
50942
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationIdentifier;
|
|
50943
|
+
|
|
50944
|
+
/**
|
|
50945
|
+
* Decodes an OrganizationIdentifier message from the specified reader or buffer, length delimited.
|
|
50946
|
+
* @param reader Reader or buffer to decode from
|
|
50947
|
+
* @returns OrganizationIdentifier
|
|
50948
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50949
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50950
|
+
*/
|
|
50951
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationIdentifier;
|
|
50952
|
+
|
|
50953
|
+
/**
|
|
50954
|
+
* Verifies an OrganizationIdentifier message.
|
|
50955
|
+
* @param message Plain object to verify
|
|
50956
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
50957
|
+
*/
|
|
50958
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
50959
|
+
|
|
50960
|
+
/**
|
|
50961
|
+
* Creates an OrganizationIdentifier message from a plain object. Also converts values to their respective internal types.
|
|
50962
|
+
* @param object Plain object
|
|
50963
|
+
* @returns OrganizationIdentifier
|
|
50964
|
+
*/
|
|
50965
|
+
public static fromObject(object: { [k: string]: any }): OrganizationIdentifier;
|
|
50966
|
+
|
|
50967
|
+
/**
|
|
50968
|
+
* Creates a plain object from an OrganizationIdentifier message. Also converts values to other types if specified.
|
|
50969
|
+
* @param message OrganizationIdentifier
|
|
50970
|
+
* @param [options] Conversion options
|
|
50971
|
+
* @returns Plain object
|
|
50972
|
+
*/
|
|
50973
|
+
public static toObject(message: OrganizationIdentifier, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
50974
|
+
|
|
50975
|
+
/**
|
|
50976
|
+
* Converts this OrganizationIdentifier to JSON.
|
|
50977
|
+
* @returns JSON object
|
|
50978
|
+
*/
|
|
50979
|
+
public toJSON(): { [k: string]: any };
|
|
50980
|
+
}
|
|
50981
|
+
|
|
50982
|
+
/** Properties of an EligibilityRecordIdentifier. */
|
|
50983
|
+
export interface IEligibilityRecordIdentifier {
|
|
50984
|
+
|
|
50985
|
+
/** EligibilityRecordIdentifier keyType */
|
|
50986
|
+
keyType?: (KeyType|null);
|
|
50987
|
+
|
|
50988
|
+
/** EligibilityRecordIdentifier identifier */
|
|
50989
|
+
identifier?: (string|null);
|
|
50990
|
+
}
|
|
50991
|
+
|
|
50992
|
+
/** Represents an EligibilityRecordIdentifier. */
|
|
50993
|
+
export class EligibilityRecordIdentifier implements IEligibilityRecordIdentifier {
|
|
50994
|
+
|
|
50995
|
+
/**
|
|
50996
|
+
* Constructs a new EligibilityRecordIdentifier.
|
|
50997
|
+
* @param [properties] Properties to set
|
|
50998
|
+
*/
|
|
50999
|
+
constructor(properties?: IEligibilityRecordIdentifier);
|
|
51000
|
+
|
|
51001
|
+
/** EligibilityRecordIdentifier keyType. */
|
|
51002
|
+
public keyType: KeyType;
|
|
51003
|
+
|
|
51004
|
+
/** EligibilityRecordIdentifier identifier. */
|
|
51005
|
+
public identifier: string;
|
|
51006
|
+
|
|
51007
|
+
/**
|
|
51008
|
+
* Creates a new EligibilityRecordIdentifier instance using the specified properties.
|
|
51009
|
+
* @param [properties] Properties to set
|
|
51010
|
+
* @returns EligibilityRecordIdentifier instance
|
|
51011
|
+
*/
|
|
51012
|
+
public static create(properties?: IEligibilityRecordIdentifier): EligibilityRecordIdentifier;
|
|
51013
|
+
|
|
51014
|
+
/**
|
|
51015
|
+
* Encodes the specified EligibilityRecordIdentifier message. Does not implicitly {@link EligibilityRecordIdentifier.verify|verify} messages.
|
|
51016
|
+
* @param message EligibilityRecordIdentifier message or plain object to encode
|
|
51017
|
+
* @param [writer] Writer to encode to
|
|
51018
|
+
* @returns Writer
|
|
51019
|
+
*/
|
|
51020
|
+
public static encode(message: IEligibilityRecordIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51021
|
+
|
|
51022
|
+
/**
|
|
51023
|
+
* Encodes the specified EligibilityRecordIdentifier message, length delimited. Does not implicitly {@link EligibilityRecordIdentifier.verify|verify} messages.
|
|
51024
|
+
* @param message EligibilityRecordIdentifier message or plain object to encode
|
|
51025
|
+
* @param [writer] Writer to encode to
|
|
51026
|
+
* @returns Writer
|
|
51027
|
+
*/
|
|
51028
|
+
public static encodeDelimited(message: IEligibilityRecordIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51029
|
+
|
|
51030
|
+
/**
|
|
51031
|
+
* Decodes an EligibilityRecordIdentifier message from the specified reader or buffer.
|
|
51032
|
+
* @param reader Reader or buffer to decode from
|
|
51033
|
+
* @param [length] Message length if known beforehand
|
|
51034
|
+
* @returns EligibilityRecordIdentifier
|
|
51035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51037
|
+
*/
|
|
51038
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordIdentifier;
|
|
51039
|
+
|
|
51040
|
+
/**
|
|
51041
|
+
* Decodes an EligibilityRecordIdentifier message from the specified reader or buffer, length delimited.
|
|
51042
|
+
* @param reader Reader or buffer to decode from
|
|
51043
|
+
* @returns EligibilityRecordIdentifier
|
|
51044
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51045
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51046
|
+
*/
|
|
51047
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordIdentifier;
|
|
51048
|
+
|
|
51049
|
+
/**
|
|
51050
|
+
* Verifies an EligibilityRecordIdentifier message.
|
|
51051
|
+
* @param message Plain object to verify
|
|
51052
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
51053
|
+
*/
|
|
51054
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
51055
|
+
|
|
51056
|
+
/**
|
|
51057
|
+
* Creates an EligibilityRecordIdentifier message from a plain object. Also converts values to their respective internal types.
|
|
51058
|
+
* @param object Plain object
|
|
51059
|
+
* @returns EligibilityRecordIdentifier
|
|
51060
|
+
*/
|
|
51061
|
+
public static fromObject(object: { [k: string]: any }): EligibilityRecordIdentifier;
|
|
51062
|
+
|
|
51063
|
+
/**
|
|
51064
|
+
* Creates a plain object from an EligibilityRecordIdentifier message. Also converts values to other types if specified.
|
|
51065
|
+
* @param message EligibilityRecordIdentifier
|
|
51066
|
+
* @param [options] Conversion options
|
|
51067
|
+
* @returns Plain object
|
|
51068
|
+
*/
|
|
51069
|
+
public static toObject(message: EligibilityRecordIdentifier, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
51070
|
+
|
|
51071
|
+
/**
|
|
51072
|
+
* Converts this EligibilityRecordIdentifier to JSON.
|
|
51073
|
+
* @returns JSON object
|
|
51074
|
+
*/
|
|
51075
|
+
public toJSON(): { [k: string]: any };
|
|
51076
|
+
}
|
|
51077
|
+
|
|
50880
51078
|
/** Properties of an ElfRecordPresent. */
|
|
50881
51079
|
export interface IElfRecordPresent {
|
|
50882
51080
|
|
|
@@ -51321,6 +51519,126 @@ export class ElfRecordAbsent implements IElfRecordAbsent {
|
|
|
51321
51519
|
public toJSON(): { [k: string]: any };
|
|
51322
51520
|
}
|
|
51323
51521
|
|
|
51522
|
+
/** Properties of an ElfRecordMoved. */
|
|
51523
|
+
export interface IElfRecordMoved {
|
|
51524
|
+
|
|
51525
|
+
/** ElfRecordMoved sourceOrganization */
|
|
51526
|
+
sourceOrganization?: (IOrganizationIdentifier|null);
|
|
51527
|
+
|
|
51528
|
+
/** ElfRecordMoved targetOrganization */
|
|
51529
|
+
targetOrganization?: (IOrganizationIdentifier|null);
|
|
51530
|
+
|
|
51531
|
+
/** ElfRecordMoved record */
|
|
51532
|
+
record?: (IEligibilityRecordIdentifier|null);
|
|
51533
|
+
|
|
51534
|
+
/** ElfRecordMoved timestamp */
|
|
51535
|
+
timestamp?: (number|Long|null);
|
|
51536
|
+
|
|
51537
|
+
/** ElfRecordMoved offerings */
|
|
51538
|
+
offerings?: (b2b.SubscriptionOffering[]|null);
|
|
51539
|
+
|
|
51540
|
+
/** ElfRecordMoved enrollmentFlow */
|
|
51541
|
+
enrollmentFlow?: (b2b.EnrollmentFlow|null);
|
|
51542
|
+
}
|
|
51543
|
+
|
|
51544
|
+
/** Represents an ElfRecordMoved. */
|
|
51545
|
+
export class ElfRecordMoved implements IElfRecordMoved {
|
|
51546
|
+
|
|
51547
|
+
/**
|
|
51548
|
+
* Constructs a new ElfRecordMoved.
|
|
51549
|
+
* @param [properties] Properties to set
|
|
51550
|
+
*/
|
|
51551
|
+
constructor(properties?: IElfRecordMoved);
|
|
51552
|
+
|
|
51553
|
+
/** ElfRecordMoved sourceOrganization. */
|
|
51554
|
+
public sourceOrganization?: (IOrganizationIdentifier|null);
|
|
51555
|
+
|
|
51556
|
+
/** ElfRecordMoved targetOrganization. */
|
|
51557
|
+
public targetOrganization?: (IOrganizationIdentifier|null);
|
|
51558
|
+
|
|
51559
|
+
/** ElfRecordMoved record. */
|
|
51560
|
+
public record?: (IEligibilityRecordIdentifier|null);
|
|
51561
|
+
|
|
51562
|
+
/** ElfRecordMoved timestamp. */
|
|
51563
|
+
public timestamp: (number|Long);
|
|
51564
|
+
|
|
51565
|
+
/** ElfRecordMoved offerings. */
|
|
51566
|
+
public offerings: b2b.SubscriptionOffering[];
|
|
51567
|
+
|
|
51568
|
+
/** ElfRecordMoved enrollmentFlow. */
|
|
51569
|
+
public enrollmentFlow: b2b.EnrollmentFlow;
|
|
51570
|
+
|
|
51571
|
+
/**
|
|
51572
|
+
* Creates a new ElfRecordMoved instance using the specified properties.
|
|
51573
|
+
* @param [properties] Properties to set
|
|
51574
|
+
* @returns ElfRecordMoved instance
|
|
51575
|
+
*/
|
|
51576
|
+
public static create(properties?: IElfRecordMoved): ElfRecordMoved;
|
|
51577
|
+
|
|
51578
|
+
/**
|
|
51579
|
+
* Encodes the specified ElfRecordMoved message. Does not implicitly {@link ElfRecordMoved.verify|verify} messages.
|
|
51580
|
+
* @param message ElfRecordMoved message or plain object to encode
|
|
51581
|
+
* @param [writer] Writer to encode to
|
|
51582
|
+
* @returns Writer
|
|
51583
|
+
*/
|
|
51584
|
+
public static encode(message: IElfRecordMoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51585
|
+
|
|
51586
|
+
/**
|
|
51587
|
+
* Encodes the specified ElfRecordMoved message, length delimited. Does not implicitly {@link ElfRecordMoved.verify|verify} messages.
|
|
51588
|
+
* @param message ElfRecordMoved message or plain object to encode
|
|
51589
|
+
* @param [writer] Writer to encode to
|
|
51590
|
+
* @returns Writer
|
|
51591
|
+
*/
|
|
51592
|
+
public static encodeDelimited(message: IElfRecordMoved, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51593
|
+
|
|
51594
|
+
/**
|
|
51595
|
+
* Decodes an ElfRecordMoved message from the specified reader or buffer.
|
|
51596
|
+
* @param reader Reader or buffer to decode from
|
|
51597
|
+
* @param [length] Message length if known beforehand
|
|
51598
|
+
* @returns ElfRecordMoved
|
|
51599
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51600
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51601
|
+
*/
|
|
51602
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfRecordMoved;
|
|
51603
|
+
|
|
51604
|
+
/**
|
|
51605
|
+
* Decodes an ElfRecordMoved message from the specified reader or buffer, length delimited.
|
|
51606
|
+
* @param reader Reader or buffer to decode from
|
|
51607
|
+
* @returns ElfRecordMoved
|
|
51608
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51609
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51610
|
+
*/
|
|
51611
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfRecordMoved;
|
|
51612
|
+
|
|
51613
|
+
/**
|
|
51614
|
+
* Verifies an ElfRecordMoved message.
|
|
51615
|
+
* @param message Plain object to verify
|
|
51616
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
51617
|
+
*/
|
|
51618
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
51619
|
+
|
|
51620
|
+
/**
|
|
51621
|
+
* Creates an ElfRecordMoved message from a plain object. Also converts values to their respective internal types.
|
|
51622
|
+
* @param object Plain object
|
|
51623
|
+
* @returns ElfRecordMoved
|
|
51624
|
+
*/
|
|
51625
|
+
public static fromObject(object: { [k: string]: any }): ElfRecordMoved;
|
|
51626
|
+
|
|
51627
|
+
/**
|
|
51628
|
+
* Creates a plain object from an ElfRecordMoved message. Also converts values to other types if specified.
|
|
51629
|
+
* @param message ElfRecordMoved
|
|
51630
|
+
* @param [options] Conversion options
|
|
51631
|
+
* @returns Plain object
|
|
51632
|
+
*/
|
|
51633
|
+
public static toObject(message: ElfRecordMoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
51634
|
+
|
|
51635
|
+
/**
|
|
51636
|
+
* Converts this ElfRecordMoved to JSON.
|
|
51637
|
+
* @returns JSON object
|
|
51638
|
+
*/
|
|
51639
|
+
public toJSON(): { [k: string]: any };
|
|
51640
|
+
}
|
|
51641
|
+
|
|
51324
51642
|
/** Properties of an ElfProcessingStats. */
|
|
51325
51643
|
export interface IElfProcessingStats {
|
|
51326
51644
|
|