@headspace/protos-events 1.136.0 → 1.137.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +438 -0
  2. package/lib/index.js +1244 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -384,6 +384,96 @@ export namespace contentful {
384
384
  public toJSON(): { [k: string]: any };
385
385
  }
386
386
 
387
+ /** Properties of a SlugReferences. */
388
+ interface ISlugReferences {
389
+
390
+ /** SlugReferences refs */
391
+ refs?: (contentful.ISlugReference[]|null);
392
+ }
393
+
394
+ /** Represents a SlugReferences. */
395
+ class SlugReferences implements ISlugReferences {
396
+
397
+ /**
398
+ * Constructs a new SlugReferences.
399
+ * @param [properties] Properties to set
400
+ */
401
+ constructor(properties?: contentful.ISlugReferences);
402
+
403
+ /** SlugReferences refs. */
404
+ public refs: contentful.ISlugReference[];
405
+
406
+ /**
407
+ * Creates a new SlugReferences instance using the specified properties.
408
+ * @param [properties] Properties to set
409
+ * @returns SlugReferences instance
410
+ */
411
+ public static create(properties?: contentful.ISlugReferences): contentful.SlugReferences;
412
+
413
+ /**
414
+ * Encodes the specified SlugReferences message. Does not implicitly {@link contentful.SlugReferences.verify|verify} messages.
415
+ * @param message SlugReferences message or plain object to encode
416
+ * @param [writer] Writer to encode to
417
+ * @returns Writer
418
+ */
419
+ public static encode(message: contentful.ISlugReferences, writer?: $protobuf.Writer): $protobuf.Writer;
420
+
421
+ /**
422
+ * Encodes the specified SlugReferences message, length delimited. Does not implicitly {@link contentful.SlugReferences.verify|verify} messages.
423
+ * @param message SlugReferences message or plain object to encode
424
+ * @param [writer] Writer to encode to
425
+ * @returns Writer
426
+ */
427
+ public static encodeDelimited(message: contentful.ISlugReferences, writer?: $protobuf.Writer): $protobuf.Writer;
428
+
429
+ /**
430
+ * Decodes a SlugReferences message from the specified reader or buffer.
431
+ * @param reader Reader or buffer to decode from
432
+ * @param [length] Message length if known beforehand
433
+ * @returns SlugReferences
434
+ * @throws {Error} If the payload is not a reader or valid buffer
435
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
436
+ */
437
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): contentful.SlugReferences;
438
+
439
+ /**
440
+ * Decodes a SlugReferences message from the specified reader or buffer, length delimited.
441
+ * @param reader Reader or buffer to decode from
442
+ * @returns SlugReferences
443
+ * @throws {Error} If the payload is not a reader or valid buffer
444
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
445
+ */
446
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): contentful.SlugReferences;
447
+
448
+ /**
449
+ * Verifies a SlugReferences message.
450
+ * @param message Plain object to verify
451
+ * @returns `null` if valid, otherwise the reason why it is not
452
+ */
453
+ public static verify(message: { [k: string]: any }): (string|null);
454
+
455
+ /**
456
+ * Creates a SlugReferences message from a plain object. Also converts values to their respective internal types.
457
+ * @param object Plain object
458
+ * @returns SlugReferences
459
+ */
460
+ public static fromObject(object: { [k: string]: any }): contentful.SlugReferences;
461
+
462
+ /**
463
+ * Creates a plain object from a SlugReferences message. Also converts values to other types if specified.
464
+ * @param message SlugReferences
465
+ * @param [options] Conversion options
466
+ * @returns Plain object
467
+ */
468
+ public static toObject(message: contentful.SlugReferences, options?: $protobuf.IConversionOptions): { [k: string]: any };
469
+
470
+ /**
471
+ * Converts this SlugReferences to JSON.
472
+ * @returns JSON object
473
+ */
474
+ public toJSON(): { [k: string]: any };
475
+ }
476
+
387
477
  /** Properties of an IdReference. */
388
478
  interface IIdReference {
389
479
 
@@ -6382,6 +6472,354 @@ export class ContentfulActivityVariationDeleted implements IContentfulActivityVa
6382
6472
  public toJSON(): { [k: string]: any };
6383
6473
  }
6384
6474
 
6475
+ /** Properties of a ContentfulActivityCreated. */
6476
+ export interface IContentfulActivityCreated {
6477
+
6478
+ /** ContentfulActivityCreated name */
6479
+ name?: ({ [k: string]: string }|null);
6480
+
6481
+ /** ContentfulActivityCreated slug */
6482
+ slug?: (string|null);
6483
+
6484
+ /** ContentfulActivityCreated format */
6485
+ format?: (string|null);
6486
+
6487
+ /** ContentfulActivityCreated enabled */
6488
+ enabled?: (string|null);
6489
+
6490
+ /** ContentfulActivityCreated variations */
6491
+ variations?: ({ [k: string]: contentful.ISlugReferences }|null);
6492
+
6493
+ /** ContentfulActivityCreated accessGroup */
6494
+ accessGroup?: (contentful.ISlugReference[]|null);
6495
+
6496
+ /** ContentfulActivityCreated createdAt */
6497
+ createdAt?: (number|Long|null);
6498
+ }
6499
+
6500
+ /** Represents a ContentfulActivityCreated. */
6501
+ export class ContentfulActivityCreated implements IContentfulActivityCreated {
6502
+
6503
+ /**
6504
+ * Constructs a new ContentfulActivityCreated.
6505
+ * @param [properties] Properties to set
6506
+ */
6507
+ constructor(properties?: IContentfulActivityCreated);
6508
+
6509
+ /** ContentfulActivityCreated name. */
6510
+ public name: { [k: string]: string };
6511
+
6512
+ /** ContentfulActivityCreated slug. */
6513
+ public slug: string;
6514
+
6515
+ /** ContentfulActivityCreated format. */
6516
+ public format: string;
6517
+
6518
+ /** ContentfulActivityCreated enabled. */
6519
+ public enabled: string;
6520
+
6521
+ /** ContentfulActivityCreated variations. */
6522
+ public variations: { [k: string]: contentful.ISlugReferences };
6523
+
6524
+ /** ContentfulActivityCreated accessGroup. */
6525
+ public accessGroup: contentful.ISlugReference[];
6526
+
6527
+ /** ContentfulActivityCreated createdAt. */
6528
+ public createdAt: (number|Long);
6529
+
6530
+ /**
6531
+ * Creates a new ContentfulActivityCreated instance using the specified properties.
6532
+ * @param [properties] Properties to set
6533
+ * @returns ContentfulActivityCreated instance
6534
+ */
6535
+ public static create(properties?: IContentfulActivityCreated): ContentfulActivityCreated;
6536
+
6537
+ /**
6538
+ * Encodes the specified ContentfulActivityCreated message. Does not implicitly {@link ContentfulActivityCreated.verify|verify} messages.
6539
+ * @param message ContentfulActivityCreated message or plain object to encode
6540
+ * @param [writer] Writer to encode to
6541
+ * @returns Writer
6542
+ */
6543
+ public static encode(message: IContentfulActivityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6544
+
6545
+ /**
6546
+ * Encodes the specified ContentfulActivityCreated message, length delimited. Does not implicitly {@link ContentfulActivityCreated.verify|verify} messages.
6547
+ * @param message ContentfulActivityCreated message or plain object to encode
6548
+ * @param [writer] Writer to encode to
6549
+ * @returns Writer
6550
+ */
6551
+ public static encodeDelimited(message: IContentfulActivityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6552
+
6553
+ /**
6554
+ * Decodes a ContentfulActivityCreated message from the specified reader or buffer.
6555
+ * @param reader Reader or buffer to decode from
6556
+ * @param [length] Message length if known beforehand
6557
+ * @returns ContentfulActivityCreated
6558
+ * @throws {Error} If the payload is not a reader or valid buffer
6559
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6560
+ */
6561
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityCreated;
6562
+
6563
+ /**
6564
+ * Decodes a ContentfulActivityCreated message from the specified reader or buffer, length delimited.
6565
+ * @param reader Reader or buffer to decode from
6566
+ * @returns ContentfulActivityCreated
6567
+ * @throws {Error} If the payload is not a reader or valid buffer
6568
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6569
+ */
6570
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityCreated;
6571
+
6572
+ /**
6573
+ * Verifies a ContentfulActivityCreated message.
6574
+ * @param message Plain object to verify
6575
+ * @returns `null` if valid, otherwise the reason why it is not
6576
+ */
6577
+ public static verify(message: { [k: string]: any }): (string|null);
6578
+
6579
+ /**
6580
+ * Creates a ContentfulActivityCreated message from a plain object. Also converts values to their respective internal types.
6581
+ * @param object Plain object
6582
+ * @returns ContentfulActivityCreated
6583
+ */
6584
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityCreated;
6585
+
6586
+ /**
6587
+ * Creates a plain object from a ContentfulActivityCreated message. Also converts values to other types if specified.
6588
+ * @param message ContentfulActivityCreated
6589
+ * @param [options] Conversion options
6590
+ * @returns Plain object
6591
+ */
6592
+ public static toObject(message: ContentfulActivityCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6593
+
6594
+ /**
6595
+ * Converts this ContentfulActivityCreated to JSON.
6596
+ * @returns JSON object
6597
+ */
6598
+ public toJSON(): { [k: string]: any };
6599
+ }
6600
+
6601
+ /** Properties of a ContentfulActivityUpdated. */
6602
+ export interface IContentfulActivityUpdated {
6603
+
6604
+ /** ContentfulActivityUpdated name */
6605
+ name?: ({ [k: string]: string }|null);
6606
+
6607
+ /** ContentfulActivityUpdated slug */
6608
+ slug?: (string|null);
6609
+
6610
+ /** ContentfulActivityUpdated format */
6611
+ format?: (string|null);
6612
+
6613
+ /** ContentfulActivityUpdated enabled */
6614
+ enabled?: (string|null);
6615
+
6616
+ /** ContentfulActivityUpdated variations */
6617
+ variations?: ({ [k: string]: contentful.ISlugReferences }|null);
6618
+
6619
+ /** ContentfulActivityUpdated accessGroup */
6620
+ accessGroup?: (contentful.ISlugReference[]|null);
6621
+
6622
+ /** ContentfulActivityUpdated updatedAt */
6623
+ updatedAt?: (number|Long|null);
6624
+ }
6625
+
6626
+ /** Represents a ContentfulActivityUpdated. */
6627
+ export class ContentfulActivityUpdated implements IContentfulActivityUpdated {
6628
+
6629
+ /**
6630
+ * Constructs a new ContentfulActivityUpdated.
6631
+ * @param [properties] Properties to set
6632
+ */
6633
+ constructor(properties?: IContentfulActivityUpdated);
6634
+
6635
+ /** ContentfulActivityUpdated name. */
6636
+ public name: { [k: string]: string };
6637
+
6638
+ /** ContentfulActivityUpdated slug. */
6639
+ public slug: string;
6640
+
6641
+ /** ContentfulActivityUpdated format. */
6642
+ public format: string;
6643
+
6644
+ /** ContentfulActivityUpdated enabled. */
6645
+ public enabled: string;
6646
+
6647
+ /** ContentfulActivityUpdated variations. */
6648
+ public variations: { [k: string]: contentful.ISlugReferences };
6649
+
6650
+ /** ContentfulActivityUpdated accessGroup. */
6651
+ public accessGroup: contentful.ISlugReference[];
6652
+
6653
+ /** ContentfulActivityUpdated updatedAt. */
6654
+ public updatedAt: (number|Long);
6655
+
6656
+ /**
6657
+ * Creates a new ContentfulActivityUpdated instance using the specified properties.
6658
+ * @param [properties] Properties to set
6659
+ * @returns ContentfulActivityUpdated instance
6660
+ */
6661
+ public static create(properties?: IContentfulActivityUpdated): ContentfulActivityUpdated;
6662
+
6663
+ /**
6664
+ * Encodes the specified ContentfulActivityUpdated message. Does not implicitly {@link ContentfulActivityUpdated.verify|verify} messages.
6665
+ * @param message ContentfulActivityUpdated message or plain object to encode
6666
+ * @param [writer] Writer to encode to
6667
+ * @returns Writer
6668
+ */
6669
+ public static encode(message: IContentfulActivityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6670
+
6671
+ /**
6672
+ * Encodes the specified ContentfulActivityUpdated message, length delimited. Does not implicitly {@link ContentfulActivityUpdated.verify|verify} messages.
6673
+ * @param message ContentfulActivityUpdated message or plain object to encode
6674
+ * @param [writer] Writer to encode to
6675
+ * @returns Writer
6676
+ */
6677
+ public static encodeDelimited(message: IContentfulActivityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6678
+
6679
+ /**
6680
+ * Decodes a ContentfulActivityUpdated message from the specified reader or buffer.
6681
+ * @param reader Reader or buffer to decode from
6682
+ * @param [length] Message length if known beforehand
6683
+ * @returns ContentfulActivityUpdated
6684
+ * @throws {Error} If the payload is not a reader or valid buffer
6685
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6686
+ */
6687
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityUpdated;
6688
+
6689
+ /**
6690
+ * Decodes a ContentfulActivityUpdated message from the specified reader or buffer, length delimited.
6691
+ * @param reader Reader or buffer to decode from
6692
+ * @returns ContentfulActivityUpdated
6693
+ * @throws {Error} If the payload is not a reader or valid buffer
6694
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6695
+ */
6696
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityUpdated;
6697
+
6698
+ /**
6699
+ * Verifies a ContentfulActivityUpdated message.
6700
+ * @param message Plain object to verify
6701
+ * @returns `null` if valid, otherwise the reason why it is not
6702
+ */
6703
+ public static verify(message: { [k: string]: any }): (string|null);
6704
+
6705
+ /**
6706
+ * Creates a ContentfulActivityUpdated message from a plain object. Also converts values to their respective internal types.
6707
+ * @param object Plain object
6708
+ * @returns ContentfulActivityUpdated
6709
+ */
6710
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityUpdated;
6711
+
6712
+ /**
6713
+ * Creates a plain object from a ContentfulActivityUpdated message. Also converts values to other types if specified.
6714
+ * @param message ContentfulActivityUpdated
6715
+ * @param [options] Conversion options
6716
+ * @returns Plain object
6717
+ */
6718
+ public static toObject(message: ContentfulActivityUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6719
+
6720
+ /**
6721
+ * Converts this ContentfulActivityUpdated to JSON.
6722
+ * @returns JSON object
6723
+ */
6724
+ public toJSON(): { [k: string]: any };
6725
+ }
6726
+
6727
+ /** Properties of a ContentfulActivityDeleted. */
6728
+ export interface IContentfulActivityDeleted {
6729
+
6730
+ /** ContentfulActivityDeleted slug */
6731
+ slug?: (string|null);
6732
+
6733
+ /** ContentfulActivityDeleted deletedAt */
6734
+ deletedAt?: (number|Long|null);
6735
+ }
6736
+
6737
+ /** Represents a ContentfulActivityDeleted. */
6738
+ export class ContentfulActivityDeleted implements IContentfulActivityDeleted {
6739
+
6740
+ /**
6741
+ * Constructs a new ContentfulActivityDeleted.
6742
+ * @param [properties] Properties to set
6743
+ */
6744
+ constructor(properties?: IContentfulActivityDeleted);
6745
+
6746
+ /** ContentfulActivityDeleted slug. */
6747
+ public slug: string;
6748
+
6749
+ /** ContentfulActivityDeleted deletedAt. */
6750
+ public deletedAt: (number|Long);
6751
+
6752
+ /**
6753
+ * Creates a new ContentfulActivityDeleted instance using the specified properties.
6754
+ * @param [properties] Properties to set
6755
+ * @returns ContentfulActivityDeleted instance
6756
+ */
6757
+ public static create(properties?: IContentfulActivityDeleted): ContentfulActivityDeleted;
6758
+
6759
+ /**
6760
+ * Encodes the specified ContentfulActivityDeleted message. Does not implicitly {@link ContentfulActivityDeleted.verify|verify} messages.
6761
+ * @param message ContentfulActivityDeleted message or plain object to encode
6762
+ * @param [writer] Writer to encode to
6763
+ * @returns Writer
6764
+ */
6765
+ public static encode(message: IContentfulActivityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6766
+
6767
+ /**
6768
+ * Encodes the specified ContentfulActivityDeleted message, length delimited. Does not implicitly {@link ContentfulActivityDeleted.verify|verify} messages.
6769
+ * @param message ContentfulActivityDeleted message or plain object to encode
6770
+ * @param [writer] Writer to encode to
6771
+ * @returns Writer
6772
+ */
6773
+ public static encodeDelimited(message: IContentfulActivityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6774
+
6775
+ /**
6776
+ * Decodes a ContentfulActivityDeleted message from the specified reader or buffer.
6777
+ * @param reader Reader or buffer to decode from
6778
+ * @param [length] Message length if known beforehand
6779
+ * @returns ContentfulActivityDeleted
6780
+ * @throws {Error} If the payload is not a reader or valid buffer
6781
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6782
+ */
6783
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityDeleted;
6784
+
6785
+ /**
6786
+ * Decodes a ContentfulActivityDeleted message from the specified reader or buffer, length delimited.
6787
+ * @param reader Reader or buffer to decode from
6788
+ * @returns ContentfulActivityDeleted
6789
+ * @throws {Error} If the payload is not a reader or valid buffer
6790
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6791
+ */
6792
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityDeleted;
6793
+
6794
+ /**
6795
+ * Verifies a ContentfulActivityDeleted message.
6796
+ * @param message Plain object to verify
6797
+ * @returns `null` if valid, otherwise the reason why it is not
6798
+ */
6799
+ public static verify(message: { [k: string]: any }): (string|null);
6800
+
6801
+ /**
6802
+ * Creates a ContentfulActivityDeleted message from a plain object. Also converts values to their respective internal types.
6803
+ * @param object Plain object
6804
+ * @returns ContentfulActivityDeleted
6805
+ */
6806
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityDeleted;
6807
+
6808
+ /**
6809
+ * Creates a plain object from a ContentfulActivityDeleted message. Also converts values to other types if specified.
6810
+ * @param message ContentfulActivityDeleted
6811
+ * @param [options] Conversion options
6812
+ * @returns Plain object
6813
+ */
6814
+ public static toObject(message: ContentfulActivityDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6815
+
6816
+ /**
6817
+ * Converts this ContentfulActivityDeleted to JSON.
6818
+ * @returns JSON object
6819
+ */
6820
+ public toJSON(): { [k: string]: any };
6821
+ }
6822
+
6385
6823
  /** Properties of a ContentfulContentModelCreated. */
6386
6824
  export interface IContentfulContentModelCreated {
6387
6825