@headspace/protos-events 1.243.0 → 1.244.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 CHANGED
@@ -18297,6 +18297,120 @@ export class SCIMUserUpdated implements ISCIMUserUpdated {
18297
18297
  public toJSON(): { [k: string]: any };
18298
18298
  }
18299
18299
 
18300
+ /** Properties of a RecommendationSearchMatched. */
18301
+ export interface IRecommendationSearchMatched {
18302
+
18303
+ /** RecommendationSearchMatched userId */
18304
+ userId?: (string|null);
18305
+
18306
+ /** RecommendationSearchMatched searchTerm */
18307
+ searchTerm?: (string|null);
18308
+
18309
+ /** RecommendationSearchMatched locale */
18310
+ locale?: (string|null);
18311
+
18312
+ /** RecommendationSearchMatched deepLink */
18313
+ deepLink?: (string|null);
18314
+
18315
+ /** RecommendationSearchMatched contentName */
18316
+ contentName?: (string|null);
18317
+ }
18318
+
18319
+ /** Represents a RecommendationSearchMatched. */
18320
+ export class RecommendationSearchMatched implements IRecommendationSearchMatched {
18321
+
18322
+ /**
18323
+ * Constructs a new RecommendationSearchMatched.
18324
+ * @param [properties] Properties to set
18325
+ */
18326
+ constructor(properties?: IRecommendationSearchMatched);
18327
+
18328
+ /** RecommendationSearchMatched userId. */
18329
+ public userId: string;
18330
+
18331
+ /** RecommendationSearchMatched searchTerm. */
18332
+ public searchTerm: string;
18333
+
18334
+ /** RecommendationSearchMatched locale. */
18335
+ public locale: string;
18336
+
18337
+ /** RecommendationSearchMatched deepLink. */
18338
+ public deepLink: string;
18339
+
18340
+ /** RecommendationSearchMatched contentName. */
18341
+ public contentName: string;
18342
+
18343
+ /**
18344
+ * Creates a new RecommendationSearchMatched instance using the specified properties.
18345
+ * @param [properties] Properties to set
18346
+ * @returns RecommendationSearchMatched instance
18347
+ */
18348
+ public static create(properties?: IRecommendationSearchMatched): RecommendationSearchMatched;
18349
+
18350
+ /**
18351
+ * Encodes the specified RecommendationSearchMatched message. Does not implicitly {@link RecommendationSearchMatched.verify|verify} messages.
18352
+ * @param message RecommendationSearchMatched message or plain object to encode
18353
+ * @param [writer] Writer to encode to
18354
+ * @returns Writer
18355
+ */
18356
+ public static encode(message: IRecommendationSearchMatched, writer?: $protobuf.Writer): $protobuf.Writer;
18357
+
18358
+ /**
18359
+ * Encodes the specified RecommendationSearchMatched message, length delimited. Does not implicitly {@link RecommendationSearchMatched.verify|verify} messages.
18360
+ * @param message RecommendationSearchMatched message or plain object to encode
18361
+ * @param [writer] Writer to encode to
18362
+ * @returns Writer
18363
+ */
18364
+ public static encodeDelimited(message: IRecommendationSearchMatched, writer?: $protobuf.Writer): $protobuf.Writer;
18365
+
18366
+ /**
18367
+ * Decodes a RecommendationSearchMatched message from the specified reader or buffer.
18368
+ * @param reader Reader or buffer to decode from
18369
+ * @param [length] Message length if known beforehand
18370
+ * @returns RecommendationSearchMatched
18371
+ * @throws {Error} If the payload is not a reader or valid buffer
18372
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18373
+ */
18374
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RecommendationSearchMatched;
18375
+
18376
+ /**
18377
+ * Decodes a RecommendationSearchMatched message from the specified reader or buffer, length delimited.
18378
+ * @param reader Reader or buffer to decode from
18379
+ * @returns RecommendationSearchMatched
18380
+ * @throws {Error} If the payload is not a reader or valid buffer
18381
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18382
+ */
18383
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RecommendationSearchMatched;
18384
+
18385
+ /**
18386
+ * Verifies a RecommendationSearchMatched message.
18387
+ * @param message Plain object to verify
18388
+ * @returns `null` if valid, otherwise the reason why it is not
18389
+ */
18390
+ public static verify(message: { [k: string]: any }): (string|null);
18391
+
18392
+ /**
18393
+ * Creates a RecommendationSearchMatched message from a plain object. Also converts values to their respective internal types.
18394
+ * @param object Plain object
18395
+ * @returns RecommendationSearchMatched
18396
+ */
18397
+ public static fromObject(object: { [k: string]: any }): RecommendationSearchMatched;
18398
+
18399
+ /**
18400
+ * Creates a plain object from a RecommendationSearchMatched message. Also converts values to other types if specified.
18401
+ * @param message RecommendationSearchMatched
18402
+ * @param [options] Conversion options
18403
+ * @returns Plain object
18404
+ */
18405
+ public static toObject(message: RecommendationSearchMatched, options?: $protobuf.IConversionOptions): { [k: string]: any };
18406
+
18407
+ /**
18408
+ * Converts this RecommendationSearchMatched to JSON.
18409
+ * @returns JSON object
18410
+ */
18411
+ public toJSON(): { [k: string]: any };
18412
+ }
18413
+
18300
18414
  /** Properties of an IosSubscriptionCreated. */
18301
18415
  export interface IIosSubscriptionCreated {
18302
18416
 
package/lib/index.js CHANGED
@@ -51425,6 +51425,282 @@ $root.SCIMUserUpdated = (function() {
51425
51425
  return SCIMUserUpdated;
51426
51426
  })();
51427
51427
 
51428
+ $root.RecommendationSearchMatched = (function() {
51429
+
51430
+ /**
51431
+ * Properties of a RecommendationSearchMatched.
51432
+ * @exports IRecommendationSearchMatched
51433
+ * @interface IRecommendationSearchMatched
51434
+ * @property {string|null} [userId] RecommendationSearchMatched userId
51435
+ * @property {string|null} [searchTerm] RecommendationSearchMatched searchTerm
51436
+ * @property {string|null} [locale] RecommendationSearchMatched locale
51437
+ * @property {string|null} [deepLink] RecommendationSearchMatched deepLink
51438
+ * @property {string|null} [contentName] RecommendationSearchMatched contentName
51439
+ */
51440
+
51441
+ /**
51442
+ * Constructs a new RecommendationSearchMatched.
51443
+ * @exports RecommendationSearchMatched
51444
+ * @classdesc Represents a RecommendationSearchMatched.
51445
+ * @implements IRecommendationSearchMatched
51446
+ * @constructor
51447
+ * @param {IRecommendationSearchMatched=} [properties] Properties to set
51448
+ */
51449
+ function RecommendationSearchMatched(properties) {
51450
+ if (properties)
51451
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
51452
+ if (properties[keys[i]] != null)
51453
+ this[keys[i]] = properties[keys[i]];
51454
+ }
51455
+
51456
+ /**
51457
+ * RecommendationSearchMatched userId.
51458
+ * @member {string} userId
51459
+ * @memberof RecommendationSearchMatched
51460
+ * @instance
51461
+ */
51462
+ RecommendationSearchMatched.prototype.userId = "";
51463
+
51464
+ /**
51465
+ * RecommendationSearchMatched searchTerm.
51466
+ * @member {string} searchTerm
51467
+ * @memberof RecommendationSearchMatched
51468
+ * @instance
51469
+ */
51470
+ RecommendationSearchMatched.prototype.searchTerm = "";
51471
+
51472
+ /**
51473
+ * RecommendationSearchMatched locale.
51474
+ * @member {string} locale
51475
+ * @memberof RecommendationSearchMatched
51476
+ * @instance
51477
+ */
51478
+ RecommendationSearchMatched.prototype.locale = "";
51479
+
51480
+ /**
51481
+ * RecommendationSearchMatched deepLink.
51482
+ * @member {string} deepLink
51483
+ * @memberof RecommendationSearchMatched
51484
+ * @instance
51485
+ */
51486
+ RecommendationSearchMatched.prototype.deepLink = "";
51487
+
51488
+ /**
51489
+ * RecommendationSearchMatched contentName.
51490
+ * @member {string} contentName
51491
+ * @memberof RecommendationSearchMatched
51492
+ * @instance
51493
+ */
51494
+ RecommendationSearchMatched.prototype.contentName = "";
51495
+
51496
+ /**
51497
+ * Creates a new RecommendationSearchMatched instance using the specified properties.
51498
+ * @function create
51499
+ * @memberof RecommendationSearchMatched
51500
+ * @static
51501
+ * @param {IRecommendationSearchMatched=} [properties] Properties to set
51502
+ * @returns {RecommendationSearchMatched} RecommendationSearchMatched instance
51503
+ */
51504
+ RecommendationSearchMatched.create = function create(properties) {
51505
+ return new RecommendationSearchMatched(properties);
51506
+ };
51507
+
51508
+ /**
51509
+ * Encodes the specified RecommendationSearchMatched message. Does not implicitly {@link RecommendationSearchMatched.verify|verify} messages.
51510
+ * @function encode
51511
+ * @memberof RecommendationSearchMatched
51512
+ * @static
51513
+ * @param {IRecommendationSearchMatched} message RecommendationSearchMatched message or plain object to encode
51514
+ * @param {$protobuf.Writer} [writer] Writer to encode to
51515
+ * @returns {$protobuf.Writer} Writer
51516
+ */
51517
+ RecommendationSearchMatched.encode = function encode(message, writer) {
51518
+ if (!writer)
51519
+ writer = $Writer.create();
51520
+ if (message.userId != null && message.hasOwnProperty("userId"))
51521
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
51522
+ if (message.searchTerm != null && message.hasOwnProperty("searchTerm"))
51523
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.searchTerm);
51524
+ if (message.locale != null && message.hasOwnProperty("locale"))
51525
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.locale);
51526
+ if (message.deepLink != null && message.hasOwnProperty("deepLink"))
51527
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.deepLink);
51528
+ if (message.contentName != null && message.hasOwnProperty("contentName"))
51529
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.contentName);
51530
+ return writer;
51531
+ };
51532
+
51533
+ /**
51534
+ * Encodes the specified RecommendationSearchMatched message, length delimited. Does not implicitly {@link RecommendationSearchMatched.verify|verify} messages.
51535
+ * @function encodeDelimited
51536
+ * @memberof RecommendationSearchMatched
51537
+ * @static
51538
+ * @param {IRecommendationSearchMatched} message RecommendationSearchMatched message or plain object to encode
51539
+ * @param {$protobuf.Writer} [writer] Writer to encode to
51540
+ * @returns {$protobuf.Writer} Writer
51541
+ */
51542
+ RecommendationSearchMatched.encodeDelimited = function encodeDelimited(message, writer) {
51543
+ return this.encode(message, writer).ldelim();
51544
+ };
51545
+
51546
+ /**
51547
+ * Decodes a RecommendationSearchMatched message from the specified reader or buffer.
51548
+ * @function decode
51549
+ * @memberof RecommendationSearchMatched
51550
+ * @static
51551
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
51552
+ * @param {number} [length] Message length if known beforehand
51553
+ * @returns {RecommendationSearchMatched} RecommendationSearchMatched
51554
+ * @throws {Error} If the payload is not a reader or valid buffer
51555
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51556
+ */
51557
+ RecommendationSearchMatched.decode = function decode(reader, length) {
51558
+ if (!(reader instanceof $Reader))
51559
+ reader = $Reader.create(reader);
51560
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RecommendationSearchMatched();
51561
+ while (reader.pos < end) {
51562
+ var tag = reader.uint32();
51563
+ switch (tag >>> 3) {
51564
+ case 1:
51565
+ message.userId = reader.string();
51566
+ break;
51567
+ case 2:
51568
+ message.searchTerm = reader.string();
51569
+ break;
51570
+ case 3:
51571
+ message.locale = reader.string();
51572
+ break;
51573
+ case 4:
51574
+ message.deepLink = reader.string();
51575
+ break;
51576
+ case 5:
51577
+ message.contentName = reader.string();
51578
+ break;
51579
+ default:
51580
+ reader.skipType(tag & 7);
51581
+ break;
51582
+ }
51583
+ }
51584
+ return message;
51585
+ };
51586
+
51587
+ /**
51588
+ * Decodes a RecommendationSearchMatched message from the specified reader or buffer, length delimited.
51589
+ * @function decodeDelimited
51590
+ * @memberof RecommendationSearchMatched
51591
+ * @static
51592
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
51593
+ * @returns {RecommendationSearchMatched} RecommendationSearchMatched
51594
+ * @throws {Error} If the payload is not a reader or valid buffer
51595
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51596
+ */
51597
+ RecommendationSearchMatched.decodeDelimited = function decodeDelimited(reader) {
51598
+ if (!(reader instanceof $Reader))
51599
+ reader = new $Reader(reader);
51600
+ return this.decode(reader, reader.uint32());
51601
+ };
51602
+
51603
+ /**
51604
+ * Verifies a RecommendationSearchMatched message.
51605
+ * @function verify
51606
+ * @memberof RecommendationSearchMatched
51607
+ * @static
51608
+ * @param {Object.<string,*>} message Plain object to verify
51609
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
51610
+ */
51611
+ RecommendationSearchMatched.verify = function verify(message) {
51612
+ if (typeof message !== "object" || message === null)
51613
+ return "object expected";
51614
+ if (message.userId != null && message.hasOwnProperty("userId"))
51615
+ if (!$util.isString(message.userId))
51616
+ return "userId: string expected";
51617
+ if (message.searchTerm != null && message.hasOwnProperty("searchTerm"))
51618
+ if (!$util.isString(message.searchTerm))
51619
+ return "searchTerm: string expected";
51620
+ if (message.locale != null && message.hasOwnProperty("locale"))
51621
+ if (!$util.isString(message.locale))
51622
+ return "locale: string expected";
51623
+ if (message.deepLink != null && message.hasOwnProperty("deepLink"))
51624
+ if (!$util.isString(message.deepLink))
51625
+ return "deepLink: string expected";
51626
+ if (message.contentName != null && message.hasOwnProperty("contentName"))
51627
+ if (!$util.isString(message.contentName))
51628
+ return "contentName: string expected";
51629
+ return null;
51630
+ };
51631
+
51632
+ /**
51633
+ * Creates a RecommendationSearchMatched message from a plain object. Also converts values to their respective internal types.
51634
+ * @function fromObject
51635
+ * @memberof RecommendationSearchMatched
51636
+ * @static
51637
+ * @param {Object.<string,*>} object Plain object
51638
+ * @returns {RecommendationSearchMatched} RecommendationSearchMatched
51639
+ */
51640
+ RecommendationSearchMatched.fromObject = function fromObject(object) {
51641
+ if (object instanceof $root.RecommendationSearchMatched)
51642
+ return object;
51643
+ var message = new $root.RecommendationSearchMatched();
51644
+ if (object.userId != null)
51645
+ message.userId = String(object.userId);
51646
+ if (object.searchTerm != null)
51647
+ message.searchTerm = String(object.searchTerm);
51648
+ if (object.locale != null)
51649
+ message.locale = String(object.locale);
51650
+ if (object.deepLink != null)
51651
+ message.deepLink = String(object.deepLink);
51652
+ if (object.contentName != null)
51653
+ message.contentName = String(object.contentName);
51654
+ return message;
51655
+ };
51656
+
51657
+ /**
51658
+ * Creates a plain object from a RecommendationSearchMatched message. Also converts values to other types if specified.
51659
+ * @function toObject
51660
+ * @memberof RecommendationSearchMatched
51661
+ * @static
51662
+ * @param {RecommendationSearchMatched} message RecommendationSearchMatched
51663
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
51664
+ * @returns {Object.<string,*>} Plain object
51665
+ */
51666
+ RecommendationSearchMatched.toObject = function toObject(message, options) {
51667
+ if (!options)
51668
+ options = {};
51669
+ var object = {};
51670
+ if (options.defaults) {
51671
+ object.userId = "";
51672
+ object.searchTerm = "";
51673
+ object.locale = "";
51674
+ object.deepLink = "";
51675
+ object.contentName = "";
51676
+ }
51677
+ if (message.userId != null && message.hasOwnProperty("userId"))
51678
+ object.userId = message.userId;
51679
+ if (message.searchTerm != null && message.hasOwnProperty("searchTerm"))
51680
+ object.searchTerm = message.searchTerm;
51681
+ if (message.locale != null && message.hasOwnProperty("locale"))
51682
+ object.locale = message.locale;
51683
+ if (message.deepLink != null && message.hasOwnProperty("deepLink"))
51684
+ object.deepLink = message.deepLink;
51685
+ if (message.contentName != null && message.hasOwnProperty("contentName"))
51686
+ object.contentName = message.contentName;
51687
+ return object;
51688
+ };
51689
+
51690
+ /**
51691
+ * Converts this RecommendationSearchMatched to JSON.
51692
+ * @function toJSON
51693
+ * @memberof RecommendationSearchMatched
51694
+ * @instance
51695
+ * @returns {Object.<string,*>} JSON object
51696
+ */
51697
+ RecommendationSearchMatched.prototype.toJSON = function toJSON() {
51698
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
51699
+ };
51700
+
51701
+ return RecommendationSearchMatched;
51702
+ })();
51703
+
51428
51704
  $root.IosSubscriptionCreated = (function() {
51429
51705
 
51430
51706
  /**
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.243.0"
19
+ "version": "1.244.0"
20
20
  }