@headspace/protos-events 1.497.0 → 1.499.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 +210 -41
  2. package/lib/index.js +522 -84
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -156,47 +156,6 @@ export namespace auth0 {
156
156
  /** Namespace connections. */
157
157
  namespace connections {
158
158
 
159
- /** Connection enum. */
160
- enum Connection {
161
- UNKNOWN_CONNECTION = 0,
162
- APPLE = 1,
163
- FACEBOOK = 2,
164
- ONELOGIN = 3,
165
- SPOTIFY = 4,
166
- USER_PASSWORD_HEADSPACE = 5,
167
- VIRGINPULSE = 6,
168
- GOOGLE = 7,
169
- HEADSPACE_OKTA_SSO = 9,
170
- EXTERNAL_OKTA_QA = 10,
171
- THOUGHTWORKS_OKTA_SSO = 11,
172
- TEST_ORG_MIGRATION_OKTA_SSO = 12,
173
- MX_TECHNOLOGIES_INC_OKTA_SSO = 13,
174
- FLUTTER_INT_OKTA_SSO = 14,
175
- LUMINOUS_OKTA_SSO = 15,
176
- OKTA_OKTA_SSO = 16,
177
- JUSTWORKS_OKTA_SSO = 17,
178
- GENPACT_OKTA_SSO = 18,
179
- THEHARRISCENTER_OKTA_SSO = 19,
180
- BILLGO_OKTA_SSO = 20,
181
- HEADSPACE_TEST_AZURE_SSO = 21,
182
- SMSASSIST_OKTA_SSO = 22,
183
- BOOKINGHOLDINGS_OKTA_SSO = 23,
184
- MSFT_TEST_AZURE_SSO = 24,
185
- HEADSPACE_E2E_OKTA_SSO = 26,
186
- MICROSOFT_AZURE_SSO = 27,
187
- HOOTSUITE_OKTA_SSO = 28,
188
- MOONPAY_OKTA_SSO = 29,
189
- ROOT_INSURANCE_OKTA_SSO = 30,
190
- HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO = 31,
191
- HEADSPACE_E2E_NO_SEATS_OKTA_SSO = 32,
192
- DELOITTE_UK_AZURE_SSO = 33,
193
- CVENT_OKTA_SSO = 34,
194
- FLOCKSAFETY_OKTA_SSO = 35,
195
- WABTEC_OKTA_SSO = 36,
196
- CITADEL_AZURE_SSO = 37,
197
- CANADABAY_AZURE_SSO = 38
198
- }
199
-
200
159
  /** ConnectionType enum. */
201
160
  enum ConnectionType {
202
161
  CONNECTION_TYPE_UNKNOWN = 0,
@@ -31241,6 +31200,216 @@ export class HeadspaceContentSharePreviewCreated implements IHeadspaceContentSha
31241
31200
  public toJSON(): { [k: string]: any };
31242
31201
  }
31243
31202
 
31203
+ /** Properties of a UserMessageBrazePushNotification. */
31204
+ export interface IUserMessageBrazePushNotification {
31205
+
31206
+ /** UserMessageBrazePushNotification userId */
31207
+ userId?: (string|null);
31208
+
31209
+ /** UserMessageBrazePushNotification brazeMessageHeader */
31210
+ brazeMessageHeader?: (string|null);
31211
+
31212
+ /** UserMessageBrazePushNotification brazeMessageBody */
31213
+ brazeMessageBody?: (string|null);
31214
+
31215
+ /** UserMessageBrazePushNotification brazeMessageDeeplink */
31216
+ brazeMessageDeeplink?: (string|null);
31217
+ }
31218
+
31219
+ /** Represents a UserMessageBrazePushNotification. */
31220
+ export class UserMessageBrazePushNotification implements IUserMessageBrazePushNotification {
31221
+
31222
+ /**
31223
+ * Constructs a new UserMessageBrazePushNotification.
31224
+ * @param [properties] Properties to set
31225
+ */
31226
+ constructor(properties?: IUserMessageBrazePushNotification);
31227
+
31228
+ /** UserMessageBrazePushNotification userId. */
31229
+ public userId: string;
31230
+
31231
+ /** UserMessageBrazePushNotification brazeMessageHeader. */
31232
+ public brazeMessageHeader: string;
31233
+
31234
+ /** UserMessageBrazePushNotification brazeMessageBody. */
31235
+ public brazeMessageBody: string;
31236
+
31237
+ /** UserMessageBrazePushNotification brazeMessageDeeplink. */
31238
+ public brazeMessageDeeplink: string;
31239
+
31240
+ /**
31241
+ * Creates a new UserMessageBrazePushNotification instance using the specified properties.
31242
+ * @param [properties] Properties to set
31243
+ * @returns UserMessageBrazePushNotification instance
31244
+ */
31245
+ public static create(properties?: IUserMessageBrazePushNotification): UserMessageBrazePushNotification;
31246
+
31247
+ /**
31248
+ * Encodes the specified UserMessageBrazePushNotification message. Does not implicitly {@link UserMessageBrazePushNotification.verify|verify} messages.
31249
+ * @param message UserMessageBrazePushNotification message or plain object to encode
31250
+ * @param [writer] Writer to encode to
31251
+ * @returns Writer
31252
+ */
31253
+ public static encode(message: IUserMessageBrazePushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
31254
+
31255
+ /**
31256
+ * Encodes the specified UserMessageBrazePushNotification message, length delimited. Does not implicitly {@link UserMessageBrazePushNotification.verify|verify} messages.
31257
+ * @param message UserMessageBrazePushNotification message or plain object to encode
31258
+ * @param [writer] Writer to encode to
31259
+ * @returns Writer
31260
+ */
31261
+ public static encodeDelimited(message: IUserMessageBrazePushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
31262
+
31263
+ /**
31264
+ * Decodes a UserMessageBrazePushNotification message from the specified reader or buffer.
31265
+ * @param reader Reader or buffer to decode from
31266
+ * @param [length] Message length if known beforehand
31267
+ * @returns UserMessageBrazePushNotification
31268
+ * @throws {Error} If the payload is not a reader or valid buffer
31269
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31270
+ */
31271
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageBrazePushNotification;
31272
+
31273
+ /**
31274
+ * Decodes a UserMessageBrazePushNotification message from the specified reader or buffer, length delimited.
31275
+ * @param reader Reader or buffer to decode from
31276
+ * @returns UserMessageBrazePushNotification
31277
+ * @throws {Error} If the payload is not a reader or valid buffer
31278
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31279
+ */
31280
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageBrazePushNotification;
31281
+
31282
+ /**
31283
+ * Verifies a UserMessageBrazePushNotification message.
31284
+ * @param message Plain object to verify
31285
+ * @returns `null` if valid, otherwise the reason why it is not
31286
+ */
31287
+ public static verify(message: { [k: string]: any }): (string|null);
31288
+
31289
+ /**
31290
+ * Creates a UserMessageBrazePushNotification message from a plain object. Also converts values to their respective internal types.
31291
+ * @param object Plain object
31292
+ * @returns UserMessageBrazePushNotification
31293
+ */
31294
+ public static fromObject(object: { [k: string]: any }): UserMessageBrazePushNotification;
31295
+
31296
+ /**
31297
+ * Creates a plain object from a UserMessageBrazePushNotification message. Also converts values to other types if specified.
31298
+ * @param message UserMessageBrazePushNotification
31299
+ * @param [options] Conversion options
31300
+ * @returns Plain object
31301
+ */
31302
+ public static toObject(message: UserMessageBrazePushNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
31303
+
31304
+ /**
31305
+ * Converts this UserMessageBrazePushNotification to JSON.
31306
+ * @returns JSON object
31307
+ */
31308
+ public toJSON(): { [k: string]: any };
31309
+ }
31310
+
31311
+ /** Properties of a UserMessageBrazePushNotificationScheduled. */
31312
+ export interface IUserMessageBrazePushNotificationScheduled {
31313
+
31314
+ /** UserMessageBrazePushNotificationScheduled brazeCanvasId */
31315
+ brazeCanvasId?: (string|null);
31316
+
31317
+ /** UserMessageBrazePushNotificationScheduled messageScheduleTimestamp */
31318
+ messageScheduleTimestamp?: (number|Long|null);
31319
+
31320
+ /** UserMessageBrazePushNotificationScheduled userMessage */
31321
+ userMessage?: (IUserMessageBrazePushNotification[]|null);
31322
+ }
31323
+
31324
+ /** Represents a UserMessageBrazePushNotificationScheduled. */
31325
+ export class UserMessageBrazePushNotificationScheduled implements IUserMessageBrazePushNotificationScheduled {
31326
+
31327
+ /**
31328
+ * Constructs a new UserMessageBrazePushNotificationScheduled.
31329
+ * @param [properties] Properties to set
31330
+ */
31331
+ constructor(properties?: IUserMessageBrazePushNotificationScheduled);
31332
+
31333
+ /** UserMessageBrazePushNotificationScheduled brazeCanvasId. */
31334
+ public brazeCanvasId: string;
31335
+
31336
+ /** UserMessageBrazePushNotificationScheduled messageScheduleTimestamp. */
31337
+ public messageScheduleTimestamp: (number|Long);
31338
+
31339
+ /** UserMessageBrazePushNotificationScheduled userMessage. */
31340
+ public userMessage: IUserMessageBrazePushNotification[];
31341
+
31342
+ /**
31343
+ * Creates a new UserMessageBrazePushNotificationScheduled instance using the specified properties.
31344
+ * @param [properties] Properties to set
31345
+ * @returns UserMessageBrazePushNotificationScheduled instance
31346
+ */
31347
+ public static create(properties?: IUserMessageBrazePushNotificationScheduled): UserMessageBrazePushNotificationScheduled;
31348
+
31349
+ /**
31350
+ * Encodes the specified UserMessageBrazePushNotificationScheduled message. Does not implicitly {@link UserMessageBrazePushNotificationScheduled.verify|verify} messages.
31351
+ * @param message UserMessageBrazePushNotificationScheduled message or plain object to encode
31352
+ * @param [writer] Writer to encode to
31353
+ * @returns Writer
31354
+ */
31355
+ public static encode(message: IUserMessageBrazePushNotificationScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
31356
+
31357
+ /**
31358
+ * Encodes the specified UserMessageBrazePushNotificationScheduled message, length delimited. Does not implicitly {@link UserMessageBrazePushNotificationScheduled.verify|verify} messages.
31359
+ * @param message UserMessageBrazePushNotificationScheduled message or plain object to encode
31360
+ * @param [writer] Writer to encode to
31361
+ * @returns Writer
31362
+ */
31363
+ public static encodeDelimited(message: IUserMessageBrazePushNotificationScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
31364
+
31365
+ /**
31366
+ * Decodes a UserMessageBrazePushNotificationScheduled message from the specified reader or buffer.
31367
+ * @param reader Reader or buffer to decode from
31368
+ * @param [length] Message length if known beforehand
31369
+ * @returns UserMessageBrazePushNotificationScheduled
31370
+ * @throws {Error} If the payload is not a reader or valid buffer
31371
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31372
+ */
31373
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserMessageBrazePushNotificationScheduled;
31374
+
31375
+ /**
31376
+ * Decodes a UserMessageBrazePushNotificationScheduled message from the specified reader or buffer, length delimited.
31377
+ * @param reader Reader or buffer to decode from
31378
+ * @returns UserMessageBrazePushNotificationScheduled
31379
+ * @throws {Error} If the payload is not a reader or valid buffer
31380
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31381
+ */
31382
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserMessageBrazePushNotificationScheduled;
31383
+
31384
+ /**
31385
+ * Verifies a UserMessageBrazePushNotificationScheduled message.
31386
+ * @param message Plain object to verify
31387
+ * @returns `null` if valid, otherwise the reason why it is not
31388
+ */
31389
+ public static verify(message: { [k: string]: any }): (string|null);
31390
+
31391
+ /**
31392
+ * Creates a UserMessageBrazePushNotificationScheduled message from a plain object. Also converts values to their respective internal types.
31393
+ * @param object Plain object
31394
+ * @returns UserMessageBrazePushNotificationScheduled
31395
+ */
31396
+ public static fromObject(object: { [k: string]: any }): UserMessageBrazePushNotificationScheduled;
31397
+
31398
+ /**
31399
+ * Creates a plain object from a UserMessageBrazePushNotificationScheduled message. Also converts values to other types if specified.
31400
+ * @param message UserMessageBrazePushNotificationScheduled
31401
+ * @param [options] Conversion options
31402
+ * @returns Plain object
31403
+ */
31404
+ public static toObject(message: UserMessageBrazePushNotificationScheduled, options?: $protobuf.IConversionOptions): { [k: string]: any };
31405
+
31406
+ /**
31407
+ * Converts this UserMessageBrazePushNotificationScheduled to JSON.
31408
+ * @returns JSON object
31409
+ */
31410
+ public toJSON(): { [k: string]: any };
31411
+ }
31412
+
31244
31413
  /** Properties of a UserBatchPredictionsGenerated. */
31245
31414
  export interface IUserBatchPredictionsGenerated {
31246
31415
 
package/lib/index.js CHANGED
@@ -372,90 +372,6 @@ $root.auth0 = (function() {
372
372
  */
373
373
  var connections = {};
374
374
 
375
- /**
376
- * Connection enum.
377
- * @name auth0.connections.Connection
378
- * @enum {string}
379
- * @property {number} UNKNOWN_CONNECTION=0 UNKNOWN_CONNECTION value
380
- * @property {number} APPLE=1 APPLE value
381
- * @property {number} FACEBOOK=2 FACEBOOK value
382
- * @property {number} ONELOGIN=3 ONELOGIN value
383
- * @property {number} SPOTIFY=4 SPOTIFY value
384
- * @property {number} USER_PASSWORD_HEADSPACE=5 USER_PASSWORD_HEADSPACE value
385
- * @property {number} VIRGINPULSE=6 VIRGINPULSE value
386
- * @property {number} GOOGLE=7 GOOGLE value
387
- * @property {number} HEADSPACE_OKTA_SSO=9 HEADSPACE_OKTA_SSO value
388
- * @property {number} EXTERNAL_OKTA_QA=10 EXTERNAL_OKTA_QA value
389
- * @property {number} THOUGHTWORKS_OKTA_SSO=11 THOUGHTWORKS_OKTA_SSO value
390
- * @property {number} TEST_ORG_MIGRATION_OKTA_SSO=12 TEST_ORG_MIGRATION_OKTA_SSO value
391
- * @property {number} MX_TECHNOLOGIES_INC_OKTA_SSO=13 MX_TECHNOLOGIES_INC_OKTA_SSO value
392
- * @property {number} FLUTTER_INT_OKTA_SSO=14 FLUTTER_INT_OKTA_SSO value
393
- * @property {number} LUMINOUS_OKTA_SSO=15 LUMINOUS_OKTA_SSO value
394
- * @property {number} OKTA_OKTA_SSO=16 OKTA_OKTA_SSO value
395
- * @property {number} JUSTWORKS_OKTA_SSO=17 JUSTWORKS_OKTA_SSO value
396
- * @property {number} GENPACT_OKTA_SSO=18 GENPACT_OKTA_SSO value
397
- * @property {number} THEHARRISCENTER_OKTA_SSO=19 THEHARRISCENTER_OKTA_SSO value
398
- * @property {number} BILLGO_OKTA_SSO=20 BILLGO_OKTA_SSO value
399
- * @property {number} HEADSPACE_TEST_AZURE_SSO=21 HEADSPACE_TEST_AZURE_SSO value
400
- * @property {number} SMSASSIST_OKTA_SSO=22 SMSASSIST_OKTA_SSO value
401
- * @property {number} BOOKINGHOLDINGS_OKTA_SSO=23 BOOKINGHOLDINGS_OKTA_SSO value
402
- * @property {number} MSFT_TEST_AZURE_SSO=24 MSFT_TEST_AZURE_SSO value
403
- * @property {number} HEADSPACE_E2E_OKTA_SSO=26 HEADSPACE_E2E_OKTA_SSO value
404
- * @property {number} MICROSOFT_AZURE_SSO=27 MICROSOFT_AZURE_SSO value
405
- * @property {number} HOOTSUITE_OKTA_SSO=28 HOOTSUITE_OKTA_SSO value
406
- * @property {number} MOONPAY_OKTA_SSO=29 MOONPAY_OKTA_SSO value
407
- * @property {number} ROOT_INSURANCE_OKTA_SSO=30 ROOT_INSURANCE_OKTA_SSO value
408
- * @property {number} HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO=31 HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO value
409
- * @property {number} HEADSPACE_E2E_NO_SEATS_OKTA_SSO=32 HEADSPACE_E2E_NO_SEATS_OKTA_SSO value
410
- * @property {number} DELOITTE_UK_AZURE_SSO=33 DELOITTE_UK_AZURE_SSO value
411
- * @property {number} CVENT_OKTA_SSO=34 CVENT_OKTA_SSO value
412
- * @property {number} FLOCKSAFETY_OKTA_SSO=35 FLOCKSAFETY_OKTA_SSO value
413
- * @property {number} WABTEC_OKTA_SSO=36 WABTEC_OKTA_SSO value
414
- * @property {number} CITADEL_AZURE_SSO=37 CITADEL_AZURE_SSO value
415
- * @property {number} CANADABAY_AZURE_SSO=38 CANADABAY_AZURE_SSO value
416
- */
417
- connections.Connection = (function() {
418
- var valuesById = {}, values = Object.create(valuesById);
419
- values[valuesById[0] = "UNKNOWN_CONNECTION"] = 0;
420
- values[valuesById[1] = "APPLE"] = 1;
421
- values[valuesById[2] = "FACEBOOK"] = 2;
422
- values[valuesById[3] = "ONELOGIN"] = 3;
423
- values[valuesById[4] = "SPOTIFY"] = 4;
424
- values[valuesById[5] = "USER_PASSWORD_HEADSPACE"] = 5;
425
- values[valuesById[6] = "VIRGINPULSE"] = 6;
426
- values[valuesById[7] = "GOOGLE"] = 7;
427
- values[valuesById[9] = "HEADSPACE_OKTA_SSO"] = 9;
428
- values[valuesById[10] = "EXTERNAL_OKTA_QA"] = 10;
429
- values[valuesById[11] = "THOUGHTWORKS_OKTA_SSO"] = 11;
430
- values[valuesById[12] = "TEST_ORG_MIGRATION_OKTA_SSO"] = 12;
431
- values[valuesById[13] = "MX_TECHNOLOGIES_INC_OKTA_SSO"] = 13;
432
- values[valuesById[14] = "FLUTTER_INT_OKTA_SSO"] = 14;
433
- values[valuesById[15] = "LUMINOUS_OKTA_SSO"] = 15;
434
- values[valuesById[16] = "OKTA_OKTA_SSO"] = 16;
435
- values[valuesById[17] = "JUSTWORKS_OKTA_SSO"] = 17;
436
- values[valuesById[18] = "GENPACT_OKTA_SSO"] = 18;
437
- values[valuesById[19] = "THEHARRISCENTER_OKTA_SSO"] = 19;
438
- values[valuesById[20] = "BILLGO_OKTA_SSO"] = 20;
439
- values[valuesById[21] = "HEADSPACE_TEST_AZURE_SSO"] = 21;
440
- values[valuesById[22] = "SMSASSIST_OKTA_SSO"] = 22;
441
- values[valuesById[23] = "BOOKINGHOLDINGS_OKTA_SSO"] = 23;
442
- values[valuesById[24] = "MSFT_TEST_AZURE_SSO"] = 24;
443
- values[valuesById[26] = "HEADSPACE_E2E_OKTA_SSO"] = 26;
444
- values[valuesById[27] = "MICROSOFT_AZURE_SSO"] = 27;
445
- values[valuesById[28] = "HOOTSUITE_OKTA_SSO"] = 28;
446
- values[valuesById[29] = "MOONPAY_OKTA_SSO"] = 29;
447
- values[valuesById[30] = "ROOT_INSURANCE_OKTA_SSO"] = 30;
448
- values[valuesById[31] = "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO"] = 31;
449
- values[valuesById[32] = "HEADSPACE_E2E_NO_SEATS_OKTA_SSO"] = 32;
450
- values[valuesById[33] = "DELOITTE_UK_AZURE_SSO"] = 33;
451
- values[valuesById[34] = "CVENT_OKTA_SSO"] = 34;
452
- values[valuesById[35] = "FLOCKSAFETY_OKTA_SSO"] = 35;
453
- values[valuesById[36] = "WABTEC_OKTA_SSO"] = 36;
454
- values[valuesById[37] = "CITADEL_AZURE_SSO"] = 37;
455
- values[valuesById[38] = "CANADABAY_AZURE_SSO"] = 38;
456
- return values;
457
- })();
458
-
459
375
  /**
460
376
  * ConnectionType enum.
461
377
  * @name auth0.connections.ConnectionType
@@ -86880,6 +86796,528 @@ $root.HeadspaceContentSharePreviewCreated = (function() {
86880
86796
  return HeadspaceContentSharePreviewCreated;
86881
86797
  })();
86882
86798
 
86799
+ $root.UserMessageBrazePushNotification = (function() {
86800
+
86801
+ /**
86802
+ * Properties of a UserMessageBrazePushNotification.
86803
+ * @name IUserMessageBrazePushNotification
86804
+ * @interface IUserMessageBrazePushNotification
86805
+ * @property {string|null} [userId] UserMessageBrazePushNotification userId
86806
+ * @property {string|null} [brazeMessageHeader] UserMessageBrazePushNotification brazeMessageHeader
86807
+ * @property {string|null} [brazeMessageBody] UserMessageBrazePushNotification brazeMessageBody
86808
+ * @property {string|null} [brazeMessageDeeplink] UserMessageBrazePushNotification brazeMessageDeeplink
86809
+ */
86810
+
86811
+ /**
86812
+ * Constructs a new UserMessageBrazePushNotification.
86813
+ * @name UserMessageBrazePushNotification
86814
+ * @classdesc Represents a UserMessageBrazePushNotification.
86815
+ * @implements IUserMessageBrazePushNotification
86816
+ * @constructor
86817
+ * @param {IUserMessageBrazePushNotification=} [properties] Properties to set
86818
+ */
86819
+ function UserMessageBrazePushNotification(properties) {
86820
+ if (properties)
86821
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
86822
+ if (properties[keys[i]] != null)
86823
+ this[keys[i]] = properties[keys[i]];
86824
+ }
86825
+
86826
+ /**
86827
+ * UserMessageBrazePushNotification userId.
86828
+ * @member {string} userId
86829
+ * @memberof UserMessageBrazePushNotification
86830
+ * @instance
86831
+ */
86832
+ UserMessageBrazePushNotification.prototype.userId = "";
86833
+
86834
+ /**
86835
+ * UserMessageBrazePushNotification brazeMessageHeader.
86836
+ * @member {string} brazeMessageHeader
86837
+ * @memberof UserMessageBrazePushNotification
86838
+ * @instance
86839
+ */
86840
+ UserMessageBrazePushNotification.prototype.brazeMessageHeader = "";
86841
+
86842
+ /**
86843
+ * UserMessageBrazePushNotification brazeMessageBody.
86844
+ * @member {string} brazeMessageBody
86845
+ * @memberof UserMessageBrazePushNotification
86846
+ * @instance
86847
+ */
86848
+ UserMessageBrazePushNotification.prototype.brazeMessageBody = "";
86849
+
86850
+ /**
86851
+ * UserMessageBrazePushNotification brazeMessageDeeplink.
86852
+ * @member {string} brazeMessageDeeplink
86853
+ * @memberof UserMessageBrazePushNotification
86854
+ * @instance
86855
+ */
86856
+ UserMessageBrazePushNotification.prototype.brazeMessageDeeplink = "";
86857
+
86858
+ /**
86859
+ * Creates a new UserMessageBrazePushNotification instance using the specified properties.
86860
+ * @function create
86861
+ * @memberof UserMessageBrazePushNotification
86862
+ * @static
86863
+ * @param {IUserMessageBrazePushNotification=} [properties] Properties to set
86864
+ * @returns {UserMessageBrazePushNotification} UserMessageBrazePushNotification instance
86865
+ */
86866
+ UserMessageBrazePushNotification.create = function create(properties) {
86867
+ return new UserMessageBrazePushNotification(properties);
86868
+ };
86869
+
86870
+ /**
86871
+ * Encodes the specified UserMessageBrazePushNotification message. Does not implicitly {@link UserMessageBrazePushNotification.verify|verify} messages.
86872
+ * @function encode
86873
+ * @memberof UserMessageBrazePushNotification
86874
+ * @static
86875
+ * @param {IUserMessageBrazePushNotification} message UserMessageBrazePushNotification message or plain object to encode
86876
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86877
+ * @returns {$protobuf.Writer} Writer
86878
+ */
86879
+ UserMessageBrazePushNotification.encode = function encode(message, writer) {
86880
+ if (!writer)
86881
+ writer = $Writer.create();
86882
+ if (message.userId != null && message.hasOwnProperty("userId"))
86883
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
86884
+ if (message.brazeMessageHeader != null && message.hasOwnProperty("brazeMessageHeader"))
86885
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.brazeMessageHeader);
86886
+ if (message.brazeMessageBody != null && message.hasOwnProperty("brazeMessageBody"))
86887
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.brazeMessageBody);
86888
+ if (message.brazeMessageDeeplink != null && message.hasOwnProperty("brazeMessageDeeplink"))
86889
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.brazeMessageDeeplink);
86890
+ return writer;
86891
+ };
86892
+
86893
+ /**
86894
+ * Encodes the specified UserMessageBrazePushNotification message, length delimited. Does not implicitly {@link UserMessageBrazePushNotification.verify|verify} messages.
86895
+ * @function encodeDelimited
86896
+ * @memberof UserMessageBrazePushNotification
86897
+ * @static
86898
+ * @param {IUserMessageBrazePushNotification} message UserMessageBrazePushNotification message or plain object to encode
86899
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86900
+ * @returns {$protobuf.Writer} Writer
86901
+ */
86902
+ UserMessageBrazePushNotification.encodeDelimited = function encodeDelimited(message, writer) {
86903
+ return this.encode(message, writer).ldelim();
86904
+ };
86905
+
86906
+ /**
86907
+ * Decodes a UserMessageBrazePushNotification message from the specified reader or buffer.
86908
+ * @function decode
86909
+ * @memberof UserMessageBrazePushNotification
86910
+ * @static
86911
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
86912
+ * @param {number} [length] Message length if known beforehand
86913
+ * @returns {UserMessageBrazePushNotification} UserMessageBrazePushNotification
86914
+ * @throws {Error} If the payload is not a reader or valid buffer
86915
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
86916
+ */
86917
+ UserMessageBrazePushNotification.decode = function decode(reader, length) {
86918
+ if (!(reader instanceof $Reader))
86919
+ reader = $Reader.create(reader);
86920
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageBrazePushNotification();
86921
+ while (reader.pos < end) {
86922
+ var tag = reader.uint32();
86923
+ switch (tag >>> 3) {
86924
+ case 1:
86925
+ message.userId = reader.string();
86926
+ break;
86927
+ case 2:
86928
+ message.brazeMessageHeader = reader.string();
86929
+ break;
86930
+ case 3:
86931
+ message.brazeMessageBody = reader.string();
86932
+ break;
86933
+ case 4:
86934
+ message.brazeMessageDeeplink = reader.string();
86935
+ break;
86936
+ default:
86937
+ reader.skipType(tag & 7);
86938
+ break;
86939
+ }
86940
+ }
86941
+ return message;
86942
+ };
86943
+
86944
+ /**
86945
+ * Decodes a UserMessageBrazePushNotification message from the specified reader or buffer, length delimited.
86946
+ * @function decodeDelimited
86947
+ * @memberof UserMessageBrazePushNotification
86948
+ * @static
86949
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
86950
+ * @returns {UserMessageBrazePushNotification} UserMessageBrazePushNotification
86951
+ * @throws {Error} If the payload is not a reader or valid buffer
86952
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
86953
+ */
86954
+ UserMessageBrazePushNotification.decodeDelimited = function decodeDelimited(reader) {
86955
+ if (!(reader instanceof $Reader))
86956
+ reader = new $Reader(reader);
86957
+ return this.decode(reader, reader.uint32());
86958
+ };
86959
+
86960
+ /**
86961
+ * Verifies a UserMessageBrazePushNotification message.
86962
+ * @function verify
86963
+ * @memberof UserMessageBrazePushNotification
86964
+ * @static
86965
+ * @param {Object.<string,*>} message Plain object to verify
86966
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
86967
+ */
86968
+ UserMessageBrazePushNotification.verify = function verify(message) {
86969
+ if (typeof message !== "object" || message === null)
86970
+ return "object expected";
86971
+ if (message.userId != null && message.hasOwnProperty("userId"))
86972
+ if (!$util.isString(message.userId))
86973
+ return "userId: string expected";
86974
+ if (message.brazeMessageHeader != null && message.hasOwnProperty("brazeMessageHeader"))
86975
+ if (!$util.isString(message.brazeMessageHeader))
86976
+ return "brazeMessageHeader: string expected";
86977
+ if (message.brazeMessageBody != null && message.hasOwnProperty("brazeMessageBody"))
86978
+ if (!$util.isString(message.brazeMessageBody))
86979
+ return "brazeMessageBody: string expected";
86980
+ if (message.brazeMessageDeeplink != null && message.hasOwnProperty("brazeMessageDeeplink"))
86981
+ if (!$util.isString(message.brazeMessageDeeplink))
86982
+ return "brazeMessageDeeplink: string expected";
86983
+ return null;
86984
+ };
86985
+
86986
+ /**
86987
+ * Creates a UserMessageBrazePushNotification message from a plain object. Also converts values to their respective internal types.
86988
+ * @function fromObject
86989
+ * @memberof UserMessageBrazePushNotification
86990
+ * @static
86991
+ * @param {Object.<string,*>} object Plain object
86992
+ * @returns {UserMessageBrazePushNotification} UserMessageBrazePushNotification
86993
+ */
86994
+ UserMessageBrazePushNotification.fromObject = function fromObject(object) {
86995
+ if (object instanceof $root.UserMessageBrazePushNotification)
86996
+ return object;
86997
+ var message = new $root.UserMessageBrazePushNotification();
86998
+ if (object.userId != null)
86999
+ message.userId = String(object.userId);
87000
+ if (object.brazeMessageHeader != null)
87001
+ message.brazeMessageHeader = String(object.brazeMessageHeader);
87002
+ if (object.brazeMessageBody != null)
87003
+ message.brazeMessageBody = String(object.brazeMessageBody);
87004
+ if (object.brazeMessageDeeplink != null)
87005
+ message.brazeMessageDeeplink = String(object.brazeMessageDeeplink);
87006
+ return message;
87007
+ };
87008
+
87009
+ /**
87010
+ * Creates a plain object from a UserMessageBrazePushNotification message. Also converts values to other types if specified.
87011
+ * @function toObject
87012
+ * @memberof UserMessageBrazePushNotification
87013
+ * @static
87014
+ * @param {UserMessageBrazePushNotification} message UserMessageBrazePushNotification
87015
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87016
+ * @returns {Object.<string,*>} Plain object
87017
+ */
87018
+ UserMessageBrazePushNotification.toObject = function toObject(message, options) {
87019
+ if (!options)
87020
+ options = {};
87021
+ var object = {};
87022
+ if (options.defaults) {
87023
+ object.userId = "";
87024
+ object.brazeMessageHeader = "";
87025
+ object.brazeMessageBody = "";
87026
+ object.brazeMessageDeeplink = "";
87027
+ }
87028
+ if (message.userId != null && message.hasOwnProperty("userId"))
87029
+ object.userId = message.userId;
87030
+ if (message.brazeMessageHeader != null && message.hasOwnProperty("brazeMessageHeader"))
87031
+ object.brazeMessageHeader = message.brazeMessageHeader;
87032
+ if (message.brazeMessageBody != null && message.hasOwnProperty("brazeMessageBody"))
87033
+ object.brazeMessageBody = message.brazeMessageBody;
87034
+ if (message.brazeMessageDeeplink != null && message.hasOwnProperty("brazeMessageDeeplink"))
87035
+ object.brazeMessageDeeplink = message.brazeMessageDeeplink;
87036
+ return object;
87037
+ };
87038
+
87039
+ /**
87040
+ * Converts this UserMessageBrazePushNotification to JSON.
87041
+ * @function toJSON
87042
+ * @memberof UserMessageBrazePushNotification
87043
+ * @instance
87044
+ * @returns {Object.<string,*>} JSON object
87045
+ */
87046
+ UserMessageBrazePushNotification.prototype.toJSON = function toJSON() {
87047
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87048
+ };
87049
+
87050
+ return UserMessageBrazePushNotification;
87051
+ })();
87052
+
87053
+ $root.UserMessageBrazePushNotificationScheduled = (function() {
87054
+
87055
+ /**
87056
+ * Properties of a UserMessageBrazePushNotificationScheduled.
87057
+ * @name IUserMessageBrazePushNotificationScheduled
87058
+ * @interface IUserMessageBrazePushNotificationScheduled
87059
+ * @property {string|null} [brazeCanvasId] UserMessageBrazePushNotificationScheduled brazeCanvasId
87060
+ * @property {number|Long|null} [messageScheduleTimestamp] UserMessageBrazePushNotificationScheduled messageScheduleTimestamp
87061
+ * @property {Array.<IUserMessageBrazePushNotification>|null} [userMessage] UserMessageBrazePushNotificationScheduled userMessage
87062
+ */
87063
+
87064
+ /**
87065
+ * Constructs a new UserMessageBrazePushNotificationScheduled.
87066
+ * @name UserMessageBrazePushNotificationScheduled
87067
+ * @classdesc Represents a UserMessageBrazePushNotificationScheduled.
87068
+ * @implements IUserMessageBrazePushNotificationScheduled
87069
+ * @constructor
87070
+ * @param {IUserMessageBrazePushNotificationScheduled=} [properties] Properties to set
87071
+ */
87072
+ function UserMessageBrazePushNotificationScheduled(properties) {
87073
+ this.userMessage = [];
87074
+ if (properties)
87075
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
87076
+ if (properties[keys[i]] != null)
87077
+ this[keys[i]] = properties[keys[i]];
87078
+ }
87079
+
87080
+ /**
87081
+ * UserMessageBrazePushNotificationScheduled brazeCanvasId.
87082
+ * @member {string} brazeCanvasId
87083
+ * @memberof UserMessageBrazePushNotificationScheduled
87084
+ * @instance
87085
+ */
87086
+ UserMessageBrazePushNotificationScheduled.prototype.brazeCanvasId = "";
87087
+
87088
+ /**
87089
+ * UserMessageBrazePushNotificationScheduled messageScheduleTimestamp.
87090
+ * @member {number|Long} messageScheduleTimestamp
87091
+ * @memberof UserMessageBrazePushNotificationScheduled
87092
+ * @instance
87093
+ */
87094
+ UserMessageBrazePushNotificationScheduled.prototype.messageScheduleTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
87095
+
87096
+ /**
87097
+ * UserMessageBrazePushNotificationScheduled userMessage.
87098
+ * @member {Array.<IUserMessageBrazePushNotification>} userMessage
87099
+ * @memberof UserMessageBrazePushNotificationScheduled
87100
+ * @instance
87101
+ */
87102
+ UserMessageBrazePushNotificationScheduled.prototype.userMessage = $util.emptyArray;
87103
+
87104
+ /**
87105
+ * Creates a new UserMessageBrazePushNotificationScheduled instance using the specified properties.
87106
+ * @function create
87107
+ * @memberof UserMessageBrazePushNotificationScheduled
87108
+ * @static
87109
+ * @param {IUserMessageBrazePushNotificationScheduled=} [properties] Properties to set
87110
+ * @returns {UserMessageBrazePushNotificationScheduled} UserMessageBrazePushNotificationScheduled instance
87111
+ */
87112
+ UserMessageBrazePushNotificationScheduled.create = function create(properties) {
87113
+ return new UserMessageBrazePushNotificationScheduled(properties);
87114
+ };
87115
+
87116
+ /**
87117
+ * Encodes the specified UserMessageBrazePushNotificationScheduled message. Does not implicitly {@link UserMessageBrazePushNotificationScheduled.verify|verify} messages.
87118
+ * @function encode
87119
+ * @memberof UserMessageBrazePushNotificationScheduled
87120
+ * @static
87121
+ * @param {IUserMessageBrazePushNotificationScheduled} message UserMessageBrazePushNotificationScheduled message or plain object to encode
87122
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87123
+ * @returns {$protobuf.Writer} Writer
87124
+ */
87125
+ UserMessageBrazePushNotificationScheduled.encode = function encode(message, writer) {
87126
+ if (!writer)
87127
+ writer = $Writer.create();
87128
+ if (message.brazeCanvasId != null && message.hasOwnProperty("brazeCanvasId"))
87129
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.brazeCanvasId);
87130
+ if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
87131
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.messageScheduleTimestamp);
87132
+ if (message.userMessage != null && message.userMessage.length)
87133
+ for (var i = 0; i < message.userMessage.length; ++i)
87134
+ $root.UserMessageBrazePushNotification.encode(message.userMessage[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
87135
+ return writer;
87136
+ };
87137
+
87138
+ /**
87139
+ * Encodes the specified UserMessageBrazePushNotificationScheduled message, length delimited. Does not implicitly {@link UserMessageBrazePushNotificationScheduled.verify|verify} messages.
87140
+ * @function encodeDelimited
87141
+ * @memberof UserMessageBrazePushNotificationScheduled
87142
+ * @static
87143
+ * @param {IUserMessageBrazePushNotificationScheduled} message UserMessageBrazePushNotificationScheduled message or plain object to encode
87144
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87145
+ * @returns {$protobuf.Writer} Writer
87146
+ */
87147
+ UserMessageBrazePushNotificationScheduled.encodeDelimited = function encodeDelimited(message, writer) {
87148
+ return this.encode(message, writer).ldelim();
87149
+ };
87150
+
87151
+ /**
87152
+ * Decodes a UserMessageBrazePushNotificationScheduled message from the specified reader or buffer.
87153
+ * @function decode
87154
+ * @memberof UserMessageBrazePushNotificationScheduled
87155
+ * @static
87156
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87157
+ * @param {number} [length] Message length if known beforehand
87158
+ * @returns {UserMessageBrazePushNotificationScheduled} UserMessageBrazePushNotificationScheduled
87159
+ * @throws {Error} If the payload is not a reader or valid buffer
87160
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87161
+ */
87162
+ UserMessageBrazePushNotificationScheduled.decode = function decode(reader, length) {
87163
+ if (!(reader instanceof $Reader))
87164
+ reader = $Reader.create(reader);
87165
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserMessageBrazePushNotificationScheduled();
87166
+ while (reader.pos < end) {
87167
+ var tag = reader.uint32();
87168
+ switch (tag >>> 3) {
87169
+ case 1:
87170
+ message.brazeCanvasId = reader.string();
87171
+ break;
87172
+ case 2:
87173
+ message.messageScheduleTimestamp = reader.uint64();
87174
+ break;
87175
+ case 3:
87176
+ if (!(message.userMessage && message.userMessage.length))
87177
+ message.userMessage = [];
87178
+ message.userMessage.push($root.UserMessageBrazePushNotification.decode(reader, reader.uint32()));
87179
+ break;
87180
+ default:
87181
+ reader.skipType(tag & 7);
87182
+ break;
87183
+ }
87184
+ }
87185
+ return message;
87186
+ };
87187
+
87188
+ /**
87189
+ * Decodes a UserMessageBrazePushNotificationScheduled message from the specified reader or buffer, length delimited.
87190
+ * @function decodeDelimited
87191
+ * @memberof UserMessageBrazePushNotificationScheduled
87192
+ * @static
87193
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87194
+ * @returns {UserMessageBrazePushNotificationScheduled} UserMessageBrazePushNotificationScheduled
87195
+ * @throws {Error} If the payload is not a reader or valid buffer
87196
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87197
+ */
87198
+ UserMessageBrazePushNotificationScheduled.decodeDelimited = function decodeDelimited(reader) {
87199
+ if (!(reader instanceof $Reader))
87200
+ reader = new $Reader(reader);
87201
+ return this.decode(reader, reader.uint32());
87202
+ };
87203
+
87204
+ /**
87205
+ * Verifies a UserMessageBrazePushNotificationScheduled message.
87206
+ * @function verify
87207
+ * @memberof UserMessageBrazePushNotificationScheduled
87208
+ * @static
87209
+ * @param {Object.<string,*>} message Plain object to verify
87210
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87211
+ */
87212
+ UserMessageBrazePushNotificationScheduled.verify = function verify(message) {
87213
+ if (typeof message !== "object" || message === null)
87214
+ return "object expected";
87215
+ if (message.brazeCanvasId != null && message.hasOwnProperty("brazeCanvasId"))
87216
+ if (!$util.isString(message.brazeCanvasId))
87217
+ return "brazeCanvasId: string expected";
87218
+ if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
87219
+ if (!$util.isInteger(message.messageScheduleTimestamp) && !(message.messageScheduleTimestamp && $util.isInteger(message.messageScheduleTimestamp.low) && $util.isInteger(message.messageScheduleTimestamp.high)))
87220
+ return "messageScheduleTimestamp: integer|Long expected";
87221
+ if (message.userMessage != null && message.hasOwnProperty("userMessage")) {
87222
+ if (!Array.isArray(message.userMessage))
87223
+ return "userMessage: array expected";
87224
+ for (var i = 0; i < message.userMessage.length; ++i) {
87225
+ var error = $root.UserMessageBrazePushNotification.verify(message.userMessage[i]);
87226
+ if (error)
87227
+ return "userMessage." + error;
87228
+ }
87229
+ }
87230
+ return null;
87231
+ };
87232
+
87233
+ /**
87234
+ * Creates a UserMessageBrazePushNotificationScheduled message from a plain object. Also converts values to their respective internal types.
87235
+ * @function fromObject
87236
+ * @memberof UserMessageBrazePushNotificationScheduled
87237
+ * @static
87238
+ * @param {Object.<string,*>} object Plain object
87239
+ * @returns {UserMessageBrazePushNotificationScheduled} UserMessageBrazePushNotificationScheduled
87240
+ */
87241
+ UserMessageBrazePushNotificationScheduled.fromObject = function fromObject(object) {
87242
+ if (object instanceof $root.UserMessageBrazePushNotificationScheduled)
87243
+ return object;
87244
+ var message = new $root.UserMessageBrazePushNotificationScheduled();
87245
+ if (object.brazeCanvasId != null)
87246
+ message.brazeCanvasId = String(object.brazeCanvasId);
87247
+ if (object.messageScheduleTimestamp != null)
87248
+ if ($util.Long)
87249
+ (message.messageScheduleTimestamp = $util.Long.fromValue(object.messageScheduleTimestamp)).unsigned = true;
87250
+ else if (typeof object.messageScheduleTimestamp === "string")
87251
+ message.messageScheduleTimestamp = parseInt(object.messageScheduleTimestamp, 10);
87252
+ else if (typeof object.messageScheduleTimestamp === "number")
87253
+ message.messageScheduleTimestamp = object.messageScheduleTimestamp;
87254
+ else if (typeof object.messageScheduleTimestamp === "object")
87255
+ message.messageScheduleTimestamp = new $util.LongBits(object.messageScheduleTimestamp.low >>> 0, object.messageScheduleTimestamp.high >>> 0).toNumber(true);
87256
+ if (object.userMessage) {
87257
+ if (!Array.isArray(object.userMessage))
87258
+ throw TypeError(".UserMessageBrazePushNotificationScheduled.userMessage: array expected");
87259
+ message.userMessage = [];
87260
+ for (var i = 0; i < object.userMessage.length; ++i) {
87261
+ if (typeof object.userMessage[i] !== "object")
87262
+ throw TypeError(".UserMessageBrazePushNotificationScheduled.userMessage: object expected");
87263
+ message.userMessage[i] = $root.UserMessageBrazePushNotification.fromObject(object.userMessage[i]);
87264
+ }
87265
+ }
87266
+ return message;
87267
+ };
87268
+
87269
+ /**
87270
+ * Creates a plain object from a UserMessageBrazePushNotificationScheduled message. Also converts values to other types if specified.
87271
+ * @function toObject
87272
+ * @memberof UserMessageBrazePushNotificationScheduled
87273
+ * @static
87274
+ * @param {UserMessageBrazePushNotificationScheduled} message UserMessageBrazePushNotificationScheduled
87275
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87276
+ * @returns {Object.<string,*>} Plain object
87277
+ */
87278
+ UserMessageBrazePushNotificationScheduled.toObject = function toObject(message, options) {
87279
+ if (!options)
87280
+ options = {};
87281
+ var object = {};
87282
+ if (options.arrays || options.defaults)
87283
+ object.userMessage = [];
87284
+ if (options.defaults) {
87285
+ object.brazeCanvasId = "";
87286
+ if ($util.Long) {
87287
+ var long = new $util.Long(0, 0, true);
87288
+ object.messageScheduleTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
87289
+ } else
87290
+ object.messageScheduleTimestamp = options.longs === String ? "0" : 0;
87291
+ }
87292
+ if (message.brazeCanvasId != null && message.hasOwnProperty("brazeCanvasId"))
87293
+ object.brazeCanvasId = message.brazeCanvasId;
87294
+ if (message.messageScheduleTimestamp != null && message.hasOwnProperty("messageScheduleTimestamp"))
87295
+ if (typeof message.messageScheduleTimestamp === "number")
87296
+ object.messageScheduleTimestamp = options.longs === String ? String(message.messageScheduleTimestamp) : message.messageScheduleTimestamp;
87297
+ else
87298
+ object.messageScheduleTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.messageScheduleTimestamp) : options.longs === Number ? new $util.LongBits(message.messageScheduleTimestamp.low >>> 0, message.messageScheduleTimestamp.high >>> 0).toNumber(true) : message.messageScheduleTimestamp;
87299
+ if (message.userMessage && message.userMessage.length) {
87300
+ object.userMessage = [];
87301
+ for (var j = 0; j < message.userMessage.length; ++j)
87302
+ object.userMessage[j] = $root.UserMessageBrazePushNotification.toObject(message.userMessage[j], options);
87303
+ }
87304
+ return object;
87305
+ };
87306
+
87307
+ /**
87308
+ * Converts this UserMessageBrazePushNotificationScheduled to JSON.
87309
+ * @function toJSON
87310
+ * @memberof UserMessageBrazePushNotificationScheduled
87311
+ * @instance
87312
+ * @returns {Object.<string,*>} JSON object
87313
+ */
87314
+ UserMessageBrazePushNotificationScheduled.prototype.toJSON = function toJSON() {
87315
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87316
+ };
87317
+
87318
+ return UserMessageBrazePushNotificationScheduled;
87319
+ })();
87320
+
86883
87321
  $root.UserBatchPredictionsGenerated = (function() {
86884
87322
 
86885
87323
  /**
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.497.0"
19
+ "version": "1.499.0"
20
20
  }