@headspace/protos-events 1.136.0 → 1.138.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 +450 -0
  2. package/lib/index.js +1328 -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,366 @@ 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 statCardText */
6494
+ statCardText?: ({ [k: string]: string }|null);
6495
+
6496
+ /** ContentfulActivityCreated accessGroup */
6497
+ accessGroup?: (contentful.ISlugReference[]|null);
6498
+
6499
+ /** ContentfulActivityCreated createdAt */
6500
+ createdAt?: (number|Long|null);
6501
+ }
6502
+
6503
+ /** Represents a ContentfulActivityCreated. */
6504
+ export class ContentfulActivityCreated implements IContentfulActivityCreated {
6505
+
6506
+ /**
6507
+ * Constructs a new ContentfulActivityCreated.
6508
+ * @param [properties] Properties to set
6509
+ */
6510
+ constructor(properties?: IContentfulActivityCreated);
6511
+
6512
+ /** ContentfulActivityCreated name. */
6513
+ public name: { [k: string]: string };
6514
+
6515
+ /** ContentfulActivityCreated slug. */
6516
+ public slug: string;
6517
+
6518
+ /** ContentfulActivityCreated format. */
6519
+ public format: string;
6520
+
6521
+ /** ContentfulActivityCreated enabled. */
6522
+ public enabled: string;
6523
+
6524
+ /** ContentfulActivityCreated variations. */
6525
+ public variations: { [k: string]: contentful.ISlugReferences };
6526
+
6527
+ /** ContentfulActivityCreated statCardText. */
6528
+ public statCardText: { [k: string]: string };
6529
+
6530
+ /** ContentfulActivityCreated accessGroup. */
6531
+ public accessGroup: contentful.ISlugReference[];
6532
+
6533
+ /** ContentfulActivityCreated createdAt. */
6534
+ public createdAt: (number|Long);
6535
+
6536
+ /**
6537
+ * Creates a new ContentfulActivityCreated instance using the specified properties.
6538
+ * @param [properties] Properties to set
6539
+ * @returns ContentfulActivityCreated instance
6540
+ */
6541
+ public static create(properties?: IContentfulActivityCreated): ContentfulActivityCreated;
6542
+
6543
+ /**
6544
+ * Encodes the specified ContentfulActivityCreated message. Does not implicitly {@link ContentfulActivityCreated.verify|verify} messages.
6545
+ * @param message ContentfulActivityCreated message or plain object to encode
6546
+ * @param [writer] Writer to encode to
6547
+ * @returns Writer
6548
+ */
6549
+ public static encode(message: IContentfulActivityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6550
+
6551
+ /**
6552
+ * Encodes the specified ContentfulActivityCreated message, length delimited. Does not implicitly {@link ContentfulActivityCreated.verify|verify} messages.
6553
+ * @param message ContentfulActivityCreated message or plain object to encode
6554
+ * @param [writer] Writer to encode to
6555
+ * @returns Writer
6556
+ */
6557
+ public static encodeDelimited(message: IContentfulActivityCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6558
+
6559
+ /**
6560
+ * Decodes a ContentfulActivityCreated message from the specified reader or buffer.
6561
+ * @param reader Reader or buffer to decode from
6562
+ * @param [length] Message length if known beforehand
6563
+ * @returns ContentfulActivityCreated
6564
+ * @throws {Error} If the payload is not a reader or valid buffer
6565
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6566
+ */
6567
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityCreated;
6568
+
6569
+ /**
6570
+ * Decodes a ContentfulActivityCreated message from the specified reader or buffer, length delimited.
6571
+ * @param reader Reader or buffer to decode from
6572
+ * @returns ContentfulActivityCreated
6573
+ * @throws {Error} If the payload is not a reader or valid buffer
6574
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6575
+ */
6576
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityCreated;
6577
+
6578
+ /**
6579
+ * Verifies a ContentfulActivityCreated message.
6580
+ * @param message Plain object to verify
6581
+ * @returns `null` if valid, otherwise the reason why it is not
6582
+ */
6583
+ public static verify(message: { [k: string]: any }): (string|null);
6584
+
6585
+ /**
6586
+ * Creates a ContentfulActivityCreated message from a plain object. Also converts values to their respective internal types.
6587
+ * @param object Plain object
6588
+ * @returns ContentfulActivityCreated
6589
+ */
6590
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityCreated;
6591
+
6592
+ /**
6593
+ * Creates a plain object from a ContentfulActivityCreated message. Also converts values to other types if specified.
6594
+ * @param message ContentfulActivityCreated
6595
+ * @param [options] Conversion options
6596
+ * @returns Plain object
6597
+ */
6598
+ public static toObject(message: ContentfulActivityCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6599
+
6600
+ /**
6601
+ * Converts this ContentfulActivityCreated to JSON.
6602
+ * @returns JSON object
6603
+ */
6604
+ public toJSON(): { [k: string]: any };
6605
+ }
6606
+
6607
+ /** Properties of a ContentfulActivityUpdated. */
6608
+ export interface IContentfulActivityUpdated {
6609
+
6610
+ /** ContentfulActivityUpdated name */
6611
+ name?: ({ [k: string]: string }|null);
6612
+
6613
+ /** ContentfulActivityUpdated slug */
6614
+ slug?: (string|null);
6615
+
6616
+ /** ContentfulActivityUpdated format */
6617
+ format?: (string|null);
6618
+
6619
+ /** ContentfulActivityUpdated enabled */
6620
+ enabled?: (string|null);
6621
+
6622
+ /** ContentfulActivityUpdated variations */
6623
+ variations?: ({ [k: string]: contentful.ISlugReferences }|null);
6624
+
6625
+ /** ContentfulActivityUpdated statCardText */
6626
+ statCardText?: ({ [k: string]: string }|null);
6627
+
6628
+ /** ContentfulActivityUpdated accessGroup */
6629
+ accessGroup?: (contentful.ISlugReference[]|null);
6630
+
6631
+ /** ContentfulActivityUpdated updatedAt */
6632
+ updatedAt?: (number|Long|null);
6633
+ }
6634
+
6635
+ /** Represents a ContentfulActivityUpdated. */
6636
+ export class ContentfulActivityUpdated implements IContentfulActivityUpdated {
6637
+
6638
+ /**
6639
+ * Constructs a new ContentfulActivityUpdated.
6640
+ * @param [properties] Properties to set
6641
+ */
6642
+ constructor(properties?: IContentfulActivityUpdated);
6643
+
6644
+ /** ContentfulActivityUpdated name. */
6645
+ public name: { [k: string]: string };
6646
+
6647
+ /** ContentfulActivityUpdated slug. */
6648
+ public slug: string;
6649
+
6650
+ /** ContentfulActivityUpdated format. */
6651
+ public format: string;
6652
+
6653
+ /** ContentfulActivityUpdated enabled. */
6654
+ public enabled: string;
6655
+
6656
+ /** ContentfulActivityUpdated variations. */
6657
+ public variations: { [k: string]: contentful.ISlugReferences };
6658
+
6659
+ /** ContentfulActivityUpdated statCardText. */
6660
+ public statCardText: { [k: string]: string };
6661
+
6662
+ /** ContentfulActivityUpdated accessGroup. */
6663
+ public accessGroup: contentful.ISlugReference[];
6664
+
6665
+ /** ContentfulActivityUpdated updatedAt. */
6666
+ public updatedAt: (number|Long);
6667
+
6668
+ /**
6669
+ * Creates a new ContentfulActivityUpdated instance using the specified properties.
6670
+ * @param [properties] Properties to set
6671
+ * @returns ContentfulActivityUpdated instance
6672
+ */
6673
+ public static create(properties?: IContentfulActivityUpdated): ContentfulActivityUpdated;
6674
+
6675
+ /**
6676
+ * Encodes the specified ContentfulActivityUpdated message. Does not implicitly {@link ContentfulActivityUpdated.verify|verify} messages.
6677
+ * @param message ContentfulActivityUpdated message or plain object to encode
6678
+ * @param [writer] Writer to encode to
6679
+ * @returns Writer
6680
+ */
6681
+ public static encode(message: IContentfulActivityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6682
+
6683
+ /**
6684
+ * Encodes the specified ContentfulActivityUpdated message, length delimited. Does not implicitly {@link ContentfulActivityUpdated.verify|verify} messages.
6685
+ * @param message ContentfulActivityUpdated message or plain object to encode
6686
+ * @param [writer] Writer to encode to
6687
+ * @returns Writer
6688
+ */
6689
+ public static encodeDelimited(message: IContentfulActivityUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
6690
+
6691
+ /**
6692
+ * Decodes a ContentfulActivityUpdated message from the specified reader or buffer.
6693
+ * @param reader Reader or buffer to decode from
6694
+ * @param [length] Message length if known beforehand
6695
+ * @returns ContentfulActivityUpdated
6696
+ * @throws {Error} If the payload is not a reader or valid buffer
6697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6698
+ */
6699
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityUpdated;
6700
+
6701
+ /**
6702
+ * Decodes a ContentfulActivityUpdated message from the specified reader or buffer, length delimited.
6703
+ * @param reader Reader or buffer to decode from
6704
+ * @returns ContentfulActivityUpdated
6705
+ * @throws {Error} If the payload is not a reader or valid buffer
6706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6707
+ */
6708
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityUpdated;
6709
+
6710
+ /**
6711
+ * Verifies a ContentfulActivityUpdated message.
6712
+ * @param message Plain object to verify
6713
+ * @returns `null` if valid, otherwise the reason why it is not
6714
+ */
6715
+ public static verify(message: { [k: string]: any }): (string|null);
6716
+
6717
+ /**
6718
+ * Creates a ContentfulActivityUpdated message from a plain object. Also converts values to their respective internal types.
6719
+ * @param object Plain object
6720
+ * @returns ContentfulActivityUpdated
6721
+ */
6722
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityUpdated;
6723
+
6724
+ /**
6725
+ * Creates a plain object from a ContentfulActivityUpdated message. Also converts values to other types if specified.
6726
+ * @param message ContentfulActivityUpdated
6727
+ * @param [options] Conversion options
6728
+ * @returns Plain object
6729
+ */
6730
+ public static toObject(message: ContentfulActivityUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6731
+
6732
+ /**
6733
+ * Converts this ContentfulActivityUpdated to JSON.
6734
+ * @returns JSON object
6735
+ */
6736
+ public toJSON(): { [k: string]: any };
6737
+ }
6738
+
6739
+ /** Properties of a ContentfulActivityDeleted. */
6740
+ export interface IContentfulActivityDeleted {
6741
+
6742
+ /** ContentfulActivityDeleted slug */
6743
+ slug?: (string|null);
6744
+
6745
+ /** ContentfulActivityDeleted deletedAt */
6746
+ deletedAt?: (number|Long|null);
6747
+ }
6748
+
6749
+ /** Represents a ContentfulActivityDeleted. */
6750
+ export class ContentfulActivityDeleted implements IContentfulActivityDeleted {
6751
+
6752
+ /**
6753
+ * Constructs a new ContentfulActivityDeleted.
6754
+ * @param [properties] Properties to set
6755
+ */
6756
+ constructor(properties?: IContentfulActivityDeleted);
6757
+
6758
+ /** ContentfulActivityDeleted slug. */
6759
+ public slug: string;
6760
+
6761
+ /** ContentfulActivityDeleted deletedAt. */
6762
+ public deletedAt: (number|Long);
6763
+
6764
+ /**
6765
+ * Creates a new ContentfulActivityDeleted instance using the specified properties.
6766
+ * @param [properties] Properties to set
6767
+ * @returns ContentfulActivityDeleted instance
6768
+ */
6769
+ public static create(properties?: IContentfulActivityDeleted): ContentfulActivityDeleted;
6770
+
6771
+ /**
6772
+ * Encodes the specified ContentfulActivityDeleted message. Does not implicitly {@link ContentfulActivityDeleted.verify|verify} messages.
6773
+ * @param message ContentfulActivityDeleted message or plain object to encode
6774
+ * @param [writer] Writer to encode to
6775
+ * @returns Writer
6776
+ */
6777
+ public static encode(message: IContentfulActivityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6778
+
6779
+ /**
6780
+ * Encodes the specified ContentfulActivityDeleted message, length delimited. Does not implicitly {@link ContentfulActivityDeleted.verify|verify} messages.
6781
+ * @param message ContentfulActivityDeleted message or plain object to encode
6782
+ * @param [writer] Writer to encode to
6783
+ * @returns Writer
6784
+ */
6785
+ public static encodeDelimited(message: IContentfulActivityDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6786
+
6787
+ /**
6788
+ * Decodes a ContentfulActivityDeleted message from the specified reader or buffer.
6789
+ * @param reader Reader or buffer to decode from
6790
+ * @param [length] Message length if known beforehand
6791
+ * @returns ContentfulActivityDeleted
6792
+ * @throws {Error} If the payload is not a reader or valid buffer
6793
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6794
+ */
6795
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulActivityDeleted;
6796
+
6797
+ /**
6798
+ * Decodes a ContentfulActivityDeleted message from the specified reader or buffer, length delimited.
6799
+ * @param reader Reader or buffer to decode from
6800
+ * @returns ContentfulActivityDeleted
6801
+ * @throws {Error} If the payload is not a reader or valid buffer
6802
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6803
+ */
6804
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulActivityDeleted;
6805
+
6806
+ /**
6807
+ * Verifies a ContentfulActivityDeleted message.
6808
+ * @param message Plain object to verify
6809
+ * @returns `null` if valid, otherwise the reason why it is not
6810
+ */
6811
+ public static verify(message: { [k: string]: any }): (string|null);
6812
+
6813
+ /**
6814
+ * Creates a ContentfulActivityDeleted message from a plain object. Also converts values to their respective internal types.
6815
+ * @param object Plain object
6816
+ * @returns ContentfulActivityDeleted
6817
+ */
6818
+ public static fromObject(object: { [k: string]: any }): ContentfulActivityDeleted;
6819
+
6820
+ /**
6821
+ * Creates a plain object from a ContentfulActivityDeleted message. Also converts values to other types if specified.
6822
+ * @param message ContentfulActivityDeleted
6823
+ * @param [options] Conversion options
6824
+ * @returns Plain object
6825
+ */
6826
+ public static toObject(message: ContentfulActivityDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6827
+
6828
+ /**
6829
+ * Converts this ContentfulActivityDeleted to JSON.
6830
+ * @returns JSON object
6831
+ */
6832
+ public toJSON(): { [k: string]: any };
6833
+ }
6834
+
6385
6835
  /** Properties of a ContentfulContentModelCreated. */
6386
6836
  export interface IContentfulContentModelCreated {
6387
6837