@headspace/protos-events 1.838.0 → 1.839.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 +687 -0
- package/lib/index.js +2287 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -70837,6 +70837,693 @@ export namespace BrazeProxyAppleHapticNotificationSent {
|
|
|
70837
70837
|
type $Shape = BrazeProxyAppleHapticNotificationSent.$Properties;
|
|
70838
70838
|
}
|
|
70839
70839
|
|
|
70840
|
+
/** CareAssessmentType enum. */
|
|
70841
|
+
export enum CareAssessmentType {
|
|
70842
|
+
|
|
70843
|
+
/** CARE_ASSESSMENT_TYPE_UNKNOWN value */
|
|
70844
|
+
CARE_ASSESSMENT_TYPE_UNKNOWN = 0,
|
|
70845
|
+
|
|
70846
|
+
/** CARE_ASSESSMENT_TYPE_PHQ9 value */
|
|
70847
|
+
CARE_ASSESSMENT_TYPE_PHQ9 = 1,
|
|
70848
|
+
|
|
70849
|
+
/** CARE_ASSESSMENT_TYPE_GAD7 value */
|
|
70850
|
+
CARE_ASSESSMENT_TYPE_GAD7 = 2,
|
|
70851
|
+
|
|
70852
|
+
/** CARE_ASSESSMENT_TYPE_PHQ4 value */
|
|
70853
|
+
CARE_ASSESSMENT_TYPE_PHQ4 = 3,
|
|
70854
|
+
|
|
70855
|
+
/** CARE_ASSESSMENT_TYPE_PSS value */
|
|
70856
|
+
CARE_ASSESSMENT_TYPE_PSS = 4,
|
|
70857
|
+
|
|
70858
|
+
/** CARE_ASSESSMENT_TYPE_PGIC value */
|
|
70859
|
+
CARE_ASSESSMENT_TYPE_PGIC = 5
|
|
70860
|
+
}
|
|
70861
|
+
|
|
70862
|
+
/** CareAssessmentCadence enum. */
|
|
70863
|
+
export enum CareAssessmentCadence {
|
|
70864
|
+
|
|
70865
|
+
/** CARE_ASSESSMENT_CADENCE_UNKNOWN value */
|
|
70866
|
+
CARE_ASSESSMENT_CADENCE_UNKNOWN = 0,
|
|
70867
|
+
|
|
70868
|
+
/** CARE_ASSESSMENT_CADENCE_ONBOARDING value */
|
|
70869
|
+
CARE_ASSESSMENT_CADENCE_ONBOARDING = 1,
|
|
70870
|
+
|
|
70871
|
+
/** CARE_ASSESSMENT_CADENCE_QUARTERLY value */
|
|
70872
|
+
CARE_ASSESSMENT_CADENCE_QUARTERLY = 2,
|
|
70873
|
+
|
|
70874
|
+
/** CARE_ASSESSMENT_CADENCE_END_OF_PERIOD value */
|
|
70875
|
+
CARE_ASSESSMENT_CADENCE_END_OF_PERIOD = 3,
|
|
70876
|
+
|
|
70877
|
+
/** CARE_ASSESSMENT_CADENCE_EARLY_EXIT value */
|
|
70878
|
+
CARE_ASSESSMENT_CADENCE_EARLY_EXIT = 4
|
|
70879
|
+
}
|
|
70880
|
+
|
|
70881
|
+
/** CareAssessmentContext enum. */
|
|
70882
|
+
export enum CareAssessmentContext {
|
|
70883
|
+
|
|
70884
|
+
/** CARE_ASSESSMENT_CONTEXT_UNKNOWN value */
|
|
70885
|
+
CARE_ASSESSMENT_CONTEXT_UNKNOWN = 0,
|
|
70886
|
+
|
|
70887
|
+
/** CARE_ASSESSMENT_CONTEXT_CMS value */
|
|
70888
|
+
CARE_ASSESSMENT_CONTEXT_CMS = 1
|
|
70889
|
+
}
|
|
70890
|
+
|
|
70891
|
+
/**
|
|
70892
|
+
* Properties of an AssessmentQuestionResponse.
|
|
70893
|
+
* @deprecated Use AssessmentQuestionResponse.$Properties instead.
|
|
70894
|
+
*/
|
|
70895
|
+
export interface IAssessmentQuestionResponse extends AssessmentQuestionResponse.$Properties {
|
|
70896
|
+
}
|
|
70897
|
+
|
|
70898
|
+
/** Represents an AssessmentQuestionResponse. */
|
|
70899
|
+
export class AssessmentQuestionResponse {
|
|
70900
|
+
|
|
70901
|
+
/**
|
|
70902
|
+
* Constructs a new AssessmentQuestionResponse.
|
|
70903
|
+
* @param [properties] Properties to set
|
|
70904
|
+
*/
|
|
70905
|
+
constructor(properties?: AssessmentQuestionResponse.$Properties);
|
|
70906
|
+
|
|
70907
|
+
/** Unknown fields preserved while decoding */
|
|
70908
|
+
$unknowns?: Uint8Array[];
|
|
70909
|
+
|
|
70910
|
+
/** AssessmentQuestionResponse questionNumber. */
|
|
70911
|
+
questionNumber: number;
|
|
70912
|
+
|
|
70913
|
+
/** AssessmentQuestionResponse questionSlug. */
|
|
70914
|
+
questionSlug: string;
|
|
70915
|
+
|
|
70916
|
+
/** AssessmentQuestionResponse responseValue. */
|
|
70917
|
+
responseValue: number;
|
|
70918
|
+
|
|
70919
|
+
/**
|
|
70920
|
+
* Creates a new AssessmentQuestionResponse instance using the specified properties.
|
|
70921
|
+
* @param [properties] Properties to set
|
|
70922
|
+
* @returns AssessmentQuestionResponse instance
|
|
70923
|
+
*/
|
|
70924
|
+
static create(properties: AssessmentQuestionResponse.$Shape): AssessmentQuestionResponse & AssessmentQuestionResponse.$Shape;
|
|
70925
|
+
static create(properties?: AssessmentQuestionResponse.$Properties): AssessmentQuestionResponse;
|
|
70926
|
+
|
|
70927
|
+
/**
|
|
70928
|
+
* Encodes the specified AssessmentQuestionResponse message. Does not implicitly {@link AssessmentQuestionResponse.verify|verify} messages.
|
|
70929
|
+
* @param message AssessmentQuestionResponse message or plain object to encode
|
|
70930
|
+
* @param [writer] Writer to encode to
|
|
70931
|
+
* @returns Writer
|
|
70932
|
+
*/
|
|
70933
|
+
static encode(message: AssessmentQuestionResponse.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
70934
|
+
|
|
70935
|
+
/**
|
|
70936
|
+
* Encodes the specified AssessmentQuestionResponse message, length delimited. Does not implicitly {@link AssessmentQuestionResponse.verify|verify} messages.
|
|
70937
|
+
* @param message AssessmentQuestionResponse message or plain object to encode
|
|
70938
|
+
* @param [writer] Writer to encode to
|
|
70939
|
+
* @returns Writer
|
|
70940
|
+
*/
|
|
70941
|
+
static encodeDelimited(message: AssessmentQuestionResponse.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
70942
|
+
|
|
70943
|
+
/**
|
|
70944
|
+
* Decodes an AssessmentQuestionResponse message from the specified reader or buffer.
|
|
70945
|
+
* @param reader Reader or buffer to decode from
|
|
70946
|
+
* @param [length] Message length if known beforehand
|
|
70947
|
+
* @returns {AssessmentQuestionResponse & AssessmentQuestionResponse.$Shape} AssessmentQuestionResponse
|
|
70948
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
70949
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
70950
|
+
*/
|
|
70951
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AssessmentQuestionResponse & AssessmentQuestionResponse.$Shape;
|
|
70952
|
+
|
|
70953
|
+
/**
|
|
70954
|
+
* Decodes an AssessmentQuestionResponse message from the specified reader or buffer, length delimited.
|
|
70955
|
+
* @param reader Reader or buffer to decode from
|
|
70956
|
+
* @returns {AssessmentQuestionResponse & AssessmentQuestionResponse.$Shape} AssessmentQuestionResponse
|
|
70957
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
70958
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
70959
|
+
*/
|
|
70960
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AssessmentQuestionResponse & AssessmentQuestionResponse.$Shape;
|
|
70961
|
+
|
|
70962
|
+
/**
|
|
70963
|
+
* Verifies an AssessmentQuestionResponse message.
|
|
70964
|
+
* @param message Plain object to verify
|
|
70965
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
70966
|
+
*/
|
|
70967
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
70968
|
+
|
|
70969
|
+
/**
|
|
70970
|
+
* Creates an AssessmentQuestionResponse message from a plain object. Also converts values to their respective internal types.
|
|
70971
|
+
* @param object Plain object
|
|
70972
|
+
* @returns AssessmentQuestionResponse
|
|
70973
|
+
*/
|
|
70974
|
+
static fromObject(object: { [k: string]: any }): AssessmentQuestionResponse;
|
|
70975
|
+
|
|
70976
|
+
/**
|
|
70977
|
+
* Creates a plain object from an AssessmentQuestionResponse message. Also converts values to other types if specified.
|
|
70978
|
+
* @param message AssessmentQuestionResponse
|
|
70979
|
+
* @param [options] Conversion options
|
|
70980
|
+
* @returns Plain object
|
|
70981
|
+
*/
|
|
70982
|
+
static toObject(message: AssessmentQuestionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
70983
|
+
|
|
70984
|
+
/**
|
|
70985
|
+
* Converts this AssessmentQuestionResponse to JSON.
|
|
70986
|
+
* @returns JSON object
|
|
70987
|
+
*/
|
|
70988
|
+
toJSON(): { [k: string]: any };
|
|
70989
|
+
|
|
70990
|
+
/**
|
|
70991
|
+
* Gets the type url for AssessmentQuestionResponse
|
|
70992
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
70993
|
+
* @returns The type url
|
|
70994
|
+
*/
|
|
70995
|
+
static getTypeUrl(prefix?: string): string;
|
|
70996
|
+
}
|
|
70997
|
+
|
|
70998
|
+
export namespace AssessmentQuestionResponse {
|
|
70999
|
+
|
|
71000
|
+
/** Properties of an AssessmentQuestionResponse. */
|
|
71001
|
+
interface $Properties {
|
|
71002
|
+
|
|
71003
|
+
/** AssessmentQuestionResponse questionNumber */
|
|
71004
|
+
questionNumber?: (number|null);
|
|
71005
|
+
|
|
71006
|
+
/** AssessmentQuestionResponse questionSlug */
|
|
71007
|
+
questionSlug?: (string|null);
|
|
71008
|
+
|
|
71009
|
+
/** AssessmentQuestionResponse responseValue */
|
|
71010
|
+
responseValue?: (number|null);
|
|
71011
|
+
|
|
71012
|
+
/** Unknown fields preserved while decoding */
|
|
71013
|
+
$unknowns?: Uint8Array[];
|
|
71014
|
+
}
|
|
71015
|
+
|
|
71016
|
+
/** Shape of an AssessmentQuestionResponse. */
|
|
71017
|
+
type $Shape = AssessmentQuestionResponse.$Properties;
|
|
71018
|
+
}
|
|
71019
|
+
|
|
71020
|
+
/**
|
|
71021
|
+
* Properties of a CareAssessmentAssigned.
|
|
71022
|
+
* @deprecated Use CareAssessmentAssigned.$Properties instead.
|
|
71023
|
+
*/
|
|
71024
|
+
export interface ICareAssessmentAssigned extends CareAssessmentAssigned.$Properties {
|
|
71025
|
+
}
|
|
71026
|
+
|
|
71027
|
+
/** Represents a CareAssessmentAssigned. */
|
|
71028
|
+
export class CareAssessmentAssigned {
|
|
71029
|
+
|
|
71030
|
+
/**
|
|
71031
|
+
* Constructs a new CareAssessmentAssigned.
|
|
71032
|
+
* @param [properties] Properties to set
|
|
71033
|
+
*/
|
|
71034
|
+
constructor(properties?: CareAssessmentAssigned.$Properties);
|
|
71035
|
+
|
|
71036
|
+
/** Unknown fields preserved while decoding */
|
|
71037
|
+
$unknowns?: Uint8Array[];
|
|
71038
|
+
|
|
71039
|
+
/** CareAssessmentAssigned timestamp. */
|
|
71040
|
+
timestamp: (number|Long);
|
|
71041
|
+
|
|
71042
|
+
/** CareAssessmentAssigned careAssessmentType. */
|
|
71043
|
+
careAssessmentType: CareAssessmentType;
|
|
71044
|
+
|
|
71045
|
+
/** CareAssessmentAssigned hsUserId. */
|
|
71046
|
+
hsUserId: string;
|
|
71047
|
+
|
|
71048
|
+
/** CareAssessmentAssigned gingerUserId. */
|
|
71049
|
+
gingerUserId: number;
|
|
71050
|
+
|
|
71051
|
+
/** CareAssessmentAssigned assignedAtIsoDate. */
|
|
71052
|
+
assignedAtIsoDate: string;
|
|
71053
|
+
|
|
71054
|
+
/** CareAssessmentAssigned assignmentId. */
|
|
71055
|
+
assignmentId: (number|Long);
|
|
71056
|
+
|
|
71057
|
+
/** CareAssessmentAssigned activityId. */
|
|
71058
|
+
activityId: string;
|
|
71059
|
+
|
|
71060
|
+
/** CareAssessmentAssigned careAssessmentCadence. */
|
|
71061
|
+
careAssessmentCadence: CareAssessmentCadence;
|
|
71062
|
+
|
|
71063
|
+
/** CareAssessmentAssigned assessmentContext. */
|
|
71064
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71065
|
+
|
|
71066
|
+
/**
|
|
71067
|
+
* Creates a new CareAssessmentAssigned instance using the specified properties.
|
|
71068
|
+
* @param [properties] Properties to set
|
|
71069
|
+
* @returns CareAssessmentAssigned instance
|
|
71070
|
+
*/
|
|
71071
|
+
static create(properties: CareAssessmentAssigned.$Shape): CareAssessmentAssigned & CareAssessmentAssigned.$Shape;
|
|
71072
|
+
static create(properties?: CareAssessmentAssigned.$Properties): CareAssessmentAssigned;
|
|
71073
|
+
|
|
71074
|
+
/**
|
|
71075
|
+
* Encodes the specified CareAssessmentAssigned message. Does not implicitly {@link CareAssessmentAssigned.verify|verify} messages.
|
|
71076
|
+
* @param message CareAssessmentAssigned message or plain object to encode
|
|
71077
|
+
* @param [writer] Writer to encode to
|
|
71078
|
+
* @returns Writer
|
|
71079
|
+
*/
|
|
71080
|
+
static encode(message: CareAssessmentAssigned.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71081
|
+
|
|
71082
|
+
/**
|
|
71083
|
+
* Encodes the specified CareAssessmentAssigned message, length delimited. Does not implicitly {@link CareAssessmentAssigned.verify|verify} messages.
|
|
71084
|
+
* @param message CareAssessmentAssigned message or plain object to encode
|
|
71085
|
+
* @param [writer] Writer to encode to
|
|
71086
|
+
* @returns Writer
|
|
71087
|
+
*/
|
|
71088
|
+
static encodeDelimited(message: CareAssessmentAssigned.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71089
|
+
|
|
71090
|
+
/**
|
|
71091
|
+
* Decodes a CareAssessmentAssigned message from the specified reader or buffer.
|
|
71092
|
+
* @param reader Reader or buffer to decode from
|
|
71093
|
+
* @param [length] Message length if known beforehand
|
|
71094
|
+
* @returns {CareAssessmentAssigned & CareAssessmentAssigned.$Shape} CareAssessmentAssigned
|
|
71095
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71096
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71097
|
+
*/
|
|
71098
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareAssessmentAssigned & CareAssessmentAssigned.$Shape;
|
|
71099
|
+
|
|
71100
|
+
/**
|
|
71101
|
+
* Decodes a CareAssessmentAssigned message from the specified reader or buffer, length delimited.
|
|
71102
|
+
* @param reader Reader or buffer to decode from
|
|
71103
|
+
* @returns {CareAssessmentAssigned & CareAssessmentAssigned.$Shape} CareAssessmentAssigned
|
|
71104
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71105
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71106
|
+
*/
|
|
71107
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareAssessmentAssigned & CareAssessmentAssigned.$Shape;
|
|
71108
|
+
|
|
71109
|
+
/**
|
|
71110
|
+
* Verifies a CareAssessmentAssigned message.
|
|
71111
|
+
* @param message Plain object to verify
|
|
71112
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
71113
|
+
*/
|
|
71114
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
71115
|
+
|
|
71116
|
+
/**
|
|
71117
|
+
* Creates a CareAssessmentAssigned message from a plain object. Also converts values to their respective internal types.
|
|
71118
|
+
* @param object Plain object
|
|
71119
|
+
* @returns CareAssessmentAssigned
|
|
71120
|
+
*/
|
|
71121
|
+
static fromObject(object: { [k: string]: any }): CareAssessmentAssigned;
|
|
71122
|
+
|
|
71123
|
+
/**
|
|
71124
|
+
* Creates a plain object from a CareAssessmentAssigned message. Also converts values to other types if specified.
|
|
71125
|
+
* @param message CareAssessmentAssigned
|
|
71126
|
+
* @param [options] Conversion options
|
|
71127
|
+
* @returns Plain object
|
|
71128
|
+
*/
|
|
71129
|
+
static toObject(message: CareAssessmentAssigned, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
71130
|
+
|
|
71131
|
+
/**
|
|
71132
|
+
* Converts this CareAssessmentAssigned to JSON.
|
|
71133
|
+
* @returns JSON object
|
|
71134
|
+
*/
|
|
71135
|
+
toJSON(): { [k: string]: any };
|
|
71136
|
+
|
|
71137
|
+
/**
|
|
71138
|
+
* Gets the type url for CareAssessmentAssigned
|
|
71139
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
71140
|
+
* @returns The type url
|
|
71141
|
+
*/
|
|
71142
|
+
static getTypeUrl(prefix?: string): string;
|
|
71143
|
+
}
|
|
71144
|
+
|
|
71145
|
+
export namespace CareAssessmentAssigned {
|
|
71146
|
+
|
|
71147
|
+
/** Properties of a CareAssessmentAssigned. */
|
|
71148
|
+
interface $Properties {
|
|
71149
|
+
|
|
71150
|
+
/** CareAssessmentAssigned timestamp */
|
|
71151
|
+
timestamp?: (number|Long|null);
|
|
71152
|
+
|
|
71153
|
+
/** CareAssessmentAssigned careAssessmentType */
|
|
71154
|
+
careAssessmentType?: (CareAssessmentType|null);
|
|
71155
|
+
|
|
71156
|
+
/** CareAssessmentAssigned hsUserId */
|
|
71157
|
+
hsUserId?: (string|null);
|
|
71158
|
+
|
|
71159
|
+
/** CareAssessmentAssigned gingerUserId */
|
|
71160
|
+
gingerUserId?: (number|null);
|
|
71161
|
+
|
|
71162
|
+
/** CareAssessmentAssigned assignedAtIsoDate */
|
|
71163
|
+
assignedAtIsoDate?: (string|null);
|
|
71164
|
+
|
|
71165
|
+
/** CareAssessmentAssigned assignmentId */
|
|
71166
|
+
assignmentId?: (number|Long|null);
|
|
71167
|
+
|
|
71168
|
+
/** CareAssessmentAssigned activityId */
|
|
71169
|
+
activityId?: (string|null);
|
|
71170
|
+
|
|
71171
|
+
/** CareAssessmentAssigned careAssessmentCadence */
|
|
71172
|
+
careAssessmentCadence?: (CareAssessmentCadence|null);
|
|
71173
|
+
|
|
71174
|
+
/** CareAssessmentAssigned assessmentContext */
|
|
71175
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71176
|
+
|
|
71177
|
+
/** Unknown fields preserved while decoding */
|
|
71178
|
+
$unknowns?: Uint8Array[];
|
|
71179
|
+
}
|
|
71180
|
+
|
|
71181
|
+
/** Shape of a CareAssessmentAssigned. */
|
|
71182
|
+
type $Shape = CareAssessmentAssigned.$Properties;
|
|
71183
|
+
}
|
|
71184
|
+
|
|
71185
|
+
/**
|
|
71186
|
+
* Properties of a CareAssessmentStarted.
|
|
71187
|
+
* @deprecated Use CareAssessmentStarted.$Properties instead.
|
|
71188
|
+
*/
|
|
71189
|
+
export interface ICareAssessmentStarted extends CareAssessmentStarted.$Properties {
|
|
71190
|
+
}
|
|
71191
|
+
|
|
71192
|
+
/** Represents a CareAssessmentStarted. */
|
|
71193
|
+
export class CareAssessmentStarted {
|
|
71194
|
+
|
|
71195
|
+
/**
|
|
71196
|
+
* Constructs a new CareAssessmentStarted.
|
|
71197
|
+
* @param [properties] Properties to set
|
|
71198
|
+
*/
|
|
71199
|
+
constructor(properties?: CareAssessmentStarted.$Properties);
|
|
71200
|
+
|
|
71201
|
+
/** Unknown fields preserved while decoding */
|
|
71202
|
+
$unknowns?: Uint8Array[];
|
|
71203
|
+
|
|
71204
|
+
/** CareAssessmentStarted timestamp. */
|
|
71205
|
+
timestamp: (number|Long);
|
|
71206
|
+
|
|
71207
|
+
/** CareAssessmentStarted careAssessmentType. */
|
|
71208
|
+
careAssessmentType: CareAssessmentType;
|
|
71209
|
+
|
|
71210
|
+
/** CareAssessmentStarted hsUserId. */
|
|
71211
|
+
hsUserId: string;
|
|
71212
|
+
|
|
71213
|
+
/** CareAssessmentStarted gingerUserId. */
|
|
71214
|
+
gingerUserId: number;
|
|
71215
|
+
|
|
71216
|
+
/** CareAssessmentStarted startedAtIsoDate. */
|
|
71217
|
+
startedAtIsoDate: string;
|
|
71218
|
+
|
|
71219
|
+
/** CareAssessmentStarted assignmentId. */
|
|
71220
|
+
assignmentId: (number|Long);
|
|
71221
|
+
|
|
71222
|
+
/** CareAssessmentStarted activityId. */
|
|
71223
|
+
activityId: string;
|
|
71224
|
+
|
|
71225
|
+
/** CareAssessmentStarted careAssessmentCadence. */
|
|
71226
|
+
careAssessmentCadence: CareAssessmentCadence;
|
|
71227
|
+
|
|
71228
|
+
/** CareAssessmentStarted assessmentContext. */
|
|
71229
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71230
|
+
|
|
71231
|
+
/**
|
|
71232
|
+
* Creates a new CareAssessmentStarted instance using the specified properties.
|
|
71233
|
+
* @param [properties] Properties to set
|
|
71234
|
+
* @returns CareAssessmentStarted instance
|
|
71235
|
+
*/
|
|
71236
|
+
static create(properties: CareAssessmentStarted.$Shape): CareAssessmentStarted & CareAssessmentStarted.$Shape;
|
|
71237
|
+
static create(properties?: CareAssessmentStarted.$Properties): CareAssessmentStarted;
|
|
71238
|
+
|
|
71239
|
+
/**
|
|
71240
|
+
* Encodes the specified CareAssessmentStarted message. Does not implicitly {@link CareAssessmentStarted.verify|verify} messages.
|
|
71241
|
+
* @param message CareAssessmentStarted message or plain object to encode
|
|
71242
|
+
* @param [writer] Writer to encode to
|
|
71243
|
+
* @returns Writer
|
|
71244
|
+
*/
|
|
71245
|
+
static encode(message: CareAssessmentStarted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71246
|
+
|
|
71247
|
+
/**
|
|
71248
|
+
* Encodes the specified CareAssessmentStarted message, length delimited. Does not implicitly {@link CareAssessmentStarted.verify|verify} messages.
|
|
71249
|
+
* @param message CareAssessmentStarted message or plain object to encode
|
|
71250
|
+
* @param [writer] Writer to encode to
|
|
71251
|
+
* @returns Writer
|
|
71252
|
+
*/
|
|
71253
|
+
static encodeDelimited(message: CareAssessmentStarted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71254
|
+
|
|
71255
|
+
/**
|
|
71256
|
+
* Decodes a CareAssessmentStarted message from the specified reader or buffer.
|
|
71257
|
+
* @param reader Reader or buffer to decode from
|
|
71258
|
+
* @param [length] Message length if known beforehand
|
|
71259
|
+
* @returns {CareAssessmentStarted & CareAssessmentStarted.$Shape} CareAssessmentStarted
|
|
71260
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71261
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71262
|
+
*/
|
|
71263
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareAssessmentStarted & CareAssessmentStarted.$Shape;
|
|
71264
|
+
|
|
71265
|
+
/**
|
|
71266
|
+
* Decodes a CareAssessmentStarted message from the specified reader or buffer, length delimited.
|
|
71267
|
+
* @param reader Reader or buffer to decode from
|
|
71268
|
+
* @returns {CareAssessmentStarted & CareAssessmentStarted.$Shape} CareAssessmentStarted
|
|
71269
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71270
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71271
|
+
*/
|
|
71272
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareAssessmentStarted & CareAssessmentStarted.$Shape;
|
|
71273
|
+
|
|
71274
|
+
/**
|
|
71275
|
+
* Verifies a CareAssessmentStarted message.
|
|
71276
|
+
* @param message Plain object to verify
|
|
71277
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
71278
|
+
*/
|
|
71279
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
71280
|
+
|
|
71281
|
+
/**
|
|
71282
|
+
* Creates a CareAssessmentStarted message from a plain object. Also converts values to their respective internal types.
|
|
71283
|
+
* @param object Plain object
|
|
71284
|
+
* @returns CareAssessmentStarted
|
|
71285
|
+
*/
|
|
71286
|
+
static fromObject(object: { [k: string]: any }): CareAssessmentStarted;
|
|
71287
|
+
|
|
71288
|
+
/**
|
|
71289
|
+
* Creates a plain object from a CareAssessmentStarted message. Also converts values to other types if specified.
|
|
71290
|
+
* @param message CareAssessmentStarted
|
|
71291
|
+
* @param [options] Conversion options
|
|
71292
|
+
* @returns Plain object
|
|
71293
|
+
*/
|
|
71294
|
+
static toObject(message: CareAssessmentStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
71295
|
+
|
|
71296
|
+
/**
|
|
71297
|
+
* Converts this CareAssessmentStarted to JSON.
|
|
71298
|
+
* @returns JSON object
|
|
71299
|
+
*/
|
|
71300
|
+
toJSON(): { [k: string]: any };
|
|
71301
|
+
|
|
71302
|
+
/**
|
|
71303
|
+
* Gets the type url for CareAssessmentStarted
|
|
71304
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
71305
|
+
* @returns The type url
|
|
71306
|
+
*/
|
|
71307
|
+
static getTypeUrl(prefix?: string): string;
|
|
71308
|
+
}
|
|
71309
|
+
|
|
71310
|
+
export namespace CareAssessmentStarted {
|
|
71311
|
+
|
|
71312
|
+
/** Properties of a CareAssessmentStarted. */
|
|
71313
|
+
interface $Properties {
|
|
71314
|
+
|
|
71315
|
+
/** CareAssessmentStarted timestamp */
|
|
71316
|
+
timestamp?: (number|Long|null);
|
|
71317
|
+
|
|
71318
|
+
/** CareAssessmentStarted careAssessmentType */
|
|
71319
|
+
careAssessmentType?: (CareAssessmentType|null);
|
|
71320
|
+
|
|
71321
|
+
/** CareAssessmentStarted hsUserId */
|
|
71322
|
+
hsUserId?: (string|null);
|
|
71323
|
+
|
|
71324
|
+
/** CareAssessmentStarted gingerUserId */
|
|
71325
|
+
gingerUserId?: (number|null);
|
|
71326
|
+
|
|
71327
|
+
/** CareAssessmentStarted startedAtIsoDate */
|
|
71328
|
+
startedAtIsoDate?: (string|null);
|
|
71329
|
+
|
|
71330
|
+
/** CareAssessmentStarted assignmentId */
|
|
71331
|
+
assignmentId?: (number|Long|null);
|
|
71332
|
+
|
|
71333
|
+
/** CareAssessmentStarted activityId */
|
|
71334
|
+
activityId?: (string|null);
|
|
71335
|
+
|
|
71336
|
+
/** CareAssessmentStarted careAssessmentCadence */
|
|
71337
|
+
careAssessmentCadence?: (CareAssessmentCadence|null);
|
|
71338
|
+
|
|
71339
|
+
/** CareAssessmentStarted assessmentContext */
|
|
71340
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71341
|
+
|
|
71342
|
+
/** Unknown fields preserved while decoding */
|
|
71343
|
+
$unknowns?: Uint8Array[];
|
|
71344
|
+
}
|
|
71345
|
+
|
|
71346
|
+
/** Shape of a CareAssessmentStarted. */
|
|
71347
|
+
type $Shape = CareAssessmentStarted.$Properties;
|
|
71348
|
+
}
|
|
71349
|
+
|
|
71350
|
+
/**
|
|
71351
|
+
* Properties of a CareAssessmentCompleted.
|
|
71352
|
+
* @deprecated Use CareAssessmentCompleted.$Properties instead.
|
|
71353
|
+
*/
|
|
71354
|
+
export interface ICareAssessmentCompleted extends CareAssessmentCompleted.$Properties {
|
|
71355
|
+
}
|
|
71356
|
+
|
|
71357
|
+
/** Represents a CareAssessmentCompleted. */
|
|
71358
|
+
export class CareAssessmentCompleted {
|
|
71359
|
+
|
|
71360
|
+
/**
|
|
71361
|
+
* Constructs a new CareAssessmentCompleted.
|
|
71362
|
+
* @param [properties] Properties to set
|
|
71363
|
+
*/
|
|
71364
|
+
constructor(properties?: CareAssessmentCompleted.$Properties);
|
|
71365
|
+
|
|
71366
|
+
/** Unknown fields preserved while decoding */
|
|
71367
|
+
$unknowns?: Uint8Array[];
|
|
71368
|
+
|
|
71369
|
+
/** CareAssessmentCompleted timestamp. */
|
|
71370
|
+
timestamp: (number|Long);
|
|
71371
|
+
|
|
71372
|
+
/** CareAssessmentCompleted careAssessmentType. */
|
|
71373
|
+
careAssessmentType: CareAssessmentType;
|
|
71374
|
+
|
|
71375
|
+
/** CareAssessmentCompleted hsUserId. */
|
|
71376
|
+
hsUserId: string;
|
|
71377
|
+
|
|
71378
|
+
/** CareAssessmentCompleted gingerUserId. */
|
|
71379
|
+
gingerUserId: number;
|
|
71380
|
+
|
|
71381
|
+
/** CareAssessmentCompleted completedAtIsoDate. */
|
|
71382
|
+
completedAtIsoDate: string;
|
|
71383
|
+
|
|
71384
|
+
/** CareAssessmentCompleted assignmentId. */
|
|
71385
|
+
assignmentId: (number|Long);
|
|
71386
|
+
|
|
71387
|
+
/** CareAssessmentCompleted activityId. */
|
|
71388
|
+
activityId: string;
|
|
71389
|
+
|
|
71390
|
+
/** CareAssessmentCompleted careAssessmentCadence. */
|
|
71391
|
+
careAssessmentCadence: CareAssessmentCadence;
|
|
71392
|
+
|
|
71393
|
+
/** CareAssessmentCompleted assessmentContext. */
|
|
71394
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71395
|
+
|
|
71396
|
+
/** CareAssessmentCompleted responses. */
|
|
71397
|
+
responses: AssessmentQuestionResponse.$Properties[];
|
|
71398
|
+
|
|
71399
|
+
/** CareAssessmentCompleted totalScore. */
|
|
71400
|
+
totalScore: number;
|
|
71401
|
+
|
|
71402
|
+
/**
|
|
71403
|
+
* Creates a new CareAssessmentCompleted instance using the specified properties.
|
|
71404
|
+
* @param [properties] Properties to set
|
|
71405
|
+
* @returns CareAssessmentCompleted instance
|
|
71406
|
+
*/
|
|
71407
|
+
static create(properties: CareAssessmentCompleted.$Shape): CareAssessmentCompleted & CareAssessmentCompleted.$Shape;
|
|
71408
|
+
static create(properties?: CareAssessmentCompleted.$Properties): CareAssessmentCompleted;
|
|
71409
|
+
|
|
71410
|
+
/**
|
|
71411
|
+
* Encodes the specified CareAssessmentCompleted message. Does not implicitly {@link CareAssessmentCompleted.verify|verify} messages.
|
|
71412
|
+
* @param message CareAssessmentCompleted message or plain object to encode
|
|
71413
|
+
* @param [writer] Writer to encode to
|
|
71414
|
+
* @returns Writer
|
|
71415
|
+
*/
|
|
71416
|
+
static encode(message: CareAssessmentCompleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71417
|
+
|
|
71418
|
+
/**
|
|
71419
|
+
* Encodes the specified CareAssessmentCompleted message, length delimited. Does not implicitly {@link CareAssessmentCompleted.verify|verify} messages.
|
|
71420
|
+
* @param message CareAssessmentCompleted message or plain object to encode
|
|
71421
|
+
* @param [writer] Writer to encode to
|
|
71422
|
+
* @returns Writer
|
|
71423
|
+
*/
|
|
71424
|
+
static encodeDelimited(message: CareAssessmentCompleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
71425
|
+
|
|
71426
|
+
/**
|
|
71427
|
+
* Decodes a CareAssessmentCompleted message from the specified reader or buffer.
|
|
71428
|
+
* @param reader Reader or buffer to decode from
|
|
71429
|
+
* @param [length] Message length if known beforehand
|
|
71430
|
+
* @returns {CareAssessmentCompleted & CareAssessmentCompleted.$Shape} CareAssessmentCompleted
|
|
71431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71433
|
+
*/
|
|
71434
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CareAssessmentCompleted & CareAssessmentCompleted.$Shape;
|
|
71435
|
+
|
|
71436
|
+
/**
|
|
71437
|
+
* Decodes a CareAssessmentCompleted message from the specified reader or buffer, length delimited.
|
|
71438
|
+
* @param reader Reader or buffer to decode from
|
|
71439
|
+
* @returns {CareAssessmentCompleted & CareAssessmentCompleted.$Shape} CareAssessmentCompleted
|
|
71440
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
71441
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
71442
|
+
*/
|
|
71443
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CareAssessmentCompleted & CareAssessmentCompleted.$Shape;
|
|
71444
|
+
|
|
71445
|
+
/**
|
|
71446
|
+
* Verifies a CareAssessmentCompleted message.
|
|
71447
|
+
* @param message Plain object to verify
|
|
71448
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
71449
|
+
*/
|
|
71450
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
71451
|
+
|
|
71452
|
+
/**
|
|
71453
|
+
* Creates a CareAssessmentCompleted message from a plain object. Also converts values to their respective internal types.
|
|
71454
|
+
* @param object Plain object
|
|
71455
|
+
* @returns CareAssessmentCompleted
|
|
71456
|
+
*/
|
|
71457
|
+
static fromObject(object: { [k: string]: any }): CareAssessmentCompleted;
|
|
71458
|
+
|
|
71459
|
+
/**
|
|
71460
|
+
* Creates a plain object from a CareAssessmentCompleted message. Also converts values to other types if specified.
|
|
71461
|
+
* @param message CareAssessmentCompleted
|
|
71462
|
+
* @param [options] Conversion options
|
|
71463
|
+
* @returns Plain object
|
|
71464
|
+
*/
|
|
71465
|
+
static toObject(message: CareAssessmentCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
71466
|
+
|
|
71467
|
+
/**
|
|
71468
|
+
* Converts this CareAssessmentCompleted to JSON.
|
|
71469
|
+
* @returns JSON object
|
|
71470
|
+
*/
|
|
71471
|
+
toJSON(): { [k: string]: any };
|
|
71472
|
+
|
|
71473
|
+
/**
|
|
71474
|
+
* Gets the type url for CareAssessmentCompleted
|
|
71475
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
71476
|
+
* @returns The type url
|
|
71477
|
+
*/
|
|
71478
|
+
static getTypeUrl(prefix?: string): string;
|
|
71479
|
+
}
|
|
71480
|
+
|
|
71481
|
+
export namespace CareAssessmentCompleted {
|
|
71482
|
+
|
|
71483
|
+
/** Properties of a CareAssessmentCompleted. */
|
|
71484
|
+
interface $Properties {
|
|
71485
|
+
|
|
71486
|
+
/** CareAssessmentCompleted timestamp */
|
|
71487
|
+
timestamp?: (number|Long|null);
|
|
71488
|
+
|
|
71489
|
+
/** CareAssessmentCompleted careAssessmentType */
|
|
71490
|
+
careAssessmentType?: (CareAssessmentType|null);
|
|
71491
|
+
|
|
71492
|
+
/** CareAssessmentCompleted hsUserId */
|
|
71493
|
+
hsUserId?: (string|null);
|
|
71494
|
+
|
|
71495
|
+
/** CareAssessmentCompleted gingerUserId */
|
|
71496
|
+
gingerUserId?: (number|null);
|
|
71497
|
+
|
|
71498
|
+
/** CareAssessmentCompleted completedAtIsoDate */
|
|
71499
|
+
completedAtIsoDate?: (string|null);
|
|
71500
|
+
|
|
71501
|
+
/** CareAssessmentCompleted assignmentId */
|
|
71502
|
+
assignmentId?: (number|Long|null);
|
|
71503
|
+
|
|
71504
|
+
/** CareAssessmentCompleted activityId */
|
|
71505
|
+
activityId?: (string|null);
|
|
71506
|
+
|
|
71507
|
+
/** CareAssessmentCompleted careAssessmentCadence */
|
|
71508
|
+
careAssessmentCadence?: (CareAssessmentCadence|null);
|
|
71509
|
+
|
|
71510
|
+
/** CareAssessmentCompleted assessmentContext */
|
|
71511
|
+
assessmentContext?: (CareAssessmentContext|null);
|
|
71512
|
+
|
|
71513
|
+
/** CareAssessmentCompleted responses */
|
|
71514
|
+
responses?: (AssessmentQuestionResponse.$Properties[]|null);
|
|
71515
|
+
|
|
71516
|
+
/** CareAssessmentCompleted totalScore */
|
|
71517
|
+
totalScore?: (number|null);
|
|
71518
|
+
|
|
71519
|
+
/** Unknown fields preserved while decoding */
|
|
71520
|
+
$unknowns?: Uint8Array[];
|
|
71521
|
+
}
|
|
71522
|
+
|
|
71523
|
+
/** Shape of a CareAssessmentCompleted. */
|
|
71524
|
+
type $Shape = CareAssessmentCompleted.$Properties;
|
|
71525
|
+
}
|
|
71526
|
+
|
|
70840
71527
|
/**
|
|
70841
71528
|
* Properties of a ClinicalIntakeAssigned.
|
|
70842
71529
|
* @deprecated Use ClinicalIntakeAssigned.$Properties instead.
|