@headspace/protos-events 1.63.0 → 1.65.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 +216 -0
- package/lib/index.js +536 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3593,6 +3593,222 @@ export class UserEnabledWakeupNotifications implements IUserEnabledWakeupNotific
|
|
|
3593
3593
|
public toJSON(): { [k: string]: any };
|
|
3594
3594
|
}
|
|
3595
3595
|
|
|
3596
|
+
/** Properties of an ExperimentContentMapCreated. */
|
|
3597
|
+
export interface IExperimentContentMapCreated {
|
|
3598
|
+
|
|
3599
|
+
/** ExperimentContentMapCreated experimentName */
|
|
3600
|
+
experimentName?: (string|null);
|
|
3601
|
+
|
|
3602
|
+
/** ExperimentContentMapCreated variationName */
|
|
3603
|
+
variationName?: (string|null);
|
|
3604
|
+
|
|
3605
|
+
/** ExperimentContentMapCreated contentIdList */
|
|
3606
|
+
contentIdList?: (string|null);
|
|
3607
|
+
|
|
3608
|
+
/** ExperimentContentMapCreated createdAt */
|
|
3609
|
+
createdAt?: (number|Long|null);
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
/** Represents an ExperimentContentMapCreated. */
|
|
3613
|
+
export class ExperimentContentMapCreated implements IExperimentContentMapCreated {
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Constructs a new ExperimentContentMapCreated.
|
|
3617
|
+
* @param [properties] Properties to set
|
|
3618
|
+
*/
|
|
3619
|
+
constructor(properties?: IExperimentContentMapCreated);
|
|
3620
|
+
|
|
3621
|
+
/** ExperimentContentMapCreated experimentName. */
|
|
3622
|
+
public experimentName: string;
|
|
3623
|
+
|
|
3624
|
+
/** ExperimentContentMapCreated variationName. */
|
|
3625
|
+
public variationName: string;
|
|
3626
|
+
|
|
3627
|
+
/** ExperimentContentMapCreated contentIdList. */
|
|
3628
|
+
public contentIdList: string;
|
|
3629
|
+
|
|
3630
|
+
/** ExperimentContentMapCreated createdAt. */
|
|
3631
|
+
public createdAt: (number|Long);
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* Creates a new ExperimentContentMapCreated instance using the specified properties.
|
|
3635
|
+
* @param [properties] Properties to set
|
|
3636
|
+
* @returns ExperimentContentMapCreated instance
|
|
3637
|
+
*/
|
|
3638
|
+
public static create(properties?: IExperimentContentMapCreated): ExperimentContentMapCreated;
|
|
3639
|
+
|
|
3640
|
+
/**
|
|
3641
|
+
* Encodes the specified ExperimentContentMapCreated message. Does not implicitly {@link ExperimentContentMapCreated.verify|verify} messages.
|
|
3642
|
+
* @param message ExperimentContentMapCreated message or plain object to encode
|
|
3643
|
+
* @param [writer] Writer to encode to
|
|
3644
|
+
* @returns Writer
|
|
3645
|
+
*/
|
|
3646
|
+
public static encode(message: IExperimentContentMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Encodes the specified ExperimentContentMapCreated message, length delimited. Does not implicitly {@link ExperimentContentMapCreated.verify|verify} messages.
|
|
3650
|
+
* @param message ExperimentContentMapCreated message or plain object to encode
|
|
3651
|
+
* @param [writer] Writer to encode to
|
|
3652
|
+
* @returns Writer
|
|
3653
|
+
*/
|
|
3654
|
+
public static encodeDelimited(message: IExperimentContentMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3655
|
+
|
|
3656
|
+
/**
|
|
3657
|
+
* Decodes an ExperimentContentMapCreated message from the specified reader or buffer.
|
|
3658
|
+
* @param reader Reader or buffer to decode from
|
|
3659
|
+
* @param [length] Message length if known beforehand
|
|
3660
|
+
* @returns ExperimentContentMapCreated
|
|
3661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3663
|
+
*/
|
|
3664
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ExperimentContentMapCreated;
|
|
3665
|
+
|
|
3666
|
+
/**
|
|
3667
|
+
* Decodes an ExperimentContentMapCreated message from the specified reader or buffer, length delimited.
|
|
3668
|
+
* @param reader Reader or buffer to decode from
|
|
3669
|
+
* @returns ExperimentContentMapCreated
|
|
3670
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3671
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3672
|
+
*/
|
|
3673
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ExperimentContentMapCreated;
|
|
3674
|
+
|
|
3675
|
+
/**
|
|
3676
|
+
* Verifies an ExperimentContentMapCreated message.
|
|
3677
|
+
* @param message Plain object to verify
|
|
3678
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3679
|
+
*/
|
|
3680
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* Creates an ExperimentContentMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
3684
|
+
* @param object Plain object
|
|
3685
|
+
* @returns ExperimentContentMapCreated
|
|
3686
|
+
*/
|
|
3687
|
+
public static fromObject(object: { [k: string]: any }): ExperimentContentMapCreated;
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* Creates a plain object from an ExperimentContentMapCreated message. Also converts values to other types if specified.
|
|
3691
|
+
* @param message ExperimentContentMapCreated
|
|
3692
|
+
* @param [options] Conversion options
|
|
3693
|
+
* @returns Plain object
|
|
3694
|
+
*/
|
|
3695
|
+
public static toObject(message: ExperimentContentMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* Converts this ExperimentContentMapCreated to JSON.
|
|
3699
|
+
* @returns JSON object
|
|
3700
|
+
*/
|
|
3701
|
+
public toJSON(): { [k: string]: any };
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
/** Properties of an ExperimentContentMapUpdated. */
|
|
3705
|
+
export interface IExperimentContentMapUpdated {
|
|
3706
|
+
|
|
3707
|
+
/** ExperimentContentMapUpdated experimentName */
|
|
3708
|
+
experimentName?: (string|null);
|
|
3709
|
+
|
|
3710
|
+
/** ExperimentContentMapUpdated variationName */
|
|
3711
|
+
variationName?: (string|null);
|
|
3712
|
+
|
|
3713
|
+
/** ExperimentContentMapUpdated contentIdList */
|
|
3714
|
+
contentIdList?: (string|null);
|
|
3715
|
+
|
|
3716
|
+
/** ExperimentContentMapUpdated updatedAt */
|
|
3717
|
+
updatedAt?: (number|Long|null);
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
/** Represents an ExperimentContentMapUpdated. */
|
|
3721
|
+
export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated {
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* Constructs a new ExperimentContentMapUpdated.
|
|
3725
|
+
* @param [properties] Properties to set
|
|
3726
|
+
*/
|
|
3727
|
+
constructor(properties?: IExperimentContentMapUpdated);
|
|
3728
|
+
|
|
3729
|
+
/** ExperimentContentMapUpdated experimentName. */
|
|
3730
|
+
public experimentName: string;
|
|
3731
|
+
|
|
3732
|
+
/** ExperimentContentMapUpdated variationName. */
|
|
3733
|
+
public variationName: string;
|
|
3734
|
+
|
|
3735
|
+
/** ExperimentContentMapUpdated contentIdList. */
|
|
3736
|
+
public contentIdList: string;
|
|
3737
|
+
|
|
3738
|
+
/** ExperimentContentMapUpdated updatedAt. */
|
|
3739
|
+
public updatedAt: (number|Long);
|
|
3740
|
+
|
|
3741
|
+
/**
|
|
3742
|
+
* Creates a new ExperimentContentMapUpdated instance using the specified properties.
|
|
3743
|
+
* @param [properties] Properties to set
|
|
3744
|
+
* @returns ExperimentContentMapUpdated instance
|
|
3745
|
+
*/
|
|
3746
|
+
public static create(properties?: IExperimentContentMapUpdated): ExperimentContentMapUpdated;
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* Encodes the specified ExperimentContentMapUpdated message. Does not implicitly {@link ExperimentContentMapUpdated.verify|verify} messages.
|
|
3750
|
+
* @param message ExperimentContentMapUpdated message or plain object to encode
|
|
3751
|
+
* @param [writer] Writer to encode to
|
|
3752
|
+
* @returns Writer
|
|
3753
|
+
*/
|
|
3754
|
+
public static encode(message: IExperimentContentMapUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Encodes the specified ExperimentContentMapUpdated message, length delimited. Does not implicitly {@link ExperimentContentMapUpdated.verify|verify} messages.
|
|
3758
|
+
* @param message ExperimentContentMapUpdated message or plain object to encode
|
|
3759
|
+
* @param [writer] Writer to encode to
|
|
3760
|
+
* @returns Writer
|
|
3761
|
+
*/
|
|
3762
|
+
public static encodeDelimited(message: IExperimentContentMapUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3763
|
+
|
|
3764
|
+
/**
|
|
3765
|
+
* Decodes an ExperimentContentMapUpdated message from the specified reader or buffer.
|
|
3766
|
+
* @param reader Reader or buffer to decode from
|
|
3767
|
+
* @param [length] Message length if known beforehand
|
|
3768
|
+
* @returns ExperimentContentMapUpdated
|
|
3769
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3770
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3771
|
+
*/
|
|
3772
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ExperimentContentMapUpdated;
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Decodes an ExperimentContentMapUpdated message from the specified reader or buffer, length delimited.
|
|
3776
|
+
* @param reader Reader or buffer to decode from
|
|
3777
|
+
* @returns ExperimentContentMapUpdated
|
|
3778
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3779
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3780
|
+
*/
|
|
3781
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ExperimentContentMapUpdated;
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* Verifies an ExperimentContentMapUpdated message.
|
|
3785
|
+
* @param message Plain object to verify
|
|
3786
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3787
|
+
*/
|
|
3788
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* Creates an ExperimentContentMapUpdated message from a plain object. Also converts values to their respective internal types.
|
|
3792
|
+
* @param object Plain object
|
|
3793
|
+
* @returns ExperimentContentMapUpdated
|
|
3794
|
+
*/
|
|
3795
|
+
public static fromObject(object: { [k: string]: any }): ExperimentContentMapUpdated;
|
|
3796
|
+
|
|
3797
|
+
/**
|
|
3798
|
+
* Creates a plain object from an ExperimentContentMapUpdated message. Also converts values to other types if specified.
|
|
3799
|
+
* @param message ExperimentContentMapUpdated
|
|
3800
|
+
* @param [options] Conversion options
|
|
3801
|
+
* @returns Plain object
|
|
3802
|
+
*/
|
|
3803
|
+
public static toObject(message: ExperimentContentMapUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3804
|
+
|
|
3805
|
+
/**
|
|
3806
|
+
* Converts this ExperimentContentMapUpdated to JSON.
|
|
3807
|
+
* @returns JSON object
|
|
3808
|
+
*/
|
|
3809
|
+
public toJSON(): { [k: string]: any };
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3596
3812
|
/** Properties of a ReferralSignedUp. */
|
|
3597
3813
|
export interface IReferralSignedUp {
|
|
3598
3814
|
|
package/lib/index.js
CHANGED
|
@@ -8675,6 +8675,542 @@ $root.UserEnabledWakeupNotifications = (function() {
|
|
|
8675
8675
|
return UserEnabledWakeupNotifications;
|
|
8676
8676
|
})();
|
|
8677
8677
|
|
|
8678
|
+
$root.ExperimentContentMapCreated = (function() {
|
|
8679
|
+
|
|
8680
|
+
/**
|
|
8681
|
+
* Properties of an ExperimentContentMapCreated.
|
|
8682
|
+
* @exports IExperimentContentMapCreated
|
|
8683
|
+
* @interface IExperimentContentMapCreated
|
|
8684
|
+
* @property {string|null} [experimentName] ExperimentContentMapCreated experimentName
|
|
8685
|
+
* @property {string|null} [variationName] ExperimentContentMapCreated variationName
|
|
8686
|
+
* @property {string|null} [contentIdList] ExperimentContentMapCreated contentIdList
|
|
8687
|
+
* @property {number|Long|null} [createdAt] ExperimentContentMapCreated createdAt
|
|
8688
|
+
*/
|
|
8689
|
+
|
|
8690
|
+
/**
|
|
8691
|
+
* Constructs a new ExperimentContentMapCreated.
|
|
8692
|
+
* @exports ExperimentContentMapCreated
|
|
8693
|
+
* @classdesc Represents an ExperimentContentMapCreated.
|
|
8694
|
+
* @implements IExperimentContentMapCreated
|
|
8695
|
+
* @constructor
|
|
8696
|
+
* @param {IExperimentContentMapCreated=} [properties] Properties to set
|
|
8697
|
+
*/
|
|
8698
|
+
function ExperimentContentMapCreated(properties) {
|
|
8699
|
+
if (properties)
|
|
8700
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
8701
|
+
if (properties[keys[i]] != null)
|
|
8702
|
+
this[keys[i]] = properties[keys[i]];
|
|
8703
|
+
}
|
|
8704
|
+
|
|
8705
|
+
/**
|
|
8706
|
+
* ExperimentContentMapCreated experimentName.
|
|
8707
|
+
* @member {string} experimentName
|
|
8708
|
+
* @memberof ExperimentContentMapCreated
|
|
8709
|
+
* @instance
|
|
8710
|
+
*/
|
|
8711
|
+
ExperimentContentMapCreated.prototype.experimentName = "";
|
|
8712
|
+
|
|
8713
|
+
/**
|
|
8714
|
+
* ExperimentContentMapCreated variationName.
|
|
8715
|
+
* @member {string} variationName
|
|
8716
|
+
* @memberof ExperimentContentMapCreated
|
|
8717
|
+
* @instance
|
|
8718
|
+
*/
|
|
8719
|
+
ExperimentContentMapCreated.prototype.variationName = "";
|
|
8720
|
+
|
|
8721
|
+
/**
|
|
8722
|
+
* ExperimentContentMapCreated contentIdList.
|
|
8723
|
+
* @member {string} contentIdList
|
|
8724
|
+
* @memberof ExperimentContentMapCreated
|
|
8725
|
+
* @instance
|
|
8726
|
+
*/
|
|
8727
|
+
ExperimentContentMapCreated.prototype.contentIdList = "";
|
|
8728
|
+
|
|
8729
|
+
/**
|
|
8730
|
+
* ExperimentContentMapCreated createdAt.
|
|
8731
|
+
* @member {number|Long} createdAt
|
|
8732
|
+
* @memberof ExperimentContentMapCreated
|
|
8733
|
+
* @instance
|
|
8734
|
+
*/
|
|
8735
|
+
ExperimentContentMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
8736
|
+
|
|
8737
|
+
/**
|
|
8738
|
+
* Creates a new ExperimentContentMapCreated instance using the specified properties.
|
|
8739
|
+
* @function create
|
|
8740
|
+
* @memberof ExperimentContentMapCreated
|
|
8741
|
+
* @static
|
|
8742
|
+
* @param {IExperimentContentMapCreated=} [properties] Properties to set
|
|
8743
|
+
* @returns {ExperimentContentMapCreated} ExperimentContentMapCreated instance
|
|
8744
|
+
*/
|
|
8745
|
+
ExperimentContentMapCreated.create = function create(properties) {
|
|
8746
|
+
return new ExperimentContentMapCreated(properties);
|
|
8747
|
+
};
|
|
8748
|
+
|
|
8749
|
+
/**
|
|
8750
|
+
* Encodes the specified ExperimentContentMapCreated message. Does not implicitly {@link ExperimentContentMapCreated.verify|verify} messages.
|
|
8751
|
+
* @function encode
|
|
8752
|
+
* @memberof ExperimentContentMapCreated
|
|
8753
|
+
* @static
|
|
8754
|
+
* @param {IExperimentContentMapCreated} message ExperimentContentMapCreated message or plain object to encode
|
|
8755
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
8756
|
+
* @returns {$protobuf.Writer} Writer
|
|
8757
|
+
*/
|
|
8758
|
+
ExperimentContentMapCreated.encode = function encode(message, writer) {
|
|
8759
|
+
if (!writer)
|
|
8760
|
+
writer = $Writer.create();
|
|
8761
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
8762
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.experimentName);
|
|
8763
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
8764
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
|
|
8765
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8766
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.contentIdList);
|
|
8767
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
8768
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
|
|
8769
|
+
return writer;
|
|
8770
|
+
};
|
|
8771
|
+
|
|
8772
|
+
/**
|
|
8773
|
+
* Encodes the specified ExperimentContentMapCreated message, length delimited. Does not implicitly {@link ExperimentContentMapCreated.verify|verify} messages.
|
|
8774
|
+
* @function encodeDelimited
|
|
8775
|
+
* @memberof ExperimentContentMapCreated
|
|
8776
|
+
* @static
|
|
8777
|
+
* @param {IExperimentContentMapCreated} message ExperimentContentMapCreated message or plain object to encode
|
|
8778
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
8779
|
+
* @returns {$protobuf.Writer} Writer
|
|
8780
|
+
*/
|
|
8781
|
+
ExperimentContentMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
8782
|
+
return this.encode(message, writer).ldelim();
|
|
8783
|
+
};
|
|
8784
|
+
|
|
8785
|
+
/**
|
|
8786
|
+
* Decodes an ExperimentContentMapCreated message from the specified reader or buffer.
|
|
8787
|
+
* @function decode
|
|
8788
|
+
* @memberof ExperimentContentMapCreated
|
|
8789
|
+
* @static
|
|
8790
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8791
|
+
* @param {number} [length] Message length if known beforehand
|
|
8792
|
+
* @returns {ExperimentContentMapCreated} ExperimentContentMapCreated
|
|
8793
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8794
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8795
|
+
*/
|
|
8796
|
+
ExperimentContentMapCreated.decode = function decode(reader, length) {
|
|
8797
|
+
if (!(reader instanceof $Reader))
|
|
8798
|
+
reader = $Reader.create(reader);
|
|
8799
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ExperimentContentMapCreated();
|
|
8800
|
+
while (reader.pos < end) {
|
|
8801
|
+
var tag = reader.uint32();
|
|
8802
|
+
switch (tag >>> 3) {
|
|
8803
|
+
case 1:
|
|
8804
|
+
message.experimentName = reader.string();
|
|
8805
|
+
break;
|
|
8806
|
+
case 2:
|
|
8807
|
+
message.variationName = reader.string();
|
|
8808
|
+
break;
|
|
8809
|
+
case 3:
|
|
8810
|
+
message.contentIdList = reader.string();
|
|
8811
|
+
break;
|
|
8812
|
+
case 4:
|
|
8813
|
+
message.createdAt = reader.uint64();
|
|
8814
|
+
break;
|
|
8815
|
+
default:
|
|
8816
|
+
reader.skipType(tag & 7);
|
|
8817
|
+
break;
|
|
8818
|
+
}
|
|
8819
|
+
}
|
|
8820
|
+
return message;
|
|
8821
|
+
};
|
|
8822
|
+
|
|
8823
|
+
/**
|
|
8824
|
+
* Decodes an ExperimentContentMapCreated message from the specified reader or buffer, length delimited.
|
|
8825
|
+
* @function decodeDelimited
|
|
8826
|
+
* @memberof ExperimentContentMapCreated
|
|
8827
|
+
* @static
|
|
8828
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8829
|
+
* @returns {ExperimentContentMapCreated} ExperimentContentMapCreated
|
|
8830
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8831
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8832
|
+
*/
|
|
8833
|
+
ExperimentContentMapCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
8834
|
+
if (!(reader instanceof $Reader))
|
|
8835
|
+
reader = new $Reader(reader);
|
|
8836
|
+
return this.decode(reader, reader.uint32());
|
|
8837
|
+
};
|
|
8838
|
+
|
|
8839
|
+
/**
|
|
8840
|
+
* Verifies an ExperimentContentMapCreated message.
|
|
8841
|
+
* @function verify
|
|
8842
|
+
* @memberof ExperimentContentMapCreated
|
|
8843
|
+
* @static
|
|
8844
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
8845
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
8846
|
+
*/
|
|
8847
|
+
ExperimentContentMapCreated.verify = function verify(message) {
|
|
8848
|
+
if (typeof message !== "object" || message === null)
|
|
8849
|
+
return "object expected";
|
|
8850
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
8851
|
+
if (!$util.isString(message.experimentName))
|
|
8852
|
+
return "experimentName: string expected";
|
|
8853
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
8854
|
+
if (!$util.isString(message.variationName))
|
|
8855
|
+
return "variationName: string expected";
|
|
8856
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8857
|
+
if (!$util.isString(message.contentIdList))
|
|
8858
|
+
return "contentIdList: string expected";
|
|
8859
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
8860
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
8861
|
+
return "createdAt: integer|Long expected";
|
|
8862
|
+
return null;
|
|
8863
|
+
};
|
|
8864
|
+
|
|
8865
|
+
/**
|
|
8866
|
+
* Creates an ExperimentContentMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
8867
|
+
* @function fromObject
|
|
8868
|
+
* @memberof ExperimentContentMapCreated
|
|
8869
|
+
* @static
|
|
8870
|
+
* @param {Object.<string,*>} object Plain object
|
|
8871
|
+
* @returns {ExperimentContentMapCreated} ExperimentContentMapCreated
|
|
8872
|
+
*/
|
|
8873
|
+
ExperimentContentMapCreated.fromObject = function fromObject(object) {
|
|
8874
|
+
if (object instanceof $root.ExperimentContentMapCreated)
|
|
8875
|
+
return object;
|
|
8876
|
+
var message = new $root.ExperimentContentMapCreated();
|
|
8877
|
+
if (object.experimentName != null)
|
|
8878
|
+
message.experimentName = String(object.experimentName);
|
|
8879
|
+
if (object.variationName != null)
|
|
8880
|
+
message.variationName = String(object.variationName);
|
|
8881
|
+
if (object.contentIdList != null)
|
|
8882
|
+
message.contentIdList = String(object.contentIdList);
|
|
8883
|
+
if (object.createdAt != null)
|
|
8884
|
+
if ($util.Long)
|
|
8885
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
8886
|
+
else if (typeof object.createdAt === "string")
|
|
8887
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
8888
|
+
else if (typeof object.createdAt === "number")
|
|
8889
|
+
message.createdAt = object.createdAt;
|
|
8890
|
+
else if (typeof object.createdAt === "object")
|
|
8891
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
8892
|
+
return message;
|
|
8893
|
+
};
|
|
8894
|
+
|
|
8895
|
+
/**
|
|
8896
|
+
* Creates a plain object from an ExperimentContentMapCreated message. Also converts values to other types if specified.
|
|
8897
|
+
* @function toObject
|
|
8898
|
+
* @memberof ExperimentContentMapCreated
|
|
8899
|
+
* @static
|
|
8900
|
+
* @param {ExperimentContentMapCreated} message ExperimentContentMapCreated
|
|
8901
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
8902
|
+
* @returns {Object.<string,*>} Plain object
|
|
8903
|
+
*/
|
|
8904
|
+
ExperimentContentMapCreated.toObject = function toObject(message, options) {
|
|
8905
|
+
if (!options)
|
|
8906
|
+
options = {};
|
|
8907
|
+
var object = {};
|
|
8908
|
+
if (options.defaults) {
|
|
8909
|
+
object.experimentName = "";
|
|
8910
|
+
object.variationName = "";
|
|
8911
|
+
object.contentIdList = "";
|
|
8912
|
+
if ($util.Long) {
|
|
8913
|
+
var long = new $util.Long(0, 0, true);
|
|
8914
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8915
|
+
} else
|
|
8916
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
8917
|
+
}
|
|
8918
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
8919
|
+
object.experimentName = message.experimentName;
|
|
8920
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
8921
|
+
object.variationName = message.variationName;
|
|
8922
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8923
|
+
object.contentIdList = message.contentIdList;
|
|
8924
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
8925
|
+
if (typeof message.createdAt === "number")
|
|
8926
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
8927
|
+
else
|
|
8928
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
8929
|
+
return object;
|
|
8930
|
+
};
|
|
8931
|
+
|
|
8932
|
+
/**
|
|
8933
|
+
* Converts this ExperimentContentMapCreated to JSON.
|
|
8934
|
+
* @function toJSON
|
|
8935
|
+
* @memberof ExperimentContentMapCreated
|
|
8936
|
+
* @instance
|
|
8937
|
+
* @returns {Object.<string,*>} JSON object
|
|
8938
|
+
*/
|
|
8939
|
+
ExperimentContentMapCreated.prototype.toJSON = function toJSON() {
|
|
8940
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8941
|
+
};
|
|
8942
|
+
|
|
8943
|
+
return ExperimentContentMapCreated;
|
|
8944
|
+
})();
|
|
8945
|
+
|
|
8946
|
+
$root.ExperimentContentMapUpdated = (function() {
|
|
8947
|
+
|
|
8948
|
+
/**
|
|
8949
|
+
* Properties of an ExperimentContentMapUpdated.
|
|
8950
|
+
* @exports IExperimentContentMapUpdated
|
|
8951
|
+
* @interface IExperimentContentMapUpdated
|
|
8952
|
+
* @property {string|null} [experimentName] ExperimentContentMapUpdated experimentName
|
|
8953
|
+
* @property {string|null} [variationName] ExperimentContentMapUpdated variationName
|
|
8954
|
+
* @property {string|null} [contentIdList] ExperimentContentMapUpdated contentIdList
|
|
8955
|
+
* @property {number|Long|null} [updatedAt] ExperimentContentMapUpdated updatedAt
|
|
8956
|
+
*/
|
|
8957
|
+
|
|
8958
|
+
/**
|
|
8959
|
+
* Constructs a new ExperimentContentMapUpdated.
|
|
8960
|
+
* @exports ExperimentContentMapUpdated
|
|
8961
|
+
* @classdesc Represents an ExperimentContentMapUpdated.
|
|
8962
|
+
* @implements IExperimentContentMapUpdated
|
|
8963
|
+
* @constructor
|
|
8964
|
+
* @param {IExperimentContentMapUpdated=} [properties] Properties to set
|
|
8965
|
+
*/
|
|
8966
|
+
function ExperimentContentMapUpdated(properties) {
|
|
8967
|
+
if (properties)
|
|
8968
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
8969
|
+
if (properties[keys[i]] != null)
|
|
8970
|
+
this[keys[i]] = properties[keys[i]];
|
|
8971
|
+
}
|
|
8972
|
+
|
|
8973
|
+
/**
|
|
8974
|
+
* ExperimentContentMapUpdated experimentName.
|
|
8975
|
+
* @member {string} experimentName
|
|
8976
|
+
* @memberof ExperimentContentMapUpdated
|
|
8977
|
+
* @instance
|
|
8978
|
+
*/
|
|
8979
|
+
ExperimentContentMapUpdated.prototype.experimentName = "";
|
|
8980
|
+
|
|
8981
|
+
/**
|
|
8982
|
+
* ExperimentContentMapUpdated variationName.
|
|
8983
|
+
* @member {string} variationName
|
|
8984
|
+
* @memberof ExperimentContentMapUpdated
|
|
8985
|
+
* @instance
|
|
8986
|
+
*/
|
|
8987
|
+
ExperimentContentMapUpdated.prototype.variationName = "";
|
|
8988
|
+
|
|
8989
|
+
/**
|
|
8990
|
+
* ExperimentContentMapUpdated contentIdList.
|
|
8991
|
+
* @member {string} contentIdList
|
|
8992
|
+
* @memberof ExperimentContentMapUpdated
|
|
8993
|
+
* @instance
|
|
8994
|
+
*/
|
|
8995
|
+
ExperimentContentMapUpdated.prototype.contentIdList = "";
|
|
8996
|
+
|
|
8997
|
+
/**
|
|
8998
|
+
* ExperimentContentMapUpdated updatedAt.
|
|
8999
|
+
* @member {number|Long} updatedAt
|
|
9000
|
+
* @memberof ExperimentContentMapUpdated
|
|
9001
|
+
* @instance
|
|
9002
|
+
*/
|
|
9003
|
+
ExperimentContentMapUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
9004
|
+
|
|
9005
|
+
/**
|
|
9006
|
+
* Creates a new ExperimentContentMapUpdated instance using the specified properties.
|
|
9007
|
+
* @function create
|
|
9008
|
+
* @memberof ExperimentContentMapUpdated
|
|
9009
|
+
* @static
|
|
9010
|
+
* @param {IExperimentContentMapUpdated=} [properties] Properties to set
|
|
9011
|
+
* @returns {ExperimentContentMapUpdated} ExperimentContentMapUpdated instance
|
|
9012
|
+
*/
|
|
9013
|
+
ExperimentContentMapUpdated.create = function create(properties) {
|
|
9014
|
+
return new ExperimentContentMapUpdated(properties);
|
|
9015
|
+
};
|
|
9016
|
+
|
|
9017
|
+
/**
|
|
9018
|
+
* Encodes the specified ExperimentContentMapUpdated message. Does not implicitly {@link ExperimentContentMapUpdated.verify|verify} messages.
|
|
9019
|
+
* @function encode
|
|
9020
|
+
* @memberof ExperimentContentMapUpdated
|
|
9021
|
+
* @static
|
|
9022
|
+
* @param {IExperimentContentMapUpdated} message ExperimentContentMapUpdated message or plain object to encode
|
|
9023
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9024
|
+
* @returns {$protobuf.Writer} Writer
|
|
9025
|
+
*/
|
|
9026
|
+
ExperimentContentMapUpdated.encode = function encode(message, writer) {
|
|
9027
|
+
if (!writer)
|
|
9028
|
+
writer = $Writer.create();
|
|
9029
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9030
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.experimentName);
|
|
9031
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9032
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
|
|
9033
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
9034
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.contentIdList);
|
|
9035
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
9036
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
|
|
9037
|
+
return writer;
|
|
9038
|
+
};
|
|
9039
|
+
|
|
9040
|
+
/**
|
|
9041
|
+
* Encodes the specified ExperimentContentMapUpdated message, length delimited. Does not implicitly {@link ExperimentContentMapUpdated.verify|verify} messages.
|
|
9042
|
+
* @function encodeDelimited
|
|
9043
|
+
* @memberof ExperimentContentMapUpdated
|
|
9044
|
+
* @static
|
|
9045
|
+
* @param {IExperimentContentMapUpdated} message ExperimentContentMapUpdated message or plain object to encode
|
|
9046
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9047
|
+
* @returns {$protobuf.Writer} Writer
|
|
9048
|
+
*/
|
|
9049
|
+
ExperimentContentMapUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9050
|
+
return this.encode(message, writer).ldelim();
|
|
9051
|
+
};
|
|
9052
|
+
|
|
9053
|
+
/**
|
|
9054
|
+
* Decodes an ExperimentContentMapUpdated message from the specified reader or buffer.
|
|
9055
|
+
* @function decode
|
|
9056
|
+
* @memberof ExperimentContentMapUpdated
|
|
9057
|
+
* @static
|
|
9058
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9059
|
+
* @param {number} [length] Message length if known beforehand
|
|
9060
|
+
* @returns {ExperimentContentMapUpdated} ExperimentContentMapUpdated
|
|
9061
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9062
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9063
|
+
*/
|
|
9064
|
+
ExperimentContentMapUpdated.decode = function decode(reader, length) {
|
|
9065
|
+
if (!(reader instanceof $Reader))
|
|
9066
|
+
reader = $Reader.create(reader);
|
|
9067
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ExperimentContentMapUpdated();
|
|
9068
|
+
while (reader.pos < end) {
|
|
9069
|
+
var tag = reader.uint32();
|
|
9070
|
+
switch (tag >>> 3) {
|
|
9071
|
+
case 1:
|
|
9072
|
+
message.experimentName = reader.string();
|
|
9073
|
+
break;
|
|
9074
|
+
case 2:
|
|
9075
|
+
message.variationName = reader.string();
|
|
9076
|
+
break;
|
|
9077
|
+
case 3:
|
|
9078
|
+
message.contentIdList = reader.string();
|
|
9079
|
+
break;
|
|
9080
|
+
case 4:
|
|
9081
|
+
message.updatedAt = reader.uint64();
|
|
9082
|
+
break;
|
|
9083
|
+
default:
|
|
9084
|
+
reader.skipType(tag & 7);
|
|
9085
|
+
break;
|
|
9086
|
+
}
|
|
9087
|
+
}
|
|
9088
|
+
return message;
|
|
9089
|
+
};
|
|
9090
|
+
|
|
9091
|
+
/**
|
|
9092
|
+
* Decodes an ExperimentContentMapUpdated message from the specified reader or buffer, length delimited.
|
|
9093
|
+
* @function decodeDelimited
|
|
9094
|
+
* @memberof ExperimentContentMapUpdated
|
|
9095
|
+
* @static
|
|
9096
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9097
|
+
* @returns {ExperimentContentMapUpdated} ExperimentContentMapUpdated
|
|
9098
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9099
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9100
|
+
*/
|
|
9101
|
+
ExperimentContentMapUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
9102
|
+
if (!(reader instanceof $Reader))
|
|
9103
|
+
reader = new $Reader(reader);
|
|
9104
|
+
return this.decode(reader, reader.uint32());
|
|
9105
|
+
};
|
|
9106
|
+
|
|
9107
|
+
/**
|
|
9108
|
+
* Verifies an ExperimentContentMapUpdated message.
|
|
9109
|
+
* @function verify
|
|
9110
|
+
* @memberof ExperimentContentMapUpdated
|
|
9111
|
+
* @static
|
|
9112
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
9113
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9114
|
+
*/
|
|
9115
|
+
ExperimentContentMapUpdated.verify = function verify(message) {
|
|
9116
|
+
if (typeof message !== "object" || message === null)
|
|
9117
|
+
return "object expected";
|
|
9118
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9119
|
+
if (!$util.isString(message.experimentName))
|
|
9120
|
+
return "experimentName: string expected";
|
|
9121
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9122
|
+
if (!$util.isString(message.variationName))
|
|
9123
|
+
return "variationName: string expected";
|
|
9124
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
9125
|
+
if (!$util.isString(message.contentIdList))
|
|
9126
|
+
return "contentIdList: string expected";
|
|
9127
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
9128
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
9129
|
+
return "updatedAt: integer|Long expected";
|
|
9130
|
+
return null;
|
|
9131
|
+
};
|
|
9132
|
+
|
|
9133
|
+
/**
|
|
9134
|
+
* Creates an ExperimentContentMapUpdated message from a plain object. Also converts values to their respective internal types.
|
|
9135
|
+
* @function fromObject
|
|
9136
|
+
* @memberof ExperimentContentMapUpdated
|
|
9137
|
+
* @static
|
|
9138
|
+
* @param {Object.<string,*>} object Plain object
|
|
9139
|
+
* @returns {ExperimentContentMapUpdated} ExperimentContentMapUpdated
|
|
9140
|
+
*/
|
|
9141
|
+
ExperimentContentMapUpdated.fromObject = function fromObject(object) {
|
|
9142
|
+
if (object instanceof $root.ExperimentContentMapUpdated)
|
|
9143
|
+
return object;
|
|
9144
|
+
var message = new $root.ExperimentContentMapUpdated();
|
|
9145
|
+
if (object.experimentName != null)
|
|
9146
|
+
message.experimentName = String(object.experimentName);
|
|
9147
|
+
if (object.variationName != null)
|
|
9148
|
+
message.variationName = String(object.variationName);
|
|
9149
|
+
if (object.contentIdList != null)
|
|
9150
|
+
message.contentIdList = String(object.contentIdList);
|
|
9151
|
+
if (object.updatedAt != null)
|
|
9152
|
+
if ($util.Long)
|
|
9153
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
9154
|
+
else if (typeof object.updatedAt === "string")
|
|
9155
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
9156
|
+
else if (typeof object.updatedAt === "number")
|
|
9157
|
+
message.updatedAt = object.updatedAt;
|
|
9158
|
+
else if (typeof object.updatedAt === "object")
|
|
9159
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
9160
|
+
return message;
|
|
9161
|
+
};
|
|
9162
|
+
|
|
9163
|
+
/**
|
|
9164
|
+
* Creates a plain object from an ExperimentContentMapUpdated message. Also converts values to other types if specified.
|
|
9165
|
+
* @function toObject
|
|
9166
|
+
* @memberof ExperimentContentMapUpdated
|
|
9167
|
+
* @static
|
|
9168
|
+
* @param {ExperimentContentMapUpdated} message ExperimentContentMapUpdated
|
|
9169
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9170
|
+
* @returns {Object.<string,*>} Plain object
|
|
9171
|
+
*/
|
|
9172
|
+
ExperimentContentMapUpdated.toObject = function toObject(message, options) {
|
|
9173
|
+
if (!options)
|
|
9174
|
+
options = {};
|
|
9175
|
+
var object = {};
|
|
9176
|
+
if (options.defaults) {
|
|
9177
|
+
object.experimentName = "";
|
|
9178
|
+
object.variationName = "";
|
|
9179
|
+
object.contentIdList = "";
|
|
9180
|
+
if ($util.Long) {
|
|
9181
|
+
var long = new $util.Long(0, 0, true);
|
|
9182
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
9183
|
+
} else
|
|
9184
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
9185
|
+
}
|
|
9186
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9187
|
+
object.experimentName = message.experimentName;
|
|
9188
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9189
|
+
object.variationName = message.variationName;
|
|
9190
|
+
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
9191
|
+
object.contentIdList = message.contentIdList;
|
|
9192
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
9193
|
+
if (typeof message.updatedAt === "number")
|
|
9194
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
9195
|
+
else
|
|
9196
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
9197
|
+
return object;
|
|
9198
|
+
};
|
|
9199
|
+
|
|
9200
|
+
/**
|
|
9201
|
+
* Converts this ExperimentContentMapUpdated to JSON.
|
|
9202
|
+
* @function toJSON
|
|
9203
|
+
* @memberof ExperimentContentMapUpdated
|
|
9204
|
+
* @instance
|
|
9205
|
+
* @returns {Object.<string,*>} JSON object
|
|
9206
|
+
*/
|
|
9207
|
+
ExperimentContentMapUpdated.prototype.toJSON = function toJSON() {
|
|
9208
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9209
|
+
};
|
|
9210
|
+
|
|
9211
|
+
return ExperimentContentMapUpdated;
|
|
9212
|
+
})();
|
|
9213
|
+
|
|
8678
9214
|
$root.ReferralSignedUp = (function() {
|
|
8679
9215
|
|
|
8680
9216
|
/**
|
package/package.json
CHANGED