@headspace/protos-events 1.227.0 → 1.228.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
@@ -5006,6 +5006,124 @@ export namespace userdomain {
5006
5006
  }
5007
5007
  }
5008
5008
 
5009
+ /** Namespace scim. */
5010
+ export namespace scim {
5011
+
5012
+ /** Properties of a SCIMUser. */
5013
+ interface ISCIMUser {
5014
+
5015
+ /** SCIMUser orgId */
5016
+ orgId?: (number|null);
5017
+
5018
+ /** SCIMUser firstName */
5019
+ firstName?: (string|null);
5020
+
5021
+ /** SCIMUser lastName */
5022
+ lastName?: (string|null);
5023
+
5024
+ /** SCIMUser workEmail */
5025
+ workEmail?: (string|null);
5026
+
5027
+ /** SCIMUser isActive */
5028
+ isActive?: (boolean|null);
5029
+ }
5030
+
5031
+ /** Represents a SCIMUser. */
5032
+ class SCIMUser implements ISCIMUser {
5033
+
5034
+ /**
5035
+ * Constructs a new SCIMUser.
5036
+ * @param [properties] Properties to set
5037
+ */
5038
+ constructor(properties?: scim.ISCIMUser);
5039
+
5040
+ /** SCIMUser orgId. */
5041
+ public orgId: number;
5042
+
5043
+ /** SCIMUser firstName. */
5044
+ public firstName: string;
5045
+
5046
+ /** SCIMUser lastName. */
5047
+ public lastName: string;
5048
+
5049
+ /** SCIMUser workEmail. */
5050
+ public workEmail: string;
5051
+
5052
+ /** SCIMUser isActive. */
5053
+ public isActive: boolean;
5054
+
5055
+ /**
5056
+ * Creates a new SCIMUser instance using the specified properties.
5057
+ * @param [properties] Properties to set
5058
+ * @returns SCIMUser instance
5059
+ */
5060
+ public static create(properties?: scim.ISCIMUser): scim.SCIMUser;
5061
+
5062
+ /**
5063
+ * Encodes the specified SCIMUser message. Does not implicitly {@link scim.SCIMUser.verify|verify} messages.
5064
+ * @param message SCIMUser message or plain object to encode
5065
+ * @param [writer] Writer to encode to
5066
+ * @returns Writer
5067
+ */
5068
+ public static encode(message: scim.ISCIMUser, writer?: $protobuf.Writer): $protobuf.Writer;
5069
+
5070
+ /**
5071
+ * Encodes the specified SCIMUser message, length delimited. Does not implicitly {@link scim.SCIMUser.verify|verify} messages.
5072
+ * @param message SCIMUser message or plain object to encode
5073
+ * @param [writer] Writer to encode to
5074
+ * @returns Writer
5075
+ */
5076
+ public static encodeDelimited(message: scim.ISCIMUser, writer?: $protobuf.Writer): $protobuf.Writer;
5077
+
5078
+ /**
5079
+ * Decodes a SCIMUser message from the specified reader or buffer.
5080
+ * @param reader Reader or buffer to decode from
5081
+ * @param [length] Message length if known beforehand
5082
+ * @returns SCIMUser
5083
+ * @throws {Error} If the payload is not a reader or valid buffer
5084
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5085
+ */
5086
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): scim.SCIMUser;
5087
+
5088
+ /**
5089
+ * Decodes a SCIMUser message from the specified reader or buffer, length delimited.
5090
+ * @param reader Reader or buffer to decode from
5091
+ * @returns SCIMUser
5092
+ * @throws {Error} If the payload is not a reader or valid buffer
5093
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5094
+ */
5095
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): scim.SCIMUser;
5096
+
5097
+ /**
5098
+ * Verifies a SCIMUser message.
5099
+ * @param message Plain object to verify
5100
+ * @returns `null` if valid, otherwise the reason why it is not
5101
+ */
5102
+ public static verify(message: { [k: string]: any }): (string|null);
5103
+
5104
+ /**
5105
+ * Creates a SCIMUser message from a plain object. Also converts values to their respective internal types.
5106
+ * @param object Plain object
5107
+ * @returns SCIMUser
5108
+ */
5109
+ public static fromObject(object: { [k: string]: any }): scim.SCIMUser;
5110
+
5111
+ /**
5112
+ * Creates a plain object from a SCIMUser message. Also converts values to other types if specified.
5113
+ * @param message SCIMUser
5114
+ * @param [options] Conversion options
5115
+ * @returns Plain object
5116
+ */
5117
+ public static toObject(message: scim.SCIMUser, options?: $protobuf.IConversionOptions): { [k: string]: any };
5118
+
5119
+ /**
5120
+ * Converts this SCIMUser to JSON.
5121
+ * @returns JSON object
5122
+ */
5123
+ public toJSON(): { [k: string]: any };
5124
+ }
5125
+ }
5126
+
5009
5127
  /** Properties of a SuccessfulUserLogin. */
5010
5128
  export interface ISuccessfulUserLogin {
5011
5129
 
@@ -16626,6 +16744,102 @@ export class SleepcastDeleted implements ISleepcastDeleted {
16626
16744
  public toJSON(): { [k: string]: any };
16627
16745
  }
16628
16746
 
16747
+ /** Properties of a SCIMUserUpdated. */
16748
+ export interface ISCIMUserUpdated {
16749
+
16750
+ /** SCIMUserUpdated timestamp */
16751
+ timestamp?: (number|Long|null);
16752
+
16753
+ /** SCIMUserUpdated scimUser */
16754
+ scimUser?: (scim.ISCIMUser|null);
16755
+ }
16756
+
16757
+ /** Represents a SCIMUserUpdated. */
16758
+ export class SCIMUserUpdated implements ISCIMUserUpdated {
16759
+
16760
+ /**
16761
+ * Constructs a new SCIMUserUpdated.
16762
+ * @param [properties] Properties to set
16763
+ */
16764
+ constructor(properties?: ISCIMUserUpdated);
16765
+
16766
+ /** SCIMUserUpdated timestamp. */
16767
+ public timestamp: (number|Long);
16768
+
16769
+ /** SCIMUserUpdated scimUser. */
16770
+ public scimUser?: (scim.ISCIMUser|null);
16771
+
16772
+ /**
16773
+ * Creates a new SCIMUserUpdated instance using the specified properties.
16774
+ * @param [properties] Properties to set
16775
+ * @returns SCIMUserUpdated instance
16776
+ */
16777
+ public static create(properties?: ISCIMUserUpdated): SCIMUserUpdated;
16778
+
16779
+ /**
16780
+ * Encodes the specified SCIMUserUpdated message. Does not implicitly {@link SCIMUserUpdated.verify|verify} messages.
16781
+ * @param message SCIMUserUpdated message or plain object to encode
16782
+ * @param [writer] Writer to encode to
16783
+ * @returns Writer
16784
+ */
16785
+ public static encode(message: ISCIMUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
16786
+
16787
+ /**
16788
+ * Encodes the specified SCIMUserUpdated message, length delimited. Does not implicitly {@link SCIMUserUpdated.verify|verify} messages.
16789
+ * @param message SCIMUserUpdated message or plain object to encode
16790
+ * @param [writer] Writer to encode to
16791
+ * @returns Writer
16792
+ */
16793
+ public static encodeDelimited(message: ISCIMUserUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
16794
+
16795
+ /**
16796
+ * Decodes a SCIMUserUpdated message from the specified reader or buffer.
16797
+ * @param reader Reader or buffer to decode from
16798
+ * @param [length] Message length if known beforehand
16799
+ * @returns SCIMUserUpdated
16800
+ * @throws {Error} If the payload is not a reader or valid buffer
16801
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16802
+ */
16803
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SCIMUserUpdated;
16804
+
16805
+ /**
16806
+ * Decodes a SCIMUserUpdated message from the specified reader or buffer, length delimited.
16807
+ * @param reader Reader or buffer to decode from
16808
+ * @returns SCIMUserUpdated
16809
+ * @throws {Error} If the payload is not a reader or valid buffer
16810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16811
+ */
16812
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SCIMUserUpdated;
16813
+
16814
+ /**
16815
+ * Verifies a SCIMUserUpdated message.
16816
+ * @param message Plain object to verify
16817
+ * @returns `null` if valid, otherwise the reason why it is not
16818
+ */
16819
+ public static verify(message: { [k: string]: any }): (string|null);
16820
+
16821
+ /**
16822
+ * Creates a SCIMUserUpdated message from a plain object. Also converts values to their respective internal types.
16823
+ * @param object Plain object
16824
+ * @returns SCIMUserUpdated
16825
+ */
16826
+ public static fromObject(object: { [k: string]: any }): SCIMUserUpdated;
16827
+
16828
+ /**
16829
+ * Creates a plain object from a SCIMUserUpdated message. Also converts values to other types if specified.
16830
+ * @param message SCIMUserUpdated
16831
+ * @param [options] Conversion options
16832
+ * @returns Plain object
16833
+ */
16834
+ public static toObject(message: SCIMUserUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
16835
+
16836
+ /**
16837
+ * Converts this SCIMUserUpdated to JSON.
16838
+ * @returns JSON object
16839
+ */
16840
+ public toJSON(): { [k: string]: any };
16841
+ }
16842
+
16629
16843
  /** Properties of an IosSubscriptionCreated. */
16630
16844
  export interface IIosSubscriptionCreated {
16631
16845
 
package/lib/index.js CHANGED
@@ -12179,6 +12179,294 @@ $root.userdomain = (function() {
12179
12179
  return userdomain;
12180
12180
  })();
12181
12181
 
12182
+ $root.scim = (function() {
12183
+
12184
+ /**
12185
+ * Namespace scim.
12186
+ * @exports scim
12187
+ * @namespace
12188
+ */
12189
+ var scim = {};
12190
+
12191
+ scim.SCIMUser = (function() {
12192
+
12193
+ /**
12194
+ * Properties of a SCIMUser.
12195
+ * @memberof scim
12196
+ * @interface ISCIMUser
12197
+ * @property {number|null} [orgId] SCIMUser orgId
12198
+ * @property {string|null} [firstName] SCIMUser firstName
12199
+ * @property {string|null} [lastName] SCIMUser lastName
12200
+ * @property {string|null} [workEmail] SCIMUser workEmail
12201
+ * @property {boolean|null} [isActive] SCIMUser isActive
12202
+ */
12203
+
12204
+ /**
12205
+ * Constructs a new SCIMUser.
12206
+ * @memberof scim
12207
+ * @classdesc Represents a SCIMUser.
12208
+ * @implements ISCIMUser
12209
+ * @constructor
12210
+ * @param {scim.ISCIMUser=} [properties] Properties to set
12211
+ */
12212
+ function SCIMUser(properties) {
12213
+ if (properties)
12214
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12215
+ if (properties[keys[i]] != null)
12216
+ this[keys[i]] = properties[keys[i]];
12217
+ }
12218
+
12219
+ /**
12220
+ * SCIMUser orgId.
12221
+ * @member {number} orgId
12222
+ * @memberof scim.SCIMUser
12223
+ * @instance
12224
+ */
12225
+ SCIMUser.prototype.orgId = 0;
12226
+
12227
+ /**
12228
+ * SCIMUser firstName.
12229
+ * @member {string} firstName
12230
+ * @memberof scim.SCIMUser
12231
+ * @instance
12232
+ */
12233
+ SCIMUser.prototype.firstName = "";
12234
+
12235
+ /**
12236
+ * SCIMUser lastName.
12237
+ * @member {string} lastName
12238
+ * @memberof scim.SCIMUser
12239
+ * @instance
12240
+ */
12241
+ SCIMUser.prototype.lastName = "";
12242
+
12243
+ /**
12244
+ * SCIMUser workEmail.
12245
+ * @member {string} workEmail
12246
+ * @memberof scim.SCIMUser
12247
+ * @instance
12248
+ */
12249
+ SCIMUser.prototype.workEmail = "";
12250
+
12251
+ /**
12252
+ * SCIMUser isActive.
12253
+ * @member {boolean} isActive
12254
+ * @memberof scim.SCIMUser
12255
+ * @instance
12256
+ */
12257
+ SCIMUser.prototype.isActive = false;
12258
+
12259
+ /**
12260
+ * Creates a new SCIMUser instance using the specified properties.
12261
+ * @function create
12262
+ * @memberof scim.SCIMUser
12263
+ * @static
12264
+ * @param {scim.ISCIMUser=} [properties] Properties to set
12265
+ * @returns {scim.SCIMUser} SCIMUser instance
12266
+ */
12267
+ SCIMUser.create = function create(properties) {
12268
+ return new SCIMUser(properties);
12269
+ };
12270
+
12271
+ /**
12272
+ * Encodes the specified SCIMUser message. Does not implicitly {@link scim.SCIMUser.verify|verify} messages.
12273
+ * @function encode
12274
+ * @memberof scim.SCIMUser
12275
+ * @static
12276
+ * @param {scim.ISCIMUser} message SCIMUser message or plain object to encode
12277
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12278
+ * @returns {$protobuf.Writer} Writer
12279
+ */
12280
+ SCIMUser.encode = function encode(message, writer) {
12281
+ if (!writer)
12282
+ writer = $Writer.create();
12283
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
12284
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.orgId);
12285
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
12286
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.firstName);
12287
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
12288
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.lastName);
12289
+ if (message.workEmail != null && message.hasOwnProperty("workEmail"))
12290
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.workEmail);
12291
+ if (message.isActive != null && message.hasOwnProperty("isActive"))
12292
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isActive);
12293
+ return writer;
12294
+ };
12295
+
12296
+ /**
12297
+ * Encodes the specified SCIMUser message, length delimited. Does not implicitly {@link scim.SCIMUser.verify|verify} messages.
12298
+ * @function encodeDelimited
12299
+ * @memberof scim.SCIMUser
12300
+ * @static
12301
+ * @param {scim.ISCIMUser} message SCIMUser message or plain object to encode
12302
+ * @param {$protobuf.Writer} [writer] Writer to encode to
12303
+ * @returns {$protobuf.Writer} Writer
12304
+ */
12305
+ SCIMUser.encodeDelimited = function encodeDelimited(message, writer) {
12306
+ return this.encode(message, writer).ldelim();
12307
+ };
12308
+
12309
+ /**
12310
+ * Decodes a SCIMUser message from the specified reader or buffer.
12311
+ * @function decode
12312
+ * @memberof scim.SCIMUser
12313
+ * @static
12314
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12315
+ * @param {number} [length] Message length if known beforehand
12316
+ * @returns {scim.SCIMUser} SCIMUser
12317
+ * @throws {Error} If the payload is not a reader or valid buffer
12318
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12319
+ */
12320
+ SCIMUser.decode = function decode(reader, length) {
12321
+ if (!(reader instanceof $Reader))
12322
+ reader = $Reader.create(reader);
12323
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.scim.SCIMUser();
12324
+ while (reader.pos < end) {
12325
+ var tag = reader.uint32();
12326
+ switch (tag >>> 3) {
12327
+ case 1:
12328
+ message.orgId = reader.uint32();
12329
+ break;
12330
+ case 2:
12331
+ message.firstName = reader.string();
12332
+ break;
12333
+ case 3:
12334
+ message.lastName = reader.string();
12335
+ break;
12336
+ case 4:
12337
+ message.workEmail = reader.string();
12338
+ break;
12339
+ case 5:
12340
+ message.isActive = reader.bool();
12341
+ break;
12342
+ default:
12343
+ reader.skipType(tag & 7);
12344
+ break;
12345
+ }
12346
+ }
12347
+ return message;
12348
+ };
12349
+
12350
+ /**
12351
+ * Decodes a SCIMUser message from the specified reader or buffer, length delimited.
12352
+ * @function decodeDelimited
12353
+ * @memberof scim.SCIMUser
12354
+ * @static
12355
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12356
+ * @returns {scim.SCIMUser} SCIMUser
12357
+ * @throws {Error} If the payload is not a reader or valid buffer
12358
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12359
+ */
12360
+ SCIMUser.decodeDelimited = function decodeDelimited(reader) {
12361
+ if (!(reader instanceof $Reader))
12362
+ reader = new $Reader(reader);
12363
+ return this.decode(reader, reader.uint32());
12364
+ };
12365
+
12366
+ /**
12367
+ * Verifies a SCIMUser message.
12368
+ * @function verify
12369
+ * @memberof scim.SCIMUser
12370
+ * @static
12371
+ * @param {Object.<string,*>} message Plain object to verify
12372
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
12373
+ */
12374
+ SCIMUser.verify = function verify(message) {
12375
+ if (typeof message !== "object" || message === null)
12376
+ return "object expected";
12377
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
12378
+ if (!$util.isInteger(message.orgId))
12379
+ return "orgId: integer expected";
12380
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
12381
+ if (!$util.isString(message.firstName))
12382
+ return "firstName: string expected";
12383
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
12384
+ if (!$util.isString(message.lastName))
12385
+ return "lastName: string expected";
12386
+ if (message.workEmail != null && message.hasOwnProperty("workEmail"))
12387
+ if (!$util.isString(message.workEmail))
12388
+ return "workEmail: string expected";
12389
+ if (message.isActive != null && message.hasOwnProperty("isActive"))
12390
+ if (typeof message.isActive !== "boolean")
12391
+ return "isActive: boolean expected";
12392
+ return null;
12393
+ };
12394
+
12395
+ /**
12396
+ * Creates a SCIMUser message from a plain object. Also converts values to their respective internal types.
12397
+ * @function fromObject
12398
+ * @memberof scim.SCIMUser
12399
+ * @static
12400
+ * @param {Object.<string,*>} object Plain object
12401
+ * @returns {scim.SCIMUser} SCIMUser
12402
+ */
12403
+ SCIMUser.fromObject = function fromObject(object) {
12404
+ if (object instanceof $root.scim.SCIMUser)
12405
+ return object;
12406
+ var message = new $root.scim.SCIMUser();
12407
+ if (object.orgId != null)
12408
+ message.orgId = object.orgId >>> 0;
12409
+ if (object.firstName != null)
12410
+ message.firstName = String(object.firstName);
12411
+ if (object.lastName != null)
12412
+ message.lastName = String(object.lastName);
12413
+ if (object.workEmail != null)
12414
+ message.workEmail = String(object.workEmail);
12415
+ if (object.isActive != null)
12416
+ message.isActive = Boolean(object.isActive);
12417
+ return message;
12418
+ };
12419
+
12420
+ /**
12421
+ * Creates a plain object from a SCIMUser message. Also converts values to other types if specified.
12422
+ * @function toObject
12423
+ * @memberof scim.SCIMUser
12424
+ * @static
12425
+ * @param {scim.SCIMUser} message SCIMUser
12426
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
12427
+ * @returns {Object.<string,*>} Plain object
12428
+ */
12429
+ SCIMUser.toObject = function toObject(message, options) {
12430
+ if (!options)
12431
+ options = {};
12432
+ var object = {};
12433
+ if (options.defaults) {
12434
+ object.orgId = 0;
12435
+ object.firstName = "";
12436
+ object.lastName = "";
12437
+ object.workEmail = "";
12438
+ object.isActive = false;
12439
+ }
12440
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
12441
+ object.orgId = message.orgId;
12442
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
12443
+ object.firstName = message.firstName;
12444
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
12445
+ object.lastName = message.lastName;
12446
+ if (message.workEmail != null && message.hasOwnProperty("workEmail"))
12447
+ object.workEmail = message.workEmail;
12448
+ if (message.isActive != null && message.hasOwnProperty("isActive"))
12449
+ object.isActive = message.isActive;
12450
+ return object;
12451
+ };
12452
+
12453
+ /**
12454
+ * Converts this SCIMUser to JSON.
12455
+ * @function toJSON
12456
+ * @memberof scim.SCIMUser
12457
+ * @instance
12458
+ * @returns {Object.<string,*>} JSON object
12459
+ */
12460
+ SCIMUser.prototype.toJSON = function toJSON() {
12461
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12462
+ };
12463
+
12464
+ return SCIMUser;
12465
+ })();
12466
+
12467
+ return scim;
12468
+ })();
12469
+
12182
12470
  $root.SuccessfulUserLogin = (function() {
12183
12471
 
12184
12472
  /**
@@ -46333,6 +46621,235 @@ $root.SleepcastDeleted = (function() {
46333
46621
  return SleepcastDeleted;
46334
46622
  })();
46335
46623
 
46624
+ $root.SCIMUserUpdated = (function() {
46625
+
46626
+ /**
46627
+ * Properties of a SCIMUserUpdated.
46628
+ * @exports ISCIMUserUpdated
46629
+ * @interface ISCIMUserUpdated
46630
+ * @property {number|Long|null} [timestamp] SCIMUserUpdated timestamp
46631
+ * @property {scim.ISCIMUser|null} [scimUser] SCIMUserUpdated scimUser
46632
+ */
46633
+
46634
+ /**
46635
+ * Constructs a new SCIMUserUpdated.
46636
+ * @exports SCIMUserUpdated
46637
+ * @classdesc Represents a SCIMUserUpdated.
46638
+ * @implements ISCIMUserUpdated
46639
+ * @constructor
46640
+ * @param {ISCIMUserUpdated=} [properties] Properties to set
46641
+ */
46642
+ function SCIMUserUpdated(properties) {
46643
+ if (properties)
46644
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
46645
+ if (properties[keys[i]] != null)
46646
+ this[keys[i]] = properties[keys[i]];
46647
+ }
46648
+
46649
+ /**
46650
+ * SCIMUserUpdated timestamp.
46651
+ * @member {number|Long} timestamp
46652
+ * @memberof SCIMUserUpdated
46653
+ * @instance
46654
+ */
46655
+ SCIMUserUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
46656
+
46657
+ /**
46658
+ * SCIMUserUpdated scimUser.
46659
+ * @member {scim.ISCIMUser|null|undefined} scimUser
46660
+ * @memberof SCIMUserUpdated
46661
+ * @instance
46662
+ */
46663
+ SCIMUserUpdated.prototype.scimUser = null;
46664
+
46665
+ /**
46666
+ * Creates a new SCIMUserUpdated instance using the specified properties.
46667
+ * @function create
46668
+ * @memberof SCIMUserUpdated
46669
+ * @static
46670
+ * @param {ISCIMUserUpdated=} [properties] Properties to set
46671
+ * @returns {SCIMUserUpdated} SCIMUserUpdated instance
46672
+ */
46673
+ SCIMUserUpdated.create = function create(properties) {
46674
+ return new SCIMUserUpdated(properties);
46675
+ };
46676
+
46677
+ /**
46678
+ * Encodes the specified SCIMUserUpdated message. Does not implicitly {@link SCIMUserUpdated.verify|verify} messages.
46679
+ * @function encode
46680
+ * @memberof SCIMUserUpdated
46681
+ * @static
46682
+ * @param {ISCIMUserUpdated} message SCIMUserUpdated message or plain object to encode
46683
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46684
+ * @returns {$protobuf.Writer} Writer
46685
+ */
46686
+ SCIMUserUpdated.encode = function encode(message, writer) {
46687
+ if (!writer)
46688
+ writer = $Writer.create();
46689
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46690
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
46691
+ if (message.scimUser != null && message.hasOwnProperty("scimUser"))
46692
+ $root.scim.SCIMUser.encode(message.scimUser, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
46693
+ return writer;
46694
+ };
46695
+
46696
+ /**
46697
+ * Encodes the specified SCIMUserUpdated message, length delimited. Does not implicitly {@link SCIMUserUpdated.verify|verify} messages.
46698
+ * @function encodeDelimited
46699
+ * @memberof SCIMUserUpdated
46700
+ * @static
46701
+ * @param {ISCIMUserUpdated} message SCIMUserUpdated message or plain object to encode
46702
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46703
+ * @returns {$protobuf.Writer} Writer
46704
+ */
46705
+ SCIMUserUpdated.encodeDelimited = function encodeDelimited(message, writer) {
46706
+ return this.encode(message, writer).ldelim();
46707
+ };
46708
+
46709
+ /**
46710
+ * Decodes a SCIMUserUpdated message from the specified reader or buffer.
46711
+ * @function decode
46712
+ * @memberof SCIMUserUpdated
46713
+ * @static
46714
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46715
+ * @param {number} [length] Message length if known beforehand
46716
+ * @returns {SCIMUserUpdated} SCIMUserUpdated
46717
+ * @throws {Error} If the payload is not a reader or valid buffer
46718
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46719
+ */
46720
+ SCIMUserUpdated.decode = function decode(reader, length) {
46721
+ if (!(reader instanceof $Reader))
46722
+ reader = $Reader.create(reader);
46723
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SCIMUserUpdated();
46724
+ while (reader.pos < end) {
46725
+ var tag = reader.uint32();
46726
+ switch (tag >>> 3) {
46727
+ case 1:
46728
+ message.timestamp = reader.uint64();
46729
+ break;
46730
+ case 2:
46731
+ message.scimUser = $root.scim.SCIMUser.decode(reader, reader.uint32());
46732
+ break;
46733
+ default:
46734
+ reader.skipType(tag & 7);
46735
+ break;
46736
+ }
46737
+ }
46738
+ return message;
46739
+ };
46740
+
46741
+ /**
46742
+ * Decodes a SCIMUserUpdated message from the specified reader or buffer, length delimited.
46743
+ * @function decodeDelimited
46744
+ * @memberof SCIMUserUpdated
46745
+ * @static
46746
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46747
+ * @returns {SCIMUserUpdated} SCIMUserUpdated
46748
+ * @throws {Error} If the payload is not a reader or valid buffer
46749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46750
+ */
46751
+ SCIMUserUpdated.decodeDelimited = function decodeDelimited(reader) {
46752
+ if (!(reader instanceof $Reader))
46753
+ reader = new $Reader(reader);
46754
+ return this.decode(reader, reader.uint32());
46755
+ };
46756
+
46757
+ /**
46758
+ * Verifies a SCIMUserUpdated message.
46759
+ * @function verify
46760
+ * @memberof SCIMUserUpdated
46761
+ * @static
46762
+ * @param {Object.<string,*>} message Plain object to verify
46763
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
46764
+ */
46765
+ SCIMUserUpdated.verify = function verify(message) {
46766
+ if (typeof message !== "object" || message === null)
46767
+ return "object expected";
46768
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46769
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
46770
+ return "timestamp: integer|Long expected";
46771
+ if (message.scimUser != null && message.hasOwnProperty("scimUser")) {
46772
+ var error = $root.scim.SCIMUser.verify(message.scimUser);
46773
+ if (error)
46774
+ return "scimUser." + error;
46775
+ }
46776
+ return null;
46777
+ };
46778
+
46779
+ /**
46780
+ * Creates a SCIMUserUpdated message from a plain object. Also converts values to their respective internal types.
46781
+ * @function fromObject
46782
+ * @memberof SCIMUserUpdated
46783
+ * @static
46784
+ * @param {Object.<string,*>} object Plain object
46785
+ * @returns {SCIMUserUpdated} SCIMUserUpdated
46786
+ */
46787
+ SCIMUserUpdated.fromObject = function fromObject(object) {
46788
+ if (object instanceof $root.SCIMUserUpdated)
46789
+ return object;
46790
+ var message = new $root.SCIMUserUpdated();
46791
+ if (object.timestamp != null)
46792
+ if ($util.Long)
46793
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
46794
+ else if (typeof object.timestamp === "string")
46795
+ message.timestamp = parseInt(object.timestamp, 10);
46796
+ else if (typeof object.timestamp === "number")
46797
+ message.timestamp = object.timestamp;
46798
+ else if (typeof object.timestamp === "object")
46799
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
46800
+ if (object.scimUser != null) {
46801
+ if (typeof object.scimUser !== "object")
46802
+ throw TypeError(".SCIMUserUpdated.scimUser: object expected");
46803
+ message.scimUser = $root.scim.SCIMUser.fromObject(object.scimUser);
46804
+ }
46805
+ return message;
46806
+ };
46807
+
46808
+ /**
46809
+ * Creates a plain object from a SCIMUserUpdated message. Also converts values to other types if specified.
46810
+ * @function toObject
46811
+ * @memberof SCIMUserUpdated
46812
+ * @static
46813
+ * @param {SCIMUserUpdated} message SCIMUserUpdated
46814
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
46815
+ * @returns {Object.<string,*>} Plain object
46816
+ */
46817
+ SCIMUserUpdated.toObject = function toObject(message, options) {
46818
+ if (!options)
46819
+ options = {};
46820
+ var object = {};
46821
+ if (options.defaults) {
46822
+ if ($util.Long) {
46823
+ var long = new $util.Long(0, 0, true);
46824
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
46825
+ } else
46826
+ object.timestamp = options.longs === String ? "0" : 0;
46827
+ object.scimUser = null;
46828
+ }
46829
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46830
+ if (typeof message.timestamp === "number")
46831
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
46832
+ else
46833
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
46834
+ if (message.scimUser != null && message.hasOwnProperty("scimUser"))
46835
+ object.scimUser = $root.scim.SCIMUser.toObject(message.scimUser, options);
46836
+ return object;
46837
+ };
46838
+
46839
+ /**
46840
+ * Converts this SCIMUserUpdated to JSON.
46841
+ * @function toJSON
46842
+ * @memberof SCIMUserUpdated
46843
+ * @instance
46844
+ * @returns {Object.<string,*>} JSON object
46845
+ */
46846
+ SCIMUserUpdated.prototype.toJSON = function toJSON() {
46847
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
46848
+ };
46849
+
46850
+ return SCIMUserUpdated;
46851
+ })();
46852
+
46336
46853
  $root.IosSubscriptionCreated = (function() {
46337
46854
 
46338
46855
  /**
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.227.0"
19
+ "version": "1.228.0"
20
20
  }