@headspace/protos-events 1.435.0 → 1.437.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 +320 -3
- package/lib/index.js +814 -18
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -27316,6 +27316,322 @@ export class HealthPartnershipMemberEligibilityVerified implements IHealthPartne
|
|
|
27316
27316
|
public toJSON(): { [k: string]: any };
|
|
27317
27317
|
}
|
|
27318
27318
|
|
|
27319
|
+
/** Properties of a PartnershipMemberEnrolled. */
|
|
27320
|
+
export interface IPartnershipMemberEnrolled {
|
|
27321
|
+
|
|
27322
|
+
/** PartnershipMemberEnrolled hsUserId */
|
|
27323
|
+
hsUserId?: (string|null);
|
|
27324
|
+
|
|
27325
|
+
/** PartnershipMemberEnrolled partnershipUserId */
|
|
27326
|
+
partnershipUserId?: (string|null);
|
|
27327
|
+
|
|
27328
|
+
/** PartnershipMemberEnrolled partnerName */
|
|
27329
|
+
partnerName?: (PartnerName|null);
|
|
27330
|
+
|
|
27331
|
+
/** PartnershipMemberEnrolled timestamp */
|
|
27332
|
+
timestamp?: (number|Long|null);
|
|
27333
|
+
|
|
27334
|
+
/** PartnershipMemberEnrolled accessCode */
|
|
27335
|
+
accessCode?: (string|null);
|
|
27336
|
+
|
|
27337
|
+
/** PartnershipMemberEnrolled gympassProperties */
|
|
27338
|
+
gympassProperties?: (IGympassProperties|null);
|
|
27339
|
+
|
|
27340
|
+
/** PartnershipMemberEnrolled soleraProperties */
|
|
27341
|
+
soleraProperties?: (ISoleraProperties|null);
|
|
27342
|
+
}
|
|
27343
|
+
|
|
27344
|
+
/** Represents a PartnershipMemberEnrolled. */
|
|
27345
|
+
export class PartnershipMemberEnrolled implements IPartnershipMemberEnrolled {
|
|
27346
|
+
|
|
27347
|
+
/**
|
|
27348
|
+
* Constructs a new PartnershipMemberEnrolled.
|
|
27349
|
+
* @param [properties] Properties to set
|
|
27350
|
+
*/
|
|
27351
|
+
constructor(properties?: IPartnershipMemberEnrolled);
|
|
27352
|
+
|
|
27353
|
+
/** PartnershipMemberEnrolled hsUserId. */
|
|
27354
|
+
public hsUserId: string;
|
|
27355
|
+
|
|
27356
|
+
/** PartnershipMemberEnrolled partnershipUserId. */
|
|
27357
|
+
public partnershipUserId: string;
|
|
27358
|
+
|
|
27359
|
+
/** PartnershipMemberEnrolled partnerName. */
|
|
27360
|
+
public partnerName: PartnerName;
|
|
27361
|
+
|
|
27362
|
+
/** PartnershipMemberEnrolled timestamp. */
|
|
27363
|
+
public timestamp: (number|Long);
|
|
27364
|
+
|
|
27365
|
+
/** PartnershipMemberEnrolled accessCode. */
|
|
27366
|
+
public accessCode: string;
|
|
27367
|
+
|
|
27368
|
+
/** PartnershipMemberEnrolled gympassProperties. */
|
|
27369
|
+
public gympassProperties?: (IGympassProperties|null);
|
|
27370
|
+
|
|
27371
|
+
/** PartnershipMemberEnrolled soleraProperties. */
|
|
27372
|
+
public soleraProperties?: (ISoleraProperties|null);
|
|
27373
|
+
|
|
27374
|
+
/** PartnershipMemberEnrolled properties. */
|
|
27375
|
+
public properties?: ("gympassProperties"|"soleraProperties");
|
|
27376
|
+
|
|
27377
|
+
/**
|
|
27378
|
+
* Creates a new PartnershipMemberEnrolled instance using the specified properties.
|
|
27379
|
+
* @param [properties] Properties to set
|
|
27380
|
+
* @returns PartnershipMemberEnrolled instance
|
|
27381
|
+
*/
|
|
27382
|
+
public static create(properties?: IPartnershipMemberEnrolled): PartnershipMemberEnrolled;
|
|
27383
|
+
|
|
27384
|
+
/**
|
|
27385
|
+
* Encodes the specified PartnershipMemberEnrolled message. Does not implicitly {@link PartnershipMemberEnrolled.verify|verify} messages.
|
|
27386
|
+
* @param message PartnershipMemberEnrolled message or plain object to encode
|
|
27387
|
+
* @param [writer] Writer to encode to
|
|
27388
|
+
* @returns Writer
|
|
27389
|
+
*/
|
|
27390
|
+
public static encode(message: IPartnershipMemberEnrolled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27391
|
+
|
|
27392
|
+
/**
|
|
27393
|
+
* Encodes the specified PartnershipMemberEnrolled message, length delimited. Does not implicitly {@link PartnershipMemberEnrolled.verify|verify} messages.
|
|
27394
|
+
* @param message PartnershipMemberEnrolled message or plain object to encode
|
|
27395
|
+
* @param [writer] Writer to encode to
|
|
27396
|
+
* @returns Writer
|
|
27397
|
+
*/
|
|
27398
|
+
public static encodeDelimited(message: IPartnershipMemberEnrolled, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27399
|
+
|
|
27400
|
+
/**
|
|
27401
|
+
* Decodes a PartnershipMemberEnrolled message from the specified reader or buffer.
|
|
27402
|
+
* @param reader Reader or buffer to decode from
|
|
27403
|
+
* @param [length] Message length if known beforehand
|
|
27404
|
+
* @returns PartnershipMemberEnrolled
|
|
27405
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27406
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27407
|
+
*/
|
|
27408
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PartnershipMemberEnrolled;
|
|
27409
|
+
|
|
27410
|
+
/**
|
|
27411
|
+
* Decodes a PartnershipMemberEnrolled message from the specified reader or buffer, length delimited.
|
|
27412
|
+
* @param reader Reader or buffer to decode from
|
|
27413
|
+
* @returns PartnershipMemberEnrolled
|
|
27414
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27415
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27416
|
+
*/
|
|
27417
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PartnershipMemberEnrolled;
|
|
27418
|
+
|
|
27419
|
+
/**
|
|
27420
|
+
* Verifies a PartnershipMemberEnrolled message.
|
|
27421
|
+
* @param message Plain object to verify
|
|
27422
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27423
|
+
*/
|
|
27424
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27425
|
+
|
|
27426
|
+
/**
|
|
27427
|
+
* Creates a PartnershipMemberEnrolled message from a plain object. Also converts values to their respective internal types.
|
|
27428
|
+
* @param object Plain object
|
|
27429
|
+
* @returns PartnershipMemberEnrolled
|
|
27430
|
+
*/
|
|
27431
|
+
public static fromObject(object: { [k: string]: any }): PartnershipMemberEnrolled;
|
|
27432
|
+
|
|
27433
|
+
/**
|
|
27434
|
+
* Creates a plain object from a PartnershipMemberEnrolled message. Also converts values to other types if specified.
|
|
27435
|
+
* @param message PartnershipMemberEnrolled
|
|
27436
|
+
* @param [options] Conversion options
|
|
27437
|
+
* @returns Plain object
|
|
27438
|
+
*/
|
|
27439
|
+
public static toObject(message: PartnershipMemberEnrolled, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27440
|
+
|
|
27441
|
+
/**
|
|
27442
|
+
* Converts this PartnershipMemberEnrolled to JSON.
|
|
27443
|
+
* @returns JSON object
|
|
27444
|
+
*/
|
|
27445
|
+
public toJSON(): { [k: string]: any };
|
|
27446
|
+
}
|
|
27447
|
+
|
|
27448
|
+
/** Properties of a SoleraProperties. */
|
|
27449
|
+
export interface ISoleraProperties {
|
|
27450
|
+
|
|
27451
|
+
/** SoleraProperties soleraEnrollmentId */
|
|
27452
|
+
soleraEnrollmentId?: (string|null);
|
|
27453
|
+
}
|
|
27454
|
+
|
|
27455
|
+
/** Represents a SoleraProperties. */
|
|
27456
|
+
export class SoleraProperties implements ISoleraProperties {
|
|
27457
|
+
|
|
27458
|
+
/**
|
|
27459
|
+
* Constructs a new SoleraProperties.
|
|
27460
|
+
* @param [properties] Properties to set
|
|
27461
|
+
*/
|
|
27462
|
+
constructor(properties?: ISoleraProperties);
|
|
27463
|
+
|
|
27464
|
+
/** SoleraProperties soleraEnrollmentId. */
|
|
27465
|
+
public soleraEnrollmentId: string;
|
|
27466
|
+
|
|
27467
|
+
/**
|
|
27468
|
+
* Creates a new SoleraProperties instance using the specified properties.
|
|
27469
|
+
* @param [properties] Properties to set
|
|
27470
|
+
* @returns SoleraProperties instance
|
|
27471
|
+
*/
|
|
27472
|
+
public static create(properties?: ISoleraProperties): SoleraProperties;
|
|
27473
|
+
|
|
27474
|
+
/**
|
|
27475
|
+
* Encodes the specified SoleraProperties message. Does not implicitly {@link SoleraProperties.verify|verify} messages.
|
|
27476
|
+
* @param message SoleraProperties message or plain object to encode
|
|
27477
|
+
* @param [writer] Writer to encode to
|
|
27478
|
+
* @returns Writer
|
|
27479
|
+
*/
|
|
27480
|
+
public static encode(message: ISoleraProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27481
|
+
|
|
27482
|
+
/**
|
|
27483
|
+
* Encodes the specified SoleraProperties message, length delimited. Does not implicitly {@link SoleraProperties.verify|verify} messages.
|
|
27484
|
+
* @param message SoleraProperties message or plain object to encode
|
|
27485
|
+
* @param [writer] Writer to encode to
|
|
27486
|
+
* @returns Writer
|
|
27487
|
+
*/
|
|
27488
|
+
public static encodeDelimited(message: ISoleraProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27489
|
+
|
|
27490
|
+
/**
|
|
27491
|
+
* Decodes a SoleraProperties message from the specified reader or buffer.
|
|
27492
|
+
* @param reader Reader or buffer to decode from
|
|
27493
|
+
* @param [length] Message length if known beforehand
|
|
27494
|
+
* @returns SoleraProperties
|
|
27495
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27496
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27497
|
+
*/
|
|
27498
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoleraProperties;
|
|
27499
|
+
|
|
27500
|
+
/**
|
|
27501
|
+
* Decodes a SoleraProperties message from the specified reader or buffer, length delimited.
|
|
27502
|
+
* @param reader Reader or buffer to decode from
|
|
27503
|
+
* @returns SoleraProperties
|
|
27504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27506
|
+
*/
|
|
27507
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoleraProperties;
|
|
27508
|
+
|
|
27509
|
+
/**
|
|
27510
|
+
* Verifies a SoleraProperties message.
|
|
27511
|
+
* @param message Plain object to verify
|
|
27512
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27513
|
+
*/
|
|
27514
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27515
|
+
|
|
27516
|
+
/**
|
|
27517
|
+
* Creates a SoleraProperties message from a plain object. Also converts values to their respective internal types.
|
|
27518
|
+
* @param object Plain object
|
|
27519
|
+
* @returns SoleraProperties
|
|
27520
|
+
*/
|
|
27521
|
+
public static fromObject(object: { [k: string]: any }): SoleraProperties;
|
|
27522
|
+
|
|
27523
|
+
/**
|
|
27524
|
+
* Creates a plain object from a SoleraProperties message. Also converts values to other types if specified.
|
|
27525
|
+
* @param message SoleraProperties
|
|
27526
|
+
* @param [options] Conversion options
|
|
27527
|
+
* @returns Plain object
|
|
27528
|
+
*/
|
|
27529
|
+
public static toObject(message: SoleraProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27530
|
+
|
|
27531
|
+
/**
|
|
27532
|
+
* Converts this SoleraProperties to JSON.
|
|
27533
|
+
* @returns JSON object
|
|
27534
|
+
*/
|
|
27535
|
+
public toJSON(): { [k: string]: any };
|
|
27536
|
+
}
|
|
27537
|
+
|
|
27538
|
+
/** Properties of a GympassProperties. */
|
|
27539
|
+
export interface IGympassProperties {
|
|
27540
|
+
|
|
27541
|
+
/** GympassProperties countryCode */
|
|
27542
|
+
countryCode?: (string|null);
|
|
27543
|
+
}
|
|
27544
|
+
|
|
27545
|
+
/** Represents a GympassProperties. */
|
|
27546
|
+
export class GympassProperties implements IGympassProperties {
|
|
27547
|
+
|
|
27548
|
+
/**
|
|
27549
|
+
* Constructs a new GympassProperties.
|
|
27550
|
+
* @param [properties] Properties to set
|
|
27551
|
+
*/
|
|
27552
|
+
constructor(properties?: IGympassProperties);
|
|
27553
|
+
|
|
27554
|
+
/** GympassProperties countryCode. */
|
|
27555
|
+
public countryCode: string;
|
|
27556
|
+
|
|
27557
|
+
/**
|
|
27558
|
+
* Creates a new GympassProperties instance using the specified properties.
|
|
27559
|
+
* @param [properties] Properties to set
|
|
27560
|
+
* @returns GympassProperties instance
|
|
27561
|
+
*/
|
|
27562
|
+
public static create(properties?: IGympassProperties): GympassProperties;
|
|
27563
|
+
|
|
27564
|
+
/**
|
|
27565
|
+
* Encodes the specified GympassProperties message. Does not implicitly {@link GympassProperties.verify|verify} messages.
|
|
27566
|
+
* @param message GympassProperties message or plain object to encode
|
|
27567
|
+
* @param [writer] Writer to encode to
|
|
27568
|
+
* @returns Writer
|
|
27569
|
+
*/
|
|
27570
|
+
public static encode(message: IGympassProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27571
|
+
|
|
27572
|
+
/**
|
|
27573
|
+
* Encodes the specified GympassProperties message, length delimited. Does not implicitly {@link GympassProperties.verify|verify} messages.
|
|
27574
|
+
* @param message GympassProperties message or plain object to encode
|
|
27575
|
+
* @param [writer] Writer to encode to
|
|
27576
|
+
* @returns Writer
|
|
27577
|
+
*/
|
|
27578
|
+
public static encodeDelimited(message: IGympassProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27579
|
+
|
|
27580
|
+
/**
|
|
27581
|
+
* Decodes a GympassProperties message from the specified reader or buffer.
|
|
27582
|
+
* @param reader Reader or buffer to decode from
|
|
27583
|
+
* @param [length] Message length if known beforehand
|
|
27584
|
+
* @returns GympassProperties
|
|
27585
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27586
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27587
|
+
*/
|
|
27588
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GympassProperties;
|
|
27589
|
+
|
|
27590
|
+
/**
|
|
27591
|
+
* Decodes a GympassProperties message from the specified reader or buffer, length delimited.
|
|
27592
|
+
* @param reader Reader or buffer to decode from
|
|
27593
|
+
* @returns GympassProperties
|
|
27594
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27595
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27596
|
+
*/
|
|
27597
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GympassProperties;
|
|
27598
|
+
|
|
27599
|
+
/**
|
|
27600
|
+
* Verifies a GympassProperties message.
|
|
27601
|
+
* @param message Plain object to verify
|
|
27602
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27603
|
+
*/
|
|
27604
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27605
|
+
|
|
27606
|
+
/**
|
|
27607
|
+
* Creates a GympassProperties message from a plain object. Also converts values to their respective internal types.
|
|
27608
|
+
* @param object Plain object
|
|
27609
|
+
* @returns GympassProperties
|
|
27610
|
+
*/
|
|
27611
|
+
public static fromObject(object: { [k: string]: any }): GympassProperties;
|
|
27612
|
+
|
|
27613
|
+
/**
|
|
27614
|
+
* Creates a plain object from a GympassProperties message. Also converts values to other types if specified.
|
|
27615
|
+
* @param message GympassProperties
|
|
27616
|
+
* @param [options] Conversion options
|
|
27617
|
+
* @returns Plain object
|
|
27618
|
+
*/
|
|
27619
|
+
public static toObject(message: GympassProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27620
|
+
|
|
27621
|
+
/**
|
|
27622
|
+
* Converts this GympassProperties to JSON.
|
|
27623
|
+
* @returns JSON object
|
|
27624
|
+
*/
|
|
27625
|
+
public toJSON(): { [k: string]: any };
|
|
27626
|
+
}
|
|
27627
|
+
|
|
27628
|
+
/** PartnerName enum. */
|
|
27629
|
+
export enum PartnerName {
|
|
27630
|
+
PARTNER_NAME_UNKNOWN = 0,
|
|
27631
|
+
PARTNER_NAME_SOLERA = 1,
|
|
27632
|
+
PARTNER_NAME_GYMPASS = 2
|
|
27633
|
+
}
|
|
27634
|
+
|
|
27319
27635
|
/** Properties of an AssignmentAllocationBatchPushed. */
|
|
27320
27636
|
export interface IAssignmentAllocationBatchPushed {
|
|
27321
27637
|
|
|
@@ -33198,9 +33514,10 @@ export class ElfProcessingStats implements IElfProcessingStats {
|
|
|
33198
33514
|
|
|
33199
33515
|
/** EnrollmentFlow enum. */
|
|
33200
33516
|
export enum EnrollmentFlow {
|
|
33201
|
-
|
|
33202
|
-
|
|
33203
|
-
|
|
33517
|
+
ENROLLMENT_FLOW_UNKNOWN = 0,
|
|
33518
|
+
ENROLLMENT_FLOW_HEADSPACE = 1,
|
|
33519
|
+
ENROLLMENT_FLOW_CONNECTED = 2,
|
|
33520
|
+
ENROLLMENT_FLOW_UMD = 3
|
|
33204
33521
|
}
|
|
33205
33522
|
|
|
33206
33523
|
/** Properties of an EnterpriseUserOnboarded. */
|
package/lib/index.js
CHANGED
|
@@ -75815,6 +75815,785 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
75815
75815
|
return HealthPartnershipMemberEligibilityVerified;
|
|
75816
75816
|
})();
|
|
75817
75817
|
|
|
75818
|
+
$root.PartnershipMemberEnrolled = (function() {
|
|
75819
|
+
|
|
75820
|
+
/**
|
|
75821
|
+
* Properties of a PartnershipMemberEnrolled.
|
|
75822
|
+
* @exports IPartnershipMemberEnrolled
|
|
75823
|
+
* @interface IPartnershipMemberEnrolled
|
|
75824
|
+
* @property {string|null} [hsUserId] PartnershipMemberEnrolled hsUserId
|
|
75825
|
+
* @property {string|null} [partnershipUserId] PartnershipMemberEnrolled partnershipUserId
|
|
75826
|
+
* @property {PartnerName|null} [partnerName] PartnershipMemberEnrolled partnerName
|
|
75827
|
+
* @property {number|Long|null} [timestamp] PartnershipMemberEnrolled timestamp
|
|
75828
|
+
* @property {string|null} [accessCode] PartnershipMemberEnrolled accessCode
|
|
75829
|
+
* @property {IGympassProperties|null} [gympassProperties] PartnershipMemberEnrolled gympassProperties
|
|
75830
|
+
* @property {ISoleraProperties|null} [soleraProperties] PartnershipMemberEnrolled soleraProperties
|
|
75831
|
+
*/
|
|
75832
|
+
|
|
75833
|
+
/**
|
|
75834
|
+
* Constructs a new PartnershipMemberEnrolled.
|
|
75835
|
+
* @exports PartnershipMemberEnrolled
|
|
75836
|
+
* @classdesc Represents a PartnershipMemberEnrolled.
|
|
75837
|
+
* @implements IPartnershipMemberEnrolled
|
|
75838
|
+
* @constructor
|
|
75839
|
+
* @param {IPartnershipMemberEnrolled=} [properties] Properties to set
|
|
75840
|
+
*/
|
|
75841
|
+
function PartnershipMemberEnrolled(properties) {
|
|
75842
|
+
if (properties)
|
|
75843
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
75844
|
+
if (properties[keys[i]] != null)
|
|
75845
|
+
this[keys[i]] = properties[keys[i]];
|
|
75846
|
+
}
|
|
75847
|
+
|
|
75848
|
+
/**
|
|
75849
|
+
* PartnershipMemberEnrolled hsUserId.
|
|
75850
|
+
* @member {string} hsUserId
|
|
75851
|
+
* @memberof PartnershipMemberEnrolled
|
|
75852
|
+
* @instance
|
|
75853
|
+
*/
|
|
75854
|
+
PartnershipMemberEnrolled.prototype.hsUserId = "";
|
|
75855
|
+
|
|
75856
|
+
/**
|
|
75857
|
+
* PartnershipMemberEnrolled partnershipUserId.
|
|
75858
|
+
* @member {string} partnershipUserId
|
|
75859
|
+
* @memberof PartnershipMemberEnrolled
|
|
75860
|
+
* @instance
|
|
75861
|
+
*/
|
|
75862
|
+
PartnershipMemberEnrolled.prototype.partnershipUserId = "";
|
|
75863
|
+
|
|
75864
|
+
/**
|
|
75865
|
+
* PartnershipMemberEnrolled partnerName.
|
|
75866
|
+
* @member {PartnerName} partnerName
|
|
75867
|
+
* @memberof PartnershipMemberEnrolled
|
|
75868
|
+
* @instance
|
|
75869
|
+
*/
|
|
75870
|
+
PartnershipMemberEnrolled.prototype.partnerName = 0;
|
|
75871
|
+
|
|
75872
|
+
/**
|
|
75873
|
+
* PartnershipMemberEnrolled timestamp.
|
|
75874
|
+
* @member {number|Long} timestamp
|
|
75875
|
+
* @memberof PartnershipMemberEnrolled
|
|
75876
|
+
* @instance
|
|
75877
|
+
*/
|
|
75878
|
+
PartnershipMemberEnrolled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
75879
|
+
|
|
75880
|
+
/**
|
|
75881
|
+
* PartnershipMemberEnrolled accessCode.
|
|
75882
|
+
* @member {string} accessCode
|
|
75883
|
+
* @memberof PartnershipMemberEnrolled
|
|
75884
|
+
* @instance
|
|
75885
|
+
*/
|
|
75886
|
+
PartnershipMemberEnrolled.prototype.accessCode = "";
|
|
75887
|
+
|
|
75888
|
+
/**
|
|
75889
|
+
* PartnershipMemberEnrolled gympassProperties.
|
|
75890
|
+
* @member {IGympassProperties|null|undefined} gympassProperties
|
|
75891
|
+
* @memberof PartnershipMemberEnrolled
|
|
75892
|
+
* @instance
|
|
75893
|
+
*/
|
|
75894
|
+
PartnershipMemberEnrolled.prototype.gympassProperties = null;
|
|
75895
|
+
|
|
75896
|
+
/**
|
|
75897
|
+
* PartnershipMemberEnrolled soleraProperties.
|
|
75898
|
+
* @member {ISoleraProperties|null|undefined} soleraProperties
|
|
75899
|
+
* @memberof PartnershipMemberEnrolled
|
|
75900
|
+
* @instance
|
|
75901
|
+
*/
|
|
75902
|
+
PartnershipMemberEnrolled.prototype.soleraProperties = null;
|
|
75903
|
+
|
|
75904
|
+
// OneOf field names bound to virtual getters and setters
|
|
75905
|
+
var $oneOfFields;
|
|
75906
|
+
|
|
75907
|
+
/**
|
|
75908
|
+
* PartnershipMemberEnrolled properties.
|
|
75909
|
+
* @member {"gympassProperties"|"soleraProperties"|undefined} properties
|
|
75910
|
+
* @memberof PartnershipMemberEnrolled
|
|
75911
|
+
* @instance
|
|
75912
|
+
*/
|
|
75913
|
+
Object.defineProperty(PartnershipMemberEnrolled.prototype, "properties", {
|
|
75914
|
+
get: $util.oneOfGetter($oneOfFields = ["gympassProperties", "soleraProperties"]),
|
|
75915
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
75916
|
+
});
|
|
75917
|
+
|
|
75918
|
+
/**
|
|
75919
|
+
* Creates a new PartnershipMemberEnrolled instance using the specified properties.
|
|
75920
|
+
* @function create
|
|
75921
|
+
* @memberof PartnershipMemberEnrolled
|
|
75922
|
+
* @static
|
|
75923
|
+
* @param {IPartnershipMemberEnrolled=} [properties] Properties to set
|
|
75924
|
+
* @returns {PartnershipMemberEnrolled} PartnershipMemberEnrolled instance
|
|
75925
|
+
*/
|
|
75926
|
+
PartnershipMemberEnrolled.create = function create(properties) {
|
|
75927
|
+
return new PartnershipMemberEnrolled(properties);
|
|
75928
|
+
};
|
|
75929
|
+
|
|
75930
|
+
/**
|
|
75931
|
+
* Encodes the specified PartnershipMemberEnrolled message. Does not implicitly {@link PartnershipMemberEnrolled.verify|verify} messages.
|
|
75932
|
+
* @function encode
|
|
75933
|
+
* @memberof PartnershipMemberEnrolled
|
|
75934
|
+
* @static
|
|
75935
|
+
* @param {IPartnershipMemberEnrolled} message PartnershipMemberEnrolled message or plain object to encode
|
|
75936
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
75937
|
+
* @returns {$protobuf.Writer} Writer
|
|
75938
|
+
*/
|
|
75939
|
+
PartnershipMemberEnrolled.encode = function encode(message, writer) {
|
|
75940
|
+
if (!writer)
|
|
75941
|
+
writer = $Writer.create();
|
|
75942
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
75943
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
75944
|
+
if (message.partnershipUserId != null && message.hasOwnProperty("partnershipUserId"))
|
|
75945
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.partnershipUserId);
|
|
75946
|
+
if (message.partnerName != null && message.hasOwnProperty("partnerName"))
|
|
75947
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.partnerName);
|
|
75948
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
75949
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
75950
|
+
if (message.accessCode != null && message.hasOwnProperty("accessCode"))
|
|
75951
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.accessCode);
|
|
75952
|
+
if (message.gympassProperties != null && message.hasOwnProperty("gympassProperties"))
|
|
75953
|
+
$root.GympassProperties.encode(message.gympassProperties, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
75954
|
+
if (message.soleraProperties != null && message.hasOwnProperty("soleraProperties"))
|
|
75955
|
+
$root.SoleraProperties.encode(message.soleraProperties, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
75956
|
+
return writer;
|
|
75957
|
+
};
|
|
75958
|
+
|
|
75959
|
+
/**
|
|
75960
|
+
* Encodes the specified PartnershipMemberEnrolled message, length delimited. Does not implicitly {@link PartnershipMemberEnrolled.verify|verify} messages.
|
|
75961
|
+
* @function encodeDelimited
|
|
75962
|
+
* @memberof PartnershipMemberEnrolled
|
|
75963
|
+
* @static
|
|
75964
|
+
* @param {IPartnershipMemberEnrolled} message PartnershipMemberEnrolled message or plain object to encode
|
|
75965
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
75966
|
+
* @returns {$protobuf.Writer} Writer
|
|
75967
|
+
*/
|
|
75968
|
+
PartnershipMemberEnrolled.encodeDelimited = function encodeDelimited(message, writer) {
|
|
75969
|
+
return this.encode(message, writer).ldelim();
|
|
75970
|
+
};
|
|
75971
|
+
|
|
75972
|
+
/**
|
|
75973
|
+
* Decodes a PartnershipMemberEnrolled message from the specified reader or buffer.
|
|
75974
|
+
* @function decode
|
|
75975
|
+
* @memberof PartnershipMemberEnrolled
|
|
75976
|
+
* @static
|
|
75977
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
75978
|
+
* @param {number} [length] Message length if known beforehand
|
|
75979
|
+
* @returns {PartnershipMemberEnrolled} PartnershipMemberEnrolled
|
|
75980
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
75981
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75982
|
+
*/
|
|
75983
|
+
PartnershipMemberEnrolled.decode = function decode(reader, length) {
|
|
75984
|
+
if (!(reader instanceof $Reader))
|
|
75985
|
+
reader = $Reader.create(reader);
|
|
75986
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.PartnershipMemberEnrolled();
|
|
75987
|
+
while (reader.pos < end) {
|
|
75988
|
+
var tag = reader.uint32();
|
|
75989
|
+
switch (tag >>> 3) {
|
|
75990
|
+
case 1:
|
|
75991
|
+
message.hsUserId = reader.string();
|
|
75992
|
+
break;
|
|
75993
|
+
case 2:
|
|
75994
|
+
message.partnershipUserId = reader.string();
|
|
75995
|
+
break;
|
|
75996
|
+
case 3:
|
|
75997
|
+
message.partnerName = reader.int32();
|
|
75998
|
+
break;
|
|
75999
|
+
case 4:
|
|
76000
|
+
message.timestamp = reader.uint64();
|
|
76001
|
+
break;
|
|
76002
|
+
case 5:
|
|
76003
|
+
message.accessCode = reader.string();
|
|
76004
|
+
break;
|
|
76005
|
+
case 6:
|
|
76006
|
+
message.gympassProperties = $root.GympassProperties.decode(reader, reader.uint32());
|
|
76007
|
+
break;
|
|
76008
|
+
case 7:
|
|
76009
|
+
message.soleraProperties = $root.SoleraProperties.decode(reader, reader.uint32());
|
|
76010
|
+
break;
|
|
76011
|
+
default:
|
|
76012
|
+
reader.skipType(tag & 7);
|
|
76013
|
+
break;
|
|
76014
|
+
}
|
|
76015
|
+
}
|
|
76016
|
+
return message;
|
|
76017
|
+
};
|
|
76018
|
+
|
|
76019
|
+
/**
|
|
76020
|
+
* Decodes a PartnershipMemberEnrolled message from the specified reader or buffer, length delimited.
|
|
76021
|
+
* @function decodeDelimited
|
|
76022
|
+
* @memberof PartnershipMemberEnrolled
|
|
76023
|
+
* @static
|
|
76024
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76025
|
+
* @returns {PartnershipMemberEnrolled} PartnershipMemberEnrolled
|
|
76026
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76027
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76028
|
+
*/
|
|
76029
|
+
PartnershipMemberEnrolled.decodeDelimited = function decodeDelimited(reader) {
|
|
76030
|
+
if (!(reader instanceof $Reader))
|
|
76031
|
+
reader = new $Reader(reader);
|
|
76032
|
+
return this.decode(reader, reader.uint32());
|
|
76033
|
+
};
|
|
76034
|
+
|
|
76035
|
+
/**
|
|
76036
|
+
* Verifies a PartnershipMemberEnrolled message.
|
|
76037
|
+
* @function verify
|
|
76038
|
+
* @memberof PartnershipMemberEnrolled
|
|
76039
|
+
* @static
|
|
76040
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76041
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76042
|
+
*/
|
|
76043
|
+
PartnershipMemberEnrolled.verify = function verify(message) {
|
|
76044
|
+
if (typeof message !== "object" || message === null)
|
|
76045
|
+
return "object expected";
|
|
76046
|
+
var properties = {};
|
|
76047
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
76048
|
+
if (!$util.isString(message.hsUserId))
|
|
76049
|
+
return "hsUserId: string expected";
|
|
76050
|
+
if (message.partnershipUserId != null && message.hasOwnProperty("partnershipUserId"))
|
|
76051
|
+
if (!$util.isString(message.partnershipUserId))
|
|
76052
|
+
return "partnershipUserId: string expected";
|
|
76053
|
+
if (message.partnerName != null && message.hasOwnProperty("partnerName"))
|
|
76054
|
+
switch (message.partnerName) {
|
|
76055
|
+
default:
|
|
76056
|
+
return "partnerName: enum value expected";
|
|
76057
|
+
case 0:
|
|
76058
|
+
case 1:
|
|
76059
|
+
case 2:
|
|
76060
|
+
break;
|
|
76061
|
+
}
|
|
76062
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
76063
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
76064
|
+
return "timestamp: integer|Long expected";
|
|
76065
|
+
if (message.accessCode != null && message.hasOwnProperty("accessCode"))
|
|
76066
|
+
if (!$util.isString(message.accessCode))
|
|
76067
|
+
return "accessCode: string expected";
|
|
76068
|
+
if (message.gympassProperties != null && message.hasOwnProperty("gympassProperties")) {
|
|
76069
|
+
properties.properties = 1;
|
|
76070
|
+
{
|
|
76071
|
+
var error = $root.GympassProperties.verify(message.gympassProperties);
|
|
76072
|
+
if (error)
|
|
76073
|
+
return "gympassProperties." + error;
|
|
76074
|
+
}
|
|
76075
|
+
}
|
|
76076
|
+
if (message.soleraProperties != null && message.hasOwnProperty("soleraProperties")) {
|
|
76077
|
+
if (properties.properties === 1)
|
|
76078
|
+
return "properties: multiple values";
|
|
76079
|
+
properties.properties = 1;
|
|
76080
|
+
{
|
|
76081
|
+
var error = $root.SoleraProperties.verify(message.soleraProperties);
|
|
76082
|
+
if (error)
|
|
76083
|
+
return "soleraProperties." + error;
|
|
76084
|
+
}
|
|
76085
|
+
}
|
|
76086
|
+
return null;
|
|
76087
|
+
};
|
|
76088
|
+
|
|
76089
|
+
/**
|
|
76090
|
+
* Creates a PartnershipMemberEnrolled message from a plain object. Also converts values to their respective internal types.
|
|
76091
|
+
* @function fromObject
|
|
76092
|
+
* @memberof PartnershipMemberEnrolled
|
|
76093
|
+
* @static
|
|
76094
|
+
* @param {Object.<string,*>} object Plain object
|
|
76095
|
+
* @returns {PartnershipMemberEnrolled} PartnershipMemberEnrolled
|
|
76096
|
+
*/
|
|
76097
|
+
PartnershipMemberEnrolled.fromObject = function fromObject(object) {
|
|
76098
|
+
if (object instanceof $root.PartnershipMemberEnrolled)
|
|
76099
|
+
return object;
|
|
76100
|
+
var message = new $root.PartnershipMemberEnrolled();
|
|
76101
|
+
if (object.hsUserId != null)
|
|
76102
|
+
message.hsUserId = String(object.hsUserId);
|
|
76103
|
+
if (object.partnershipUserId != null)
|
|
76104
|
+
message.partnershipUserId = String(object.partnershipUserId);
|
|
76105
|
+
switch (object.partnerName) {
|
|
76106
|
+
case "PARTNER_NAME_UNKNOWN":
|
|
76107
|
+
case 0:
|
|
76108
|
+
message.partnerName = 0;
|
|
76109
|
+
break;
|
|
76110
|
+
case "PARTNER_NAME_SOLERA":
|
|
76111
|
+
case 1:
|
|
76112
|
+
message.partnerName = 1;
|
|
76113
|
+
break;
|
|
76114
|
+
case "PARTNER_NAME_GYMPASS":
|
|
76115
|
+
case 2:
|
|
76116
|
+
message.partnerName = 2;
|
|
76117
|
+
break;
|
|
76118
|
+
}
|
|
76119
|
+
if (object.timestamp != null)
|
|
76120
|
+
if ($util.Long)
|
|
76121
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
76122
|
+
else if (typeof object.timestamp === "string")
|
|
76123
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
76124
|
+
else if (typeof object.timestamp === "number")
|
|
76125
|
+
message.timestamp = object.timestamp;
|
|
76126
|
+
else if (typeof object.timestamp === "object")
|
|
76127
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
76128
|
+
if (object.accessCode != null)
|
|
76129
|
+
message.accessCode = String(object.accessCode);
|
|
76130
|
+
if (object.gympassProperties != null) {
|
|
76131
|
+
if (typeof object.gympassProperties !== "object")
|
|
76132
|
+
throw TypeError(".PartnershipMemberEnrolled.gympassProperties: object expected");
|
|
76133
|
+
message.gympassProperties = $root.GympassProperties.fromObject(object.gympassProperties);
|
|
76134
|
+
}
|
|
76135
|
+
if (object.soleraProperties != null) {
|
|
76136
|
+
if (typeof object.soleraProperties !== "object")
|
|
76137
|
+
throw TypeError(".PartnershipMemberEnrolled.soleraProperties: object expected");
|
|
76138
|
+
message.soleraProperties = $root.SoleraProperties.fromObject(object.soleraProperties);
|
|
76139
|
+
}
|
|
76140
|
+
return message;
|
|
76141
|
+
};
|
|
76142
|
+
|
|
76143
|
+
/**
|
|
76144
|
+
* Creates a plain object from a PartnershipMemberEnrolled message. Also converts values to other types if specified.
|
|
76145
|
+
* @function toObject
|
|
76146
|
+
* @memberof PartnershipMemberEnrolled
|
|
76147
|
+
* @static
|
|
76148
|
+
* @param {PartnershipMemberEnrolled} message PartnershipMemberEnrolled
|
|
76149
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76150
|
+
* @returns {Object.<string,*>} Plain object
|
|
76151
|
+
*/
|
|
76152
|
+
PartnershipMemberEnrolled.toObject = function toObject(message, options) {
|
|
76153
|
+
if (!options)
|
|
76154
|
+
options = {};
|
|
76155
|
+
var object = {};
|
|
76156
|
+
if (options.defaults) {
|
|
76157
|
+
object.hsUserId = "";
|
|
76158
|
+
object.partnershipUserId = "";
|
|
76159
|
+
object.partnerName = options.enums === String ? "PARTNER_NAME_UNKNOWN" : 0;
|
|
76160
|
+
if ($util.Long) {
|
|
76161
|
+
var long = new $util.Long(0, 0, true);
|
|
76162
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
76163
|
+
} else
|
|
76164
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
76165
|
+
object.accessCode = "";
|
|
76166
|
+
}
|
|
76167
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
76168
|
+
object.hsUserId = message.hsUserId;
|
|
76169
|
+
if (message.partnershipUserId != null && message.hasOwnProperty("partnershipUserId"))
|
|
76170
|
+
object.partnershipUserId = message.partnershipUserId;
|
|
76171
|
+
if (message.partnerName != null && message.hasOwnProperty("partnerName"))
|
|
76172
|
+
object.partnerName = options.enums === String ? $root.PartnerName[message.partnerName] : message.partnerName;
|
|
76173
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
76174
|
+
if (typeof message.timestamp === "number")
|
|
76175
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
76176
|
+
else
|
|
76177
|
+
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;
|
|
76178
|
+
if (message.accessCode != null && message.hasOwnProperty("accessCode"))
|
|
76179
|
+
object.accessCode = message.accessCode;
|
|
76180
|
+
if (message.gympassProperties != null && message.hasOwnProperty("gympassProperties")) {
|
|
76181
|
+
object.gympassProperties = $root.GympassProperties.toObject(message.gympassProperties, options);
|
|
76182
|
+
if (options.oneofs)
|
|
76183
|
+
object.properties = "gympassProperties";
|
|
76184
|
+
}
|
|
76185
|
+
if (message.soleraProperties != null && message.hasOwnProperty("soleraProperties")) {
|
|
76186
|
+
object.soleraProperties = $root.SoleraProperties.toObject(message.soleraProperties, options);
|
|
76187
|
+
if (options.oneofs)
|
|
76188
|
+
object.properties = "soleraProperties";
|
|
76189
|
+
}
|
|
76190
|
+
return object;
|
|
76191
|
+
};
|
|
76192
|
+
|
|
76193
|
+
/**
|
|
76194
|
+
* Converts this PartnershipMemberEnrolled to JSON.
|
|
76195
|
+
* @function toJSON
|
|
76196
|
+
* @memberof PartnershipMemberEnrolled
|
|
76197
|
+
* @instance
|
|
76198
|
+
* @returns {Object.<string,*>} JSON object
|
|
76199
|
+
*/
|
|
76200
|
+
PartnershipMemberEnrolled.prototype.toJSON = function toJSON() {
|
|
76201
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76202
|
+
};
|
|
76203
|
+
|
|
76204
|
+
return PartnershipMemberEnrolled;
|
|
76205
|
+
})();
|
|
76206
|
+
|
|
76207
|
+
$root.SoleraProperties = (function() {
|
|
76208
|
+
|
|
76209
|
+
/**
|
|
76210
|
+
* Properties of a SoleraProperties.
|
|
76211
|
+
* @exports ISoleraProperties
|
|
76212
|
+
* @interface ISoleraProperties
|
|
76213
|
+
* @property {string|null} [soleraEnrollmentId] SoleraProperties soleraEnrollmentId
|
|
76214
|
+
*/
|
|
76215
|
+
|
|
76216
|
+
/**
|
|
76217
|
+
* Constructs a new SoleraProperties.
|
|
76218
|
+
* @exports SoleraProperties
|
|
76219
|
+
* @classdesc Represents a SoleraProperties.
|
|
76220
|
+
* @implements ISoleraProperties
|
|
76221
|
+
* @constructor
|
|
76222
|
+
* @param {ISoleraProperties=} [properties] Properties to set
|
|
76223
|
+
*/
|
|
76224
|
+
function SoleraProperties(properties) {
|
|
76225
|
+
if (properties)
|
|
76226
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76227
|
+
if (properties[keys[i]] != null)
|
|
76228
|
+
this[keys[i]] = properties[keys[i]];
|
|
76229
|
+
}
|
|
76230
|
+
|
|
76231
|
+
/**
|
|
76232
|
+
* SoleraProperties soleraEnrollmentId.
|
|
76233
|
+
* @member {string} soleraEnrollmentId
|
|
76234
|
+
* @memberof SoleraProperties
|
|
76235
|
+
* @instance
|
|
76236
|
+
*/
|
|
76237
|
+
SoleraProperties.prototype.soleraEnrollmentId = "";
|
|
76238
|
+
|
|
76239
|
+
/**
|
|
76240
|
+
* Creates a new SoleraProperties instance using the specified properties.
|
|
76241
|
+
* @function create
|
|
76242
|
+
* @memberof SoleraProperties
|
|
76243
|
+
* @static
|
|
76244
|
+
* @param {ISoleraProperties=} [properties] Properties to set
|
|
76245
|
+
* @returns {SoleraProperties} SoleraProperties instance
|
|
76246
|
+
*/
|
|
76247
|
+
SoleraProperties.create = function create(properties) {
|
|
76248
|
+
return new SoleraProperties(properties);
|
|
76249
|
+
};
|
|
76250
|
+
|
|
76251
|
+
/**
|
|
76252
|
+
* Encodes the specified SoleraProperties message. Does not implicitly {@link SoleraProperties.verify|verify} messages.
|
|
76253
|
+
* @function encode
|
|
76254
|
+
* @memberof SoleraProperties
|
|
76255
|
+
* @static
|
|
76256
|
+
* @param {ISoleraProperties} message SoleraProperties message or plain object to encode
|
|
76257
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76258
|
+
* @returns {$protobuf.Writer} Writer
|
|
76259
|
+
*/
|
|
76260
|
+
SoleraProperties.encode = function encode(message, writer) {
|
|
76261
|
+
if (!writer)
|
|
76262
|
+
writer = $Writer.create();
|
|
76263
|
+
if (message.soleraEnrollmentId != null && message.hasOwnProperty("soleraEnrollmentId"))
|
|
76264
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.soleraEnrollmentId);
|
|
76265
|
+
return writer;
|
|
76266
|
+
};
|
|
76267
|
+
|
|
76268
|
+
/**
|
|
76269
|
+
* Encodes the specified SoleraProperties message, length delimited. Does not implicitly {@link SoleraProperties.verify|verify} messages.
|
|
76270
|
+
* @function encodeDelimited
|
|
76271
|
+
* @memberof SoleraProperties
|
|
76272
|
+
* @static
|
|
76273
|
+
* @param {ISoleraProperties} message SoleraProperties message or plain object to encode
|
|
76274
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76275
|
+
* @returns {$protobuf.Writer} Writer
|
|
76276
|
+
*/
|
|
76277
|
+
SoleraProperties.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76278
|
+
return this.encode(message, writer).ldelim();
|
|
76279
|
+
};
|
|
76280
|
+
|
|
76281
|
+
/**
|
|
76282
|
+
* Decodes a SoleraProperties message from the specified reader or buffer.
|
|
76283
|
+
* @function decode
|
|
76284
|
+
* @memberof SoleraProperties
|
|
76285
|
+
* @static
|
|
76286
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76287
|
+
* @param {number} [length] Message length if known beforehand
|
|
76288
|
+
* @returns {SoleraProperties} SoleraProperties
|
|
76289
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76290
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76291
|
+
*/
|
|
76292
|
+
SoleraProperties.decode = function decode(reader, length) {
|
|
76293
|
+
if (!(reader instanceof $Reader))
|
|
76294
|
+
reader = $Reader.create(reader);
|
|
76295
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SoleraProperties();
|
|
76296
|
+
while (reader.pos < end) {
|
|
76297
|
+
var tag = reader.uint32();
|
|
76298
|
+
switch (tag >>> 3) {
|
|
76299
|
+
case 1:
|
|
76300
|
+
message.soleraEnrollmentId = reader.string();
|
|
76301
|
+
break;
|
|
76302
|
+
default:
|
|
76303
|
+
reader.skipType(tag & 7);
|
|
76304
|
+
break;
|
|
76305
|
+
}
|
|
76306
|
+
}
|
|
76307
|
+
return message;
|
|
76308
|
+
};
|
|
76309
|
+
|
|
76310
|
+
/**
|
|
76311
|
+
* Decodes a SoleraProperties message from the specified reader or buffer, length delimited.
|
|
76312
|
+
* @function decodeDelimited
|
|
76313
|
+
* @memberof SoleraProperties
|
|
76314
|
+
* @static
|
|
76315
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76316
|
+
* @returns {SoleraProperties} SoleraProperties
|
|
76317
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76318
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76319
|
+
*/
|
|
76320
|
+
SoleraProperties.decodeDelimited = function decodeDelimited(reader) {
|
|
76321
|
+
if (!(reader instanceof $Reader))
|
|
76322
|
+
reader = new $Reader(reader);
|
|
76323
|
+
return this.decode(reader, reader.uint32());
|
|
76324
|
+
};
|
|
76325
|
+
|
|
76326
|
+
/**
|
|
76327
|
+
* Verifies a SoleraProperties message.
|
|
76328
|
+
* @function verify
|
|
76329
|
+
* @memberof SoleraProperties
|
|
76330
|
+
* @static
|
|
76331
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76332
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76333
|
+
*/
|
|
76334
|
+
SoleraProperties.verify = function verify(message) {
|
|
76335
|
+
if (typeof message !== "object" || message === null)
|
|
76336
|
+
return "object expected";
|
|
76337
|
+
if (message.soleraEnrollmentId != null && message.hasOwnProperty("soleraEnrollmentId"))
|
|
76338
|
+
if (!$util.isString(message.soleraEnrollmentId))
|
|
76339
|
+
return "soleraEnrollmentId: string expected";
|
|
76340
|
+
return null;
|
|
76341
|
+
};
|
|
76342
|
+
|
|
76343
|
+
/**
|
|
76344
|
+
* Creates a SoleraProperties message from a plain object. Also converts values to their respective internal types.
|
|
76345
|
+
* @function fromObject
|
|
76346
|
+
* @memberof SoleraProperties
|
|
76347
|
+
* @static
|
|
76348
|
+
* @param {Object.<string,*>} object Plain object
|
|
76349
|
+
* @returns {SoleraProperties} SoleraProperties
|
|
76350
|
+
*/
|
|
76351
|
+
SoleraProperties.fromObject = function fromObject(object) {
|
|
76352
|
+
if (object instanceof $root.SoleraProperties)
|
|
76353
|
+
return object;
|
|
76354
|
+
var message = new $root.SoleraProperties();
|
|
76355
|
+
if (object.soleraEnrollmentId != null)
|
|
76356
|
+
message.soleraEnrollmentId = String(object.soleraEnrollmentId);
|
|
76357
|
+
return message;
|
|
76358
|
+
};
|
|
76359
|
+
|
|
76360
|
+
/**
|
|
76361
|
+
* Creates a plain object from a SoleraProperties message. Also converts values to other types if specified.
|
|
76362
|
+
* @function toObject
|
|
76363
|
+
* @memberof SoleraProperties
|
|
76364
|
+
* @static
|
|
76365
|
+
* @param {SoleraProperties} message SoleraProperties
|
|
76366
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76367
|
+
* @returns {Object.<string,*>} Plain object
|
|
76368
|
+
*/
|
|
76369
|
+
SoleraProperties.toObject = function toObject(message, options) {
|
|
76370
|
+
if (!options)
|
|
76371
|
+
options = {};
|
|
76372
|
+
var object = {};
|
|
76373
|
+
if (options.defaults)
|
|
76374
|
+
object.soleraEnrollmentId = "";
|
|
76375
|
+
if (message.soleraEnrollmentId != null && message.hasOwnProperty("soleraEnrollmentId"))
|
|
76376
|
+
object.soleraEnrollmentId = message.soleraEnrollmentId;
|
|
76377
|
+
return object;
|
|
76378
|
+
};
|
|
76379
|
+
|
|
76380
|
+
/**
|
|
76381
|
+
* Converts this SoleraProperties to JSON.
|
|
76382
|
+
* @function toJSON
|
|
76383
|
+
* @memberof SoleraProperties
|
|
76384
|
+
* @instance
|
|
76385
|
+
* @returns {Object.<string,*>} JSON object
|
|
76386
|
+
*/
|
|
76387
|
+
SoleraProperties.prototype.toJSON = function toJSON() {
|
|
76388
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76389
|
+
};
|
|
76390
|
+
|
|
76391
|
+
return SoleraProperties;
|
|
76392
|
+
})();
|
|
76393
|
+
|
|
76394
|
+
$root.GympassProperties = (function() {
|
|
76395
|
+
|
|
76396
|
+
/**
|
|
76397
|
+
* Properties of a GympassProperties.
|
|
76398
|
+
* @exports IGympassProperties
|
|
76399
|
+
* @interface IGympassProperties
|
|
76400
|
+
* @property {string|null} [countryCode] GympassProperties countryCode
|
|
76401
|
+
*/
|
|
76402
|
+
|
|
76403
|
+
/**
|
|
76404
|
+
* Constructs a new GympassProperties.
|
|
76405
|
+
* @exports GympassProperties
|
|
76406
|
+
* @classdesc Represents a GympassProperties.
|
|
76407
|
+
* @implements IGympassProperties
|
|
76408
|
+
* @constructor
|
|
76409
|
+
* @param {IGympassProperties=} [properties] Properties to set
|
|
76410
|
+
*/
|
|
76411
|
+
function GympassProperties(properties) {
|
|
76412
|
+
if (properties)
|
|
76413
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76414
|
+
if (properties[keys[i]] != null)
|
|
76415
|
+
this[keys[i]] = properties[keys[i]];
|
|
76416
|
+
}
|
|
76417
|
+
|
|
76418
|
+
/**
|
|
76419
|
+
* GympassProperties countryCode.
|
|
76420
|
+
* @member {string} countryCode
|
|
76421
|
+
* @memberof GympassProperties
|
|
76422
|
+
* @instance
|
|
76423
|
+
*/
|
|
76424
|
+
GympassProperties.prototype.countryCode = "";
|
|
76425
|
+
|
|
76426
|
+
/**
|
|
76427
|
+
* Creates a new GympassProperties instance using the specified properties.
|
|
76428
|
+
* @function create
|
|
76429
|
+
* @memberof GympassProperties
|
|
76430
|
+
* @static
|
|
76431
|
+
* @param {IGympassProperties=} [properties] Properties to set
|
|
76432
|
+
* @returns {GympassProperties} GympassProperties instance
|
|
76433
|
+
*/
|
|
76434
|
+
GympassProperties.create = function create(properties) {
|
|
76435
|
+
return new GympassProperties(properties);
|
|
76436
|
+
};
|
|
76437
|
+
|
|
76438
|
+
/**
|
|
76439
|
+
* Encodes the specified GympassProperties message. Does not implicitly {@link GympassProperties.verify|verify} messages.
|
|
76440
|
+
* @function encode
|
|
76441
|
+
* @memberof GympassProperties
|
|
76442
|
+
* @static
|
|
76443
|
+
* @param {IGympassProperties} message GympassProperties message or plain object to encode
|
|
76444
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76445
|
+
* @returns {$protobuf.Writer} Writer
|
|
76446
|
+
*/
|
|
76447
|
+
GympassProperties.encode = function encode(message, writer) {
|
|
76448
|
+
if (!writer)
|
|
76449
|
+
writer = $Writer.create();
|
|
76450
|
+
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
76451
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
|
|
76452
|
+
return writer;
|
|
76453
|
+
};
|
|
76454
|
+
|
|
76455
|
+
/**
|
|
76456
|
+
* Encodes the specified GympassProperties message, length delimited. Does not implicitly {@link GympassProperties.verify|verify} messages.
|
|
76457
|
+
* @function encodeDelimited
|
|
76458
|
+
* @memberof GympassProperties
|
|
76459
|
+
* @static
|
|
76460
|
+
* @param {IGympassProperties} message GympassProperties message or plain object to encode
|
|
76461
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76462
|
+
* @returns {$protobuf.Writer} Writer
|
|
76463
|
+
*/
|
|
76464
|
+
GympassProperties.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76465
|
+
return this.encode(message, writer).ldelim();
|
|
76466
|
+
};
|
|
76467
|
+
|
|
76468
|
+
/**
|
|
76469
|
+
* Decodes a GympassProperties message from the specified reader or buffer.
|
|
76470
|
+
* @function decode
|
|
76471
|
+
* @memberof GympassProperties
|
|
76472
|
+
* @static
|
|
76473
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76474
|
+
* @param {number} [length] Message length if known beforehand
|
|
76475
|
+
* @returns {GympassProperties} GympassProperties
|
|
76476
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76477
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76478
|
+
*/
|
|
76479
|
+
GympassProperties.decode = function decode(reader, length) {
|
|
76480
|
+
if (!(reader instanceof $Reader))
|
|
76481
|
+
reader = $Reader.create(reader);
|
|
76482
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GympassProperties();
|
|
76483
|
+
while (reader.pos < end) {
|
|
76484
|
+
var tag = reader.uint32();
|
|
76485
|
+
switch (tag >>> 3) {
|
|
76486
|
+
case 1:
|
|
76487
|
+
message.countryCode = reader.string();
|
|
76488
|
+
break;
|
|
76489
|
+
default:
|
|
76490
|
+
reader.skipType(tag & 7);
|
|
76491
|
+
break;
|
|
76492
|
+
}
|
|
76493
|
+
}
|
|
76494
|
+
return message;
|
|
76495
|
+
};
|
|
76496
|
+
|
|
76497
|
+
/**
|
|
76498
|
+
* Decodes a GympassProperties message from the specified reader or buffer, length delimited.
|
|
76499
|
+
* @function decodeDelimited
|
|
76500
|
+
* @memberof GympassProperties
|
|
76501
|
+
* @static
|
|
76502
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76503
|
+
* @returns {GympassProperties} GympassProperties
|
|
76504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76506
|
+
*/
|
|
76507
|
+
GympassProperties.decodeDelimited = function decodeDelimited(reader) {
|
|
76508
|
+
if (!(reader instanceof $Reader))
|
|
76509
|
+
reader = new $Reader(reader);
|
|
76510
|
+
return this.decode(reader, reader.uint32());
|
|
76511
|
+
};
|
|
76512
|
+
|
|
76513
|
+
/**
|
|
76514
|
+
* Verifies a GympassProperties message.
|
|
76515
|
+
* @function verify
|
|
76516
|
+
* @memberof GympassProperties
|
|
76517
|
+
* @static
|
|
76518
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76519
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76520
|
+
*/
|
|
76521
|
+
GympassProperties.verify = function verify(message) {
|
|
76522
|
+
if (typeof message !== "object" || message === null)
|
|
76523
|
+
return "object expected";
|
|
76524
|
+
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
76525
|
+
if (!$util.isString(message.countryCode))
|
|
76526
|
+
return "countryCode: string expected";
|
|
76527
|
+
return null;
|
|
76528
|
+
};
|
|
76529
|
+
|
|
76530
|
+
/**
|
|
76531
|
+
* Creates a GympassProperties message from a plain object. Also converts values to their respective internal types.
|
|
76532
|
+
* @function fromObject
|
|
76533
|
+
* @memberof GympassProperties
|
|
76534
|
+
* @static
|
|
76535
|
+
* @param {Object.<string,*>} object Plain object
|
|
76536
|
+
* @returns {GympassProperties} GympassProperties
|
|
76537
|
+
*/
|
|
76538
|
+
GympassProperties.fromObject = function fromObject(object) {
|
|
76539
|
+
if (object instanceof $root.GympassProperties)
|
|
76540
|
+
return object;
|
|
76541
|
+
var message = new $root.GympassProperties();
|
|
76542
|
+
if (object.countryCode != null)
|
|
76543
|
+
message.countryCode = String(object.countryCode);
|
|
76544
|
+
return message;
|
|
76545
|
+
};
|
|
76546
|
+
|
|
76547
|
+
/**
|
|
76548
|
+
* Creates a plain object from a GympassProperties message. Also converts values to other types if specified.
|
|
76549
|
+
* @function toObject
|
|
76550
|
+
* @memberof GympassProperties
|
|
76551
|
+
* @static
|
|
76552
|
+
* @param {GympassProperties} message GympassProperties
|
|
76553
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76554
|
+
* @returns {Object.<string,*>} Plain object
|
|
76555
|
+
*/
|
|
76556
|
+
GympassProperties.toObject = function toObject(message, options) {
|
|
76557
|
+
if (!options)
|
|
76558
|
+
options = {};
|
|
76559
|
+
var object = {};
|
|
76560
|
+
if (options.defaults)
|
|
76561
|
+
object.countryCode = "";
|
|
76562
|
+
if (message.countryCode != null && message.hasOwnProperty("countryCode"))
|
|
76563
|
+
object.countryCode = message.countryCode;
|
|
76564
|
+
return object;
|
|
76565
|
+
};
|
|
76566
|
+
|
|
76567
|
+
/**
|
|
76568
|
+
* Converts this GympassProperties to JSON.
|
|
76569
|
+
* @function toJSON
|
|
76570
|
+
* @memberof GympassProperties
|
|
76571
|
+
* @instance
|
|
76572
|
+
* @returns {Object.<string,*>} JSON object
|
|
76573
|
+
*/
|
|
76574
|
+
GympassProperties.prototype.toJSON = function toJSON() {
|
|
76575
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76576
|
+
};
|
|
76577
|
+
|
|
76578
|
+
return GympassProperties;
|
|
76579
|
+
})();
|
|
76580
|
+
|
|
76581
|
+
/**
|
|
76582
|
+
* PartnerName enum.
|
|
76583
|
+
* @exports PartnerName
|
|
76584
|
+
* @enum {string}
|
|
76585
|
+
* @property {number} PARTNER_NAME_UNKNOWN=0 PARTNER_NAME_UNKNOWN value
|
|
76586
|
+
* @property {number} PARTNER_NAME_SOLERA=1 PARTNER_NAME_SOLERA value
|
|
76587
|
+
* @property {number} PARTNER_NAME_GYMPASS=2 PARTNER_NAME_GYMPASS value
|
|
76588
|
+
*/
|
|
76589
|
+
$root.PartnerName = (function() {
|
|
76590
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
76591
|
+
values[valuesById[0] = "PARTNER_NAME_UNKNOWN"] = 0;
|
|
76592
|
+
values[valuesById[1] = "PARTNER_NAME_SOLERA"] = 1;
|
|
76593
|
+
values[valuesById[2] = "PARTNER_NAME_GYMPASS"] = 2;
|
|
76594
|
+
return values;
|
|
76595
|
+
})();
|
|
76596
|
+
|
|
75818
76597
|
$root.AssignmentAllocationBatchPushed = (function() {
|
|
75819
76598
|
|
|
75820
76599
|
/**
|
|
@@ -92141,15 +92920,17 @@ $root.ElfProcessingStats = (function() {
|
|
|
92141
92920
|
* EnrollmentFlow enum.
|
|
92142
92921
|
* @exports EnrollmentFlow
|
|
92143
92922
|
* @enum {string}
|
|
92144
|
-
* @property {number}
|
|
92145
|
-
* @property {number}
|
|
92146
|
-
* @property {number}
|
|
92923
|
+
* @property {number} ENROLLMENT_FLOW_UNKNOWN=0 ENROLLMENT_FLOW_UNKNOWN value
|
|
92924
|
+
* @property {number} ENROLLMENT_FLOW_HEADSPACE=1 ENROLLMENT_FLOW_HEADSPACE value
|
|
92925
|
+
* @property {number} ENROLLMENT_FLOW_CONNECTED=2 ENROLLMENT_FLOW_CONNECTED value
|
|
92926
|
+
* @property {number} ENROLLMENT_FLOW_UMD=3 ENROLLMENT_FLOW_UMD value
|
|
92147
92927
|
*/
|
|
92148
92928
|
$root.EnrollmentFlow = (function() {
|
|
92149
92929
|
var valuesById = {}, values = Object.create(valuesById);
|
|
92150
|
-
values[valuesById[0] = "
|
|
92151
|
-
values[valuesById[1] = "
|
|
92152
|
-
values[valuesById[2] = "
|
|
92930
|
+
values[valuesById[0] = "ENROLLMENT_FLOW_UNKNOWN"] = 0;
|
|
92931
|
+
values[valuesById[1] = "ENROLLMENT_FLOW_HEADSPACE"] = 1;
|
|
92932
|
+
values[valuesById[2] = "ENROLLMENT_FLOW_CONNECTED"] = 2;
|
|
92933
|
+
values[valuesById[3] = "ENROLLMENT_FLOW_UMD"] = 3;
|
|
92153
92934
|
return values;
|
|
92154
92935
|
})();
|
|
92155
92936
|
|
|
@@ -93105,6 +93886,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93105
93886
|
case 0:
|
|
93106
93887
|
case 1:
|
|
93107
93888
|
case 2:
|
|
93889
|
+
case 3:
|
|
93108
93890
|
break;
|
|
93109
93891
|
}
|
|
93110
93892
|
return null;
|
|
@@ -93262,18 +94044,22 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93262
94044
|
if (object.ssoType != null)
|
|
93263
94045
|
message.ssoType = String(object.ssoType);
|
|
93264
94046
|
switch (object.enrollmentFlow) {
|
|
93265
|
-
case "
|
|
94047
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
93266
94048
|
case 0:
|
|
93267
94049
|
message.enrollmentFlow = 0;
|
|
93268
94050
|
break;
|
|
93269
|
-
case "
|
|
94051
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
93270
94052
|
case 1:
|
|
93271
94053
|
message.enrollmentFlow = 1;
|
|
93272
94054
|
break;
|
|
93273
|
-
case "
|
|
94055
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
93274
94056
|
case 2:
|
|
93275
94057
|
message.enrollmentFlow = 2;
|
|
93276
94058
|
break;
|
|
94059
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
94060
|
+
case 3:
|
|
94061
|
+
message.enrollmentFlow = 3;
|
|
94062
|
+
break;
|
|
93277
94063
|
}
|
|
93278
94064
|
return message;
|
|
93279
94065
|
};
|
|
@@ -93338,7 +94124,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93338
94124
|
object.orgHeadspaceHealthId = "";
|
|
93339
94125
|
object.gingerBundlingEnabled = false;
|
|
93340
94126
|
object.ssoType = "";
|
|
93341
|
-
object.enrollmentFlow = options.enums === String ? "
|
|
94127
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
93342
94128
|
}
|
|
93343
94129
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
93344
94130
|
object.userId = message.userId;
|
|
@@ -94059,6 +94845,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94059
94845
|
case 0:
|
|
94060
94846
|
case 1:
|
|
94061
94847
|
case 2:
|
|
94848
|
+
case 3:
|
|
94062
94849
|
break;
|
|
94063
94850
|
}
|
|
94064
94851
|
return null;
|
|
@@ -94266,18 +95053,22 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94266
95053
|
if (object.ssoType != null)
|
|
94267
95054
|
message.ssoType = String(object.ssoType);
|
|
94268
95055
|
switch (object.enrollmentFlow) {
|
|
94269
|
-
case "
|
|
95056
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
94270
95057
|
case 0:
|
|
94271
95058
|
message.enrollmentFlow = 0;
|
|
94272
95059
|
break;
|
|
94273
|
-
case "
|
|
95060
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
94274
95061
|
case 1:
|
|
94275
95062
|
message.enrollmentFlow = 1;
|
|
94276
95063
|
break;
|
|
94277
|
-
case "
|
|
95064
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
94278
95065
|
case 2:
|
|
94279
95066
|
message.enrollmentFlow = 2;
|
|
94280
95067
|
break;
|
|
95068
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
95069
|
+
case 3:
|
|
95070
|
+
message.enrollmentFlow = 3;
|
|
95071
|
+
break;
|
|
94281
95072
|
}
|
|
94282
95073
|
return message;
|
|
94283
95074
|
};
|
|
@@ -94343,7 +95134,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94343
95134
|
object.orgHeadspaceHealthId = "";
|
|
94344
95135
|
object.gingerBundlingEnabled = false;
|
|
94345
95136
|
object.ssoType = "";
|
|
94346
|
-
object.enrollmentFlow = options.enums === String ? "
|
|
95137
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
94347
95138
|
}
|
|
94348
95139
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
94349
95140
|
object.userId = message.userId;
|
|
@@ -95034,6 +95825,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95034
95825
|
case 0:
|
|
95035
95826
|
case 1:
|
|
95036
95827
|
case 2:
|
|
95828
|
+
case 3:
|
|
95037
95829
|
break;
|
|
95038
95830
|
}
|
|
95039
95831
|
return null;
|
|
@@ -95191,18 +95983,22 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95191
95983
|
if (object.ssoType != null)
|
|
95192
95984
|
message.ssoType = String(object.ssoType);
|
|
95193
95985
|
switch (object.enrollmentFlow) {
|
|
95194
|
-
case "
|
|
95986
|
+
case "ENROLLMENT_FLOW_UNKNOWN":
|
|
95195
95987
|
case 0:
|
|
95196
95988
|
message.enrollmentFlow = 0;
|
|
95197
95989
|
break;
|
|
95198
|
-
case "
|
|
95990
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
95199
95991
|
case 1:
|
|
95200
95992
|
message.enrollmentFlow = 1;
|
|
95201
95993
|
break;
|
|
95202
|
-
case "
|
|
95994
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
95203
95995
|
case 2:
|
|
95204
95996
|
message.enrollmentFlow = 2;
|
|
95205
95997
|
break;
|
|
95998
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
95999
|
+
case 3:
|
|
96000
|
+
message.enrollmentFlow = 3;
|
|
96001
|
+
break;
|
|
95206
96002
|
}
|
|
95207
96003
|
return message;
|
|
95208
96004
|
};
|
|
@@ -95267,7 +96063,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95267
96063
|
object.orgHeadspaceHealthId = "";
|
|
95268
96064
|
object.gingerBundlingEnabled = false;
|
|
95269
96065
|
object.ssoType = "";
|
|
95270
|
-
object.enrollmentFlow = options.enums === String ? "
|
|
96066
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
95271
96067
|
}
|
|
95272
96068
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
95273
96069
|
object.userId = message.userId;
|
package/package.json
CHANGED