@headspace/protos-events 1.688.0 → 1.690.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 +114 -0
- package/lib/index.js +295 -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,
|
|
@@ -67511,6 +67619,9 @@ export interface IGingerProviderProfileUpdateRequest {
|
|
|
67511
67619
|
|
|
67512
67620
|
/** GingerProviderProfileUpdateRequest providerEmail */
|
|
67513
67621
|
providerEmail?: (string|null);
|
|
67622
|
+
|
|
67623
|
+
/** GingerProviderProfileUpdateRequest zendeskTicketId */
|
|
67624
|
+
zendeskTicketId?: (string|null);
|
|
67514
67625
|
}
|
|
67515
67626
|
|
|
67516
67627
|
/** Represents a GingerProviderProfileUpdateRequest. */
|
|
@@ -67537,6 +67648,9 @@ export class GingerProviderProfileUpdateRequest implements IGingerProviderProfil
|
|
|
67537
67648
|
/** GingerProviderProfileUpdateRequest providerEmail. */
|
|
67538
67649
|
public providerEmail: string;
|
|
67539
67650
|
|
|
67651
|
+
/** GingerProviderProfileUpdateRequest zendeskTicketId. */
|
|
67652
|
+
public zendeskTicketId: string;
|
|
67653
|
+
|
|
67540
67654
|
/**
|
|
67541
67655
|
* Creates a new GingerProviderProfileUpdateRequest instance using the specified properties.
|
|
67542
67656
|
* @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
|
|
@@ -190500,6 +190773,7 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190500
190773
|
* @property {number|null} [gingerClinicianId] GingerProviderProfileUpdateRequest gingerClinicianId
|
|
190501
190774
|
* @property {string|null} [gingerProviderId] GingerProviderProfileUpdateRequest gingerProviderId
|
|
190502
190775
|
* @property {string|null} [providerEmail] GingerProviderProfileUpdateRequest providerEmail
|
|
190776
|
+
* @property {string|null} [zendeskTicketId] GingerProviderProfileUpdateRequest zendeskTicketId
|
|
190503
190777
|
*/
|
|
190504
190778
|
|
|
190505
190779
|
/**
|
|
@@ -190557,6 +190831,14 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190557
190831
|
*/
|
|
190558
190832
|
GingerProviderProfileUpdateRequest.prototype.providerEmail = "";
|
|
190559
190833
|
|
|
190834
|
+
/**
|
|
190835
|
+
* GingerProviderProfileUpdateRequest zendeskTicketId.
|
|
190836
|
+
* @member {string} zendeskTicketId
|
|
190837
|
+
* @memberof GingerProviderProfileUpdateRequest
|
|
190838
|
+
* @instance
|
|
190839
|
+
*/
|
|
190840
|
+
GingerProviderProfileUpdateRequest.prototype.zendeskTicketId = "";
|
|
190841
|
+
|
|
190560
190842
|
/**
|
|
190561
190843
|
* Creates a new GingerProviderProfileUpdateRequest instance using the specified properties.
|
|
190562
190844
|
* @function create
|
|
@@ -190591,6 +190873,8 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190591
190873
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.gingerProviderId);
|
|
190592
190874
|
if (message.providerEmail != null && message.hasOwnProperty("providerEmail"))
|
|
190593
190875
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.providerEmail);
|
|
190876
|
+
if (message.zendeskTicketId != null && message.hasOwnProperty("zendeskTicketId"))
|
|
190877
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.zendeskTicketId);
|
|
190594
190878
|
return writer;
|
|
190595
190879
|
};
|
|
190596
190880
|
|
|
@@ -190640,6 +190924,9 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190640
190924
|
case 5:
|
|
190641
190925
|
message.providerEmail = reader.string();
|
|
190642
190926
|
break;
|
|
190927
|
+
case 6:
|
|
190928
|
+
message.zendeskTicketId = reader.string();
|
|
190929
|
+
break;
|
|
190643
190930
|
default:
|
|
190644
190931
|
reader.skipType(tag & 7);
|
|
190645
190932
|
break;
|
|
@@ -190690,6 +190977,9 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190690
190977
|
if (message.providerEmail != null && message.hasOwnProperty("providerEmail"))
|
|
190691
190978
|
if (!$util.isString(message.providerEmail))
|
|
190692
190979
|
return "providerEmail: string expected";
|
|
190980
|
+
if (message.zendeskTicketId != null && message.hasOwnProperty("zendeskTicketId"))
|
|
190981
|
+
if (!$util.isString(message.zendeskTicketId))
|
|
190982
|
+
return "zendeskTicketId: string expected";
|
|
190693
190983
|
return null;
|
|
190694
190984
|
};
|
|
190695
190985
|
|
|
@@ -190715,6 +191005,8 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190715
191005
|
message.gingerProviderId = String(object.gingerProviderId);
|
|
190716
191006
|
if (object.providerEmail != null)
|
|
190717
191007
|
message.providerEmail = String(object.providerEmail);
|
|
191008
|
+
if (object.zendeskTicketId != null)
|
|
191009
|
+
message.zendeskTicketId = String(object.zendeskTicketId);
|
|
190718
191010
|
return message;
|
|
190719
191011
|
};
|
|
190720
191012
|
|
|
@@ -190737,6 +191029,7 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190737
191029
|
object.gingerClinicianId = 0;
|
|
190738
191030
|
object.gingerProviderId = "";
|
|
190739
191031
|
object.providerEmail = "";
|
|
191032
|
+
object.zendeskTicketId = "";
|
|
190740
191033
|
}
|
|
190741
191034
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
190742
191035
|
object.id = message.id;
|
|
@@ -190748,6 +191041,8 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
190748
191041
|
object.gingerProviderId = message.gingerProviderId;
|
|
190749
191042
|
if (message.providerEmail != null && message.hasOwnProperty("providerEmail"))
|
|
190750
191043
|
object.providerEmail = message.providerEmail;
|
|
191044
|
+
if (message.zendeskTicketId != null && message.hasOwnProperty("zendeskTicketId"))
|
|
191045
|
+
object.zendeskTicketId = message.zendeskTicketId;
|
|
190751
191046
|
return object;
|
|
190752
191047
|
};
|
|
190753
191048
|
|
package/package.json
CHANGED