@headspace/protos-events 1.558.0 → 1.560.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 +635 -0
  2. package/lib/index.js +1726 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6377,6 +6377,209 @@ export namespace contentful {
6377
6377
  public toJSON(): { [k: string]: any };
6378
6378
  }
6379
6379
 
6380
+ /** Locale enum. */
6381
+ enum Locale {
6382
+ LOCALE_UNKNOWN = 0,
6383
+ LOCALE_EN_US = 1,
6384
+ LOCALE_DE_DE = 2,
6385
+ LOCALE_ES_ES = 3,
6386
+ LOCALE_FR_FR = 4,
6387
+ LOCALE_IT_IT = 5,
6388
+ LOCALE_PT_BR = 6
6389
+ }
6390
+
6391
+ /** Properties of a LanguageMediaEntity. */
6392
+ interface ILanguageMediaEntity {
6393
+
6394
+ /** LanguageMediaEntity locale */
6395
+ locale?: (contentful.Locale|null);
6396
+
6397
+ /** LanguageMediaEntity id */
6398
+ id?: (contentful.IIdReference|null);
6399
+ }
6400
+
6401
+ /** Represents a LanguageMediaEntity. */
6402
+ class LanguageMediaEntity implements ILanguageMediaEntity {
6403
+
6404
+ /**
6405
+ * Constructs a new LanguageMediaEntity.
6406
+ * @param [properties] Properties to set
6407
+ */
6408
+ constructor(properties?: contentful.ILanguageMediaEntity);
6409
+
6410
+ /** LanguageMediaEntity locale. */
6411
+ public locale: contentful.Locale;
6412
+
6413
+ /** LanguageMediaEntity id. */
6414
+ public id?: (contentful.IIdReference|null);
6415
+
6416
+ /**
6417
+ * Creates a new LanguageMediaEntity instance using the specified properties.
6418
+ * @param [properties] Properties to set
6419
+ * @returns LanguageMediaEntity instance
6420
+ */
6421
+ public static create(properties?: contentful.ILanguageMediaEntity): contentful.LanguageMediaEntity;
6422
+
6423
+ /**
6424
+ * Encodes the specified LanguageMediaEntity message. Does not implicitly {@link contentful.LanguageMediaEntity.verify|verify} messages.
6425
+ * @param message LanguageMediaEntity message or plain object to encode
6426
+ * @param [writer] Writer to encode to
6427
+ * @returns Writer
6428
+ */
6429
+ public static encode(message: contentful.ILanguageMediaEntity, writer?: $protobuf.Writer): $protobuf.Writer;
6430
+
6431
+ /**
6432
+ * Encodes the specified LanguageMediaEntity message, length delimited. Does not implicitly {@link contentful.LanguageMediaEntity.verify|verify} messages.
6433
+ * @param message LanguageMediaEntity message or plain object to encode
6434
+ * @param [writer] Writer to encode to
6435
+ * @returns Writer
6436
+ */
6437
+ public static encodeDelimited(message: contentful.ILanguageMediaEntity, writer?: $protobuf.Writer): $protobuf.Writer;
6438
+
6439
+ /**
6440
+ * Decodes a LanguageMediaEntity message from the specified reader or buffer.
6441
+ * @param reader Reader or buffer to decode from
6442
+ * @param [length] Message length if known beforehand
6443
+ * @returns LanguageMediaEntity
6444
+ * @throws {Error} If the payload is not a reader or valid buffer
6445
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6446
+ */
6447
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): contentful.LanguageMediaEntity;
6448
+
6449
+ /**
6450
+ * Decodes a LanguageMediaEntity message from the specified reader or buffer, length delimited.
6451
+ * @param reader Reader or buffer to decode from
6452
+ * @returns LanguageMediaEntity
6453
+ * @throws {Error} If the payload is not a reader or valid buffer
6454
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6455
+ */
6456
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): contentful.LanguageMediaEntity;
6457
+
6458
+ /**
6459
+ * Verifies a LanguageMediaEntity message.
6460
+ * @param message Plain object to verify
6461
+ * @returns `null` if valid, otherwise the reason why it is not
6462
+ */
6463
+ public static verify(message: { [k: string]: any }): (string|null);
6464
+
6465
+ /**
6466
+ * Creates a LanguageMediaEntity message from a plain object. Also converts values to their respective internal types.
6467
+ * @param object Plain object
6468
+ * @returns LanguageMediaEntity
6469
+ */
6470
+ public static fromObject(object: { [k: string]: any }): contentful.LanguageMediaEntity;
6471
+
6472
+ /**
6473
+ * Creates a plain object from a LanguageMediaEntity message. Also converts values to other types if specified.
6474
+ * @param message LanguageMediaEntity
6475
+ * @param [options] Conversion options
6476
+ * @returns Plain object
6477
+ */
6478
+ public static toObject(message: contentful.LanguageMediaEntity, options?: $protobuf.IConversionOptions): { [k: string]: any };
6479
+
6480
+ /**
6481
+ * Converts this LanguageMediaEntity to JSON.
6482
+ * @returns JSON object
6483
+ */
6484
+ public toJSON(): { [k: string]: any };
6485
+ }
6486
+
6487
+ /** Properties of a LanguageTextEntity. */
6488
+ interface ILanguageTextEntity {
6489
+
6490
+ /** LanguageTextEntity locale */
6491
+ locale?: (contentful.Locale|null);
6492
+
6493
+ /** LanguageTextEntity text */
6494
+ text?: (string|null);
6495
+ }
6496
+
6497
+ /** Represents a LanguageTextEntity. */
6498
+ class LanguageTextEntity implements ILanguageTextEntity {
6499
+
6500
+ /**
6501
+ * Constructs a new LanguageTextEntity.
6502
+ * @param [properties] Properties to set
6503
+ */
6504
+ constructor(properties?: contentful.ILanguageTextEntity);
6505
+
6506
+ /** LanguageTextEntity locale. */
6507
+ public locale: contentful.Locale;
6508
+
6509
+ /** LanguageTextEntity text. */
6510
+ public text: string;
6511
+
6512
+ /**
6513
+ * Creates a new LanguageTextEntity instance using the specified properties.
6514
+ * @param [properties] Properties to set
6515
+ * @returns LanguageTextEntity instance
6516
+ */
6517
+ public static create(properties?: contentful.ILanguageTextEntity): contentful.LanguageTextEntity;
6518
+
6519
+ /**
6520
+ * Encodes the specified LanguageTextEntity message. Does not implicitly {@link contentful.LanguageTextEntity.verify|verify} messages.
6521
+ * @param message LanguageTextEntity message or plain object to encode
6522
+ * @param [writer] Writer to encode to
6523
+ * @returns Writer
6524
+ */
6525
+ public static encode(message: contentful.ILanguageTextEntity, writer?: $protobuf.Writer): $protobuf.Writer;
6526
+
6527
+ /**
6528
+ * Encodes the specified LanguageTextEntity message, length delimited. Does not implicitly {@link contentful.LanguageTextEntity.verify|verify} messages.
6529
+ * @param message LanguageTextEntity message or plain object to encode
6530
+ * @param [writer] Writer to encode to
6531
+ * @returns Writer
6532
+ */
6533
+ public static encodeDelimited(message: contentful.ILanguageTextEntity, writer?: $protobuf.Writer): $protobuf.Writer;
6534
+
6535
+ /**
6536
+ * Decodes a LanguageTextEntity message from the specified reader or buffer.
6537
+ * @param reader Reader or buffer to decode from
6538
+ * @param [length] Message length if known beforehand
6539
+ * @returns LanguageTextEntity
6540
+ * @throws {Error} If the payload is not a reader or valid buffer
6541
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6542
+ */
6543
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): contentful.LanguageTextEntity;
6544
+
6545
+ /**
6546
+ * Decodes a LanguageTextEntity message from the specified reader or buffer, length delimited.
6547
+ * @param reader Reader or buffer to decode from
6548
+ * @returns LanguageTextEntity
6549
+ * @throws {Error} If the payload is not a reader or valid buffer
6550
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6551
+ */
6552
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): contentful.LanguageTextEntity;
6553
+
6554
+ /**
6555
+ * Verifies a LanguageTextEntity message.
6556
+ * @param message Plain object to verify
6557
+ * @returns `null` if valid, otherwise the reason why it is not
6558
+ */
6559
+ public static verify(message: { [k: string]: any }): (string|null);
6560
+
6561
+ /**
6562
+ * Creates a LanguageTextEntity message from a plain object. Also converts values to their respective internal types.
6563
+ * @param object Plain object
6564
+ * @returns LanguageTextEntity
6565
+ */
6566
+ public static fromObject(object: { [k: string]: any }): contentful.LanguageTextEntity;
6567
+
6568
+ /**
6569
+ * Creates a plain object from a LanguageTextEntity message. Also converts values to other types if specified.
6570
+ * @param message LanguageTextEntity
6571
+ * @param [options] Conversion options
6572
+ * @returns Plain object
6573
+ */
6574
+ public static toObject(message: contentful.LanguageTextEntity, options?: $protobuf.IConversionOptions): { [k: string]: any };
6575
+
6576
+ /**
6577
+ * Converts this LanguageTextEntity to JSON.
6578
+ * @returns JSON object
6579
+ */
6580
+ public toJSON(): { [k: string]: any };
6581
+ }
6582
+
6380
6583
  /** Properties of a ContentModelField. */
6381
6584
  interface IContentModelField {
6382
6585
 
@@ -21129,6 +21332,426 @@ export class ContentfulSleepcastDeleted implements IContentfulSleepcastDeleted {
21129
21332
  public toJSON(): { [k: string]: any };
21130
21333
  }
21131
21334
 
21335
+ /** Properties of a ContentfulSurvey. */
21336
+ export interface IContentfulSurvey {
21337
+
21338
+ /** ContentfulSurvey name */
21339
+ name?: (string|null);
21340
+
21341
+ /** ContentfulSurvey slug */
21342
+ slug?: (string|null);
21343
+
21344
+ /** ContentfulSurvey title */
21345
+ title?: (contentful.ILanguageTextEntity[]|null);
21346
+
21347
+ /** ContentfulSurvey description */
21348
+ description?: (contentful.ILanguageTextEntity[]|null);
21349
+
21350
+ /** ContentfulSurvey actionButtonTitle */
21351
+ actionButtonTitle?: (contentful.ILanguageTextEntity[]|null);
21352
+
21353
+ /** ContentfulSurvey tileMedia */
21354
+ tileMedia?: (contentful.ILanguageMediaEntity[]|null);
21355
+
21356
+ /** ContentfulSurvey label */
21357
+ label?: (contentful.ILanguageTextEntity[]|null);
21358
+
21359
+ /** ContentfulSurvey duration */
21360
+ duration?: (contentful.ILanguageTextEntity[]|null);
21361
+ }
21362
+
21363
+ /** Represents a ContentfulSurvey. */
21364
+ export class ContentfulSurvey implements IContentfulSurvey {
21365
+
21366
+ /**
21367
+ * Constructs a new ContentfulSurvey.
21368
+ * @param [properties] Properties to set
21369
+ */
21370
+ constructor(properties?: IContentfulSurvey);
21371
+
21372
+ /** ContentfulSurvey name. */
21373
+ public name: string;
21374
+
21375
+ /** ContentfulSurvey slug. */
21376
+ public slug: string;
21377
+
21378
+ /** ContentfulSurvey title. */
21379
+ public title: contentful.ILanguageTextEntity[];
21380
+
21381
+ /** ContentfulSurvey description. */
21382
+ public description: contentful.ILanguageTextEntity[];
21383
+
21384
+ /** ContentfulSurvey actionButtonTitle. */
21385
+ public actionButtonTitle: contentful.ILanguageTextEntity[];
21386
+
21387
+ /** ContentfulSurvey tileMedia. */
21388
+ public tileMedia: contentful.ILanguageMediaEntity[];
21389
+
21390
+ /** ContentfulSurvey label. */
21391
+ public label: contentful.ILanguageTextEntity[];
21392
+
21393
+ /** ContentfulSurvey duration. */
21394
+ public duration: contentful.ILanguageTextEntity[];
21395
+
21396
+ /**
21397
+ * Creates a new ContentfulSurvey instance using the specified properties.
21398
+ * @param [properties] Properties to set
21399
+ * @returns ContentfulSurvey instance
21400
+ */
21401
+ public static create(properties?: IContentfulSurvey): ContentfulSurvey;
21402
+
21403
+ /**
21404
+ * Encodes the specified ContentfulSurvey message. Does not implicitly {@link ContentfulSurvey.verify|verify} messages.
21405
+ * @param message ContentfulSurvey message or plain object to encode
21406
+ * @param [writer] Writer to encode to
21407
+ * @returns Writer
21408
+ */
21409
+ public static encode(message: IContentfulSurvey, writer?: $protobuf.Writer): $protobuf.Writer;
21410
+
21411
+ /**
21412
+ * Encodes the specified ContentfulSurvey message, length delimited. Does not implicitly {@link ContentfulSurvey.verify|verify} messages.
21413
+ * @param message ContentfulSurvey message or plain object to encode
21414
+ * @param [writer] Writer to encode to
21415
+ * @returns Writer
21416
+ */
21417
+ public static encodeDelimited(message: IContentfulSurvey, writer?: $protobuf.Writer): $protobuf.Writer;
21418
+
21419
+ /**
21420
+ * Decodes a ContentfulSurvey message from the specified reader or buffer.
21421
+ * @param reader Reader or buffer to decode from
21422
+ * @param [length] Message length if known beforehand
21423
+ * @returns ContentfulSurvey
21424
+ * @throws {Error} If the payload is not a reader or valid buffer
21425
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21426
+ */
21427
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSurvey;
21428
+
21429
+ /**
21430
+ * Decodes a ContentfulSurvey message from the specified reader or buffer, length delimited.
21431
+ * @param reader Reader or buffer to decode from
21432
+ * @returns ContentfulSurvey
21433
+ * @throws {Error} If the payload is not a reader or valid buffer
21434
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21435
+ */
21436
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSurvey;
21437
+
21438
+ /**
21439
+ * Verifies a ContentfulSurvey message.
21440
+ * @param message Plain object to verify
21441
+ * @returns `null` if valid, otherwise the reason why it is not
21442
+ */
21443
+ public static verify(message: { [k: string]: any }): (string|null);
21444
+
21445
+ /**
21446
+ * Creates a ContentfulSurvey message from a plain object. Also converts values to their respective internal types.
21447
+ * @param object Plain object
21448
+ * @returns ContentfulSurvey
21449
+ */
21450
+ public static fromObject(object: { [k: string]: any }): ContentfulSurvey;
21451
+
21452
+ /**
21453
+ * Creates a plain object from a ContentfulSurvey message. Also converts values to other types if specified.
21454
+ * @param message ContentfulSurvey
21455
+ * @param [options] Conversion options
21456
+ * @returns Plain object
21457
+ */
21458
+ public static toObject(message: ContentfulSurvey, options?: $protobuf.IConversionOptions): { [k: string]: any };
21459
+
21460
+ /**
21461
+ * Converts this ContentfulSurvey to JSON.
21462
+ * @returns JSON object
21463
+ */
21464
+ public toJSON(): { [k: string]: any };
21465
+ }
21466
+
21467
+ /** Properties of a ContentfulSurveyCreated. */
21468
+ export interface IContentfulSurveyCreated {
21469
+
21470
+ /** ContentfulSurveyCreated timestamp */
21471
+ timestamp?: (number|Long|null);
21472
+
21473
+ /** ContentfulSurveyCreated survey */
21474
+ survey?: (IContentfulSurvey|null);
21475
+ }
21476
+
21477
+ /** Represents a ContentfulSurveyCreated. */
21478
+ export class ContentfulSurveyCreated implements IContentfulSurveyCreated {
21479
+
21480
+ /**
21481
+ * Constructs a new ContentfulSurveyCreated.
21482
+ * @param [properties] Properties to set
21483
+ */
21484
+ constructor(properties?: IContentfulSurveyCreated);
21485
+
21486
+ /** ContentfulSurveyCreated timestamp. */
21487
+ public timestamp: (number|Long);
21488
+
21489
+ /** ContentfulSurveyCreated survey. */
21490
+ public survey?: (IContentfulSurvey|null);
21491
+
21492
+ /**
21493
+ * Creates a new ContentfulSurveyCreated instance using the specified properties.
21494
+ * @param [properties] Properties to set
21495
+ * @returns ContentfulSurveyCreated instance
21496
+ */
21497
+ public static create(properties?: IContentfulSurveyCreated): ContentfulSurveyCreated;
21498
+
21499
+ /**
21500
+ * Encodes the specified ContentfulSurveyCreated message. Does not implicitly {@link ContentfulSurveyCreated.verify|verify} messages.
21501
+ * @param message ContentfulSurveyCreated message or plain object to encode
21502
+ * @param [writer] Writer to encode to
21503
+ * @returns Writer
21504
+ */
21505
+ public static encode(message: IContentfulSurveyCreated, writer?: $protobuf.Writer): $protobuf.Writer;
21506
+
21507
+ /**
21508
+ * Encodes the specified ContentfulSurveyCreated message, length delimited. Does not implicitly {@link ContentfulSurveyCreated.verify|verify} messages.
21509
+ * @param message ContentfulSurveyCreated message or plain object to encode
21510
+ * @param [writer] Writer to encode to
21511
+ * @returns Writer
21512
+ */
21513
+ public static encodeDelimited(message: IContentfulSurveyCreated, writer?: $protobuf.Writer): $protobuf.Writer;
21514
+
21515
+ /**
21516
+ * Decodes a ContentfulSurveyCreated message from the specified reader or buffer.
21517
+ * @param reader Reader or buffer to decode from
21518
+ * @param [length] Message length if known beforehand
21519
+ * @returns ContentfulSurveyCreated
21520
+ * @throws {Error} If the payload is not a reader or valid buffer
21521
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21522
+ */
21523
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSurveyCreated;
21524
+
21525
+ /**
21526
+ * Decodes a ContentfulSurveyCreated message from the specified reader or buffer, length delimited.
21527
+ * @param reader Reader or buffer to decode from
21528
+ * @returns ContentfulSurveyCreated
21529
+ * @throws {Error} If the payload is not a reader or valid buffer
21530
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21531
+ */
21532
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSurveyCreated;
21533
+
21534
+ /**
21535
+ * Verifies a ContentfulSurveyCreated message.
21536
+ * @param message Plain object to verify
21537
+ * @returns `null` if valid, otherwise the reason why it is not
21538
+ */
21539
+ public static verify(message: { [k: string]: any }): (string|null);
21540
+
21541
+ /**
21542
+ * Creates a ContentfulSurveyCreated message from a plain object. Also converts values to their respective internal types.
21543
+ * @param object Plain object
21544
+ * @returns ContentfulSurveyCreated
21545
+ */
21546
+ public static fromObject(object: { [k: string]: any }): ContentfulSurveyCreated;
21547
+
21548
+ /**
21549
+ * Creates a plain object from a ContentfulSurveyCreated message. Also converts values to other types if specified.
21550
+ * @param message ContentfulSurveyCreated
21551
+ * @param [options] Conversion options
21552
+ * @returns Plain object
21553
+ */
21554
+ public static toObject(message: ContentfulSurveyCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
21555
+
21556
+ /**
21557
+ * Converts this ContentfulSurveyCreated to JSON.
21558
+ * @returns JSON object
21559
+ */
21560
+ public toJSON(): { [k: string]: any };
21561
+ }
21562
+
21563
+ /** Properties of a ContentfulSurveyUpdated. */
21564
+ export interface IContentfulSurveyUpdated {
21565
+
21566
+ /** ContentfulSurveyUpdated timestamp */
21567
+ timestamp?: (number|Long|null);
21568
+
21569
+ /** ContentfulSurveyUpdated survey */
21570
+ survey?: (IContentfulSurvey|null);
21571
+ }
21572
+
21573
+ /** Represents a ContentfulSurveyUpdated. */
21574
+ export class ContentfulSurveyUpdated implements IContentfulSurveyUpdated {
21575
+
21576
+ /**
21577
+ * Constructs a new ContentfulSurveyUpdated.
21578
+ * @param [properties] Properties to set
21579
+ */
21580
+ constructor(properties?: IContentfulSurveyUpdated);
21581
+
21582
+ /** ContentfulSurveyUpdated timestamp. */
21583
+ public timestamp: (number|Long);
21584
+
21585
+ /** ContentfulSurveyUpdated survey. */
21586
+ public survey?: (IContentfulSurvey|null);
21587
+
21588
+ /**
21589
+ * Creates a new ContentfulSurveyUpdated instance using the specified properties.
21590
+ * @param [properties] Properties to set
21591
+ * @returns ContentfulSurveyUpdated instance
21592
+ */
21593
+ public static create(properties?: IContentfulSurveyUpdated): ContentfulSurveyUpdated;
21594
+
21595
+ /**
21596
+ * Encodes the specified ContentfulSurveyUpdated message. Does not implicitly {@link ContentfulSurveyUpdated.verify|verify} messages.
21597
+ * @param message ContentfulSurveyUpdated message or plain object to encode
21598
+ * @param [writer] Writer to encode to
21599
+ * @returns Writer
21600
+ */
21601
+ public static encode(message: IContentfulSurveyUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
21602
+
21603
+ /**
21604
+ * Encodes the specified ContentfulSurveyUpdated message, length delimited. Does not implicitly {@link ContentfulSurveyUpdated.verify|verify} messages.
21605
+ * @param message ContentfulSurveyUpdated message or plain object to encode
21606
+ * @param [writer] Writer to encode to
21607
+ * @returns Writer
21608
+ */
21609
+ public static encodeDelimited(message: IContentfulSurveyUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
21610
+
21611
+ /**
21612
+ * Decodes a ContentfulSurveyUpdated message from the specified reader or buffer.
21613
+ * @param reader Reader or buffer to decode from
21614
+ * @param [length] Message length if known beforehand
21615
+ * @returns ContentfulSurveyUpdated
21616
+ * @throws {Error} If the payload is not a reader or valid buffer
21617
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21618
+ */
21619
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSurveyUpdated;
21620
+
21621
+ /**
21622
+ * Decodes a ContentfulSurveyUpdated message from the specified reader or buffer, length delimited.
21623
+ * @param reader Reader or buffer to decode from
21624
+ * @returns ContentfulSurveyUpdated
21625
+ * @throws {Error} If the payload is not a reader or valid buffer
21626
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21627
+ */
21628
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSurveyUpdated;
21629
+
21630
+ /**
21631
+ * Verifies a ContentfulSurveyUpdated message.
21632
+ * @param message Plain object to verify
21633
+ * @returns `null` if valid, otherwise the reason why it is not
21634
+ */
21635
+ public static verify(message: { [k: string]: any }): (string|null);
21636
+
21637
+ /**
21638
+ * Creates a ContentfulSurveyUpdated message from a plain object. Also converts values to their respective internal types.
21639
+ * @param object Plain object
21640
+ * @returns ContentfulSurveyUpdated
21641
+ */
21642
+ public static fromObject(object: { [k: string]: any }): ContentfulSurveyUpdated;
21643
+
21644
+ /**
21645
+ * Creates a plain object from a ContentfulSurveyUpdated message. Also converts values to other types if specified.
21646
+ * @param message ContentfulSurveyUpdated
21647
+ * @param [options] Conversion options
21648
+ * @returns Plain object
21649
+ */
21650
+ public static toObject(message: ContentfulSurveyUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
21651
+
21652
+ /**
21653
+ * Converts this ContentfulSurveyUpdated to JSON.
21654
+ * @returns JSON object
21655
+ */
21656
+ public toJSON(): { [k: string]: any };
21657
+ }
21658
+
21659
+ /** Properties of a ContentfulSurveyDeleted. */
21660
+ export interface IContentfulSurveyDeleted {
21661
+
21662
+ /** ContentfulSurveyDeleted timestamp */
21663
+ timestamp?: (number|Long|null);
21664
+
21665
+ /** ContentfulSurveyDeleted survey */
21666
+ survey?: (IContentfulSurvey|null);
21667
+ }
21668
+
21669
+ /** Represents a ContentfulSurveyDeleted. */
21670
+ export class ContentfulSurveyDeleted implements IContentfulSurveyDeleted {
21671
+
21672
+ /**
21673
+ * Constructs a new ContentfulSurveyDeleted.
21674
+ * @param [properties] Properties to set
21675
+ */
21676
+ constructor(properties?: IContentfulSurveyDeleted);
21677
+
21678
+ /** ContentfulSurveyDeleted timestamp. */
21679
+ public timestamp: (number|Long);
21680
+
21681
+ /** ContentfulSurveyDeleted survey. */
21682
+ public survey?: (IContentfulSurvey|null);
21683
+
21684
+ /**
21685
+ * Creates a new ContentfulSurveyDeleted instance using the specified properties.
21686
+ * @param [properties] Properties to set
21687
+ * @returns ContentfulSurveyDeleted instance
21688
+ */
21689
+ public static create(properties?: IContentfulSurveyDeleted): ContentfulSurveyDeleted;
21690
+
21691
+ /**
21692
+ * Encodes the specified ContentfulSurveyDeleted message. Does not implicitly {@link ContentfulSurveyDeleted.verify|verify} messages.
21693
+ * @param message ContentfulSurveyDeleted message or plain object to encode
21694
+ * @param [writer] Writer to encode to
21695
+ * @returns Writer
21696
+ */
21697
+ public static encode(message: IContentfulSurveyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
21698
+
21699
+ /**
21700
+ * Encodes the specified ContentfulSurveyDeleted message, length delimited. Does not implicitly {@link ContentfulSurveyDeleted.verify|verify} messages.
21701
+ * @param message ContentfulSurveyDeleted message or plain object to encode
21702
+ * @param [writer] Writer to encode to
21703
+ * @returns Writer
21704
+ */
21705
+ public static encodeDelimited(message: IContentfulSurveyDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
21706
+
21707
+ /**
21708
+ * Decodes a ContentfulSurveyDeleted message from the specified reader or buffer.
21709
+ * @param reader Reader or buffer to decode from
21710
+ * @param [length] Message length if known beforehand
21711
+ * @returns ContentfulSurveyDeleted
21712
+ * @throws {Error} If the payload is not a reader or valid buffer
21713
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21714
+ */
21715
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ContentfulSurveyDeleted;
21716
+
21717
+ /**
21718
+ * Decodes a ContentfulSurveyDeleted message from the specified reader or buffer, length delimited.
21719
+ * @param reader Reader or buffer to decode from
21720
+ * @returns ContentfulSurveyDeleted
21721
+ * @throws {Error} If the payload is not a reader or valid buffer
21722
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21723
+ */
21724
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ContentfulSurveyDeleted;
21725
+
21726
+ /**
21727
+ * Verifies a ContentfulSurveyDeleted message.
21728
+ * @param message Plain object to verify
21729
+ * @returns `null` if valid, otherwise the reason why it is not
21730
+ */
21731
+ public static verify(message: { [k: string]: any }): (string|null);
21732
+
21733
+ /**
21734
+ * Creates a ContentfulSurveyDeleted message from a plain object. Also converts values to their respective internal types.
21735
+ * @param object Plain object
21736
+ * @returns ContentfulSurveyDeleted
21737
+ */
21738
+ public static fromObject(object: { [k: string]: any }): ContentfulSurveyDeleted;
21739
+
21740
+ /**
21741
+ * Creates a plain object from a ContentfulSurveyDeleted message. Also converts values to other types if specified.
21742
+ * @param message ContentfulSurveyDeleted
21743
+ * @param [options] Conversion options
21744
+ * @returns Plain object
21745
+ */
21746
+ public static toObject(message: ContentfulSurveyDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
21747
+
21748
+ /**
21749
+ * Converts this ContentfulSurveyDeleted to JSON.
21750
+ * @returns JSON object
21751
+ */
21752
+ public toJSON(): { [k: string]: any };
21753
+ }
21754
+
21132
21755
  /** Properties of a ContentfulVariationContainerCreated. */
21133
21756
  export interface IContentfulVariationContainerCreated {
21134
21757
 
@@ -39245,6 +39868,9 @@ export interface IGingerMemberUpgraded {
39245
39868
 
39246
39869
  /** GingerMemberUpgraded enrollmentFlow */
39247
39870
  enrollmentFlow?: (b2b.EnrollmentFlow|null);
39871
+
39872
+ /** GingerMemberUpgraded b2bRootOrgId */
39873
+ b2bRootOrgId?: (number|null);
39248
39874
  }
39249
39875
 
39250
39876
  /**
@@ -39290,6 +39916,9 @@ export class GingerMemberUpgraded implements IGingerMemberUpgraded {
39290
39916
  /** GingerMemberUpgraded enrollmentFlow. */
39291
39917
  public enrollmentFlow: b2b.EnrollmentFlow;
39292
39918
 
39919
+ /** GingerMemberUpgraded b2bRootOrgId. */
39920
+ public b2bRootOrgId: number;
39921
+
39293
39922
  /**
39294
39923
  * Creates a new GingerMemberUpgraded instance using the specified properties.
39295
39924
  * @param [properties] Properties to set
@@ -39393,6 +40022,9 @@ export interface IGingerDependentUpgraded {
39393
40022
 
39394
40023
  /** GingerDependentUpgraded enrollmentFlow */
39395
40024
  enrollmentFlow?: (b2b.EnrollmentFlow|null);
40025
+
40026
+ /** GingerDependentUpgraded b2bRootOrgId */
40027
+ b2bRootOrgId?: (number|null);
39396
40028
  }
39397
40029
 
39398
40030
  /**
@@ -39438,6 +40070,9 @@ export class GingerDependentUpgraded implements IGingerDependentUpgraded {
39438
40070
  /** GingerDependentUpgraded enrollmentFlow. */
39439
40071
  public enrollmentFlow: b2b.EnrollmentFlow;
39440
40072
 
40073
+ /** GingerDependentUpgraded b2bRootOrgId. */
40074
+ public b2bRootOrgId: number;
40075
+
39441
40076
  /**
39442
40077
  * Creates a new GingerDependentUpgraded instance using the specified properties.
39443
40078
  * @param [properties] Properties to set