@headspace/protos-events 1.793.0 → 1.795.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 +138 -0
- package/lib/index.js +394 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8709,6 +8709,138 @@ export class AppointmentRatingSubmitted implements IAppointmentRatingSubmitted {
|
|
|
8709
8709
|
public toJSON(): { [k: string]: any };
|
|
8710
8710
|
}
|
|
8711
8711
|
|
|
8712
|
+
/** Properties of a CareProfileUpdated. */
|
|
8713
|
+
export interface ICareProfileUpdated {
|
|
8714
|
+
|
|
8715
|
+
/** CareProfileUpdated careWebUserId */
|
|
8716
|
+
careWebUserId?: (string|null);
|
|
8717
|
+
|
|
8718
|
+
/** CareProfileUpdated hsUserId */
|
|
8719
|
+
hsUserId?: (string|null);
|
|
8720
|
+
|
|
8721
|
+
/** CareProfileUpdated birthDate */
|
|
8722
|
+
birthDate?: (number|Long|null);
|
|
8723
|
+
|
|
8724
|
+
/** CareProfileUpdated preferredFirstName */
|
|
8725
|
+
preferredFirstName?: (string|null);
|
|
8726
|
+
|
|
8727
|
+
/** CareProfileUpdated preferredLastName */
|
|
8728
|
+
preferredLastName?: (string|null);
|
|
8729
|
+
|
|
8730
|
+
/** CareProfileUpdated pronouns */
|
|
8731
|
+
pronouns?: (string|null);
|
|
8732
|
+
|
|
8733
|
+
/** CareProfileUpdated guardianCareWebUserId */
|
|
8734
|
+
guardianCareWebUserId?: (string|null);
|
|
8735
|
+
|
|
8736
|
+
/** CareProfileUpdated preferredLanguage */
|
|
8737
|
+
preferredLanguage?: (string|null);
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8740
|
+
/** Represents a CareProfileUpdated. */
|
|
8741
|
+
export class CareProfileUpdated implements ICareProfileUpdated {
|
|
8742
|
+
|
|
8743
|
+
/**
|
|
8744
|
+
* Constructs a new CareProfileUpdated.
|
|
8745
|
+
* @param [properties] Properties to set
|
|
8746
|
+
*/
|
|
8747
|
+
constructor(properties?: ICareProfileUpdated);
|
|
8748
|
+
|
|
8749
|
+
/** CareProfileUpdated careWebUserId. */
|
|
8750
|
+
public careWebUserId: string;
|
|
8751
|
+
|
|
8752
|
+
/** CareProfileUpdated hsUserId. */
|
|
8753
|
+
public hsUserId: string;
|
|
8754
|
+
|
|
8755
|
+
/** CareProfileUpdated birthDate. */
|
|
8756
|
+
public birthDate: (number|Long);
|
|
8757
|
+
|
|
8758
|
+
/** CareProfileUpdated preferredFirstName. */
|
|
8759
|
+
public preferredFirstName: string;
|
|
8760
|
+
|
|
8761
|
+
/** CareProfileUpdated preferredLastName. */
|
|
8762
|
+
public preferredLastName: string;
|
|
8763
|
+
|
|
8764
|
+
/** CareProfileUpdated pronouns. */
|
|
8765
|
+
public pronouns: string;
|
|
8766
|
+
|
|
8767
|
+
/** CareProfileUpdated guardianCareWebUserId. */
|
|
8768
|
+
public guardianCareWebUserId: string;
|
|
8769
|
+
|
|
8770
|
+
/** CareProfileUpdated preferredLanguage. */
|
|
8771
|
+
public preferredLanguage: string;
|
|
8772
|
+
|
|
8773
|
+
/**
|
|
8774
|
+
* Creates a new CareProfileUpdated instance using the specified properties.
|
|
8775
|
+
* @param [properties] Properties to set
|
|
8776
|
+
* @returns CareProfileUpdated instance
|
|
8777
|
+
*/
|
|
8778
|
+
public static create(properties?: ICareProfileUpdated): CareProfileUpdated;
|
|
8779
|
+
|
|
8780
|
+
/**
|
|
8781
|
+
* Encodes the specified CareProfileUpdated message. Does not implicitly {@link CareProfileUpdated.verify|verify} messages.
|
|
8782
|
+
* @param message CareProfileUpdated message or plain object to encode
|
|
8783
|
+
* @param [writer] Writer to encode to
|
|
8784
|
+
* @returns Writer
|
|
8785
|
+
*/
|
|
8786
|
+
public static encode(message: ICareProfileUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8787
|
+
|
|
8788
|
+
/**
|
|
8789
|
+
* Encodes the specified CareProfileUpdated message, length delimited. Does not implicitly {@link CareProfileUpdated.verify|verify} messages.
|
|
8790
|
+
* @param message CareProfileUpdated message or plain object to encode
|
|
8791
|
+
* @param [writer] Writer to encode to
|
|
8792
|
+
* @returns Writer
|
|
8793
|
+
*/
|
|
8794
|
+
public static encodeDelimited(message: ICareProfileUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8795
|
+
|
|
8796
|
+
/**
|
|
8797
|
+
* Decodes a CareProfileUpdated message from the specified reader or buffer.
|
|
8798
|
+
* @param reader Reader or buffer to decode from
|
|
8799
|
+
* @param [length] Message length if known beforehand
|
|
8800
|
+
* @returns CareProfileUpdated
|
|
8801
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8802
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8803
|
+
*/
|
|
8804
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareProfileUpdated;
|
|
8805
|
+
|
|
8806
|
+
/**
|
|
8807
|
+
* Decodes a CareProfileUpdated message from the specified reader or buffer, length delimited.
|
|
8808
|
+
* @param reader Reader or buffer to decode from
|
|
8809
|
+
* @returns CareProfileUpdated
|
|
8810
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8811
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8812
|
+
*/
|
|
8813
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareProfileUpdated;
|
|
8814
|
+
|
|
8815
|
+
/**
|
|
8816
|
+
* Verifies a CareProfileUpdated message.
|
|
8817
|
+
* @param message Plain object to verify
|
|
8818
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8819
|
+
*/
|
|
8820
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8821
|
+
|
|
8822
|
+
/**
|
|
8823
|
+
* Creates a CareProfileUpdated message from a plain object. Also converts values to their respective internal types.
|
|
8824
|
+
* @param object Plain object
|
|
8825
|
+
* @returns CareProfileUpdated
|
|
8826
|
+
*/
|
|
8827
|
+
public static fromObject(object: { [k: string]: any }): CareProfileUpdated;
|
|
8828
|
+
|
|
8829
|
+
/**
|
|
8830
|
+
* Creates a plain object from a CareProfileUpdated message. Also converts values to other types if specified.
|
|
8831
|
+
* @param message CareProfileUpdated
|
|
8832
|
+
* @param [options] Conversion options
|
|
8833
|
+
* @returns Plain object
|
|
8834
|
+
*/
|
|
8835
|
+
public static toObject(message: CareProfileUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8836
|
+
|
|
8837
|
+
/**
|
|
8838
|
+
* Converts this CareProfileUpdated to JSON.
|
|
8839
|
+
* @returns JSON object
|
|
8840
|
+
*/
|
|
8841
|
+
public toJSON(): { [k: string]: any };
|
|
8842
|
+
}
|
|
8843
|
+
|
|
8712
8844
|
/** Properties of an EventDetail. */
|
|
8713
8845
|
export interface IEventDetail {
|
|
8714
8846
|
|
|
@@ -36898,6 +37030,9 @@ export interface IBrazeProxyAppleHapticNotificationSent {
|
|
|
36898
37030
|
|
|
36899
37031
|
/** BrazeProxyAppleHapticNotificationSent hsUserId */
|
|
36900
37032
|
hsUserId?: (string|null);
|
|
37033
|
+
|
|
37034
|
+
/** BrazeProxyAppleHapticNotificationSent timestamp */
|
|
37035
|
+
timestamp?: (number|Long|null);
|
|
36901
37036
|
}
|
|
36902
37037
|
|
|
36903
37038
|
/**
|
|
@@ -36916,6 +37051,9 @@ export class BrazeProxyAppleHapticNotificationSent implements IBrazeProxyAppleHa
|
|
|
36916
37051
|
/** BrazeProxyAppleHapticNotificationSent hsUserId. */
|
|
36917
37052
|
public hsUserId: string;
|
|
36918
37053
|
|
|
37054
|
+
/** BrazeProxyAppleHapticNotificationSent timestamp. */
|
|
37055
|
+
public timestamp: (number|Long);
|
|
37056
|
+
|
|
36919
37057
|
/**
|
|
36920
37058
|
* Creates a new BrazeProxyAppleHapticNotificationSent instance using the specified properties.
|
|
36921
37059
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -25470,6 +25470,362 @@ $root.AppointmentRatingSubmitted = (function() {
|
|
|
25470
25470
|
return AppointmentRatingSubmitted;
|
|
25471
25471
|
})();
|
|
25472
25472
|
|
|
25473
|
+
$root.CareProfileUpdated = (function() {
|
|
25474
|
+
|
|
25475
|
+
/**
|
|
25476
|
+
* Properties of a CareProfileUpdated.
|
|
25477
|
+
* @name ICareProfileUpdated
|
|
25478
|
+
* @interface ICareProfileUpdated
|
|
25479
|
+
* @property {string|null} [careWebUserId] CareProfileUpdated careWebUserId
|
|
25480
|
+
* @property {string|null} [hsUserId] CareProfileUpdated hsUserId
|
|
25481
|
+
* @property {number|Long|null} [birthDate] CareProfileUpdated birthDate
|
|
25482
|
+
* @property {string|null} [preferredFirstName] CareProfileUpdated preferredFirstName
|
|
25483
|
+
* @property {string|null} [preferredLastName] CareProfileUpdated preferredLastName
|
|
25484
|
+
* @property {string|null} [pronouns] CareProfileUpdated pronouns
|
|
25485
|
+
* @property {string|null} [guardianCareWebUserId] CareProfileUpdated guardianCareWebUserId
|
|
25486
|
+
* @property {string|null} [preferredLanguage] CareProfileUpdated preferredLanguage
|
|
25487
|
+
*/
|
|
25488
|
+
|
|
25489
|
+
/**
|
|
25490
|
+
* Constructs a new CareProfileUpdated.
|
|
25491
|
+
* @name CareProfileUpdated
|
|
25492
|
+
* @classdesc Represents a CareProfileUpdated.
|
|
25493
|
+
* @implements ICareProfileUpdated
|
|
25494
|
+
* @constructor
|
|
25495
|
+
* @param {ICareProfileUpdated=} [properties] Properties to set
|
|
25496
|
+
*/
|
|
25497
|
+
function CareProfileUpdated(properties) {
|
|
25498
|
+
if (properties)
|
|
25499
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25500
|
+
if (properties[keys[i]] != null)
|
|
25501
|
+
this[keys[i]] = properties[keys[i]];
|
|
25502
|
+
}
|
|
25503
|
+
|
|
25504
|
+
/**
|
|
25505
|
+
* CareProfileUpdated careWebUserId.
|
|
25506
|
+
* @member {string} careWebUserId
|
|
25507
|
+
* @memberof CareProfileUpdated
|
|
25508
|
+
* @instance
|
|
25509
|
+
*/
|
|
25510
|
+
CareProfileUpdated.prototype.careWebUserId = "";
|
|
25511
|
+
|
|
25512
|
+
/**
|
|
25513
|
+
* CareProfileUpdated hsUserId.
|
|
25514
|
+
* @member {string} hsUserId
|
|
25515
|
+
* @memberof CareProfileUpdated
|
|
25516
|
+
* @instance
|
|
25517
|
+
*/
|
|
25518
|
+
CareProfileUpdated.prototype.hsUserId = "";
|
|
25519
|
+
|
|
25520
|
+
/**
|
|
25521
|
+
* CareProfileUpdated birthDate.
|
|
25522
|
+
* @member {number|Long} birthDate
|
|
25523
|
+
* @memberof CareProfileUpdated
|
|
25524
|
+
* @instance
|
|
25525
|
+
*/
|
|
25526
|
+
CareProfileUpdated.prototype.birthDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
25527
|
+
|
|
25528
|
+
/**
|
|
25529
|
+
* CareProfileUpdated preferredFirstName.
|
|
25530
|
+
* @member {string} preferredFirstName
|
|
25531
|
+
* @memberof CareProfileUpdated
|
|
25532
|
+
* @instance
|
|
25533
|
+
*/
|
|
25534
|
+
CareProfileUpdated.prototype.preferredFirstName = "";
|
|
25535
|
+
|
|
25536
|
+
/**
|
|
25537
|
+
* CareProfileUpdated preferredLastName.
|
|
25538
|
+
* @member {string} preferredLastName
|
|
25539
|
+
* @memberof CareProfileUpdated
|
|
25540
|
+
* @instance
|
|
25541
|
+
*/
|
|
25542
|
+
CareProfileUpdated.prototype.preferredLastName = "";
|
|
25543
|
+
|
|
25544
|
+
/**
|
|
25545
|
+
* CareProfileUpdated pronouns.
|
|
25546
|
+
* @member {string} pronouns
|
|
25547
|
+
* @memberof CareProfileUpdated
|
|
25548
|
+
* @instance
|
|
25549
|
+
*/
|
|
25550
|
+
CareProfileUpdated.prototype.pronouns = "";
|
|
25551
|
+
|
|
25552
|
+
/**
|
|
25553
|
+
* CareProfileUpdated guardianCareWebUserId.
|
|
25554
|
+
* @member {string} guardianCareWebUserId
|
|
25555
|
+
* @memberof CareProfileUpdated
|
|
25556
|
+
* @instance
|
|
25557
|
+
*/
|
|
25558
|
+
CareProfileUpdated.prototype.guardianCareWebUserId = "";
|
|
25559
|
+
|
|
25560
|
+
/**
|
|
25561
|
+
* CareProfileUpdated preferredLanguage.
|
|
25562
|
+
* @member {string} preferredLanguage
|
|
25563
|
+
* @memberof CareProfileUpdated
|
|
25564
|
+
* @instance
|
|
25565
|
+
*/
|
|
25566
|
+
CareProfileUpdated.prototype.preferredLanguage = "";
|
|
25567
|
+
|
|
25568
|
+
/**
|
|
25569
|
+
* Creates a new CareProfileUpdated instance using the specified properties.
|
|
25570
|
+
* @function create
|
|
25571
|
+
* @memberof CareProfileUpdated
|
|
25572
|
+
* @static
|
|
25573
|
+
* @param {ICareProfileUpdated=} [properties] Properties to set
|
|
25574
|
+
* @returns {CareProfileUpdated} CareProfileUpdated instance
|
|
25575
|
+
*/
|
|
25576
|
+
CareProfileUpdated.create = function create(properties) {
|
|
25577
|
+
return new CareProfileUpdated(properties);
|
|
25578
|
+
};
|
|
25579
|
+
|
|
25580
|
+
/**
|
|
25581
|
+
* Encodes the specified CareProfileUpdated message. Does not implicitly {@link CareProfileUpdated.verify|verify} messages.
|
|
25582
|
+
* @function encode
|
|
25583
|
+
* @memberof CareProfileUpdated
|
|
25584
|
+
* @static
|
|
25585
|
+
* @param {ICareProfileUpdated} message CareProfileUpdated message or plain object to encode
|
|
25586
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25587
|
+
* @returns {$protobuf.Writer} Writer
|
|
25588
|
+
*/
|
|
25589
|
+
CareProfileUpdated.encode = function encode(message, writer) {
|
|
25590
|
+
if (!writer)
|
|
25591
|
+
writer = $Writer.create();
|
|
25592
|
+
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
25593
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.careWebUserId);
|
|
25594
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
25595
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
25596
|
+
if (message.birthDate != null && message.hasOwnProperty("birthDate"))
|
|
25597
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.birthDate);
|
|
25598
|
+
if (message.preferredFirstName != null && message.hasOwnProperty("preferredFirstName"))
|
|
25599
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.preferredFirstName);
|
|
25600
|
+
if (message.preferredLastName != null && message.hasOwnProperty("preferredLastName"))
|
|
25601
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.preferredLastName);
|
|
25602
|
+
if (message.pronouns != null && message.hasOwnProperty("pronouns"))
|
|
25603
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.pronouns);
|
|
25604
|
+
if (message.guardianCareWebUserId != null && message.hasOwnProperty("guardianCareWebUserId"))
|
|
25605
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.guardianCareWebUserId);
|
|
25606
|
+
if (message.preferredLanguage != null && message.hasOwnProperty("preferredLanguage"))
|
|
25607
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.preferredLanguage);
|
|
25608
|
+
return writer;
|
|
25609
|
+
};
|
|
25610
|
+
|
|
25611
|
+
/**
|
|
25612
|
+
* Encodes the specified CareProfileUpdated message, length delimited. Does not implicitly {@link CareProfileUpdated.verify|verify} messages.
|
|
25613
|
+
* @function encodeDelimited
|
|
25614
|
+
* @memberof CareProfileUpdated
|
|
25615
|
+
* @static
|
|
25616
|
+
* @param {ICareProfileUpdated} message CareProfileUpdated message or plain object to encode
|
|
25617
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25618
|
+
* @returns {$protobuf.Writer} Writer
|
|
25619
|
+
*/
|
|
25620
|
+
CareProfileUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25621
|
+
return this.encode(message, writer).ldelim();
|
|
25622
|
+
};
|
|
25623
|
+
|
|
25624
|
+
/**
|
|
25625
|
+
* Decodes a CareProfileUpdated message from the specified reader or buffer.
|
|
25626
|
+
* @function decode
|
|
25627
|
+
* @memberof CareProfileUpdated
|
|
25628
|
+
* @static
|
|
25629
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25630
|
+
* @param {number} [length] Message length if known beforehand
|
|
25631
|
+
* @returns {CareProfileUpdated} CareProfileUpdated
|
|
25632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25634
|
+
*/
|
|
25635
|
+
CareProfileUpdated.decode = function decode(reader, length) {
|
|
25636
|
+
if (!(reader instanceof $Reader))
|
|
25637
|
+
reader = $Reader.create(reader);
|
|
25638
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.CareProfileUpdated();
|
|
25639
|
+
while (reader.pos < end) {
|
|
25640
|
+
var tag = reader.uint32();
|
|
25641
|
+
switch (tag >>> 3) {
|
|
25642
|
+
case 1:
|
|
25643
|
+
message.careWebUserId = reader.string();
|
|
25644
|
+
break;
|
|
25645
|
+
case 2:
|
|
25646
|
+
message.hsUserId = reader.string();
|
|
25647
|
+
break;
|
|
25648
|
+
case 3:
|
|
25649
|
+
message.birthDate = reader.uint64();
|
|
25650
|
+
break;
|
|
25651
|
+
case 4:
|
|
25652
|
+
message.preferredFirstName = reader.string();
|
|
25653
|
+
break;
|
|
25654
|
+
case 5:
|
|
25655
|
+
message.preferredLastName = reader.string();
|
|
25656
|
+
break;
|
|
25657
|
+
case 6:
|
|
25658
|
+
message.pronouns = reader.string();
|
|
25659
|
+
break;
|
|
25660
|
+
case 7:
|
|
25661
|
+
message.guardianCareWebUserId = reader.string();
|
|
25662
|
+
break;
|
|
25663
|
+
case 8:
|
|
25664
|
+
message.preferredLanguage = reader.string();
|
|
25665
|
+
break;
|
|
25666
|
+
default:
|
|
25667
|
+
reader.skipType(tag & 7);
|
|
25668
|
+
break;
|
|
25669
|
+
}
|
|
25670
|
+
}
|
|
25671
|
+
return message;
|
|
25672
|
+
};
|
|
25673
|
+
|
|
25674
|
+
/**
|
|
25675
|
+
* Decodes a CareProfileUpdated message from the specified reader or buffer, length delimited.
|
|
25676
|
+
* @function decodeDelimited
|
|
25677
|
+
* @memberof CareProfileUpdated
|
|
25678
|
+
* @static
|
|
25679
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25680
|
+
* @returns {CareProfileUpdated} CareProfileUpdated
|
|
25681
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25682
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25683
|
+
*/
|
|
25684
|
+
CareProfileUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
25685
|
+
if (!(reader instanceof $Reader))
|
|
25686
|
+
reader = new $Reader(reader);
|
|
25687
|
+
return this.decode(reader, reader.uint32());
|
|
25688
|
+
};
|
|
25689
|
+
|
|
25690
|
+
/**
|
|
25691
|
+
* Verifies a CareProfileUpdated message.
|
|
25692
|
+
* @function verify
|
|
25693
|
+
* @memberof CareProfileUpdated
|
|
25694
|
+
* @static
|
|
25695
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
25696
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25697
|
+
*/
|
|
25698
|
+
CareProfileUpdated.verify = function verify(message) {
|
|
25699
|
+
if (typeof message !== "object" || message === null)
|
|
25700
|
+
return "object expected";
|
|
25701
|
+
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
25702
|
+
if (!$util.isString(message.careWebUserId))
|
|
25703
|
+
return "careWebUserId: string expected";
|
|
25704
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
25705
|
+
if (!$util.isString(message.hsUserId))
|
|
25706
|
+
return "hsUserId: string expected";
|
|
25707
|
+
if (message.birthDate != null && message.hasOwnProperty("birthDate"))
|
|
25708
|
+
if (!$util.isInteger(message.birthDate) && !(message.birthDate && $util.isInteger(message.birthDate.low) && $util.isInteger(message.birthDate.high)))
|
|
25709
|
+
return "birthDate: integer|Long expected";
|
|
25710
|
+
if (message.preferredFirstName != null && message.hasOwnProperty("preferredFirstName"))
|
|
25711
|
+
if (!$util.isString(message.preferredFirstName))
|
|
25712
|
+
return "preferredFirstName: string expected";
|
|
25713
|
+
if (message.preferredLastName != null && message.hasOwnProperty("preferredLastName"))
|
|
25714
|
+
if (!$util.isString(message.preferredLastName))
|
|
25715
|
+
return "preferredLastName: string expected";
|
|
25716
|
+
if (message.pronouns != null && message.hasOwnProperty("pronouns"))
|
|
25717
|
+
if (!$util.isString(message.pronouns))
|
|
25718
|
+
return "pronouns: string expected";
|
|
25719
|
+
if (message.guardianCareWebUserId != null && message.hasOwnProperty("guardianCareWebUserId"))
|
|
25720
|
+
if (!$util.isString(message.guardianCareWebUserId))
|
|
25721
|
+
return "guardianCareWebUserId: string expected";
|
|
25722
|
+
if (message.preferredLanguage != null && message.hasOwnProperty("preferredLanguage"))
|
|
25723
|
+
if (!$util.isString(message.preferredLanguage))
|
|
25724
|
+
return "preferredLanguage: string expected";
|
|
25725
|
+
return null;
|
|
25726
|
+
};
|
|
25727
|
+
|
|
25728
|
+
/**
|
|
25729
|
+
* Creates a CareProfileUpdated message from a plain object. Also converts values to their respective internal types.
|
|
25730
|
+
* @function fromObject
|
|
25731
|
+
* @memberof CareProfileUpdated
|
|
25732
|
+
* @static
|
|
25733
|
+
* @param {Object.<string,*>} object Plain object
|
|
25734
|
+
* @returns {CareProfileUpdated} CareProfileUpdated
|
|
25735
|
+
*/
|
|
25736
|
+
CareProfileUpdated.fromObject = function fromObject(object) {
|
|
25737
|
+
if (object instanceof $root.CareProfileUpdated)
|
|
25738
|
+
return object;
|
|
25739
|
+
var message = new $root.CareProfileUpdated();
|
|
25740
|
+
if (object.careWebUserId != null)
|
|
25741
|
+
message.careWebUserId = String(object.careWebUserId);
|
|
25742
|
+
if (object.hsUserId != null)
|
|
25743
|
+
message.hsUserId = String(object.hsUserId);
|
|
25744
|
+
if (object.birthDate != null)
|
|
25745
|
+
if ($util.Long)
|
|
25746
|
+
(message.birthDate = $util.Long.fromValue(object.birthDate)).unsigned = true;
|
|
25747
|
+
else if (typeof object.birthDate === "string")
|
|
25748
|
+
message.birthDate = parseInt(object.birthDate, 10);
|
|
25749
|
+
else if (typeof object.birthDate === "number")
|
|
25750
|
+
message.birthDate = object.birthDate;
|
|
25751
|
+
else if (typeof object.birthDate === "object")
|
|
25752
|
+
message.birthDate = new $util.LongBits(object.birthDate.low >>> 0, object.birthDate.high >>> 0).toNumber(true);
|
|
25753
|
+
if (object.preferredFirstName != null)
|
|
25754
|
+
message.preferredFirstName = String(object.preferredFirstName);
|
|
25755
|
+
if (object.preferredLastName != null)
|
|
25756
|
+
message.preferredLastName = String(object.preferredLastName);
|
|
25757
|
+
if (object.pronouns != null)
|
|
25758
|
+
message.pronouns = String(object.pronouns);
|
|
25759
|
+
if (object.guardianCareWebUserId != null)
|
|
25760
|
+
message.guardianCareWebUserId = String(object.guardianCareWebUserId);
|
|
25761
|
+
if (object.preferredLanguage != null)
|
|
25762
|
+
message.preferredLanguage = String(object.preferredLanguage);
|
|
25763
|
+
return message;
|
|
25764
|
+
};
|
|
25765
|
+
|
|
25766
|
+
/**
|
|
25767
|
+
* Creates a plain object from a CareProfileUpdated message. Also converts values to other types if specified.
|
|
25768
|
+
* @function toObject
|
|
25769
|
+
* @memberof CareProfileUpdated
|
|
25770
|
+
* @static
|
|
25771
|
+
* @param {CareProfileUpdated} message CareProfileUpdated
|
|
25772
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
25773
|
+
* @returns {Object.<string,*>} Plain object
|
|
25774
|
+
*/
|
|
25775
|
+
CareProfileUpdated.toObject = function toObject(message, options) {
|
|
25776
|
+
if (!options)
|
|
25777
|
+
options = {};
|
|
25778
|
+
var object = {};
|
|
25779
|
+
if (options.defaults) {
|
|
25780
|
+
object.careWebUserId = "";
|
|
25781
|
+
object.hsUserId = "";
|
|
25782
|
+
if ($util.Long) {
|
|
25783
|
+
var long = new $util.Long(0, 0, true);
|
|
25784
|
+
object.birthDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
25785
|
+
} else
|
|
25786
|
+
object.birthDate = options.longs === String ? "0" : 0;
|
|
25787
|
+
object.preferredFirstName = "";
|
|
25788
|
+
object.preferredLastName = "";
|
|
25789
|
+
object.pronouns = "";
|
|
25790
|
+
object.guardianCareWebUserId = "";
|
|
25791
|
+
object.preferredLanguage = "";
|
|
25792
|
+
}
|
|
25793
|
+
if (message.careWebUserId != null && message.hasOwnProperty("careWebUserId"))
|
|
25794
|
+
object.careWebUserId = message.careWebUserId;
|
|
25795
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
25796
|
+
object.hsUserId = message.hsUserId;
|
|
25797
|
+
if (message.birthDate != null && message.hasOwnProperty("birthDate"))
|
|
25798
|
+
if (typeof message.birthDate === "number")
|
|
25799
|
+
object.birthDate = options.longs === String ? String(message.birthDate) : message.birthDate;
|
|
25800
|
+
else
|
|
25801
|
+
object.birthDate = options.longs === String ? $util.Long.prototype.toString.call(message.birthDate) : options.longs === Number ? new $util.LongBits(message.birthDate.low >>> 0, message.birthDate.high >>> 0).toNumber(true) : message.birthDate;
|
|
25802
|
+
if (message.preferredFirstName != null && message.hasOwnProperty("preferredFirstName"))
|
|
25803
|
+
object.preferredFirstName = message.preferredFirstName;
|
|
25804
|
+
if (message.preferredLastName != null && message.hasOwnProperty("preferredLastName"))
|
|
25805
|
+
object.preferredLastName = message.preferredLastName;
|
|
25806
|
+
if (message.pronouns != null && message.hasOwnProperty("pronouns"))
|
|
25807
|
+
object.pronouns = message.pronouns;
|
|
25808
|
+
if (message.guardianCareWebUserId != null && message.hasOwnProperty("guardianCareWebUserId"))
|
|
25809
|
+
object.guardianCareWebUserId = message.guardianCareWebUserId;
|
|
25810
|
+
if (message.preferredLanguage != null && message.hasOwnProperty("preferredLanguage"))
|
|
25811
|
+
object.preferredLanguage = message.preferredLanguage;
|
|
25812
|
+
return object;
|
|
25813
|
+
};
|
|
25814
|
+
|
|
25815
|
+
/**
|
|
25816
|
+
* Converts this CareProfileUpdated to JSON.
|
|
25817
|
+
* @function toJSON
|
|
25818
|
+
* @memberof CareProfileUpdated
|
|
25819
|
+
* @instance
|
|
25820
|
+
* @returns {Object.<string,*>} JSON object
|
|
25821
|
+
*/
|
|
25822
|
+
CareProfileUpdated.prototype.toJSON = function toJSON() {
|
|
25823
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
25824
|
+
};
|
|
25825
|
+
|
|
25826
|
+
return CareProfileUpdated;
|
|
25827
|
+
})();
|
|
25828
|
+
|
|
25473
25829
|
$root.EventDetail = (function() {
|
|
25474
25830
|
|
|
25475
25831
|
/**
|
|
@@ -103867,6 +104223,7 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103867
104223
|
* @name IBrazeProxyAppleHapticNotificationSent
|
|
103868
104224
|
* @interface IBrazeProxyAppleHapticNotificationSent
|
|
103869
104225
|
* @property {string|null} [hsUserId] BrazeProxyAppleHapticNotificationSent hsUserId
|
|
104226
|
+
* @property {number|Long|null} [timestamp] BrazeProxyAppleHapticNotificationSent timestamp
|
|
103870
104227
|
*/
|
|
103871
104228
|
|
|
103872
104229
|
/**
|
|
@@ -103896,6 +104253,14 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103896
104253
|
*/
|
|
103897
104254
|
BrazeProxyAppleHapticNotificationSent.prototype.hsUserId = "";
|
|
103898
104255
|
|
|
104256
|
+
/**
|
|
104257
|
+
* BrazeProxyAppleHapticNotificationSent timestamp.
|
|
104258
|
+
* @member {number|Long} timestamp
|
|
104259
|
+
* @memberof BrazeProxyAppleHapticNotificationSent
|
|
104260
|
+
* @instance
|
|
104261
|
+
*/
|
|
104262
|
+
BrazeProxyAppleHapticNotificationSent.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
104263
|
+
|
|
103899
104264
|
/**
|
|
103900
104265
|
* Creates a new BrazeProxyAppleHapticNotificationSent instance using the specified properties.
|
|
103901
104266
|
* @function create
|
|
@@ -103922,6 +104287,8 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103922
104287
|
writer = $Writer.create();
|
|
103923
104288
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103924
104289
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
104290
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
104291
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
103925
104292
|
return writer;
|
|
103926
104293
|
};
|
|
103927
104294
|
|
|
@@ -103959,6 +104326,9 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103959
104326
|
case 1:
|
|
103960
104327
|
message.hsUserId = reader.string();
|
|
103961
104328
|
break;
|
|
104329
|
+
case 2:
|
|
104330
|
+
message.timestamp = reader.uint64();
|
|
104331
|
+
break;
|
|
103962
104332
|
default:
|
|
103963
104333
|
reader.skipType(tag & 7);
|
|
103964
104334
|
break;
|
|
@@ -103997,6 +104367,9 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
103997
104367
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103998
104368
|
if (!$util.isString(message.hsUserId))
|
|
103999
104369
|
return "hsUserId: string expected";
|
|
104370
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
104371
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
104372
|
+
return "timestamp: integer|Long expected";
|
|
104000
104373
|
return null;
|
|
104001
104374
|
};
|
|
104002
104375
|
|
|
@@ -104014,6 +104387,15 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
104014
104387
|
var message = new $root.BrazeProxyAppleHapticNotificationSent();
|
|
104015
104388
|
if (object.hsUserId != null)
|
|
104016
104389
|
message.hsUserId = String(object.hsUserId);
|
|
104390
|
+
if (object.timestamp != null)
|
|
104391
|
+
if ($util.Long)
|
|
104392
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
104393
|
+
else if (typeof object.timestamp === "string")
|
|
104394
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
104395
|
+
else if (typeof object.timestamp === "number")
|
|
104396
|
+
message.timestamp = object.timestamp;
|
|
104397
|
+
else if (typeof object.timestamp === "object")
|
|
104398
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
104017
104399
|
return message;
|
|
104018
104400
|
};
|
|
104019
104401
|
|
|
@@ -104030,10 +104412,21 @@ $root.BrazeProxyAppleHapticNotificationSent = (function() {
|
|
|
104030
104412
|
if (!options)
|
|
104031
104413
|
options = {};
|
|
104032
104414
|
var object = {};
|
|
104033
|
-
if (options.defaults)
|
|
104415
|
+
if (options.defaults) {
|
|
104034
104416
|
object.hsUserId = "";
|
|
104417
|
+
if ($util.Long) {
|
|
104418
|
+
var long = new $util.Long(0, 0, true);
|
|
104419
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
104420
|
+
} else
|
|
104421
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
104422
|
+
}
|
|
104035
104423
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
104036
104424
|
object.hsUserId = message.hsUserId;
|
|
104425
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
104426
|
+
if (typeof message.timestamp === "number")
|
|
104427
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
104428
|
+
else
|
|
104429
|
+
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;
|
|
104037
104430
|
return object;
|
|
104038
104431
|
};
|
|
104039
104432
|
|
package/package.json
CHANGED