@headspace/protos-events 1.689.0 → 1.691.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 +120 -0
- package/lib/index.js +345 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4827,6 +4827,114 @@ export class ClinicalAppointmentCancelled implements IClinicalAppointmentCancell
|
|
|
4827
4827
|
public toJSON(): { [k: string]: any };
|
|
4828
4828
|
}
|
|
4829
4829
|
|
|
4830
|
+
/** Properties of a ClinicalAppointmentReminderSent. */
|
|
4831
|
+
export interface IClinicalAppointmentReminderSent {
|
|
4832
|
+
|
|
4833
|
+
/** ClinicalAppointmentReminderSent clinicalAppointment */
|
|
4834
|
+
clinicalAppointment?: (IClinicalAppointment|null);
|
|
4835
|
+
|
|
4836
|
+
/** ClinicalAppointmentReminderSent timestamp */
|
|
4837
|
+
timestamp?: (number|Long|null);
|
|
4838
|
+
|
|
4839
|
+
/** ClinicalAppointmentReminderSent minutesBefore */
|
|
4840
|
+
minutesBefore?: (number|null);
|
|
4841
|
+
|
|
4842
|
+
/** ClinicalAppointmentReminderSent title */
|
|
4843
|
+
title?: (string|null);
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4846
|
+
/** Represents a ClinicalAppointmentReminderSent. */
|
|
4847
|
+
export class ClinicalAppointmentReminderSent implements IClinicalAppointmentReminderSent {
|
|
4848
|
+
|
|
4849
|
+
/**
|
|
4850
|
+
* Constructs a new ClinicalAppointmentReminderSent.
|
|
4851
|
+
* @param [properties] Properties to set
|
|
4852
|
+
*/
|
|
4853
|
+
constructor(properties?: IClinicalAppointmentReminderSent);
|
|
4854
|
+
|
|
4855
|
+
/** ClinicalAppointmentReminderSent clinicalAppointment. */
|
|
4856
|
+
public clinicalAppointment?: (IClinicalAppointment|null);
|
|
4857
|
+
|
|
4858
|
+
/** ClinicalAppointmentReminderSent timestamp. */
|
|
4859
|
+
public timestamp: (number|Long);
|
|
4860
|
+
|
|
4861
|
+
/** ClinicalAppointmentReminderSent minutesBefore. */
|
|
4862
|
+
public minutesBefore: number;
|
|
4863
|
+
|
|
4864
|
+
/** ClinicalAppointmentReminderSent title. */
|
|
4865
|
+
public title: string;
|
|
4866
|
+
|
|
4867
|
+
/**
|
|
4868
|
+
* Creates a new ClinicalAppointmentReminderSent instance using the specified properties.
|
|
4869
|
+
* @param [properties] Properties to set
|
|
4870
|
+
* @returns ClinicalAppointmentReminderSent instance
|
|
4871
|
+
*/
|
|
4872
|
+
public static create(properties?: IClinicalAppointmentReminderSent): ClinicalAppointmentReminderSent;
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* Encodes the specified ClinicalAppointmentReminderSent message. Does not implicitly {@link ClinicalAppointmentReminderSent.verify|verify} messages.
|
|
4876
|
+
* @param message ClinicalAppointmentReminderSent message or plain object to encode
|
|
4877
|
+
* @param [writer] Writer to encode to
|
|
4878
|
+
* @returns Writer
|
|
4879
|
+
*/
|
|
4880
|
+
public static encode(message: IClinicalAppointmentReminderSent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4881
|
+
|
|
4882
|
+
/**
|
|
4883
|
+
* Encodes the specified ClinicalAppointmentReminderSent message, length delimited. Does not implicitly {@link ClinicalAppointmentReminderSent.verify|verify} messages.
|
|
4884
|
+
* @param message ClinicalAppointmentReminderSent message or plain object to encode
|
|
4885
|
+
* @param [writer] Writer to encode to
|
|
4886
|
+
* @returns Writer
|
|
4887
|
+
*/
|
|
4888
|
+
public static encodeDelimited(message: IClinicalAppointmentReminderSent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* Decodes a ClinicalAppointmentReminderSent message from the specified reader or buffer.
|
|
4892
|
+
* @param reader Reader or buffer to decode from
|
|
4893
|
+
* @param [length] Message length if known beforehand
|
|
4894
|
+
* @returns ClinicalAppointmentReminderSent
|
|
4895
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4896
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4897
|
+
*/
|
|
4898
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalAppointmentReminderSent;
|
|
4899
|
+
|
|
4900
|
+
/**
|
|
4901
|
+
* Decodes a ClinicalAppointmentReminderSent message from the specified reader or buffer, length delimited.
|
|
4902
|
+
* @param reader Reader or buffer to decode from
|
|
4903
|
+
* @returns ClinicalAppointmentReminderSent
|
|
4904
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4905
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4906
|
+
*/
|
|
4907
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalAppointmentReminderSent;
|
|
4908
|
+
|
|
4909
|
+
/**
|
|
4910
|
+
* Verifies a ClinicalAppointmentReminderSent message.
|
|
4911
|
+
* @param message Plain object to verify
|
|
4912
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4913
|
+
*/
|
|
4914
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4915
|
+
|
|
4916
|
+
/**
|
|
4917
|
+
* Creates a ClinicalAppointmentReminderSent message from a plain object. Also converts values to their respective internal types.
|
|
4918
|
+
* @param object Plain object
|
|
4919
|
+
* @returns ClinicalAppointmentReminderSent
|
|
4920
|
+
*/
|
|
4921
|
+
public static fromObject(object: { [k: string]: any }): ClinicalAppointmentReminderSent;
|
|
4922
|
+
|
|
4923
|
+
/**
|
|
4924
|
+
* Creates a plain object from a ClinicalAppointmentReminderSent message. Also converts values to other types if specified.
|
|
4925
|
+
* @param message ClinicalAppointmentReminderSent
|
|
4926
|
+
* @param [options] Conversion options
|
|
4927
|
+
* @returns Plain object
|
|
4928
|
+
*/
|
|
4929
|
+
public static toObject(message: ClinicalAppointmentReminderSent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4930
|
+
|
|
4931
|
+
/**
|
|
4932
|
+
* Converts this ClinicalAppointmentReminderSent to JSON.
|
|
4933
|
+
* @returns JSON object
|
|
4934
|
+
*/
|
|
4935
|
+
public toJSON(): { [k: string]: any };
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4830
4938
|
/** ClinicalAppointmentNoteLocation enum. */
|
|
4831
4939
|
export enum ClinicalAppointmentNoteLocation {
|
|
4832
4940
|
CLINICAL_APPOINTMENT_NOTE_LOCATION_UNKNOWN = 0,
|
|
@@ -58492,6 +58600,12 @@ export namespace coaching {
|
|
|
58492
58600
|
|
|
58493
58601
|
/** The medium format of the session. */
|
|
58494
58602
|
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
58603
|
+
|
|
58604
|
+
/** ScheduledCoachingSession engagedAt */
|
|
58605
|
+
engagedAt?: (number|Long|null);
|
|
58606
|
+
|
|
58607
|
+
/** ScheduledCoachingSession closedAt */
|
|
58608
|
+
closedAt?: (number|Long|null);
|
|
58495
58609
|
}
|
|
58496
58610
|
|
|
58497
58611
|
/**
|
|
@@ -58566,6 +58680,12 @@ export namespace coaching {
|
|
|
58566
58680
|
/** The medium format of the session. */
|
|
58567
58681
|
public sessionFormat: coaching.CoachingSessionFormat;
|
|
58568
58682
|
|
|
58683
|
+
/** ScheduledCoachingSession engagedAt. */
|
|
58684
|
+
public engagedAt: (number|Long);
|
|
58685
|
+
|
|
58686
|
+
/** ScheduledCoachingSession closedAt. */
|
|
58687
|
+
public closedAt: (number|Long);
|
|
58688
|
+
|
|
58569
58689
|
/**
|
|
58570
58690
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
58571
58691
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -14902,6 +14902,279 @@ $root.ClinicalAppointmentCancelled = (function() {
|
|
|
14902
14902
|
return ClinicalAppointmentCancelled;
|
|
14903
14903
|
})();
|
|
14904
14904
|
|
|
14905
|
+
$root.ClinicalAppointmentReminderSent = (function() {
|
|
14906
|
+
|
|
14907
|
+
/**
|
|
14908
|
+
* Properties of a ClinicalAppointmentReminderSent.
|
|
14909
|
+
* @name IClinicalAppointmentReminderSent
|
|
14910
|
+
* @interface IClinicalAppointmentReminderSent
|
|
14911
|
+
* @property {IClinicalAppointment|null} [clinicalAppointment] ClinicalAppointmentReminderSent clinicalAppointment
|
|
14912
|
+
* @property {number|Long|null} [timestamp] ClinicalAppointmentReminderSent timestamp
|
|
14913
|
+
* @property {number|null} [minutesBefore] ClinicalAppointmentReminderSent minutesBefore
|
|
14914
|
+
* @property {string|null} [title] ClinicalAppointmentReminderSent title
|
|
14915
|
+
*/
|
|
14916
|
+
|
|
14917
|
+
/**
|
|
14918
|
+
* Constructs a new ClinicalAppointmentReminderSent.
|
|
14919
|
+
* @name ClinicalAppointmentReminderSent
|
|
14920
|
+
* @classdesc Represents a ClinicalAppointmentReminderSent.
|
|
14921
|
+
* @implements IClinicalAppointmentReminderSent
|
|
14922
|
+
* @constructor
|
|
14923
|
+
* @param {IClinicalAppointmentReminderSent=} [properties] Properties to set
|
|
14924
|
+
*/
|
|
14925
|
+
function ClinicalAppointmentReminderSent(properties) {
|
|
14926
|
+
if (properties)
|
|
14927
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14928
|
+
if (properties[keys[i]] != null)
|
|
14929
|
+
this[keys[i]] = properties[keys[i]];
|
|
14930
|
+
}
|
|
14931
|
+
|
|
14932
|
+
/**
|
|
14933
|
+
* ClinicalAppointmentReminderSent clinicalAppointment.
|
|
14934
|
+
* @member {IClinicalAppointment|null|undefined} clinicalAppointment
|
|
14935
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14936
|
+
* @instance
|
|
14937
|
+
*/
|
|
14938
|
+
ClinicalAppointmentReminderSent.prototype.clinicalAppointment = null;
|
|
14939
|
+
|
|
14940
|
+
/**
|
|
14941
|
+
* ClinicalAppointmentReminderSent timestamp.
|
|
14942
|
+
* @member {number|Long} timestamp
|
|
14943
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14944
|
+
* @instance
|
|
14945
|
+
*/
|
|
14946
|
+
ClinicalAppointmentReminderSent.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14947
|
+
|
|
14948
|
+
/**
|
|
14949
|
+
* ClinicalAppointmentReminderSent minutesBefore.
|
|
14950
|
+
* @member {number} minutesBefore
|
|
14951
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14952
|
+
* @instance
|
|
14953
|
+
*/
|
|
14954
|
+
ClinicalAppointmentReminderSent.prototype.minutesBefore = 0;
|
|
14955
|
+
|
|
14956
|
+
/**
|
|
14957
|
+
* ClinicalAppointmentReminderSent title.
|
|
14958
|
+
* @member {string} title
|
|
14959
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14960
|
+
* @instance
|
|
14961
|
+
*/
|
|
14962
|
+
ClinicalAppointmentReminderSent.prototype.title = "";
|
|
14963
|
+
|
|
14964
|
+
/**
|
|
14965
|
+
* Creates a new ClinicalAppointmentReminderSent instance using the specified properties.
|
|
14966
|
+
* @function create
|
|
14967
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14968
|
+
* @static
|
|
14969
|
+
* @param {IClinicalAppointmentReminderSent=} [properties] Properties to set
|
|
14970
|
+
* @returns {ClinicalAppointmentReminderSent} ClinicalAppointmentReminderSent instance
|
|
14971
|
+
*/
|
|
14972
|
+
ClinicalAppointmentReminderSent.create = function create(properties) {
|
|
14973
|
+
return new ClinicalAppointmentReminderSent(properties);
|
|
14974
|
+
};
|
|
14975
|
+
|
|
14976
|
+
/**
|
|
14977
|
+
* Encodes the specified ClinicalAppointmentReminderSent message. Does not implicitly {@link ClinicalAppointmentReminderSent.verify|verify} messages.
|
|
14978
|
+
* @function encode
|
|
14979
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
14980
|
+
* @static
|
|
14981
|
+
* @param {IClinicalAppointmentReminderSent} message ClinicalAppointmentReminderSent message or plain object to encode
|
|
14982
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14983
|
+
* @returns {$protobuf.Writer} Writer
|
|
14984
|
+
*/
|
|
14985
|
+
ClinicalAppointmentReminderSent.encode = function encode(message, writer) {
|
|
14986
|
+
if (!writer)
|
|
14987
|
+
writer = $Writer.create();
|
|
14988
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
|
|
14989
|
+
$root.ClinicalAppointment.encode(message.clinicalAppointment, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14990
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
14991
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
14992
|
+
if (message.minutesBefore != null && message.hasOwnProperty("minutesBefore"))
|
|
14993
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.minutesBefore);
|
|
14994
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
14995
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.title);
|
|
14996
|
+
return writer;
|
|
14997
|
+
};
|
|
14998
|
+
|
|
14999
|
+
/**
|
|
15000
|
+
* Encodes the specified ClinicalAppointmentReminderSent message, length delimited. Does not implicitly {@link ClinicalAppointmentReminderSent.verify|verify} messages.
|
|
15001
|
+
* @function encodeDelimited
|
|
15002
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15003
|
+
* @static
|
|
15004
|
+
* @param {IClinicalAppointmentReminderSent} message ClinicalAppointmentReminderSent message or plain object to encode
|
|
15005
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15006
|
+
* @returns {$protobuf.Writer} Writer
|
|
15007
|
+
*/
|
|
15008
|
+
ClinicalAppointmentReminderSent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15009
|
+
return this.encode(message, writer).ldelim();
|
|
15010
|
+
};
|
|
15011
|
+
|
|
15012
|
+
/**
|
|
15013
|
+
* Decodes a ClinicalAppointmentReminderSent message from the specified reader or buffer.
|
|
15014
|
+
* @function decode
|
|
15015
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15016
|
+
* @static
|
|
15017
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15018
|
+
* @param {number} [length] Message length if known beforehand
|
|
15019
|
+
* @returns {ClinicalAppointmentReminderSent} ClinicalAppointmentReminderSent
|
|
15020
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15021
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15022
|
+
*/
|
|
15023
|
+
ClinicalAppointmentReminderSent.decode = function decode(reader, length) {
|
|
15024
|
+
if (!(reader instanceof $Reader))
|
|
15025
|
+
reader = $Reader.create(reader);
|
|
15026
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ClinicalAppointmentReminderSent();
|
|
15027
|
+
while (reader.pos < end) {
|
|
15028
|
+
var tag = reader.uint32();
|
|
15029
|
+
switch (tag >>> 3) {
|
|
15030
|
+
case 1:
|
|
15031
|
+
message.clinicalAppointment = $root.ClinicalAppointment.decode(reader, reader.uint32());
|
|
15032
|
+
break;
|
|
15033
|
+
case 2:
|
|
15034
|
+
message.timestamp = reader.uint64();
|
|
15035
|
+
break;
|
|
15036
|
+
case 3:
|
|
15037
|
+
message.minutesBefore = reader.int32();
|
|
15038
|
+
break;
|
|
15039
|
+
case 4:
|
|
15040
|
+
message.title = reader.string();
|
|
15041
|
+
break;
|
|
15042
|
+
default:
|
|
15043
|
+
reader.skipType(tag & 7);
|
|
15044
|
+
break;
|
|
15045
|
+
}
|
|
15046
|
+
}
|
|
15047
|
+
return message;
|
|
15048
|
+
};
|
|
15049
|
+
|
|
15050
|
+
/**
|
|
15051
|
+
* Decodes a ClinicalAppointmentReminderSent message from the specified reader or buffer, length delimited.
|
|
15052
|
+
* @function decodeDelimited
|
|
15053
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15054
|
+
* @static
|
|
15055
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15056
|
+
* @returns {ClinicalAppointmentReminderSent} ClinicalAppointmentReminderSent
|
|
15057
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15058
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15059
|
+
*/
|
|
15060
|
+
ClinicalAppointmentReminderSent.decodeDelimited = function decodeDelimited(reader) {
|
|
15061
|
+
if (!(reader instanceof $Reader))
|
|
15062
|
+
reader = new $Reader(reader);
|
|
15063
|
+
return this.decode(reader, reader.uint32());
|
|
15064
|
+
};
|
|
15065
|
+
|
|
15066
|
+
/**
|
|
15067
|
+
* Verifies a ClinicalAppointmentReminderSent message.
|
|
15068
|
+
* @function verify
|
|
15069
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15070
|
+
* @static
|
|
15071
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15072
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15073
|
+
*/
|
|
15074
|
+
ClinicalAppointmentReminderSent.verify = function verify(message) {
|
|
15075
|
+
if (typeof message !== "object" || message === null)
|
|
15076
|
+
return "object expected";
|
|
15077
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment")) {
|
|
15078
|
+
var error = $root.ClinicalAppointment.verify(message.clinicalAppointment);
|
|
15079
|
+
if (error)
|
|
15080
|
+
return "clinicalAppointment." + error;
|
|
15081
|
+
}
|
|
15082
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
15083
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
15084
|
+
return "timestamp: integer|Long expected";
|
|
15085
|
+
if (message.minutesBefore != null && message.hasOwnProperty("minutesBefore"))
|
|
15086
|
+
if (!$util.isInteger(message.minutesBefore))
|
|
15087
|
+
return "minutesBefore: integer expected";
|
|
15088
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
15089
|
+
if (!$util.isString(message.title))
|
|
15090
|
+
return "title: string expected";
|
|
15091
|
+
return null;
|
|
15092
|
+
};
|
|
15093
|
+
|
|
15094
|
+
/**
|
|
15095
|
+
* Creates a ClinicalAppointmentReminderSent message from a plain object. Also converts values to their respective internal types.
|
|
15096
|
+
* @function fromObject
|
|
15097
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15098
|
+
* @static
|
|
15099
|
+
* @param {Object.<string,*>} object Plain object
|
|
15100
|
+
* @returns {ClinicalAppointmentReminderSent} ClinicalAppointmentReminderSent
|
|
15101
|
+
*/
|
|
15102
|
+
ClinicalAppointmentReminderSent.fromObject = function fromObject(object) {
|
|
15103
|
+
if (object instanceof $root.ClinicalAppointmentReminderSent)
|
|
15104
|
+
return object;
|
|
15105
|
+
var message = new $root.ClinicalAppointmentReminderSent();
|
|
15106
|
+
if (object.clinicalAppointment != null) {
|
|
15107
|
+
if (typeof object.clinicalAppointment !== "object")
|
|
15108
|
+
throw TypeError(".ClinicalAppointmentReminderSent.clinicalAppointment: object expected");
|
|
15109
|
+
message.clinicalAppointment = $root.ClinicalAppointment.fromObject(object.clinicalAppointment);
|
|
15110
|
+
}
|
|
15111
|
+
if (object.timestamp != null)
|
|
15112
|
+
if ($util.Long)
|
|
15113
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
15114
|
+
else if (typeof object.timestamp === "string")
|
|
15115
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
15116
|
+
else if (typeof object.timestamp === "number")
|
|
15117
|
+
message.timestamp = object.timestamp;
|
|
15118
|
+
else if (typeof object.timestamp === "object")
|
|
15119
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
15120
|
+
if (object.minutesBefore != null)
|
|
15121
|
+
message.minutesBefore = object.minutesBefore | 0;
|
|
15122
|
+
if (object.title != null)
|
|
15123
|
+
message.title = String(object.title);
|
|
15124
|
+
return message;
|
|
15125
|
+
};
|
|
15126
|
+
|
|
15127
|
+
/**
|
|
15128
|
+
* Creates a plain object from a ClinicalAppointmentReminderSent message. Also converts values to other types if specified.
|
|
15129
|
+
* @function toObject
|
|
15130
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15131
|
+
* @static
|
|
15132
|
+
* @param {ClinicalAppointmentReminderSent} message ClinicalAppointmentReminderSent
|
|
15133
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15134
|
+
* @returns {Object.<string,*>} Plain object
|
|
15135
|
+
*/
|
|
15136
|
+
ClinicalAppointmentReminderSent.toObject = function toObject(message, options) {
|
|
15137
|
+
if (!options)
|
|
15138
|
+
options = {};
|
|
15139
|
+
var object = {};
|
|
15140
|
+
if (options.defaults) {
|
|
15141
|
+
object.clinicalAppointment = null;
|
|
15142
|
+
if ($util.Long) {
|
|
15143
|
+
var long = new $util.Long(0, 0, true);
|
|
15144
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15145
|
+
} else
|
|
15146
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
15147
|
+
object.minutesBefore = 0;
|
|
15148
|
+
object.title = "";
|
|
15149
|
+
}
|
|
15150
|
+
if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
|
|
15151
|
+
object.clinicalAppointment = $root.ClinicalAppointment.toObject(message.clinicalAppointment, options);
|
|
15152
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
15153
|
+
if (typeof message.timestamp === "number")
|
|
15154
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
15155
|
+
else
|
|
15156
|
+
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;
|
|
15157
|
+
if (message.minutesBefore != null && message.hasOwnProperty("minutesBefore"))
|
|
15158
|
+
object.minutesBefore = message.minutesBefore;
|
|
15159
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
15160
|
+
object.title = message.title;
|
|
15161
|
+
return object;
|
|
15162
|
+
};
|
|
15163
|
+
|
|
15164
|
+
/**
|
|
15165
|
+
* Converts this ClinicalAppointmentReminderSent to JSON.
|
|
15166
|
+
* @function toJSON
|
|
15167
|
+
* @memberof ClinicalAppointmentReminderSent
|
|
15168
|
+
* @instance
|
|
15169
|
+
* @returns {Object.<string,*>} JSON object
|
|
15170
|
+
*/
|
|
15171
|
+
ClinicalAppointmentReminderSent.prototype.toJSON = function toJSON() {
|
|
15172
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15173
|
+
};
|
|
15174
|
+
|
|
15175
|
+
return ClinicalAppointmentReminderSent;
|
|
15176
|
+
})();
|
|
15177
|
+
|
|
14905
15178
|
/**
|
|
14906
15179
|
* ClinicalAppointmentNoteLocation enum.
|
|
14907
15180
|
* @name ClinicalAppointmentNoteLocation
|
|
@@ -168084,6 +168357,8 @@ $root.coaching = (function() {
|
|
|
168084
168357
|
* @property {string|null} [chatConversationId] A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
168085
168358
|
* See apps.listenerapp.models.ChatConversation
|
|
168086
168359
|
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] The medium format of the session.
|
|
168360
|
+
* @property {number|Long|null} [engagedAt] ScheduledCoachingSession engagedAt
|
|
168361
|
+
* @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
|
|
168087
168362
|
*/
|
|
168088
168363
|
|
|
168089
168364
|
/**
|
|
@@ -168228,6 +168503,22 @@ $root.coaching = (function() {
|
|
|
168228
168503
|
*/
|
|
168229
168504
|
ScheduledCoachingSession.prototype.sessionFormat = 0;
|
|
168230
168505
|
|
|
168506
|
+
/**
|
|
168507
|
+
* ScheduledCoachingSession engagedAt.
|
|
168508
|
+
* @member {number|Long} engagedAt
|
|
168509
|
+
* @memberof coaching.ScheduledCoachingSession
|
|
168510
|
+
* @instance
|
|
168511
|
+
*/
|
|
168512
|
+
ScheduledCoachingSession.prototype.engagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
168513
|
+
|
|
168514
|
+
/**
|
|
168515
|
+
* ScheduledCoachingSession closedAt.
|
|
168516
|
+
* @member {number|Long} closedAt
|
|
168517
|
+
* @memberof coaching.ScheduledCoachingSession
|
|
168518
|
+
* @instance
|
|
168519
|
+
*/
|
|
168520
|
+
ScheduledCoachingSession.prototype.closedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
168521
|
+
|
|
168231
168522
|
/**
|
|
168232
168523
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
168233
168524
|
* @function create
|
|
@@ -168280,6 +168571,10 @@ $root.coaching = (function() {
|
|
|
168280
168571
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.chatConversationId);
|
|
168281
168572
|
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
168282
168573
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.sessionFormat);
|
|
168574
|
+
if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
|
|
168575
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.engagedAt);
|
|
168576
|
+
if (message.closedAt != null && message.hasOwnProperty("closedAt"))
|
|
168577
|
+
writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.closedAt);
|
|
168283
168578
|
return writer;
|
|
168284
168579
|
};
|
|
168285
168580
|
|
|
@@ -168356,6 +168651,12 @@ $root.coaching = (function() {
|
|
|
168356
168651
|
case 14:
|
|
168357
168652
|
message.sessionFormat = reader.int32();
|
|
168358
168653
|
break;
|
|
168654
|
+
case 15:
|
|
168655
|
+
message.engagedAt = reader.uint64();
|
|
168656
|
+
break;
|
|
168657
|
+
case 16:
|
|
168658
|
+
message.closedAt = reader.uint64();
|
|
168659
|
+
break;
|
|
168359
168660
|
default:
|
|
168360
168661
|
reader.skipType(tag & 7);
|
|
168361
168662
|
break;
|
|
@@ -168446,6 +168747,12 @@ $root.coaching = (function() {
|
|
|
168446
168747
|
case 2:
|
|
168447
168748
|
break;
|
|
168448
168749
|
}
|
|
168750
|
+
if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
|
|
168751
|
+
if (!$util.isInteger(message.engagedAt) && !(message.engagedAt && $util.isInteger(message.engagedAt.low) && $util.isInteger(message.engagedAt.high)))
|
|
168752
|
+
return "engagedAt: integer|Long expected";
|
|
168753
|
+
if (message.closedAt != null && message.hasOwnProperty("closedAt"))
|
|
168754
|
+
if (!$util.isInteger(message.closedAt) && !(message.closedAt && $util.isInteger(message.closedAt.low) && $util.isInteger(message.closedAt.high)))
|
|
168755
|
+
return "closedAt: integer|Long expected";
|
|
168449
168756
|
return null;
|
|
168450
168757
|
};
|
|
168451
168758
|
|
|
@@ -168552,6 +168859,24 @@ $root.coaching = (function() {
|
|
|
168552
168859
|
message.sessionFormat = 2;
|
|
168553
168860
|
break;
|
|
168554
168861
|
}
|
|
168862
|
+
if (object.engagedAt != null)
|
|
168863
|
+
if ($util.Long)
|
|
168864
|
+
(message.engagedAt = $util.Long.fromValue(object.engagedAt)).unsigned = true;
|
|
168865
|
+
else if (typeof object.engagedAt === "string")
|
|
168866
|
+
message.engagedAt = parseInt(object.engagedAt, 10);
|
|
168867
|
+
else if (typeof object.engagedAt === "number")
|
|
168868
|
+
message.engagedAt = object.engagedAt;
|
|
168869
|
+
else if (typeof object.engagedAt === "object")
|
|
168870
|
+
message.engagedAt = new $util.LongBits(object.engagedAt.low >>> 0, object.engagedAt.high >>> 0).toNumber(true);
|
|
168871
|
+
if (object.closedAt != null)
|
|
168872
|
+
if ($util.Long)
|
|
168873
|
+
(message.closedAt = $util.Long.fromValue(object.closedAt)).unsigned = true;
|
|
168874
|
+
else if (typeof object.closedAt === "string")
|
|
168875
|
+
message.closedAt = parseInt(object.closedAt, 10);
|
|
168876
|
+
else if (typeof object.closedAt === "number")
|
|
168877
|
+
message.closedAt = object.closedAt;
|
|
168878
|
+
else if (typeof object.closedAt === "object")
|
|
168879
|
+
message.closedAt = new $util.LongBits(object.closedAt.low >>> 0, object.closedAt.high >>> 0).toNumber(true);
|
|
168555
168880
|
return message;
|
|
168556
168881
|
};
|
|
168557
168882
|
|
|
@@ -168603,6 +168928,16 @@ $root.coaching = (function() {
|
|
|
168603
168928
|
object.rescheduled = false;
|
|
168604
168929
|
object.chatConversationId = "";
|
|
168605
168930
|
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
168931
|
+
if ($util.Long) {
|
|
168932
|
+
var long = new $util.Long(0, 0, true);
|
|
168933
|
+
object.engagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
168934
|
+
} else
|
|
168935
|
+
object.engagedAt = options.longs === String ? "0" : 0;
|
|
168936
|
+
if ($util.Long) {
|
|
168937
|
+
var long = new $util.Long(0, 0, true);
|
|
168938
|
+
object.closedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
168939
|
+
} else
|
|
168940
|
+
object.closedAt = options.longs === String ? "0" : 0;
|
|
168606
168941
|
}
|
|
168607
168942
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
168608
168943
|
object.id = message.id;
|
|
@@ -168647,6 +168982,16 @@ $root.coaching = (function() {
|
|
|
168647
168982
|
object.chatConversationId = message.chatConversationId;
|
|
168648
168983
|
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
168649
168984
|
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
168985
|
+
if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
|
|
168986
|
+
if (typeof message.engagedAt === "number")
|
|
168987
|
+
object.engagedAt = options.longs === String ? String(message.engagedAt) : message.engagedAt;
|
|
168988
|
+
else
|
|
168989
|
+
object.engagedAt = options.longs === String ? $util.Long.prototype.toString.call(message.engagedAt) : options.longs === Number ? new $util.LongBits(message.engagedAt.low >>> 0, message.engagedAt.high >>> 0).toNumber(true) : message.engagedAt;
|
|
168990
|
+
if (message.closedAt != null && message.hasOwnProperty("closedAt"))
|
|
168991
|
+
if (typeof message.closedAt === "number")
|
|
168992
|
+
object.closedAt = options.longs === String ? String(message.closedAt) : message.closedAt;
|
|
168993
|
+
else
|
|
168994
|
+
object.closedAt = options.longs === String ? $util.Long.prototype.toString.call(message.closedAt) : options.longs === Number ? new $util.LongBits(message.closedAt.low >>> 0, message.closedAt.high >>> 0).toNumber(true) : message.closedAt;
|
|
168650
168995
|
return object;
|
|
168651
168996
|
};
|
|
168652
168997
|
|
package/package.json
CHANGED