@headspace/protos-events 1.850.0 → 1.852.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 +583 -0
- package/lib/index.js +1466 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -95547,6 +95547,292 @@ export namespace PartnerSignalWindDownScheduled {
|
|
|
95547
95547
|
type $Shape = PartnerSignalWindDownScheduled.$Properties;
|
|
95548
95548
|
}
|
|
95549
95549
|
|
|
95550
|
+
/**
|
|
95551
|
+
* Properties of a ContentEngagementPassportCreated.
|
|
95552
|
+
* @deprecated Use ContentEngagementPassportCreated.$Properties instead.
|
|
95553
|
+
*/
|
|
95554
|
+
export interface IContentEngagementPassportCreated extends ContentEngagementPassportCreated.$Properties {
|
|
95555
|
+
}
|
|
95556
|
+
|
|
95557
|
+
/**
|
|
95558
|
+
* Sent when a passport (experience-universe envelope) has been created.
|
|
95559
|
+
* Fired by hs-content-engagement-service.
|
|
95560
|
+
* Responsible team: Core Platform
|
|
95561
|
+
* Responsible domain: Content
|
|
95562
|
+
*/
|
|
95563
|
+
export class ContentEngagementPassportCreated {
|
|
95564
|
+
|
|
95565
|
+
/**
|
|
95566
|
+
* Constructs a new ContentEngagementPassportCreated.
|
|
95567
|
+
* @param [properties] Properties to set
|
|
95568
|
+
*/
|
|
95569
|
+
constructor(properties?: ContentEngagementPassportCreated.$Properties);
|
|
95570
|
+
|
|
95571
|
+
/** Unknown fields preserved while decoding */
|
|
95572
|
+
$unknowns?: Uint8Array[];
|
|
95573
|
+
|
|
95574
|
+
/** ContentEngagementPassportCreated passportId. */
|
|
95575
|
+
passportId: string;
|
|
95576
|
+
|
|
95577
|
+
/** ContentEngagementPassportCreated profileId. */
|
|
95578
|
+
profileId: string;
|
|
95579
|
+
|
|
95580
|
+
/** ContentEngagementPassportCreated hsUserId. */
|
|
95581
|
+
hsUserId: string;
|
|
95582
|
+
|
|
95583
|
+
/** ContentEngagementPassportCreated universe. */
|
|
95584
|
+
universe: string;
|
|
95585
|
+
|
|
95586
|
+
/** ContentEngagementPassportCreated timestamp. */
|
|
95587
|
+
timestamp: (number|Long);
|
|
95588
|
+
|
|
95589
|
+
/**
|
|
95590
|
+
* Creates a new ContentEngagementPassportCreated instance using the specified properties.
|
|
95591
|
+
* @param [properties] Properties to set
|
|
95592
|
+
* @returns ContentEngagementPassportCreated instance
|
|
95593
|
+
*/
|
|
95594
|
+
static create(properties: ContentEngagementPassportCreated.$Shape): ContentEngagementPassportCreated & ContentEngagementPassportCreated.$Shape;
|
|
95595
|
+
static create(properties?: ContentEngagementPassportCreated.$Properties): ContentEngagementPassportCreated;
|
|
95596
|
+
|
|
95597
|
+
/**
|
|
95598
|
+
* Encodes the specified ContentEngagementPassportCreated message. Does not implicitly {@link ContentEngagementPassportCreated.verify|verify} messages.
|
|
95599
|
+
* @param message ContentEngagementPassportCreated message or plain object to encode
|
|
95600
|
+
* @param [writer] Writer to encode to
|
|
95601
|
+
* @returns Writer
|
|
95602
|
+
*/
|
|
95603
|
+
static encode(message: ContentEngagementPassportCreated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
95604
|
+
|
|
95605
|
+
/**
|
|
95606
|
+
* Encodes the specified ContentEngagementPassportCreated message, length delimited. Does not implicitly {@link ContentEngagementPassportCreated.verify|verify} messages.
|
|
95607
|
+
* @param message ContentEngagementPassportCreated message or plain object to encode
|
|
95608
|
+
* @param [writer] Writer to encode to
|
|
95609
|
+
* @returns Writer
|
|
95610
|
+
*/
|
|
95611
|
+
static encodeDelimited(message: ContentEngagementPassportCreated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
95612
|
+
|
|
95613
|
+
/**
|
|
95614
|
+
* Decodes a ContentEngagementPassportCreated message from the specified reader or buffer.
|
|
95615
|
+
* @param reader Reader or buffer to decode from
|
|
95616
|
+
* @param [length] Message length if known beforehand
|
|
95617
|
+
* @returns {ContentEngagementPassportCreated & ContentEngagementPassportCreated.$Shape} ContentEngagementPassportCreated
|
|
95618
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
95619
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
95620
|
+
*/
|
|
95621
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentEngagementPassportCreated & ContentEngagementPassportCreated.$Shape;
|
|
95622
|
+
|
|
95623
|
+
/**
|
|
95624
|
+
* Decodes a ContentEngagementPassportCreated message from the specified reader or buffer, length delimited.
|
|
95625
|
+
* @param reader Reader or buffer to decode from
|
|
95626
|
+
* @returns {ContentEngagementPassportCreated & ContentEngagementPassportCreated.$Shape} ContentEngagementPassportCreated
|
|
95627
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
95628
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
95629
|
+
*/
|
|
95630
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentEngagementPassportCreated & ContentEngagementPassportCreated.$Shape;
|
|
95631
|
+
|
|
95632
|
+
/**
|
|
95633
|
+
* Verifies a ContentEngagementPassportCreated message.
|
|
95634
|
+
* @param message Plain object to verify
|
|
95635
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
95636
|
+
*/
|
|
95637
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
95638
|
+
|
|
95639
|
+
/**
|
|
95640
|
+
* Creates a ContentEngagementPassportCreated message from a plain object. Also converts values to their respective internal types.
|
|
95641
|
+
* @param object Plain object
|
|
95642
|
+
* @returns ContentEngagementPassportCreated
|
|
95643
|
+
*/
|
|
95644
|
+
static fromObject(object: { [k: string]: any }): ContentEngagementPassportCreated;
|
|
95645
|
+
|
|
95646
|
+
/**
|
|
95647
|
+
* Creates a plain object from a ContentEngagementPassportCreated message. Also converts values to other types if specified.
|
|
95648
|
+
* @param message ContentEngagementPassportCreated
|
|
95649
|
+
* @param [options] Conversion options
|
|
95650
|
+
* @returns Plain object
|
|
95651
|
+
*/
|
|
95652
|
+
static toObject(message: ContentEngagementPassportCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
95653
|
+
|
|
95654
|
+
/**
|
|
95655
|
+
* Converts this ContentEngagementPassportCreated to JSON.
|
|
95656
|
+
* @returns JSON object
|
|
95657
|
+
*/
|
|
95658
|
+
toJSON(): { [k: string]: any };
|
|
95659
|
+
|
|
95660
|
+
/**
|
|
95661
|
+
* Gets the type url for ContentEngagementPassportCreated
|
|
95662
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
95663
|
+
* @returns The type url
|
|
95664
|
+
*/
|
|
95665
|
+
static getTypeUrl(prefix?: string): string;
|
|
95666
|
+
}
|
|
95667
|
+
|
|
95668
|
+
export namespace ContentEngagementPassportCreated {
|
|
95669
|
+
|
|
95670
|
+
/** Properties of a ContentEngagementPassportCreated. */
|
|
95671
|
+
interface $Properties {
|
|
95672
|
+
|
|
95673
|
+
/** ContentEngagementPassportCreated passportId */
|
|
95674
|
+
passportId?: (string|null);
|
|
95675
|
+
|
|
95676
|
+
/** ContentEngagementPassportCreated profileId */
|
|
95677
|
+
profileId?: (string|null);
|
|
95678
|
+
|
|
95679
|
+
/** ContentEngagementPassportCreated hsUserId */
|
|
95680
|
+
hsUserId?: (string|null);
|
|
95681
|
+
|
|
95682
|
+
/** ContentEngagementPassportCreated universe */
|
|
95683
|
+
universe?: (string|null);
|
|
95684
|
+
|
|
95685
|
+
/** ContentEngagementPassportCreated timestamp */
|
|
95686
|
+
timestamp?: (number|Long|null);
|
|
95687
|
+
|
|
95688
|
+
/** Unknown fields preserved while decoding */
|
|
95689
|
+
$unknowns?: Uint8Array[];
|
|
95690
|
+
}
|
|
95691
|
+
|
|
95692
|
+
/** Shape of a ContentEngagementPassportCreated. */
|
|
95693
|
+
type $Shape = ContentEngagementPassportCreated.$Properties;
|
|
95694
|
+
}
|
|
95695
|
+
|
|
95696
|
+
/**
|
|
95697
|
+
* Properties of a ContentEngagementPassportDeleted.
|
|
95698
|
+
* @deprecated Use ContentEngagementPassportDeleted.$Properties instead.
|
|
95699
|
+
*/
|
|
95700
|
+
export interface IContentEngagementPassportDeleted extends ContentEngagementPassportDeleted.$Properties {
|
|
95701
|
+
}
|
|
95702
|
+
|
|
95703
|
+
/**
|
|
95704
|
+
* Sent when a passport (experience-universe envelope) has been deleted.
|
|
95705
|
+
* Fired by hs-content-engagement-service.
|
|
95706
|
+
* Responsible team: Core Platform
|
|
95707
|
+
* Responsible domain: Content
|
|
95708
|
+
*/
|
|
95709
|
+
export class ContentEngagementPassportDeleted {
|
|
95710
|
+
|
|
95711
|
+
/**
|
|
95712
|
+
* Constructs a new ContentEngagementPassportDeleted.
|
|
95713
|
+
* @param [properties] Properties to set
|
|
95714
|
+
*/
|
|
95715
|
+
constructor(properties?: ContentEngagementPassportDeleted.$Properties);
|
|
95716
|
+
|
|
95717
|
+
/** Unknown fields preserved while decoding */
|
|
95718
|
+
$unknowns?: Uint8Array[];
|
|
95719
|
+
|
|
95720
|
+
/** ContentEngagementPassportDeleted passportId. */
|
|
95721
|
+
passportId: string;
|
|
95722
|
+
|
|
95723
|
+
/** ContentEngagementPassportDeleted profileId. */
|
|
95724
|
+
profileId: string;
|
|
95725
|
+
|
|
95726
|
+
/** ContentEngagementPassportDeleted hsUserId. */
|
|
95727
|
+
hsUserId: string;
|
|
95728
|
+
|
|
95729
|
+
/** ContentEngagementPassportDeleted timestamp. */
|
|
95730
|
+
timestamp: (number|Long);
|
|
95731
|
+
|
|
95732
|
+
/**
|
|
95733
|
+
* Creates a new ContentEngagementPassportDeleted instance using the specified properties.
|
|
95734
|
+
* @param [properties] Properties to set
|
|
95735
|
+
* @returns ContentEngagementPassportDeleted instance
|
|
95736
|
+
*/
|
|
95737
|
+
static create(properties: ContentEngagementPassportDeleted.$Shape): ContentEngagementPassportDeleted & ContentEngagementPassportDeleted.$Shape;
|
|
95738
|
+
static create(properties?: ContentEngagementPassportDeleted.$Properties): ContentEngagementPassportDeleted;
|
|
95739
|
+
|
|
95740
|
+
/**
|
|
95741
|
+
* Encodes the specified ContentEngagementPassportDeleted message. Does not implicitly {@link ContentEngagementPassportDeleted.verify|verify} messages.
|
|
95742
|
+
* @param message ContentEngagementPassportDeleted message or plain object to encode
|
|
95743
|
+
* @param [writer] Writer to encode to
|
|
95744
|
+
* @returns Writer
|
|
95745
|
+
*/
|
|
95746
|
+
static encode(message: ContentEngagementPassportDeleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
95747
|
+
|
|
95748
|
+
/**
|
|
95749
|
+
* Encodes the specified ContentEngagementPassportDeleted message, length delimited. Does not implicitly {@link ContentEngagementPassportDeleted.verify|verify} messages.
|
|
95750
|
+
* @param message ContentEngagementPassportDeleted message or plain object to encode
|
|
95751
|
+
* @param [writer] Writer to encode to
|
|
95752
|
+
* @returns Writer
|
|
95753
|
+
*/
|
|
95754
|
+
static encodeDelimited(message: ContentEngagementPassportDeleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
95755
|
+
|
|
95756
|
+
/**
|
|
95757
|
+
* Decodes a ContentEngagementPassportDeleted message from the specified reader or buffer.
|
|
95758
|
+
* @param reader Reader or buffer to decode from
|
|
95759
|
+
* @param [length] Message length if known beforehand
|
|
95760
|
+
* @returns {ContentEngagementPassportDeleted & ContentEngagementPassportDeleted.$Shape} ContentEngagementPassportDeleted
|
|
95761
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
95762
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
95763
|
+
*/
|
|
95764
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentEngagementPassportDeleted & ContentEngagementPassportDeleted.$Shape;
|
|
95765
|
+
|
|
95766
|
+
/**
|
|
95767
|
+
* Decodes a ContentEngagementPassportDeleted message from the specified reader or buffer, length delimited.
|
|
95768
|
+
* @param reader Reader or buffer to decode from
|
|
95769
|
+
* @returns {ContentEngagementPassportDeleted & ContentEngagementPassportDeleted.$Shape} ContentEngagementPassportDeleted
|
|
95770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
95771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
95772
|
+
*/
|
|
95773
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentEngagementPassportDeleted & ContentEngagementPassportDeleted.$Shape;
|
|
95774
|
+
|
|
95775
|
+
/**
|
|
95776
|
+
* Verifies a ContentEngagementPassportDeleted message.
|
|
95777
|
+
* @param message Plain object to verify
|
|
95778
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
95779
|
+
*/
|
|
95780
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
95781
|
+
|
|
95782
|
+
/**
|
|
95783
|
+
* Creates a ContentEngagementPassportDeleted message from a plain object. Also converts values to their respective internal types.
|
|
95784
|
+
* @param object Plain object
|
|
95785
|
+
* @returns ContentEngagementPassportDeleted
|
|
95786
|
+
*/
|
|
95787
|
+
static fromObject(object: { [k: string]: any }): ContentEngagementPassportDeleted;
|
|
95788
|
+
|
|
95789
|
+
/**
|
|
95790
|
+
* Creates a plain object from a ContentEngagementPassportDeleted message. Also converts values to other types if specified.
|
|
95791
|
+
* @param message ContentEngagementPassportDeleted
|
|
95792
|
+
* @param [options] Conversion options
|
|
95793
|
+
* @returns Plain object
|
|
95794
|
+
*/
|
|
95795
|
+
static toObject(message: ContentEngagementPassportDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
95796
|
+
|
|
95797
|
+
/**
|
|
95798
|
+
* Converts this ContentEngagementPassportDeleted to JSON.
|
|
95799
|
+
* @returns JSON object
|
|
95800
|
+
*/
|
|
95801
|
+
toJSON(): { [k: string]: any };
|
|
95802
|
+
|
|
95803
|
+
/**
|
|
95804
|
+
* Gets the type url for ContentEngagementPassportDeleted
|
|
95805
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
95806
|
+
* @returns The type url
|
|
95807
|
+
*/
|
|
95808
|
+
static getTypeUrl(prefix?: string): string;
|
|
95809
|
+
}
|
|
95810
|
+
|
|
95811
|
+
export namespace ContentEngagementPassportDeleted {
|
|
95812
|
+
|
|
95813
|
+
/** Properties of a ContentEngagementPassportDeleted. */
|
|
95814
|
+
interface $Properties {
|
|
95815
|
+
|
|
95816
|
+
/** ContentEngagementPassportDeleted passportId */
|
|
95817
|
+
passportId?: (string|null);
|
|
95818
|
+
|
|
95819
|
+
/** ContentEngagementPassportDeleted profileId */
|
|
95820
|
+
profileId?: (string|null);
|
|
95821
|
+
|
|
95822
|
+
/** ContentEngagementPassportDeleted hsUserId */
|
|
95823
|
+
hsUserId?: (string|null);
|
|
95824
|
+
|
|
95825
|
+
/** ContentEngagementPassportDeleted timestamp */
|
|
95826
|
+
timestamp?: (number|Long|null);
|
|
95827
|
+
|
|
95828
|
+
/** Unknown fields preserved while decoding */
|
|
95829
|
+
$unknowns?: Uint8Array[];
|
|
95830
|
+
}
|
|
95831
|
+
|
|
95832
|
+
/** Shape of a ContentEngagementPassportDeleted. */
|
|
95833
|
+
type $Shape = ContentEngagementPassportDeleted.$Properties;
|
|
95834
|
+
}
|
|
95835
|
+
|
|
95550
95836
|
/**
|
|
95551
95837
|
* Properties of a PHQAssessmentAssigned.
|
|
95552
95838
|
* @deprecated Use PHQAssessmentAssigned.$Properties instead.
|
|
@@ -110347,6 +110633,303 @@ export enum UserServiceAppClient {
|
|
|
110347
110633
|
USER_SERVICE_APP_CLIENT_CROCPIT = 3
|
|
110348
110634
|
}
|
|
110349
110635
|
|
|
110636
|
+
/**
|
|
110637
|
+
* Properties of a UserProfileCreated.
|
|
110638
|
+
* @deprecated Use UserProfileCreated.$Properties instead.
|
|
110639
|
+
*/
|
|
110640
|
+
export interface IUserProfileCreated extends UserProfileCreated.$Properties {
|
|
110641
|
+
}
|
|
110642
|
+
|
|
110643
|
+
/**
|
|
110644
|
+
* Sent when a Headspace Jr. child profile is created.
|
|
110645
|
+
*
|
|
110646
|
+
* "Profile" here is the Headspace Jr. child-profile identity concept. It is a different
|
|
110647
|
+
* bounded concept from the pre-existing, apparently-unused UserProfileResponse /
|
|
110648
|
+
* UserProfileManager RPC schema in protos/services/user/user_profile.proto (an Amplitude
|
|
110649
|
+
* profile lookup) — do not conflate the two.
|
|
110650
|
+
*
|
|
110651
|
+
* display_name and birth_year_month are intentionally carried on this event for
|
|
110652
|
+
* data-lake-only routing. Do not remove them assuming they are an oversight.
|
|
110653
|
+
*
|
|
110654
|
+
* Consumers: published by hs-user-service; consumed by Braze/lifecycle and the data lake.
|
|
110655
|
+
*/
|
|
110656
|
+
export class UserProfileCreated {
|
|
110657
|
+
|
|
110658
|
+
/**
|
|
110659
|
+
* Constructs a new UserProfileCreated.
|
|
110660
|
+
* @param [properties] Properties to set
|
|
110661
|
+
*/
|
|
110662
|
+
constructor(properties?: UserProfileCreated.$Properties);
|
|
110663
|
+
|
|
110664
|
+
/** Unknown fields preserved while decoding */
|
|
110665
|
+
$unknowns?: Uint8Array[];
|
|
110666
|
+
|
|
110667
|
+
/** UserProfileCreated hsUserId. */
|
|
110668
|
+
hsUserId: string;
|
|
110669
|
+
|
|
110670
|
+
/** UserProfileCreated profileId. */
|
|
110671
|
+
profileId: string;
|
|
110672
|
+
|
|
110673
|
+
/** UserProfileCreated displayName. */
|
|
110674
|
+
displayName: string;
|
|
110675
|
+
|
|
110676
|
+
/** UserProfileCreated birthYearMonth. */
|
|
110677
|
+
birthYearMonth: string;
|
|
110678
|
+
|
|
110679
|
+
/** UserProfileCreated timestamp. */
|
|
110680
|
+
timestamp: (number|Long);
|
|
110681
|
+
|
|
110682
|
+
/**
|
|
110683
|
+
* Creates a new UserProfileCreated instance using the specified properties.
|
|
110684
|
+
* @param [properties] Properties to set
|
|
110685
|
+
* @returns UserProfileCreated instance
|
|
110686
|
+
*/
|
|
110687
|
+
static create(properties: UserProfileCreated.$Shape): UserProfileCreated & UserProfileCreated.$Shape;
|
|
110688
|
+
static create(properties?: UserProfileCreated.$Properties): UserProfileCreated;
|
|
110689
|
+
|
|
110690
|
+
/**
|
|
110691
|
+
* Encodes the specified UserProfileCreated message. Does not implicitly {@link UserProfileCreated.verify|verify} messages.
|
|
110692
|
+
* @param message UserProfileCreated message or plain object to encode
|
|
110693
|
+
* @param [writer] Writer to encode to
|
|
110694
|
+
* @returns Writer
|
|
110695
|
+
*/
|
|
110696
|
+
static encode(message: UserProfileCreated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
110697
|
+
|
|
110698
|
+
/**
|
|
110699
|
+
* Encodes the specified UserProfileCreated message, length delimited. Does not implicitly {@link UserProfileCreated.verify|verify} messages.
|
|
110700
|
+
* @param message UserProfileCreated message or plain object to encode
|
|
110701
|
+
* @param [writer] Writer to encode to
|
|
110702
|
+
* @returns Writer
|
|
110703
|
+
*/
|
|
110704
|
+
static encodeDelimited(message: UserProfileCreated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
110705
|
+
|
|
110706
|
+
/**
|
|
110707
|
+
* Decodes a UserProfileCreated message from the specified reader or buffer.
|
|
110708
|
+
* @param reader Reader or buffer to decode from
|
|
110709
|
+
* @param [length] Message length if known beforehand
|
|
110710
|
+
* @returns {UserProfileCreated & UserProfileCreated.$Shape} UserProfileCreated
|
|
110711
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110712
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110713
|
+
*/
|
|
110714
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserProfileCreated & UserProfileCreated.$Shape;
|
|
110715
|
+
|
|
110716
|
+
/**
|
|
110717
|
+
* Decodes a UserProfileCreated message from the specified reader or buffer, length delimited.
|
|
110718
|
+
* @param reader Reader or buffer to decode from
|
|
110719
|
+
* @returns {UserProfileCreated & UserProfileCreated.$Shape} UserProfileCreated
|
|
110720
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110721
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110722
|
+
*/
|
|
110723
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserProfileCreated & UserProfileCreated.$Shape;
|
|
110724
|
+
|
|
110725
|
+
/**
|
|
110726
|
+
* Verifies a UserProfileCreated message.
|
|
110727
|
+
* @param message Plain object to verify
|
|
110728
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
110729
|
+
*/
|
|
110730
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
110731
|
+
|
|
110732
|
+
/**
|
|
110733
|
+
* Creates a UserProfileCreated message from a plain object. Also converts values to their respective internal types.
|
|
110734
|
+
* @param object Plain object
|
|
110735
|
+
* @returns UserProfileCreated
|
|
110736
|
+
*/
|
|
110737
|
+
static fromObject(object: { [k: string]: any }): UserProfileCreated;
|
|
110738
|
+
|
|
110739
|
+
/**
|
|
110740
|
+
* Creates a plain object from a UserProfileCreated message. Also converts values to other types if specified.
|
|
110741
|
+
* @param message UserProfileCreated
|
|
110742
|
+
* @param [options] Conversion options
|
|
110743
|
+
* @returns Plain object
|
|
110744
|
+
*/
|
|
110745
|
+
static toObject(message: UserProfileCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
110746
|
+
|
|
110747
|
+
/**
|
|
110748
|
+
* Converts this UserProfileCreated to JSON.
|
|
110749
|
+
* @returns JSON object
|
|
110750
|
+
*/
|
|
110751
|
+
toJSON(): { [k: string]: any };
|
|
110752
|
+
|
|
110753
|
+
/**
|
|
110754
|
+
* Gets the type url for UserProfileCreated
|
|
110755
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
110756
|
+
* @returns The type url
|
|
110757
|
+
*/
|
|
110758
|
+
static getTypeUrl(prefix?: string): string;
|
|
110759
|
+
}
|
|
110760
|
+
|
|
110761
|
+
export namespace UserProfileCreated {
|
|
110762
|
+
|
|
110763
|
+
/** Properties of a UserProfileCreated. */
|
|
110764
|
+
interface $Properties {
|
|
110765
|
+
|
|
110766
|
+
/** UserProfileCreated hsUserId */
|
|
110767
|
+
hsUserId?: (string|null);
|
|
110768
|
+
|
|
110769
|
+
/** UserProfileCreated profileId */
|
|
110770
|
+
profileId?: (string|null);
|
|
110771
|
+
|
|
110772
|
+
/** UserProfileCreated displayName */
|
|
110773
|
+
displayName?: (string|null);
|
|
110774
|
+
|
|
110775
|
+
/** UserProfileCreated birthYearMonth */
|
|
110776
|
+
birthYearMonth?: (string|null);
|
|
110777
|
+
|
|
110778
|
+
/** UserProfileCreated timestamp */
|
|
110779
|
+
timestamp?: (number|Long|null);
|
|
110780
|
+
|
|
110781
|
+
/** Unknown fields preserved while decoding */
|
|
110782
|
+
$unknowns?: Uint8Array[];
|
|
110783
|
+
}
|
|
110784
|
+
|
|
110785
|
+
/** Shape of a UserProfileCreated. */
|
|
110786
|
+
type $Shape = UserProfileCreated.$Properties;
|
|
110787
|
+
}
|
|
110788
|
+
|
|
110789
|
+
/**
|
|
110790
|
+
* Properties of a UserProfileDeleted.
|
|
110791
|
+
* @deprecated Use UserProfileDeleted.$Properties instead.
|
|
110792
|
+
*/
|
|
110793
|
+
export interface IUserProfileDeleted extends UserProfileDeleted.$Properties {
|
|
110794
|
+
}
|
|
110795
|
+
|
|
110796
|
+
/**
|
|
110797
|
+
* Sent when a Headspace Jr. child profile is deleted.
|
|
110798
|
+
*
|
|
110799
|
+
* "Profile" here is the Headspace Jr. child-profile identity concept. It is a different
|
|
110800
|
+
* bounded concept from the pre-existing, apparently-unused UserProfileResponse /
|
|
110801
|
+
* UserProfileManager RPC schema in protos/services/user/user_profile.proto (an Amplitude
|
|
110802
|
+
* profile lookup) — do not conflate the two.
|
|
110803
|
+
*
|
|
110804
|
+
* Consumers: published by hs-user-service; consumed by hs-content-engagement-service to
|
|
110805
|
+
* cascade-delete the profile's passports.
|
|
110806
|
+
*
|
|
110807
|
+
* That cascade delete is eventually consistent, not atomic: this event fires after the
|
|
110808
|
+
* profile row is already gone, and passport cleanup happens asynchronously on the consumer
|
|
110809
|
+
* side afterward. A caller can briefly still see a just-deleted profile's passports until
|
|
110810
|
+
* this event is consumed. This is an accepted tradeoff, not a bug.
|
|
110811
|
+
*/
|
|
110812
|
+
export class UserProfileDeleted {
|
|
110813
|
+
|
|
110814
|
+
/**
|
|
110815
|
+
* Constructs a new UserProfileDeleted.
|
|
110816
|
+
* @param [properties] Properties to set
|
|
110817
|
+
*/
|
|
110818
|
+
constructor(properties?: UserProfileDeleted.$Properties);
|
|
110819
|
+
|
|
110820
|
+
/** Unknown fields preserved while decoding */
|
|
110821
|
+
$unknowns?: Uint8Array[];
|
|
110822
|
+
|
|
110823
|
+
/** UserProfileDeleted hsUserId. */
|
|
110824
|
+
hsUserId: string;
|
|
110825
|
+
|
|
110826
|
+
/** UserProfileDeleted profileId. */
|
|
110827
|
+
profileId: string;
|
|
110828
|
+
|
|
110829
|
+
/** UserProfileDeleted timestamp. */
|
|
110830
|
+
timestamp: (number|Long);
|
|
110831
|
+
|
|
110832
|
+
/**
|
|
110833
|
+
* Creates a new UserProfileDeleted instance using the specified properties.
|
|
110834
|
+
* @param [properties] Properties to set
|
|
110835
|
+
* @returns UserProfileDeleted instance
|
|
110836
|
+
*/
|
|
110837
|
+
static create(properties: UserProfileDeleted.$Shape): UserProfileDeleted & UserProfileDeleted.$Shape;
|
|
110838
|
+
static create(properties?: UserProfileDeleted.$Properties): UserProfileDeleted;
|
|
110839
|
+
|
|
110840
|
+
/**
|
|
110841
|
+
* Encodes the specified UserProfileDeleted message. Does not implicitly {@link UserProfileDeleted.verify|verify} messages.
|
|
110842
|
+
* @param message UserProfileDeleted message or plain object to encode
|
|
110843
|
+
* @param [writer] Writer to encode to
|
|
110844
|
+
* @returns Writer
|
|
110845
|
+
*/
|
|
110846
|
+
static encode(message: UserProfileDeleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
110847
|
+
|
|
110848
|
+
/**
|
|
110849
|
+
* Encodes the specified UserProfileDeleted message, length delimited. Does not implicitly {@link UserProfileDeleted.verify|verify} messages.
|
|
110850
|
+
* @param message UserProfileDeleted message or plain object to encode
|
|
110851
|
+
* @param [writer] Writer to encode to
|
|
110852
|
+
* @returns Writer
|
|
110853
|
+
*/
|
|
110854
|
+
static encodeDelimited(message: UserProfileDeleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
110855
|
+
|
|
110856
|
+
/**
|
|
110857
|
+
* Decodes a UserProfileDeleted message from the specified reader or buffer.
|
|
110858
|
+
* @param reader Reader or buffer to decode from
|
|
110859
|
+
* @param [length] Message length if known beforehand
|
|
110860
|
+
* @returns {UserProfileDeleted & UserProfileDeleted.$Shape} UserProfileDeleted
|
|
110861
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110862
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110863
|
+
*/
|
|
110864
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserProfileDeleted & UserProfileDeleted.$Shape;
|
|
110865
|
+
|
|
110866
|
+
/**
|
|
110867
|
+
* Decodes a UserProfileDeleted message from the specified reader or buffer, length delimited.
|
|
110868
|
+
* @param reader Reader or buffer to decode from
|
|
110869
|
+
* @returns {UserProfileDeleted & UserProfileDeleted.$Shape} UserProfileDeleted
|
|
110870
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110871
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110872
|
+
*/
|
|
110873
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserProfileDeleted & UserProfileDeleted.$Shape;
|
|
110874
|
+
|
|
110875
|
+
/**
|
|
110876
|
+
* Verifies a UserProfileDeleted message.
|
|
110877
|
+
* @param message Plain object to verify
|
|
110878
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
110879
|
+
*/
|
|
110880
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
110881
|
+
|
|
110882
|
+
/**
|
|
110883
|
+
* Creates a UserProfileDeleted message from a plain object. Also converts values to their respective internal types.
|
|
110884
|
+
* @param object Plain object
|
|
110885
|
+
* @returns UserProfileDeleted
|
|
110886
|
+
*/
|
|
110887
|
+
static fromObject(object: { [k: string]: any }): UserProfileDeleted;
|
|
110888
|
+
|
|
110889
|
+
/**
|
|
110890
|
+
* Creates a plain object from a UserProfileDeleted message. Also converts values to other types if specified.
|
|
110891
|
+
* @param message UserProfileDeleted
|
|
110892
|
+
* @param [options] Conversion options
|
|
110893
|
+
* @returns Plain object
|
|
110894
|
+
*/
|
|
110895
|
+
static toObject(message: UserProfileDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
110896
|
+
|
|
110897
|
+
/**
|
|
110898
|
+
* Converts this UserProfileDeleted to JSON.
|
|
110899
|
+
* @returns JSON object
|
|
110900
|
+
*/
|
|
110901
|
+
toJSON(): { [k: string]: any };
|
|
110902
|
+
|
|
110903
|
+
/**
|
|
110904
|
+
* Gets the type url for UserProfileDeleted
|
|
110905
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
110906
|
+
* @returns The type url
|
|
110907
|
+
*/
|
|
110908
|
+
static getTypeUrl(prefix?: string): string;
|
|
110909
|
+
}
|
|
110910
|
+
|
|
110911
|
+
export namespace UserProfileDeleted {
|
|
110912
|
+
|
|
110913
|
+
/** Properties of a UserProfileDeleted. */
|
|
110914
|
+
interface $Properties {
|
|
110915
|
+
|
|
110916
|
+
/** UserProfileDeleted hsUserId */
|
|
110917
|
+
hsUserId?: (string|null);
|
|
110918
|
+
|
|
110919
|
+
/** UserProfileDeleted profileId */
|
|
110920
|
+
profileId?: (string|null);
|
|
110921
|
+
|
|
110922
|
+
/** UserProfileDeleted timestamp */
|
|
110923
|
+
timestamp?: (number|Long|null);
|
|
110924
|
+
|
|
110925
|
+
/** Unknown fields preserved while decoding */
|
|
110926
|
+
$unknowns?: Uint8Array[];
|
|
110927
|
+
}
|
|
110928
|
+
|
|
110929
|
+
/** Shape of a UserProfileDeleted. */
|
|
110930
|
+
type $Shape = UserProfileDeleted.$Properties;
|
|
110931
|
+
}
|
|
110932
|
+
|
|
110350
110933
|
/**
|
|
110351
110934
|
* Properties of a CareCoachingInteractionStarted.
|
|
110352
110935
|
* @deprecated Use CareCoachingInteractionStarted.$Properties instead.
|