@headspace/protos-events 1.11.0 → 1.13.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 +184 -82
- package/lib/index.js +471 -225
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -96,19 +96,6 @@ export namespace date {
|
|
|
96
96
|
/** Namespace subscription. */
|
|
97
97
|
export namespace subscription {
|
|
98
98
|
|
|
99
|
-
/** PlanAffiliation enum. */
|
|
100
|
-
enum PlanAffiliation {
|
|
101
|
-
STUDENT = 0,
|
|
102
|
-
VETERAN = 1,
|
|
103
|
-
FAMILY = 2
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/** SubscriptionMembership enum. */
|
|
107
|
-
enum SubscriptionMembership {
|
|
108
|
-
PRIMARY = 0,
|
|
109
|
-
MEMBER = 1
|
|
110
|
-
}
|
|
111
|
-
|
|
112
99
|
/** Represents a SubscriptionGrpcManager */
|
|
113
100
|
class SubscriptionGrpcManager extends $protobuf.rpc.Service {
|
|
114
101
|
|
|
@@ -780,6 +767,19 @@ export namespace subscription {
|
|
|
780
767
|
*/
|
|
781
768
|
public toJSON(): { [k: string]: any };
|
|
782
769
|
}
|
|
770
|
+
|
|
771
|
+
/** PlanAffiliation enum. */
|
|
772
|
+
enum PlanAffiliation {
|
|
773
|
+
STUDENT = 0,
|
|
774
|
+
VETERAN = 1,
|
|
775
|
+
FAMILY = 2
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/** SubscriptionMembership enum. */
|
|
779
|
+
enum SubscriptionMembership {
|
|
780
|
+
PRIMARY = 0,
|
|
781
|
+
MEMBER = 1
|
|
782
|
+
}
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
/** Properties of a FamilyMemberAdded. */
|
|
@@ -2492,103 +2492,193 @@ export class SubscriptionPaymentDeclined implements ISubscriptionPaymentDeclined
|
|
|
2492
2492
|
public toJSON(): { [k: string]: any };
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
|
-
/** Properties of a
|
|
2496
|
-
export interface
|
|
2495
|
+
/** Properties of a UserDoubleOptInEmailRequested. */
|
|
2496
|
+
export interface IUserDoubleOptInEmailRequested {
|
|
2497
2497
|
|
|
2498
|
-
/**
|
|
2498
|
+
/** UserDoubleOptInEmailRequested userId */
|
|
2499
2499
|
userId?: (string|null);
|
|
2500
|
+
}
|
|
2500
2501
|
|
|
2501
|
-
|
|
2502
|
-
|
|
2502
|
+
/** Represents a UserDoubleOptInEmailRequested. */
|
|
2503
|
+
export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
|
|
2503
2504
|
|
|
2504
|
-
/**
|
|
2505
|
+
/**
|
|
2506
|
+
* Constructs a new UserDoubleOptInEmailRequested.
|
|
2507
|
+
* @param [properties] Properties to set
|
|
2508
|
+
*/
|
|
2509
|
+
constructor(properties?: IUserDoubleOptInEmailRequested);
|
|
2510
|
+
|
|
2511
|
+
/** UserDoubleOptInEmailRequested userId. */
|
|
2512
|
+
public userId: string;
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
2516
|
+
* @param [properties] Properties to set
|
|
2517
|
+
* @returns UserDoubleOptInEmailRequested instance
|
|
2518
|
+
*/
|
|
2519
|
+
public static create(properties?: IUserDoubleOptInEmailRequested): UserDoubleOptInEmailRequested;
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2523
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2524
|
+
* @param [writer] Writer to encode to
|
|
2525
|
+
* @returns Writer
|
|
2526
|
+
*/
|
|
2527
|
+
public static encode(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
2531
|
+
* @param message UserDoubleOptInEmailRequested message or plain object to encode
|
|
2532
|
+
* @param [writer] Writer to encode to
|
|
2533
|
+
* @returns Writer
|
|
2534
|
+
*/
|
|
2535
|
+
public static encodeDelimited(message: IUserDoubleOptInEmailRequested, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
|
|
2539
|
+
* @param reader Reader or buffer to decode from
|
|
2540
|
+
* @param [length] Message length if known beforehand
|
|
2541
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2542
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2543
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2544
|
+
*/
|
|
2545
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDoubleOptInEmailRequested;
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
|
|
2549
|
+
* @param reader Reader or buffer to decode from
|
|
2550
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2551
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2552
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2553
|
+
*/
|
|
2554
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDoubleOptInEmailRequested;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Verifies a UserDoubleOptInEmailRequested message.
|
|
2558
|
+
* @param message Plain object to verify
|
|
2559
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2560
|
+
*/
|
|
2561
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
|
|
2565
|
+
* @param object Plain object
|
|
2566
|
+
* @returns UserDoubleOptInEmailRequested
|
|
2567
|
+
*/
|
|
2568
|
+
public static fromObject(object: { [k: string]: any }): UserDoubleOptInEmailRequested;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
|
|
2572
|
+
* @param message UserDoubleOptInEmailRequested
|
|
2573
|
+
* @param [options] Conversion options
|
|
2574
|
+
* @returns Plain object
|
|
2575
|
+
*/
|
|
2576
|
+
public static toObject(message: UserDoubleOptInEmailRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Converts this UserDoubleOptInEmailRequested to JSON.
|
|
2580
|
+
* @returns JSON object
|
|
2581
|
+
*/
|
|
2582
|
+
public toJSON(): { [k: string]: any };
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
/** Properties of a UserEmailUpdated. */
|
|
2586
|
+
export interface IUserEmailUpdated {
|
|
2587
|
+
|
|
2588
|
+
/** UserEmailUpdated userId */
|
|
2589
|
+
userId?: (string|null);
|
|
2590
|
+
|
|
2591
|
+
/** UserEmailUpdated email */
|
|
2505
2592
|
email?: (string|null);
|
|
2593
|
+
|
|
2594
|
+
/** UserEmailUpdated timestamp */
|
|
2595
|
+
timestamp?: (number|Long|null);
|
|
2506
2596
|
}
|
|
2507
2597
|
|
|
2508
|
-
/** Represents a
|
|
2509
|
-
export class
|
|
2598
|
+
/** Represents a UserEmailUpdated. */
|
|
2599
|
+
export class UserEmailUpdated implements IUserEmailUpdated {
|
|
2510
2600
|
|
|
2511
2601
|
/**
|
|
2512
|
-
* Constructs a new
|
|
2602
|
+
* Constructs a new UserEmailUpdated.
|
|
2513
2603
|
* @param [properties] Properties to set
|
|
2514
2604
|
*/
|
|
2515
|
-
constructor(properties?:
|
|
2605
|
+
constructor(properties?: IUserEmailUpdated);
|
|
2516
2606
|
|
|
2517
|
-
/**
|
|
2607
|
+
/** UserEmailUpdated userId. */
|
|
2518
2608
|
public userId: string;
|
|
2519
2609
|
|
|
2520
|
-
/**
|
|
2521
|
-
public updatedOn: (number|Long);
|
|
2522
|
-
|
|
2523
|
-
/** UserPasswordUpdated email. */
|
|
2610
|
+
/** UserEmailUpdated email. */
|
|
2524
2611
|
public email: string;
|
|
2525
2612
|
|
|
2613
|
+
/** UserEmailUpdated timestamp. */
|
|
2614
|
+
public timestamp: (number|Long);
|
|
2615
|
+
|
|
2526
2616
|
/**
|
|
2527
|
-
* Creates a new
|
|
2617
|
+
* Creates a new UserEmailUpdated instance using the specified properties.
|
|
2528
2618
|
* @param [properties] Properties to set
|
|
2529
|
-
* @returns
|
|
2619
|
+
* @returns UserEmailUpdated instance
|
|
2530
2620
|
*/
|
|
2531
|
-
public static create(properties?:
|
|
2621
|
+
public static create(properties?: IUserEmailUpdated): UserEmailUpdated;
|
|
2532
2622
|
|
|
2533
2623
|
/**
|
|
2534
|
-
* Encodes the specified
|
|
2535
|
-
* @param message
|
|
2624
|
+
* Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
2625
|
+
* @param message UserEmailUpdated message or plain object to encode
|
|
2536
2626
|
* @param [writer] Writer to encode to
|
|
2537
2627
|
* @returns Writer
|
|
2538
2628
|
*/
|
|
2539
|
-
public static encode(message:
|
|
2629
|
+
public static encode(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2540
2630
|
|
|
2541
2631
|
/**
|
|
2542
|
-
* Encodes the specified
|
|
2543
|
-
* @param message
|
|
2632
|
+
* Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
2633
|
+
* @param message UserEmailUpdated message or plain object to encode
|
|
2544
2634
|
* @param [writer] Writer to encode to
|
|
2545
2635
|
* @returns Writer
|
|
2546
2636
|
*/
|
|
2547
|
-
public static encodeDelimited(message:
|
|
2637
|
+
public static encodeDelimited(message: IUserEmailUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2548
2638
|
|
|
2549
2639
|
/**
|
|
2550
|
-
* Decodes a
|
|
2640
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer.
|
|
2551
2641
|
* @param reader Reader or buffer to decode from
|
|
2552
2642
|
* @param [length] Message length if known beforehand
|
|
2553
|
-
* @returns
|
|
2643
|
+
* @returns UserEmailUpdated
|
|
2554
2644
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2555
2645
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2556
2646
|
*/
|
|
2557
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
2647
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserEmailUpdated;
|
|
2558
2648
|
|
|
2559
2649
|
/**
|
|
2560
|
-
* Decodes a
|
|
2650
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
|
|
2561
2651
|
* @param reader Reader or buffer to decode from
|
|
2562
|
-
* @returns
|
|
2652
|
+
* @returns UserEmailUpdated
|
|
2563
2653
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2564
2654
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2565
2655
|
*/
|
|
2566
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
2656
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserEmailUpdated;
|
|
2567
2657
|
|
|
2568
2658
|
/**
|
|
2569
|
-
* Verifies a
|
|
2659
|
+
* Verifies a UserEmailUpdated message.
|
|
2570
2660
|
* @param message Plain object to verify
|
|
2571
2661
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2572
2662
|
*/
|
|
2573
2663
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2574
2664
|
|
|
2575
2665
|
/**
|
|
2576
|
-
* Creates a
|
|
2666
|
+
* Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
|
|
2577
2667
|
* @param object Plain object
|
|
2578
|
-
* @returns
|
|
2668
|
+
* @returns UserEmailUpdated
|
|
2579
2669
|
*/
|
|
2580
|
-
public static fromObject(object: { [k: string]: any }):
|
|
2670
|
+
public static fromObject(object: { [k: string]: any }): UserEmailUpdated;
|
|
2581
2671
|
|
|
2582
2672
|
/**
|
|
2583
|
-
* Creates a plain object from a
|
|
2584
|
-
* @param message
|
|
2673
|
+
* Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
|
|
2674
|
+
* @param message UserEmailUpdated
|
|
2585
2675
|
* @param [options] Conversion options
|
|
2586
2676
|
* @returns Plain object
|
|
2587
2677
|
*/
|
|
2588
|
-
public static toObject(message:
|
|
2678
|
+
public static toObject(message: UserEmailUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2589
2679
|
|
|
2590
2680
|
/**
|
|
2591
|
-
* Converts this
|
|
2681
|
+
* Converts this UserEmailUpdated to JSON.
|
|
2592
2682
|
* @returns JSON object
|
|
2593
2683
|
*/
|
|
2594
2684
|
public toJSON(): { [k: string]: any };
|
|
@@ -2696,91 +2786,103 @@ export class UserEmailVerificationRequested implements IUserEmailVerificationReq
|
|
|
2696
2786
|
public toJSON(): { [k: string]: any };
|
|
2697
2787
|
}
|
|
2698
2788
|
|
|
2699
|
-
/** Properties of a
|
|
2700
|
-
export interface
|
|
2789
|
+
/** Properties of a UserPasswordUpdated. */
|
|
2790
|
+
export interface IUserPasswordUpdated {
|
|
2701
2791
|
|
|
2702
|
-
/**
|
|
2792
|
+
/** UserPasswordUpdated userId */
|
|
2703
2793
|
userId?: (string|null);
|
|
2794
|
+
|
|
2795
|
+
/** UserPasswordUpdated updatedOn */
|
|
2796
|
+
updatedOn?: (number|Long|null);
|
|
2797
|
+
|
|
2798
|
+
/** UserPasswordUpdated email */
|
|
2799
|
+
email?: (string|null);
|
|
2704
2800
|
}
|
|
2705
2801
|
|
|
2706
|
-
/** Represents a
|
|
2707
|
-
export class
|
|
2802
|
+
/** Represents a UserPasswordUpdated. */
|
|
2803
|
+
export class UserPasswordUpdated implements IUserPasswordUpdated {
|
|
2708
2804
|
|
|
2709
2805
|
/**
|
|
2710
|
-
* Constructs a new
|
|
2806
|
+
* Constructs a new UserPasswordUpdated.
|
|
2711
2807
|
* @param [properties] Properties to set
|
|
2712
2808
|
*/
|
|
2713
|
-
constructor(properties?:
|
|
2809
|
+
constructor(properties?: IUserPasswordUpdated);
|
|
2714
2810
|
|
|
2715
|
-
/**
|
|
2811
|
+
/** UserPasswordUpdated userId. */
|
|
2716
2812
|
public userId: string;
|
|
2717
2813
|
|
|
2814
|
+
/** UserPasswordUpdated updatedOn. */
|
|
2815
|
+
public updatedOn: (number|Long);
|
|
2816
|
+
|
|
2817
|
+
/** UserPasswordUpdated email. */
|
|
2818
|
+
public email: string;
|
|
2819
|
+
|
|
2718
2820
|
/**
|
|
2719
|
-
* Creates a new
|
|
2821
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
2720
2822
|
* @param [properties] Properties to set
|
|
2721
|
-
* @returns
|
|
2823
|
+
* @returns UserPasswordUpdated instance
|
|
2722
2824
|
*/
|
|
2723
|
-
public static create(properties?:
|
|
2825
|
+
public static create(properties?: IUserPasswordUpdated): UserPasswordUpdated;
|
|
2724
2826
|
|
|
2725
2827
|
/**
|
|
2726
|
-
* Encodes the specified
|
|
2727
|
-
* @param message
|
|
2828
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
2829
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
2728
2830
|
* @param [writer] Writer to encode to
|
|
2729
2831
|
* @returns Writer
|
|
2730
2832
|
*/
|
|
2731
|
-
public static encode(message:
|
|
2833
|
+
public static encode(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2732
2834
|
|
|
2733
2835
|
/**
|
|
2734
|
-
* Encodes the specified
|
|
2735
|
-
* @param message
|
|
2836
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
2837
|
+
* @param message UserPasswordUpdated message or plain object to encode
|
|
2736
2838
|
* @param [writer] Writer to encode to
|
|
2737
2839
|
* @returns Writer
|
|
2738
2840
|
*/
|
|
2739
|
-
public static encodeDelimited(message:
|
|
2841
|
+
public static encodeDelimited(message: IUserPasswordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2740
2842
|
|
|
2741
2843
|
/**
|
|
2742
|
-
* Decodes a
|
|
2844
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
2743
2845
|
* @param reader Reader or buffer to decode from
|
|
2744
2846
|
* @param [length] Message length if known beforehand
|
|
2745
|
-
* @returns
|
|
2847
|
+
* @returns UserPasswordUpdated
|
|
2746
2848
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2747
2849
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2748
2850
|
*/
|
|
2749
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
2851
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserPasswordUpdated;
|
|
2750
2852
|
|
|
2751
2853
|
/**
|
|
2752
|
-
* Decodes a
|
|
2854
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
2753
2855
|
* @param reader Reader or buffer to decode from
|
|
2754
|
-
* @returns
|
|
2856
|
+
* @returns UserPasswordUpdated
|
|
2755
2857
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2756
2858
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2757
2859
|
*/
|
|
2758
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
2860
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserPasswordUpdated;
|
|
2759
2861
|
|
|
2760
2862
|
/**
|
|
2761
|
-
* Verifies a
|
|
2863
|
+
* Verifies a UserPasswordUpdated message.
|
|
2762
2864
|
* @param message Plain object to verify
|
|
2763
2865
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2764
2866
|
*/
|
|
2765
2867
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2766
2868
|
|
|
2767
2869
|
/**
|
|
2768
|
-
* Creates a
|
|
2870
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
2769
2871
|
* @param object Plain object
|
|
2770
|
-
* @returns
|
|
2872
|
+
* @returns UserPasswordUpdated
|
|
2771
2873
|
*/
|
|
2772
|
-
public static fromObject(object: { [k: string]: any }):
|
|
2874
|
+
public static fromObject(object: { [k: string]: any }): UserPasswordUpdated;
|
|
2773
2875
|
|
|
2774
2876
|
/**
|
|
2775
|
-
* Creates a plain object from a
|
|
2776
|
-
* @param message
|
|
2877
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
2878
|
+
* @param message UserPasswordUpdated
|
|
2777
2879
|
* @param [options] Conversion options
|
|
2778
2880
|
* @returns Plain object
|
|
2779
2881
|
*/
|
|
2780
|
-
public static toObject(message:
|
|
2882
|
+
public static toObject(message: UserPasswordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2781
2883
|
|
|
2782
2884
|
/**
|
|
2783
|
-
* Converts this
|
|
2885
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
2784
2886
|
* @returns JSON object
|
|
2785
2887
|
*/
|
|
2786
2888
|
public toJSON(): { [k: string]: any };
|