@headspace/protos-events 1.462.0 → 1.463.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 +228 -0
- package/lib/index.js +580 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30284,6 +30284,234 @@ export class EnrollmentChangeMemberRemoval implements IEnrollmentChangeMemberRem
|
|
|
30284
30284
|
public toJSON(): { [k: string]: any };
|
|
30285
30285
|
}
|
|
30286
30286
|
|
|
30287
|
+
/** Properties of a HeadspaceContentShareCreated. */
|
|
30288
|
+
export interface IHeadspaceContentShareCreated {
|
|
30289
|
+
|
|
30290
|
+
/** HeadspaceContentShareCreated contentShareId */
|
|
30291
|
+
contentShareId?: (string|null);
|
|
30292
|
+
|
|
30293
|
+
/** HeadspaceContentShareCreated mediaS3Path */
|
|
30294
|
+
mediaS3Path?: (string|null);
|
|
30295
|
+
|
|
30296
|
+
/** HeadspaceContentShareCreated clipStartSeconds */
|
|
30297
|
+
clipStartSeconds?: (number|null);
|
|
30298
|
+
|
|
30299
|
+
/** HeadspaceContentShareCreated clipEndSeconds */
|
|
30300
|
+
clipEndSeconds?: (number|null);
|
|
30301
|
+
|
|
30302
|
+
/** HeadspaceContentShareCreated timestamp */
|
|
30303
|
+
timestamp?: (number|Long|null);
|
|
30304
|
+
}
|
|
30305
|
+
|
|
30306
|
+
/** Represents a HeadspaceContentShareCreated. */
|
|
30307
|
+
export class HeadspaceContentShareCreated implements IHeadspaceContentShareCreated {
|
|
30308
|
+
|
|
30309
|
+
/**
|
|
30310
|
+
* Constructs a new HeadspaceContentShareCreated.
|
|
30311
|
+
* @param [properties] Properties to set
|
|
30312
|
+
*/
|
|
30313
|
+
constructor(properties?: IHeadspaceContentShareCreated);
|
|
30314
|
+
|
|
30315
|
+
/** HeadspaceContentShareCreated contentShareId. */
|
|
30316
|
+
public contentShareId: string;
|
|
30317
|
+
|
|
30318
|
+
/** HeadspaceContentShareCreated mediaS3Path. */
|
|
30319
|
+
public mediaS3Path: string;
|
|
30320
|
+
|
|
30321
|
+
/** HeadspaceContentShareCreated clipStartSeconds. */
|
|
30322
|
+
public clipStartSeconds: number;
|
|
30323
|
+
|
|
30324
|
+
/** HeadspaceContentShareCreated clipEndSeconds. */
|
|
30325
|
+
public clipEndSeconds: number;
|
|
30326
|
+
|
|
30327
|
+
/** HeadspaceContentShareCreated timestamp. */
|
|
30328
|
+
public timestamp: (number|Long);
|
|
30329
|
+
|
|
30330
|
+
/**
|
|
30331
|
+
* Creates a new HeadspaceContentShareCreated instance using the specified properties.
|
|
30332
|
+
* @param [properties] Properties to set
|
|
30333
|
+
* @returns HeadspaceContentShareCreated instance
|
|
30334
|
+
*/
|
|
30335
|
+
public static create(properties?: IHeadspaceContentShareCreated): HeadspaceContentShareCreated;
|
|
30336
|
+
|
|
30337
|
+
/**
|
|
30338
|
+
* Encodes the specified HeadspaceContentShareCreated message. Does not implicitly {@link HeadspaceContentShareCreated.verify|verify} messages.
|
|
30339
|
+
* @param message HeadspaceContentShareCreated message or plain object to encode
|
|
30340
|
+
* @param [writer] Writer to encode to
|
|
30341
|
+
* @returns Writer
|
|
30342
|
+
*/
|
|
30343
|
+
public static encode(message: IHeadspaceContentShareCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30344
|
+
|
|
30345
|
+
/**
|
|
30346
|
+
* Encodes the specified HeadspaceContentShareCreated message, length delimited. Does not implicitly {@link HeadspaceContentShareCreated.verify|verify} messages.
|
|
30347
|
+
* @param message HeadspaceContentShareCreated message or plain object to encode
|
|
30348
|
+
* @param [writer] Writer to encode to
|
|
30349
|
+
* @returns Writer
|
|
30350
|
+
*/
|
|
30351
|
+
public static encodeDelimited(message: IHeadspaceContentShareCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30352
|
+
|
|
30353
|
+
/**
|
|
30354
|
+
* Decodes a HeadspaceContentShareCreated message from the specified reader or buffer.
|
|
30355
|
+
* @param reader Reader or buffer to decode from
|
|
30356
|
+
* @param [length] Message length if known beforehand
|
|
30357
|
+
* @returns HeadspaceContentShareCreated
|
|
30358
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30359
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30360
|
+
*/
|
|
30361
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HeadspaceContentShareCreated;
|
|
30362
|
+
|
|
30363
|
+
/**
|
|
30364
|
+
* Decodes a HeadspaceContentShareCreated message from the specified reader or buffer, length delimited.
|
|
30365
|
+
* @param reader Reader or buffer to decode from
|
|
30366
|
+
* @returns HeadspaceContentShareCreated
|
|
30367
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30368
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30369
|
+
*/
|
|
30370
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HeadspaceContentShareCreated;
|
|
30371
|
+
|
|
30372
|
+
/**
|
|
30373
|
+
* Verifies a HeadspaceContentShareCreated message.
|
|
30374
|
+
* @param message Plain object to verify
|
|
30375
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30376
|
+
*/
|
|
30377
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30378
|
+
|
|
30379
|
+
/**
|
|
30380
|
+
* Creates a HeadspaceContentShareCreated message from a plain object. Also converts values to their respective internal types.
|
|
30381
|
+
* @param object Plain object
|
|
30382
|
+
* @returns HeadspaceContentShareCreated
|
|
30383
|
+
*/
|
|
30384
|
+
public static fromObject(object: { [k: string]: any }): HeadspaceContentShareCreated;
|
|
30385
|
+
|
|
30386
|
+
/**
|
|
30387
|
+
* Creates a plain object from a HeadspaceContentShareCreated message. Also converts values to other types if specified.
|
|
30388
|
+
* @param message HeadspaceContentShareCreated
|
|
30389
|
+
* @param [options] Conversion options
|
|
30390
|
+
* @returns Plain object
|
|
30391
|
+
*/
|
|
30392
|
+
public static toObject(message: HeadspaceContentShareCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30393
|
+
|
|
30394
|
+
/**
|
|
30395
|
+
* Converts this HeadspaceContentShareCreated to JSON.
|
|
30396
|
+
* @returns JSON object
|
|
30397
|
+
*/
|
|
30398
|
+
public toJSON(): { [k: string]: any };
|
|
30399
|
+
}
|
|
30400
|
+
|
|
30401
|
+
/** Properties of a HeadspaceContentSharePreviewCreated. */
|
|
30402
|
+
export interface IHeadspaceContentSharePreviewCreated {
|
|
30403
|
+
|
|
30404
|
+
/** HeadspaceContentSharePreviewCreated contentShareId */
|
|
30405
|
+
contentShareId?: (string|null);
|
|
30406
|
+
|
|
30407
|
+
/** HeadspaceContentSharePreviewCreated previewMediaS3Path */
|
|
30408
|
+
previewMediaS3Path?: (string|null);
|
|
30409
|
+
|
|
30410
|
+
/** HeadspaceContentSharePreviewCreated success */
|
|
30411
|
+
success?: (boolean|null);
|
|
30412
|
+
|
|
30413
|
+
/** HeadspaceContentSharePreviewCreated errorInfo */
|
|
30414
|
+
errorInfo?: (string|null);
|
|
30415
|
+
|
|
30416
|
+
/** HeadspaceContentSharePreviewCreated timestamp */
|
|
30417
|
+
timestamp?: (number|Long|null);
|
|
30418
|
+
}
|
|
30419
|
+
|
|
30420
|
+
/** Represents a HeadspaceContentSharePreviewCreated. */
|
|
30421
|
+
export class HeadspaceContentSharePreviewCreated implements IHeadspaceContentSharePreviewCreated {
|
|
30422
|
+
|
|
30423
|
+
/**
|
|
30424
|
+
* Constructs a new HeadspaceContentSharePreviewCreated.
|
|
30425
|
+
* @param [properties] Properties to set
|
|
30426
|
+
*/
|
|
30427
|
+
constructor(properties?: IHeadspaceContentSharePreviewCreated);
|
|
30428
|
+
|
|
30429
|
+
/** HeadspaceContentSharePreviewCreated contentShareId. */
|
|
30430
|
+
public contentShareId: string;
|
|
30431
|
+
|
|
30432
|
+
/** HeadspaceContentSharePreviewCreated previewMediaS3Path. */
|
|
30433
|
+
public previewMediaS3Path: string;
|
|
30434
|
+
|
|
30435
|
+
/** HeadspaceContentSharePreviewCreated success. */
|
|
30436
|
+
public success: boolean;
|
|
30437
|
+
|
|
30438
|
+
/** HeadspaceContentSharePreviewCreated errorInfo. */
|
|
30439
|
+
public errorInfo: string;
|
|
30440
|
+
|
|
30441
|
+
/** HeadspaceContentSharePreviewCreated timestamp. */
|
|
30442
|
+
public timestamp: (number|Long);
|
|
30443
|
+
|
|
30444
|
+
/**
|
|
30445
|
+
* Creates a new HeadspaceContentSharePreviewCreated instance using the specified properties.
|
|
30446
|
+
* @param [properties] Properties to set
|
|
30447
|
+
* @returns HeadspaceContentSharePreviewCreated instance
|
|
30448
|
+
*/
|
|
30449
|
+
public static create(properties?: IHeadspaceContentSharePreviewCreated): HeadspaceContentSharePreviewCreated;
|
|
30450
|
+
|
|
30451
|
+
/**
|
|
30452
|
+
* Encodes the specified HeadspaceContentSharePreviewCreated message. Does not implicitly {@link HeadspaceContentSharePreviewCreated.verify|verify} messages.
|
|
30453
|
+
* @param message HeadspaceContentSharePreviewCreated message or plain object to encode
|
|
30454
|
+
* @param [writer] Writer to encode to
|
|
30455
|
+
* @returns Writer
|
|
30456
|
+
*/
|
|
30457
|
+
public static encode(message: IHeadspaceContentSharePreviewCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30458
|
+
|
|
30459
|
+
/**
|
|
30460
|
+
* Encodes the specified HeadspaceContentSharePreviewCreated message, length delimited. Does not implicitly {@link HeadspaceContentSharePreviewCreated.verify|verify} messages.
|
|
30461
|
+
* @param message HeadspaceContentSharePreviewCreated message or plain object to encode
|
|
30462
|
+
* @param [writer] Writer to encode to
|
|
30463
|
+
* @returns Writer
|
|
30464
|
+
*/
|
|
30465
|
+
public static encodeDelimited(message: IHeadspaceContentSharePreviewCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30466
|
+
|
|
30467
|
+
/**
|
|
30468
|
+
* Decodes a HeadspaceContentSharePreviewCreated message from the specified reader or buffer.
|
|
30469
|
+
* @param reader Reader or buffer to decode from
|
|
30470
|
+
* @param [length] Message length if known beforehand
|
|
30471
|
+
* @returns HeadspaceContentSharePreviewCreated
|
|
30472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30474
|
+
*/
|
|
30475
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): HeadspaceContentSharePreviewCreated;
|
|
30476
|
+
|
|
30477
|
+
/**
|
|
30478
|
+
* Decodes a HeadspaceContentSharePreviewCreated message from the specified reader or buffer, length delimited.
|
|
30479
|
+
* @param reader Reader or buffer to decode from
|
|
30480
|
+
* @returns HeadspaceContentSharePreviewCreated
|
|
30481
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30482
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30483
|
+
*/
|
|
30484
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): HeadspaceContentSharePreviewCreated;
|
|
30485
|
+
|
|
30486
|
+
/**
|
|
30487
|
+
* Verifies a HeadspaceContentSharePreviewCreated message.
|
|
30488
|
+
* @param message Plain object to verify
|
|
30489
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30490
|
+
*/
|
|
30491
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30492
|
+
|
|
30493
|
+
/**
|
|
30494
|
+
* Creates a HeadspaceContentSharePreviewCreated message from a plain object. Also converts values to their respective internal types.
|
|
30495
|
+
* @param object Plain object
|
|
30496
|
+
* @returns HeadspaceContentSharePreviewCreated
|
|
30497
|
+
*/
|
|
30498
|
+
public static fromObject(object: { [k: string]: any }): HeadspaceContentSharePreviewCreated;
|
|
30499
|
+
|
|
30500
|
+
/**
|
|
30501
|
+
* Creates a plain object from a HeadspaceContentSharePreviewCreated message. Also converts values to other types if specified.
|
|
30502
|
+
* @param message HeadspaceContentSharePreviewCreated
|
|
30503
|
+
* @param [options] Conversion options
|
|
30504
|
+
* @returns Plain object
|
|
30505
|
+
*/
|
|
30506
|
+
public static toObject(message: HeadspaceContentSharePreviewCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30507
|
+
|
|
30508
|
+
/**
|
|
30509
|
+
* Converts this HeadspaceContentSharePreviewCreated to JSON.
|
|
30510
|
+
* @returns JSON object
|
|
30511
|
+
*/
|
|
30512
|
+
public toJSON(): { [k: string]: any };
|
|
30513
|
+
}
|
|
30514
|
+
|
|
30287
30515
|
/** Properties of an IosSubscriptionCreated. */
|
|
30288
30516
|
export interface IIosSubscriptionCreated {
|
|
30289
30517
|
|
package/lib/index.js
CHANGED
|
@@ -83905,6 +83905,586 @@ $root.EnrollmentChangeMemberRemoval = (function() {
|
|
|
83905
83905
|
return EnrollmentChangeMemberRemoval;
|
|
83906
83906
|
})();
|
|
83907
83907
|
|
|
83908
|
+
$root.HeadspaceContentShareCreated = (function() {
|
|
83909
|
+
|
|
83910
|
+
/**
|
|
83911
|
+
* Properties of a HeadspaceContentShareCreated.
|
|
83912
|
+
* @name IHeadspaceContentShareCreated
|
|
83913
|
+
* @interface IHeadspaceContentShareCreated
|
|
83914
|
+
* @property {string|null} [contentShareId] HeadspaceContentShareCreated contentShareId
|
|
83915
|
+
* @property {string|null} [mediaS3Path] HeadspaceContentShareCreated mediaS3Path
|
|
83916
|
+
* @property {number|null} [clipStartSeconds] HeadspaceContentShareCreated clipStartSeconds
|
|
83917
|
+
* @property {number|null} [clipEndSeconds] HeadspaceContentShareCreated clipEndSeconds
|
|
83918
|
+
* @property {number|Long|null} [timestamp] HeadspaceContentShareCreated timestamp
|
|
83919
|
+
*/
|
|
83920
|
+
|
|
83921
|
+
/**
|
|
83922
|
+
* Constructs a new HeadspaceContentShareCreated.
|
|
83923
|
+
* @name HeadspaceContentShareCreated
|
|
83924
|
+
* @classdesc Represents a HeadspaceContentShareCreated.
|
|
83925
|
+
* @implements IHeadspaceContentShareCreated
|
|
83926
|
+
* @constructor
|
|
83927
|
+
* @param {IHeadspaceContentShareCreated=} [properties] Properties to set
|
|
83928
|
+
*/
|
|
83929
|
+
function HeadspaceContentShareCreated(properties) {
|
|
83930
|
+
if (properties)
|
|
83931
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
83932
|
+
if (properties[keys[i]] != null)
|
|
83933
|
+
this[keys[i]] = properties[keys[i]];
|
|
83934
|
+
}
|
|
83935
|
+
|
|
83936
|
+
/**
|
|
83937
|
+
* HeadspaceContentShareCreated contentShareId.
|
|
83938
|
+
* @member {string} contentShareId
|
|
83939
|
+
* @memberof HeadspaceContentShareCreated
|
|
83940
|
+
* @instance
|
|
83941
|
+
*/
|
|
83942
|
+
HeadspaceContentShareCreated.prototype.contentShareId = "";
|
|
83943
|
+
|
|
83944
|
+
/**
|
|
83945
|
+
* HeadspaceContentShareCreated mediaS3Path.
|
|
83946
|
+
* @member {string} mediaS3Path
|
|
83947
|
+
* @memberof HeadspaceContentShareCreated
|
|
83948
|
+
* @instance
|
|
83949
|
+
*/
|
|
83950
|
+
HeadspaceContentShareCreated.prototype.mediaS3Path = "";
|
|
83951
|
+
|
|
83952
|
+
/**
|
|
83953
|
+
* HeadspaceContentShareCreated clipStartSeconds.
|
|
83954
|
+
* @member {number} clipStartSeconds
|
|
83955
|
+
* @memberof HeadspaceContentShareCreated
|
|
83956
|
+
* @instance
|
|
83957
|
+
*/
|
|
83958
|
+
HeadspaceContentShareCreated.prototype.clipStartSeconds = 0;
|
|
83959
|
+
|
|
83960
|
+
/**
|
|
83961
|
+
* HeadspaceContentShareCreated clipEndSeconds.
|
|
83962
|
+
* @member {number} clipEndSeconds
|
|
83963
|
+
* @memberof HeadspaceContentShareCreated
|
|
83964
|
+
* @instance
|
|
83965
|
+
*/
|
|
83966
|
+
HeadspaceContentShareCreated.prototype.clipEndSeconds = 0;
|
|
83967
|
+
|
|
83968
|
+
/**
|
|
83969
|
+
* HeadspaceContentShareCreated timestamp.
|
|
83970
|
+
* @member {number|Long} timestamp
|
|
83971
|
+
* @memberof HeadspaceContentShareCreated
|
|
83972
|
+
* @instance
|
|
83973
|
+
*/
|
|
83974
|
+
HeadspaceContentShareCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
83975
|
+
|
|
83976
|
+
/**
|
|
83977
|
+
* Creates a new HeadspaceContentShareCreated instance using the specified properties.
|
|
83978
|
+
* @function create
|
|
83979
|
+
* @memberof HeadspaceContentShareCreated
|
|
83980
|
+
* @static
|
|
83981
|
+
* @param {IHeadspaceContentShareCreated=} [properties] Properties to set
|
|
83982
|
+
* @returns {HeadspaceContentShareCreated} HeadspaceContentShareCreated instance
|
|
83983
|
+
*/
|
|
83984
|
+
HeadspaceContentShareCreated.create = function create(properties) {
|
|
83985
|
+
return new HeadspaceContentShareCreated(properties);
|
|
83986
|
+
};
|
|
83987
|
+
|
|
83988
|
+
/**
|
|
83989
|
+
* Encodes the specified HeadspaceContentShareCreated message. Does not implicitly {@link HeadspaceContentShareCreated.verify|verify} messages.
|
|
83990
|
+
* @function encode
|
|
83991
|
+
* @memberof HeadspaceContentShareCreated
|
|
83992
|
+
* @static
|
|
83993
|
+
* @param {IHeadspaceContentShareCreated} message HeadspaceContentShareCreated message or plain object to encode
|
|
83994
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
83995
|
+
* @returns {$protobuf.Writer} Writer
|
|
83996
|
+
*/
|
|
83997
|
+
HeadspaceContentShareCreated.encode = function encode(message, writer) {
|
|
83998
|
+
if (!writer)
|
|
83999
|
+
writer = $Writer.create();
|
|
84000
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84001
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.contentShareId);
|
|
84002
|
+
if (message.mediaS3Path != null && message.hasOwnProperty("mediaS3Path"))
|
|
84003
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.mediaS3Path);
|
|
84004
|
+
if (message.clipStartSeconds != null && message.hasOwnProperty("clipStartSeconds"))
|
|
84005
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.clipStartSeconds);
|
|
84006
|
+
if (message.clipEndSeconds != null && message.hasOwnProperty("clipEndSeconds"))
|
|
84007
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.clipEndSeconds);
|
|
84008
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84009
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.timestamp);
|
|
84010
|
+
return writer;
|
|
84011
|
+
};
|
|
84012
|
+
|
|
84013
|
+
/**
|
|
84014
|
+
* Encodes the specified HeadspaceContentShareCreated message, length delimited. Does not implicitly {@link HeadspaceContentShareCreated.verify|verify} messages.
|
|
84015
|
+
* @function encodeDelimited
|
|
84016
|
+
* @memberof HeadspaceContentShareCreated
|
|
84017
|
+
* @static
|
|
84018
|
+
* @param {IHeadspaceContentShareCreated} message HeadspaceContentShareCreated message or plain object to encode
|
|
84019
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84020
|
+
* @returns {$protobuf.Writer} Writer
|
|
84021
|
+
*/
|
|
84022
|
+
HeadspaceContentShareCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84023
|
+
return this.encode(message, writer).ldelim();
|
|
84024
|
+
};
|
|
84025
|
+
|
|
84026
|
+
/**
|
|
84027
|
+
* Decodes a HeadspaceContentShareCreated message from the specified reader or buffer.
|
|
84028
|
+
* @function decode
|
|
84029
|
+
* @memberof HeadspaceContentShareCreated
|
|
84030
|
+
* @static
|
|
84031
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84032
|
+
* @param {number} [length] Message length if known beforehand
|
|
84033
|
+
* @returns {HeadspaceContentShareCreated} HeadspaceContentShareCreated
|
|
84034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84036
|
+
*/
|
|
84037
|
+
HeadspaceContentShareCreated.decode = function decode(reader, length) {
|
|
84038
|
+
if (!(reader instanceof $Reader))
|
|
84039
|
+
reader = $Reader.create(reader);
|
|
84040
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.HeadspaceContentShareCreated();
|
|
84041
|
+
while (reader.pos < end) {
|
|
84042
|
+
var tag = reader.uint32();
|
|
84043
|
+
switch (tag >>> 3) {
|
|
84044
|
+
case 1:
|
|
84045
|
+
message.contentShareId = reader.string();
|
|
84046
|
+
break;
|
|
84047
|
+
case 2:
|
|
84048
|
+
message.mediaS3Path = reader.string();
|
|
84049
|
+
break;
|
|
84050
|
+
case 3:
|
|
84051
|
+
message.clipStartSeconds = reader.int32();
|
|
84052
|
+
break;
|
|
84053
|
+
case 4:
|
|
84054
|
+
message.clipEndSeconds = reader.int32();
|
|
84055
|
+
break;
|
|
84056
|
+
case 5:
|
|
84057
|
+
message.timestamp = reader.int64();
|
|
84058
|
+
break;
|
|
84059
|
+
default:
|
|
84060
|
+
reader.skipType(tag & 7);
|
|
84061
|
+
break;
|
|
84062
|
+
}
|
|
84063
|
+
}
|
|
84064
|
+
return message;
|
|
84065
|
+
};
|
|
84066
|
+
|
|
84067
|
+
/**
|
|
84068
|
+
* Decodes a HeadspaceContentShareCreated message from the specified reader or buffer, length delimited.
|
|
84069
|
+
* @function decodeDelimited
|
|
84070
|
+
* @memberof HeadspaceContentShareCreated
|
|
84071
|
+
* @static
|
|
84072
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84073
|
+
* @returns {HeadspaceContentShareCreated} HeadspaceContentShareCreated
|
|
84074
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84075
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84076
|
+
*/
|
|
84077
|
+
HeadspaceContentShareCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
84078
|
+
if (!(reader instanceof $Reader))
|
|
84079
|
+
reader = new $Reader(reader);
|
|
84080
|
+
return this.decode(reader, reader.uint32());
|
|
84081
|
+
};
|
|
84082
|
+
|
|
84083
|
+
/**
|
|
84084
|
+
* Verifies a HeadspaceContentShareCreated message.
|
|
84085
|
+
* @function verify
|
|
84086
|
+
* @memberof HeadspaceContentShareCreated
|
|
84087
|
+
* @static
|
|
84088
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
84089
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84090
|
+
*/
|
|
84091
|
+
HeadspaceContentShareCreated.verify = function verify(message) {
|
|
84092
|
+
if (typeof message !== "object" || message === null)
|
|
84093
|
+
return "object expected";
|
|
84094
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84095
|
+
if (!$util.isString(message.contentShareId))
|
|
84096
|
+
return "contentShareId: string expected";
|
|
84097
|
+
if (message.mediaS3Path != null && message.hasOwnProperty("mediaS3Path"))
|
|
84098
|
+
if (!$util.isString(message.mediaS3Path))
|
|
84099
|
+
return "mediaS3Path: string expected";
|
|
84100
|
+
if (message.clipStartSeconds != null && message.hasOwnProperty("clipStartSeconds"))
|
|
84101
|
+
if (!$util.isInteger(message.clipStartSeconds))
|
|
84102
|
+
return "clipStartSeconds: integer expected";
|
|
84103
|
+
if (message.clipEndSeconds != null && message.hasOwnProperty("clipEndSeconds"))
|
|
84104
|
+
if (!$util.isInteger(message.clipEndSeconds))
|
|
84105
|
+
return "clipEndSeconds: integer expected";
|
|
84106
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84107
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84108
|
+
return "timestamp: integer|Long expected";
|
|
84109
|
+
return null;
|
|
84110
|
+
};
|
|
84111
|
+
|
|
84112
|
+
/**
|
|
84113
|
+
* Creates a HeadspaceContentShareCreated message from a plain object. Also converts values to their respective internal types.
|
|
84114
|
+
* @function fromObject
|
|
84115
|
+
* @memberof HeadspaceContentShareCreated
|
|
84116
|
+
* @static
|
|
84117
|
+
* @param {Object.<string,*>} object Plain object
|
|
84118
|
+
* @returns {HeadspaceContentShareCreated} HeadspaceContentShareCreated
|
|
84119
|
+
*/
|
|
84120
|
+
HeadspaceContentShareCreated.fromObject = function fromObject(object) {
|
|
84121
|
+
if (object instanceof $root.HeadspaceContentShareCreated)
|
|
84122
|
+
return object;
|
|
84123
|
+
var message = new $root.HeadspaceContentShareCreated();
|
|
84124
|
+
if (object.contentShareId != null)
|
|
84125
|
+
message.contentShareId = String(object.contentShareId);
|
|
84126
|
+
if (object.mediaS3Path != null)
|
|
84127
|
+
message.mediaS3Path = String(object.mediaS3Path);
|
|
84128
|
+
if (object.clipStartSeconds != null)
|
|
84129
|
+
message.clipStartSeconds = object.clipStartSeconds | 0;
|
|
84130
|
+
if (object.clipEndSeconds != null)
|
|
84131
|
+
message.clipEndSeconds = object.clipEndSeconds | 0;
|
|
84132
|
+
if (object.timestamp != null)
|
|
84133
|
+
if ($util.Long)
|
|
84134
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = false;
|
|
84135
|
+
else if (typeof object.timestamp === "string")
|
|
84136
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
84137
|
+
else if (typeof object.timestamp === "number")
|
|
84138
|
+
message.timestamp = object.timestamp;
|
|
84139
|
+
else if (typeof object.timestamp === "object")
|
|
84140
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber();
|
|
84141
|
+
return message;
|
|
84142
|
+
};
|
|
84143
|
+
|
|
84144
|
+
/**
|
|
84145
|
+
* Creates a plain object from a HeadspaceContentShareCreated message. Also converts values to other types if specified.
|
|
84146
|
+
* @function toObject
|
|
84147
|
+
* @memberof HeadspaceContentShareCreated
|
|
84148
|
+
* @static
|
|
84149
|
+
* @param {HeadspaceContentShareCreated} message HeadspaceContentShareCreated
|
|
84150
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84151
|
+
* @returns {Object.<string,*>} Plain object
|
|
84152
|
+
*/
|
|
84153
|
+
HeadspaceContentShareCreated.toObject = function toObject(message, options) {
|
|
84154
|
+
if (!options)
|
|
84155
|
+
options = {};
|
|
84156
|
+
var object = {};
|
|
84157
|
+
if (options.defaults) {
|
|
84158
|
+
object.contentShareId = "";
|
|
84159
|
+
object.mediaS3Path = "";
|
|
84160
|
+
object.clipStartSeconds = 0;
|
|
84161
|
+
object.clipEndSeconds = 0;
|
|
84162
|
+
if ($util.Long) {
|
|
84163
|
+
var long = new $util.Long(0, 0, false);
|
|
84164
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84165
|
+
} else
|
|
84166
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
84167
|
+
}
|
|
84168
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84169
|
+
object.contentShareId = message.contentShareId;
|
|
84170
|
+
if (message.mediaS3Path != null && message.hasOwnProperty("mediaS3Path"))
|
|
84171
|
+
object.mediaS3Path = message.mediaS3Path;
|
|
84172
|
+
if (message.clipStartSeconds != null && message.hasOwnProperty("clipStartSeconds"))
|
|
84173
|
+
object.clipStartSeconds = message.clipStartSeconds;
|
|
84174
|
+
if (message.clipEndSeconds != null && message.hasOwnProperty("clipEndSeconds"))
|
|
84175
|
+
object.clipEndSeconds = message.clipEndSeconds;
|
|
84176
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84177
|
+
if (typeof message.timestamp === "number")
|
|
84178
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84179
|
+
else
|
|
84180
|
+
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() : message.timestamp;
|
|
84181
|
+
return object;
|
|
84182
|
+
};
|
|
84183
|
+
|
|
84184
|
+
/**
|
|
84185
|
+
* Converts this HeadspaceContentShareCreated to JSON.
|
|
84186
|
+
* @function toJSON
|
|
84187
|
+
* @memberof HeadspaceContentShareCreated
|
|
84188
|
+
* @instance
|
|
84189
|
+
* @returns {Object.<string,*>} JSON object
|
|
84190
|
+
*/
|
|
84191
|
+
HeadspaceContentShareCreated.prototype.toJSON = function toJSON() {
|
|
84192
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84193
|
+
};
|
|
84194
|
+
|
|
84195
|
+
return HeadspaceContentShareCreated;
|
|
84196
|
+
})();
|
|
84197
|
+
|
|
84198
|
+
$root.HeadspaceContentSharePreviewCreated = (function() {
|
|
84199
|
+
|
|
84200
|
+
/**
|
|
84201
|
+
* Properties of a HeadspaceContentSharePreviewCreated.
|
|
84202
|
+
* @name IHeadspaceContentSharePreviewCreated
|
|
84203
|
+
* @interface IHeadspaceContentSharePreviewCreated
|
|
84204
|
+
* @property {string|null} [contentShareId] HeadspaceContentSharePreviewCreated contentShareId
|
|
84205
|
+
* @property {string|null} [previewMediaS3Path] HeadspaceContentSharePreviewCreated previewMediaS3Path
|
|
84206
|
+
* @property {boolean|null} [success] HeadspaceContentSharePreviewCreated success
|
|
84207
|
+
* @property {string|null} [errorInfo] HeadspaceContentSharePreviewCreated errorInfo
|
|
84208
|
+
* @property {number|Long|null} [timestamp] HeadspaceContentSharePreviewCreated timestamp
|
|
84209
|
+
*/
|
|
84210
|
+
|
|
84211
|
+
/**
|
|
84212
|
+
* Constructs a new HeadspaceContentSharePreviewCreated.
|
|
84213
|
+
* @name HeadspaceContentSharePreviewCreated
|
|
84214
|
+
* @classdesc Represents a HeadspaceContentSharePreviewCreated.
|
|
84215
|
+
* @implements IHeadspaceContentSharePreviewCreated
|
|
84216
|
+
* @constructor
|
|
84217
|
+
* @param {IHeadspaceContentSharePreviewCreated=} [properties] Properties to set
|
|
84218
|
+
*/
|
|
84219
|
+
function HeadspaceContentSharePreviewCreated(properties) {
|
|
84220
|
+
if (properties)
|
|
84221
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84222
|
+
if (properties[keys[i]] != null)
|
|
84223
|
+
this[keys[i]] = properties[keys[i]];
|
|
84224
|
+
}
|
|
84225
|
+
|
|
84226
|
+
/**
|
|
84227
|
+
* HeadspaceContentSharePreviewCreated contentShareId.
|
|
84228
|
+
* @member {string} contentShareId
|
|
84229
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84230
|
+
* @instance
|
|
84231
|
+
*/
|
|
84232
|
+
HeadspaceContentSharePreviewCreated.prototype.contentShareId = "";
|
|
84233
|
+
|
|
84234
|
+
/**
|
|
84235
|
+
* HeadspaceContentSharePreviewCreated previewMediaS3Path.
|
|
84236
|
+
* @member {string} previewMediaS3Path
|
|
84237
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84238
|
+
* @instance
|
|
84239
|
+
*/
|
|
84240
|
+
HeadspaceContentSharePreviewCreated.prototype.previewMediaS3Path = "";
|
|
84241
|
+
|
|
84242
|
+
/**
|
|
84243
|
+
* HeadspaceContentSharePreviewCreated success.
|
|
84244
|
+
* @member {boolean} success
|
|
84245
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84246
|
+
* @instance
|
|
84247
|
+
*/
|
|
84248
|
+
HeadspaceContentSharePreviewCreated.prototype.success = false;
|
|
84249
|
+
|
|
84250
|
+
/**
|
|
84251
|
+
* HeadspaceContentSharePreviewCreated errorInfo.
|
|
84252
|
+
* @member {string} errorInfo
|
|
84253
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84254
|
+
* @instance
|
|
84255
|
+
*/
|
|
84256
|
+
HeadspaceContentSharePreviewCreated.prototype.errorInfo = "";
|
|
84257
|
+
|
|
84258
|
+
/**
|
|
84259
|
+
* HeadspaceContentSharePreviewCreated timestamp.
|
|
84260
|
+
* @member {number|Long} timestamp
|
|
84261
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84262
|
+
* @instance
|
|
84263
|
+
*/
|
|
84264
|
+
HeadspaceContentSharePreviewCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
84265
|
+
|
|
84266
|
+
/**
|
|
84267
|
+
* Creates a new HeadspaceContentSharePreviewCreated instance using the specified properties.
|
|
84268
|
+
* @function create
|
|
84269
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84270
|
+
* @static
|
|
84271
|
+
* @param {IHeadspaceContentSharePreviewCreated=} [properties] Properties to set
|
|
84272
|
+
* @returns {HeadspaceContentSharePreviewCreated} HeadspaceContentSharePreviewCreated instance
|
|
84273
|
+
*/
|
|
84274
|
+
HeadspaceContentSharePreviewCreated.create = function create(properties) {
|
|
84275
|
+
return new HeadspaceContentSharePreviewCreated(properties);
|
|
84276
|
+
};
|
|
84277
|
+
|
|
84278
|
+
/**
|
|
84279
|
+
* Encodes the specified HeadspaceContentSharePreviewCreated message. Does not implicitly {@link HeadspaceContentSharePreviewCreated.verify|verify} messages.
|
|
84280
|
+
* @function encode
|
|
84281
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84282
|
+
* @static
|
|
84283
|
+
* @param {IHeadspaceContentSharePreviewCreated} message HeadspaceContentSharePreviewCreated message or plain object to encode
|
|
84284
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84285
|
+
* @returns {$protobuf.Writer} Writer
|
|
84286
|
+
*/
|
|
84287
|
+
HeadspaceContentSharePreviewCreated.encode = function encode(message, writer) {
|
|
84288
|
+
if (!writer)
|
|
84289
|
+
writer = $Writer.create();
|
|
84290
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84291
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.contentShareId);
|
|
84292
|
+
if (message.previewMediaS3Path != null && message.hasOwnProperty("previewMediaS3Path"))
|
|
84293
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.previewMediaS3Path);
|
|
84294
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
84295
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.success);
|
|
84296
|
+
if (message.errorInfo != null && message.hasOwnProperty("errorInfo"))
|
|
84297
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.errorInfo);
|
|
84298
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84299
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.timestamp);
|
|
84300
|
+
return writer;
|
|
84301
|
+
};
|
|
84302
|
+
|
|
84303
|
+
/**
|
|
84304
|
+
* Encodes the specified HeadspaceContentSharePreviewCreated message, length delimited. Does not implicitly {@link HeadspaceContentSharePreviewCreated.verify|verify} messages.
|
|
84305
|
+
* @function encodeDelimited
|
|
84306
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84307
|
+
* @static
|
|
84308
|
+
* @param {IHeadspaceContentSharePreviewCreated} message HeadspaceContentSharePreviewCreated message or plain object to encode
|
|
84309
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84310
|
+
* @returns {$protobuf.Writer} Writer
|
|
84311
|
+
*/
|
|
84312
|
+
HeadspaceContentSharePreviewCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84313
|
+
return this.encode(message, writer).ldelim();
|
|
84314
|
+
};
|
|
84315
|
+
|
|
84316
|
+
/**
|
|
84317
|
+
* Decodes a HeadspaceContentSharePreviewCreated message from the specified reader or buffer.
|
|
84318
|
+
* @function decode
|
|
84319
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84320
|
+
* @static
|
|
84321
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84322
|
+
* @param {number} [length] Message length if known beforehand
|
|
84323
|
+
* @returns {HeadspaceContentSharePreviewCreated} HeadspaceContentSharePreviewCreated
|
|
84324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84326
|
+
*/
|
|
84327
|
+
HeadspaceContentSharePreviewCreated.decode = function decode(reader, length) {
|
|
84328
|
+
if (!(reader instanceof $Reader))
|
|
84329
|
+
reader = $Reader.create(reader);
|
|
84330
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.HeadspaceContentSharePreviewCreated();
|
|
84331
|
+
while (reader.pos < end) {
|
|
84332
|
+
var tag = reader.uint32();
|
|
84333
|
+
switch (tag >>> 3) {
|
|
84334
|
+
case 1:
|
|
84335
|
+
message.contentShareId = reader.string();
|
|
84336
|
+
break;
|
|
84337
|
+
case 2:
|
|
84338
|
+
message.previewMediaS3Path = reader.string();
|
|
84339
|
+
break;
|
|
84340
|
+
case 3:
|
|
84341
|
+
message.success = reader.bool();
|
|
84342
|
+
break;
|
|
84343
|
+
case 4:
|
|
84344
|
+
message.errorInfo = reader.string();
|
|
84345
|
+
break;
|
|
84346
|
+
case 5:
|
|
84347
|
+
message.timestamp = reader.int64();
|
|
84348
|
+
break;
|
|
84349
|
+
default:
|
|
84350
|
+
reader.skipType(tag & 7);
|
|
84351
|
+
break;
|
|
84352
|
+
}
|
|
84353
|
+
}
|
|
84354
|
+
return message;
|
|
84355
|
+
};
|
|
84356
|
+
|
|
84357
|
+
/**
|
|
84358
|
+
* Decodes a HeadspaceContentSharePreviewCreated message from the specified reader or buffer, length delimited.
|
|
84359
|
+
* @function decodeDelimited
|
|
84360
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84361
|
+
* @static
|
|
84362
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84363
|
+
* @returns {HeadspaceContentSharePreviewCreated} HeadspaceContentSharePreviewCreated
|
|
84364
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84365
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84366
|
+
*/
|
|
84367
|
+
HeadspaceContentSharePreviewCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
84368
|
+
if (!(reader instanceof $Reader))
|
|
84369
|
+
reader = new $Reader(reader);
|
|
84370
|
+
return this.decode(reader, reader.uint32());
|
|
84371
|
+
};
|
|
84372
|
+
|
|
84373
|
+
/**
|
|
84374
|
+
* Verifies a HeadspaceContentSharePreviewCreated message.
|
|
84375
|
+
* @function verify
|
|
84376
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84377
|
+
* @static
|
|
84378
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
84379
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84380
|
+
*/
|
|
84381
|
+
HeadspaceContentSharePreviewCreated.verify = function verify(message) {
|
|
84382
|
+
if (typeof message !== "object" || message === null)
|
|
84383
|
+
return "object expected";
|
|
84384
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84385
|
+
if (!$util.isString(message.contentShareId))
|
|
84386
|
+
return "contentShareId: string expected";
|
|
84387
|
+
if (message.previewMediaS3Path != null && message.hasOwnProperty("previewMediaS3Path"))
|
|
84388
|
+
if (!$util.isString(message.previewMediaS3Path))
|
|
84389
|
+
return "previewMediaS3Path: string expected";
|
|
84390
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
84391
|
+
if (typeof message.success !== "boolean")
|
|
84392
|
+
return "success: boolean expected";
|
|
84393
|
+
if (message.errorInfo != null && message.hasOwnProperty("errorInfo"))
|
|
84394
|
+
if (!$util.isString(message.errorInfo))
|
|
84395
|
+
return "errorInfo: string expected";
|
|
84396
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84397
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84398
|
+
return "timestamp: integer|Long expected";
|
|
84399
|
+
return null;
|
|
84400
|
+
};
|
|
84401
|
+
|
|
84402
|
+
/**
|
|
84403
|
+
* Creates a HeadspaceContentSharePreviewCreated message from a plain object. Also converts values to their respective internal types.
|
|
84404
|
+
* @function fromObject
|
|
84405
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84406
|
+
* @static
|
|
84407
|
+
* @param {Object.<string,*>} object Plain object
|
|
84408
|
+
* @returns {HeadspaceContentSharePreviewCreated} HeadspaceContentSharePreviewCreated
|
|
84409
|
+
*/
|
|
84410
|
+
HeadspaceContentSharePreviewCreated.fromObject = function fromObject(object) {
|
|
84411
|
+
if (object instanceof $root.HeadspaceContentSharePreviewCreated)
|
|
84412
|
+
return object;
|
|
84413
|
+
var message = new $root.HeadspaceContentSharePreviewCreated();
|
|
84414
|
+
if (object.contentShareId != null)
|
|
84415
|
+
message.contentShareId = String(object.contentShareId);
|
|
84416
|
+
if (object.previewMediaS3Path != null)
|
|
84417
|
+
message.previewMediaS3Path = String(object.previewMediaS3Path);
|
|
84418
|
+
if (object.success != null)
|
|
84419
|
+
message.success = Boolean(object.success);
|
|
84420
|
+
if (object.errorInfo != null)
|
|
84421
|
+
message.errorInfo = String(object.errorInfo);
|
|
84422
|
+
if (object.timestamp != null)
|
|
84423
|
+
if ($util.Long)
|
|
84424
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = false;
|
|
84425
|
+
else if (typeof object.timestamp === "string")
|
|
84426
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
84427
|
+
else if (typeof object.timestamp === "number")
|
|
84428
|
+
message.timestamp = object.timestamp;
|
|
84429
|
+
else if (typeof object.timestamp === "object")
|
|
84430
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber();
|
|
84431
|
+
return message;
|
|
84432
|
+
};
|
|
84433
|
+
|
|
84434
|
+
/**
|
|
84435
|
+
* Creates a plain object from a HeadspaceContentSharePreviewCreated message. Also converts values to other types if specified.
|
|
84436
|
+
* @function toObject
|
|
84437
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84438
|
+
* @static
|
|
84439
|
+
* @param {HeadspaceContentSharePreviewCreated} message HeadspaceContentSharePreviewCreated
|
|
84440
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84441
|
+
* @returns {Object.<string,*>} Plain object
|
|
84442
|
+
*/
|
|
84443
|
+
HeadspaceContentSharePreviewCreated.toObject = function toObject(message, options) {
|
|
84444
|
+
if (!options)
|
|
84445
|
+
options = {};
|
|
84446
|
+
var object = {};
|
|
84447
|
+
if (options.defaults) {
|
|
84448
|
+
object.contentShareId = "";
|
|
84449
|
+
object.previewMediaS3Path = "";
|
|
84450
|
+
object.success = false;
|
|
84451
|
+
object.errorInfo = "";
|
|
84452
|
+
if ($util.Long) {
|
|
84453
|
+
var long = new $util.Long(0, 0, false);
|
|
84454
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84455
|
+
} else
|
|
84456
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
84457
|
+
}
|
|
84458
|
+
if (message.contentShareId != null && message.hasOwnProperty("contentShareId"))
|
|
84459
|
+
object.contentShareId = message.contentShareId;
|
|
84460
|
+
if (message.previewMediaS3Path != null && message.hasOwnProperty("previewMediaS3Path"))
|
|
84461
|
+
object.previewMediaS3Path = message.previewMediaS3Path;
|
|
84462
|
+
if (message.success != null && message.hasOwnProperty("success"))
|
|
84463
|
+
object.success = message.success;
|
|
84464
|
+
if (message.errorInfo != null && message.hasOwnProperty("errorInfo"))
|
|
84465
|
+
object.errorInfo = message.errorInfo;
|
|
84466
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84467
|
+
if (typeof message.timestamp === "number")
|
|
84468
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84469
|
+
else
|
|
84470
|
+
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() : message.timestamp;
|
|
84471
|
+
return object;
|
|
84472
|
+
};
|
|
84473
|
+
|
|
84474
|
+
/**
|
|
84475
|
+
* Converts this HeadspaceContentSharePreviewCreated to JSON.
|
|
84476
|
+
* @function toJSON
|
|
84477
|
+
* @memberof HeadspaceContentSharePreviewCreated
|
|
84478
|
+
* @instance
|
|
84479
|
+
* @returns {Object.<string,*>} JSON object
|
|
84480
|
+
*/
|
|
84481
|
+
HeadspaceContentSharePreviewCreated.prototype.toJSON = function toJSON() {
|
|
84482
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84483
|
+
};
|
|
84484
|
+
|
|
84485
|
+
return HeadspaceContentSharePreviewCreated;
|
|
84486
|
+
})();
|
|
84487
|
+
|
|
83908
84488
|
$root.IosSubscriptionCreated = (function() {
|
|
83909
84489
|
|
|
83910
84490
|
/**
|
package/package.json
CHANGED