@headspace/protos-events 1.690.0 → 1.692.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +12 -216
  2. package/lib/index.js +72 -522
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -34084,222 +34084,6 @@ export class DiscussionPostCreated implements IDiscussionPostCreated {
34084
34084
  public toJSON(): { [k: string]: any };
34085
34085
  }
34086
34086
 
34087
- /** Properties of an ElfProcessingStarted. */
34088
- export interface IElfProcessingStarted {
34089
-
34090
- /** ElfProcessingStarted s3Bucket */
34091
- s3Bucket?: (string|null);
34092
-
34093
- /** ElfProcessingStarted s3Key */
34094
- s3Key?: (string|null);
34095
-
34096
- /** ElfProcessingStarted importedAtTimestamp */
34097
- importedAtTimestamp?: (number|Long|null);
34098
-
34099
- /** ElfProcessingStarted orgId */
34100
- orgId?: (number|null);
34101
- }
34102
-
34103
- /** Represents an ElfProcessingStarted. */
34104
- export class ElfProcessingStarted implements IElfProcessingStarted {
34105
-
34106
- /**
34107
- * Constructs a new ElfProcessingStarted.
34108
- * @param [properties] Properties to set
34109
- */
34110
- constructor(properties?: IElfProcessingStarted);
34111
-
34112
- /** ElfProcessingStarted s3Bucket. */
34113
- public s3Bucket: string;
34114
-
34115
- /** ElfProcessingStarted s3Key. */
34116
- public s3Key: string;
34117
-
34118
- /** ElfProcessingStarted importedAtTimestamp. */
34119
- public importedAtTimestamp: (number|Long);
34120
-
34121
- /** ElfProcessingStarted orgId. */
34122
- public orgId: number;
34123
-
34124
- /**
34125
- * Creates a new ElfProcessingStarted instance using the specified properties.
34126
- * @param [properties] Properties to set
34127
- * @returns ElfProcessingStarted instance
34128
- */
34129
- public static create(properties?: IElfProcessingStarted): ElfProcessingStarted;
34130
-
34131
- /**
34132
- * Encodes the specified ElfProcessingStarted message. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
34133
- * @param message ElfProcessingStarted message or plain object to encode
34134
- * @param [writer] Writer to encode to
34135
- * @returns Writer
34136
- */
34137
- public static encode(message: IElfProcessingStarted, writer?: $protobuf.Writer): $protobuf.Writer;
34138
-
34139
- /**
34140
- * Encodes the specified ElfProcessingStarted message, length delimited. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
34141
- * @param message ElfProcessingStarted message or plain object to encode
34142
- * @param [writer] Writer to encode to
34143
- * @returns Writer
34144
- */
34145
- public static encodeDelimited(message: IElfProcessingStarted, writer?: $protobuf.Writer): $protobuf.Writer;
34146
-
34147
- /**
34148
- * Decodes an ElfProcessingStarted message from the specified reader or buffer.
34149
- * @param reader Reader or buffer to decode from
34150
- * @param [length] Message length if known beforehand
34151
- * @returns ElfProcessingStarted
34152
- * @throws {Error} If the payload is not a reader or valid buffer
34153
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34154
- */
34155
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfProcessingStarted;
34156
-
34157
- /**
34158
- * Decodes an ElfProcessingStarted message from the specified reader or buffer, length delimited.
34159
- * @param reader Reader or buffer to decode from
34160
- * @returns ElfProcessingStarted
34161
- * @throws {Error} If the payload is not a reader or valid buffer
34162
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34163
- */
34164
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfProcessingStarted;
34165
-
34166
- /**
34167
- * Verifies an ElfProcessingStarted message.
34168
- * @param message Plain object to verify
34169
- * @returns `null` if valid, otherwise the reason why it is not
34170
- */
34171
- public static verify(message: { [k: string]: any }): (string|null);
34172
-
34173
- /**
34174
- * Creates an ElfProcessingStarted message from a plain object. Also converts values to their respective internal types.
34175
- * @param object Plain object
34176
- * @returns ElfProcessingStarted
34177
- */
34178
- public static fromObject(object: { [k: string]: any }): ElfProcessingStarted;
34179
-
34180
- /**
34181
- * Creates a plain object from an ElfProcessingStarted message. Also converts values to other types if specified.
34182
- * @param message ElfProcessingStarted
34183
- * @param [options] Conversion options
34184
- * @returns Plain object
34185
- */
34186
- public static toObject(message: ElfProcessingStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
34187
-
34188
- /**
34189
- * Converts this ElfProcessingStarted to JSON.
34190
- * @returns JSON object
34191
- */
34192
- public toJSON(): { [k: string]: any };
34193
- }
34194
-
34195
- /** Properties of an ElfProcessingCanceled. */
34196
- export interface IElfProcessingCanceled {
34197
-
34198
- /** ElfProcessingCanceled s3Bucket */
34199
- s3Bucket?: (string|null);
34200
-
34201
- /** ElfProcessingCanceled s3Key */
34202
- s3Key?: (string|null);
34203
-
34204
- /** ElfProcessingCanceled orgId */
34205
- orgId?: (number|null);
34206
-
34207
- /** ElfProcessingCanceled message */
34208
- message?: (string|null);
34209
- }
34210
-
34211
- /** Represents an ElfProcessingCanceled. */
34212
- export class ElfProcessingCanceled implements IElfProcessingCanceled {
34213
-
34214
- /**
34215
- * Constructs a new ElfProcessingCanceled.
34216
- * @param [properties] Properties to set
34217
- */
34218
- constructor(properties?: IElfProcessingCanceled);
34219
-
34220
- /** ElfProcessingCanceled s3Bucket. */
34221
- public s3Bucket: string;
34222
-
34223
- /** ElfProcessingCanceled s3Key. */
34224
- public s3Key: string;
34225
-
34226
- /** ElfProcessingCanceled orgId. */
34227
- public orgId: number;
34228
-
34229
- /** ElfProcessingCanceled message. */
34230
- public message: string;
34231
-
34232
- /**
34233
- * Creates a new ElfProcessingCanceled instance using the specified properties.
34234
- * @param [properties] Properties to set
34235
- * @returns ElfProcessingCanceled instance
34236
- */
34237
- public static create(properties?: IElfProcessingCanceled): ElfProcessingCanceled;
34238
-
34239
- /**
34240
- * Encodes the specified ElfProcessingCanceled message. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
34241
- * @param message ElfProcessingCanceled message or plain object to encode
34242
- * @param [writer] Writer to encode to
34243
- * @returns Writer
34244
- */
34245
- public static encode(message: IElfProcessingCanceled, writer?: $protobuf.Writer): $protobuf.Writer;
34246
-
34247
- /**
34248
- * Encodes the specified ElfProcessingCanceled message, length delimited. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
34249
- * @param message ElfProcessingCanceled message or plain object to encode
34250
- * @param [writer] Writer to encode to
34251
- * @returns Writer
34252
- */
34253
- public static encodeDelimited(message: IElfProcessingCanceled, writer?: $protobuf.Writer): $protobuf.Writer;
34254
-
34255
- /**
34256
- * Decodes an ElfProcessingCanceled message from the specified reader or buffer.
34257
- * @param reader Reader or buffer to decode from
34258
- * @param [length] Message length if known beforehand
34259
- * @returns ElfProcessingCanceled
34260
- * @throws {Error} If the payload is not a reader or valid buffer
34261
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34262
- */
34263
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ElfProcessingCanceled;
34264
-
34265
- /**
34266
- * Decodes an ElfProcessingCanceled message from the specified reader or buffer, length delimited.
34267
- * @param reader Reader or buffer to decode from
34268
- * @returns ElfProcessingCanceled
34269
- * @throws {Error} If the payload is not a reader or valid buffer
34270
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34271
- */
34272
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ElfProcessingCanceled;
34273
-
34274
- /**
34275
- * Verifies an ElfProcessingCanceled message.
34276
- * @param message Plain object to verify
34277
- * @returns `null` if valid, otherwise the reason why it is not
34278
- */
34279
- public static verify(message: { [k: string]: any }): (string|null);
34280
-
34281
- /**
34282
- * Creates an ElfProcessingCanceled message from a plain object. Also converts values to their respective internal types.
34283
- * @param object Plain object
34284
- * @returns ElfProcessingCanceled
34285
- */
34286
- public static fromObject(object: { [k: string]: any }): ElfProcessingCanceled;
34287
-
34288
- /**
34289
- * Creates a plain object from an ElfProcessingCanceled message. Also converts values to other types if specified.
34290
- * @param message ElfProcessingCanceled
34291
- * @param [options] Conversion options
34292
- * @returns Plain object
34293
- */
34294
- public static toObject(message: ElfProcessingCanceled, options?: $protobuf.IConversionOptions): { [k: string]: any };
34295
-
34296
- /**
34297
- * Converts this ElfProcessingCanceled to JSON.
34298
- * @returns JSON object
34299
- */
34300
- public toJSON(): { [k: string]: any };
34301
- }
34302
-
34303
34087
  /** Properties of an ElfNormalizationJobCompleted. */
34304
34088
  export interface IElfNormalizationJobCompleted {
34305
34089
 
@@ -58600,6 +58384,12 @@ export namespace coaching {
58600
58384
 
58601
58385
  /** The medium format of the session. */
58602
58386
  sessionFormat?: (coaching.CoachingSessionFormat|null);
58387
+
58388
+ /** ScheduledCoachingSession engagedAt */
58389
+ engagedAt?: (number|Long|null);
58390
+
58391
+ /** ScheduledCoachingSession closedAt */
58392
+ closedAt?: (number|Long|null);
58603
58393
  }
58604
58394
 
58605
58395
  /**
@@ -58674,6 +58464,12 @@ export namespace coaching {
58674
58464
  /** The medium format of the session. */
58675
58465
  public sessionFormat: coaching.CoachingSessionFormat;
58676
58466
 
58467
+ /** ScheduledCoachingSession engagedAt. */
58468
+ public engagedAt: (number|Long);
58469
+
58470
+ /** ScheduledCoachingSession closedAt. */
58471
+ public closedAt: (number|Long);
58472
+
58677
58473
  /**
58678
58474
  * Creates a new ScheduledCoachingSession instance using the specified properties.
58679
58475
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -95963,528 +95963,6 @@ $root.DiscussionPostCreated = (function() {
95963
95963
  return DiscussionPostCreated;
95964
95964
  })();
95965
95965
 
95966
- $root.ElfProcessingStarted = (function() {
95967
-
95968
- /**
95969
- * Properties of an ElfProcessingStarted.
95970
- * @name IElfProcessingStarted
95971
- * @interface IElfProcessingStarted
95972
- * @property {string|null} [s3Bucket] ElfProcessingStarted s3Bucket
95973
- * @property {string|null} [s3Key] ElfProcessingStarted s3Key
95974
- * @property {number|Long|null} [importedAtTimestamp] ElfProcessingStarted importedAtTimestamp
95975
- * @property {number|null} [orgId] ElfProcessingStarted orgId
95976
- */
95977
-
95978
- /**
95979
- * Constructs a new ElfProcessingStarted.
95980
- * @name ElfProcessingStarted
95981
- * @classdesc Represents an ElfProcessingStarted.
95982
- * @implements IElfProcessingStarted
95983
- * @constructor
95984
- * @param {IElfProcessingStarted=} [properties] Properties to set
95985
- */
95986
- function ElfProcessingStarted(properties) {
95987
- if (properties)
95988
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
95989
- if (properties[keys[i]] != null)
95990
- this[keys[i]] = properties[keys[i]];
95991
- }
95992
-
95993
- /**
95994
- * ElfProcessingStarted s3Bucket.
95995
- * @member {string} s3Bucket
95996
- * @memberof ElfProcessingStarted
95997
- * @instance
95998
- */
95999
- ElfProcessingStarted.prototype.s3Bucket = "";
96000
-
96001
- /**
96002
- * ElfProcessingStarted s3Key.
96003
- * @member {string} s3Key
96004
- * @memberof ElfProcessingStarted
96005
- * @instance
96006
- */
96007
- ElfProcessingStarted.prototype.s3Key = "";
96008
-
96009
- /**
96010
- * ElfProcessingStarted importedAtTimestamp.
96011
- * @member {number|Long} importedAtTimestamp
96012
- * @memberof ElfProcessingStarted
96013
- * @instance
96014
- */
96015
- ElfProcessingStarted.prototype.importedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
96016
-
96017
- /**
96018
- * ElfProcessingStarted orgId.
96019
- * @member {number} orgId
96020
- * @memberof ElfProcessingStarted
96021
- * @instance
96022
- */
96023
- ElfProcessingStarted.prototype.orgId = 0;
96024
-
96025
- /**
96026
- * Creates a new ElfProcessingStarted instance using the specified properties.
96027
- * @function create
96028
- * @memberof ElfProcessingStarted
96029
- * @static
96030
- * @param {IElfProcessingStarted=} [properties] Properties to set
96031
- * @returns {ElfProcessingStarted} ElfProcessingStarted instance
96032
- */
96033
- ElfProcessingStarted.create = function create(properties) {
96034
- return new ElfProcessingStarted(properties);
96035
- };
96036
-
96037
- /**
96038
- * Encodes the specified ElfProcessingStarted message. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
96039
- * @function encode
96040
- * @memberof ElfProcessingStarted
96041
- * @static
96042
- * @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
96043
- * @param {$protobuf.Writer} [writer] Writer to encode to
96044
- * @returns {$protobuf.Writer} Writer
96045
- */
96046
- ElfProcessingStarted.encode = function encode(message, writer) {
96047
- if (!writer)
96048
- writer = $Writer.create();
96049
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96050
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
96051
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96052
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
96053
- if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
96054
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.importedAtTimestamp);
96055
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96056
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.orgId);
96057
- return writer;
96058
- };
96059
-
96060
- /**
96061
- * Encodes the specified ElfProcessingStarted message, length delimited. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
96062
- * @function encodeDelimited
96063
- * @memberof ElfProcessingStarted
96064
- * @static
96065
- * @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
96066
- * @param {$protobuf.Writer} [writer] Writer to encode to
96067
- * @returns {$protobuf.Writer} Writer
96068
- */
96069
- ElfProcessingStarted.encodeDelimited = function encodeDelimited(message, writer) {
96070
- return this.encode(message, writer).ldelim();
96071
- };
96072
-
96073
- /**
96074
- * Decodes an ElfProcessingStarted message from the specified reader or buffer.
96075
- * @function decode
96076
- * @memberof ElfProcessingStarted
96077
- * @static
96078
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96079
- * @param {number} [length] Message length if known beforehand
96080
- * @returns {ElfProcessingStarted} ElfProcessingStarted
96081
- * @throws {Error} If the payload is not a reader or valid buffer
96082
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
96083
- */
96084
- ElfProcessingStarted.decode = function decode(reader, length) {
96085
- if (!(reader instanceof $Reader))
96086
- reader = $Reader.create(reader);
96087
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingStarted();
96088
- while (reader.pos < end) {
96089
- var tag = reader.uint32();
96090
- switch (tag >>> 3) {
96091
- case 1:
96092
- message.s3Bucket = reader.string();
96093
- break;
96094
- case 2:
96095
- message.s3Key = reader.string();
96096
- break;
96097
- case 3:
96098
- message.importedAtTimestamp = reader.uint64();
96099
- break;
96100
- case 4:
96101
- message.orgId = reader.int32();
96102
- break;
96103
- default:
96104
- reader.skipType(tag & 7);
96105
- break;
96106
- }
96107
- }
96108
- return message;
96109
- };
96110
-
96111
- /**
96112
- * Decodes an ElfProcessingStarted message from the specified reader or buffer, length delimited.
96113
- * @function decodeDelimited
96114
- * @memberof ElfProcessingStarted
96115
- * @static
96116
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96117
- * @returns {ElfProcessingStarted} ElfProcessingStarted
96118
- * @throws {Error} If the payload is not a reader or valid buffer
96119
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
96120
- */
96121
- ElfProcessingStarted.decodeDelimited = function decodeDelimited(reader) {
96122
- if (!(reader instanceof $Reader))
96123
- reader = new $Reader(reader);
96124
- return this.decode(reader, reader.uint32());
96125
- };
96126
-
96127
- /**
96128
- * Verifies an ElfProcessingStarted message.
96129
- * @function verify
96130
- * @memberof ElfProcessingStarted
96131
- * @static
96132
- * @param {Object.<string,*>} message Plain object to verify
96133
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
96134
- */
96135
- ElfProcessingStarted.verify = function verify(message) {
96136
- if (typeof message !== "object" || message === null)
96137
- return "object expected";
96138
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96139
- if (!$util.isString(message.s3Bucket))
96140
- return "s3Bucket: string expected";
96141
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96142
- if (!$util.isString(message.s3Key))
96143
- return "s3Key: string expected";
96144
- if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
96145
- if (!$util.isInteger(message.importedAtTimestamp) && !(message.importedAtTimestamp && $util.isInteger(message.importedAtTimestamp.low) && $util.isInteger(message.importedAtTimestamp.high)))
96146
- return "importedAtTimestamp: integer|Long expected";
96147
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96148
- if (!$util.isInteger(message.orgId))
96149
- return "orgId: integer expected";
96150
- return null;
96151
- };
96152
-
96153
- /**
96154
- * Creates an ElfProcessingStarted message from a plain object. Also converts values to their respective internal types.
96155
- * @function fromObject
96156
- * @memberof ElfProcessingStarted
96157
- * @static
96158
- * @param {Object.<string,*>} object Plain object
96159
- * @returns {ElfProcessingStarted} ElfProcessingStarted
96160
- */
96161
- ElfProcessingStarted.fromObject = function fromObject(object) {
96162
- if (object instanceof $root.ElfProcessingStarted)
96163
- return object;
96164
- var message = new $root.ElfProcessingStarted();
96165
- if (object.s3Bucket != null)
96166
- message.s3Bucket = String(object.s3Bucket);
96167
- if (object.s3Key != null)
96168
- message.s3Key = String(object.s3Key);
96169
- if (object.importedAtTimestamp != null)
96170
- if ($util.Long)
96171
- (message.importedAtTimestamp = $util.Long.fromValue(object.importedAtTimestamp)).unsigned = true;
96172
- else if (typeof object.importedAtTimestamp === "string")
96173
- message.importedAtTimestamp = parseInt(object.importedAtTimestamp, 10);
96174
- else if (typeof object.importedAtTimestamp === "number")
96175
- message.importedAtTimestamp = object.importedAtTimestamp;
96176
- else if (typeof object.importedAtTimestamp === "object")
96177
- message.importedAtTimestamp = new $util.LongBits(object.importedAtTimestamp.low >>> 0, object.importedAtTimestamp.high >>> 0).toNumber(true);
96178
- if (object.orgId != null)
96179
- message.orgId = object.orgId | 0;
96180
- return message;
96181
- };
96182
-
96183
- /**
96184
- * Creates a plain object from an ElfProcessingStarted message. Also converts values to other types if specified.
96185
- * @function toObject
96186
- * @memberof ElfProcessingStarted
96187
- * @static
96188
- * @param {ElfProcessingStarted} message ElfProcessingStarted
96189
- * @param {$protobuf.IConversionOptions} [options] Conversion options
96190
- * @returns {Object.<string,*>} Plain object
96191
- */
96192
- ElfProcessingStarted.toObject = function toObject(message, options) {
96193
- if (!options)
96194
- options = {};
96195
- var object = {};
96196
- if (options.defaults) {
96197
- object.s3Bucket = "";
96198
- object.s3Key = "";
96199
- if ($util.Long) {
96200
- var long = new $util.Long(0, 0, true);
96201
- object.importedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
96202
- } else
96203
- object.importedAtTimestamp = options.longs === String ? "0" : 0;
96204
- object.orgId = 0;
96205
- }
96206
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96207
- object.s3Bucket = message.s3Bucket;
96208
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96209
- object.s3Key = message.s3Key;
96210
- if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
96211
- if (typeof message.importedAtTimestamp === "number")
96212
- object.importedAtTimestamp = options.longs === String ? String(message.importedAtTimestamp) : message.importedAtTimestamp;
96213
- else
96214
- object.importedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.importedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.importedAtTimestamp.low >>> 0, message.importedAtTimestamp.high >>> 0).toNumber(true) : message.importedAtTimestamp;
96215
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96216
- object.orgId = message.orgId;
96217
- return object;
96218
- };
96219
-
96220
- /**
96221
- * Converts this ElfProcessingStarted to JSON.
96222
- * @function toJSON
96223
- * @memberof ElfProcessingStarted
96224
- * @instance
96225
- * @returns {Object.<string,*>} JSON object
96226
- */
96227
- ElfProcessingStarted.prototype.toJSON = function toJSON() {
96228
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
96229
- };
96230
-
96231
- return ElfProcessingStarted;
96232
- })();
96233
-
96234
- $root.ElfProcessingCanceled = (function() {
96235
-
96236
- /**
96237
- * Properties of an ElfProcessingCanceled.
96238
- * @name IElfProcessingCanceled
96239
- * @interface IElfProcessingCanceled
96240
- * @property {string|null} [s3Bucket] ElfProcessingCanceled s3Bucket
96241
- * @property {string|null} [s3Key] ElfProcessingCanceled s3Key
96242
- * @property {number|null} [orgId] ElfProcessingCanceled orgId
96243
- * @property {string|null} [message] ElfProcessingCanceled message
96244
- */
96245
-
96246
- /**
96247
- * Constructs a new ElfProcessingCanceled.
96248
- * @name ElfProcessingCanceled
96249
- * @classdesc Represents an ElfProcessingCanceled.
96250
- * @implements IElfProcessingCanceled
96251
- * @constructor
96252
- * @param {IElfProcessingCanceled=} [properties] Properties to set
96253
- */
96254
- function ElfProcessingCanceled(properties) {
96255
- if (properties)
96256
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
96257
- if (properties[keys[i]] != null)
96258
- this[keys[i]] = properties[keys[i]];
96259
- }
96260
-
96261
- /**
96262
- * ElfProcessingCanceled s3Bucket.
96263
- * @member {string} s3Bucket
96264
- * @memberof ElfProcessingCanceled
96265
- * @instance
96266
- */
96267
- ElfProcessingCanceled.prototype.s3Bucket = "";
96268
-
96269
- /**
96270
- * ElfProcessingCanceled s3Key.
96271
- * @member {string} s3Key
96272
- * @memberof ElfProcessingCanceled
96273
- * @instance
96274
- */
96275
- ElfProcessingCanceled.prototype.s3Key = "";
96276
-
96277
- /**
96278
- * ElfProcessingCanceled orgId.
96279
- * @member {number} orgId
96280
- * @memberof ElfProcessingCanceled
96281
- * @instance
96282
- */
96283
- ElfProcessingCanceled.prototype.orgId = 0;
96284
-
96285
- /**
96286
- * ElfProcessingCanceled message.
96287
- * @member {string} message
96288
- * @memberof ElfProcessingCanceled
96289
- * @instance
96290
- */
96291
- ElfProcessingCanceled.prototype.message = "";
96292
-
96293
- /**
96294
- * Creates a new ElfProcessingCanceled instance using the specified properties.
96295
- * @function create
96296
- * @memberof ElfProcessingCanceled
96297
- * @static
96298
- * @param {IElfProcessingCanceled=} [properties] Properties to set
96299
- * @returns {ElfProcessingCanceled} ElfProcessingCanceled instance
96300
- */
96301
- ElfProcessingCanceled.create = function create(properties) {
96302
- return new ElfProcessingCanceled(properties);
96303
- };
96304
-
96305
- /**
96306
- * Encodes the specified ElfProcessingCanceled message. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
96307
- * @function encode
96308
- * @memberof ElfProcessingCanceled
96309
- * @static
96310
- * @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
96311
- * @param {$protobuf.Writer} [writer] Writer to encode to
96312
- * @returns {$protobuf.Writer} Writer
96313
- */
96314
- ElfProcessingCanceled.encode = function encode(message, writer) {
96315
- if (!writer)
96316
- writer = $Writer.create();
96317
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96318
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
96319
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96320
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
96321
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96322
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.orgId);
96323
- if (message.message != null && message.hasOwnProperty("message"))
96324
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.message);
96325
- return writer;
96326
- };
96327
-
96328
- /**
96329
- * Encodes the specified ElfProcessingCanceled message, length delimited. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
96330
- * @function encodeDelimited
96331
- * @memberof ElfProcessingCanceled
96332
- * @static
96333
- * @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
96334
- * @param {$protobuf.Writer} [writer] Writer to encode to
96335
- * @returns {$protobuf.Writer} Writer
96336
- */
96337
- ElfProcessingCanceled.encodeDelimited = function encodeDelimited(message, writer) {
96338
- return this.encode(message, writer).ldelim();
96339
- };
96340
-
96341
- /**
96342
- * Decodes an ElfProcessingCanceled message from the specified reader or buffer.
96343
- * @function decode
96344
- * @memberof ElfProcessingCanceled
96345
- * @static
96346
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96347
- * @param {number} [length] Message length if known beforehand
96348
- * @returns {ElfProcessingCanceled} ElfProcessingCanceled
96349
- * @throws {Error} If the payload is not a reader or valid buffer
96350
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
96351
- */
96352
- ElfProcessingCanceled.decode = function decode(reader, length) {
96353
- if (!(reader instanceof $Reader))
96354
- reader = $Reader.create(reader);
96355
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingCanceled();
96356
- while (reader.pos < end) {
96357
- var tag = reader.uint32();
96358
- switch (tag >>> 3) {
96359
- case 1:
96360
- message.s3Bucket = reader.string();
96361
- break;
96362
- case 2:
96363
- message.s3Key = reader.string();
96364
- break;
96365
- case 3:
96366
- message.orgId = reader.int32();
96367
- break;
96368
- case 4:
96369
- message.message = reader.string();
96370
- break;
96371
- default:
96372
- reader.skipType(tag & 7);
96373
- break;
96374
- }
96375
- }
96376
- return message;
96377
- };
96378
-
96379
- /**
96380
- * Decodes an ElfProcessingCanceled message from the specified reader or buffer, length delimited.
96381
- * @function decodeDelimited
96382
- * @memberof ElfProcessingCanceled
96383
- * @static
96384
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96385
- * @returns {ElfProcessingCanceled} ElfProcessingCanceled
96386
- * @throws {Error} If the payload is not a reader or valid buffer
96387
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
96388
- */
96389
- ElfProcessingCanceled.decodeDelimited = function decodeDelimited(reader) {
96390
- if (!(reader instanceof $Reader))
96391
- reader = new $Reader(reader);
96392
- return this.decode(reader, reader.uint32());
96393
- };
96394
-
96395
- /**
96396
- * Verifies an ElfProcessingCanceled message.
96397
- * @function verify
96398
- * @memberof ElfProcessingCanceled
96399
- * @static
96400
- * @param {Object.<string,*>} message Plain object to verify
96401
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
96402
- */
96403
- ElfProcessingCanceled.verify = function verify(message) {
96404
- if (typeof message !== "object" || message === null)
96405
- return "object expected";
96406
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96407
- if (!$util.isString(message.s3Bucket))
96408
- return "s3Bucket: string expected";
96409
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96410
- if (!$util.isString(message.s3Key))
96411
- return "s3Key: string expected";
96412
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96413
- if (!$util.isInteger(message.orgId))
96414
- return "orgId: integer expected";
96415
- if (message.message != null && message.hasOwnProperty("message"))
96416
- if (!$util.isString(message.message))
96417
- return "message: string expected";
96418
- return null;
96419
- };
96420
-
96421
- /**
96422
- * Creates an ElfProcessingCanceled message from a plain object. Also converts values to their respective internal types.
96423
- * @function fromObject
96424
- * @memberof ElfProcessingCanceled
96425
- * @static
96426
- * @param {Object.<string,*>} object Plain object
96427
- * @returns {ElfProcessingCanceled} ElfProcessingCanceled
96428
- */
96429
- ElfProcessingCanceled.fromObject = function fromObject(object) {
96430
- if (object instanceof $root.ElfProcessingCanceled)
96431
- return object;
96432
- var message = new $root.ElfProcessingCanceled();
96433
- if (object.s3Bucket != null)
96434
- message.s3Bucket = String(object.s3Bucket);
96435
- if (object.s3Key != null)
96436
- message.s3Key = String(object.s3Key);
96437
- if (object.orgId != null)
96438
- message.orgId = object.orgId | 0;
96439
- if (object.message != null)
96440
- message.message = String(object.message);
96441
- return message;
96442
- };
96443
-
96444
- /**
96445
- * Creates a plain object from an ElfProcessingCanceled message. Also converts values to other types if specified.
96446
- * @function toObject
96447
- * @memberof ElfProcessingCanceled
96448
- * @static
96449
- * @param {ElfProcessingCanceled} message ElfProcessingCanceled
96450
- * @param {$protobuf.IConversionOptions} [options] Conversion options
96451
- * @returns {Object.<string,*>} Plain object
96452
- */
96453
- ElfProcessingCanceled.toObject = function toObject(message, options) {
96454
- if (!options)
96455
- options = {};
96456
- var object = {};
96457
- if (options.defaults) {
96458
- object.s3Bucket = "";
96459
- object.s3Key = "";
96460
- object.orgId = 0;
96461
- object.message = "";
96462
- }
96463
- if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
96464
- object.s3Bucket = message.s3Bucket;
96465
- if (message.s3Key != null && message.hasOwnProperty("s3Key"))
96466
- object.s3Key = message.s3Key;
96467
- if (message.orgId != null && message.hasOwnProperty("orgId"))
96468
- object.orgId = message.orgId;
96469
- if (message.message != null && message.hasOwnProperty("message"))
96470
- object.message = message.message;
96471
- return object;
96472
- };
96473
-
96474
- /**
96475
- * Converts this ElfProcessingCanceled to JSON.
96476
- * @function toJSON
96477
- * @memberof ElfProcessingCanceled
96478
- * @instance
96479
- * @returns {Object.<string,*>} JSON object
96480
- */
96481
- ElfProcessingCanceled.prototype.toJSON = function toJSON() {
96482
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
96483
- };
96484
-
96485
- return ElfProcessingCanceled;
96486
- })();
96487
-
96488
95966
  $root.ElfNormalizationJobCompleted = (function() {
96489
95967
 
96490
95968
  /**
@@ -168357,6 +167835,8 @@ $root.coaching = (function() {
168357
167835
  * @property {string|null} [chatConversationId] A conversation between a Listener and a Caller is represented by a unique ChatConversation
168358
167836
  * See apps.listenerapp.models.ChatConversation
168359
167837
  * @property {coaching.CoachingSessionFormat|null} [sessionFormat] The medium format of the session.
167838
+ * @property {number|Long|null} [engagedAt] ScheduledCoachingSession engagedAt
167839
+ * @property {number|Long|null} [closedAt] ScheduledCoachingSession closedAt
168360
167840
  */
168361
167841
 
168362
167842
  /**
@@ -168501,6 +167981,22 @@ $root.coaching = (function() {
168501
167981
  */
168502
167982
  ScheduledCoachingSession.prototype.sessionFormat = 0;
168503
167983
 
167984
+ /**
167985
+ * ScheduledCoachingSession engagedAt.
167986
+ * @member {number|Long} engagedAt
167987
+ * @memberof coaching.ScheduledCoachingSession
167988
+ * @instance
167989
+ */
167990
+ ScheduledCoachingSession.prototype.engagedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
167991
+
167992
+ /**
167993
+ * ScheduledCoachingSession closedAt.
167994
+ * @member {number|Long} closedAt
167995
+ * @memberof coaching.ScheduledCoachingSession
167996
+ * @instance
167997
+ */
167998
+ ScheduledCoachingSession.prototype.closedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
167999
+
168504
168000
  /**
168505
168001
  * Creates a new ScheduledCoachingSession instance using the specified properties.
168506
168002
  * @function create
@@ -168553,6 +168049,10 @@ $root.coaching = (function() {
168553
168049
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.chatConversationId);
168554
168050
  if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
168555
168051
  writer.uint32(/* id 14, wireType 0 =*/112).int32(message.sessionFormat);
168052
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168053
+ writer.uint32(/* id 15, wireType 0 =*/120).uint64(message.engagedAt);
168054
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168055
+ writer.uint32(/* id 16, wireType 0 =*/128).uint64(message.closedAt);
168556
168056
  return writer;
168557
168057
  };
168558
168058
 
@@ -168629,6 +168129,12 @@ $root.coaching = (function() {
168629
168129
  case 14:
168630
168130
  message.sessionFormat = reader.int32();
168631
168131
  break;
168132
+ case 15:
168133
+ message.engagedAt = reader.uint64();
168134
+ break;
168135
+ case 16:
168136
+ message.closedAt = reader.uint64();
168137
+ break;
168632
168138
  default:
168633
168139
  reader.skipType(tag & 7);
168634
168140
  break;
@@ -168719,6 +168225,12 @@ $root.coaching = (function() {
168719
168225
  case 2:
168720
168226
  break;
168721
168227
  }
168228
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168229
+ if (!$util.isInteger(message.engagedAt) && !(message.engagedAt && $util.isInteger(message.engagedAt.low) && $util.isInteger(message.engagedAt.high)))
168230
+ return "engagedAt: integer|Long expected";
168231
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168232
+ if (!$util.isInteger(message.closedAt) && !(message.closedAt && $util.isInteger(message.closedAt.low) && $util.isInteger(message.closedAt.high)))
168233
+ return "closedAt: integer|Long expected";
168722
168234
  return null;
168723
168235
  };
168724
168236
 
@@ -168825,6 +168337,24 @@ $root.coaching = (function() {
168825
168337
  message.sessionFormat = 2;
168826
168338
  break;
168827
168339
  }
168340
+ if (object.engagedAt != null)
168341
+ if ($util.Long)
168342
+ (message.engagedAt = $util.Long.fromValue(object.engagedAt)).unsigned = true;
168343
+ else if (typeof object.engagedAt === "string")
168344
+ message.engagedAt = parseInt(object.engagedAt, 10);
168345
+ else if (typeof object.engagedAt === "number")
168346
+ message.engagedAt = object.engagedAt;
168347
+ else if (typeof object.engagedAt === "object")
168348
+ message.engagedAt = new $util.LongBits(object.engagedAt.low >>> 0, object.engagedAt.high >>> 0).toNumber(true);
168349
+ if (object.closedAt != null)
168350
+ if ($util.Long)
168351
+ (message.closedAt = $util.Long.fromValue(object.closedAt)).unsigned = true;
168352
+ else if (typeof object.closedAt === "string")
168353
+ message.closedAt = parseInt(object.closedAt, 10);
168354
+ else if (typeof object.closedAt === "number")
168355
+ message.closedAt = object.closedAt;
168356
+ else if (typeof object.closedAt === "object")
168357
+ message.closedAt = new $util.LongBits(object.closedAt.low >>> 0, object.closedAt.high >>> 0).toNumber(true);
168828
168358
  return message;
168829
168359
  };
168830
168360
 
@@ -168876,6 +168406,16 @@ $root.coaching = (function() {
168876
168406
  object.rescheduled = false;
168877
168407
  object.chatConversationId = "";
168878
168408
  object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
168409
+ if ($util.Long) {
168410
+ var long = new $util.Long(0, 0, true);
168411
+ object.engagedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
168412
+ } else
168413
+ object.engagedAt = options.longs === String ? "0" : 0;
168414
+ if ($util.Long) {
168415
+ var long = new $util.Long(0, 0, true);
168416
+ object.closedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
168417
+ } else
168418
+ object.closedAt = options.longs === String ? "0" : 0;
168879
168419
  }
168880
168420
  if (message.id != null && message.hasOwnProperty("id"))
168881
168421
  object.id = message.id;
@@ -168920,6 +168460,16 @@ $root.coaching = (function() {
168920
168460
  object.chatConversationId = message.chatConversationId;
168921
168461
  if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
168922
168462
  object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
168463
+ if (message.engagedAt != null && message.hasOwnProperty("engagedAt"))
168464
+ if (typeof message.engagedAt === "number")
168465
+ object.engagedAt = options.longs === String ? String(message.engagedAt) : message.engagedAt;
168466
+ else
168467
+ 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;
168468
+ if (message.closedAt != null && message.hasOwnProperty("closedAt"))
168469
+ if (typeof message.closedAt === "number")
168470
+ object.closedAt = options.longs === String ? String(message.closedAt) : message.closedAt;
168471
+ else
168472
+ 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;
168923
168473
  return object;
168924
168474
  };
168925
168475
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.690.0"
19
+ "version": "1.692.0"
20
20
  }