@headspace/protos-events 1.260.0 → 1.262.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 +204 -0
- package/lib/index.js +492 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -20293,6 +20293,108 @@ export class UserDomainEnabledPhiProtection implements IUserDomainEnabledPhiProt
|
|
|
20293
20293
|
public toJSON(): { [k: string]: any };
|
|
20294
20294
|
}
|
|
20295
20295
|
|
|
20296
|
+
/** Properties of a UserDomainIsAnonymousUserUpdated. */
|
|
20297
|
+
export interface IUserDomainIsAnonymousUserUpdated {
|
|
20298
|
+
|
|
20299
|
+
/** UserDomainIsAnonymousUserUpdated hsId */
|
|
20300
|
+
hsId?: (string|null);
|
|
20301
|
+
|
|
20302
|
+
/** UserDomainIsAnonymousUserUpdated isAnonymousUser */
|
|
20303
|
+
isAnonymousUser?: (boolean|null);
|
|
20304
|
+
|
|
20305
|
+
/** UserDomainIsAnonymousUserUpdated updatedAt */
|
|
20306
|
+
updatedAt?: (number|Long|null);
|
|
20307
|
+
}
|
|
20308
|
+
|
|
20309
|
+
/** Represents a UserDomainIsAnonymousUserUpdated. */
|
|
20310
|
+
export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousUserUpdated {
|
|
20311
|
+
|
|
20312
|
+
/**
|
|
20313
|
+
* Constructs a new UserDomainIsAnonymousUserUpdated.
|
|
20314
|
+
* @param [properties] Properties to set
|
|
20315
|
+
*/
|
|
20316
|
+
constructor(properties?: IUserDomainIsAnonymousUserUpdated);
|
|
20317
|
+
|
|
20318
|
+
/** UserDomainIsAnonymousUserUpdated hsId. */
|
|
20319
|
+
public hsId: string;
|
|
20320
|
+
|
|
20321
|
+
/** UserDomainIsAnonymousUserUpdated isAnonymousUser. */
|
|
20322
|
+
public isAnonymousUser: boolean;
|
|
20323
|
+
|
|
20324
|
+
/** UserDomainIsAnonymousUserUpdated updatedAt. */
|
|
20325
|
+
public updatedAt: (number|Long);
|
|
20326
|
+
|
|
20327
|
+
/**
|
|
20328
|
+
* Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
|
|
20329
|
+
* @param [properties] Properties to set
|
|
20330
|
+
* @returns UserDomainIsAnonymousUserUpdated instance
|
|
20331
|
+
*/
|
|
20332
|
+
public static create(properties?: IUserDomainIsAnonymousUserUpdated): UserDomainIsAnonymousUserUpdated;
|
|
20333
|
+
|
|
20334
|
+
/**
|
|
20335
|
+
* Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
|
|
20336
|
+
* @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
|
|
20337
|
+
* @param [writer] Writer to encode to
|
|
20338
|
+
* @returns Writer
|
|
20339
|
+
*/
|
|
20340
|
+
public static encode(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20341
|
+
|
|
20342
|
+
/**
|
|
20343
|
+
* Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
|
|
20344
|
+
* @param message UserDomainIsAnonymousUserUpdated message or plain object to encode
|
|
20345
|
+
* @param [writer] Writer to encode to
|
|
20346
|
+
* @returns Writer
|
|
20347
|
+
*/
|
|
20348
|
+
public static encodeDelimited(message: IUserDomainIsAnonymousUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20349
|
+
|
|
20350
|
+
/**
|
|
20351
|
+
* Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
|
|
20352
|
+
* @param reader Reader or buffer to decode from
|
|
20353
|
+
* @param [length] Message length if known beforehand
|
|
20354
|
+
* @returns UserDomainIsAnonymousUserUpdated
|
|
20355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20357
|
+
*/
|
|
20358
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainIsAnonymousUserUpdated;
|
|
20359
|
+
|
|
20360
|
+
/**
|
|
20361
|
+
* Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
|
|
20362
|
+
* @param reader Reader or buffer to decode from
|
|
20363
|
+
* @returns UserDomainIsAnonymousUserUpdated
|
|
20364
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20365
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20366
|
+
*/
|
|
20367
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainIsAnonymousUserUpdated;
|
|
20368
|
+
|
|
20369
|
+
/**
|
|
20370
|
+
* Verifies a UserDomainIsAnonymousUserUpdated message.
|
|
20371
|
+
* @param message Plain object to verify
|
|
20372
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20373
|
+
*/
|
|
20374
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20375
|
+
|
|
20376
|
+
/**
|
|
20377
|
+
* Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
|
|
20378
|
+
* @param object Plain object
|
|
20379
|
+
* @returns UserDomainIsAnonymousUserUpdated
|
|
20380
|
+
*/
|
|
20381
|
+
public static fromObject(object: { [k: string]: any }): UserDomainIsAnonymousUserUpdated;
|
|
20382
|
+
|
|
20383
|
+
/**
|
|
20384
|
+
* Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
|
|
20385
|
+
* @param message UserDomainIsAnonymousUserUpdated
|
|
20386
|
+
* @param [options] Conversion options
|
|
20387
|
+
* @returns Plain object
|
|
20388
|
+
*/
|
|
20389
|
+
public static toObject(message: UserDomainIsAnonymousUserUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20390
|
+
|
|
20391
|
+
/**
|
|
20392
|
+
* Converts this UserDomainIsAnonymousUserUpdated to JSON.
|
|
20393
|
+
* @returns JSON object
|
|
20394
|
+
*/
|
|
20395
|
+
public toJSON(): { [k: string]: any };
|
|
20396
|
+
}
|
|
20397
|
+
|
|
20296
20398
|
/** Properties of a UserDomainLoggedIn. */
|
|
20297
20399
|
export interface IUserDomainLoggedIn {
|
|
20298
20400
|
|
|
@@ -27466,6 +27568,108 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
27466
27568
|
public toJSON(): { [k: string]: any };
|
|
27467
27569
|
}
|
|
27468
27570
|
|
|
27571
|
+
/** Properties of a GiftRedeemed. */
|
|
27572
|
+
export interface IGiftRedeemed {
|
|
27573
|
+
|
|
27574
|
+
/** GiftRedeemed giftRecipientHsUserId */
|
|
27575
|
+
giftRecipientHsUserId?: (string|null);
|
|
27576
|
+
|
|
27577
|
+
/** GiftRedeemed giftPurchaseId */
|
|
27578
|
+
giftPurchaseId?: (string|null);
|
|
27579
|
+
|
|
27580
|
+
/** GiftRedeemed redeemedOn */
|
|
27581
|
+
redeemedOn?: (number|Long|null);
|
|
27582
|
+
}
|
|
27583
|
+
|
|
27584
|
+
/** Represents a GiftRedeemed. */
|
|
27585
|
+
export class GiftRedeemed implements IGiftRedeemed {
|
|
27586
|
+
|
|
27587
|
+
/**
|
|
27588
|
+
* Constructs a new GiftRedeemed.
|
|
27589
|
+
* @param [properties] Properties to set
|
|
27590
|
+
*/
|
|
27591
|
+
constructor(properties?: IGiftRedeemed);
|
|
27592
|
+
|
|
27593
|
+
/** GiftRedeemed giftRecipientHsUserId. */
|
|
27594
|
+
public giftRecipientHsUserId: string;
|
|
27595
|
+
|
|
27596
|
+
/** GiftRedeemed giftPurchaseId. */
|
|
27597
|
+
public giftPurchaseId: string;
|
|
27598
|
+
|
|
27599
|
+
/** GiftRedeemed redeemedOn. */
|
|
27600
|
+
public redeemedOn: (number|Long);
|
|
27601
|
+
|
|
27602
|
+
/**
|
|
27603
|
+
* Creates a new GiftRedeemed instance using the specified properties.
|
|
27604
|
+
* @param [properties] Properties to set
|
|
27605
|
+
* @returns GiftRedeemed instance
|
|
27606
|
+
*/
|
|
27607
|
+
public static create(properties?: IGiftRedeemed): GiftRedeemed;
|
|
27608
|
+
|
|
27609
|
+
/**
|
|
27610
|
+
* Encodes the specified GiftRedeemed message. Does not implicitly {@link GiftRedeemed.verify|verify} messages.
|
|
27611
|
+
* @param message GiftRedeemed message or plain object to encode
|
|
27612
|
+
* @param [writer] Writer to encode to
|
|
27613
|
+
* @returns Writer
|
|
27614
|
+
*/
|
|
27615
|
+
public static encode(message: IGiftRedeemed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27616
|
+
|
|
27617
|
+
/**
|
|
27618
|
+
* Encodes the specified GiftRedeemed message, length delimited. Does not implicitly {@link GiftRedeemed.verify|verify} messages.
|
|
27619
|
+
* @param message GiftRedeemed message or plain object to encode
|
|
27620
|
+
* @param [writer] Writer to encode to
|
|
27621
|
+
* @returns Writer
|
|
27622
|
+
*/
|
|
27623
|
+
public static encodeDelimited(message: IGiftRedeemed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27624
|
+
|
|
27625
|
+
/**
|
|
27626
|
+
* Decodes a GiftRedeemed message from the specified reader or buffer.
|
|
27627
|
+
* @param reader Reader or buffer to decode from
|
|
27628
|
+
* @param [length] Message length if known beforehand
|
|
27629
|
+
* @returns GiftRedeemed
|
|
27630
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27631
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27632
|
+
*/
|
|
27633
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GiftRedeemed;
|
|
27634
|
+
|
|
27635
|
+
/**
|
|
27636
|
+
* Decodes a GiftRedeemed message from the specified reader or buffer, length delimited.
|
|
27637
|
+
* @param reader Reader or buffer to decode from
|
|
27638
|
+
* @returns GiftRedeemed
|
|
27639
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27640
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27641
|
+
*/
|
|
27642
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GiftRedeemed;
|
|
27643
|
+
|
|
27644
|
+
/**
|
|
27645
|
+
* Verifies a GiftRedeemed message.
|
|
27646
|
+
* @param message Plain object to verify
|
|
27647
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27648
|
+
*/
|
|
27649
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27650
|
+
|
|
27651
|
+
/**
|
|
27652
|
+
* Creates a GiftRedeemed message from a plain object. Also converts values to their respective internal types.
|
|
27653
|
+
* @param object Plain object
|
|
27654
|
+
* @returns GiftRedeemed
|
|
27655
|
+
*/
|
|
27656
|
+
public static fromObject(object: { [k: string]: any }): GiftRedeemed;
|
|
27657
|
+
|
|
27658
|
+
/**
|
|
27659
|
+
* Creates a plain object from a GiftRedeemed message. Also converts values to other types if specified.
|
|
27660
|
+
* @param message GiftRedeemed
|
|
27661
|
+
* @param [options] Conversion options
|
|
27662
|
+
* @returns Plain object
|
|
27663
|
+
*/
|
|
27664
|
+
public static toObject(message: GiftRedeemed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27665
|
+
|
|
27666
|
+
/**
|
|
27667
|
+
* Converts this GiftRedeemed to JSON.
|
|
27668
|
+
* @returns JSON object
|
|
27669
|
+
*/
|
|
27670
|
+
public toJSON(): { [k: string]: any };
|
|
27671
|
+
}
|
|
27672
|
+
|
|
27469
27673
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
27470
27674
|
export interface IGoogleSubscriptionPurchased {
|
|
27471
27675
|
|
package/lib/index.js
CHANGED
|
@@ -54765,6 +54765,252 @@ $root.UserDomainEnabledPhiProtection = (function() {
|
|
|
54765
54765
|
return UserDomainEnabledPhiProtection;
|
|
54766
54766
|
})();
|
|
54767
54767
|
|
|
54768
|
+
$root.UserDomainIsAnonymousUserUpdated = (function() {
|
|
54769
|
+
|
|
54770
|
+
/**
|
|
54771
|
+
* Properties of a UserDomainIsAnonymousUserUpdated.
|
|
54772
|
+
* @exports IUserDomainIsAnonymousUserUpdated
|
|
54773
|
+
* @interface IUserDomainIsAnonymousUserUpdated
|
|
54774
|
+
* @property {string|null} [hsId] UserDomainIsAnonymousUserUpdated hsId
|
|
54775
|
+
* @property {boolean|null} [isAnonymousUser] UserDomainIsAnonymousUserUpdated isAnonymousUser
|
|
54776
|
+
* @property {number|Long|null} [updatedAt] UserDomainIsAnonymousUserUpdated updatedAt
|
|
54777
|
+
*/
|
|
54778
|
+
|
|
54779
|
+
/**
|
|
54780
|
+
* Constructs a new UserDomainIsAnonymousUserUpdated.
|
|
54781
|
+
* @exports UserDomainIsAnonymousUserUpdated
|
|
54782
|
+
* @classdesc Represents a UserDomainIsAnonymousUserUpdated.
|
|
54783
|
+
* @implements IUserDomainIsAnonymousUserUpdated
|
|
54784
|
+
* @constructor
|
|
54785
|
+
* @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
|
|
54786
|
+
*/
|
|
54787
|
+
function UserDomainIsAnonymousUserUpdated(properties) {
|
|
54788
|
+
if (properties)
|
|
54789
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
54790
|
+
if (properties[keys[i]] != null)
|
|
54791
|
+
this[keys[i]] = properties[keys[i]];
|
|
54792
|
+
}
|
|
54793
|
+
|
|
54794
|
+
/**
|
|
54795
|
+
* UserDomainIsAnonymousUserUpdated hsId.
|
|
54796
|
+
* @member {string} hsId
|
|
54797
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54798
|
+
* @instance
|
|
54799
|
+
*/
|
|
54800
|
+
UserDomainIsAnonymousUserUpdated.prototype.hsId = "";
|
|
54801
|
+
|
|
54802
|
+
/**
|
|
54803
|
+
* UserDomainIsAnonymousUserUpdated isAnonymousUser.
|
|
54804
|
+
* @member {boolean} isAnonymousUser
|
|
54805
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54806
|
+
* @instance
|
|
54807
|
+
*/
|
|
54808
|
+
UserDomainIsAnonymousUserUpdated.prototype.isAnonymousUser = false;
|
|
54809
|
+
|
|
54810
|
+
/**
|
|
54811
|
+
* UserDomainIsAnonymousUserUpdated updatedAt.
|
|
54812
|
+
* @member {number|Long} updatedAt
|
|
54813
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54814
|
+
* @instance
|
|
54815
|
+
*/
|
|
54816
|
+
UserDomainIsAnonymousUserUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
54817
|
+
|
|
54818
|
+
/**
|
|
54819
|
+
* Creates a new UserDomainIsAnonymousUserUpdated instance using the specified properties.
|
|
54820
|
+
* @function create
|
|
54821
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54822
|
+
* @static
|
|
54823
|
+
* @param {IUserDomainIsAnonymousUserUpdated=} [properties] Properties to set
|
|
54824
|
+
* @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated instance
|
|
54825
|
+
*/
|
|
54826
|
+
UserDomainIsAnonymousUserUpdated.create = function create(properties) {
|
|
54827
|
+
return new UserDomainIsAnonymousUserUpdated(properties);
|
|
54828
|
+
};
|
|
54829
|
+
|
|
54830
|
+
/**
|
|
54831
|
+
* Encodes the specified UserDomainIsAnonymousUserUpdated message. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
|
|
54832
|
+
* @function encode
|
|
54833
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54834
|
+
* @static
|
|
54835
|
+
* @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
|
|
54836
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
54837
|
+
* @returns {$protobuf.Writer} Writer
|
|
54838
|
+
*/
|
|
54839
|
+
UserDomainIsAnonymousUserUpdated.encode = function encode(message, writer) {
|
|
54840
|
+
if (!writer)
|
|
54841
|
+
writer = $Writer.create();
|
|
54842
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
54843
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
54844
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
54845
|
+
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isAnonymousUser);
|
|
54846
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
54847
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
54848
|
+
return writer;
|
|
54849
|
+
};
|
|
54850
|
+
|
|
54851
|
+
/**
|
|
54852
|
+
* Encodes the specified UserDomainIsAnonymousUserUpdated message, length delimited. Does not implicitly {@link UserDomainIsAnonymousUserUpdated.verify|verify} messages.
|
|
54853
|
+
* @function encodeDelimited
|
|
54854
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54855
|
+
* @static
|
|
54856
|
+
* @param {IUserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated message or plain object to encode
|
|
54857
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
54858
|
+
* @returns {$protobuf.Writer} Writer
|
|
54859
|
+
*/
|
|
54860
|
+
UserDomainIsAnonymousUserUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
54861
|
+
return this.encode(message, writer).ldelim();
|
|
54862
|
+
};
|
|
54863
|
+
|
|
54864
|
+
/**
|
|
54865
|
+
* Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer.
|
|
54866
|
+
* @function decode
|
|
54867
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54868
|
+
* @static
|
|
54869
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
54870
|
+
* @param {number} [length] Message length if known beforehand
|
|
54871
|
+
* @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
|
|
54872
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
54873
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
54874
|
+
*/
|
|
54875
|
+
UserDomainIsAnonymousUserUpdated.decode = function decode(reader, length) {
|
|
54876
|
+
if (!(reader instanceof $Reader))
|
|
54877
|
+
reader = $Reader.create(reader);
|
|
54878
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainIsAnonymousUserUpdated();
|
|
54879
|
+
while (reader.pos < end) {
|
|
54880
|
+
var tag = reader.uint32();
|
|
54881
|
+
switch (tag >>> 3) {
|
|
54882
|
+
case 1:
|
|
54883
|
+
message.hsId = reader.string();
|
|
54884
|
+
break;
|
|
54885
|
+
case 2:
|
|
54886
|
+
message.isAnonymousUser = reader.bool();
|
|
54887
|
+
break;
|
|
54888
|
+
case 3:
|
|
54889
|
+
message.updatedAt = reader.uint64();
|
|
54890
|
+
break;
|
|
54891
|
+
default:
|
|
54892
|
+
reader.skipType(tag & 7);
|
|
54893
|
+
break;
|
|
54894
|
+
}
|
|
54895
|
+
}
|
|
54896
|
+
return message;
|
|
54897
|
+
};
|
|
54898
|
+
|
|
54899
|
+
/**
|
|
54900
|
+
* Decodes a UserDomainIsAnonymousUserUpdated message from the specified reader or buffer, length delimited.
|
|
54901
|
+
* @function decodeDelimited
|
|
54902
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54903
|
+
* @static
|
|
54904
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
54905
|
+
* @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
|
|
54906
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
54907
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
54908
|
+
*/
|
|
54909
|
+
UserDomainIsAnonymousUserUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
54910
|
+
if (!(reader instanceof $Reader))
|
|
54911
|
+
reader = new $Reader(reader);
|
|
54912
|
+
return this.decode(reader, reader.uint32());
|
|
54913
|
+
};
|
|
54914
|
+
|
|
54915
|
+
/**
|
|
54916
|
+
* Verifies a UserDomainIsAnonymousUserUpdated message.
|
|
54917
|
+
* @function verify
|
|
54918
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54919
|
+
* @static
|
|
54920
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
54921
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
54922
|
+
*/
|
|
54923
|
+
UserDomainIsAnonymousUserUpdated.verify = function verify(message) {
|
|
54924
|
+
if (typeof message !== "object" || message === null)
|
|
54925
|
+
return "object expected";
|
|
54926
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
54927
|
+
if (!$util.isString(message.hsId))
|
|
54928
|
+
return "hsId: string expected";
|
|
54929
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
54930
|
+
if (typeof message.isAnonymousUser !== "boolean")
|
|
54931
|
+
return "isAnonymousUser: boolean expected";
|
|
54932
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
54933
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
54934
|
+
return "updatedAt: integer|Long expected";
|
|
54935
|
+
return null;
|
|
54936
|
+
};
|
|
54937
|
+
|
|
54938
|
+
/**
|
|
54939
|
+
* Creates a UserDomainIsAnonymousUserUpdated message from a plain object. Also converts values to their respective internal types.
|
|
54940
|
+
* @function fromObject
|
|
54941
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54942
|
+
* @static
|
|
54943
|
+
* @param {Object.<string,*>} object Plain object
|
|
54944
|
+
* @returns {UserDomainIsAnonymousUserUpdated} UserDomainIsAnonymousUserUpdated
|
|
54945
|
+
*/
|
|
54946
|
+
UserDomainIsAnonymousUserUpdated.fromObject = function fromObject(object) {
|
|
54947
|
+
if (object instanceof $root.UserDomainIsAnonymousUserUpdated)
|
|
54948
|
+
return object;
|
|
54949
|
+
var message = new $root.UserDomainIsAnonymousUserUpdated();
|
|
54950
|
+
if (object.hsId != null)
|
|
54951
|
+
message.hsId = String(object.hsId);
|
|
54952
|
+
if (object.isAnonymousUser != null)
|
|
54953
|
+
message.isAnonymousUser = Boolean(object.isAnonymousUser);
|
|
54954
|
+
if (object.updatedAt != null)
|
|
54955
|
+
if ($util.Long)
|
|
54956
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
54957
|
+
else if (typeof object.updatedAt === "string")
|
|
54958
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
54959
|
+
else if (typeof object.updatedAt === "number")
|
|
54960
|
+
message.updatedAt = object.updatedAt;
|
|
54961
|
+
else if (typeof object.updatedAt === "object")
|
|
54962
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
54963
|
+
return message;
|
|
54964
|
+
};
|
|
54965
|
+
|
|
54966
|
+
/**
|
|
54967
|
+
* Creates a plain object from a UserDomainIsAnonymousUserUpdated message. Also converts values to other types if specified.
|
|
54968
|
+
* @function toObject
|
|
54969
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
54970
|
+
* @static
|
|
54971
|
+
* @param {UserDomainIsAnonymousUserUpdated} message UserDomainIsAnonymousUserUpdated
|
|
54972
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
54973
|
+
* @returns {Object.<string,*>} Plain object
|
|
54974
|
+
*/
|
|
54975
|
+
UserDomainIsAnonymousUserUpdated.toObject = function toObject(message, options) {
|
|
54976
|
+
if (!options)
|
|
54977
|
+
options = {};
|
|
54978
|
+
var object = {};
|
|
54979
|
+
if (options.defaults) {
|
|
54980
|
+
object.hsId = "";
|
|
54981
|
+
object.isAnonymousUser = false;
|
|
54982
|
+
if ($util.Long) {
|
|
54983
|
+
var long = new $util.Long(0, 0, true);
|
|
54984
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
54985
|
+
} else
|
|
54986
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
54987
|
+
}
|
|
54988
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
54989
|
+
object.hsId = message.hsId;
|
|
54990
|
+
if (message.isAnonymousUser != null && message.hasOwnProperty("isAnonymousUser"))
|
|
54991
|
+
object.isAnonymousUser = message.isAnonymousUser;
|
|
54992
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
54993
|
+
if (typeof message.updatedAt === "number")
|
|
54994
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
54995
|
+
else
|
|
54996
|
+
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;
|
|
54997
|
+
return object;
|
|
54998
|
+
};
|
|
54999
|
+
|
|
55000
|
+
/**
|
|
55001
|
+
* Converts this UserDomainIsAnonymousUserUpdated to JSON.
|
|
55002
|
+
* @function toJSON
|
|
55003
|
+
* @memberof UserDomainIsAnonymousUserUpdated
|
|
55004
|
+
* @instance
|
|
55005
|
+
* @returns {Object.<string,*>} JSON object
|
|
55006
|
+
*/
|
|
55007
|
+
UserDomainIsAnonymousUserUpdated.prototype.toJSON = function toJSON() {
|
|
55008
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
55009
|
+
};
|
|
55010
|
+
|
|
55011
|
+
return UserDomainIsAnonymousUserUpdated;
|
|
55012
|
+
})();
|
|
55013
|
+
|
|
54768
55014
|
$root.UserDomainLoggedIn = (function() {
|
|
54769
55015
|
|
|
54770
55016
|
/**
|
|
@@ -75168,6 +75414,252 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
75168
75414
|
return EnterpriseUserEnrollmentAmended;
|
|
75169
75415
|
})();
|
|
75170
75416
|
|
|
75417
|
+
$root.GiftRedeemed = (function() {
|
|
75418
|
+
|
|
75419
|
+
/**
|
|
75420
|
+
* Properties of a GiftRedeemed.
|
|
75421
|
+
* @exports IGiftRedeemed
|
|
75422
|
+
* @interface IGiftRedeemed
|
|
75423
|
+
* @property {string|null} [giftRecipientHsUserId] GiftRedeemed giftRecipientHsUserId
|
|
75424
|
+
* @property {string|null} [giftPurchaseId] GiftRedeemed giftPurchaseId
|
|
75425
|
+
* @property {number|Long|null} [redeemedOn] GiftRedeemed redeemedOn
|
|
75426
|
+
*/
|
|
75427
|
+
|
|
75428
|
+
/**
|
|
75429
|
+
* Constructs a new GiftRedeemed.
|
|
75430
|
+
* @exports GiftRedeemed
|
|
75431
|
+
* @classdesc Represents a GiftRedeemed.
|
|
75432
|
+
* @implements IGiftRedeemed
|
|
75433
|
+
* @constructor
|
|
75434
|
+
* @param {IGiftRedeemed=} [properties] Properties to set
|
|
75435
|
+
*/
|
|
75436
|
+
function GiftRedeemed(properties) {
|
|
75437
|
+
if (properties)
|
|
75438
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
75439
|
+
if (properties[keys[i]] != null)
|
|
75440
|
+
this[keys[i]] = properties[keys[i]];
|
|
75441
|
+
}
|
|
75442
|
+
|
|
75443
|
+
/**
|
|
75444
|
+
* GiftRedeemed giftRecipientHsUserId.
|
|
75445
|
+
* @member {string} giftRecipientHsUserId
|
|
75446
|
+
* @memberof GiftRedeemed
|
|
75447
|
+
* @instance
|
|
75448
|
+
*/
|
|
75449
|
+
GiftRedeemed.prototype.giftRecipientHsUserId = "";
|
|
75450
|
+
|
|
75451
|
+
/**
|
|
75452
|
+
* GiftRedeemed giftPurchaseId.
|
|
75453
|
+
* @member {string} giftPurchaseId
|
|
75454
|
+
* @memberof GiftRedeemed
|
|
75455
|
+
* @instance
|
|
75456
|
+
*/
|
|
75457
|
+
GiftRedeemed.prototype.giftPurchaseId = "";
|
|
75458
|
+
|
|
75459
|
+
/**
|
|
75460
|
+
* GiftRedeemed redeemedOn.
|
|
75461
|
+
* @member {number|Long} redeemedOn
|
|
75462
|
+
* @memberof GiftRedeemed
|
|
75463
|
+
* @instance
|
|
75464
|
+
*/
|
|
75465
|
+
GiftRedeemed.prototype.redeemedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
75466
|
+
|
|
75467
|
+
/**
|
|
75468
|
+
* Creates a new GiftRedeemed instance using the specified properties.
|
|
75469
|
+
* @function create
|
|
75470
|
+
* @memberof GiftRedeemed
|
|
75471
|
+
* @static
|
|
75472
|
+
* @param {IGiftRedeemed=} [properties] Properties to set
|
|
75473
|
+
* @returns {GiftRedeemed} GiftRedeemed instance
|
|
75474
|
+
*/
|
|
75475
|
+
GiftRedeemed.create = function create(properties) {
|
|
75476
|
+
return new GiftRedeemed(properties);
|
|
75477
|
+
};
|
|
75478
|
+
|
|
75479
|
+
/**
|
|
75480
|
+
* Encodes the specified GiftRedeemed message. Does not implicitly {@link GiftRedeemed.verify|verify} messages.
|
|
75481
|
+
* @function encode
|
|
75482
|
+
* @memberof GiftRedeemed
|
|
75483
|
+
* @static
|
|
75484
|
+
* @param {IGiftRedeemed} message GiftRedeemed message or plain object to encode
|
|
75485
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
75486
|
+
* @returns {$protobuf.Writer} Writer
|
|
75487
|
+
*/
|
|
75488
|
+
GiftRedeemed.encode = function encode(message, writer) {
|
|
75489
|
+
if (!writer)
|
|
75490
|
+
writer = $Writer.create();
|
|
75491
|
+
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
75492
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.giftRecipientHsUserId);
|
|
75493
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
75494
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftPurchaseId);
|
|
75495
|
+
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
75496
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.redeemedOn);
|
|
75497
|
+
return writer;
|
|
75498
|
+
};
|
|
75499
|
+
|
|
75500
|
+
/**
|
|
75501
|
+
* Encodes the specified GiftRedeemed message, length delimited. Does not implicitly {@link GiftRedeemed.verify|verify} messages.
|
|
75502
|
+
* @function encodeDelimited
|
|
75503
|
+
* @memberof GiftRedeemed
|
|
75504
|
+
* @static
|
|
75505
|
+
* @param {IGiftRedeemed} message GiftRedeemed message or plain object to encode
|
|
75506
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
75507
|
+
* @returns {$protobuf.Writer} Writer
|
|
75508
|
+
*/
|
|
75509
|
+
GiftRedeemed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
75510
|
+
return this.encode(message, writer).ldelim();
|
|
75511
|
+
};
|
|
75512
|
+
|
|
75513
|
+
/**
|
|
75514
|
+
* Decodes a GiftRedeemed message from the specified reader or buffer.
|
|
75515
|
+
* @function decode
|
|
75516
|
+
* @memberof GiftRedeemed
|
|
75517
|
+
* @static
|
|
75518
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
75519
|
+
* @param {number} [length] Message length if known beforehand
|
|
75520
|
+
* @returns {GiftRedeemed} GiftRedeemed
|
|
75521
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
75522
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75523
|
+
*/
|
|
75524
|
+
GiftRedeemed.decode = function decode(reader, length) {
|
|
75525
|
+
if (!(reader instanceof $Reader))
|
|
75526
|
+
reader = $Reader.create(reader);
|
|
75527
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GiftRedeemed();
|
|
75528
|
+
while (reader.pos < end) {
|
|
75529
|
+
var tag = reader.uint32();
|
|
75530
|
+
switch (tag >>> 3) {
|
|
75531
|
+
case 1:
|
|
75532
|
+
message.giftRecipientHsUserId = reader.string();
|
|
75533
|
+
break;
|
|
75534
|
+
case 2:
|
|
75535
|
+
message.giftPurchaseId = reader.string();
|
|
75536
|
+
break;
|
|
75537
|
+
case 3:
|
|
75538
|
+
message.redeemedOn = reader.uint64();
|
|
75539
|
+
break;
|
|
75540
|
+
default:
|
|
75541
|
+
reader.skipType(tag & 7);
|
|
75542
|
+
break;
|
|
75543
|
+
}
|
|
75544
|
+
}
|
|
75545
|
+
return message;
|
|
75546
|
+
};
|
|
75547
|
+
|
|
75548
|
+
/**
|
|
75549
|
+
* Decodes a GiftRedeemed message from the specified reader or buffer, length delimited.
|
|
75550
|
+
* @function decodeDelimited
|
|
75551
|
+
* @memberof GiftRedeemed
|
|
75552
|
+
* @static
|
|
75553
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
75554
|
+
* @returns {GiftRedeemed} GiftRedeemed
|
|
75555
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
75556
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75557
|
+
*/
|
|
75558
|
+
GiftRedeemed.decodeDelimited = function decodeDelimited(reader) {
|
|
75559
|
+
if (!(reader instanceof $Reader))
|
|
75560
|
+
reader = new $Reader(reader);
|
|
75561
|
+
return this.decode(reader, reader.uint32());
|
|
75562
|
+
};
|
|
75563
|
+
|
|
75564
|
+
/**
|
|
75565
|
+
* Verifies a GiftRedeemed message.
|
|
75566
|
+
* @function verify
|
|
75567
|
+
* @memberof GiftRedeemed
|
|
75568
|
+
* @static
|
|
75569
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
75570
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
75571
|
+
*/
|
|
75572
|
+
GiftRedeemed.verify = function verify(message) {
|
|
75573
|
+
if (typeof message !== "object" || message === null)
|
|
75574
|
+
return "object expected";
|
|
75575
|
+
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
75576
|
+
if (!$util.isString(message.giftRecipientHsUserId))
|
|
75577
|
+
return "giftRecipientHsUserId: string expected";
|
|
75578
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
75579
|
+
if (!$util.isString(message.giftPurchaseId))
|
|
75580
|
+
return "giftPurchaseId: string expected";
|
|
75581
|
+
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
75582
|
+
if (!$util.isInteger(message.redeemedOn) && !(message.redeemedOn && $util.isInteger(message.redeemedOn.low) && $util.isInteger(message.redeemedOn.high)))
|
|
75583
|
+
return "redeemedOn: integer|Long expected";
|
|
75584
|
+
return null;
|
|
75585
|
+
};
|
|
75586
|
+
|
|
75587
|
+
/**
|
|
75588
|
+
* Creates a GiftRedeemed message from a plain object. Also converts values to their respective internal types.
|
|
75589
|
+
* @function fromObject
|
|
75590
|
+
* @memberof GiftRedeemed
|
|
75591
|
+
* @static
|
|
75592
|
+
* @param {Object.<string,*>} object Plain object
|
|
75593
|
+
* @returns {GiftRedeemed} GiftRedeemed
|
|
75594
|
+
*/
|
|
75595
|
+
GiftRedeemed.fromObject = function fromObject(object) {
|
|
75596
|
+
if (object instanceof $root.GiftRedeemed)
|
|
75597
|
+
return object;
|
|
75598
|
+
var message = new $root.GiftRedeemed();
|
|
75599
|
+
if (object.giftRecipientHsUserId != null)
|
|
75600
|
+
message.giftRecipientHsUserId = String(object.giftRecipientHsUserId);
|
|
75601
|
+
if (object.giftPurchaseId != null)
|
|
75602
|
+
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
75603
|
+
if (object.redeemedOn != null)
|
|
75604
|
+
if ($util.Long)
|
|
75605
|
+
(message.redeemedOn = $util.Long.fromValue(object.redeemedOn)).unsigned = true;
|
|
75606
|
+
else if (typeof object.redeemedOn === "string")
|
|
75607
|
+
message.redeemedOn = parseInt(object.redeemedOn, 10);
|
|
75608
|
+
else if (typeof object.redeemedOn === "number")
|
|
75609
|
+
message.redeemedOn = object.redeemedOn;
|
|
75610
|
+
else if (typeof object.redeemedOn === "object")
|
|
75611
|
+
message.redeemedOn = new $util.LongBits(object.redeemedOn.low >>> 0, object.redeemedOn.high >>> 0).toNumber(true);
|
|
75612
|
+
return message;
|
|
75613
|
+
};
|
|
75614
|
+
|
|
75615
|
+
/**
|
|
75616
|
+
* Creates a plain object from a GiftRedeemed message. Also converts values to other types if specified.
|
|
75617
|
+
* @function toObject
|
|
75618
|
+
* @memberof GiftRedeemed
|
|
75619
|
+
* @static
|
|
75620
|
+
* @param {GiftRedeemed} message GiftRedeemed
|
|
75621
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
75622
|
+
* @returns {Object.<string,*>} Plain object
|
|
75623
|
+
*/
|
|
75624
|
+
GiftRedeemed.toObject = function toObject(message, options) {
|
|
75625
|
+
if (!options)
|
|
75626
|
+
options = {};
|
|
75627
|
+
var object = {};
|
|
75628
|
+
if (options.defaults) {
|
|
75629
|
+
object.giftRecipientHsUserId = "";
|
|
75630
|
+
object.giftPurchaseId = "";
|
|
75631
|
+
if ($util.Long) {
|
|
75632
|
+
var long = new $util.Long(0, 0, true);
|
|
75633
|
+
object.redeemedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
75634
|
+
} else
|
|
75635
|
+
object.redeemedOn = options.longs === String ? "0" : 0;
|
|
75636
|
+
}
|
|
75637
|
+
if (message.giftRecipientHsUserId != null && message.hasOwnProperty("giftRecipientHsUserId"))
|
|
75638
|
+
object.giftRecipientHsUserId = message.giftRecipientHsUserId;
|
|
75639
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
75640
|
+
object.giftPurchaseId = message.giftPurchaseId;
|
|
75641
|
+
if (message.redeemedOn != null && message.hasOwnProperty("redeemedOn"))
|
|
75642
|
+
if (typeof message.redeemedOn === "number")
|
|
75643
|
+
object.redeemedOn = options.longs === String ? String(message.redeemedOn) : message.redeemedOn;
|
|
75644
|
+
else
|
|
75645
|
+
object.redeemedOn = options.longs === String ? $util.Long.prototype.toString.call(message.redeemedOn) : options.longs === Number ? new $util.LongBits(message.redeemedOn.low >>> 0, message.redeemedOn.high >>> 0).toNumber(true) : message.redeemedOn;
|
|
75646
|
+
return object;
|
|
75647
|
+
};
|
|
75648
|
+
|
|
75649
|
+
/**
|
|
75650
|
+
* Converts this GiftRedeemed to JSON.
|
|
75651
|
+
* @function toJSON
|
|
75652
|
+
* @memberof GiftRedeemed
|
|
75653
|
+
* @instance
|
|
75654
|
+
* @returns {Object.<string,*>} JSON object
|
|
75655
|
+
*/
|
|
75656
|
+
GiftRedeemed.prototype.toJSON = function toJSON() {
|
|
75657
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
75658
|
+
};
|
|
75659
|
+
|
|
75660
|
+
return GiftRedeemed;
|
|
75661
|
+
})();
|
|
75662
|
+
|
|
75171
75663
|
$root.GoogleSubscriptionPurchased = (function() {
|
|
75172
75664
|
|
|
75173
75665
|
/**
|
package/package.json
CHANGED