@headspace/protos-events 1.226.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 +238 -0
- package/lib/index.js +649 -2
- package/package.json +1 -1
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
|
|
|
@@ -16178,6 +16296,18 @@ export interface ISleepcastVariantCreated {
|
|
|
16178
16296
|
|
|
16179
16297
|
/** SleepcastVariantCreated outputs */
|
|
16180
16298
|
outputs?: ({ [k: string]: IOutput }|null);
|
|
16299
|
+
|
|
16300
|
+
/** SleepcastVariantCreated recipes */
|
|
16301
|
+
recipes?: ({ [k: string]: string }|null);
|
|
16302
|
+
|
|
16303
|
+
/** SleepcastVariantCreated inputDir */
|
|
16304
|
+
inputDir?: (string|null);
|
|
16305
|
+
|
|
16306
|
+
/** SleepcastVariantCreated outputDir */
|
|
16307
|
+
outputDir?: (string|null);
|
|
16308
|
+
|
|
16309
|
+
/** SleepcastVariantCreated durations */
|
|
16310
|
+
durations?: ({ [k: string]: number }|null);
|
|
16181
16311
|
}
|
|
16182
16312
|
|
|
16183
16313
|
/** Represents a SleepcastVariantCreated. */
|
|
@@ -16195,6 +16325,18 @@ export class SleepcastVariantCreated implements ISleepcastVariantCreated {
|
|
|
16195
16325
|
/** SleepcastVariantCreated outputs. */
|
|
16196
16326
|
public outputs: { [k: string]: IOutput };
|
|
16197
16327
|
|
|
16328
|
+
/** SleepcastVariantCreated recipes. */
|
|
16329
|
+
public recipes: { [k: string]: string };
|
|
16330
|
+
|
|
16331
|
+
/** SleepcastVariantCreated inputDir. */
|
|
16332
|
+
public inputDir: string;
|
|
16333
|
+
|
|
16334
|
+
/** SleepcastVariantCreated outputDir. */
|
|
16335
|
+
public outputDir: string;
|
|
16336
|
+
|
|
16337
|
+
/** SleepcastVariantCreated durations. */
|
|
16338
|
+
public durations: { [k: string]: number };
|
|
16339
|
+
|
|
16198
16340
|
/**
|
|
16199
16341
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
16200
16342
|
* @param [properties] Properties to set
|
|
@@ -16602,6 +16744,102 @@ export class SleepcastDeleted implements ISleepcastDeleted {
|
|
|
16602
16744
|
public toJSON(): { [k: string]: any };
|
|
16603
16745
|
}
|
|
16604
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
|
+
|
|
16605
16843
|
/** Properties of an IosSubscriptionCreated. */
|
|
16606
16844
|
export interface IIosSubscriptionCreated {
|
|
16607
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
|
/**
|
|
@@ -45023,6 +45311,10 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45023
45311
|
* @interface ISleepcastVariantCreated
|
|
45024
45312
|
* @property {number|null} [sleepcastId] SleepcastVariantCreated sleepcastId
|
|
45025
45313
|
* @property {Object.<string,IOutput>|null} [outputs] SleepcastVariantCreated outputs
|
|
45314
|
+
* @property {Object.<string,string>|null} [recipes] SleepcastVariantCreated recipes
|
|
45315
|
+
* @property {string|null} [inputDir] SleepcastVariantCreated inputDir
|
|
45316
|
+
* @property {string|null} [outputDir] SleepcastVariantCreated outputDir
|
|
45317
|
+
* @property {Object.<string,number>|null} [durations] SleepcastVariantCreated durations
|
|
45026
45318
|
*/
|
|
45027
45319
|
|
|
45028
45320
|
/**
|
|
@@ -45035,6 +45327,8 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45035
45327
|
*/
|
|
45036
45328
|
function SleepcastVariantCreated(properties) {
|
|
45037
45329
|
this.outputs = {};
|
|
45330
|
+
this.recipes = {};
|
|
45331
|
+
this.durations = {};
|
|
45038
45332
|
if (properties)
|
|
45039
45333
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45040
45334
|
if (properties[keys[i]] != null)
|
|
@@ -45057,6 +45351,38 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45057
45351
|
*/
|
|
45058
45352
|
SleepcastVariantCreated.prototype.outputs = $util.emptyObject;
|
|
45059
45353
|
|
|
45354
|
+
/**
|
|
45355
|
+
* SleepcastVariantCreated recipes.
|
|
45356
|
+
* @member {Object.<string,string>} recipes
|
|
45357
|
+
* @memberof SleepcastVariantCreated
|
|
45358
|
+
* @instance
|
|
45359
|
+
*/
|
|
45360
|
+
SleepcastVariantCreated.prototype.recipes = $util.emptyObject;
|
|
45361
|
+
|
|
45362
|
+
/**
|
|
45363
|
+
* SleepcastVariantCreated inputDir.
|
|
45364
|
+
* @member {string} inputDir
|
|
45365
|
+
* @memberof SleepcastVariantCreated
|
|
45366
|
+
* @instance
|
|
45367
|
+
*/
|
|
45368
|
+
SleepcastVariantCreated.prototype.inputDir = "";
|
|
45369
|
+
|
|
45370
|
+
/**
|
|
45371
|
+
* SleepcastVariantCreated outputDir.
|
|
45372
|
+
* @member {string} outputDir
|
|
45373
|
+
* @memberof SleepcastVariantCreated
|
|
45374
|
+
* @instance
|
|
45375
|
+
*/
|
|
45376
|
+
SleepcastVariantCreated.prototype.outputDir = "";
|
|
45377
|
+
|
|
45378
|
+
/**
|
|
45379
|
+
* SleepcastVariantCreated durations.
|
|
45380
|
+
* @member {Object.<string,number>} durations
|
|
45381
|
+
* @memberof SleepcastVariantCreated
|
|
45382
|
+
* @instance
|
|
45383
|
+
*/
|
|
45384
|
+
SleepcastVariantCreated.prototype.durations = $util.emptyObject;
|
|
45385
|
+
|
|
45060
45386
|
/**
|
|
45061
45387
|
* Creates a new SleepcastVariantCreated instance using the specified properties.
|
|
45062
45388
|
* @function create
|
|
@@ -45088,6 +45414,16 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45088
45414
|
writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
45089
45415
|
$root.Output.encode(message.outputs[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
45090
45416
|
}
|
|
45417
|
+
if (message.recipes != null && message.hasOwnProperty("recipes"))
|
|
45418
|
+
for (var keys = Object.keys(message.recipes), i = 0; i < keys.length; ++i)
|
|
45419
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.recipes[keys[i]]).ldelim();
|
|
45420
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45421
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.inputDir);
|
|
45422
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45423
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.outputDir);
|
|
45424
|
+
if (message.durations != null && message.hasOwnProperty("durations"))
|
|
45425
|
+
for (var keys = Object.keys(message.durations), i = 0; i < keys.length; ++i)
|
|
45426
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.durations[keys[i]]).ldelim();
|
|
45091
45427
|
return writer;
|
|
45092
45428
|
};
|
|
45093
45429
|
|
|
@@ -45133,6 +45469,28 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45133
45469
|
reader.pos++;
|
|
45134
45470
|
message.outputs[key] = $root.Output.decode(reader, reader.uint32());
|
|
45135
45471
|
break;
|
|
45472
|
+
case 3:
|
|
45473
|
+
reader.skip().pos++;
|
|
45474
|
+
if (message.recipes === $util.emptyObject)
|
|
45475
|
+
message.recipes = {};
|
|
45476
|
+
key = reader.string();
|
|
45477
|
+
reader.pos++;
|
|
45478
|
+
message.recipes[key] = reader.string();
|
|
45479
|
+
break;
|
|
45480
|
+
case 4:
|
|
45481
|
+
message.inputDir = reader.string();
|
|
45482
|
+
break;
|
|
45483
|
+
case 5:
|
|
45484
|
+
message.outputDir = reader.string();
|
|
45485
|
+
break;
|
|
45486
|
+
case 6:
|
|
45487
|
+
reader.skip().pos++;
|
|
45488
|
+
if (message.durations === $util.emptyObject)
|
|
45489
|
+
message.durations = {};
|
|
45490
|
+
key = reader.string();
|
|
45491
|
+
reader.pos++;
|
|
45492
|
+
message.durations[key] = reader.int32();
|
|
45493
|
+
break;
|
|
45136
45494
|
default:
|
|
45137
45495
|
reader.skipType(tag & 7);
|
|
45138
45496
|
break;
|
|
@@ -45181,6 +45539,28 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45181
45539
|
return "outputs." + error;
|
|
45182
45540
|
}
|
|
45183
45541
|
}
|
|
45542
|
+
if (message.recipes != null && message.hasOwnProperty("recipes")) {
|
|
45543
|
+
if (!$util.isObject(message.recipes))
|
|
45544
|
+
return "recipes: object expected";
|
|
45545
|
+
var key = Object.keys(message.recipes);
|
|
45546
|
+
for (var i = 0; i < key.length; ++i)
|
|
45547
|
+
if (!$util.isString(message.recipes[key[i]]))
|
|
45548
|
+
return "recipes: string{k:string} expected";
|
|
45549
|
+
}
|
|
45550
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45551
|
+
if (!$util.isString(message.inputDir))
|
|
45552
|
+
return "inputDir: string expected";
|
|
45553
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45554
|
+
if (!$util.isString(message.outputDir))
|
|
45555
|
+
return "outputDir: string expected";
|
|
45556
|
+
if (message.durations != null && message.hasOwnProperty("durations")) {
|
|
45557
|
+
if (!$util.isObject(message.durations))
|
|
45558
|
+
return "durations: object expected";
|
|
45559
|
+
var key = Object.keys(message.durations);
|
|
45560
|
+
for (var i = 0; i < key.length; ++i)
|
|
45561
|
+
if (!$util.isInteger(message.durations[key[i]]))
|
|
45562
|
+
return "durations: integer{k:string} expected";
|
|
45563
|
+
}
|
|
45184
45564
|
return null;
|
|
45185
45565
|
};
|
|
45186
45566
|
|
|
@@ -45208,6 +45588,24 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45208
45588
|
message.outputs[keys[i]] = $root.Output.fromObject(object.outputs[keys[i]]);
|
|
45209
45589
|
}
|
|
45210
45590
|
}
|
|
45591
|
+
if (object.recipes) {
|
|
45592
|
+
if (typeof object.recipes !== "object")
|
|
45593
|
+
throw TypeError(".SleepcastVariantCreated.recipes: object expected");
|
|
45594
|
+
message.recipes = {};
|
|
45595
|
+
for (var keys = Object.keys(object.recipes), i = 0; i < keys.length; ++i)
|
|
45596
|
+
message.recipes[keys[i]] = String(object.recipes[keys[i]]);
|
|
45597
|
+
}
|
|
45598
|
+
if (object.inputDir != null)
|
|
45599
|
+
message.inputDir = String(object.inputDir);
|
|
45600
|
+
if (object.outputDir != null)
|
|
45601
|
+
message.outputDir = String(object.outputDir);
|
|
45602
|
+
if (object.durations) {
|
|
45603
|
+
if (typeof object.durations !== "object")
|
|
45604
|
+
throw TypeError(".SleepcastVariantCreated.durations: object expected");
|
|
45605
|
+
message.durations = {};
|
|
45606
|
+
for (var keys = Object.keys(object.durations), i = 0; i < keys.length; ++i)
|
|
45607
|
+
message.durations[keys[i]] = object.durations[keys[i]] | 0;
|
|
45608
|
+
}
|
|
45211
45609
|
return message;
|
|
45212
45610
|
};
|
|
45213
45611
|
|
|
@@ -45224,10 +45622,16 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45224
45622
|
if (!options)
|
|
45225
45623
|
options = {};
|
|
45226
45624
|
var object = {};
|
|
45227
|
-
if (options.objects || options.defaults)
|
|
45625
|
+
if (options.objects || options.defaults) {
|
|
45228
45626
|
object.outputs = {};
|
|
45229
|
-
|
|
45627
|
+
object.recipes = {};
|
|
45628
|
+
object.durations = {};
|
|
45629
|
+
}
|
|
45630
|
+
if (options.defaults) {
|
|
45230
45631
|
object.sleepcastId = 0;
|
|
45632
|
+
object.inputDir = "";
|
|
45633
|
+
object.outputDir = "";
|
|
45634
|
+
}
|
|
45231
45635
|
if (message.sleepcastId != null && message.hasOwnProperty("sleepcastId"))
|
|
45232
45636
|
object.sleepcastId = message.sleepcastId;
|
|
45233
45637
|
var keys2;
|
|
@@ -45236,6 +45640,20 @@ $root.SleepcastVariantCreated = (function() {
|
|
|
45236
45640
|
for (var j = 0; j < keys2.length; ++j)
|
|
45237
45641
|
object.outputs[keys2[j]] = $root.Output.toObject(message.outputs[keys2[j]], options);
|
|
45238
45642
|
}
|
|
45643
|
+
if (message.recipes && (keys2 = Object.keys(message.recipes)).length) {
|
|
45644
|
+
object.recipes = {};
|
|
45645
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45646
|
+
object.recipes[keys2[j]] = message.recipes[keys2[j]];
|
|
45647
|
+
}
|
|
45648
|
+
if (message.inputDir != null && message.hasOwnProperty("inputDir"))
|
|
45649
|
+
object.inputDir = message.inputDir;
|
|
45650
|
+
if (message.outputDir != null && message.hasOwnProperty("outputDir"))
|
|
45651
|
+
object.outputDir = message.outputDir;
|
|
45652
|
+
if (message.durations && (keys2 = Object.keys(message.durations)).length) {
|
|
45653
|
+
object.durations = {};
|
|
45654
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45655
|
+
object.durations[keys2[j]] = message.durations[keys2[j]];
|
|
45656
|
+
}
|
|
45239
45657
|
return object;
|
|
45240
45658
|
};
|
|
45241
45659
|
|
|
@@ -46203,6 +46621,235 @@ $root.SleepcastDeleted = (function() {
|
|
|
46203
46621
|
return SleepcastDeleted;
|
|
46204
46622
|
})();
|
|
46205
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
|
+
|
|
46206
46853
|
$root.IosSubscriptionCreated = (function() {
|
|
46207
46854
|
|
|
46208
46855
|
/**
|
package/package.json
CHANGED