@headspace/protos-events 1.602.0 → 1.604.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 +6 -300
- package/lib/index.js +22 -735
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -52038,6 +52038,9 @@ export interface IEnterpriseUserEnrollmentInitiated {
|
|
|
52038
52038
|
|
|
52039
52039
|
/** EnterpriseUserEnrollmentInitiated subscriptionOrgId */
|
|
52040
52040
|
subscriptionOrgId?: (number|null);
|
|
52041
|
+
|
|
52042
|
+
/** EnterpriseUserEnrollmentInitiated eapLanguagePreference */
|
|
52043
|
+
eapLanguagePreference?: (string|null);
|
|
52041
52044
|
}
|
|
52042
52045
|
|
|
52043
52046
|
/** Represents an EnterpriseUserEnrollmentInitiated. */
|
|
@@ -52082,6 +52085,9 @@ export class EnterpriseUserEnrollmentInitiated implements IEnterpriseUserEnrollm
|
|
|
52082
52085
|
/** EnterpriseUserEnrollmentInitiated subscriptionOrgId. */
|
|
52083
52086
|
public subscriptionOrgId: number;
|
|
52084
52087
|
|
|
52088
|
+
/** EnterpriseUserEnrollmentInitiated eapLanguagePreference. */
|
|
52089
|
+
public eapLanguagePreference: string;
|
|
52090
|
+
|
|
52085
52091
|
/**
|
|
52086
52092
|
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
52087
52093
|
* @param [properties] Properties to set
|
|
@@ -64471,306 +64477,6 @@ export class UserConsentUpdated implements IUserConsentUpdated {
|
|
|
64471
64477
|
public toJSON(): { [k: string]: any };
|
|
64472
64478
|
}
|
|
64473
64479
|
|
|
64474
|
-
/** DeliveryPlatformProvider enum. */
|
|
64475
|
-
export enum DeliveryPlatformProvider {
|
|
64476
|
-
DELIVERY_PLATFORM_UNKNOWN = 0,
|
|
64477
|
-
DELIVERY_PLATFORM_BRAZE = 1
|
|
64478
|
-
}
|
|
64479
|
-
|
|
64480
|
-
/** Properties of a UserMessageDeliveryScheduledEvent. */
|
|
64481
|
-
export interface IUserMessageDeliveryScheduledEvent {
|
|
64482
|
-
|
|
64483
|
-
/** UserMessageDeliveryScheduledEvent messageScheduleTimestamp */
|
|
64484
|
-
messageScheduleTimestamp?: (number|Long|null);
|
|
64485
|
-
|
|
64486
|
-
/** UserMessageDeliveryScheduledEvent deliveryPlatformId */
|
|
64487
|
-
deliveryPlatformId?: (string|null);
|
|
64488
|
-
|
|
64489
|
-
/** UserMessageDeliveryScheduledEvent deliveryPlatformProvider */
|
|
64490
|
-
deliveryPlatformProvider?: (DeliveryPlatformProvider|null);
|
|
64491
|
-
|
|
64492
|
-
/** UserMessageDeliveryScheduledEvent userMessageNotifications */
|
|
64493
|
-
userMessageNotifications?: (IUserMessageNotification[]|null);
|
|
64494
|
-
}
|
|
64495
|
-
|
|
64496
|
-
/** Represents a UserMessageDeliveryScheduledEvent. */
|
|
64497
|
-
export class UserMessageDeliveryScheduledEvent implements IUserMessageDeliveryScheduledEvent {
|
|
64498
|
-
|
|
64499
|
-
/**
|
|
64500
|
-
* Constructs a new UserMessageDeliveryScheduledEvent.
|
|
64501
|
-
* @param [properties] Properties to set
|
|
64502
|
-
*/
|
|
64503
|
-
constructor(properties?: IUserMessageDeliveryScheduledEvent);
|
|
64504
|
-
|
|
64505
|
-
/** UserMessageDeliveryScheduledEvent messageScheduleTimestamp. */
|
|
64506
|
-
public messageScheduleTimestamp: (number|Long);
|
|
64507
|
-
|
|
64508
|
-
/** UserMessageDeliveryScheduledEvent deliveryPlatformId. */
|
|
64509
|
-
public deliveryPlatformId: string;
|
|
64510
|
-
|
|
64511
|
-
/** UserMessageDeliveryScheduledEvent deliveryPlatformProvider. */
|
|
64512
|
-
public deliveryPlatformProvider: DeliveryPlatformProvider;
|
|
64513
|
-
|
|
64514
|
-
/** UserMessageDeliveryScheduledEvent userMessageNotifications. */
|
|
64515
|
-
public userMessageNotifications: IUserMessageNotification[];
|
|
64516
|
-
|
|
64517
|
-
/**
|
|
64518
|
-
* Creates a new UserMessageDeliveryScheduledEvent instance using the specified properties.
|
|
64519
|
-
* @param [properties] Properties to set
|
|
64520
|
-
* @returns UserMessageDeliveryScheduledEvent instance
|
|
64521
|
-
*/
|
|
64522
|
-
public static create(properties?: IUserMessageDeliveryScheduledEvent): UserMessageDeliveryScheduledEvent;
|
|
64523
|
-
|
|
64524
|
-
/**
|
|
64525
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
64526
|
-
* @param message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
64527
|
-
* @param [writer] Writer to encode to
|
|
64528
|
-
* @returns Writer
|
|
64529
|
-
*/
|
|
64530
|
-
public static encode(message: IUserMessageDeliveryScheduledEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64531
|
-
|
|
64532
|
-
/**
|
|
64533
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message, length delimited. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
64534
|
-
* @param message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
64535
|
-
* @param [writer] Writer to encode to
|
|
64536
|
-
* @returns Writer
|
|
64537
|
-
*/
|
|
64538
|
-
public static encodeDelimited(message: IUserMessageDeliveryScheduledEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64539
|
-
|
|
64540
|
-
/**
|
|
64541
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer.
|
|
64542
|
-
* @param reader Reader or buffer to decode from
|
|
64543
|
-
* @param [length] Message length if known beforehand
|
|
64544
|
-
* @returns UserMessageDeliveryScheduledEvent
|
|
64545
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64546
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64547
|
-
*/
|
|
64548
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageDeliveryScheduledEvent;
|
|
64549
|
-
|
|
64550
|
-
/**
|
|
64551
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer, length delimited.
|
|
64552
|
-
* @param reader Reader or buffer to decode from
|
|
64553
|
-
* @returns UserMessageDeliveryScheduledEvent
|
|
64554
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64555
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64556
|
-
*/
|
|
64557
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageDeliveryScheduledEvent;
|
|
64558
|
-
|
|
64559
|
-
/**
|
|
64560
|
-
* Verifies a UserMessageDeliveryScheduledEvent message.
|
|
64561
|
-
* @param message Plain object to verify
|
|
64562
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
64563
|
-
*/
|
|
64564
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
64565
|
-
|
|
64566
|
-
/**
|
|
64567
|
-
* Creates a UserMessageDeliveryScheduledEvent message from a plain object. Also converts values to their respective internal types.
|
|
64568
|
-
* @param object Plain object
|
|
64569
|
-
* @returns UserMessageDeliveryScheduledEvent
|
|
64570
|
-
*/
|
|
64571
|
-
public static fromObject(object: { [k: string]: any }): UserMessageDeliveryScheduledEvent;
|
|
64572
|
-
|
|
64573
|
-
/**
|
|
64574
|
-
* Creates a plain object from a UserMessageDeliveryScheduledEvent message. Also converts values to other types if specified.
|
|
64575
|
-
* @param message UserMessageDeliveryScheduledEvent
|
|
64576
|
-
* @param [options] Conversion options
|
|
64577
|
-
* @returns Plain object
|
|
64578
|
-
*/
|
|
64579
|
-
public static toObject(message: UserMessageDeliveryScheduledEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
64580
|
-
|
|
64581
|
-
/**
|
|
64582
|
-
* Converts this UserMessageDeliveryScheduledEvent to JSON.
|
|
64583
|
-
* @returns JSON object
|
|
64584
|
-
*/
|
|
64585
|
-
public toJSON(): { [k: string]: any };
|
|
64586
|
-
}
|
|
64587
|
-
|
|
64588
|
-
/** Properties of a UserMessageNotification. */
|
|
64589
|
-
export interface IUserMessageNotification {
|
|
64590
|
-
|
|
64591
|
-
/** UserMessageNotification userId */
|
|
64592
|
-
userId?: (string|null);
|
|
64593
|
-
|
|
64594
|
-
/** UserMessageNotification metadata */
|
|
64595
|
-
metadata?: ({ [k: string]: string }|null);
|
|
64596
|
-
}
|
|
64597
|
-
|
|
64598
|
-
/** Represents a UserMessageNotification. */
|
|
64599
|
-
export class UserMessageNotification implements IUserMessageNotification {
|
|
64600
|
-
|
|
64601
|
-
/**
|
|
64602
|
-
* Constructs a new UserMessageNotification.
|
|
64603
|
-
* @param [properties] Properties to set
|
|
64604
|
-
*/
|
|
64605
|
-
constructor(properties?: IUserMessageNotification);
|
|
64606
|
-
|
|
64607
|
-
/** UserMessageNotification userId. */
|
|
64608
|
-
public userId: string;
|
|
64609
|
-
|
|
64610
|
-
/** UserMessageNotification metadata. */
|
|
64611
|
-
public metadata: { [k: string]: string };
|
|
64612
|
-
|
|
64613
|
-
/**
|
|
64614
|
-
* Creates a new UserMessageNotification instance using the specified properties.
|
|
64615
|
-
* @param [properties] Properties to set
|
|
64616
|
-
* @returns UserMessageNotification instance
|
|
64617
|
-
*/
|
|
64618
|
-
public static create(properties?: IUserMessageNotification): UserMessageNotification;
|
|
64619
|
-
|
|
64620
|
-
/**
|
|
64621
|
-
* Encodes the specified UserMessageNotification message. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
64622
|
-
* @param message UserMessageNotification message or plain object to encode
|
|
64623
|
-
* @param [writer] Writer to encode to
|
|
64624
|
-
* @returns Writer
|
|
64625
|
-
*/
|
|
64626
|
-
public static encode(message: IUserMessageNotification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64627
|
-
|
|
64628
|
-
/**
|
|
64629
|
-
* Encodes the specified UserMessageNotification message, length delimited. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
64630
|
-
* @param message UserMessageNotification message or plain object to encode
|
|
64631
|
-
* @param [writer] Writer to encode to
|
|
64632
|
-
* @returns Writer
|
|
64633
|
-
*/
|
|
64634
|
-
public static encodeDelimited(message: IUserMessageNotification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64635
|
-
|
|
64636
|
-
/**
|
|
64637
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer.
|
|
64638
|
-
* @param reader Reader or buffer to decode from
|
|
64639
|
-
* @param [length] Message length if known beforehand
|
|
64640
|
-
* @returns UserMessageNotification
|
|
64641
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64642
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64643
|
-
*/
|
|
64644
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageNotification;
|
|
64645
|
-
|
|
64646
|
-
/**
|
|
64647
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer, length delimited.
|
|
64648
|
-
* @param reader Reader or buffer to decode from
|
|
64649
|
-
* @returns UserMessageNotification
|
|
64650
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64651
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64652
|
-
*/
|
|
64653
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageNotification;
|
|
64654
|
-
|
|
64655
|
-
/**
|
|
64656
|
-
* Verifies a UserMessageNotification message.
|
|
64657
|
-
* @param message Plain object to verify
|
|
64658
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
64659
|
-
*/
|
|
64660
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
64661
|
-
|
|
64662
|
-
/**
|
|
64663
|
-
* Creates a UserMessageNotification message from a plain object. Also converts values to their respective internal types.
|
|
64664
|
-
* @param object Plain object
|
|
64665
|
-
* @returns UserMessageNotification
|
|
64666
|
-
*/
|
|
64667
|
-
public static fromObject(object: { [k: string]: any }): UserMessageNotification;
|
|
64668
|
-
|
|
64669
|
-
/**
|
|
64670
|
-
* Creates a plain object from a UserMessageNotification message. Also converts values to other types if specified.
|
|
64671
|
-
* @param message UserMessageNotification
|
|
64672
|
-
* @param [options] Conversion options
|
|
64673
|
-
* @returns Plain object
|
|
64674
|
-
*/
|
|
64675
|
-
public static toObject(message: UserMessageNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
64676
|
-
|
|
64677
|
-
/**
|
|
64678
|
-
* Converts this UserMessageNotification to JSON.
|
|
64679
|
-
* @returns JSON object
|
|
64680
|
-
*/
|
|
64681
|
-
public toJSON(): { [k: string]: any };
|
|
64682
|
-
}
|
|
64683
|
-
|
|
64684
|
-
/** Properties of a UserMessageProcessMessagesEvent. */
|
|
64685
|
-
export interface IUserMessageProcessMessagesEvent {
|
|
64686
|
-
|
|
64687
|
-
/** UserMessageProcessMessagesEvent filePath */
|
|
64688
|
-
filePath?: (string|null);
|
|
64689
|
-
}
|
|
64690
|
-
|
|
64691
|
-
/** Represents a UserMessageProcessMessagesEvent. */
|
|
64692
|
-
export class UserMessageProcessMessagesEvent implements IUserMessageProcessMessagesEvent {
|
|
64693
|
-
|
|
64694
|
-
/**
|
|
64695
|
-
* Constructs a new UserMessageProcessMessagesEvent.
|
|
64696
|
-
* @param [properties] Properties to set
|
|
64697
|
-
*/
|
|
64698
|
-
constructor(properties?: IUserMessageProcessMessagesEvent);
|
|
64699
|
-
|
|
64700
|
-
/** UserMessageProcessMessagesEvent filePath. */
|
|
64701
|
-
public filePath: string;
|
|
64702
|
-
|
|
64703
|
-
/**
|
|
64704
|
-
* Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
|
|
64705
|
-
* @param [properties] Properties to set
|
|
64706
|
-
* @returns UserMessageProcessMessagesEvent instance
|
|
64707
|
-
*/
|
|
64708
|
-
public static create(properties?: IUserMessageProcessMessagesEvent): UserMessageProcessMessagesEvent;
|
|
64709
|
-
|
|
64710
|
-
/**
|
|
64711
|
-
* Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
64712
|
-
* @param message UserMessageProcessMessagesEvent message or plain object to encode
|
|
64713
|
-
* @param [writer] Writer to encode to
|
|
64714
|
-
* @returns Writer
|
|
64715
|
-
*/
|
|
64716
|
-
public static encode(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64717
|
-
|
|
64718
|
-
/**
|
|
64719
|
-
* Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
64720
|
-
* @param message UserMessageProcessMessagesEvent message or plain object to encode
|
|
64721
|
-
* @param [writer] Writer to encode to
|
|
64722
|
-
* @returns Writer
|
|
64723
|
-
*/
|
|
64724
|
-
public static encodeDelimited(message: IUserMessageProcessMessagesEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
64725
|
-
|
|
64726
|
-
/**
|
|
64727
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
|
|
64728
|
-
* @param reader Reader or buffer to decode from
|
|
64729
|
-
* @param [length] Message length if known beforehand
|
|
64730
|
-
* @returns UserMessageProcessMessagesEvent
|
|
64731
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64732
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64733
|
-
*/
|
|
64734
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageProcessMessagesEvent;
|
|
64735
|
-
|
|
64736
|
-
/**
|
|
64737
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
|
|
64738
|
-
* @param reader Reader or buffer to decode from
|
|
64739
|
-
* @returns UserMessageProcessMessagesEvent
|
|
64740
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
64741
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64742
|
-
*/
|
|
64743
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageProcessMessagesEvent;
|
|
64744
|
-
|
|
64745
|
-
/**
|
|
64746
|
-
* Verifies a UserMessageProcessMessagesEvent message.
|
|
64747
|
-
* @param message Plain object to verify
|
|
64748
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
64749
|
-
*/
|
|
64750
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
64751
|
-
|
|
64752
|
-
/**
|
|
64753
|
-
* Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
|
|
64754
|
-
* @param object Plain object
|
|
64755
|
-
* @returns UserMessageProcessMessagesEvent
|
|
64756
|
-
*/
|
|
64757
|
-
public static fromObject(object: { [k: string]: any }): UserMessageProcessMessagesEvent;
|
|
64758
|
-
|
|
64759
|
-
/**
|
|
64760
|
-
* Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
|
|
64761
|
-
* @param message UserMessageProcessMessagesEvent
|
|
64762
|
-
* @param [options] Conversion options
|
|
64763
|
-
* @returns Plain object
|
|
64764
|
-
*/
|
|
64765
|
-
public static toObject(message: UserMessageProcessMessagesEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
64766
|
-
|
|
64767
|
-
/**
|
|
64768
|
-
* Converts this UserMessageProcessMessagesEvent to JSON.
|
|
64769
|
-
* @returns JSON object
|
|
64770
|
-
*/
|
|
64771
|
-
public toJSON(): { [k: string]: any };
|
|
64772
|
-
}
|
|
64773
|
-
|
|
64774
64480
|
/** Properties of a VirginPulseAccountLinked. */
|
|
64775
64481
|
export interface IVirginPulseAccountLinked {
|
|
64776
64482
|
|
package/lib/index.js
CHANGED
|
@@ -144456,6 +144456,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144456
144456
|
* @property {string|null} [languagePreference] EnterpriseUserEnrollmentInitiated languagePreference
|
|
144457
144457
|
* @property {string|null} [dependentOf] EnterpriseUserEnrollmentInitiated dependentOf
|
|
144458
144458
|
* @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentInitiated subscriptionOrgId
|
|
144459
|
+
* @property {string|null} [eapLanguagePreference] EnterpriseUserEnrollmentInitiated eapLanguagePreference
|
|
144459
144460
|
*/
|
|
144460
144461
|
|
|
144461
144462
|
/**
|
|
@@ -144561,6 +144562,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144561
144562
|
*/
|
|
144562
144563
|
EnterpriseUserEnrollmentInitiated.prototype.subscriptionOrgId = 0;
|
|
144563
144564
|
|
|
144565
|
+
/**
|
|
144566
|
+
* EnterpriseUserEnrollmentInitiated eapLanguagePreference.
|
|
144567
|
+
* @member {string} eapLanguagePreference
|
|
144568
|
+
* @memberof EnterpriseUserEnrollmentInitiated
|
|
144569
|
+
* @instance
|
|
144570
|
+
*/
|
|
144571
|
+
EnterpriseUserEnrollmentInitiated.prototype.eapLanguagePreference = "";
|
|
144572
|
+
|
|
144564
144573
|
/**
|
|
144565
144574
|
* Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
|
|
144566
144575
|
* @function create
|
|
@@ -144607,6 +144616,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144607
144616
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.dependentOf);
|
|
144608
144617
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
144609
144618
|
writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.subscriptionOrgId);
|
|
144619
|
+
if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
|
|
144620
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.eapLanguagePreference);
|
|
144610
144621
|
return writer;
|
|
144611
144622
|
};
|
|
144612
144623
|
|
|
@@ -144674,6 +144685,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144674
144685
|
case 11:
|
|
144675
144686
|
message.subscriptionOrgId = reader.uint32();
|
|
144676
144687
|
break;
|
|
144688
|
+
case 12:
|
|
144689
|
+
message.eapLanguagePreference = reader.string();
|
|
144690
|
+
break;
|
|
144677
144691
|
default:
|
|
144678
144692
|
reader.skipType(tag & 7);
|
|
144679
144693
|
break;
|
|
@@ -144742,6 +144756,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144742
144756
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
144743
144757
|
if (!$util.isInteger(message.subscriptionOrgId))
|
|
144744
144758
|
return "subscriptionOrgId: integer expected";
|
|
144759
|
+
if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
|
|
144760
|
+
if (!$util.isString(message.eapLanguagePreference))
|
|
144761
|
+
return "eapLanguagePreference: string expected";
|
|
144745
144762
|
return null;
|
|
144746
144763
|
};
|
|
144747
144764
|
|
|
@@ -144786,6 +144803,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144786
144803
|
message.dependentOf = String(object.dependentOf);
|
|
144787
144804
|
if (object.subscriptionOrgId != null)
|
|
144788
144805
|
message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
|
|
144806
|
+
if (object.eapLanguagePreference != null)
|
|
144807
|
+
message.eapLanguagePreference = String(object.eapLanguagePreference);
|
|
144789
144808
|
return message;
|
|
144790
144809
|
};
|
|
144791
144810
|
|
|
@@ -144818,6 +144837,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144818
144837
|
object.languagePreference = "";
|
|
144819
144838
|
object.dependentOf = "";
|
|
144820
144839
|
object.subscriptionOrgId = 0;
|
|
144840
|
+
object.eapLanguagePreference = "";
|
|
144821
144841
|
}
|
|
144822
144842
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
144823
144843
|
object.hsUserId = message.hsUserId;
|
|
@@ -144844,6 +144864,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
|
|
|
144844
144864
|
object.dependentOf = message.dependentOf;
|
|
144845
144865
|
if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
|
|
144846
144866
|
object.subscriptionOrgId = message.subscriptionOrgId;
|
|
144867
|
+
if (message.eapLanguagePreference != null && message.hasOwnProperty("eapLanguagePreference"))
|
|
144868
|
+
object.eapLanguagePreference = message.eapLanguagePreference;
|
|
144847
144869
|
return object;
|
|
144848
144870
|
};
|
|
144849
144871
|
|
|
@@ -180899,741 +180921,6 @@ $root.UserConsentUpdated = (function() {
|
|
|
180899
180921
|
return UserConsentUpdated;
|
|
180900
180922
|
})();
|
|
180901
180923
|
|
|
180902
|
-
/**
|
|
180903
|
-
* DeliveryPlatformProvider enum.
|
|
180904
|
-
* @name DeliveryPlatformProvider
|
|
180905
|
-
* @enum {string}
|
|
180906
|
-
* @property {number} DELIVERY_PLATFORM_UNKNOWN=0 DELIVERY_PLATFORM_UNKNOWN value
|
|
180907
|
-
* @property {number} DELIVERY_PLATFORM_BRAZE=1 DELIVERY_PLATFORM_BRAZE value
|
|
180908
|
-
*/
|
|
180909
|
-
$root.DeliveryPlatformProvider = (function() {
|
|
180910
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
180911
|
-
values[valuesById[0] = "DELIVERY_PLATFORM_UNKNOWN"] = 0;
|
|
180912
|
-
values[valuesById[1] = "DELIVERY_PLATFORM_BRAZE"] = 1;
|
|
180913
|
-
return values;
|
|
180914
|
-
})();
|
|
180915
|
-
|
|
180916
|
-
$root.UserMessageDeliveryScheduledEvent = (function() {
|
|
180917
|
-
|
|
180918
|
-
/**
|
|
180919
|
-
* Properties of a UserMessageDeliveryScheduledEvent.
|
|
180920
|
-
* @name IUserMessageDeliveryScheduledEvent
|
|
180921
|
-
* @interface IUserMessageDeliveryScheduledEvent
|
|
180922
|
-
* @property {number|Long|null} [messageScheduleTimestamp] UserMessageDeliveryScheduledEvent messageScheduleTimestamp
|
|
180923
|
-
* @property {string|null} [deliveryPlatformId] UserMessageDeliveryScheduledEvent deliveryPlatformId
|
|
180924
|
-
* @property {DeliveryPlatformProvider|null} [deliveryPlatformProvider] UserMessageDeliveryScheduledEvent deliveryPlatformProvider
|
|
180925
|
-
* @property {Array.<IUserMessageNotification>|null} [userMessageNotifications] UserMessageDeliveryScheduledEvent userMessageNotifications
|
|
180926
|
-
*/
|
|
180927
|
-
|
|
180928
|
-
/**
|
|
180929
|
-
* Constructs a new UserMessageDeliveryScheduledEvent.
|
|
180930
|
-
* @name UserMessageDeliveryScheduledEvent
|
|
180931
|
-
* @classdesc Represents a UserMessageDeliveryScheduledEvent.
|
|
180932
|
-
* @implements IUserMessageDeliveryScheduledEvent
|
|
180933
|
-
* @constructor
|
|
180934
|
-
* @param {IUserMessageDeliveryScheduledEvent=} [properties] Properties to set
|
|
180935
|
-
*/
|
|
180936
|
-
function UserMessageDeliveryScheduledEvent(properties) {
|
|
180937
|
-
this.userMessageNotifications = [];
|
|
180938
|
-
if (properties)
|
|
180939
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
180940
|
-
if (properties[keys[i]] != null)
|
|
180941
|
-
this[keys[i]] = properties[keys[i]];
|
|
180942
|
-
}
|
|
180943
|
-
|
|
180944
|
-
/**
|
|
180945
|
-
* UserMessageDeliveryScheduledEvent messageScheduleTimestamp.
|
|
180946
|
-
* @member {number|Long} messageScheduleTimestamp
|
|
180947
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180948
|
-
* @instance
|
|
180949
|
-
*/
|
|
180950
|
-
UserMessageDeliveryScheduledEvent.prototype.messageScheduleTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
180951
|
-
|
|
180952
|
-
/**
|
|
180953
|
-
* UserMessageDeliveryScheduledEvent deliveryPlatformId.
|
|
180954
|
-
* @member {string} deliveryPlatformId
|
|
180955
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180956
|
-
* @instance
|
|
180957
|
-
*/
|
|
180958
|
-
UserMessageDeliveryScheduledEvent.prototype.deliveryPlatformId = "";
|
|
180959
|
-
|
|
180960
|
-
/**
|
|
180961
|
-
* UserMessageDeliveryScheduledEvent deliveryPlatformProvider.
|
|
180962
|
-
* @member {DeliveryPlatformProvider} deliveryPlatformProvider
|
|
180963
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180964
|
-
* @instance
|
|
180965
|
-
*/
|
|
180966
|
-
UserMessageDeliveryScheduledEvent.prototype.deliveryPlatformProvider = 0;
|
|
180967
|
-
|
|
180968
|
-
/**
|
|
180969
|
-
* UserMessageDeliveryScheduledEvent userMessageNotifications.
|
|
180970
|
-
* @member {Array.<IUserMessageNotification>} userMessageNotifications
|
|
180971
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180972
|
-
* @instance
|
|
180973
|
-
*/
|
|
180974
|
-
UserMessageDeliveryScheduledEvent.prototype.userMessageNotifications = $util.emptyArray;
|
|
180975
|
-
|
|
180976
|
-
/**
|
|
180977
|
-
* Creates a new UserMessageDeliveryScheduledEvent instance using the specified properties.
|
|
180978
|
-
* @function create
|
|
180979
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180980
|
-
* @static
|
|
180981
|
-
* @param {IUserMessageDeliveryScheduledEvent=} [properties] Properties to set
|
|
180982
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent instance
|
|
180983
|
-
*/
|
|
180984
|
-
UserMessageDeliveryScheduledEvent.create = function create(properties) {
|
|
180985
|
-
return new UserMessageDeliveryScheduledEvent(properties);
|
|
180986
|
-
};
|
|
180987
|
-
|
|
180988
|
-
/**
|
|
180989
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
180990
|
-
* @function encode
|
|
180991
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
180992
|
-
* @static
|
|
180993
|
-
* @param {IUserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
180994
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
180995
|
-
* @returns {$protobuf.Writer} Writer
|
|
180996
|
-
*/
|
|
180997
|
-
UserMessageDeliveryScheduledEvent.encode = function encode(message, writer) {
|
|
180998
|
-
if (!writer)
|
|
180999
|
-
writer = $Writer.create();
|
|
181000
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181001
|
-
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.messageScheduleTimestamp);
|
|
181002
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181003
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.deliveryPlatformId);
|
|
181004
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181005
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.deliveryPlatformProvider);
|
|
181006
|
-
if (message.userMessageNotifications != null && message.userMessageNotifications.length)
|
|
181007
|
-
for (var i = 0; i < message.userMessageNotifications.length; ++i)
|
|
181008
|
-
$root.UserMessageNotification.encode(message.userMessageNotifications[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
181009
|
-
return writer;
|
|
181010
|
-
};
|
|
181011
|
-
|
|
181012
|
-
/**
|
|
181013
|
-
* Encodes the specified UserMessageDeliveryScheduledEvent message, length delimited. Does not implicitly {@link UserMessageDeliveryScheduledEvent.verify|verify} messages.
|
|
181014
|
-
* @function encodeDelimited
|
|
181015
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181016
|
-
* @static
|
|
181017
|
-
* @param {IUserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent message or plain object to encode
|
|
181018
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181019
|
-
* @returns {$protobuf.Writer} Writer
|
|
181020
|
-
*/
|
|
181021
|
-
UserMessageDeliveryScheduledEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181022
|
-
return this.encode(message, writer).ldelim();
|
|
181023
|
-
};
|
|
181024
|
-
|
|
181025
|
-
/**
|
|
181026
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer.
|
|
181027
|
-
* @function decode
|
|
181028
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181029
|
-
* @static
|
|
181030
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181031
|
-
* @param {number} [length] Message length if known beforehand
|
|
181032
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181033
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181034
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181035
|
-
*/
|
|
181036
|
-
UserMessageDeliveryScheduledEvent.decode = function decode(reader, length) {
|
|
181037
|
-
if (!(reader instanceof $Reader))
|
|
181038
|
-
reader = $Reader.create(reader);
|
|
181039
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageDeliveryScheduledEvent();
|
|
181040
|
-
while (reader.pos < end) {
|
|
181041
|
-
var tag = reader.uint32();
|
|
181042
|
-
switch (tag >>> 3) {
|
|
181043
|
-
case 1:
|
|
181044
|
-
message.messageScheduleTimestamp = reader.uint64();
|
|
181045
|
-
break;
|
|
181046
|
-
case 2:
|
|
181047
|
-
message.deliveryPlatformId = reader.string();
|
|
181048
|
-
break;
|
|
181049
|
-
case 3:
|
|
181050
|
-
message.deliveryPlatformProvider = reader.int32();
|
|
181051
|
-
break;
|
|
181052
|
-
case 4:
|
|
181053
|
-
if (!(message.userMessageNotifications && message.userMessageNotifications.length))
|
|
181054
|
-
message.userMessageNotifications = [];
|
|
181055
|
-
message.userMessageNotifications.push($root.UserMessageNotification.decode(reader, reader.uint32()));
|
|
181056
|
-
break;
|
|
181057
|
-
default:
|
|
181058
|
-
reader.skipType(tag & 7);
|
|
181059
|
-
break;
|
|
181060
|
-
}
|
|
181061
|
-
}
|
|
181062
|
-
return message;
|
|
181063
|
-
};
|
|
181064
|
-
|
|
181065
|
-
/**
|
|
181066
|
-
* Decodes a UserMessageDeliveryScheduledEvent message from the specified reader or buffer, length delimited.
|
|
181067
|
-
* @function decodeDelimited
|
|
181068
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181069
|
-
* @static
|
|
181070
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181071
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181072
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181073
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181074
|
-
*/
|
|
181075
|
-
UserMessageDeliveryScheduledEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
181076
|
-
if (!(reader instanceof $Reader))
|
|
181077
|
-
reader = new $Reader(reader);
|
|
181078
|
-
return this.decode(reader, reader.uint32());
|
|
181079
|
-
};
|
|
181080
|
-
|
|
181081
|
-
/**
|
|
181082
|
-
* Verifies a UserMessageDeliveryScheduledEvent message.
|
|
181083
|
-
* @function verify
|
|
181084
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181085
|
-
* @static
|
|
181086
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181087
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181088
|
-
*/
|
|
181089
|
-
UserMessageDeliveryScheduledEvent.verify = function verify(message) {
|
|
181090
|
-
if (typeof message !== "object" || message === null)
|
|
181091
|
-
return "object expected";
|
|
181092
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181093
|
-
if (!$util.isInteger(message.messageScheduleTimestamp) && !(message.messageScheduleTimestamp && $util.isInteger(message.messageScheduleTimestamp.low) && $util.isInteger(message.messageScheduleTimestamp.high)))
|
|
181094
|
-
return "messageScheduleTimestamp: integer|Long expected";
|
|
181095
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181096
|
-
if (!$util.isString(message.deliveryPlatformId))
|
|
181097
|
-
return "deliveryPlatformId: string expected";
|
|
181098
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181099
|
-
switch (message.deliveryPlatformProvider) {
|
|
181100
|
-
default:
|
|
181101
|
-
return "deliveryPlatformProvider: enum value expected";
|
|
181102
|
-
case 0:
|
|
181103
|
-
case 1:
|
|
181104
|
-
break;
|
|
181105
|
-
}
|
|
181106
|
-
if (message.userMessageNotifications != null && message.hasOwnProperty("userMessageNotifications")) {
|
|
181107
|
-
if (!Array.isArray(message.userMessageNotifications))
|
|
181108
|
-
return "userMessageNotifications: array expected";
|
|
181109
|
-
for (var i = 0; i < message.userMessageNotifications.length; ++i) {
|
|
181110
|
-
var error = $root.UserMessageNotification.verify(message.userMessageNotifications[i]);
|
|
181111
|
-
if (error)
|
|
181112
|
-
return "userMessageNotifications." + error;
|
|
181113
|
-
}
|
|
181114
|
-
}
|
|
181115
|
-
return null;
|
|
181116
|
-
};
|
|
181117
|
-
|
|
181118
|
-
/**
|
|
181119
|
-
* Creates a UserMessageDeliveryScheduledEvent message from a plain object. Also converts values to their respective internal types.
|
|
181120
|
-
* @function fromObject
|
|
181121
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181122
|
-
* @static
|
|
181123
|
-
* @param {Object.<string,*>} object Plain object
|
|
181124
|
-
* @returns {UserMessageDeliveryScheduledEvent} UserMessageDeliveryScheduledEvent
|
|
181125
|
-
*/
|
|
181126
|
-
UserMessageDeliveryScheduledEvent.fromObject = function fromObject(object) {
|
|
181127
|
-
if (object instanceof $root.UserMessageDeliveryScheduledEvent)
|
|
181128
|
-
return object;
|
|
181129
|
-
var message = new $root.UserMessageDeliveryScheduledEvent();
|
|
181130
|
-
if (object.messageScheduleTimestamp != null)
|
|
181131
|
-
if ($util.Long)
|
|
181132
|
-
(message.messageScheduleTimestamp = $util.Long.fromValue(object.messageScheduleTimestamp)).unsigned = true;
|
|
181133
|
-
else if (typeof object.messageScheduleTimestamp === "string")
|
|
181134
|
-
message.messageScheduleTimestamp = parseInt(object.messageScheduleTimestamp, 10);
|
|
181135
|
-
else if (typeof object.messageScheduleTimestamp === "number")
|
|
181136
|
-
message.messageScheduleTimestamp = object.messageScheduleTimestamp;
|
|
181137
|
-
else if (typeof object.messageScheduleTimestamp === "object")
|
|
181138
|
-
message.messageScheduleTimestamp = new $util.LongBits(object.messageScheduleTimestamp.low >>> 0, object.messageScheduleTimestamp.high >>> 0).toNumber(true);
|
|
181139
|
-
if (object.deliveryPlatformId != null)
|
|
181140
|
-
message.deliveryPlatformId = String(object.deliveryPlatformId);
|
|
181141
|
-
switch (object.deliveryPlatformProvider) {
|
|
181142
|
-
case "DELIVERY_PLATFORM_UNKNOWN":
|
|
181143
|
-
case 0:
|
|
181144
|
-
message.deliveryPlatformProvider = 0;
|
|
181145
|
-
break;
|
|
181146
|
-
case "DELIVERY_PLATFORM_BRAZE":
|
|
181147
|
-
case 1:
|
|
181148
|
-
message.deliveryPlatformProvider = 1;
|
|
181149
|
-
break;
|
|
181150
|
-
}
|
|
181151
|
-
if (object.userMessageNotifications) {
|
|
181152
|
-
if (!Array.isArray(object.userMessageNotifications))
|
|
181153
|
-
throw TypeError(".UserMessageDeliveryScheduledEvent.userMessageNotifications: array expected");
|
|
181154
|
-
message.userMessageNotifications = [];
|
|
181155
|
-
for (var i = 0; i < object.userMessageNotifications.length; ++i) {
|
|
181156
|
-
if (typeof object.userMessageNotifications[i] !== "object")
|
|
181157
|
-
throw TypeError(".UserMessageDeliveryScheduledEvent.userMessageNotifications: object expected");
|
|
181158
|
-
message.userMessageNotifications[i] = $root.UserMessageNotification.fromObject(object.userMessageNotifications[i]);
|
|
181159
|
-
}
|
|
181160
|
-
}
|
|
181161
|
-
return message;
|
|
181162
|
-
};
|
|
181163
|
-
|
|
181164
|
-
/**
|
|
181165
|
-
* Creates a plain object from a UserMessageDeliveryScheduledEvent message. Also converts values to other types if specified.
|
|
181166
|
-
* @function toObject
|
|
181167
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181168
|
-
* @static
|
|
181169
|
-
* @param {UserMessageDeliveryScheduledEvent} message UserMessageDeliveryScheduledEvent
|
|
181170
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181171
|
-
* @returns {Object.<string,*>} Plain object
|
|
181172
|
-
*/
|
|
181173
|
-
UserMessageDeliveryScheduledEvent.toObject = function toObject(message, options) {
|
|
181174
|
-
if (!options)
|
|
181175
|
-
options = {};
|
|
181176
|
-
var object = {};
|
|
181177
|
-
if (options.arrays || options.defaults)
|
|
181178
|
-
object.userMessageNotifications = [];
|
|
181179
|
-
if (options.defaults) {
|
|
181180
|
-
if ($util.Long) {
|
|
181181
|
-
var long = new $util.Long(0, 0, true);
|
|
181182
|
-
object.messageScheduleTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
181183
|
-
} else
|
|
181184
|
-
object.messageScheduleTimestamp = options.longs === String ? "0" : 0;
|
|
181185
|
-
object.deliveryPlatformId = "";
|
|
181186
|
-
object.deliveryPlatformProvider = options.enums === String ? "DELIVERY_PLATFORM_UNKNOWN" : 0;
|
|
181187
|
-
}
|
|
181188
|
-
if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
|
|
181189
|
-
if (typeof message.messageScheduleTimestamp === "number")
|
|
181190
|
-
object.messageScheduleTimestamp = options.longs === String ? String(message.messageScheduleTimestamp) : message.messageScheduleTimestamp;
|
|
181191
|
-
else
|
|
181192
|
-
object.messageScheduleTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.messageScheduleTimestamp) : options.longs === Number ? new $util.LongBits(message.messageScheduleTimestamp.low >>> 0, message.messageScheduleTimestamp.high >>> 0).toNumber(true) : message.messageScheduleTimestamp;
|
|
181193
|
-
if (message.deliveryPlatformId != null && message.hasOwnProperty("deliveryPlatformId"))
|
|
181194
|
-
object.deliveryPlatformId = message.deliveryPlatformId;
|
|
181195
|
-
if (message.deliveryPlatformProvider != null && message.hasOwnProperty("deliveryPlatformProvider"))
|
|
181196
|
-
object.deliveryPlatformProvider = options.enums === String ? $root.DeliveryPlatformProvider[message.deliveryPlatformProvider] : message.deliveryPlatformProvider;
|
|
181197
|
-
if (message.userMessageNotifications && message.userMessageNotifications.length) {
|
|
181198
|
-
object.userMessageNotifications = [];
|
|
181199
|
-
for (var j = 0; j < message.userMessageNotifications.length; ++j)
|
|
181200
|
-
object.userMessageNotifications[j] = $root.UserMessageNotification.toObject(message.userMessageNotifications[j], options);
|
|
181201
|
-
}
|
|
181202
|
-
return object;
|
|
181203
|
-
};
|
|
181204
|
-
|
|
181205
|
-
/**
|
|
181206
|
-
* Converts this UserMessageDeliveryScheduledEvent to JSON.
|
|
181207
|
-
* @function toJSON
|
|
181208
|
-
* @memberof UserMessageDeliveryScheduledEvent
|
|
181209
|
-
* @instance
|
|
181210
|
-
* @returns {Object.<string,*>} JSON object
|
|
181211
|
-
*/
|
|
181212
|
-
UserMessageDeliveryScheduledEvent.prototype.toJSON = function toJSON() {
|
|
181213
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181214
|
-
};
|
|
181215
|
-
|
|
181216
|
-
return UserMessageDeliveryScheduledEvent;
|
|
181217
|
-
})();
|
|
181218
|
-
|
|
181219
|
-
$root.UserMessageNotification = (function() {
|
|
181220
|
-
|
|
181221
|
-
/**
|
|
181222
|
-
* Properties of a UserMessageNotification.
|
|
181223
|
-
* @name IUserMessageNotification
|
|
181224
|
-
* @interface IUserMessageNotification
|
|
181225
|
-
* @property {string|null} [userId] UserMessageNotification userId
|
|
181226
|
-
* @property {Object.<string,string>|null} [metadata] UserMessageNotification metadata
|
|
181227
|
-
*/
|
|
181228
|
-
|
|
181229
|
-
/**
|
|
181230
|
-
* Constructs a new UserMessageNotification.
|
|
181231
|
-
* @name UserMessageNotification
|
|
181232
|
-
* @classdesc Represents a UserMessageNotification.
|
|
181233
|
-
* @implements IUserMessageNotification
|
|
181234
|
-
* @constructor
|
|
181235
|
-
* @param {IUserMessageNotification=} [properties] Properties to set
|
|
181236
|
-
*/
|
|
181237
|
-
function UserMessageNotification(properties) {
|
|
181238
|
-
this.metadata = {};
|
|
181239
|
-
if (properties)
|
|
181240
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
181241
|
-
if (properties[keys[i]] != null)
|
|
181242
|
-
this[keys[i]] = properties[keys[i]];
|
|
181243
|
-
}
|
|
181244
|
-
|
|
181245
|
-
/**
|
|
181246
|
-
* UserMessageNotification userId.
|
|
181247
|
-
* @member {string} userId
|
|
181248
|
-
* @memberof UserMessageNotification
|
|
181249
|
-
* @instance
|
|
181250
|
-
*/
|
|
181251
|
-
UserMessageNotification.prototype.userId = "";
|
|
181252
|
-
|
|
181253
|
-
/**
|
|
181254
|
-
* UserMessageNotification metadata.
|
|
181255
|
-
* @member {Object.<string,string>} metadata
|
|
181256
|
-
* @memberof UserMessageNotification
|
|
181257
|
-
* @instance
|
|
181258
|
-
*/
|
|
181259
|
-
UserMessageNotification.prototype.metadata = $util.emptyObject;
|
|
181260
|
-
|
|
181261
|
-
/**
|
|
181262
|
-
* Creates a new UserMessageNotification instance using the specified properties.
|
|
181263
|
-
* @function create
|
|
181264
|
-
* @memberof UserMessageNotification
|
|
181265
|
-
* @static
|
|
181266
|
-
* @param {IUserMessageNotification=} [properties] Properties to set
|
|
181267
|
-
* @returns {UserMessageNotification} UserMessageNotification instance
|
|
181268
|
-
*/
|
|
181269
|
-
UserMessageNotification.create = function create(properties) {
|
|
181270
|
-
return new UserMessageNotification(properties);
|
|
181271
|
-
};
|
|
181272
|
-
|
|
181273
|
-
/**
|
|
181274
|
-
* Encodes the specified UserMessageNotification message. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
181275
|
-
* @function encode
|
|
181276
|
-
* @memberof UserMessageNotification
|
|
181277
|
-
* @static
|
|
181278
|
-
* @param {IUserMessageNotification} message UserMessageNotification message or plain object to encode
|
|
181279
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181280
|
-
* @returns {$protobuf.Writer} Writer
|
|
181281
|
-
*/
|
|
181282
|
-
UserMessageNotification.encode = function encode(message, writer) {
|
|
181283
|
-
if (!writer)
|
|
181284
|
-
writer = $Writer.create();
|
|
181285
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181286
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
181287
|
-
if (message.metadata != null && message.hasOwnProperty("metadata"))
|
|
181288
|
-
for (var keys = Object.keys(message.metadata), i = 0; i < keys.length; ++i)
|
|
181289
|
-
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.metadata[keys[i]]).ldelim();
|
|
181290
|
-
return writer;
|
|
181291
|
-
};
|
|
181292
|
-
|
|
181293
|
-
/**
|
|
181294
|
-
* Encodes the specified UserMessageNotification message, length delimited. Does not implicitly {@link UserMessageNotification.verify|verify} messages.
|
|
181295
|
-
* @function encodeDelimited
|
|
181296
|
-
* @memberof UserMessageNotification
|
|
181297
|
-
* @static
|
|
181298
|
-
* @param {IUserMessageNotification} message UserMessageNotification message or plain object to encode
|
|
181299
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181300
|
-
* @returns {$protobuf.Writer} Writer
|
|
181301
|
-
*/
|
|
181302
|
-
UserMessageNotification.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181303
|
-
return this.encode(message, writer).ldelim();
|
|
181304
|
-
};
|
|
181305
|
-
|
|
181306
|
-
/**
|
|
181307
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer.
|
|
181308
|
-
* @function decode
|
|
181309
|
-
* @memberof UserMessageNotification
|
|
181310
|
-
* @static
|
|
181311
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181312
|
-
* @param {number} [length] Message length if known beforehand
|
|
181313
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181314
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181315
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181316
|
-
*/
|
|
181317
|
-
UserMessageNotification.decode = function decode(reader, length) {
|
|
181318
|
-
if (!(reader instanceof $Reader))
|
|
181319
|
-
reader = $Reader.create(reader);
|
|
181320
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageNotification(), key;
|
|
181321
|
-
while (reader.pos < end) {
|
|
181322
|
-
var tag = reader.uint32();
|
|
181323
|
-
switch (tag >>> 3) {
|
|
181324
|
-
case 1:
|
|
181325
|
-
message.userId = reader.string();
|
|
181326
|
-
break;
|
|
181327
|
-
case 2:
|
|
181328
|
-
reader.skip().pos++;
|
|
181329
|
-
if (message.metadata === $util.emptyObject)
|
|
181330
|
-
message.metadata = {};
|
|
181331
|
-
key = reader.string();
|
|
181332
|
-
reader.pos++;
|
|
181333
|
-
message.metadata[key] = reader.string();
|
|
181334
|
-
break;
|
|
181335
|
-
default:
|
|
181336
|
-
reader.skipType(tag & 7);
|
|
181337
|
-
break;
|
|
181338
|
-
}
|
|
181339
|
-
}
|
|
181340
|
-
return message;
|
|
181341
|
-
};
|
|
181342
|
-
|
|
181343
|
-
/**
|
|
181344
|
-
* Decodes a UserMessageNotification message from the specified reader or buffer, length delimited.
|
|
181345
|
-
* @function decodeDelimited
|
|
181346
|
-
* @memberof UserMessageNotification
|
|
181347
|
-
* @static
|
|
181348
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181349
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181350
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181351
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181352
|
-
*/
|
|
181353
|
-
UserMessageNotification.decodeDelimited = function decodeDelimited(reader) {
|
|
181354
|
-
if (!(reader instanceof $Reader))
|
|
181355
|
-
reader = new $Reader(reader);
|
|
181356
|
-
return this.decode(reader, reader.uint32());
|
|
181357
|
-
};
|
|
181358
|
-
|
|
181359
|
-
/**
|
|
181360
|
-
* Verifies a UserMessageNotification message.
|
|
181361
|
-
* @function verify
|
|
181362
|
-
* @memberof UserMessageNotification
|
|
181363
|
-
* @static
|
|
181364
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181365
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181366
|
-
*/
|
|
181367
|
-
UserMessageNotification.verify = function verify(message) {
|
|
181368
|
-
if (typeof message !== "object" || message === null)
|
|
181369
|
-
return "object expected";
|
|
181370
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181371
|
-
if (!$util.isString(message.userId))
|
|
181372
|
-
return "userId: string expected";
|
|
181373
|
-
if (message.metadata != null && message.hasOwnProperty("metadata")) {
|
|
181374
|
-
if (!$util.isObject(message.metadata))
|
|
181375
|
-
return "metadata: object expected";
|
|
181376
|
-
var key = Object.keys(message.metadata);
|
|
181377
|
-
for (var i = 0; i < key.length; ++i)
|
|
181378
|
-
if (!$util.isString(message.metadata[key[i]]))
|
|
181379
|
-
return "metadata: string{k:string} expected";
|
|
181380
|
-
}
|
|
181381
|
-
return null;
|
|
181382
|
-
};
|
|
181383
|
-
|
|
181384
|
-
/**
|
|
181385
|
-
* Creates a UserMessageNotification message from a plain object. Also converts values to their respective internal types.
|
|
181386
|
-
* @function fromObject
|
|
181387
|
-
* @memberof UserMessageNotification
|
|
181388
|
-
* @static
|
|
181389
|
-
* @param {Object.<string,*>} object Plain object
|
|
181390
|
-
* @returns {UserMessageNotification} UserMessageNotification
|
|
181391
|
-
*/
|
|
181392
|
-
UserMessageNotification.fromObject = function fromObject(object) {
|
|
181393
|
-
if (object instanceof $root.UserMessageNotification)
|
|
181394
|
-
return object;
|
|
181395
|
-
var message = new $root.UserMessageNotification();
|
|
181396
|
-
if (object.userId != null)
|
|
181397
|
-
message.userId = String(object.userId);
|
|
181398
|
-
if (object.metadata) {
|
|
181399
|
-
if (typeof object.metadata !== "object")
|
|
181400
|
-
throw TypeError(".UserMessageNotification.metadata: object expected");
|
|
181401
|
-
message.metadata = {};
|
|
181402
|
-
for (var keys = Object.keys(object.metadata), i = 0; i < keys.length; ++i)
|
|
181403
|
-
message.metadata[keys[i]] = String(object.metadata[keys[i]]);
|
|
181404
|
-
}
|
|
181405
|
-
return message;
|
|
181406
|
-
};
|
|
181407
|
-
|
|
181408
|
-
/**
|
|
181409
|
-
* Creates a plain object from a UserMessageNotification message. Also converts values to other types if specified.
|
|
181410
|
-
* @function toObject
|
|
181411
|
-
* @memberof UserMessageNotification
|
|
181412
|
-
* @static
|
|
181413
|
-
* @param {UserMessageNotification} message UserMessageNotification
|
|
181414
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181415
|
-
* @returns {Object.<string,*>} Plain object
|
|
181416
|
-
*/
|
|
181417
|
-
UserMessageNotification.toObject = function toObject(message, options) {
|
|
181418
|
-
if (!options)
|
|
181419
|
-
options = {};
|
|
181420
|
-
var object = {};
|
|
181421
|
-
if (options.objects || options.defaults)
|
|
181422
|
-
object.metadata = {};
|
|
181423
|
-
if (options.defaults)
|
|
181424
|
-
object.userId = "";
|
|
181425
|
-
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
181426
|
-
object.userId = message.userId;
|
|
181427
|
-
var keys2;
|
|
181428
|
-
if (message.metadata && (keys2 = Object.keys(message.metadata)).length) {
|
|
181429
|
-
object.metadata = {};
|
|
181430
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
181431
|
-
object.metadata[keys2[j]] = message.metadata[keys2[j]];
|
|
181432
|
-
}
|
|
181433
|
-
return object;
|
|
181434
|
-
};
|
|
181435
|
-
|
|
181436
|
-
/**
|
|
181437
|
-
* Converts this UserMessageNotification to JSON.
|
|
181438
|
-
* @function toJSON
|
|
181439
|
-
* @memberof UserMessageNotification
|
|
181440
|
-
* @instance
|
|
181441
|
-
* @returns {Object.<string,*>} JSON object
|
|
181442
|
-
*/
|
|
181443
|
-
UserMessageNotification.prototype.toJSON = function toJSON() {
|
|
181444
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181445
|
-
};
|
|
181446
|
-
|
|
181447
|
-
return UserMessageNotification;
|
|
181448
|
-
})();
|
|
181449
|
-
|
|
181450
|
-
$root.UserMessageProcessMessagesEvent = (function() {
|
|
181451
|
-
|
|
181452
|
-
/**
|
|
181453
|
-
* Properties of a UserMessageProcessMessagesEvent.
|
|
181454
|
-
* @name IUserMessageProcessMessagesEvent
|
|
181455
|
-
* @interface IUserMessageProcessMessagesEvent
|
|
181456
|
-
* @property {string|null} [filePath] UserMessageProcessMessagesEvent filePath
|
|
181457
|
-
*/
|
|
181458
|
-
|
|
181459
|
-
/**
|
|
181460
|
-
* Constructs a new UserMessageProcessMessagesEvent.
|
|
181461
|
-
* @name UserMessageProcessMessagesEvent
|
|
181462
|
-
* @classdesc Represents a UserMessageProcessMessagesEvent.
|
|
181463
|
-
* @implements IUserMessageProcessMessagesEvent
|
|
181464
|
-
* @constructor
|
|
181465
|
-
* @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
|
|
181466
|
-
*/
|
|
181467
|
-
function UserMessageProcessMessagesEvent(properties) {
|
|
181468
|
-
if (properties)
|
|
181469
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
181470
|
-
if (properties[keys[i]] != null)
|
|
181471
|
-
this[keys[i]] = properties[keys[i]];
|
|
181472
|
-
}
|
|
181473
|
-
|
|
181474
|
-
/**
|
|
181475
|
-
* UserMessageProcessMessagesEvent filePath.
|
|
181476
|
-
* @member {string} filePath
|
|
181477
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181478
|
-
* @instance
|
|
181479
|
-
*/
|
|
181480
|
-
UserMessageProcessMessagesEvent.prototype.filePath = "";
|
|
181481
|
-
|
|
181482
|
-
/**
|
|
181483
|
-
* Creates a new UserMessageProcessMessagesEvent instance using the specified properties.
|
|
181484
|
-
* @function create
|
|
181485
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181486
|
-
* @static
|
|
181487
|
-
* @param {IUserMessageProcessMessagesEvent=} [properties] Properties to set
|
|
181488
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent instance
|
|
181489
|
-
*/
|
|
181490
|
-
UserMessageProcessMessagesEvent.create = function create(properties) {
|
|
181491
|
-
return new UserMessageProcessMessagesEvent(properties);
|
|
181492
|
-
};
|
|
181493
|
-
|
|
181494
|
-
/**
|
|
181495
|
-
* Encodes the specified UserMessageProcessMessagesEvent message. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
181496
|
-
* @function encode
|
|
181497
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181498
|
-
* @static
|
|
181499
|
-
* @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
|
|
181500
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181501
|
-
* @returns {$protobuf.Writer} Writer
|
|
181502
|
-
*/
|
|
181503
|
-
UserMessageProcessMessagesEvent.encode = function encode(message, writer) {
|
|
181504
|
-
if (!writer)
|
|
181505
|
-
writer = $Writer.create();
|
|
181506
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181507
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.filePath);
|
|
181508
|
-
return writer;
|
|
181509
|
-
};
|
|
181510
|
-
|
|
181511
|
-
/**
|
|
181512
|
-
* Encodes the specified UserMessageProcessMessagesEvent message, length delimited. Does not implicitly {@link UserMessageProcessMessagesEvent.verify|verify} messages.
|
|
181513
|
-
* @function encodeDelimited
|
|
181514
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181515
|
-
* @static
|
|
181516
|
-
* @param {IUserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent message or plain object to encode
|
|
181517
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
181518
|
-
* @returns {$protobuf.Writer} Writer
|
|
181519
|
-
*/
|
|
181520
|
-
UserMessageProcessMessagesEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
181521
|
-
return this.encode(message, writer).ldelim();
|
|
181522
|
-
};
|
|
181523
|
-
|
|
181524
|
-
/**
|
|
181525
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer.
|
|
181526
|
-
* @function decode
|
|
181527
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181528
|
-
* @static
|
|
181529
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181530
|
-
* @param {number} [length] Message length if known beforehand
|
|
181531
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181532
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181533
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181534
|
-
*/
|
|
181535
|
-
UserMessageProcessMessagesEvent.decode = function decode(reader, length) {
|
|
181536
|
-
if (!(reader instanceof $Reader))
|
|
181537
|
-
reader = $Reader.create(reader);
|
|
181538
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageProcessMessagesEvent();
|
|
181539
|
-
while (reader.pos < end) {
|
|
181540
|
-
var tag = reader.uint32();
|
|
181541
|
-
switch (tag >>> 3) {
|
|
181542
|
-
case 1:
|
|
181543
|
-
message.filePath = reader.string();
|
|
181544
|
-
break;
|
|
181545
|
-
default:
|
|
181546
|
-
reader.skipType(tag & 7);
|
|
181547
|
-
break;
|
|
181548
|
-
}
|
|
181549
|
-
}
|
|
181550
|
-
return message;
|
|
181551
|
-
};
|
|
181552
|
-
|
|
181553
|
-
/**
|
|
181554
|
-
* Decodes a UserMessageProcessMessagesEvent message from the specified reader or buffer, length delimited.
|
|
181555
|
-
* @function decodeDelimited
|
|
181556
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181557
|
-
* @static
|
|
181558
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
181559
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181560
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181561
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
181562
|
-
*/
|
|
181563
|
-
UserMessageProcessMessagesEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
181564
|
-
if (!(reader instanceof $Reader))
|
|
181565
|
-
reader = new $Reader(reader);
|
|
181566
|
-
return this.decode(reader, reader.uint32());
|
|
181567
|
-
};
|
|
181568
|
-
|
|
181569
|
-
/**
|
|
181570
|
-
* Verifies a UserMessageProcessMessagesEvent message.
|
|
181571
|
-
* @function verify
|
|
181572
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181573
|
-
* @static
|
|
181574
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
181575
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
181576
|
-
*/
|
|
181577
|
-
UserMessageProcessMessagesEvent.verify = function verify(message) {
|
|
181578
|
-
if (typeof message !== "object" || message === null)
|
|
181579
|
-
return "object expected";
|
|
181580
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181581
|
-
if (!$util.isString(message.filePath))
|
|
181582
|
-
return "filePath: string expected";
|
|
181583
|
-
return null;
|
|
181584
|
-
};
|
|
181585
|
-
|
|
181586
|
-
/**
|
|
181587
|
-
* Creates a UserMessageProcessMessagesEvent message from a plain object. Also converts values to their respective internal types.
|
|
181588
|
-
* @function fromObject
|
|
181589
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181590
|
-
* @static
|
|
181591
|
-
* @param {Object.<string,*>} object Plain object
|
|
181592
|
-
* @returns {UserMessageProcessMessagesEvent} UserMessageProcessMessagesEvent
|
|
181593
|
-
*/
|
|
181594
|
-
UserMessageProcessMessagesEvent.fromObject = function fromObject(object) {
|
|
181595
|
-
if (object instanceof $root.UserMessageProcessMessagesEvent)
|
|
181596
|
-
return object;
|
|
181597
|
-
var message = new $root.UserMessageProcessMessagesEvent();
|
|
181598
|
-
if (object.filePath != null)
|
|
181599
|
-
message.filePath = String(object.filePath);
|
|
181600
|
-
return message;
|
|
181601
|
-
};
|
|
181602
|
-
|
|
181603
|
-
/**
|
|
181604
|
-
* Creates a plain object from a UserMessageProcessMessagesEvent message. Also converts values to other types if specified.
|
|
181605
|
-
* @function toObject
|
|
181606
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181607
|
-
* @static
|
|
181608
|
-
* @param {UserMessageProcessMessagesEvent} message UserMessageProcessMessagesEvent
|
|
181609
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
181610
|
-
* @returns {Object.<string,*>} Plain object
|
|
181611
|
-
*/
|
|
181612
|
-
UserMessageProcessMessagesEvent.toObject = function toObject(message, options) {
|
|
181613
|
-
if (!options)
|
|
181614
|
-
options = {};
|
|
181615
|
-
var object = {};
|
|
181616
|
-
if (options.defaults)
|
|
181617
|
-
object.filePath = "";
|
|
181618
|
-
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
181619
|
-
object.filePath = message.filePath;
|
|
181620
|
-
return object;
|
|
181621
|
-
};
|
|
181622
|
-
|
|
181623
|
-
/**
|
|
181624
|
-
* Converts this UserMessageProcessMessagesEvent to JSON.
|
|
181625
|
-
* @function toJSON
|
|
181626
|
-
* @memberof UserMessageProcessMessagesEvent
|
|
181627
|
-
* @instance
|
|
181628
|
-
* @returns {Object.<string,*>} JSON object
|
|
181629
|
-
*/
|
|
181630
|
-
UserMessageProcessMessagesEvent.prototype.toJSON = function toJSON() {
|
|
181631
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
181632
|
-
};
|
|
181633
|
-
|
|
181634
|
-
return UserMessageProcessMessagesEvent;
|
|
181635
|
-
})();
|
|
181636
|
-
|
|
181637
180924
|
$root.VirginPulseAccountLinked = (function() {
|
|
181638
180925
|
|
|
181639
180926
|
/**
|
package/package.json
CHANGED