@headspace/protos-events 1.64.0 → 1.66.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 +114 -0
- package/lib/index.js +318 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3604,6 +3604,9 @@ export interface IExperimentContentMapCreated {
|
|
|
3604
3604
|
|
|
3605
3605
|
/** ExperimentContentMapCreated contentIdList */
|
|
3606
3606
|
contentIdList?: (string|null);
|
|
3607
|
+
|
|
3608
|
+
/** ExperimentContentMapCreated createdAt */
|
|
3609
|
+
createdAt?: (number|Long|null);
|
|
3607
3610
|
}
|
|
3608
3611
|
|
|
3609
3612
|
/** Represents an ExperimentContentMapCreated. */
|
|
@@ -3624,6 +3627,9 @@ export class ExperimentContentMapCreated implements IExperimentContentMapCreated
|
|
|
3624
3627
|
/** ExperimentContentMapCreated contentIdList. */
|
|
3625
3628
|
public contentIdList: string;
|
|
3626
3629
|
|
|
3630
|
+
/** ExperimentContentMapCreated createdAt. */
|
|
3631
|
+
public createdAt: (number|Long);
|
|
3632
|
+
|
|
3627
3633
|
/**
|
|
3628
3634
|
* Creates a new ExperimentContentMapCreated instance using the specified properties.
|
|
3629
3635
|
* @param [properties] Properties to set
|
|
@@ -3706,6 +3712,9 @@ export interface IExperimentContentMapUpdated {
|
|
|
3706
3712
|
|
|
3707
3713
|
/** ExperimentContentMapUpdated contentIdList */
|
|
3708
3714
|
contentIdList?: (string|null);
|
|
3715
|
+
|
|
3716
|
+
/** ExperimentContentMapUpdated updatedAt */
|
|
3717
|
+
updatedAt?: (number|Long|null);
|
|
3709
3718
|
}
|
|
3710
3719
|
|
|
3711
3720
|
/** Represents an ExperimentContentMapUpdated. */
|
|
@@ -3726,6 +3735,9 @@ export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated
|
|
|
3726
3735
|
/** ExperimentContentMapUpdated contentIdList. */
|
|
3727
3736
|
public contentIdList: string;
|
|
3728
3737
|
|
|
3738
|
+
/** ExperimentContentMapUpdated updatedAt. */
|
|
3739
|
+
public updatedAt: (number|Long);
|
|
3740
|
+
|
|
3729
3741
|
/**
|
|
3730
3742
|
* Creates a new ExperimentContentMapUpdated instance using the specified properties.
|
|
3731
3743
|
* @param [properties] Properties to set
|
|
@@ -3797,6 +3809,108 @@ export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated
|
|
|
3797
3809
|
public toJSON(): { [k: string]: any };
|
|
3798
3810
|
}
|
|
3799
3811
|
|
|
3812
|
+
/** Properties of an ExperimentContentMapDeleted. */
|
|
3813
|
+
export interface IExperimentContentMapDeleted {
|
|
3814
|
+
|
|
3815
|
+
/** ExperimentContentMapDeleted experimentName */
|
|
3816
|
+
experimentName?: (string|null);
|
|
3817
|
+
|
|
3818
|
+
/** ExperimentContentMapDeleted variationName */
|
|
3819
|
+
variationName?: (string|null);
|
|
3820
|
+
|
|
3821
|
+
/** ExperimentContentMapDeleted deletedAt */
|
|
3822
|
+
deletedAt?: (number|Long|null);
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
/** Represents an ExperimentContentMapDeleted. */
|
|
3826
|
+
export class ExperimentContentMapDeleted implements IExperimentContentMapDeleted {
|
|
3827
|
+
|
|
3828
|
+
/**
|
|
3829
|
+
* Constructs a new ExperimentContentMapDeleted.
|
|
3830
|
+
* @param [properties] Properties to set
|
|
3831
|
+
*/
|
|
3832
|
+
constructor(properties?: IExperimentContentMapDeleted);
|
|
3833
|
+
|
|
3834
|
+
/** ExperimentContentMapDeleted experimentName. */
|
|
3835
|
+
public experimentName: string;
|
|
3836
|
+
|
|
3837
|
+
/** ExperimentContentMapDeleted variationName. */
|
|
3838
|
+
public variationName: string;
|
|
3839
|
+
|
|
3840
|
+
/** ExperimentContentMapDeleted deletedAt. */
|
|
3841
|
+
public deletedAt: (number|Long);
|
|
3842
|
+
|
|
3843
|
+
/**
|
|
3844
|
+
* Creates a new ExperimentContentMapDeleted instance using the specified properties.
|
|
3845
|
+
* @param [properties] Properties to set
|
|
3846
|
+
* @returns ExperimentContentMapDeleted instance
|
|
3847
|
+
*/
|
|
3848
|
+
public static create(properties?: IExperimentContentMapDeleted): ExperimentContentMapDeleted;
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Encodes the specified ExperimentContentMapDeleted message. Does not implicitly {@link ExperimentContentMapDeleted.verify|verify} messages.
|
|
3852
|
+
* @param message ExperimentContentMapDeleted message or plain object to encode
|
|
3853
|
+
* @param [writer] Writer to encode to
|
|
3854
|
+
* @returns Writer
|
|
3855
|
+
*/
|
|
3856
|
+
public static encode(message: IExperimentContentMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* Encodes the specified ExperimentContentMapDeleted message, length delimited. Does not implicitly {@link ExperimentContentMapDeleted.verify|verify} messages.
|
|
3860
|
+
* @param message ExperimentContentMapDeleted message or plain object to encode
|
|
3861
|
+
* @param [writer] Writer to encode to
|
|
3862
|
+
* @returns Writer
|
|
3863
|
+
*/
|
|
3864
|
+
public static encodeDelimited(message: IExperimentContentMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3865
|
+
|
|
3866
|
+
/**
|
|
3867
|
+
* Decodes an ExperimentContentMapDeleted message from the specified reader or buffer.
|
|
3868
|
+
* @param reader Reader or buffer to decode from
|
|
3869
|
+
* @param [length] Message length if known beforehand
|
|
3870
|
+
* @returns ExperimentContentMapDeleted
|
|
3871
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3872
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3873
|
+
*/
|
|
3874
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ExperimentContentMapDeleted;
|
|
3875
|
+
|
|
3876
|
+
/**
|
|
3877
|
+
* Decodes an ExperimentContentMapDeleted message from the specified reader or buffer, length delimited.
|
|
3878
|
+
* @param reader Reader or buffer to decode from
|
|
3879
|
+
* @returns ExperimentContentMapDeleted
|
|
3880
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3881
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3882
|
+
*/
|
|
3883
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ExperimentContentMapDeleted;
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* Verifies an ExperimentContentMapDeleted message.
|
|
3887
|
+
* @param message Plain object to verify
|
|
3888
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3889
|
+
*/
|
|
3890
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* Creates an ExperimentContentMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
3894
|
+
* @param object Plain object
|
|
3895
|
+
* @returns ExperimentContentMapDeleted
|
|
3896
|
+
*/
|
|
3897
|
+
public static fromObject(object: { [k: string]: any }): ExperimentContentMapDeleted;
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* Creates a plain object from an ExperimentContentMapDeleted message. Also converts values to other types if specified.
|
|
3901
|
+
* @param message ExperimentContentMapDeleted
|
|
3902
|
+
* @param [options] Conversion options
|
|
3903
|
+
* @returns Plain object
|
|
3904
|
+
*/
|
|
3905
|
+
public static toObject(message: ExperimentContentMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* Converts this ExperimentContentMapDeleted to JSON.
|
|
3909
|
+
* @returns JSON object
|
|
3910
|
+
*/
|
|
3911
|
+
public toJSON(): { [k: string]: any };
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3800
3914
|
/** Properties of a ReferralSignedUp. */
|
|
3801
3915
|
export interface IReferralSignedUp {
|
|
3802
3916
|
|
package/lib/index.js
CHANGED
|
@@ -8684,6 +8684,7 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8684
8684
|
* @property {string|null} [experimentName] ExperimentContentMapCreated experimentName
|
|
8685
8685
|
* @property {string|null} [variationName] ExperimentContentMapCreated variationName
|
|
8686
8686
|
* @property {string|null} [contentIdList] ExperimentContentMapCreated contentIdList
|
|
8687
|
+
* @property {number|Long|null} [createdAt] ExperimentContentMapCreated createdAt
|
|
8687
8688
|
*/
|
|
8688
8689
|
|
|
8689
8690
|
/**
|
|
@@ -8725,6 +8726,14 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8725
8726
|
*/
|
|
8726
8727
|
ExperimentContentMapCreated.prototype.contentIdList = "";
|
|
8727
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
|
+
|
|
8728
8737
|
/**
|
|
8729
8738
|
* Creates a new ExperimentContentMapCreated instance using the specified properties.
|
|
8730
8739
|
* @function create
|
|
@@ -8755,6 +8764,8 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8755
8764
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
|
|
8756
8765
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8757
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);
|
|
8758
8769
|
return writer;
|
|
8759
8770
|
};
|
|
8760
8771
|
|
|
@@ -8798,6 +8809,9 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8798
8809
|
case 3:
|
|
8799
8810
|
message.contentIdList = reader.string();
|
|
8800
8811
|
break;
|
|
8812
|
+
case 4:
|
|
8813
|
+
message.createdAt = reader.uint64();
|
|
8814
|
+
break;
|
|
8801
8815
|
default:
|
|
8802
8816
|
reader.skipType(tag & 7);
|
|
8803
8817
|
break;
|
|
@@ -8842,6 +8856,9 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8842
8856
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8843
8857
|
if (!$util.isString(message.contentIdList))
|
|
8844
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";
|
|
8845
8862
|
return null;
|
|
8846
8863
|
};
|
|
8847
8864
|
|
|
@@ -8863,6 +8880,15 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8863
8880
|
message.variationName = String(object.variationName);
|
|
8864
8881
|
if (object.contentIdList != null)
|
|
8865
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);
|
|
8866
8892
|
return message;
|
|
8867
8893
|
};
|
|
8868
8894
|
|
|
@@ -8883,6 +8909,11 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8883
8909
|
object.experimentName = "";
|
|
8884
8910
|
object.variationName = "";
|
|
8885
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;
|
|
8886
8917
|
}
|
|
8887
8918
|
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
8888
8919
|
object.experimentName = message.experimentName;
|
|
@@ -8890,6 +8921,11 @@ $root.ExperimentContentMapCreated = (function() {
|
|
|
8890
8921
|
object.variationName = message.variationName;
|
|
8891
8922
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8892
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;
|
|
8893
8929
|
return object;
|
|
8894
8930
|
};
|
|
8895
8931
|
|
|
@@ -8916,6 +8952,7 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
8916
8952
|
* @property {string|null} [experimentName] ExperimentContentMapUpdated experimentName
|
|
8917
8953
|
* @property {string|null} [variationName] ExperimentContentMapUpdated variationName
|
|
8918
8954
|
* @property {string|null} [contentIdList] ExperimentContentMapUpdated contentIdList
|
|
8955
|
+
* @property {number|Long|null} [updatedAt] ExperimentContentMapUpdated updatedAt
|
|
8919
8956
|
*/
|
|
8920
8957
|
|
|
8921
8958
|
/**
|
|
@@ -8957,6 +8994,14 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
8957
8994
|
*/
|
|
8958
8995
|
ExperimentContentMapUpdated.prototype.contentIdList = "";
|
|
8959
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
|
+
|
|
8960
9005
|
/**
|
|
8961
9006
|
* Creates a new ExperimentContentMapUpdated instance using the specified properties.
|
|
8962
9007
|
* @function create
|
|
@@ -8987,6 +9032,8 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
8987
9032
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
|
|
8988
9033
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
8989
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);
|
|
8990
9037
|
return writer;
|
|
8991
9038
|
};
|
|
8992
9039
|
|
|
@@ -9030,6 +9077,9 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9030
9077
|
case 3:
|
|
9031
9078
|
message.contentIdList = reader.string();
|
|
9032
9079
|
break;
|
|
9080
|
+
case 4:
|
|
9081
|
+
message.updatedAt = reader.uint64();
|
|
9082
|
+
break;
|
|
9033
9083
|
default:
|
|
9034
9084
|
reader.skipType(tag & 7);
|
|
9035
9085
|
break;
|
|
@@ -9074,6 +9124,9 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9074
9124
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
9075
9125
|
if (!$util.isString(message.contentIdList))
|
|
9076
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";
|
|
9077
9130
|
return null;
|
|
9078
9131
|
};
|
|
9079
9132
|
|
|
@@ -9095,6 +9148,15 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9095
9148
|
message.variationName = String(object.variationName);
|
|
9096
9149
|
if (object.contentIdList != null)
|
|
9097
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);
|
|
9098
9160
|
return message;
|
|
9099
9161
|
};
|
|
9100
9162
|
|
|
@@ -9115,6 +9177,11 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9115
9177
|
object.experimentName = "";
|
|
9116
9178
|
object.variationName = "";
|
|
9117
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;
|
|
9118
9185
|
}
|
|
9119
9186
|
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9120
9187
|
object.experimentName = message.experimentName;
|
|
@@ -9122,6 +9189,11 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9122
9189
|
object.variationName = message.variationName;
|
|
9123
9190
|
if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
|
|
9124
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;
|
|
9125
9197
|
return object;
|
|
9126
9198
|
};
|
|
9127
9199
|
|
|
@@ -9139,6 +9211,252 @@ $root.ExperimentContentMapUpdated = (function() {
|
|
|
9139
9211
|
return ExperimentContentMapUpdated;
|
|
9140
9212
|
})();
|
|
9141
9213
|
|
|
9214
|
+
$root.ExperimentContentMapDeleted = (function() {
|
|
9215
|
+
|
|
9216
|
+
/**
|
|
9217
|
+
* Properties of an ExperimentContentMapDeleted.
|
|
9218
|
+
* @exports IExperimentContentMapDeleted
|
|
9219
|
+
* @interface IExperimentContentMapDeleted
|
|
9220
|
+
* @property {string|null} [experimentName] ExperimentContentMapDeleted experimentName
|
|
9221
|
+
* @property {string|null} [variationName] ExperimentContentMapDeleted variationName
|
|
9222
|
+
* @property {number|Long|null} [deletedAt] ExperimentContentMapDeleted deletedAt
|
|
9223
|
+
*/
|
|
9224
|
+
|
|
9225
|
+
/**
|
|
9226
|
+
* Constructs a new ExperimentContentMapDeleted.
|
|
9227
|
+
* @exports ExperimentContentMapDeleted
|
|
9228
|
+
* @classdesc Represents an ExperimentContentMapDeleted.
|
|
9229
|
+
* @implements IExperimentContentMapDeleted
|
|
9230
|
+
* @constructor
|
|
9231
|
+
* @param {IExperimentContentMapDeleted=} [properties] Properties to set
|
|
9232
|
+
*/
|
|
9233
|
+
function ExperimentContentMapDeleted(properties) {
|
|
9234
|
+
if (properties)
|
|
9235
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
9236
|
+
if (properties[keys[i]] != null)
|
|
9237
|
+
this[keys[i]] = properties[keys[i]];
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
/**
|
|
9241
|
+
* ExperimentContentMapDeleted experimentName.
|
|
9242
|
+
* @member {string} experimentName
|
|
9243
|
+
* @memberof ExperimentContentMapDeleted
|
|
9244
|
+
* @instance
|
|
9245
|
+
*/
|
|
9246
|
+
ExperimentContentMapDeleted.prototype.experimentName = "";
|
|
9247
|
+
|
|
9248
|
+
/**
|
|
9249
|
+
* ExperimentContentMapDeleted variationName.
|
|
9250
|
+
* @member {string} variationName
|
|
9251
|
+
* @memberof ExperimentContentMapDeleted
|
|
9252
|
+
* @instance
|
|
9253
|
+
*/
|
|
9254
|
+
ExperimentContentMapDeleted.prototype.variationName = "";
|
|
9255
|
+
|
|
9256
|
+
/**
|
|
9257
|
+
* ExperimentContentMapDeleted deletedAt.
|
|
9258
|
+
* @member {number|Long} deletedAt
|
|
9259
|
+
* @memberof ExperimentContentMapDeleted
|
|
9260
|
+
* @instance
|
|
9261
|
+
*/
|
|
9262
|
+
ExperimentContentMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
9263
|
+
|
|
9264
|
+
/**
|
|
9265
|
+
* Creates a new ExperimentContentMapDeleted instance using the specified properties.
|
|
9266
|
+
* @function create
|
|
9267
|
+
* @memberof ExperimentContentMapDeleted
|
|
9268
|
+
* @static
|
|
9269
|
+
* @param {IExperimentContentMapDeleted=} [properties] Properties to set
|
|
9270
|
+
* @returns {ExperimentContentMapDeleted} ExperimentContentMapDeleted instance
|
|
9271
|
+
*/
|
|
9272
|
+
ExperimentContentMapDeleted.create = function create(properties) {
|
|
9273
|
+
return new ExperimentContentMapDeleted(properties);
|
|
9274
|
+
};
|
|
9275
|
+
|
|
9276
|
+
/**
|
|
9277
|
+
* Encodes the specified ExperimentContentMapDeleted message. Does not implicitly {@link ExperimentContentMapDeleted.verify|verify} messages.
|
|
9278
|
+
* @function encode
|
|
9279
|
+
* @memberof ExperimentContentMapDeleted
|
|
9280
|
+
* @static
|
|
9281
|
+
* @param {IExperimentContentMapDeleted} message ExperimentContentMapDeleted message or plain object to encode
|
|
9282
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9283
|
+
* @returns {$protobuf.Writer} Writer
|
|
9284
|
+
*/
|
|
9285
|
+
ExperimentContentMapDeleted.encode = function encode(message, writer) {
|
|
9286
|
+
if (!writer)
|
|
9287
|
+
writer = $Writer.create();
|
|
9288
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9289
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.experimentName);
|
|
9290
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9291
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
|
|
9292
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
9293
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
9294
|
+
return writer;
|
|
9295
|
+
};
|
|
9296
|
+
|
|
9297
|
+
/**
|
|
9298
|
+
* Encodes the specified ExperimentContentMapDeleted message, length delimited. Does not implicitly {@link ExperimentContentMapDeleted.verify|verify} messages.
|
|
9299
|
+
* @function encodeDelimited
|
|
9300
|
+
* @memberof ExperimentContentMapDeleted
|
|
9301
|
+
* @static
|
|
9302
|
+
* @param {IExperimentContentMapDeleted} message ExperimentContentMapDeleted message or plain object to encode
|
|
9303
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
9304
|
+
* @returns {$protobuf.Writer} Writer
|
|
9305
|
+
*/
|
|
9306
|
+
ExperimentContentMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
9307
|
+
return this.encode(message, writer).ldelim();
|
|
9308
|
+
};
|
|
9309
|
+
|
|
9310
|
+
/**
|
|
9311
|
+
* Decodes an ExperimentContentMapDeleted message from the specified reader or buffer.
|
|
9312
|
+
* @function decode
|
|
9313
|
+
* @memberof ExperimentContentMapDeleted
|
|
9314
|
+
* @static
|
|
9315
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9316
|
+
* @param {number} [length] Message length if known beforehand
|
|
9317
|
+
* @returns {ExperimentContentMapDeleted} ExperimentContentMapDeleted
|
|
9318
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9319
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9320
|
+
*/
|
|
9321
|
+
ExperimentContentMapDeleted.decode = function decode(reader, length) {
|
|
9322
|
+
if (!(reader instanceof $Reader))
|
|
9323
|
+
reader = $Reader.create(reader);
|
|
9324
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ExperimentContentMapDeleted();
|
|
9325
|
+
while (reader.pos < end) {
|
|
9326
|
+
var tag = reader.uint32();
|
|
9327
|
+
switch (tag >>> 3) {
|
|
9328
|
+
case 1:
|
|
9329
|
+
message.experimentName = reader.string();
|
|
9330
|
+
break;
|
|
9331
|
+
case 2:
|
|
9332
|
+
message.variationName = reader.string();
|
|
9333
|
+
break;
|
|
9334
|
+
case 3:
|
|
9335
|
+
message.deletedAt = reader.uint64();
|
|
9336
|
+
break;
|
|
9337
|
+
default:
|
|
9338
|
+
reader.skipType(tag & 7);
|
|
9339
|
+
break;
|
|
9340
|
+
}
|
|
9341
|
+
}
|
|
9342
|
+
return message;
|
|
9343
|
+
};
|
|
9344
|
+
|
|
9345
|
+
/**
|
|
9346
|
+
* Decodes an ExperimentContentMapDeleted message from the specified reader or buffer, length delimited.
|
|
9347
|
+
* @function decodeDelimited
|
|
9348
|
+
* @memberof ExperimentContentMapDeleted
|
|
9349
|
+
* @static
|
|
9350
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
9351
|
+
* @returns {ExperimentContentMapDeleted} ExperimentContentMapDeleted
|
|
9352
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9353
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9354
|
+
*/
|
|
9355
|
+
ExperimentContentMapDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
9356
|
+
if (!(reader instanceof $Reader))
|
|
9357
|
+
reader = new $Reader(reader);
|
|
9358
|
+
return this.decode(reader, reader.uint32());
|
|
9359
|
+
};
|
|
9360
|
+
|
|
9361
|
+
/**
|
|
9362
|
+
* Verifies an ExperimentContentMapDeleted message.
|
|
9363
|
+
* @function verify
|
|
9364
|
+
* @memberof ExperimentContentMapDeleted
|
|
9365
|
+
* @static
|
|
9366
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
9367
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
9368
|
+
*/
|
|
9369
|
+
ExperimentContentMapDeleted.verify = function verify(message) {
|
|
9370
|
+
if (typeof message !== "object" || message === null)
|
|
9371
|
+
return "object expected";
|
|
9372
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9373
|
+
if (!$util.isString(message.experimentName))
|
|
9374
|
+
return "experimentName: string expected";
|
|
9375
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9376
|
+
if (!$util.isString(message.variationName))
|
|
9377
|
+
return "variationName: string expected";
|
|
9378
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
9379
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
9380
|
+
return "deletedAt: integer|Long expected";
|
|
9381
|
+
return null;
|
|
9382
|
+
};
|
|
9383
|
+
|
|
9384
|
+
/**
|
|
9385
|
+
* Creates an ExperimentContentMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
9386
|
+
* @function fromObject
|
|
9387
|
+
* @memberof ExperimentContentMapDeleted
|
|
9388
|
+
* @static
|
|
9389
|
+
* @param {Object.<string,*>} object Plain object
|
|
9390
|
+
* @returns {ExperimentContentMapDeleted} ExperimentContentMapDeleted
|
|
9391
|
+
*/
|
|
9392
|
+
ExperimentContentMapDeleted.fromObject = function fromObject(object) {
|
|
9393
|
+
if (object instanceof $root.ExperimentContentMapDeleted)
|
|
9394
|
+
return object;
|
|
9395
|
+
var message = new $root.ExperimentContentMapDeleted();
|
|
9396
|
+
if (object.experimentName != null)
|
|
9397
|
+
message.experimentName = String(object.experimentName);
|
|
9398
|
+
if (object.variationName != null)
|
|
9399
|
+
message.variationName = String(object.variationName);
|
|
9400
|
+
if (object.deletedAt != null)
|
|
9401
|
+
if ($util.Long)
|
|
9402
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
9403
|
+
else if (typeof object.deletedAt === "string")
|
|
9404
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
9405
|
+
else if (typeof object.deletedAt === "number")
|
|
9406
|
+
message.deletedAt = object.deletedAt;
|
|
9407
|
+
else if (typeof object.deletedAt === "object")
|
|
9408
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
9409
|
+
return message;
|
|
9410
|
+
};
|
|
9411
|
+
|
|
9412
|
+
/**
|
|
9413
|
+
* Creates a plain object from an ExperimentContentMapDeleted message. Also converts values to other types if specified.
|
|
9414
|
+
* @function toObject
|
|
9415
|
+
* @memberof ExperimentContentMapDeleted
|
|
9416
|
+
* @static
|
|
9417
|
+
* @param {ExperimentContentMapDeleted} message ExperimentContentMapDeleted
|
|
9418
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
9419
|
+
* @returns {Object.<string,*>} Plain object
|
|
9420
|
+
*/
|
|
9421
|
+
ExperimentContentMapDeleted.toObject = function toObject(message, options) {
|
|
9422
|
+
if (!options)
|
|
9423
|
+
options = {};
|
|
9424
|
+
var object = {};
|
|
9425
|
+
if (options.defaults) {
|
|
9426
|
+
object.experimentName = "";
|
|
9427
|
+
object.variationName = "";
|
|
9428
|
+
if ($util.Long) {
|
|
9429
|
+
var long = new $util.Long(0, 0, true);
|
|
9430
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
9431
|
+
} else
|
|
9432
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
9433
|
+
}
|
|
9434
|
+
if (message.experimentName != null && message.hasOwnProperty("experimentName"))
|
|
9435
|
+
object.experimentName = message.experimentName;
|
|
9436
|
+
if (message.variationName != null && message.hasOwnProperty("variationName"))
|
|
9437
|
+
object.variationName = message.variationName;
|
|
9438
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
9439
|
+
if (typeof message.deletedAt === "number")
|
|
9440
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
9441
|
+
else
|
|
9442
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
9443
|
+
return object;
|
|
9444
|
+
};
|
|
9445
|
+
|
|
9446
|
+
/**
|
|
9447
|
+
* Converts this ExperimentContentMapDeleted to JSON.
|
|
9448
|
+
* @function toJSON
|
|
9449
|
+
* @memberof ExperimentContentMapDeleted
|
|
9450
|
+
* @instance
|
|
9451
|
+
* @returns {Object.<string,*>} JSON object
|
|
9452
|
+
*/
|
|
9453
|
+
ExperimentContentMapDeleted.prototype.toJSON = function toJSON() {
|
|
9454
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9455
|
+
};
|
|
9456
|
+
|
|
9457
|
+
return ExperimentContentMapDeleted;
|
|
9458
|
+
})();
|
|
9459
|
+
|
|
9142
9460
|
$root.ReferralSignedUp = (function() {
|
|
9143
9461
|
|
|
9144
9462
|
/**
|
package/package.json
CHANGED