@headspace/protos-events 1.277.0 → 1.279.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 +326 -1
- package/lib/index.js +947 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -133,7 +133,8 @@ export namespace auth0 {
|
|
|
133
133
|
TEST_OKTA_SSO = 8,
|
|
134
134
|
HEADSPACE_OKTA_SSO = 9,
|
|
135
135
|
EXTERNAL_OKTA_QA = 10,
|
|
136
|
-
THOUGHTWORKS_OKTA_SSO = 11
|
|
136
|
+
THOUGHTWORKS_OKTA_SSO = 11,
|
|
137
|
+
TEST_ORG_MIGRATION_OKTA_SSO = 12
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
}
|
|
@@ -14254,6 +14255,330 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
|
|
|
14254
14255
|
public toJSON(): { [k: string]: any };
|
|
14255
14256
|
}
|
|
14256
14257
|
|
|
14258
|
+
/** Properties of a ContentfulCollectionCreated. */
|
|
14259
|
+
export interface IContentfulCollectionCreated {
|
|
14260
|
+
|
|
14261
|
+
/** ContentfulCollectionCreated name */
|
|
14262
|
+
name?: ({ [k: string]: string }|null);
|
|
14263
|
+
|
|
14264
|
+
/** ContentfulCollectionCreated slug */
|
|
14265
|
+
slug?: (string|null);
|
|
14266
|
+
|
|
14267
|
+
/** ContentfulCollectionCreated teaser */
|
|
14268
|
+
teaser?: ({ [k: string]: string }|null);
|
|
14269
|
+
|
|
14270
|
+
/** ContentfulCollectionCreated description */
|
|
14271
|
+
description?: ({ [k: string]: string }|null);
|
|
14272
|
+
|
|
14273
|
+
/** ContentfulCollectionCreated createdAt */
|
|
14274
|
+
createdAt?: (number|Long|null);
|
|
14275
|
+
}
|
|
14276
|
+
|
|
14277
|
+
/** Represents a ContentfulCollectionCreated. */
|
|
14278
|
+
export class ContentfulCollectionCreated implements IContentfulCollectionCreated {
|
|
14279
|
+
|
|
14280
|
+
/**
|
|
14281
|
+
* Constructs a new ContentfulCollectionCreated.
|
|
14282
|
+
* @param [properties] Properties to set
|
|
14283
|
+
*/
|
|
14284
|
+
constructor(properties?: IContentfulCollectionCreated);
|
|
14285
|
+
|
|
14286
|
+
/** ContentfulCollectionCreated name. */
|
|
14287
|
+
public name: { [k: string]: string };
|
|
14288
|
+
|
|
14289
|
+
/** ContentfulCollectionCreated slug. */
|
|
14290
|
+
public slug: string;
|
|
14291
|
+
|
|
14292
|
+
/** ContentfulCollectionCreated teaser. */
|
|
14293
|
+
public teaser: { [k: string]: string };
|
|
14294
|
+
|
|
14295
|
+
/** ContentfulCollectionCreated description. */
|
|
14296
|
+
public description: { [k: string]: string };
|
|
14297
|
+
|
|
14298
|
+
/** ContentfulCollectionCreated createdAt. */
|
|
14299
|
+
public createdAt: (number|Long);
|
|
14300
|
+
|
|
14301
|
+
/**
|
|
14302
|
+
* Creates a new ContentfulCollectionCreated instance using the specified properties.
|
|
14303
|
+
* @param [properties] Properties to set
|
|
14304
|
+
* @returns ContentfulCollectionCreated instance
|
|
14305
|
+
*/
|
|
14306
|
+
public static create(properties?: IContentfulCollectionCreated): ContentfulCollectionCreated;
|
|
14307
|
+
|
|
14308
|
+
/**
|
|
14309
|
+
* Encodes the specified ContentfulCollectionCreated message. Does not implicitly {@link ContentfulCollectionCreated.verify|verify} messages.
|
|
14310
|
+
* @param message ContentfulCollectionCreated message or plain object to encode
|
|
14311
|
+
* @param [writer] Writer to encode to
|
|
14312
|
+
* @returns Writer
|
|
14313
|
+
*/
|
|
14314
|
+
public static encode(message: IContentfulCollectionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14315
|
+
|
|
14316
|
+
/**
|
|
14317
|
+
* Encodes the specified ContentfulCollectionCreated message, length delimited. Does not implicitly {@link ContentfulCollectionCreated.verify|verify} messages.
|
|
14318
|
+
* @param message ContentfulCollectionCreated message or plain object to encode
|
|
14319
|
+
* @param [writer] Writer to encode to
|
|
14320
|
+
* @returns Writer
|
|
14321
|
+
*/
|
|
14322
|
+
public static encodeDelimited(message: IContentfulCollectionCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14323
|
+
|
|
14324
|
+
/**
|
|
14325
|
+
* Decodes a ContentfulCollectionCreated message from the specified reader or buffer.
|
|
14326
|
+
* @param reader Reader or buffer to decode from
|
|
14327
|
+
* @param [length] Message length if known beforehand
|
|
14328
|
+
* @returns ContentfulCollectionCreated
|
|
14329
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14330
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14331
|
+
*/
|
|
14332
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCollectionCreated;
|
|
14333
|
+
|
|
14334
|
+
/**
|
|
14335
|
+
* Decodes a ContentfulCollectionCreated message from the specified reader or buffer, length delimited.
|
|
14336
|
+
* @param reader Reader or buffer to decode from
|
|
14337
|
+
* @returns ContentfulCollectionCreated
|
|
14338
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14339
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14340
|
+
*/
|
|
14341
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCollectionCreated;
|
|
14342
|
+
|
|
14343
|
+
/**
|
|
14344
|
+
* Verifies a ContentfulCollectionCreated message.
|
|
14345
|
+
* @param message Plain object to verify
|
|
14346
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14347
|
+
*/
|
|
14348
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14349
|
+
|
|
14350
|
+
/**
|
|
14351
|
+
* Creates a ContentfulCollectionCreated message from a plain object. Also converts values to their respective internal types.
|
|
14352
|
+
* @param object Plain object
|
|
14353
|
+
* @returns ContentfulCollectionCreated
|
|
14354
|
+
*/
|
|
14355
|
+
public static fromObject(object: { [k: string]: any }): ContentfulCollectionCreated;
|
|
14356
|
+
|
|
14357
|
+
/**
|
|
14358
|
+
* Creates a plain object from a ContentfulCollectionCreated message. Also converts values to other types if specified.
|
|
14359
|
+
* @param message ContentfulCollectionCreated
|
|
14360
|
+
* @param [options] Conversion options
|
|
14361
|
+
* @returns Plain object
|
|
14362
|
+
*/
|
|
14363
|
+
public static toObject(message: ContentfulCollectionCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14364
|
+
|
|
14365
|
+
/**
|
|
14366
|
+
* Converts this ContentfulCollectionCreated to JSON.
|
|
14367
|
+
* @returns JSON object
|
|
14368
|
+
*/
|
|
14369
|
+
public toJSON(): { [k: string]: any };
|
|
14370
|
+
}
|
|
14371
|
+
|
|
14372
|
+
/** Properties of a ContentfulCollectionUpdated. */
|
|
14373
|
+
export interface IContentfulCollectionUpdated {
|
|
14374
|
+
|
|
14375
|
+
/** ContentfulCollectionUpdated name */
|
|
14376
|
+
name?: ({ [k: string]: string }|null);
|
|
14377
|
+
|
|
14378
|
+
/** ContentfulCollectionUpdated slug */
|
|
14379
|
+
slug?: (string|null);
|
|
14380
|
+
|
|
14381
|
+
/** ContentfulCollectionUpdated teaser */
|
|
14382
|
+
teaser?: ({ [k: string]: string }|null);
|
|
14383
|
+
|
|
14384
|
+
/** ContentfulCollectionUpdated description */
|
|
14385
|
+
description?: ({ [k: string]: string }|null);
|
|
14386
|
+
|
|
14387
|
+
/** ContentfulCollectionUpdated updatedAt */
|
|
14388
|
+
updatedAt?: (number|Long|null);
|
|
14389
|
+
}
|
|
14390
|
+
|
|
14391
|
+
/** Represents a ContentfulCollectionUpdated. */
|
|
14392
|
+
export class ContentfulCollectionUpdated implements IContentfulCollectionUpdated {
|
|
14393
|
+
|
|
14394
|
+
/**
|
|
14395
|
+
* Constructs a new ContentfulCollectionUpdated.
|
|
14396
|
+
* @param [properties] Properties to set
|
|
14397
|
+
*/
|
|
14398
|
+
constructor(properties?: IContentfulCollectionUpdated);
|
|
14399
|
+
|
|
14400
|
+
/** ContentfulCollectionUpdated name. */
|
|
14401
|
+
public name: { [k: string]: string };
|
|
14402
|
+
|
|
14403
|
+
/** ContentfulCollectionUpdated slug. */
|
|
14404
|
+
public slug: string;
|
|
14405
|
+
|
|
14406
|
+
/** ContentfulCollectionUpdated teaser. */
|
|
14407
|
+
public teaser: { [k: string]: string };
|
|
14408
|
+
|
|
14409
|
+
/** ContentfulCollectionUpdated description. */
|
|
14410
|
+
public description: { [k: string]: string };
|
|
14411
|
+
|
|
14412
|
+
/** ContentfulCollectionUpdated updatedAt. */
|
|
14413
|
+
public updatedAt: (number|Long);
|
|
14414
|
+
|
|
14415
|
+
/**
|
|
14416
|
+
* Creates a new ContentfulCollectionUpdated instance using the specified properties.
|
|
14417
|
+
* @param [properties] Properties to set
|
|
14418
|
+
* @returns ContentfulCollectionUpdated instance
|
|
14419
|
+
*/
|
|
14420
|
+
public static create(properties?: IContentfulCollectionUpdated): ContentfulCollectionUpdated;
|
|
14421
|
+
|
|
14422
|
+
/**
|
|
14423
|
+
* Encodes the specified ContentfulCollectionUpdated message. Does not implicitly {@link ContentfulCollectionUpdated.verify|verify} messages.
|
|
14424
|
+
* @param message ContentfulCollectionUpdated message or plain object to encode
|
|
14425
|
+
* @param [writer] Writer to encode to
|
|
14426
|
+
* @returns Writer
|
|
14427
|
+
*/
|
|
14428
|
+
public static encode(message: IContentfulCollectionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14429
|
+
|
|
14430
|
+
/**
|
|
14431
|
+
* Encodes the specified ContentfulCollectionUpdated message, length delimited. Does not implicitly {@link ContentfulCollectionUpdated.verify|verify} messages.
|
|
14432
|
+
* @param message ContentfulCollectionUpdated message or plain object to encode
|
|
14433
|
+
* @param [writer] Writer to encode to
|
|
14434
|
+
* @returns Writer
|
|
14435
|
+
*/
|
|
14436
|
+
public static encodeDelimited(message: IContentfulCollectionUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14437
|
+
|
|
14438
|
+
/**
|
|
14439
|
+
* Decodes a ContentfulCollectionUpdated message from the specified reader or buffer.
|
|
14440
|
+
* @param reader Reader or buffer to decode from
|
|
14441
|
+
* @param [length] Message length if known beforehand
|
|
14442
|
+
* @returns ContentfulCollectionUpdated
|
|
14443
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14444
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14445
|
+
*/
|
|
14446
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCollectionUpdated;
|
|
14447
|
+
|
|
14448
|
+
/**
|
|
14449
|
+
* Decodes a ContentfulCollectionUpdated message from the specified reader or buffer, length delimited.
|
|
14450
|
+
* @param reader Reader or buffer to decode from
|
|
14451
|
+
* @returns ContentfulCollectionUpdated
|
|
14452
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14453
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14454
|
+
*/
|
|
14455
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCollectionUpdated;
|
|
14456
|
+
|
|
14457
|
+
/**
|
|
14458
|
+
* Verifies a ContentfulCollectionUpdated message.
|
|
14459
|
+
* @param message Plain object to verify
|
|
14460
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14461
|
+
*/
|
|
14462
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14463
|
+
|
|
14464
|
+
/**
|
|
14465
|
+
* Creates a ContentfulCollectionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
14466
|
+
* @param object Plain object
|
|
14467
|
+
* @returns ContentfulCollectionUpdated
|
|
14468
|
+
*/
|
|
14469
|
+
public static fromObject(object: { [k: string]: any }): ContentfulCollectionUpdated;
|
|
14470
|
+
|
|
14471
|
+
/**
|
|
14472
|
+
* Creates a plain object from a ContentfulCollectionUpdated message. Also converts values to other types if specified.
|
|
14473
|
+
* @param message ContentfulCollectionUpdated
|
|
14474
|
+
* @param [options] Conversion options
|
|
14475
|
+
* @returns Plain object
|
|
14476
|
+
*/
|
|
14477
|
+
public static toObject(message: ContentfulCollectionUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14478
|
+
|
|
14479
|
+
/**
|
|
14480
|
+
* Converts this ContentfulCollectionUpdated to JSON.
|
|
14481
|
+
* @returns JSON object
|
|
14482
|
+
*/
|
|
14483
|
+
public toJSON(): { [k: string]: any };
|
|
14484
|
+
}
|
|
14485
|
+
|
|
14486
|
+
/** Properties of a ContentfulCollectionDeleted. */
|
|
14487
|
+
export interface IContentfulCollectionDeleted {
|
|
14488
|
+
|
|
14489
|
+
/** ContentfulCollectionDeleted slug */
|
|
14490
|
+
slug?: (string|null);
|
|
14491
|
+
|
|
14492
|
+
/** ContentfulCollectionDeleted deletedAt */
|
|
14493
|
+
deletedAt?: (number|Long|null);
|
|
14494
|
+
}
|
|
14495
|
+
|
|
14496
|
+
/** Represents a ContentfulCollectionDeleted. */
|
|
14497
|
+
export class ContentfulCollectionDeleted implements IContentfulCollectionDeleted {
|
|
14498
|
+
|
|
14499
|
+
/**
|
|
14500
|
+
* Constructs a new ContentfulCollectionDeleted.
|
|
14501
|
+
* @param [properties] Properties to set
|
|
14502
|
+
*/
|
|
14503
|
+
constructor(properties?: IContentfulCollectionDeleted);
|
|
14504
|
+
|
|
14505
|
+
/** ContentfulCollectionDeleted slug. */
|
|
14506
|
+
public slug: string;
|
|
14507
|
+
|
|
14508
|
+
/** ContentfulCollectionDeleted deletedAt. */
|
|
14509
|
+
public deletedAt: (number|Long);
|
|
14510
|
+
|
|
14511
|
+
/**
|
|
14512
|
+
* Creates a new ContentfulCollectionDeleted instance using the specified properties.
|
|
14513
|
+
* @param [properties] Properties to set
|
|
14514
|
+
* @returns ContentfulCollectionDeleted instance
|
|
14515
|
+
*/
|
|
14516
|
+
public static create(properties?: IContentfulCollectionDeleted): ContentfulCollectionDeleted;
|
|
14517
|
+
|
|
14518
|
+
/**
|
|
14519
|
+
* Encodes the specified ContentfulCollectionDeleted message. Does not implicitly {@link ContentfulCollectionDeleted.verify|verify} messages.
|
|
14520
|
+
* @param message ContentfulCollectionDeleted message or plain object to encode
|
|
14521
|
+
* @param [writer] Writer to encode to
|
|
14522
|
+
* @returns Writer
|
|
14523
|
+
*/
|
|
14524
|
+
public static encode(message: IContentfulCollectionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14525
|
+
|
|
14526
|
+
/**
|
|
14527
|
+
* Encodes the specified ContentfulCollectionDeleted message, length delimited. Does not implicitly {@link ContentfulCollectionDeleted.verify|verify} messages.
|
|
14528
|
+
* @param message ContentfulCollectionDeleted message or plain object to encode
|
|
14529
|
+
* @param [writer] Writer to encode to
|
|
14530
|
+
* @returns Writer
|
|
14531
|
+
*/
|
|
14532
|
+
public static encodeDelimited(message: IContentfulCollectionDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14533
|
+
|
|
14534
|
+
/**
|
|
14535
|
+
* Decodes a ContentfulCollectionDeleted message from the specified reader or buffer.
|
|
14536
|
+
* @param reader Reader or buffer to decode from
|
|
14537
|
+
* @param [length] Message length if known beforehand
|
|
14538
|
+
* @returns ContentfulCollectionDeleted
|
|
14539
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14540
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14541
|
+
*/
|
|
14542
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulCollectionDeleted;
|
|
14543
|
+
|
|
14544
|
+
/**
|
|
14545
|
+
* Decodes a ContentfulCollectionDeleted message from the specified reader or buffer, length delimited.
|
|
14546
|
+
* @param reader Reader or buffer to decode from
|
|
14547
|
+
* @returns ContentfulCollectionDeleted
|
|
14548
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14549
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14550
|
+
*/
|
|
14551
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulCollectionDeleted;
|
|
14552
|
+
|
|
14553
|
+
/**
|
|
14554
|
+
* Verifies a ContentfulCollectionDeleted message.
|
|
14555
|
+
* @param message Plain object to verify
|
|
14556
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14557
|
+
*/
|
|
14558
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14559
|
+
|
|
14560
|
+
/**
|
|
14561
|
+
* Creates a ContentfulCollectionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
14562
|
+
* @param object Plain object
|
|
14563
|
+
* @returns ContentfulCollectionDeleted
|
|
14564
|
+
*/
|
|
14565
|
+
public static fromObject(object: { [k: string]: any }): ContentfulCollectionDeleted;
|
|
14566
|
+
|
|
14567
|
+
/**
|
|
14568
|
+
* Creates a plain object from a ContentfulCollectionDeleted message. Also converts values to other types if specified.
|
|
14569
|
+
* @param message ContentfulCollectionDeleted
|
|
14570
|
+
* @param [options] Conversion options
|
|
14571
|
+
* @returns Plain object
|
|
14572
|
+
*/
|
|
14573
|
+
public static toObject(message: ContentfulCollectionDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14574
|
+
|
|
14575
|
+
/**
|
|
14576
|
+
* Converts this ContentfulCollectionDeleted to JSON.
|
|
14577
|
+
* @returns JSON object
|
|
14578
|
+
*/
|
|
14579
|
+
public toJSON(): { [k: string]: any };
|
|
14580
|
+
}
|
|
14581
|
+
|
|
14257
14582
|
/** Properties of a ContentfulMediaWrapperCreated. */
|
|
14258
14583
|
export interface IContentfulMediaWrapperCreated {
|
|
14259
14584
|
|
package/lib/index.js
CHANGED
|
@@ -304,6 +304,7 @@ $root.auth0 = (function() {
|
|
|
304
304
|
* @property {number} HEADSPACE_OKTA_SSO=9 HEADSPACE_OKTA_SSO value
|
|
305
305
|
* @property {number} EXTERNAL_OKTA_QA=10 EXTERNAL_OKTA_QA value
|
|
306
306
|
* @property {number} THOUGHTWORKS_OKTA_SSO=11 THOUGHTWORKS_OKTA_SSO value
|
|
307
|
+
* @property {number} TEST_ORG_MIGRATION_OKTA_SSO=12 TEST_ORG_MIGRATION_OKTA_SSO value
|
|
307
308
|
*/
|
|
308
309
|
connections.Connection = (function() {
|
|
309
310
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -319,6 +320,7 @@ $root.auth0 = (function() {
|
|
|
319
320
|
values[valuesById[9] = "HEADSPACE_OKTA_SSO"] = 9;
|
|
320
321
|
values[valuesById[10] = "EXTERNAL_OKTA_QA"] = 10;
|
|
321
322
|
values[valuesById[11] = "THOUGHTWORKS_OKTA_SSO"] = 11;
|
|
323
|
+
values[valuesById[12] = "TEST_ORG_MIGRATION_OKTA_SSO"] = 12;
|
|
322
324
|
return values;
|
|
323
325
|
})();
|
|
324
326
|
|
|
@@ -28426,6 +28428,7 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
28426
28428
|
case 9:
|
|
28427
28429
|
case 10:
|
|
28428
28430
|
case 11:
|
|
28431
|
+
case 12:
|
|
28429
28432
|
break;
|
|
28430
28433
|
}
|
|
28431
28434
|
return null;
|
|
@@ -28557,6 +28560,10 @@ $root.SuccessfulUserLogin = (function() {
|
|
|
28557
28560
|
case 11:
|
|
28558
28561
|
message.connection = 11;
|
|
28559
28562
|
break;
|
|
28563
|
+
case "TEST_ORG_MIGRATION_OKTA_SSO":
|
|
28564
|
+
case 12:
|
|
28565
|
+
message.connection = 12;
|
|
28566
|
+
break;
|
|
28560
28567
|
}
|
|
28561
28568
|
return message;
|
|
28562
28569
|
};
|
|
@@ -28789,6 +28796,7 @@ $root.UnlinkedConnection = (function() {
|
|
|
28789
28796
|
case 9:
|
|
28790
28797
|
case 10:
|
|
28791
28798
|
case 11:
|
|
28799
|
+
case 12:
|
|
28792
28800
|
break;
|
|
28793
28801
|
}
|
|
28794
28802
|
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
@@ -28860,6 +28868,10 @@ $root.UnlinkedConnection = (function() {
|
|
|
28860
28868
|
case 11:
|
|
28861
28869
|
message.connection = 11;
|
|
28862
28870
|
break;
|
|
28871
|
+
case "TEST_ORG_MIGRATION_OKTA_SSO":
|
|
28872
|
+
case 12:
|
|
28873
|
+
message.connection = 12;
|
|
28874
|
+
break;
|
|
28863
28875
|
}
|
|
28864
28876
|
if (object.unlinkedAt != null)
|
|
28865
28877
|
if ($util.Long)
|
|
@@ -29112,6 +29124,7 @@ $root.ConnectionLinked = (function() {
|
|
|
29112
29124
|
case 9:
|
|
29113
29125
|
case 10:
|
|
29114
29126
|
case 11:
|
|
29127
|
+
case 12:
|
|
29115
29128
|
break;
|
|
29116
29129
|
}
|
|
29117
29130
|
if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
|
|
@@ -29186,6 +29199,10 @@ $root.ConnectionLinked = (function() {
|
|
|
29186
29199
|
case 11:
|
|
29187
29200
|
message.connection = 11;
|
|
29188
29201
|
break;
|
|
29202
|
+
case "TEST_ORG_MIGRATION_OKTA_SSO":
|
|
29203
|
+
case 12:
|
|
29204
|
+
message.connection = 12;
|
|
29205
|
+
break;
|
|
29189
29206
|
}
|
|
29190
29207
|
if (object.linkedAt != null)
|
|
29191
29208
|
if ($util.Long)
|
|
@@ -36310,6 +36327,936 @@ $root.ContentfulCategoryDeleted = (function() {
|
|
|
36310
36327
|
return ContentfulCategoryDeleted;
|
|
36311
36328
|
})();
|
|
36312
36329
|
|
|
36330
|
+
$root.ContentfulCollectionCreated = (function() {
|
|
36331
|
+
|
|
36332
|
+
/**
|
|
36333
|
+
* Properties of a ContentfulCollectionCreated.
|
|
36334
|
+
* @exports IContentfulCollectionCreated
|
|
36335
|
+
* @interface IContentfulCollectionCreated
|
|
36336
|
+
* @property {Object.<string,string>|null} [name] ContentfulCollectionCreated name
|
|
36337
|
+
* @property {string|null} [slug] ContentfulCollectionCreated slug
|
|
36338
|
+
* @property {Object.<string,string>|null} [teaser] ContentfulCollectionCreated teaser
|
|
36339
|
+
* @property {Object.<string,string>|null} [description] ContentfulCollectionCreated description
|
|
36340
|
+
* @property {number|Long|null} [createdAt] ContentfulCollectionCreated createdAt
|
|
36341
|
+
*/
|
|
36342
|
+
|
|
36343
|
+
/**
|
|
36344
|
+
* Constructs a new ContentfulCollectionCreated.
|
|
36345
|
+
* @exports ContentfulCollectionCreated
|
|
36346
|
+
* @classdesc Represents a ContentfulCollectionCreated.
|
|
36347
|
+
* @implements IContentfulCollectionCreated
|
|
36348
|
+
* @constructor
|
|
36349
|
+
* @param {IContentfulCollectionCreated=} [properties] Properties to set
|
|
36350
|
+
*/
|
|
36351
|
+
function ContentfulCollectionCreated(properties) {
|
|
36352
|
+
this.name = {};
|
|
36353
|
+
this.teaser = {};
|
|
36354
|
+
this.description = {};
|
|
36355
|
+
if (properties)
|
|
36356
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36357
|
+
if (properties[keys[i]] != null)
|
|
36358
|
+
this[keys[i]] = properties[keys[i]];
|
|
36359
|
+
}
|
|
36360
|
+
|
|
36361
|
+
/**
|
|
36362
|
+
* ContentfulCollectionCreated name.
|
|
36363
|
+
* @member {Object.<string,string>} name
|
|
36364
|
+
* @memberof ContentfulCollectionCreated
|
|
36365
|
+
* @instance
|
|
36366
|
+
*/
|
|
36367
|
+
ContentfulCollectionCreated.prototype.name = $util.emptyObject;
|
|
36368
|
+
|
|
36369
|
+
/**
|
|
36370
|
+
* ContentfulCollectionCreated slug.
|
|
36371
|
+
* @member {string} slug
|
|
36372
|
+
* @memberof ContentfulCollectionCreated
|
|
36373
|
+
* @instance
|
|
36374
|
+
*/
|
|
36375
|
+
ContentfulCollectionCreated.prototype.slug = "";
|
|
36376
|
+
|
|
36377
|
+
/**
|
|
36378
|
+
* ContentfulCollectionCreated teaser.
|
|
36379
|
+
* @member {Object.<string,string>} teaser
|
|
36380
|
+
* @memberof ContentfulCollectionCreated
|
|
36381
|
+
* @instance
|
|
36382
|
+
*/
|
|
36383
|
+
ContentfulCollectionCreated.prototype.teaser = $util.emptyObject;
|
|
36384
|
+
|
|
36385
|
+
/**
|
|
36386
|
+
* ContentfulCollectionCreated description.
|
|
36387
|
+
* @member {Object.<string,string>} description
|
|
36388
|
+
* @memberof ContentfulCollectionCreated
|
|
36389
|
+
* @instance
|
|
36390
|
+
*/
|
|
36391
|
+
ContentfulCollectionCreated.prototype.description = $util.emptyObject;
|
|
36392
|
+
|
|
36393
|
+
/**
|
|
36394
|
+
* ContentfulCollectionCreated createdAt.
|
|
36395
|
+
* @member {number|Long} createdAt
|
|
36396
|
+
* @memberof ContentfulCollectionCreated
|
|
36397
|
+
* @instance
|
|
36398
|
+
*/
|
|
36399
|
+
ContentfulCollectionCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
36400
|
+
|
|
36401
|
+
/**
|
|
36402
|
+
* Creates a new ContentfulCollectionCreated instance using the specified properties.
|
|
36403
|
+
* @function create
|
|
36404
|
+
* @memberof ContentfulCollectionCreated
|
|
36405
|
+
* @static
|
|
36406
|
+
* @param {IContentfulCollectionCreated=} [properties] Properties to set
|
|
36407
|
+
* @returns {ContentfulCollectionCreated} ContentfulCollectionCreated instance
|
|
36408
|
+
*/
|
|
36409
|
+
ContentfulCollectionCreated.create = function create(properties) {
|
|
36410
|
+
return new ContentfulCollectionCreated(properties);
|
|
36411
|
+
};
|
|
36412
|
+
|
|
36413
|
+
/**
|
|
36414
|
+
* Encodes the specified ContentfulCollectionCreated message. Does not implicitly {@link ContentfulCollectionCreated.verify|verify} messages.
|
|
36415
|
+
* @function encode
|
|
36416
|
+
* @memberof ContentfulCollectionCreated
|
|
36417
|
+
* @static
|
|
36418
|
+
* @param {IContentfulCollectionCreated} message ContentfulCollectionCreated message or plain object to encode
|
|
36419
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36420
|
+
* @returns {$protobuf.Writer} Writer
|
|
36421
|
+
*/
|
|
36422
|
+
ContentfulCollectionCreated.encode = function encode(message, writer) {
|
|
36423
|
+
if (!writer)
|
|
36424
|
+
writer = $Writer.create();
|
|
36425
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
36426
|
+
for (var keys = Object.keys(message.name), i = 0; i < keys.length; ++i)
|
|
36427
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.name[keys[i]]).ldelim();
|
|
36428
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36429
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
36430
|
+
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
36431
|
+
for (var keys = Object.keys(message.teaser), i = 0; i < keys.length; ++i)
|
|
36432
|
+
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.teaser[keys[i]]).ldelim();
|
|
36433
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
36434
|
+
for (var keys = Object.keys(message.description), i = 0; i < keys.length; ++i)
|
|
36435
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
|
|
36436
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36437
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
36438
|
+
return writer;
|
|
36439
|
+
};
|
|
36440
|
+
|
|
36441
|
+
/**
|
|
36442
|
+
* Encodes the specified ContentfulCollectionCreated message, length delimited. Does not implicitly {@link ContentfulCollectionCreated.verify|verify} messages.
|
|
36443
|
+
* @function encodeDelimited
|
|
36444
|
+
* @memberof ContentfulCollectionCreated
|
|
36445
|
+
* @static
|
|
36446
|
+
* @param {IContentfulCollectionCreated} message ContentfulCollectionCreated message or plain object to encode
|
|
36447
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36448
|
+
* @returns {$protobuf.Writer} Writer
|
|
36449
|
+
*/
|
|
36450
|
+
ContentfulCollectionCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
36451
|
+
return this.encode(message, writer).ldelim();
|
|
36452
|
+
};
|
|
36453
|
+
|
|
36454
|
+
/**
|
|
36455
|
+
* Decodes a ContentfulCollectionCreated message from the specified reader or buffer.
|
|
36456
|
+
* @function decode
|
|
36457
|
+
* @memberof ContentfulCollectionCreated
|
|
36458
|
+
* @static
|
|
36459
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36460
|
+
* @param {number} [length] Message length if known beforehand
|
|
36461
|
+
* @returns {ContentfulCollectionCreated} ContentfulCollectionCreated
|
|
36462
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36463
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36464
|
+
*/
|
|
36465
|
+
ContentfulCollectionCreated.decode = function decode(reader, length) {
|
|
36466
|
+
if (!(reader instanceof $Reader))
|
|
36467
|
+
reader = $Reader.create(reader);
|
|
36468
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulCollectionCreated(), key;
|
|
36469
|
+
while (reader.pos < end) {
|
|
36470
|
+
var tag = reader.uint32();
|
|
36471
|
+
switch (tag >>> 3) {
|
|
36472
|
+
case 1:
|
|
36473
|
+
reader.skip().pos++;
|
|
36474
|
+
if (message.name === $util.emptyObject)
|
|
36475
|
+
message.name = {};
|
|
36476
|
+
key = reader.string();
|
|
36477
|
+
reader.pos++;
|
|
36478
|
+
message.name[key] = reader.string();
|
|
36479
|
+
break;
|
|
36480
|
+
case 2:
|
|
36481
|
+
message.slug = reader.string();
|
|
36482
|
+
break;
|
|
36483
|
+
case 3:
|
|
36484
|
+
reader.skip().pos++;
|
|
36485
|
+
if (message.teaser === $util.emptyObject)
|
|
36486
|
+
message.teaser = {};
|
|
36487
|
+
key = reader.string();
|
|
36488
|
+
reader.pos++;
|
|
36489
|
+
message.teaser[key] = reader.string();
|
|
36490
|
+
break;
|
|
36491
|
+
case 4:
|
|
36492
|
+
reader.skip().pos++;
|
|
36493
|
+
if (message.description === $util.emptyObject)
|
|
36494
|
+
message.description = {};
|
|
36495
|
+
key = reader.string();
|
|
36496
|
+
reader.pos++;
|
|
36497
|
+
message.description[key] = reader.string();
|
|
36498
|
+
break;
|
|
36499
|
+
case 5:
|
|
36500
|
+
message.createdAt = reader.uint64();
|
|
36501
|
+
break;
|
|
36502
|
+
default:
|
|
36503
|
+
reader.skipType(tag & 7);
|
|
36504
|
+
break;
|
|
36505
|
+
}
|
|
36506
|
+
}
|
|
36507
|
+
return message;
|
|
36508
|
+
};
|
|
36509
|
+
|
|
36510
|
+
/**
|
|
36511
|
+
* Decodes a ContentfulCollectionCreated message from the specified reader or buffer, length delimited.
|
|
36512
|
+
* @function decodeDelimited
|
|
36513
|
+
* @memberof ContentfulCollectionCreated
|
|
36514
|
+
* @static
|
|
36515
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36516
|
+
* @returns {ContentfulCollectionCreated} ContentfulCollectionCreated
|
|
36517
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36518
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36519
|
+
*/
|
|
36520
|
+
ContentfulCollectionCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
36521
|
+
if (!(reader instanceof $Reader))
|
|
36522
|
+
reader = new $Reader(reader);
|
|
36523
|
+
return this.decode(reader, reader.uint32());
|
|
36524
|
+
};
|
|
36525
|
+
|
|
36526
|
+
/**
|
|
36527
|
+
* Verifies a ContentfulCollectionCreated message.
|
|
36528
|
+
* @function verify
|
|
36529
|
+
* @memberof ContentfulCollectionCreated
|
|
36530
|
+
* @static
|
|
36531
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
36532
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
36533
|
+
*/
|
|
36534
|
+
ContentfulCollectionCreated.verify = function verify(message) {
|
|
36535
|
+
if (typeof message !== "object" || message === null)
|
|
36536
|
+
return "object expected";
|
|
36537
|
+
if (message.name != null && message.hasOwnProperty("name")) {
|
|
36538
|
+
if (!$util.isObject(message.name))
|
|
36539
|
+
return "name: object expected";
|
|
36540
|
+
var key = Object.keys(message.name);
|
|
36541
|
+
for (var i = 0; i < key.length; ++i)
|
|
36542
|
+
if (!$util.isString(message.name[key[i]]))
|
|
36543
|
+
return "name: string{k:string} expected";
|
|
36544
|
+
}
|
|
36545
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36546
|
+
if (!$util.isString(message.slug))
|
|
36547
|
+
return "slug: string expected";
|
|
36548
|
+
if (message.teaser != null && message.hasOwnProperty("teaser")) {
|
|
36549
|
+
if (!$util.isObject(message.teaser))
|
|
36550
|
+
return "teaser: object expected";
|
|
36551
|
+
var key = Object.keys(message.teaser);
|
|
36552
|
+
for (var i = 0; i < key.length; ++i)
|
|
36553
|
+
if (!$util.isString(message.teaser[key[i]]))
|
|
36554
|
+
return "teaser: string{k:string} expected";
|
|
36555
|
+
}
|
|
36556
|
+
if (message.description != null && message.hasOwnProperty("description")) {
|
|
36557
|
+
if (!$util.isObject(message.description))
|
|
36558
|
+
return "description: object expected";
|
|
36559
|
+
var key = Object.keys(message.description);
|
|
36560
|
+
for (var i = 0; i < key.length; ++i)
|
|
36561
|
+
if (!$util.isString(message.description[key[i]]))
|
|
36562
|
+
return "description: string{k:string} expected";
|
|
36563
|
+
}
|
|
36564
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36565
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
36566
|
+
return "createdAt: integer|Long expected";
|
|
36567
|
+
return null;
|
|
36568
|
+
};
|
|
36569
|
+
|
|
36570
|
+
/**
|
|
36571
|
+
* Creates a ContentfulCollectionCreated message from a plain object. Also converts values to their respective internal types.
|
|
36572
|
+
* @function fromObject
|
|
36573
|
+
* @memberof ContentfulCollectionCreated
|
|
36574
|
+
* @static
|
|
36575
|
+
* @param {Object.<string,*>} object Plain object
|
|
36576
|
+
* @returns {ContentfulCollectionCreated} ContentfulCollectionCreated
|
|
36577
|
+
*/
|
|
36578
|
+
ContentfulCollectionCreated.fromObject = function fromObject(object) {
|
|
36579
|
+
if (object instanceof $root.ContentfulCollectionCreated)
|
|
36580
|
+
return object;
|
|
36581
|
+
var message = new $root.ContentfulCollectionCreated();
|
|
36582
|
+
if (object.name) {
|
|
36583
|
+
if (typeof object.name !== "object")
|
|
36584
|
+
throw TypeError(".ContentfulCollectionCreated.name: object expected");
|
|
36585
|
+
message.name = {};
|
|
36586
|
+
for (var keys = Object.keys(object.name), i = 0; i < keys.length; ++i)
|
|
36587
|
+
message.name[keys[i]] = String(object.name[keys[i]]);
|
|
36588
|
+
}
|
|
36589
|
+
if (object.slug != null)
|
|
36590
|
+
message.slug = String(object.slug);
|
|
36591
|
+
if (object.teaser) {
|
|
36592
|
+
if (typeof object.teaser !== "object")
|
|
36593
|
+
throw TypeError(".ContentfulCollectionCreated.teaser: object expected");
|
|
36594
|
+
message.teaser = {};
|
|
36595
|
+
for (var keys = Object.keys(object.teaser), i = 0; i < keys.length; ++i)
|
|
36596
|
+
message.teaser[keys[i]] = String(object.teaser[keys[i]]);
|
|
36597
|
+
}
|
|
36598
|
+
if (object.description) {
|
|
36599
|
+
if (typeof object.description !== "object")
|
|
36600
|
+
throw TypeError(".ContentfulCollectionCreated.description: object expected");
|
|
36601
|
+
message.description = {};
|
|
36602
|
+
for (var keys = Object.keys(object.description), i = 0; i < keys.length; ++i)
|
|
36603
|
+
message.description[keys[i]] = String(object.description[keys[i]]);
|
|
36604
|
+
}
|
|
36605
|
+
if (object.createdAt != null)
|
|
36606
|
+
if ($util.Long)
|
|
36607
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
36608
|
+
else if (typeof object.createdAt === "string")
|
|
36609
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
36610
|
+
else if (typeof object.createdAt === "number")
|
|
36611
|
+
message.createdAt = object.createdAt;
|
|
36612
|
+
else if (typeof object.createdAt === "object")
|
|
36613
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
36614
|
+
return message;
|
|
36615
|
+
};
|
|
36616
|
+
|
|
36617
|
+
/**
|
|
36618
|
+
* Creates a plain object from a ContentfulCollectionCreated message. Also converts values to other types if specified.
|
|
36619
|
+
* @function toObject
|
|
36620
|
+
* @memberof ContentfulCollectionCreated
|
|
36621
|
+
* @static
|
|
36622
|
+
* @param {ContentfulCollectionCreated} message ContentfulCollectionCreated
|
|
36623
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
36624
|
+
* @returns {Object.<string,*>} Plain object
|
|
36625
|
+
*/
|
|
36626
|
+
ContentfulCollectionCreated.toObject = function toObject(message, options) {
|
|
36627
|
+
if (!options)
|
|
36628
|
+
options = {};
|
|
36629
|
+
var object = {};
|
|
36630
|
+
if (options.objects || options.defaults) {
|
|
36631
|
+
object.name = {};
|
|
36632
|
+
object.teaser = {};
|
|
36633
|
+
object.description = {};
|
|
36634
|
+
}
|
|
36635
|
+
if (options.defaults) {
|
|
36636
|
+
object.slug = "";
|
|
36637
|
+
if ($util.Long) {
|
|
36638
|
+
var long = new $util.Long(0, 0, true);
|
|
36639
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
36640
|
+
} else
|
|
36641
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
36642
|
+
}
|
|
36643
|
+
var keys2;
|
|
36644
|
+
if (message.name && (keys2 = Object.keys(message.name)).length) {
|
|
36645
|
+
object.name = {};
|
|
36646
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
36647
|
+
object.name[keys2[j]] = message.name[keys2[j]];
|
|
36648
|
+
}
|
|
36649
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36650
|
+
object.slug = message.slug;
|
|
36651
|
+
if (message.teaser && (keys2 = Object.keys(message.teaser)).length) {
|
|
36652
|
+
object.teaser = {};
|
|
36653
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
36654
|
+
object.teaser[keys2[j]] = message.teaser[keys2[j]];
|
|
36655
|
+
}
|
|
36656
|
+
if (message.description && (keys2 = Object.keys(message.description)).length) {
|
|
36657
|
+
object.description = {};
|
|
36658
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
36659
|
+
object.description[keys2[j]] = message.description[keys2[j]];
|
|
36660
|
+
}
|
|
36661
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
36662
|
+
if (typeof message.createdAt === "number")
|
|
36663
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
36664
|
+
else
|
|
36665
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
36666
|
+
return object;
|
|
36667
|
+
};
|
|
36668
|
+
|
|
36669
|
+
/**
|
|
36670
|
+
* Converts this ContentfulCollectionCreated to JSON.
|
|
36671
|
+
* @function toJSON
|
|
36672
|
+
* @memberof ContentfulCollectionCreated
|
|
36673
|
+
* @instance
|
|
36674
|
+
* @returns {Object.<string,*>} JSON object
|
|
36675
|
+
*/
|
|
36676
|
+
ContentfulCollectionCreated.prototype.toJSON = function toJSON() {
|
|
36677
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
36678
|
+
};
|
|
36679
|
+
|
|
36680
|
+
return ContentfulCollectionCreated;
|
|
36681
|
+
})();
|
|
36682
|
+
|
|
36683
|
+
$root.ContentfulCollectionUpdated = (function() {
|
|
36684
|
+
|
|
36685
|
+
/**
|
|
36686
|
+
* Properties of a ContentfulCollectionUpdated.
|
|
36687
|
+
* @exports IContentfulCollectionUpdated
|
|
36688
|
+
* @interface IContentfulCollectionUpdated
|
|
36689
|
+
* @property {Object.<string,string>|null} [name] ContentfulCollectionUpdated name
|
|
36690
|
+
* @property {string|null} [slug] ContentfulCollectionUpdated slug
|
|
36691
|
+
* @property {Object.<string,string>|null} [teaser] ContentfulCollectionUpdated teaser
|
|
36692
|
+
* @property {Object.<string,string>|null} [description] ContentfulCollectionUpdated description
|
|
36693
|
+
* @property {number|Long|null} [updatedAt] ContentfulCollectionUpdated updatedAt
|
|
36694
|
+
*/
|
|
36695
|
+
|
|
36696
|
+
/**
|
|
36697
|
+
* Constructs a new ContentfulCollectionUpdated.
|
|
36698
|
+
* @exports ContentfulCollectionUpdated
|
|
36699
|
+
* @classdesc Represents a ContentfulCollectionUpdated.
|
|
36700
|
+
* @implements IContentfulCollectionUpdated
|
|
36701
|
+
* @constructor
|
|
36702
|
+
* @param {IContentfulCollectionUpdated=} [properties] Properties to set
|
|
36703
|
+
*/
|
|
36704
|
+
function ContentfulCollectionUpdated(properties) {
|
|
36705
|
+
this.name = {};
|
|
36706
|
+
this.teaser = {};
|
|
36707
|
+
this.description = {};
|
|
36708
|
+
if (properties)
|
|
36709
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36710
|
+
if (properties[keys[i]] != null)
|
|
36711
|
+
this[keys[i]] = properties[keys[i]];
|
|
36712
|
+
}
|
|
36713
|
+
|
|
36714
|
+
/**
|
|
36715
|
+
* ContentfulCollectionUpdated name.
|
|
36716
|
+
* @member {Object.<string,string>} name
|
|
36717
|
+
* @memberof ContentfulCollectionUpdated
|
|
36718
|
+
* @instance
|
|
36719
|
+
*/
|
|
36720
|
+
ContentfulCollectionUpdated.prototype.name = $util.emptyObject;
|
|
36721
|
+
|
|
36722
|
+
/**
|
|
36723
|
+
* ContentfulCollectionUpdated slug.
|
|
36724
|
+
* @member {string} slug
|
|
36725
|
+
* @memberof ContentfulCollectionUpdated
|
|
36726
|
+
* @instance
|
|
36727
|
+
*/
|
|
36728
|
+
ContentfulCollectionUpdated.prototype.slug = "";
|
|
36729
|
+
|
|
36730
|
+
/**
|
|
36731
|
+
* ContentfulCollectionUpdated teaser.
|
|
36732
|
+
* @member {Object.<string,string>} teaser
|
|
36733
|
+
* @memberof ContentfulCollectionUpdated
|
|
36734
|
+
* @instance
|
|
36735
|
+
*/
|
|
36736
|
+
ContentfulCollectionUpdated.prototype.teaser = $util.emptyObject;
|
|
36737
|
+
|
|
36738
|
+
/**
|
|
36739
|
+
* ContentfulCollectionUpdated description.
|
|
36740
|
+
* @member {Object.<string,string>} description
|
|
36741
|
+
* @memberof ContentfulCollectionUpdated
|
|
36742
|
+
* @instance
|
|
36743
|
+
*/
|
|
36744
|
+
ContentfulCollectionUpdated.prototype.description = $util.emptyObject;
|
|
36745
|
+
|
|
36746
|
+
/**
|
|
36747
|
+
* ContentfulCollectionUpdated updatedAt.
|
|
36748
|
+
* @member {number|Long} updatedAt
|
|
36749
|
+
* @memberof ContentfulCollectionUpdated
|
|
36750
|
+
* @instance
|
|
36751
|
+
*/
|
|
36752
|
+
ContentfulCollectionUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
36753
|
+
|
|
36754
|
+
/**
|
|
36755
|
+
* Creates a new ContentfulCollectionUpdated instance using the specified properties.
|
|
36756
|
+
* @function create
|
|
36757
|
+
* @memberof ContentfulCollectionUpdated
|
|
36758
|
+
* @static
|
|
36759
|
+
* @param {IContentfulCollectionUpdated=} [properties] Properties to set
|
|
36760
|
+
* @returns {ContentfulCollectionUpdated} ContentfulCollectionUpdated instance
|
|
36761
|
+
*/
|
|
36762
|
+
ContentfulCollectionUpdated.create = function create(properties) {
|
|
36763
|
+
return new ContentfulCollectionUpdated(properties);
|
|
36764
|
+
};
|
|
36765
|
+
|
|
36766
|
+
/**
|
|
36767
|
+
* Encodes the specified ContentfulCollectionUpdated message. Does not implicitly {@link ContentfulCollectionUpdated.verify|verify} messages.
|
|
36768
|
+
* @function encode
|
|
36769
|
+
* @memberof ContentfulCollectionUpdated
|
|
36770
|
+
* @static
|
|
36771
|
+
* @param {IContentfulCollectionUpdated} message ContentfulCollectionUpdated message or plain object to encode
|
|
36772
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36773
|
+
* @returns {$protobuf.Writer} Writer
|
|
36774
|
+
*/
|
|
36775
|
+
ContentfulCollectionUpdated.encode = function encode(message, writer) {
|
|
36776
|
+
if (!writer)
|
|
36777
|
+
writer = $Writer.create();
|
|
36778
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
36779
|
+
for (var keys = Object.keys(message.name), i = 0; i < keys.length; ++i)
|
|
36780
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.name[keys[i]]).ldelim();
|
|
36781
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36782
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
36783
|
+
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
36784
|
+
for (var keys = Object.keys(message.teaser), i = 0; i < keys.length; ++i)
|
|
36785
|
+
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.teaser[keys[i]]).ldelim();
|
|
36786
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
36787
|
+
for (var keys = Object.keys(message.description), i = 0; i < keys.length; ++i)
|
|
36788
|
+
writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
|
|
36789
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
36790
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
36791
|
+
return writer;
|
|
36792
|
+
};
|
|
36793
|
+
|
|
36794
|
+
/**
|
|
36795
|
+
* Encodes the specified ContentfulCollectionUpdated message, length delimited. Does not implicitly {@link ContentfulCollectionUpdated.verify|verify} messages.
|
|
36796
|
+
* @function encodeDelimited
|
|
36797
|
+
* @memberof ContentfulCollectionUpdated
|
|
36798
|
+
* @static
|
|
36799
|
+
* @param {IContentfulCollectionUpdated} message ContentfulCollectionUpdated message or plain object to encode
|
|
36800
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
36801
|
+
* @returns {$protobuf.Writer} Writer
|
|
36802
|
+
*/
|
|
36803
|
+
ContentfulCollectionUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
36804
|
+
return this.encode(message, writer).ldelim();
|
|
36805
|
+
};
|
|
36806
|
+
|
|
36807
|
+
/**
|
|
36808
|
+
* Decodes a ContentfulCollectionUpdated message from the specified reader or buffer.
|
|
36809
|
+
* @function decode
|
|
36810
|
+
* @memberof ContentfulCollectionUpdated
|
|
36811
|
+
* @static
|
|
36812
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36813
|
+
* @param {number} [length] Message length if known beforehand
|
|
36814
|
+
* @returns {ContentfulCollectionUpdated} ContentfulCollectionUpdated
|
|
36815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36817
|
+
*/
|
|
36818
|
+
ContentfulCollectionUpdated.decode = function decode(reader, length) {
|
|
36819
|
+
if (!(reader instanceof $Reader))
|
|
36820
|
+
reader = $Reader.create(reader);
|
|
36821
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulCollectionUpdated(), key;
|
|
36822
|
+
while (reader.pos < end) {
|
|
36823
|
+
var tag = reader.uint32();
|
|
36824
|
+
switch (tag >>> 3) {
|
|
36825
|
+
case 1:
|
|
36826
|
+
reader.skip().pos++;
|
|
36827
|
+
if (message.name === $util.emptyObject)
|
|
36828
|
+
message.name = {};
|
|
36829
|
+
key = reader.string();
|
|
36830
|
+
reader.pos++;
|
|
36831
|
+
message.name[key] = reader.string();
|
|
36832
|
+
break;
|
|
36833
|
+
case 2:
|
|
36834
|
+
message.slug = reader.string();
|
|
36835
|
+
break;
|
|
36836
|
+
case 3:
|
|
36837
|
+
reader.skip().pos++;
|
|
36838
|
+
if (message.teaser === $util.emptyObject)
|
|
36839
|
+
message.teaser = {};
|
|
36840
|
+
key = reader.string();
|
|
36841
|
+
reader.pos++;
|
|
36842
|
+
message.teaser[key] = reader.string();
|
|
36843
|
+
break;
|
|
36844
|
+
case 4:
|
|
36845
|
+
reader.skip().pos++;
|
|
36846
|
+
if (message.description === $util.emptyObject)
|
|
36847
|
+
message.description = {};
|
|
36848
|
+
key = reader.string();
|
|
36849
|
+
reader.pos++;
|
|
36850
|
+
message.description[key] = reader.string();
|
|
36851
|
+
break;
|
|
36852
|
+
case 5:
|
|
36853
|
+
message.updatedAt = reader.uint64();
|
|
36854
|
+
break;
|
|
36855
|
+
default:
|
|
36856
|
+
reader.skipType(tag & 7);
|
|
36857
|
+
break;
|
|
36858
|
+
}
|
|
36859
|
+
}
|
|
36860
|
+
return message;
|
|
36861
|
+
};
|
|
36862
|
+
|
|
36863
|
+
/**
|
|
36864
|
+
* Decodes a ContentfulCollectionUpdated message from the specified reader or buffer, length delimited.
|
|
36865
|
+
* @function decodeDelimited
|
|
36866
|
+
* @memberof ContentfulCollectionUpdated
|
|
36867
|
+
* @static
|
|
36868
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
36869
|
+
* @returns {ContentfulCollectionUpdated} ContentfulCollectionUpdated
|
|
36870
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36871
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36872
|
+
*/
|
|
36873
|
+
ContentfulCollectionUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
36874
|
+
if (!(reader instanceof $Reader))
|
|
36875
|
+
reader = new $Reader(reader);
|
|
36876
|
+
return this.decode(reader, reader.uint32());
|
|
36877
|
+
};
|
|
36878
|
+
|
|
36879
|
+
/**
|
|
36880
|
+
* Verifies a ContentfulCollectionUpdated message.
|
|
36881
|
+
* @function verify
|
|
36882
|
+
* @memberof ContentfulCollectionUpdated
|
|
36883
|
+
* @static
|
|
36884
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
36885
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
36886
|
+
*/
|
|
36887
|
+
ContentfulCollectionUpdated.verify = function verify(message) {
|
|
36888
|
+
if (typeof message !== "object" || message === null)
|
|
36889
|
+
return "object expected";
|
|
36890
|
+
if (message.name != null && message.hasOwnProperty("name")) {
|
|
36891
|
+
if (!$util.isObject(message.name))
|
|
36892
|
+
return "name: object expected";
|
|
36893
|
+
var key = Object.keys(message.name);
|
|
36894
|
+
for (var i = 0; i < key.length; ++i)
|
|
36895
|
+
if (!$util.isString(message.name[key[i]]))
|
|
36896
|
+
return "name: string{k:string} expected";
|
|
36897
|
+
}
|
|
36898
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
36899
|
+
if (!$util.isString(message.slug))
|
|
36900
|
+
return "slug: string expected";
|
|
36901
|
+
if (message.teaser != null && message.hasOwnProperty("teaser")) {
|
|
36902
|
+
if (!$util.isObject(message.teaser))
|
|
36903
|
+
return "teaser: object expected";
|
|
36904
|
+
var key = Object.keys(message.teaser);
|
|
36905
|
+
for (var i = 0; i < key.length; ++i)
|
|
36906
|
+
if (!$util.isString(message.teaser[key[i]]))
|
|
36907
|
+
return "teaser: string{k:string} expected";
|
|
36908
|
+
}
|
|
36909
|
+
if (message.description != null && message.hasOwnProperty("description")) {
|
|
36910
|
+
if (!$util.isObject(message.description))
|
|
36911
|
+
return "description: object expected";
|
|
36912
|
+
var key = Object.keys(message.description);
|
|
36913
|
+
for (var i = 0; i < key.length; ++i)
|
|
36914
|
+
if (!$util.isString(message.description[key[i]]))
|
|
36915
|
+
return "description: string{k:string} expected";
|
|
36916
|
+
}
|
|
36917
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
36918
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
36919
|
+
return "updatedAt: integer|Long expected";
|
|
36920
|
+
return null;
|
|
36921
|
+
};
|
|
36922
|
+
|
|
36923
|
+
/**
|
|
36924
|
+
* Creates a ContentfulCollectionUpdated message from a plain object. Also converts values to their respective internal types.
|
|
36925
|
+
* @function fromObject
|
|
36926
|
+
* @memberof ContentfulCollectionUpdated
|
|
36927
|
+
* @static
|
|
36928
|
+
* @param {Object.<string,*>} object Plain object
|
|
36929
|
+
* @returns {ContentfulCollectionUpdated} ContentfulCollectionUpdated
|
|
36930
|
+
*/
|
|
36931
|
+
ContentfulCollectionUpdated.fromObject = function fromObject(object) {
|
|
36932
|
+
if (object instanceof $root.ContentfulCollectionUpdated)
|
|
36933
|
+
return object;
|
|
36934
|
+
var message = new $root.ContentfulCollectionUpdated();
|
|
36935
|
+
if (object.name) {
|
|
36936
|
+
if (typeof object.name !== "object")
|
|
36937
|
+
throw TypeError(".ContentfulCollectionUpdated.name: object expected");
|
|
36938
|
+
message.name = {};
|
|
36939
|
+
for (var keys = Object.keys(object.name), i = 0; i < keys.length; ++i)
|
|
36940
|
+
message.name[keys[i]] = String(object.name[keys[i]]);
|
|
36941
|
+
}
|
|
36942
|
+
if (object.slug != null)
|
|
36943
|
+
message.slug = String(object.slug);
|
|
36944
|
+
if (object.teaser) {
|
|
36945
|
+
if (typeof object.teaser !== "object")
|
|
36946
|
+
throw TypeError(".ContentfulCollectionUpdated.teaser: object expected");
|
|
36947
|
+
message.teaser = {};
|
|
36948
|
+
for (var keys = Object.keys(object.teaser), i = 0; i < keys.length; ++i)
|
|
36949
|
+
message.teaser[keys[i]] = String(object.teaser[keys[i]]);
|
|
36950
|
+
}
|
|
36951
|
+
if (object.description) {
|
|
36952
|
+
if (typeof object.description !== "object")
|
|
36953
|
+
throw TypeError(".ContentfulCollectionUpdated.description: object expected");
|
|
36954
|
+
message.description = {};
|
|
36955
|
+
for (var keys = Object.keys(object.description), i = 0; i < keys.length; ++i)
|
|
36956
|
+
message.description[keys[i]] = String(object.description[keys[i]]);
|
|
36957
|
+
}
|
|
36958
|
+
if (object.updatedAt != null)
|
|
36959
|
+
if ($util.Long)
|
|
36960
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
36961
|
+
else if (typeof object.updatedAt === "string")
|
|
36962
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
36963
|
+
else if (typeof object.updatedAt === "number")
|
|
36964
|
+
message.updatedAt = object.updatedAt;
|
|
36965
|
+
else if (typeof object.updatedAt === "object")
|
|
36966
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
36967
|
+
return message;
|
|
36968
|
+
};
|
|
36969
|
+
|
|
36970
|
+
/**
|
|
36971
|
+
* Creates a plain object from a ContentfulCollectionUpdated message. Also converts values to other types if specified.
|
|
36972
|
+
* @function toObject
|
|
36973
|
+
* @memberof ContentfulCollectionUpdated
|
|
36974
|
+
* @static
|
|
36975
|
+
* @param {ContentfulCollectionUpdated} message ContentfulCollectionUpdated
|
|
36976
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
36977
|
+
* @returns {Object.<string,*>} Plain object
|
|
36978
|
+
*/
|
|
36979
|
+
ContentfulCollectionUpdated.toObject = function toObject(message, options) {
|
|
36980
|
+
if (!options)
|
|
36981
|
+
options = {};
|
|
36982
|
+
var object = {};
|
|
36983
|
+
if (options.objects || options.defaults) {
|
|
36984
|
+
object.name = {};
|
|
36985
|
+
object.teaser = {};
|
|
36986
|
+
object.description = {};
|
|
36987
|
+
}
|
|
36988
|
+
if (options.defaults) {
|
|
36989
|
+
object.slug = "";
|
|
36990
|
+
if ($util.Long) {
|
|
36991
|
+
var long = new $util.Long(0, 0, true);
|
|
36992
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
36993
|
+
} else
|
|
36994
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
36995
|
+
}
|
|
36996
|
+
var keys2;
|
|
36997
|
+
if (message.name && (keys2 = Object.keys(message.name)).length) {
|
|
36998
|
+
object.name = {};
|
|
36999
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37000
|
+
object.name[keys2[j]] = message.name[keys2[j]];
|
|
37001
|
+
}
|
|
37002
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37003
|
+
object.slug = message.slug;
|
|
37004
|
+
if (message.teaser && (keys2 = Object.keys(message.teaser)).length) {
|
|
37005
|
+
object.teaser = {};
|
|
37006
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37007
|
+
object.teaser[keys2[j]] = message.teaser[keys2[j]];
|
|
37008
|
+
}
|
|
37009
|
+
if (message.description && (keys2 = Object.keys(message.description)).length) {
|
|
37010
|
+
object.description = {};
|
|
37011
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
37012
|
+
object.description[keys2[j]] = message.description[keys2[j]];
|
|
37013
|
+
}
|
|
37014
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
37015
|
+
if (typeof message.updatedAt === "number")
|
|
37016
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
37017
|
+
else
|
|
37018
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
37019
|
+
return object;
|
|
37020
|
+
};
|
|
37021
|
+
|
|
37022
|
+
/**
|
|
37023
|
+
* Converts this ContentfulCollectionUpdated to JSON.
|
|
37024
|
+
* @function toJSON
|
|
37025
|
+
* @memberof ContentfulCollectionUpdated
|
|
37026
|
+
* @instance
|
|
37027
|
+
* @returns {Object.<string,*>} JSON object
|
|
37028
|
+
*/
|
|
37029
|
+
ContentfulCollectionUpdated.prototype.toJSON = function toJSON() {
|
|
37030
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37031
|
+
};
|
|
37032
|
+
|
|
37033
|
+
return ContentfulCollectionUpdated;
|
|
37034
|
+
})();
|
|
37035
|
+
|
|
37036
|
+
$root.ContentfulCollectionDeleted = (function() {
|
|
37037
|
+
|
|
37038
|
+
/**
|
|
37039
|
+
* Properties of a ContentfulCollectionDeleted.
|
|
37040
|
+
* @exports IContentfulCollectionDeleted
|
|
37041
|
+
* @interface IContentfulCollectionDeleted
|
|
37042
|
+
* @property {string|null} [slug] ContentfulCollectionDeleted slug
|
|
37043
|
+
* @property {number|Long|null} [deletedAt] ContentfulCollectionDeleted deletedAt
|
|
37044
|
+
*/
|
|
37045
|
+
|
|
37046
|
+
/**
|
|
37047
|
+
* Constructs a new ContentfulCollectionDeleted.
|
|
37048
|
+
* @exports ContentfulCollectionDeleted
|
|
37049
|
+
* @classdesc Represents a ContentfulCollectionDeleted.
|
|
37050
|
+
* @implements IContentfulCollectionDeleted
|
|
37051
|
+
* @constructor
|
|
37052
|
+
* @param {IContentfulCollectionDeleted=} [properties] Properties to set
|
|
37053
|
+
*/
|
|
37054
|
+
function ContentfulCollectionDeleted(properties) {
|
|
37055
|
+
if (properties)
|
|
37056
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37057
|
+
if (properties[keys[i]] != null)
|
|
37058
|
+
this[keys[i]] = properties[keys[i]];
|
|
37059
|
+
}
|
|
37060
|
+
|
|
37061
|
+
/**
|
|
37062
|
+
* ContentfulCollectionDeleted slug.
|
|
37063
|
+
* @member {string} slug
|
|
37064
|
+
* @memberof ContentfulCollectionDeleted
|
|
37065
|
+
* @instance
|
|
37066
|
+
*/
|
|
37067
|
+
ContentfulCollectionDeleted.prototype.slug = "";
|
|
37068
|
+
|
|
37069
|
+
/**
|
|
37070
|
+
* ContentfulCollectionDeleted deletedAt.
|
|
37071
|
+
* @member {number|Long} deletedAt
|
|
37072
|
+
* @memberof ContentfulCollectionDeleted
|
|
37073
|
+
* @instance
|
|
37074
|
+
*/
|
|
37075
|
+
ContentfulCollectionDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
37076
|
+
|
|
37077
|
+
/**
|
|
37078
|
+
* Creates a new ContentfulCollectionDeleted instance using the specified properties.
|
|
37079
|
+
* @function create
|
|
37080
|
+
* @memberof ContentfulCollectionDeleted
|
|
37081
|
+
* @static
|
|
37082
|
+
* @param {IContentfulCollectionDeleted=} [properties] Properties to set
|
|
37083
|
+
* @returns {ContentfulCollectionDeleted} ContentfulCollectionDeleted instance
|
|
37084
|
+
*/
|
|
37085
|
+
ContentfulCollectionDeleted.create = function create(properties) {
|
|
37086
|
+
return new ContentfulCollectionDeleted(properties);
|
|
37087
|
+
};
|
|
37088
|
+
|
|
37089
|
+
/**
|
|
37090
|
+
* Encodes the specified ContentfulCollectionDeleted message. Does not implicitly {@link ContentfulCollectionDeleted.verify|verify} messages.
|
|
37091
|
+
* @function encode
|
|
37092
|
+
* @memberof ContentfulCollectionDeleted
|
|
37093
|
+
* @static
|
|
37094
|
+
* @param {IContentfulCollectionDeleted} message ContentfulCollectionDeleted message or plain object to encode
|
|
37095
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37096
|
+
* @returns {$protobuf.Writer} Writer
|
|
37097
|
+
*/
|
|
37098
|
+
ContentfulCollectionDeleted.encode = function encode(message, writer) {
|
|
37099
|
+
if (!writer)
|
|
37100
|
+
writer = $Writer.create();
|
|
37101
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37102
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
37103
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37104
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
37105
|
+
return writer;
|
|
37106
|
+
};
|
|
37107
|
+
|
|
37108
|
+
/**
|
|
37109
|
+
* Encodes the specified ContentfulCollectionDeleted message, length delimited. Does not implicitly {@link ContentfulCollectionDeleted.verify|verify} messages.
|
|
37110
|
+
* @function encodeDelimited
|
|
37111
|
+
* @memberof ContentfulCollectionDeleted
|
|
37112
|
+
* @static
|
|
37113
|
+
* @param {IContentfulCollectionDeleted} message ContentfulCollectionDeleted message or plain object to encode
|
|
37114
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37115
|
+
* @returns {$protobuf.Writer} Writer
|
|
37116
|
+
*/
|
|
37117
|
+
ContentfulCollectionDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37118
|
+
return this.encode(message, writer).ldelim();
|
|
37119
|
+
};
|
|
37120
|
+
|
|
37121
|
+
/**
|
|
37122
|
+
* Decodes a ContentfulCollectionDeleted message from the specified reader or buffer.
|
|
37123
|
+
* @function decode
|
|
37124
|
+
* @memberof ContentfulCollectionDeleted
|
|
37125
|
+
* @static
|
|
37126
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37127
|
+
* @param {number} [length] Message length if known beforehand
|
|
37128
|
+
* @returns {ContentfulCollectionDeleted} ContentfulCollectionDeleted
|
|
37129
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37130
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37131
|
+
*/
|
|
37132
|
+
ContentfulCollectionDeleted.decode = function decode(reader, length) {
|
|
37133
|
+
if (!(reader instanceof $Reader))
|
|
37134
|
+
reader = $Reader.create(reader);
|
|
37135
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulCollectionDeleted();
|
|
37136
|
+
while (reader.pos < end) {
|
|
37137
|
+
var tag = reader.uint32();
|
|
37138
|
+
switch (tag >>> 3) {
|
|
37139
|
+
case 1:
|
|
37140
|
+
message.slug = reader.string();
|
|
37141
|
+
break;
|
|
37142
|
+
case 2:
|
|
37143
|
+
message.deletedAt = reader.uint64();
|
|
37144
|
+
break;
|
|
37145
|
+
default:
|
|
37146
|
+
reader.skipType(tag & 7);
|
|
37147
|
+
break;
|
|
37148
|
+
}
|
|
37149
|
+
}
|
|
37150
|
+
return message;
|
|
37151
|
+
};
|
|
37152
|
+
|
|
37153
|
+
/**
|
|
37154
|
+
* Decodes a ContentfulCollectionDeleted message from the specified reader or buffer, length delimited.
|
|
37155
|
+
* @function decodeDelimited
|
|
37156
|
+
* @memberof ContentfulCollectionDeleted
|
|
37157
|
+
* @static
|
|
37158
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37159
|
+
* @returns {ContentfulCollectionDeleted} ContentfulCollectionDeleted
|
|
37160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37162
|
+
*/
|
|
37163
|
+
ContentfulCollectionDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
37164
|
+
if (!(reader instanceof $Reader))
|
|
37165
|
+
reader = new $Reader(reader);
|
|
37166
|
+
return this.decode(reader, reader.uint32());
|
|
37167
|
+
};
|
|
37168
|
+
|
|
37169
|
+
/**
|
|
37170
|
+
* Verifies a ContentfulCollectionDeleted message.
|
|
37171
|
+
* @function verify
|
|
37172
|
+
* @memberof ContentfulCollectionDeleted
|
|
37173
|
+
* @static
|
|
37174
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37175
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37176
|
+
*/
|
|
37177
|
+
ContentfulCollectionDeleted.verify = function verify(message) {
|
|
37178
|
+
if (typeof message !== "object" || message === null)
|
|
37179
|
+
return "object expected";
|
|
37180
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37181
|
+
if (!$util.isString(message.slug))
|
|
37182
|
+
return "slug: string expected";
|
|
37183
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37184
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
37185
|
+
return "deletedAt: integer|Long expected";
|
|
37186
|
+
return null;
|
|
37187
|
+
};
|
|
37188
|
+
|
|
37189
|
+
/**
|
|
37190
|
+
* Creates a ContentfulCollectionDeleted message from a plain object. Also converts values to their respective internal types.
|
|
37191
|
+
* @function fromObject
|
|
37192
|
+
* @memberof ContentfulCollectionDeleted
|
|
37193
|
+
* @static
|
|
37194
|
+
* @param {Object.<string,*>} object Plain object
|
|
37195
|
+
* @returns {ContentfulCollectionDeleted} ContentfulCollectionDeleted
|
|
37196
|
+
*/
|
|
37197
|
+
ContentfulCollectionDeleted.fromObject = function fromObject(object) {
|
|
37198
|
+
if (object instanceof $root.ContentfulCollectionDeleted)
|
|
37199
|
+
return object;
|
|
37200
|
+
var message = new $root.ContentfulCollectionDeleted();
|
|
37201
|
+
if (object.slug != null)
|
|
37202
|
+
message.slug = String(object.slug);
|
|
37203
|
+
if (object.deletedAt != null)
|
|
37204
|
+
if ($util.Long)
|
|
37205
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
37206
|
+
else if (typeof object.deletedAt === "string")
|
|
37207
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
37208
|
+
else if (typeof object.deletedAt === "number")
|
|
37209
|
+
message.deletedAt = object.deletedAt;
|
|
37210
|
+
else if (typeof object.deletedAt === "object")
|
|
37211
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
37212
|
+
return message;
|
|
37213
|
+
};
|
|
37214
|
+
|
|
37215
|
+
/**
|
|
37216
|
+
* Creates a plain object from a ContentfulCollectionDeleted message. Also converts values to other types if specified.
|
|
37217
|
+
* @function toObject
|
|
37218
|
+
* @memberof ContentfulCollectionDeleted
|
|
37219
|
+
* @static
|
|
37220
|
+
* @param {ContentfulCollectionDeleted} message ContentfulCollectionDeleted
|
|
37221
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37222
|
+
* @returns {Object.<string,*>} Plain object
|
|
37223
|
+
*/
|
|
37224
|
+
ContentfulCollectionDeleted.toObject = function toObject(message, options) {
|
|
37225
|
+
if (!options)
|
|
37226
|
+
options = {};
|
|
37227
|
+
var object = {};
|
|
37228
|
+
if (options.defaults) {
|
|
37229
|
+
object.slug = "";
|
|
37230
|
+
if ($util.Long) {
|
|
37231
|
+
var long = new $util.Long(0, 0, true);
|
|
37232
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37233
|
+
} else
|
|
37234
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
37235
|
+
}
|
|
37236
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37237
|
+
object.slug = message.slug;
|
|
37238
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
37239
|
+
if (typeof message.deletedAt === "number")
|
|
37240
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
37241
|
+
else
|
|
37242
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
37243
|
+
return object;
|
|
37244
|
+
};
|
|
37245
|
+
|
|
37246
|
+
/**
|
|
37247
|
+
* Converts this ContentfulCollectionDeleted to JSON.
|
|
37248
|
+
* @function toJSON
|
|
37249
|
+
* @memberof ContentfulCollectionDeleted
|
|
37250
|
+
* @instance
|
|
37251
|
+
* @returns {Object.<string,*>} JSON object
|
|
37252
|
+
*/
|
|
37253
|
+
ContentfulCollectionDeleted.prototype.toJSON = function toJSON() {
|
|
37254
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37255
|
+
};
|
|
37256
|
+
|
|
37257
|
+
return ContentfulCollectionDeleted;
|
|
37258
|
+
})();
|
|
37259
|
+
|
|
36313
37260
|
$root.ContentfulMediaWrapperCreated = (function() {
|
|
36314
37261
|
|
|
36315
37262
|
/**
|
package/package.json
CHANGED