@headspace/protos-events 1.11.0 → 1.12.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 +171 -69
- package/lib/index.js +389 -143
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -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 };
|
package/lib/index.js
CHANGED
|
@@ -6061,26 +6061,24 @@ $root.SubscriptionPaymentDeclined = (function() {
|
|
|
6061
6061
|
return SubscriptionPaymentDeclined;
|
|
6062
6062
|
})();
|
|
6063
6063
|
|
|
6064
|
-
$root.
|
|
6064
|
+
$root.UserDoubleOptInEmailRequested = (function() {
|
|
6065
6065
|
|
|
6066
6066
|
/**
|
|
6067
|
-
* Properties of a
|
|
6068
|
-
* @exports
|
|
6069
|
-
* @interface
|
|
6070
|
-
* @property {string|null} [userId]
|
|
6071
|
-
* @property {number|Long|null} [updatedOn] UserPasswordUpdated updatedOn
|
|
6072
|
-
* @property {string|null} [email] UserPasswordUpdated email
|
|
6067
|
+
* Properties of a UserDoubleOptInEmailRequested.
|
|
6068
|
+
* @exports IUserDoubleOptInEmailRequested
|
|
6069
|
+
* @interface IUserDoubleOptInEmailRequested
|
|
6070
|
+
* @property {string|null} [userId] UserDoubleOptInEmailRequested userId
|
|
6073
6071
|
*/
|
|
6074
6072
|
|
|
6075
6073
|
/**
|
|
6076
|
-
* Constructs a new
|
|
6077
|
-
* @exports
|
|
6078
|
-
* @classdesc Represents a
|
|
6079
|
-
* @implements
|
|
6074
|
+
* Constructs a new UserDoubleOptInEmailRequested.
|
|
6075
|
+
* @exports UserDoubleOptInEmailRequested
|
|
6076
|
+
* @classdesc Represents a UserDoubleOptInEmailRequested.
|
|
6077
|
+
* @implements IUserDoubleOptInEmailRequested
|
|
6080
6078
|
* @constructor
|
|
6081
|
-
* @param {
|
|
6079
|
+
* @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
|
|
6082
6080
|
*/
|
|
6083
|
-
function
|
|
6081
|
+
function UserDoubleOptInEmailRequested(properties) {
|
|
6084
6082
|
if (properties)
|
|
6085
6083
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6086
6084
|
if (properties[keys[i]] != null)
|
|
@@ -6088,90 +6086,279 @@ $root.UserPasswordUpdated = (function() {
|
|
|
6088
6086
|
}
|
|
6089
6087
|
|
|
6090
6088
|
/**
|
|
6091
|
-
*
|
|
6089
|
+
* UserDoubleOptInEmailRequested userId.
|
|
6092
6090
|
* @member {string} userId
|
|
6093
|
-
* @memberof
|
|
6091
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6094
6092
|
* @instance
|
|
6095
6093
|
*/
|
|
6096
|
-
|
|
6094
|
+
UserDoubleOptInEmailRequested.prototype.userId = "";
|
|
6097
6095
|
|
|
6098
6096
|
/**
|
|
6099
|
-
*
|
|
6100
|
-
* @
|
|
6101
|
-
* @memberof
|
|
6097
|
+
* Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
|
|
6098
|
+
* @function create
|
|
6099
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6100
|
+
* @static
|
|
6101
|
+
* @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
|
|
6102
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested instance
|
|
6103
|
+
*/
|
|
6104
|
+
UserDoubleOptInEmailRequested.create = function create(properties) {
|
|
6105
|
+
return new UserDoubleOptInEmailRequested(properties);
|
|
6106
|
+
};
|
|
6107
|
+
|
|
6108
|
+
/**
|
|
6109
|
+
* Encodes the specified UserDoubleOptInEmailRequested message. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
6110
|
+
* @function encode
|
|
6111
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6112
|
+
* @static
|
|
6113
|
+
* @param {IUserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested message or plain object to encode
|
|
6114
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6115
|
+
* @returns {$protobuf.Writer} Writer
|
|
6116
|
+
*/
|
|
6117
|
+
UserDoubleOptInEmailRequested.encode = function encode(message, writer) {
|
|
6118
|
+
if (!writer)
|
|
6119
|
+
writer = $Writer.create();
|
|
6120
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6121
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
6122
|
+
return writer;
|
|
6123
|
+
};
|
|
6124
|
+
|
|
6125
|
+
/**
|
|
6126
|
+
* Encodes the specified UserDoubleOptInEmailRequested message, length delimited. Does not implicitly {@link UserDoubleOptInEmailRequested.verify|verify} messages.
|
|
6127
|
+
* @function encodeDelimited
|
|
6128
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6129
|
+
* @static
|
|
6130
|
+
* @param {IUserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested message or plain object to encode
|
|
6131
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6132
|
+
* @returns {$protobuf.Writer} Writer
|
|
6133
|
+
*/
|
|
6134
|
+
UserDoubleOptInEmailRequested.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6135
|
+
return this.encode(message, writer).ldelim();
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
/**
|
|
6139
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer.
|
|
6140
|
+
* @function decode
|
|
6141
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6142
|
+
* @static
|
|
6143
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6144
|
+
* @param {number} [length] Message length if known beforehand
|
|
6145
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
6146
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6147
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6148
|
+
*/
|
|
6149
|
+
UserDoubleOptInEmailRequested.decode = function decode(reader, length) {
|
|
6150
|
+
if (!(reader instanceof $Reader))
|
|
6151
|
+
reader = $Reader.create(reader);
|
|
6152
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDoubleOptInEmailRequested();
|
|
6153
|
+
while (reader.pos < end) {
|
|
6154
|
+
var tag = reader.uint32();
|
|
6155
|
+
switch (tag >>> 3) {
|
|
6156
|
+
case 1:
|
|
6157
|
+
message.userId = reader.string();
|
|
6158
|
+
break;
|
|
6159
|
+
default:
|
|
6160
|
+
reader.skipType(tag & 7);
|
|
6161
|
+
break;
|
|
6162
|
+
}
|
|
6163
|
+
}
|
|
6164
|
+
return message;
|
|
6165
|
+
};
|
|
6166
|
+
|
|
6167
|
+
/**
|
|
6168
|
+
* Decodes a UserDoubleOptInEmailRequested message from the specified reader or buffer, length delimited.
|
|
6169
|
+
* @function decodeDelimited
|
|
6170
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6171
|
+
* @static
|
|
6172
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6173
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
6174
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6175
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6176
|
+
*/
|
|
6177
|
+
UserDoubleOptInEmailRequested.decodeDelimited = function decodeDelimited(reader) {
|
|
6178
|
+
if (!(reader instanceof $Reader))
|
|
6179
|
+
reader = new $Reader(reader);
|
|
6180
|
+
return this.decode(reader, reader.uint32());
|
|
6181
|
+
};
|
|
6182
|
+
|
|
6183
|
+
/**
|
|
6184
|
+
* Verifies a UserDoubleOptInEmailRequested message.
|
|
6185
|
+
* @function verify
|
|
6186
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6187
|
+
* @static
|
|
6188
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
6189
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6190
|
+
*/
|
|
6191
|
+
UserDoubleOptInEmailRequested.verify = function verify(message) {
|
|
6192
|
+
if (typeof message !== "object" || message === null)
|
|
6193
|
+
return "object expected";
|
|
6194
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6195
|
+
if (!$util.isString(message.userId))
|
|
6196
|
+
return "userId: string expected";
|
|
6197
|
+
return null;
|
|
6198
|
+
};
|
|
6199
|
+
|
|
6200
|
+
/**
|
|
6201
|
+
* Creates a UserDoubleOptInEmailRequested message from a plain object. Also converts values to their respective internal types.
|
|
6202
|
+
* @function fromObject
|
|
6203
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6204
|
+
* @static
|
|
6205
|
+
* @param {Object.<string,*>} object Plain object
|
|
6206
|
+
* @returns {UserDoubleOptInEmailRequested} UserDoubleOptInEmailRequested
|
|
6207
|
+
*/
|
|
6208
|
+
UserDoubleOptInEmailRequested.fromObject = function fromObject(object) {
|
|
6209
|
+
if (object instanceof $root.UserDoubleOptInEmailRequested)
|
|
6210
|
+
return object;
|
|
6211
|
+
var message = new $root.UserDoubleOptInEmailRequested();
|
|
6212
|
+
if (object.userId != null)
|
|
6213
|
+
message.userId = String(object.userId);
|
|
6214
|
+
return message;
|
|
6215
|
+
};
|
|
6216
|
+
|
|
6217
|
+
/**
|
|
6218
|
+
* Creates a plain object from a UserDoubleOptInEmailRequested message. Also converts values to other types if specified.
|
|
6219
|
+
* @function toObject
|
|
6220
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6221
|
+
* @static
|
|
6222
|
+
* @param {UserDoubleOptInEmailRequested} message UserDoubleOptInEmailRequested
|
|
6223
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6224
|
+
* @returns {Object.<string,*>} Plain object
|
|
6225
|
+
*/
|
|
6226
|
+
UserDoubleOptInEmailRequested.toObject = function toObject(message, options) {
|
|
6227
|
+
if (!options)
|
|
6228
|
+
options = {};
|
|
6229
|
+
var object = {};
|
|
6230
|
+
if (options.defaults)
|
|
6231
|
+
object.userId = "";
|
|
6232
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6233
|
+
object.userId = message.userId;
|
|
6234
|
+
return object;
|
|
6235
|
+
};
|
|
6236
|
+
|
|
6237
|
+
/**
|
|
6238
|
+
* Converts this UserDoubleOptInEmailRequested to JSON.
|
|
6239
|
+
* @function toJSON
|
|
6240
|
+
* @memberof UserDoubleOptInEmailRequested
|
|
6102
6241
|
* @instance
|
|
6242
|
+
* @returns {Object.<string,*>} JSON object
|
|
6103
6243
|
*/
|
|
6104
|
-
|
|
6244
|
+
UserDoubleOptInEmailRequested.prototype.toJSON = function toJSON() {
|
|
6245
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6246
|
+
};
|
|
6247
|
+
|
|
6248
|
+
return UserDoubleOptInEmailRequested;
|
|
6249
|
+
})();
|
|
6250
|
+
|
|
6251
|
+
$root.UserEmailUpdated = (function() {
|
|
6105
6252
|
|
|
6106
6253
|
/**
|
|
6107
|
-
*
|
|
6254
|
+
* Properties of a UserEmailUpdated.
|
|
6255
|
+
* @exports IUserEmailUpdated
|
|
6256
|
+
* @interface IUserEmailUpdated
|
|
6257
|
+
* @property {string|null} [userId] UserEmailUpdated userId
|
|
6258
|
+
* @property {string|null} [email] UserEmailUpdated email
|
|
6259
|
+
* @property {number|Long|null} [timestamp] UserEmailUpdated timestamp
|
|
6260
|
+
*/
|
|
6261
|
+
|
|
6262
|
+
/**
|
|
6263
|
+
* Constructs a new UserEmailUpdated.
|
|
6264
|
+
* @exports UserEmailUpdated
|
|
6265
|
+
* @classdesc Represents a UserEmailUpdated.
|
|
6266
|
+
* @implements IUserEmailUpdated
|
|
6267
|
+
* @constructor
|
|
6268
|
+
* @param {IUserEmailUpdated=} [properties] Properties to set
|
|
6269
|
+
*/
|
|
6270
|
+
function UserEmailUpdated(properties) {
|
|
6271
|
+
if (properties)
|
|
6272
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6273
|
+
if (properties[keys[i]] != null)
|
|
6274
|
+
this[keys[i]] = properties[keys[i]];
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
/**
|
|
6278
|
+
* UserEmailUpdated userId.
|
|
6279
|
+
* @member {string} userId
|
|
6280
|
+
* @memberof UserEmailUpdated
|
|
6281
|
+
* @instance
|
|
6282
|
+
*/
|
|
6283
|
+
UserEmailUpdated.prototype.userId = "";
|
|
6284
|
+
|
|
6285
|
+
/**
|
|
6286
|
+
* UserEmailUpdated email.
|
|
6108
6287
|
* @member {string} email
|
|
6109
|
-
* @memberof
|
|
6288
|
+
* @memberof UserEmailUpdated
|
|
6110
6289
|
* @instance
|
|
6111
6290
|
*/
|
|
6112
|
-
|
|
6291
|
+
UserEmailUpdated.prototype.email = "";
|
|
6113
6292
|
|
|
6114
6293
|
/**
|
|
6115
|
-
*
|
|
6294
|
+
* UserEmailUpdated timestamp.
|
|
6295
|
+
* @member {number|Long} timestamp
|
|
6296
|
+
* @memberof UserEmailUpdated
|
|
6297
|
+
* @instance
|
|
6298
|
+
*/
|
|
6299
|
+
UserEmailUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6300
|
+
|
|
6301
|
+
/**
|
|
6302
|
+
* Creates a new UserEmailUpdated instance using the specified properties.
|
|
6116
6303
|
* @function create
|
|
6117
|
-
* @memberof
|
|
6304
|
+
* @memberof UserEmailUpdated
|
|
6118
6305
|
* @static
|
|
6119
|
-
* @param {
|
|
6120
|
-
* @returns {
|
|
6306
|
+
* @param {IUserEmailUpdated=} [properties] Properties to set
|
|
6307
|
+
* @returns {UserEmailUpdated} UserEmailUpdated instance
|
|
6121
6308
|
*/
|
|
6122
|
-
|
|
6123
|
-
return new
|
|
6309
|
+
UserEmailUpdated.create = function create(properties) {
|
|
6310
|
+
return new UserEmailUpdated(properties);
|
|
6124
6311
|
};
|
|
6125
6312
|
|
|
6126
6313
|
/**
|
|
6127
|
-
* Encodes the specified
|
|
6314
|
+
* Encodes the specified UserEmailUpdated message. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
6128
6315
|
* @function encode
|
|
6129
|
-
* @memberof
|
|
6316
|
+
* @memberof UserEmailUpdated
|
|
6130
6317
|
* @static
|
|
6131
|
-
* @param {
|
|
6318
|
+
* @param {IUserEmailUpdated} message UserEmailUpdated message or plain object to encode
|
|
6132
6319
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6133
6320
|
* @returns {$protobuf.Writer} Writer
|
|
6134
6321
|
*/
|
|
6135
|
-
|
|
6322
|
+
UserEmailUpdated.encode = function encode(message, writer) {
|
|
6136
6323
|
if (!writer)
|
|
6137
6324
|
writer = $Writer.create();
|
|
6138
6325
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6139
6326
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
6140
|
-
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6141
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
|
|
6142
6327
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
6143
|
-
writer.uint32(/* id
|
|
6328
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
6329
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6330
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
6144
6331
|
return writer;
|
|
6145
6332
|
};
|
|
6146
6333
|
|
|
6147
6334
|
/**
|
|
6148
|
-
* Encodes the specified
|
|
6335
|
+
* Encodes the specified UserEmailUpdated message, length delimited. Does not implicitly {@link UserEmailUpdated.verify|verify} messages.
|
|
6149
6336
|
* @function encodeDelimited
|
|
6150
|
-
* @memberof
|
|
6337
|
+
* @memberof UserEmailUpdated
|
|
6151
6338
|
* @static
|
|
6152
|
-
* @param {
|
|
6339
|
+
* @param {IUserEmailUpdated} message UserEmailUpdated message or plain object to encode
|
|
6153
6340
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6154
6341
|
* @returns {$protobuf.Writer} Writer
|
|
6155
6342
|
*/
|
|
6156
|
-
|
|
6343
|
+
UserEmailUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6157
6344
|
return this.encode(message, writer).ldelim();
|
|
6158
6345
|
};
|
|
6159
6346
|
|
|
6160
6347
|
/**
|
|
6161
|
-
* Decodes a
|
|
6348
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer.
|
|
6162
6349
|
* @function decode
|
|
6163
|
-
* @memberof
|
|
6350
|
+
* @memberof UserEmailUpdated
|
|
6164
6351
|
* @static
|
|
6165
6352
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6166
6353
|
* @param {number} [length] Message length if known beforehand
|
|
6167
|
-
* @returns {
|
|
6354
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
6168
6355
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6169
6356
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6170
6357
|
*/
|
|
6171
|
-
|
|
6358
|
+
UserEmailUpdated.decode = function decode(reader, length) {
|
|
6172
6359
|
if (!(reader instanceof $Reader))
|
|
6173
6360
|
reader = $Reader.create(reader);
|
|
6174
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
6361
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserEmailUpdated();
|
|
6175
6362
|
while (reader.pos < end) {
|
|
6176
6363
|
var tag = reader.uint32();
|
|
6177
6364
|
switch (tag >>> 3) {
|
|
@@ -6179,10 +6366,10 @@ $root.UserPasswordUpdated = (function() {
|
|
|
6179
6366
|
message.userId = reader.string();
|
|
6180
6367
|
break;
|
|
6181
6368
|
case 2:
|
|
6182
|
-
message.
|
|
6369
|
+
message.email = reader.string();
|
|
6183
6370
|
break;
|
|
6184
6371
|
case 3:
|
|
6185
|
-
message.
|
|
6372
|
+
message.timestamp = reader.uint64();
|
|
6186
6373
|
break;
|
|
6187
6374
|
default:
|
|
6188
6375
|
reader.skipType(tag & 7);
|
|
@@ -6193,118 +6380,118 @@ $root.UserPasswordUpdated = (function() {
|
|
|
6193
6380
|
};
|
|
6194
6381
|
|
|
6195
6382
|
/**
|
|
6196
|
-
* Decodes a
|
|
6383
|
+
* Decodes a UserEmailUpdated message from the specified reader or buffer, length delimited.
|
|
6197
6384
|
* @function decodeDelimited
|
|
6198
|
-
* @memberof
|
|
6385
|
+
* @memberof UserEmailUpdated
|
|
6199
6386
|
* @static
|
|
6200
6387
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6201
|
-
* @returns {
|
|
6388
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
6202
6389
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6203
6390
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6204
6391
|
*/
|
|
6205
|
-
|
|
6392
|
+
UserEmailUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
6206
6393
|
if (!(reader instanceof $Reader))
|
|
6207
6394
|
reader = new $Reader(reader);
|
|
6208
6395
|
return this.decode(reader, reader.uint32());
|
|
6209
6396
|
};
|
|
6210
6397
|
|
|
6211
6398
|
/**
|
|
6212
|
-
* Verifies a
|
|
6399
|
+
* Verifies a UserEmailUpdated message.
|
|
6213
6400
|
* @function verify
|
|
6214
|
-
* @memberof
|
|
6401
|
+
* @memberof UserEmailUpdated
|
|
6215
6402
|
* @static
|
|
6216
6403
|
* @param {Object.<string,*>} message Plain object to verify
|
|
6217
6404
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6218
6405
|
*/
|
|
6219
|
-
|
|
6406
|
+
UserEmailUpdated.verify = function verify(message) {
|
|
6220
6407
|
if (typeof message !== "object" || message === null)
|
|
6221
6408
|
return "object expected";
|
|
6222
6409
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6223
6410
|
if (!$util.isString(message.userId))
|
|
6224
6411
|
return "userId: string expected";
|
|
6225
|
-
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6226
|
-
if (!$util.isInteger(message.updatedOn) && !(message.updatedOn && $util.isInteger(message.updatedOn.low) && $util.isInteger(message.updatedOn.high)))
|
|
6227
|
-
return "updatedOn: integer|Long expected";
|
|
6228
6412
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
6229
6413
|
if (!$util.isString(message.email))
|
|
6230
6414
|
return "email: string expected";
|
|
6415
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6416
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
6417
|
+
return "timestamp: integer|Long expected";
|
|
6231
6418
|
return null;
|
|
6232
6419
|
};
|
|
6233
6420
|
|
|
6234
6421
|
/**
|
|
6235
|
-
* Creates a
|
|
6422
|
+
* Creates a UserEmailUpdated message from a plain object. Also converts values to their respective internal types.
|
|
6236
6423
|
* @function fromObject
|
|
6237
|
-
* @memberof
|
|
6424
|
+
* @memberof UserEmailUpdated
|
|
6238
6425
|
* @static
|
|
6239
6426
|
* @param {Object.<string,*>} object Plain object
|
|
6240
|
-
* @returns {
|
|
6427
|
+
* @returns {UserEmailUpdated} UserEmailUpdated
|
|
6241
6428
|
*/
|
|
6242
|
-
|
|
6243
|
-
if (object instanceof $root.
|
|
6429
|
+
UserEmailUpdated.fromObject = function fromObject(object) {
|
|
6430
|
+
if (object instanceof $root.UserEmailUpdated)
|
|
6244
6431
|
return object;
|
|
6245
|
-
var message = new $root.
|
|
6432
|
+
var message = new $root.UserEmailUpdated();
|
|
6246
6433
|
if (object.userId != null)
|
|
6247
6434
|
message.userId = String(object.userId);
|
|
6248
|
-
if (object.updatedOn != null)
|
|
6249
|
-
if ($util.Long)
|
|
6250
|
-
(message.updatedOn = $util.Long.fromValue(object.updatedOn)).unsigned = true;
|
|
6251
|
-
else if (typeof object.updatedOn === "string")
|
|
6252
|
-
message.updatedOn = parseInt(object.updatedOn, 10);
|
|
6253
|
-
else if (typeof object.updatedOn === "number")
|
|
6254
|
-
message.updatedOn = object.updatedOn;
|
|
6255
|
-
else if (typeof object.updatedOn === "object")
|
|
6256
|
-
message.updatedOn = new $util.LongBits(object.updatedOn.low >>> 0, object.updatedOn.high >>> 0).toNumber(true);
|
|
6257
6435
|
if (object.email != null)
|
|
6258
6436
|
message.email = String(object.email);
|
|
6437
|
+
if (object.timestamp != null)
|
|
6438
|
+
if ($util.Long)
|
|
6439
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
6440
|
+
else if (typeof object.timestamp === "string")
|
|
6441
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
6442
|
+
else if (typeof object.timestamp === "number")
|
|
6443
|
+
message.timestamp = object.timestamp;
|
|
6444
|
+
else if (typeof object.timestamp === "object")
|
|
6445
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
6259
6446
|
return message;
|
|
6260
6447
|
};
|
|
6261
6448
|
|
|
6262
6449
|
/**
|
|
6263
|
-
* Creates a plain object from a
|
|
6450
|
+
* Creates a plain object from a UserEmailUpdated message. Also converts values to other types if specified.
|
|
6264
6451
|
* @function toObject
|
|
6265
|
-
* @memberof
|
|
6452
|
+
* @memberof UserEmailUpdated
|
|
6266
6453
|
* @static
|
|
6267
|
-
* @param {
|
|
6454
|
+
* @param {UserEmailUpdated} message UserEmailUpdated
|
|
6268
6455
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6269
6456
|
* @returns {Object.<string,*>} Plain object
|
|
6270
6457
|
*/
|
|
6271
|
-
|
|
6458
|
+
UserEmailUpdated.toObject = function toObject(message, options) {
|
|
6272
6459
|
if (!options)
|
|
6273
6460
|
options = {};
|
|
6274
6461
|
var object = {};
|
|
6275
6462
|
if (options.defaults) {
|
|
6276
6463
|
object.userId = "";
|
|
6464
|
+
object.email = "";
|
|
6277
6465
|
if ($util.Long) {
|
|
6278
6466
|
var long = new $util.Long(0, 0, true);
|
|
6279
|
-
object.
|
|
6467
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
6280
6468
|
} else
|
|
6281
|
-
object.
|
|
6282
|
-
object.email = "";
|
|
6469
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
6283
6470
|
}
|
|
6284
6471
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6285
6472
|
object.userId = message.userId;
|
|
6286
|
-
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6287
|
-
if (typeof message.updatedOn === "number")
|
|
6288
|
-
object.updatedOn = options.longs === String ? String(message.updatedOn) : message.updatedOn;
|
|
6289
|
-
else
|
|
6290
|
-
object.updatedOn = options.longs === String ? $util.Long.prototype.toString.call(message.updatedOn) : options.longs === Number ? new $util.LongBits(message.updatedOn.low >>> 0, message.updatedOn.high >>> 0).toNumber(true) : message.updatedOn;
|
|
6291
6473
|
if (message.email != null && message.hasOwnProperty("email"))
|
|
6292
6474
|
object.email = message.email;
|
|
6475
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
6476
|
+
if (typeof message.timestamp === "number")
|
|
6477
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
6478
|
+
else
|
|
6479
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
6293
6480
|
return object;
|
|
6294
6481
|
};
|
|
6295
6482
|
|
|
6296
6483
|
/**
|
|
6297
|
-
* Converts this
|
|
6484
|
+
* Converts this UserEmailUpdated to JSON.
|
|
6298
6485
|
* @function toJSON
|
|
6299
|
-
* @memberof
|
|
6486
|
+
* @memberof UserEmailUpdated
|
|
6300
6487
|
* @instance
|
|
6301
6488
|
* @returns {Object.<string,*>} JSON object
|
|
6302
6489
|
*/
|
|
6303
|
-
|
|
6490
|
+
UserEmailUpdated.prototype.toJSON = function toJSON() {
|
|
6304
6491
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6305
6492
|
};
|
|
6306
6493
|
|
|
6307
|
-
return
|
|
6494
|
+
return UserEmailUpdated;
|
|
6308
6495
|
})();
|
|
6309
6496
|
|
|
6310
6497
|
$root.UserEmailVerificationRequested = (function() {
|
|
@@ -6553,24 +6740,26 @@ $root.UserEmailVerificationRequested = (function() {
|
|
|
6553
6740
|
return UserEmailVerificationRequested;
|
|
6554
6741
|
})();
|
|
6555
6742
|
|
|
6556
|
-
$root.
|
|
6743
|
+
$root.UserPasswordUpdated = (function() {
|
|
6557
6744
|
|
|
6558
6745
|
/**
|
|
6559
|
-
* Properties of a
|
|
6560
|
-
* @exports
|
|
6561
|
-
* @interface
|
|
6562
|
-
* @property {string|null} [userId]
|
|
6746
|
+
* Properties of a UserPasswordUpdated.
|
|
6747
|
+
* @exports IUserPasswordUpdated
|
|
6748
|
+
* @interface IUserPasswordUpdated
|
|
6749
|
+
* @property {string|null} [userId] UserPasswordUpdated userId
|
|
6750
|
+
* @property {number|Long|null} [updatedOn] UserPasswordUpdated updatedOn
|
|
6751
|
+
* @property {string|null} [email] UserPasswordUpdated email
|
|
6563
6752
|
*/
|
|
6564
6753
|
|
|
6565
6754
|
/**
|
|
6566
|
-
* Constructs a new
|
|
6567
|
-
* @exports
|
|
6568
|
-
* @classdesc Represents a
|
|
6569
|
-
* @implements
|
|
6755
|
+
* Constructs a new UserPasswordUpdated.
|
|
6756
|
+
* @exports UserPasswordUpdated
|
|
6757
|
+
* @classdesc Represents a UserPasswordUpdated.
|
|
6758
|
+
* @implements IUserPasswordUpdated
|
|
6570
6759
|
* @constructor
|
|
6571
|
-
* @param {
|
|
6760
|
+
* @param {IUserPasswordUpdated=} [properties] Properties to set
|
|
6572
6761
|
*/
|
|
6573
|
-
function
|
|
6762
|
+
function UserPasswordUpdated(properties) {
|
|
6574
6763
|
if (properties)
|
|
6575
6764
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6576
6765
|
if (properties[keys[i]] != null)
|
|
@@ -6578,76 +6767,102 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
6578
6767
|
}
|
|
6579
6768
|
|
|
6580
6769
|
/**
|
|
6581
|
-
*
|
|
6770
|
+
* UserPasswordUpdated userId.
|
|
6582
6771
|
* @member {string} userId
|
|
6583
|
-
* @memberof
|
|
6772
|
+
* @memberof UserPasswordUpdated
|
|
6584
6773
|
* @instance
|
|
6585
6774
|
*/
|
|
6586
|
-
|
|
6775
|
+
UserPasswordUpdated.prototype.userId = "";
|
|
6587
6776
|
|
|
6588
6777
|
/**
|
|
6589
|
-
*
|
|
6778
|
+
* UserPasswordUpdated updatedOn.
|
|
6779
|
+
* @member {number|Long} updatedOn
|
|
6780
|
+
* @memberof UserPasswordUpdated
|
|
6781
|
+
* @instance
|
|
6782
|
+
*/
|
|
6783
|
+
UserPasswordUpdated.prototype.updatedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6784
|
+
|
|
6785
|
+
/**
|
|
6786
|
+
* UserPasswordUpdated email.
|
|
6787
|
+
* @member {string} email
|
|
6788
|
+
* @memberof UserPasswordUpdated
|
|
6789
|
+
* @instance
|
|
6790
|
+
*/
|
|
6791
|
+
UserPasswordUpdated.prototype.email = "";
|
|
6792
|
+
|
|
6793
|
+
/**
|
|
6794
|
+
* Creates a new UserPasswordUpdated instance using the specified properties.
|
|
6590
6795
|
* @function create
|
|
6591
|
-
* @memberof
|
|
6796
|
+
* @memberof UserPasswordUpdated
|
|
6592
6797
|
* @static
|
|
6593
|
-
* @param {
|
|
6594
|
-
* @returns {
|
|
6798
|
+
* @param {IUserPasswordUpdated=} [properties] Properties to set
|
|
6799
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated instance
|
|
6595
6800
|
*/
|
|
6596
|
-
|
|
6597
|
-
return new
|
|
6801
|
+
UserPasswordUpdated.create = function create(properties) {
|
|
6802
|
+
return new UserPasswordUpdated(properties);
|
|
6598
6803
|
};
|
|
6599
6804
|
|
|
6600
6805
|
/**
|
|
6601
|
-
* Encodes the specified
|
|
6806
|
+
* Encodes the specified UserPasswordUpdated message. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
6602
6807
|
* @function encode
|
|
6603
|
-
* @memberof
|
|
6808
|
+
* @memberof UserPasswordUpdated
|
|
6604
6809
|
* @static
|
|
6605
|
-
* @param {
|
|
6810
|
+
* @param {IUserPasswordUpdated} message UserPasswordUpdated message or plain object to encode
|
|
6606
6811
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6607
6812
|
* @returns {$protobuf.Writer} Writer
|
|
6608
6813
|
*/
|
|
6609
|
-
|
|
6814
|
+
UserPasswordUpdated.encode = function encode(message, writer) {
|
|
6610
6815
|
if (!writer)
|
|
6611
6816
|
writer = $Writer.create();
|
|
6612
6817
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6613
6818
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
6819
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6820
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
|
|
6821
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
6822
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.email);
|
|
6614
6823
|
return writer;
|
|
6615
6824
|
};
|
|
6616
6825
|
|
|
6617
6826
|
/**
|
|
6618
|
-
* Encodes the specified
|
|
6827
|
+
* Encodes the specified UserPasswordUpdated message, length delimited. Does not implicitly {@link UserPasswordUpdated.verify|verify} messages.
|
|
6619
6828
|
* @function encodeDelimited
|
|
6620
|
-
* @memberof
|
|
6829
|
+
* @memberof UserPasswordUpdated
|
|
6621
6830
|
* @static
|
|
6622
|
-
* @param {
|
|
6831
|
+
* @param {IUserPasswordUpdated} message UserPasswordUpdated message or plain object to encode
|
|
6623
6832
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6624
6833
|
* @returns {$protobuf.Writer} Writer
|
|
6625
6834
|
*/
|
|
6626
|
-
|
|
6835
|
+
UserPasswordUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6627
6836
|
return this.encode(message, writer).ldelim();
|
|
6628
6837
|
};
|
|
6629
6838
|
|
|
6630
6839
|
/**
|
|
6631
|
-
* Decodes a
|
|
6840
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer.
|
|
6632
6841
|
* @function decode
|
|
6633
|
-
* @memberof
|
|
6842
|
+
* @memberof UserPasswordUpdated
|
|
6634
6843
|
* @static
|
|
6635
6844
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6636
6845
|
* @param {number} [length] Message length if known beforehand
|
|
6637
|
-
* @returns {
|
|
6846
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
6638
6847
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6639
6848
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6640
6849
|
*/
|
|
6641
|
-
|
|
6850
|
+
UserPasswordUpdated.decode = function decode(reader, length) {
|
|
6642
6851
|
if (!(reader instanceof $Reader))
|
|
6643
6852
|
reader = $Reader.create(reader);
|
|
6644
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
6853
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserPasswordUpdated();
|
|
6645
6854
|
while (reader.pos < end) {
|
|
6646
6855
|
var tag = reader.uint32();
|
|
6647
6856
|
switch (tag >>> 3) {
|
|
6648
6857
|
case 1:
|
|
6649
6858
|
message.userId = reader.string();
|
|
6650
6859
|
break;
|
|
6860
|
+
case 2:
|
|
6861
|
+
message.updatedOn = reader.uint64();
|
|
6862
|
+
break;
|
|
6863
|
+
case 3:
|
|
6864
|
+
message.email = reader.string();
|
|
6865
|
+
break;
|
|
6651
6866
|
default:
|
|
6652
6867
|
reader.skipType(tag & 7);
|
|
6653
6868
|
break;
|
|
@@ -6657,87 +6872,118 @@ $root.UserDoubleOptInEmailRequested = (function() {
|
|
|
6657
6872
|
};
|
|
6658
6873
|
|
|
6659
6874
|
/**
|
|
6660
|
-
* Decodes a
|
|
6875
|
+
* Decodes a UserPasswordUpdated message from the specified reader or buffer, length delimited.
|
|
6661
6876
|
* @function decodeDelimited
|
|
6662
|
-
* @memberof
|
|
6877
|
+
* @memberof UserPasswordUpdated
|
|
6663
6878
|
* @static
|
|
6664
6879
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
6665
|
-
* @returns {
|
|
6880
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
6666
6881
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6667
6882
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6668
6883
|
*/
|
|
6669
|
-
|
|
6884
|
+
UserPasswordUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
6670
6885
|
if (!(reader instanceof $Reader))
|
|
6671
6886
|
reader = new $Reader(reader);
|
|
6672
6887
|
return this.decode(reader, reader.uint32());
|
|
6673
6888
|
};
|
|
6674
6889
|
|
|
6675
6890
|
/**
|
|
6676
|
-
* Verifies a
|
|
6891
|
+
* Verifies a UserPasswordUpdated message.
|
|
6677
6892
|
* @function verify
|
|
6678
|
-
* @memberof
|
|
6893
|
+
* @memberof UserPasswordUpdated
|
|
6679
6894
|
* @static
|
|
6680
6895
|
* @param {Object.<string,*>} message Plain object to verify
|
|
6681
6896
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
6682
6897
|
*/
|
|
6683
|
-
|
|
6898
|
+
UserPasswordUpdated.verify = function verify(message) {
|
|
6684
6899
|
if (typeof message !== "object" || message === null)
|
|
6685
6900
|
return "object expected";
|
|
6686
6901
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6687
6902
|
if (!$util.isString(message.userId))
|
|
6688
6903
|
return "userId: string expected";
|
|
6904
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6905
|
+
if (!$util.isInteger(message.updatedOn) && !(message.updatedOn && $util.isInteger(message.updatedOn.low) && $util.isInteger(message.updatedOn.high)))
|
|
6906
|
+
return "updatedOn: integer|Long expected";
|
|
6907
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
6908
|
+
if (!$util.isString(message.email))
|
|
6909
|
+
return "email: string expected";
|
|
6689
6910
|
return null;
|
|
6690
6911
|
};
|
|
6691
6912
|
|
|
6692
6913
|
/**
|
|
6693
|
-
* Creates a
|
|
6914
|
+
* Creates a UserPasswordUpdated message from a plain object. Also converts values to their respective internal types.
|
|
6694
6915
|
* @function fromObject
|
|
6695
|
-
* @memberof
|
|
6916
|
+
* @memberof UserPasswordUpdated
|
|
6696
6917
|
* @static
|
|
6697
6918
|
* @param {Object.<string,*>} object Plain object
|
|
6698
|
-
* @returns {
|
|
6919
|
+
* @returns {UserPasswordUpdated} UserPasswordUpdated
|
|
6699
6920
|
*/
|
|
6700
|
-
|
|
6701
|
-
if (object instanceof $root.
|
|
6921
|
+
UserPasswordUpdated.fromObject = function fromObject(object) {
|
|
6922
|
+
if (object instanceof $root.UserPasswordUpdated)
|
|
6702
6923
|
return object;
|
|
6703
|
-
var message = new $root.
|
|
6924
|
+
var message = new $root.UserPasswordUpdated();
|
|
6704
6925
|
if (object.userId != null)
|
|
6705
6926
|
message.userId = String(object.userId);
|
|
6927
|
+
if (object.updatedOn != null)
|
|
6928
|
+
if ($util.Long)
|
|
6929
|
+
(message.updatedOn = $util.Long.fromValue(object.updatedOn)).unsigned = true;
|
|
6930
|
+
else if (typeof object.updatedOn === "string")
|
|
6931
|
+
message.updatedOn = parseInt(object.updatedOn, 10);
|
|
6932
|
+
else if (typeof object.updatedOn === "number")
|
|
6933
|
+
message.updatedOn = object.updatedOn;
|
|
6934
|
+
else if (typeof object.updatedOn === "object")
|
|
6935
|
+
message.updatedOn = new $util.LongBits(object.updatedOn.low >>> 0, object.updatedOn.high >>> 0).toNumber(true);
|
|
6936
|
+
if (object.email != null)
|
|
6937
|
+
message.email = String(object.email);
|
|
6706
6938
|
return message;
|
|
6707
6939
|
};
|
|
6708
6940
|
|
|
6709
6941
|
/**
|
|
6710
|
-
* Creates a plain object from a
|
|
6942
|
+
* Creates a plain object from a UserPasswordUpdated message. Also converts values to other types if specified.
|
|
6711
6943
|
* @function toObject
|
|
6712
|
-
* @memberof
|
|
6944
|
+
* @memberof UserPasswordUpdated
|
|
6713
6945
|
* @static
|
|
6714
|
-
* @param {
|
|
6946
|
+
* @param {UserPasswordUpdated} message UserPasswordUpdated
|
|
6715
6947
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
6716
6948
|
* @returns {Object.<string,*>} Plain object
|
|
6717
6949
|
*/
|
|
6718
|
-
|
|
6950
|
+
UserPasswordUpdated.toObject = function toObject(message, options) {
|
|
6719
6951
|
if (!options)
|
|
6720
6952
|
options = {};
|
|
6721
6953
|
var object = {};
|
|
6722
|
-
if (options.defaults)
|
|
6954
|
+
if (options.defaults) {
|
|
6723
6955
|
object.userId = "";
|
|
6956
|
+
if ($util.Long) {
|
|
6957
|
+
var long = new $util.Long(0, 0, true);
|
|
6958
|
+
object.updatedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
6959
|
+
} else
|
|
6960
|
+
object.updatedOn = options.longs === String ? "0" : 0;
|
|
6961
|
+
object.email = "";
|
|
6962
|
+
}
|
|
6724
6963
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
6725
6964
|
object.userId = message.userId;
|
|
6965
|
+
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
6966
|
+
if (typeof message.updatedOn === "number")
|
|
6967
|
+
object.updatedOn = options.longs === String ? String(message.updatedOn) : message.updatedOn;
|
|
6968
|
+
else
|
|
6969
|
+
object.updatedOn = options.longs === String ? $util.Long.prototype.toString.call(message.updatedOn) : options.longs === Number ? new $util.LongBits(message.updatedOn.low >>> 0, message.updatedOn.high >>> 0).toNumber(true) : message.updatedOn;
|
|
6970
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
6971
|
+
object.email = message.email;
|
|
6726
6972
|
return object;
|
|
6727
6973
|
};
|
|
6728
6974
|
|
|
6729
6975
|
/**
|
|
6730
|
-
* Converts this
|
|
6976
|
+
* Converts this UserPasswordUpdated to JSON.
|
|
6731
6977
|
* @function toJSON
|
|
6732
|
-
* @memberof
|
|
6978
|
+
* @memberof UserPasswordUpdated
|
|
6733
6979
|
* @instance
|
|
6734
6980
|
* @returns {Object.<string,*>} JSON object
|
|
6735
6981
|
*/
|
|
6736
|
-
|
|
6982
|
+
UserPasswordUpdated.prototype.toJSON = function toJSON() {
|
|
6737
6983
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6738
6984
|
};
|
|
6739
6985
|
|
|
6740
|
-
return
|
|
6986
|
+
return UserPasswordUpdated;
|
|
6741
6987
|
})();
|
|
6742
6988
|
|
|
6743
6989
|
module.exports = $root;
|
package/package.json
CHANGED