@headspace/protos-events 1.280.0 → 1.282.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 +246 -0
- package/lib/index.js +646 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -28915,6 +28915,138 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
28915
28915
|
public toJSON(): { [k: string]: any };
|
|
28916
28916
|
}
|
|
28917
28917
|
|
|
28918
|
+
/** Properties of an EnterpriseUserEnrollmentInitiated. */
|
|
28919
|
+
export interface IEnterpriseUserEnrollmentInitiated {
|
|
28920
|
+
|
|
28921
|
+
/** EnterpriseUserEnrollmentInitiated hsUserId */
|
|
28922
|
+
hsUserId?: (string|null);
|
|
28923
|
+
|
|
28924
|
+
/** EnterpriseUserEnrollmentInitiated orgId */
|
|
28925
|
+
orgId?: (number|null);
|
|
28926
|
+
|
|
28927
|
+
/** EnterpriseUserEnrollmentInitiated orgName */
|
|
28928
|
+
orgName?: (string|null);
|
|
28929
|
+
|
|
28930
|
+
/** EnterpriseUserEnrollmentInitiated workEmailAddress */
|
|
28931
|
+
workEmailAddress?: (string|null);
|
|
28932
|
+
|
|
28933
|
+
/** EnterpriseUserEnrollmentInitiated accountEmailAddress */
|
|
28934
|
+
accountEmailAddress?: (string|null);
|
|
28935
|
+
|
|
28936
|
+
/** EnterpriseUserEnrollmentInitiated verifyLink */
|
|
28937
|
+
verifyLink?: (string|null);
|
|
28938
|
+
|
|
28939
|
+
/** EnterpriseUserEnrollmentInitiated enrollmentPage */
|
|
28940
|
+
enrollmentPage?: (string|null);
|
|
28941
|
+
|
|
28942
|
+
/** EnterpriseUserEnrollmentInitiated timestampEpochMs */
|
|
28943
|
+
timestampEpochMs?: (number|Long|null);
|
|
28944
|
+
}
|
|
28945
|
+
|
|
28946
|
+
/** Represents an EnterpriseUserEnrollmentInitiated. */
|
|
28947
|
+
export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollmentInitiated {
|
|
28948
|
+
|
|
28949
|
+
/**
|
|
28950
|
+
* Constructs a new EnterpriseUserEnrollmentInitiated.
|
|
28951
|
+
* @param [properties] Properties to set
|
|
28952
|
+
*/
|
|
28953
|
+
constructor(properties?: IEnterpriseUserEnrollmentInitiated);
|
|
28954
|
+
|
|
28955
|
+
/** EnterpriseUserEnrollmentInitiated hsUserId. */
|
|
28956
|
+
public hsUserId: string;
|
|
28957
|
+
|
|
28958
|
+
/** EnterpriseUserEnrollmentInitiated orgId. */
|
|
28959
|
+
public orgId: number;
|
|
28960
|
+
|
|
28961
|
+
/** EnterpriseUserEnrollmentInitiated orgName. */
|
|
28962
|
+
public orgName: string;
|
|
28963
|
+
|
|
28964
|
+
/** EnterpriseUserEnrollmentInitiated workEmailAddress. */
|
|
28965
|
+
public workEmailAddress: string;
|
|
28966
|
+
|
|
28967
|
+
/** EnterpriseUserEnrollmentInitiated accountEmailAddress. */
|
|
28968
|
+
public accountEmailAddress: string;
|
|
28969
|
+
|
|
28970
|
+
/** EnterpriseUserEnrollmentInitiated verifyLink. */
|
|
28971
|
+
public verifyLink: string;
|
|
28972
|
+
|
|
28973
|
+
/** EnterpriseUserEnrollmentInitiated enrollmentPage. */
|
|
28974
|
+
public enrollmentPage: string;
|
|
28975
|
+
|
|
28976
|
+
/** EnterpriseUserEnrollmentInitiated timestampEpochMs. */
|
|
28977
|
+
public timestampEpochMs: (number|Long);
|
|
28978
|
+
|
|
28979
|
+
/**
|
|
28980
|
+
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
28981
|
+
* @param [properties] Properties to set
|
|
28982
|
+
* @returns EnterpriseUserEnrollmentInitiated instance
|
|
28983
|
+
*/
|
|
28984
|
+
public static create(properties?: IEnterpriseUserEnrollmentInitiated): EnterpriseUserEnrollmentInitiated;
|
|
28985
|
+
|
|
28986
|
+
/**
|
|
28987
|
+
* Encodes the specified EnterpriseUserEnrollmentInitiated message. Does not implicitly {@link EnterpriseUserEnrollmentInitiated.verify|verify} messages.
|
|
28988
|
+
* @param message EnterpriseUserEnrollmentInitiated message or plain object to encode
|
|
28989
|
+
* @param [writer] Writer to encode to
|
|
28990
|
+
* @returns Writer
|
|
28991
|
+
*/
|
|
28992
|
+
public static encode(message: IEnterpriseUserEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28993
|
+
|
|
28994
|
+
/**
|
|
28995
|
+
* Encodes the specified EnterpriseUserEnrollmentInitiated message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentInitiated.verify|verify} messages.
|
|
28996
|
+
* @param message EnterpriseUserEnrollmentInitiated message or plain object to encode
|
|
28997
|
+
* @param [writer] Writer to encode to
|
|
28998
|
+
* @returns Writer
|
|
28999
|
+
*/
|
|
29000
|
+
public static encodeDelimited(message: IEnterpriseUserEnrollmentInitiated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29001
|
+
|
|
29002
|
+
/**
|
|
29003
|
+
* Decodes an EnterpriseUserEnrollmentInitiated message from the specified reader or buffer.
|
|
29004
|
+
* @param reader Reader or buffer to decode from
|
|
29005
|
+
* @param [length] Message length if known beforehand
|
|
29006
|
+
* @returns EnterpriseUserEnrollmentInitiated
|
|
29007
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29008
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29009
|
+
*/
|
|
29010
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EnterpriseUserEnrollmentInitiated;
|
|
29011
|
+
|
|
29012
|
+
/**
|
|
29013
|
+
* Decodes an EnterpriseUserEnrollmentInitiated message from the specified reader or buffer, length delimited.
|
|
29014
|
+
* @param reader Reader or buffer to decode from
|
|
29015
|
+
* @returns EnterpriseUserEnrollmentInitiated
|
|
29016
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29017
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29018
|
+
*/
|
|
29019
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EnterpriseUserEnrollmentInitiated;
|
|
29020
|
+
|
|
29021
|
+
/**
|
|
29022
|
+
* Verifies an EnterpriseUserEnrollmentInitiated message.
|
|
29023
|
+
* @param message Plain object to verify
|
|
29024
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29025
|
+
*/
|
|
29026
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29027
|
+
|
|
29028
|
+
/**
|
|
29029
|
+
* Creates an EnterpriseUserEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
|
|
29030
|
+
* @param object Plain object
|
|
29031
|
+
* @returns EnterpriseUserEnrollmentInitiated
|
|
29032
|
+
*/
|
|
29033
|
+
public static fromObject(object: { [k: string]: any }): EnterpriseUserEnrollmentInitiated;
|
|
29034
|
+
|
|
29035
|
+
/**
|
|
29036
|
+
* Creates a plain object from an EnterpriseUserEnrollmentInitiated message. Also converts values to other types if specified.
|
|
29037
|
+
* @param message EnterpriseUserEnrollmentInitiated
|
|
29038
|
+
* @param [options] Conversion options
|
|
29039
|
+
* @returns Plain object
|
|
29040
|
+
*/
|
|
29041
|
+
public static toObject(message: EnterpriseUserEnrollmentInitiated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29042
|
+
|
|
29043
|
+
/**
|
|
29044
|
+
* Converts this EnterpriseUserEnrollmentInitiated to JSON.
|
|
29045
|
+
* @returns JSON object
|
|
29046
|
+
*/
|
|
29047
|
+
public toJSON(): { [k: string]: any };
|
|
29048
|
+
}
|
|
29049
|
+
|
|
28918
29050
|
/** Properties of a GiftRedeemed. */
|
|
28919
29051
|
export interface IGiftRedeemed {
|
|
28920
29052
|
|
|
@@ -29175,6 +29307,9 @@ export interface IGiftPurchased {
|
|
|
29175
29307
|
|
|
29176
29308
|
/** GiftPurchased purchasedOn */
|
|
29177
29309
|
purchasedOn?: (number|Long|null);
|
|
29310
|
+
|
|
29311
|
+
/** GiftPurchased giftPurchaseId */
|
|
29312
|
+
giftPurchaseId?: (string|null);
|
|
29178
29313
|
}
|
|
29179
29314
|
|
|
29180
29315
|
/** Represents a GiftPurchased. */
|
|
@@ -29204,6 +29339,9 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
29204
29339
|
/** GiftPurchased purchasedOn. */
|
|
29205
29340
|
public purchasedOn: (number|Long);
|
|
29206
29341
|
|
|
29342
|
+
/** GiftPurchased giftPurchaseId. */
|
|
29343
|
+
public giftPurchaseId: string;
|
|
29344
|
+
|
|
29207
29345
|
/**
|
|
29208
29346
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
29209
29347
|
* @param [properties] Properties to set
|
|
@@ -29275,6 +29413,114 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
29275
29413
|
public toJSON(): { [k: string]: any };
|
|
29276
29414
|
}
|
|
29277
29415
|
|
|
29416
|
+
/** Properties of a GiftRedemptionCodeGenerated. */
|
|
29417
|
+
export interface IGiftRedemptionCodeGenerated {
|
|
29418
|
+
|
|
29419
|
+
/** GiftRedemptionCodeGenerated hsUserId */
|
|
29420
|
+
hsUserId?: (string|null);
|
|
29421
|
+
|
|
29422
|
+
/** GiftRedemptionCodeGenerated giftRedemptionCode */
|
|
29423
|
+
giftRedemptionCode?: (string|null);
|
|
29424
|
+
|
|
29425
|
+
/** GiftRedemptionCodeGenerated giftPurchaseId */
|
|
29426
|
+
giftPurchaseId?: (string|null);
|
|
29427
|
+
|
|
29428
|
+
/** GiftRedemptionCodeGenerated timestamp */
|
|
29429
|
+
timestamp?: (number|Long|null);
|
|
29430
|
+
}
|
|
29431
|
+
|
|
29432
|
+
/** Represents a GiftRedemptionCodeGenerated. */
|
|
29433
|
+
export class GiftRedemptionCodeGenerated implements IGiftRedemptionCodeGenerated {
|
|
29434
|
+
|
|
29435
|
+
/**
|
|
29436
|
+
* Constructs a new GiftRedemptionCodeGenerated.
|
|
29437
|
+
* @param [properties] Properties to set
|
|
29438
|
+
*/
|
|
29439
|
+
constructor(properties?: IGiftRedemptionCodeGenerated);
|
|
29440
|
+
|
|
29441
|
+
/** GiftRedemptionCodeGenerated hsUserId. */
|
|
29442
|
+
public hsUserId: string;
|
|
29443
|
+
|
|
29444
|
+
/** GiftRedemptionCodeGenerated giftRedemptionCode. */
|
|
29445
|
+
public giftRedemptionCode: string;
|
|
29446
|
+
|
|
29447
|
+
/** GiftRedemptionCodeGenerated giftPurchaseId. */
|
|
29448
|
+
public giftPurchaseId: string;
|
|
29449
|
+
|
|
29450
|
+
/** GiftRedemptionCodeGenerated timestamp. */
|
|
29451
|
+
public timestamp: (number|Long);
|
|
29452
|
+
|
|
29453
|
+
/**
|
|
29454
|
+
* Creates a new GiftRedemptionCodeGenerated instance using the specified properties.
|
|
29455
|
+
* @param [properties] Properties to set
|
|
29456
|
+
* @returns GiftRedemptionCodeGenerated instance
|
|
29457
|
+
*/
|
|
29458
|
+
public static create(properties?: IGiftRedemptionCodeGenerated): GiftRedemptionCodeGenerated;
|
|
29459
|
+
|
|
29460
|
+
/**
|
|
29461
|
+
* Encodes the specified GiftRedemptionCodeGenerated message. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
29462
|
+
* @param message GiftRedemptionCodeGenerated message or plain object to encode
|
|
29463
|
+
* @param [writer] Writer to encode to
|
|
29464
|
+
* @returns Writer
|
|
29465
|
+
*/
|
|
29466
|
+
public static encode(message: IGiftRedemptionCodeGenerated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29467
|
+
|
|
29468
|
+
/**
|
|
29469
|
+
* Encodes the specified GiftRedemptionCodeGenerated message, length delimited. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
29470
|
+
* @param message GiftRedemptionCodeGenerated message or plain object to encode
|
|
29471
|
+
* @param [writer] Writer to encode to
|
|
29472
|
+
* @returns Writer
|
|
29473
|
+
*/
|
|
29474
|
+
public static encodeDelimited(message: IGiftRedemptionCodeGenerated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29475
|
+
|
|
29476
|
+
/**
|
|
29477
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer.
|
|
29478
|
+
* @param reader Reader or buffer to decode from
|
|
29479
|
+
* @param [length] Message length if known beforehand
|
|
29480
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29481
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29482
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29483
|
+
*/
|
|
29484
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GiftRedemptionCodeGenerated;
|
|
29485
|
+
|
|
29486
|
+
/**
|
|
29487
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer, length delimited.
|
|
29488
|
+
* @param reader Reader or buffer to decode from
|
|
29489
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29490
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29491
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29492
|
+
*/
|
|
29493
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GiftRedemptionCodeGenerated;
|
|
29494
|
+
|
|
29495
|
+
/**
|
|
29496
|
+
* Verifies a GiftRedemptionCodeGenerated message.
|
|
29497
|
+
* @param message Plain object to verify
|
|
29498
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29499
|
+
*/
|
|
29500
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29501
|
+
|
|
29502
|
+
/**
|
|
29503
|
+
* Creates a GiftRedemptionCodeGenerated message from a plain object. Also converts values to their respective internal types.
|
|
29504
|
+
* @param object Plain object
|
|
29505
|
+
* @returns GiftRedemptionCodeGenerated
|
|
29506
|
+
*/
|
|
29507
|
+
public static fromObject(object: { [k: string]: any }): GiftRedemptionCodeGenerated;
|
|
29508
|
+
|
|
29509
|
+
/**
|
|
29510
|
+
* Creates a plain object from a GiftRedemptionCodeGenerated message. Also converts values to other types if specified.
|
|
29511
|
+
* @param message GiftRedemptionCodeGenerated
|
|
29512
|
+
* @param [options] Conversion options
|
|
29513
|
+
* @returns Plain object
|
|
29514
|
+
*/
|
|
29515
|
+
public static toObject(message: GiftRedemptionCodeGenerated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29516
|
+
|
|
29517
|
+
/**
|
|
29518
|
+
* Converts this GiftRedemptionCodeGenerated to JSON.
|
|
29519
|
+
* @returns JSON object
|
|
29520
|
+
*/
|
|
29521
|
+
public toJSON(): { [k: string]: any };
|
|
29522
|
+
}
|
|
29523
|
+
|
|
29278
29524
|
/** Properties of a GoogleSubscriptionPurchased. */
|
|
29279
29525
|
export interface IGoogleSubscriptionPurchased {
|
|
29280
29526
|
|
package/lib/index.js
CHANGED
|
@@ -79183,6 +79183,362 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
79183
79183
|
return EnterpriseUserEnrollmentAmended;
|
|
79184
79184
|
})();
|
|
79185
79185
|
|
|
79186
|
+
$root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
79187
|
+
|
|
79188
|
+
/**
|
|
79189
|
+
* Properties of an EnterpriseUserEnrollmentInitiated.
|
|
79190
|
+
* @exports IEnterpriseUserEnrollmentInitiated
|
|
79191
|
+
* @interface IEnterpriseUserEnrollmentInitiated
|
|
79192
|
+
* @property {string|null} [hsUserId] EnterpriseUserEnrollmentInitiated hsUserId
|
|
79193
|
+
* @property {number|null} [orgId] EnterpriseUserEnrollmentInitiated orgId
|
|
79194
|
+
* @property {string|null} [orgName] EnterpriseUserEnrollmentInitiated orgName
|
|
79195
|
+
* @property {string|null} [workEmailAddress] EnterpriseUserEnrollmentInitiated workEmailAddress
|
|
79196
|
+
* @property {string|null} [accountEmailAddress] EnterpriseUserEnrollmentInitiated accountEmailAddress
|
|
79197
|
+
* @property {string|null} [verifyLink] EnterpriseUserEnrollmentInitiated verifyLink
|
|
79198
|
+
* @property {string|null} [enrollmentPage] EnterpriseUserEnrollmentInitiated enrollmentPage
|
|
79199
|
+
* @property {number|Long|null} [timestampEpochMs] EnterpriseUserEnrollmentInitiated timestampEpochMs
|
|
79200
|
+
*/
|
|
79201
|
+
|
|
79202
|
+
/**
|
|
79203
|
+
* Constructs a new EnterpriseUserEnrollmentInitiated.
|
|
79204
|
+
* @exports EnterpriseUserEnrollmentInitiated
|
|
79205
|
+
* @classdesc Represents an EnterpriseUserEnrollmentInitiated.
|
|
79206
|
+
* @implements IEnterpriseUserEnrollmentInitiated
|
|
79207
|
+
* @constructor
|
|
79208
|
+
* @param {IEnterpriseUserEnrollmentInitiated=} [properties] Properties to set
|
|
79209
|
+
*/
|
|
79210
|
+
function EnterpriseUserEnrollmentInitiated(properties) {
|
|
79211
|
+
if (properties)
|
|
79212
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
79213
|
+
if (properties[keys[i]] != null)
|
|
79214
|
+
this[keys[i]] = properties[keys[i]];
|
|
79215
|
+
}
|
|
79216
|
+
|
|
79217
|
+
/**
|
|
79218
|
+
* EnterpriseUserEnrollmentInitiated hsUserId.
|
|
79219
|
+
* @member {string} hsUserId
|
|
79220
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79221
|
+
* @instance
|
|
79222
|
+
*/
|
|
79223
|
+
EnterpriseUserEnrollmentInitiated.prototype.hsUserId = "";
|
|
79224
|
+
|
|
79225
|
+
/**
|
|
79226
|
+
* EnterpriseUserEnrollmentInitiated orgId.
|
|
79227
|
+
* @member {number} orgId
|
|
79228
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79229
|
+
* @instance
|
|
79230
|
+
*/
|
|
79231
|
+
EnterpriseUserEnrollmentInitiated.prototype.orgId = 0;
|
|
79232
|
+
|
|
79233
|
+
/**
|
|
79234
|
+
* EnterpriseUserEnrollmentInitiated orgName.
|
|
79235
|
+
* @member {string} orgName
|
|
79236
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79237
|
+
* @instance
|
|
79238
|
+
*/
|
|
79239
|
+
EnterpriseUserEnrollmentInitiated.prototype.orgName = "";
|
|
79240
|
+
|
|
79241
|
+
/**
|
|
79242
|
+
* EnterpriseUserEnrollmentInitiated workEmailAddress.
|
|
79243
|
+
* @member {string} workEmailAddress
|
|
79244
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79245
|
+
* @instance
|
|
79246
|
+
*/
|
|
79247
|
+
EnterpriseUserEnrollmentInitiated.prototype.workEmailAddress = "";
|
|
79248
|
+
|
|
79249
|
+
/**
|
|
79250
|
+
* EnterpriseUserEnrollmentInitiated accountEmailAddress.
|
|
79251
|
+
* @member {string} accountEmailAddress
|
|
79252
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79253
|
+
* @instance
|
|
79254
|
+
*/
|
|
79255
|
+
EnterpriseUserEnrollmentInitiated.prototype.accountEmailAddress = "";
|
|
79256
|
+
|
|
79257
|
+
/**
|
|
79258
|
+
* EnterpriseUserEnrollmentInitiated verifyLink.
|
|
79259
|
+
* @member {string} verifyLink
|
|
79260
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79261
|
+
* @instance
|
|
79262
|
+
*/
|
|
79263
|
+
EnterpriseUserEnrollmentInitiated.prototype.verifyLink = "";
|
|
79264
|
+
|
|
79265
|
+
/**
|
|
79266
|
+
* EnterpriseUserEnrollmentInitiated enrollmentPage.
|
|
79267
|
+
* @member {string} enrollmentPage
|
|
79268
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79269
|
+
* @instance
|
|
79270
|
+
*/
|
|
79271
|
+
EnterpriseUserEnrollmentInitiated.prototype.enrollmentPage = "";
|
|
79272
|
+
|
|
79273
|
+
/**
|
|
79274
|
+
* EnterpriseUserEnrollmentInitiated timestampEpochMs.
|
|
79275
|
+
* @member {number|Long} timestampEpochMs
|
|
79276
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79277
|
+
* @instance
|
|
79278
|
+
*/
|
|
79279
|
+
EnterpriseUserEnrollmentInitiated.prototype.timestampEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
79280
|
+
|
|
79281
|
+
/**
|
|
79282
|
+
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
79283
|
+
* @function create
|
|
79284
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79285
|
+
* @static
|
|
79286
|
+
* @param {IEnterpriseUserEnrollmentInitiated=} [properties] Properties to set
|
|
79287
|
+
* @returns {EnterpriseUserEnrollmentInitiated} EnterpriseUserEnrollmentInitiated instance
|
|
79288
|
+
*/
|
|
79289
|
+
EnterpriseUserEnrollmentInitiated.create = function create(properties) {
|
|
79290
|
+
return new EnterpriseUserEnrollmentInitiated(properties);
|
|
79291
|
+
};
|
|
79292
|
+
|
|
79293
|
+
/**
|
|
79294
|
+
* Encodes the specified EnterpriseUserEnrollmentInitiated message. Does not implicitly {@link EnterpriseUserEnrollmentInitiated.verify|verify} messages.
|
|
79295
|
+
* @function encode
|
|
79296
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79297
|
+
* @static
|
|
79298
|
+
* @param {IEnterpriseUserEnrollmentInitiated} message EnterpriseUserEnrollmentInitiated message or plain object to encode
|
|
79299
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
79300
|
+
* @returns {$protobuf.Writer} Writer
|
|
79301
|
+
*/
|
|
79302
|
+
EnterpriseUserEnrollmentInitiated.encode = function encode(message, writer) {
|
|
79303
|
+
if (!writer)
|
|
79304
|
+
writer = $Writer.create();
|
|
79305
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
79306
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
79307
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
79308
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.orgId);
|
|
79309
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
79310
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.orgName);
|
|
79311
|
+
if (message.workEmailAddress != null && message.hasOwnProperty("workEmailAddress"))
|
|
79312
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.workEmailAddress);
|
|
79313
|
+
if (message.accountEmailAddress != null && message.hasOwnProperty("accountEmailAddress"))
|
|
79314
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.accountEmailAddress);
|
|
79315
|
+
if (message.verifyLink != null && message.hasOwnProperty("verifyLink"))
|
|
79316
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.verifyLink);
|
|
79317
|
+
if (message.enrollmentPage != null && message.hasOwnProperty("enrollmentPage"))
|
|
79318
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.enrollmentPage);
|
|
79319
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
79320
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestampEpochMs);
|
|
79321
|
+
return writer;
|
|
79322
|
+
};
|
|
79323
|
+
|
|
79324
|
+
/**
|
|
79325
|
+
* Encodes the specified EnterpriseUserEnrollmentInitiated message, length delimited. Does not implicitly {@link EnterpriseUserEnrollmentInitiated.verify|verify} messages.
|
|
79326
|
+
* @function encodeDelimited
|
|
79327
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79328
|
+
* @static
|
|
79329
|
+
* @param {IEnterpriseUserEnrollmentInitiated} message EnterpriseUserEnrollmentInitiated message or plain object to encode
|
|
79330
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
79331
|
+
* @returns {$protobuf.Writer} Writer
|
|
79332
|
+
*/
|
|
79333
|
+
EnterpriseUserEnrollmentInitiated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
79334
|
+
return this.encode(message, writer).ldelim();
|
|
79335
|
+
};
|
|
79336
|
+
|
|
79337
|
+
/**
|
|
79338
|
+
* Decodes an EnterpriseUserEnrollmentInitiated message from the specified reader or buffer.
|
|
79339
|
+
* @function decode
|
|
79340
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79341
|
+
* @static
|
|
79342
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
79343
|
+
* @param {number} [length] Message length if known beforehand
|
|
79344
|
+
* @returns {EnterpriseUserEnrollmentInitiated} EnterpriseUserEnrollmentInitiated
|
|
79345
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79346
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79347
|
+
*/
|
|
79348
|
+
EnterpriseUserEnrollmentInitiated.decode = function decode(reader, length) {
|
|
79349
|
+
if (!(reader instanceof $Reader))
|
|
79350
|
+
reader = $Reader.create(reader);
|
|
79351
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EnterpriseUserEnrollmentInitiated();
|
|
79352
|
+
while (reader.pos < end) {
|
|
79353
|
+
var tag = reader.uint32();
|
|
79354
|
+
switch (tag >>> 3) {
|
|
79355
|
+
case 1:
|
|
79356
|
+
message.hsUserId = reader.string();
|
|
79357
|
+
break;
|
|
79358
|
+
case 2:
|
|
79359
|
+
message.orgId = reader.uint32();
|
|
79360
|
+
break;
|
|
79361
|
+
case 3:
|
|
79362
|
+
message.orgName = reader.string();
|
|
79363
|
+
break;
|
|
79364
|
+
case 4:
|
|
79365
|
+
message.workEmailAddress = reader.string();
|
|
79366
|
+
break;
|
|
79367
|
+
case 5:
|
|
79368
|
+
message.accountEmailAddress = reader.string();
|
|
79369
|
+
break;
|
|
79370
|
+
case 6:
|
|
79371
|
+
message.verifyLink = reader.string();
|
|
79372
|
+
break;
|
|
79373
|
+
case 7:
|
|
79374
|
+
message.enrollmentPage = reader.string();
|
|
79375
|
+
break;
|
|
79376
|
+
case 8:
|
|
79377
|
+
message.timestampEpochMs = reader.uint64();
|
|
79378
|
+
break;
|
|
79379
|
+
default:
|
|
79380
|
+
reader.skipType(tag & 7);
|
|
79381
|
+
break;
|
|
79382
|
+
}
|
|
79383
|
+
}
|
|
79384
|
+
return message;
|
|
79385
|
+
};
|
|
79386
|
+
|
|
79387
|
+
/**
|
|
79388
|
+
* Decodes an EnterpriseUserEnrollmentInitiated message from the specified reader or buffer, length delimited.
|
|
79389
|
+
* @function decodeDelimited
|
|
79390
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79391
|
+
* @static
|
|
79392
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
79393
|
+
* @returns {EnterpriseUserEnrollmentInitiated} EnterpriseUserEnrollmentInitiated
|
|
79394
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
79395
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
79396
|
+
*/
|
|
79397
|
+
EnterpriseUserEnrollmentInitiated.decodeDelimited = function decodeDelimited(reader) {
|
|
79398
|
+
if (!(reader instanceof $Reader))
|
|
79399
|
+
reader = new $Reader(reader);
|
|
79400
|
+
return this.decode(reader, reader.uint32());
|
|
79401
|
+
};
|
|
79402
|
+
|
|
79403
|
+
/**
|
|
79404
|
+
* Verifies an EnterpriseUserEnrollmentInitiated message.
|
|
79405
|
+
* @function verify
|
|
79406
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79407
|
+
* @static
|
|
79408
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
79409
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
79410
|
+
*/
|
|
79411
|
+
EnterpriseUserEnrollmentInitiated.verify = function verify(message) {
|
|
79412
|
+
if (typeof message !== "object" || message === null)
|
|
79413
|
+
return "object expected";
|
|
79414
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
79415
|
+
if (!$util.isString(message.hsUserId))
|
|
79416
|
+
return "hsUserId: string expected";
|
|
79417
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
79418
|
+
if (!$util.isInteger(message.orgId))
|
|
79419
|
+
return "orgId: integer expected";
|
|
79420
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
79421
|
+
if (!$util.isString(message.orgName))
|
|
79422
|
+
return "orgName: string expected";
|
|
79423
|
+
if (message.workEmailAddress != null && message.hasOwnProperty("workEmailAddress"))
|
|
79424
|
+
if (!$util.isString(message.workEmailAddress))
|
|
79425
|
+
return "workEmailAddress: string expected";
|
|
79426
|
+
if (message.accountEmailAddress != null && message.hasOwnProperty("accountEmailAddress"))
|
|
79427
|
+
if (!$util.isString(message.accountEmailAddress))
|
|
79428
|
+
return "accountEmailAddress: string expected";
|
|
79429
|
+
if (message.verifyLink != null && message.hasOwnProperty("verifyLink"))
|
|
79430
|
+
if (!$util.isString(message.verifyLink))
|
|
79431
|
+
return "verifyLink: string expected";
|
|
79432
|
+
if (message.enrollmentPage != null && message.hasOwnProperty("enrollmentPage"))
|
|
79433
|
+
if (!$util.isString(message.enrollmentPage))
|
|
79434
|
+
return "enrollmentPage: string expected";
|
|
79435
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
79436
|
+
if (!$util.isInteger(message.timestampEpochMs) && !(message.timestampEpochMs && $util.isInteger(message.timestampEpochMs.low) && $util.isInteger(message.timestampEpochMs.high)))
|
|
79437
|
+
return "timestampEpochMs: integer|Long expected";
|
|
79438
|
+
return null;
|
|
79439
|
+
};
|
|
79440
|
+
|
|
79441
|
+
/**
|
|
79442
|
+
* Creates an EnterpriseUserEnrollmentInitiated message from a plain object. Also converts values to their respective internal types.
|
|
79443
|
+
* @function fromObject
|
|
79444
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79445
|
+
* @static
|
|
79446
|
+
* @param {Object.<string,*>} object Plain object
|
|
79447
|
+
* @returns {EnterpriseUserEnrollmentInitiated} EnterpriseUserEnrollmentInitiated
|
|
79448
|
+
*/
|
|
79449
|
+
EnterpriseUserEnrollmentInitiated.fromObject = function fromObject(object) {
|
|
79450
|
+
if (object instanceof $root.EnterpriseUserEnrollmentInitiated)
|
|
79451
|
+
return object;
|
|
79452
|
+
var message = new $root.EnterpriseUserEnrollmentInitiated();
|
|
79453
|
+
if (object.hsUserId != null)
|
|
79454
|
+
message.hsUserId = String(object.hsUserId);
|
|
79455
|
+
if (object.orgId != null)
|
|
79456
|
+
message.orgId = object.orgId >>> 0;
|
|
79457
|
+
if (object.orgName != null)
|
|
79458
|
+
message.orgName = String(object.orgName);
|
|
79459
|
+
if (object.workEmailAddress != null)
|
|
79460
|
+
message.workEmailAddress = String(object.workEmailAddress);
|
|
79461
|
+
if (object.accountEmailAddress != null)
|
|
79462
|
+
message.accountEmailAddress = String(object.accountEmailAddress);
|
|
79463
|
+
if (object.verifyLink != null)
|
|
79464
|
+
message.verifyLink = String(object.verifyLink);
|
|
79465
|
+
if (object.enrollmentPage != null)
|
|
79466
|
+
message.enrollmentPage = String(object.enrollmentPage);
|
|
79467
|
+
if (object.timestampEpochMs != null)
|
|
79468
|
+
if ($util.Long)
|
|
79469
|
+
(message.timestampEpochMs = $util.Long.fromValue(object.timestampEpochMs)).unsigned = true;
|
|
79470
|
+
else if (typeof object.timestampEpochMs === "string")
|
|
79471
|
+
message.timestampEpochMs = parseInt(object.timestampEpochMs, 10);
|
|
79472
|
+
else if (typeof object.timestampEpochMs === "number")
|
|
79473
|
+
message.timestampEpochMs = object.timestampEpochMs;
|
|
79474
|
+
else if (typeof object.timestampEpochMs === "object")
|
|
79475
|
+
message.timestampEpochMs = new $util.LongBits(object.timestampEpochMs.low >>> 0, object.timestampEpochMs.high >>> 0).toNumber(true);
|
|
79476
|
+
return message;
|
|
79477
|
+
};
|
|
79478
|
+
|
|
79479
|
+
/**
|
|
79480
|
+
* Creates a plain object from an EnterpriseUserEnrollmentInitiated message. Also converts values to other types if specified.
|
|
79481
|
+
* @function toObject
|
|
79482
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79483
|
+
* @static
|
|
79484
|
+
* @param {EnterpriseUserEnrollmentInitiated} message EnterpriseUserEnrollmentInitiated
|
|
79485
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
79486
|
+
* @returns {Object.<string,*>} Plain object
|
|
79487
|
+
*/
|
|
79488
|
+
EnterpriseUserEnrollmentInitiated.toObject = function toObject(message, options) {
|
|
79489
|
+
if (!options)
|
|
79490
|
+
options = {};
|
|
79491
|
+
var object = {};
|
|
79492
|
+
if (options.defaults) {
|
|
79493
|
+
object.hsUserId = "";
|
|
79494
|
+
object.orgId = 0;
|
|
79495
|
+
object.orgName = "";
|
|
79496
|
+
object.workEmailAddress = "";
|
|
79497
|
+
object.accountEmailAddress = "";
|
|
79498
|
+
object.verifyLink = "";
|
|
79499
|
+
object.enrollmentPage = "";
|
|
79500
|
+
if ($util.Long) {
|
|
79501
|
+
var long = new $util.Long(0, 0, true);
|
|
79502
|
+
object.timestampEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
79503
|
+
} else
|
|
79504
|
+
object.timestampEpochMs = options.longs === String ? "0" : 0;
|
|
79505
|
+
}
|
|
79506
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
79507
|
+
object.hsUserId = message.hsUserId;
|
|
79508
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
79509
|
+
object.orgId = message.orgId;
|
|
79510
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
79511
|
+
object.orgName = message.orgName;
|
|
79512
|
+
if (message.workEmailAddress != null && message.hasOwnProperty("workEmailAddress"))
|
|
79513
|
+
object.workEmailAddress = message.workEmailAddress;
|
|
79514
|
+
if (message.accountEmailAddress != null && message.hasOwnProperty("accountEmailAddress"))
|
|
79515
|
+
object.accountEmailAddress = message.accountEmailAddress;
|
|
79516
|
+
if (message.verifyLink != null && message.hasOwnProperty("verifyLink"))
|
|
79517
|
+
object.verifyLink = message.verifyLink;
|
|
79518
|
+
if (message.enrollmentPage != null && message.hasOwnProperty("enrollmentPage"))
|
|
79519
|
+
object.enrollmentPage = message.enrollmentPage;
|
|
79520
|
+
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
79521
|
+
if (typeof message.timestampEpochMs === "number")
|
|
79522
|
+
object.timestampEpochMs = options.longs === String ? String(message.timestampEpochMs) : message.timestampEpochMs;
|
|
79523
|
+
else
|
|
79524
|
+
object.timestampEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampEpochMs.low >>> 0, message.timestampEpochMs.high >>> 0).toNumber(true) : message.timestampEpochMs;
|
|
79525
|
+
return object;
|
|
79526
|
+
};
|
|
79527
|
+
|
|
79528
|
+
/**
|
|
79529
|
+
* Converts this EnterpriseUserEnrollmentInitiated to JSON.
|
|
79530
|
+
* @function toJSON
|
|
79531
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
79532
|
+
* @instance
|
|
79533
|
+
* @returns {Object.<string,*>} JSON object
|
|
79534
|
+
*/
|
|
79535
|
+
EnterpriseUserEnrollmentInitiated.prototype.toJSON = function toJSON() {
|
|
79536
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
79537
|
+
};
|
|
79538
|
+
|
|
79539
|
+
return EnterpriseUserEnrollmentInitiated;
|
|
79540
|
+
})();
|
|
79541
|
+
|
|
79186
79542
|
$root.GiftRedeemed = (function() {
|
|
79187
79543
|
|
|
79188
79544
|
/**
|
|
@@ -79819,6 +80175,7 @@ $root.GiftPurchased = (function() {
|
|
|
79819
80175
|
* @property {string|null} [giftRecipientLastName] GiftPurchased giftRecipientLastName
|
|
79820
80176
|
* @property {number|null} [giftNumMonths] GiftPurchased giftNumMonths
|
|
79821
80177
|
* @property {number|Long|null} [purchasedOn] GiftPurchased purchasedOn
|
|
80178
|
+
* @property {string|null} [giftPurchaseId] GiftPurchased giftPurchaseId
|
|
79822
80179
|
*/
|
|
79823
80180
|
|
|
79824
80181
|
/**
|
|
@@ -79884,6 +80241,14 @@ $root.GiftPurchased = (function() {
|
|
|
79884
80241
|
*/
|
|
79885
80242
|
GiftPurchased.prototype.purchasedOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
79886
80243
|
|
|
80244
|
+
/**
|
|
80245
|
+
* GiftPurchased giftPurchaseId.
|
|
80246
|
+
* @member {string} giftPurchaseId
|
|
80247
|
+
* @memberof GiftPurchased
|
|
80248
|
+
* @instance
|
|
80249
|
+
*/
|
|
80250
|
+
GiftPurchased.prototype.giftPurchaseId = "";
|
|
80251
|
+
|
|
79887
80252
|
/**
|
|
79888
80253
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
79889
80254
|
* @function create
|
|
@@ -79920,6 +80285,8 @@ $root.GiftPurchased = (function() {
|
|
|
79920
80285
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.giftNumMonths);
|
|
79921
80286
|
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
79922
80287
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.purchasedOn);
|
|
80288
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80289
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.giftPurchaseId);
|
|
79923
80290
|
return writer;
|
|
79924
80291
|
};
|
|
79925
80292
|
|
|
@@ -79972,6 +80339,9 @@ $root.GiftPurchased = (function() {
|
|
|
79972
80339
|
case 6:
|
|
79973
80340
|
message.purchasedOn = reader.uint64();
|
|
79974
80341
|
break;
|
|
80342
|
+
case 7:
|
|
80343
|
+
message.giftPurchaseId = reader.string();
|
|
80344
|
+
break;
|
|
79975
80345
|
default:
|
|
79976
80346
|
reader.skipType(tag & 7);
|
|
79977
80347
|
break;
|
|
@@ -80025,6 +80395,9 @@ $root.GiftPurchased = (function() {
|
|
|
80025
80395
|
if (message.purchasedOn != null && message.hasOwnProperty("purchasedOn"))
|
|
80026
80396
|
if (!$util.isInteger(message.purchasedOn) && !(message.purchasedOn && $util.isInteger(message.purchasedOn.low) && $util.isInteger(message.purchasedOn.high)))
|
|
80027
80397
|
return "purchasedOn: integer|Long expected";
|
|
80398
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80399
|
+
if (!$util.isString(message.giftPurchaseId))
|
|
80400
|
+
return "giftPurchaseId: string expected";
|
|
80028
80401
|
return null;
|
|
80029
80402
|
};
|
|
80030
80403
|
|
|
@@ -80059,6 +80432,8 @@ $root.GiftPurchased = (function() {
|
|
|
80059
80432
|
message.purchasedOn = object.purchasedOn;
|
|
80060
80433
|
else if (typeof object.purchasedOn === "object")
|
|
80061
80434
|
message.purchasedOn = new $util.LongBits(object.purchasedOn.low >>> 0, object.purchasedOn.high >>> 0).toNumber(true);
|
|
80435
|
+
if (object.giftPurchaseId != null)
|
|
80436
|
+
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
80062
80437
|
return message;
|
|
80063
80438
|
};
|
|
80064
80439
|
|
|
@@ -80086,6 +80461,7 @@ $root.GiftPurchased = (function() {
|
|
|
80086
80461
|
object.purchasedOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
80087
80462
|
} else
|
|
80088
80463
|
object.purchasedOn = options.longs === String ? "0" : 0;
|
|
80464
|
+
object.giftPurchaseId = "";
|
|
80089
80465
|
}
|
|
80090
80466
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80091
80467
|
object.hsUserId = message.hsUserId;
|
|
@@ -80102,6 +80478,8 @@ $root.GiftPurchased = (function() {
|
|
|
80102
80478
|
object.purchasedOn = options.longs === String ? String(message.purchasedOn) : message.purchasedOn;
|
|
80103
80479
|
else
|
|
80104
80480
|
object.purchasedOn = options.longs === String ? $util.Long.prototype.toString.call(message.purchasedOn) : options.longs === Number ? new $util.LongBits(message.purchasedOn.low >>> 0, message.purchasedOn.high >>> 0).toNumber(true) : message.purchasedOn;
|
|
80481
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80482
|
+
object.giftPurchaseId = message.giftPurchaseId;
|
|
80105
80483
|
return object;
|
|
80106
80484
|
};
|
|
80107
80485
|
|
|
@@ -80119,6 +80497,274 @@ $root.GiftPurchased = (function() {
|
|
|
80119
80497
|
return GiftPurchased;
|
|
80120
80498
|
})();
|
|
80121
80499
|
|
|
80500
|
+
$root.GiftRedemptionCodeGenerated = (function() {
|
|
80501
|
+
|
|
80502
|
+
/**
|
|
80503
|
+
* Properties of a GiftRedemptionCodeGenerated.
|
|
80504
|
+
* @exports IGiftRedemptionCodeGenerated
|
|
80505
|
+
* @interface IGiftRedemptionCodeGenerated
|
|
80506
|
+
* @property {string|null} [hsUserId] GiftRedemptionCodeGenerated hsUserId
|
|
80507
|
+
* @property {string|null} [giftRedemptionCode] GiftRedemptionCodeGenerated giftRedemptionCode
|
|
80508
|
+
* @property {string|null} [giftPurchaseId] GiftRedemptionCodeGenerated giftPurchaseId
|
|
80509
|
+
* @property {number|Long|null} [timestamp] GiftRedemptionCodeGenerated timestamp
|
|
80510
|
+
*/
|
|
80511
|
+
|
|
80512
|
+
/**
|
|
80513
|
+
* Constructs a new GiftRedemptionCodeGenerated.
|
|
80514
|
+
* @exports GiftRedemptionCodeGenerated
|
|
80515
|
+
* @classdesc Represents a GiftRedemptionCodeGenerated.
|
|
80516
|
+
* @implements IGiftRedemptionCodeGenerated
|
|
80517
|
+
* @constructor
|
|
80518
|
+
* @param {IGiftRedemptionCodeGenerated=} [properties] Properties to set
|
|
80519
|
+
*/
|
|
80520
|
+
function GiftRedemptionCodeGenerated(properties) {
|
|
80521
|
+
if (properties)
|
|
80522
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
80523
|
+
if (properties[keys[i]] != null)
|
|
80524
|
+
this[keys[i]] = properties[keys[i]];
|
|
80525
|
+
}
|
|
80526
|
+
|
|
80527
|
+
/**
|
|
80528
|
+
* GiftRedemptionCodeGenerated hsUserId.
|
|
80529
|
+
* @member {string} hsUserId
|
|
80530
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80531
|
+
* @instance
|
|
80532
|
+
*/
|
|
80533
|
+
GiftRedemptionCodeGenerated.prototype.hsUserId = "";
|
|
80534
|
+
|
|
80535
|
+
/**
|
|
80536
|
+
* GiftRedemptionCodeGenerated giftRedemptionCode.
|
|
80537
|
+
* @member {string} giftRedemptionCode
|
|
80538
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80539
|
+
* @instance
|
|
80540
|
+
*/
|
|
80541
|
+
GiftRedemptionCodeGenerated.prototype.giftRedemptionCode = "";
|
|
80542
|
+
|
|
80543
|
+
/**
|
|
80544
|
+
* GiftRedemptionCodeGenerated giftPurchaseId.
|
|
80545
|
+
* @member {string} giftPurchaseId
|
|
80546
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80547
|
+
* @instance
|
|
80548
|
+
*/
|
|
80549
|
+
GiftRedemptionCodeGenerated.prototype.giftPurchaseId = "";
|
|
80550
|
+
|
|
80551
|
+
/**
|
|
80552
|
+
* GiftRedemptionCodeGenerated timestamp.
|
|
80553
|
+
* @member {number|Long} timestamp
|
|
80554
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80555
|
+
* @instance
|
|
80556
|
+
*/
|
|
80557
|
+
GiftRedemptionCodeGenerated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
80558
|
+
|
|
80559
|
+
/**
|
|
80560
|
+
* Creates a new GiftRedemptionCodeGenerated instance using the specified properties.
|
|
80561
|
+
* @function create
|
|
80562
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80563
|
+
* @static
|
|
80564
|
+
* @param {IGiftRedemptionCodeGenerated=} [properties] Properties to set
|
|
80565
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated instance
|
|
80566
|
+
*/
|
|
80567
|
+
GiftRedemptionCodeGenerated.create = function create(properties) {
|
|
80568
|
+
return new GiftRedemptionCodeGenerated(properties);
|
|
80569
|
+
};
|
|
80570
|
+
|
|
80571
|
+
/**
|
|
80572
|
+
* Encodes the specified GiftRedemptionCodeGenerated message. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
80573
|
+
* @function encode
|
|
80574
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80575
|
+
* @static
|
|
80576
|
+
* @param {IGiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated message or plain object to encode
|
|
80577
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80578
|
+
* @returns {$protobuf.Writer} Writer
|
|
80579
|
+
*/
|
|
80580
|
+
GiftRedemptionCodeGenerated.encode = function encode(message, writer) {
|
|
80581
|
+
if (!writer)
|
|
80582
|
+
writer = $Writer.create();
|
|
80583
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80584
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
80585
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80586
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.giftRedemptionCode);
|
|
80587
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80588
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.giftPurchaseId);
|
|
80589
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80590
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
80591
|
+
return writer;
|
|
80592
|
+
};
|
|
80593
|
+
|
|
80594
|
+
/**
|
|
80595
|
+
* Encodes the specified GiftRedemptionCodeGenerated message, length delimited. Does not implicitly {@link GiftRedemptionCodeGenerated.verify|verify} messages.
|
|
80596
|
+
* @function encodeDelimited
|
|
80597
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80598
|
+
* @static
|
|
80599
|
+
* @param {IGiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated message or plain object to encode
|
|
80600
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80601
|
+
* @returns {$protobuf.Writer} Writer
|
|
80602
|
+
*/
|
|
80603
|
+
GiftRedemptionCodeGenerated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
80604
|
+
return this.encode(message, writer).ldelim();
|
|
80605
|
+
};
|
|
80606
|
+
|
|
80607
|
+
/**
|
|
80608
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer.
|
|
80609
|
+
* @function decode
|
|
80610
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80611
|
+
* @static
|
|
80612
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80613
|
+
* @param {number} [length] Message length if known beforehand
|
|
80614
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80617
|
+
*/
|
|
80618
|
+
GiftRedemptionCodeGenerated.decode = function decode(reader, length) {
|
|
80619
|
+
if (!(reader instanceof $Reader))
|
|
80620
|
+
reader = $Reader.create(reader);
|
|
80621
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GiftRedemptionCodeGenerated();
|
|
80622
|
+
while (reader.pos < end) {
|
|
80623
|
+
var tag = reader.uint32();
|
|
80624
|
+
switch (tag >>> 3) {
|
|
80625
|
+
case 1:
|
|
80626
|
+
message.hsUserId = reader.string();
|
|
80627
|
+
break;
|
|
80628
|
+
case 2:
|
|
80629
|
+
message.giftRedemptionCode = reader.string();
|
|
80630
|
+
break;
|
|
80631
|
+
case 3:
|
|
80632
|
+
message.giftPurchaseId = reader.string();
|
|
80633
|
+
break;
|
|
80634
|
+
case 4:
|
|
80635
|
+
message.timestamp = reader.uint64();
|
|
80636
|
+
break;
|
|
80637
|
+
default:
|
|
80638
|
+
reader.skipType(tag & 7);
|
|
80639
|
+
break;
|
|
80640
|
+
}
|
|
80641
|
+
}
|
|
80642
|
+
return message;
|
|
80643
|
+
};
|
|
80644
|
+
|
|
80645
|
+
/**
|
|
80646
|
+
* Decodes a GiftRedemptionCodeGenerated message from the specified reader or buffer, length delimited.
|
|
80647
|
+
* @function decodeDelimited
|
|
80648
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80649
|
+
* @static
|
|
80650
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80651
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80652
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80653
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80654
|
+
*/
|
|
80655
|
+
GiftRedemptionCodeGenerated.decodeDelimited = function decodeDelimited(reader) {
|
|
80656
|
+
if (!(reader instanceof $Reader))
|
|
80657
|
+
reader = new $Reader(reader);
|
|
80658
|
+
return this.decode(reader, reader.uint32());
|
|
80659
|
+
};
|
|
80660
|
+
|
|
80661
|
+
/**
|
|
80662
|
+
* Verifies a GiftRedemptionCodeGenerated message.
|
|
80663
|
+
* @function verify
|
|
80664
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80665
|
+
* @static
|
|
80666
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
80667
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
80668
|
+
*/
|
|
80669
|
+
GiftRedemptionCodeGenerated.verify = function verify(message) {
|
|
80670
|
+
if (typeof message !== "object" || message === null)
|
|
80671
|
+
return "object expected";
|
|
80672
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80673
|
+
if (!$util.isString(message.hsUserId))
|
|
80674
|
+
return "hsUserId: string expected";
|
|
80675
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80676
|
+
if (!$util.isString(message.giftRedemptionCode))
|
|
80677
|
+
return "giftRedemptionCode: string expected";
|
|
80678
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80679
|
+
if (!$util.isString(message.giftPurchaseId))
|
|
80680
|
+
return "giftPurchaseId: string expected";
|
|
80681
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80682
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
80683
|
+
return "timestamp: integer|Long expected";
|
|
80684
|
+
return null;
|
|
80685
|
+
};
|
|
80686
|
+
|
|
80687
|
+
/**
|
|
80688
|
+
* Creates a GiftRedemptionCodeGenerated message from a plain object. Also converts values to their respective internal types.
|
|
80689
|
+
* @function fromObject
|
|
80690
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80691
|
+
* @static
|
|
80692
|
+
* @param {Object.<string,*>} object Plain object
|
|
80693
|
+
* @returns {GiftRedemptionCodeGenerated} GiftRedemptionCodeGenerated
|
|
80694
|
+
*/
|
|
80695
|
+
GiftRedemptionCodeGenerated.fromObject = function fromObject(object) {
|
|
80696
|
+
if (object instanceof $root.GiftRedemptionCodeGenerated)
|
|
80697
|
+
return object;
|
|
80698
|
+
var message = new $root.GiftRedemptionCodeGenerated();
|
|
80699
|
+
if (object.hsUserId != null)
|
|
80700
|
+
message.hsUserId = String(object.hsUserId);
|
|
80701
|
+
if (object.giftRedemptionCode != null)
|
|
80702
|
+
message.giftRedemptionCode = String(object.giftRedemptionCode);
|
|
80703
|
+
if (object.giftPurchaseId != null)
|
|
80704
|
+
message.giftPurchaseId = String(object.giftPurchaseId);
|
|
80705
|
+
if (object.timestamp != null)
|
|
80706
|
+
if ($util.Long)
|
|
80707
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
80708
|
+
else if (typeof object.timestamp === "string")
|
|
80709
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
80710
|
+
else if (typeof object.timestamp === "number")
|
|
80711
|
+
message.timestamp = object.timestamp;
|
|
80712
|
+
else if (typeof object.timestamp === "object")
|
|
80713
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
80714
|
+
return message;
|
|
80715
|
+
};
|
|
80716
|
+
|
|
80717
|
+
/**
|
|
80718
|
+
* Creates a plain object from a GiftRedemptionCodeGenerated message. Also converts values to other types if specified.
|
|
80719
|
+
* @function toObject
|
|
80720
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80721
|
+
* @static
|
|
80722
|
+
* @param {GiftRedemptionCodeGenerated} message GiftRedemptionCodeGenerated
|
|
80723
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
80724
|
+
* @returns {Object.<string,*>} Plain object
|
|
80725
|
+
*/
|
|
80726
|
+
GiftRedemptionCodeGenerated.toObject = function toObject(message, options) {
|
|
80727
|
+
if (!options)
|
|
80728
|
+
options = {};
|
|
80729
|
+
var object = {};
|
|
80730
|
+
if (options.defaults) {
|
|
80731
|
+
object.hsUserId = "";
|
|
80732
|
+
object.giftRedemptionCode = "";
|
|
80733
|
+
object.giftPurchaseId = "";
|
|
80734
|
+
if ($util.Long) {
|
|
80735
|
+
var long = new $util.Long(0, 0, true);
|
|
80736
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
80737
|
+
} else
|
|
80738
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
80739
|
+
}
|
|
80740
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
80741
|
+
object.hsUserId = message.hsUserId;
|
|
80742
|
+
if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
|
|
80743
|
+
object.giftRedemptionCode = message.giftRedemptionCode;
|
|
80744
|
+
if (message.giftPurchaseId != null && message.hasOwnProperty("giftPurchaseId"))
|
|
80745
|
+
object.giftPurchaseId = message.giftPurchaseId;
|
|
80746
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
80747
|
+
if (typeof message.timestamp === "number")
|
|
80748
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
80749
|
+
else
|
|
80750
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
80751
|
+
return object;
|
|
80752
|
+
};
|
|
80753
|
+
|
|
80754
|
+
/**
|
|
80755
|
+
* Converts this GiftRedemptionCodeGenerated to JSON.
|
|
80756
|
+
* @function toJSON
|
|
80757
|
+
* @memberof GiftRedemptionCodeGenerated
|
|
80758
|
+
* @instance
|
|
80759
|
+
* @returns {Object.<string,*>} JSON object
|
|
80760
|
+
*/
|
|
80761
|
+
GiftRedemptionCodeGenerated.prototype.toJSON = function toJSON() {
|
|
80762
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
80763
|
+
};
|
|
80764
|
+
|
|
80765
|
+
return GiftRedemptionCodeGenerated;
|
|
80766
|
+
})();
|
|
80767
|
+
|
|
80122
80768
|
$root.GoogleSubscriptionPurchased = (function() {
|
|
80123
80769
|
|
|
80124
80770
|
/**
|
package/package.json
CHANGED