@headspace/protos-events 1.583.0 → 1.585.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 +83 -70
  2. package/lib/index.js +181 -125
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -10427,6 +10427,9 @@ export namespace b2b {
10427
10427
 
10428
10428
  /** B2BSubscriptionManagement elfDependentsEnabled */
10429
10429
  elfDependentsEnabled?: (boolean|null);
10430
+
10431
+ /** B2BSubscriptionManagement eapType */
10432
+ eapType?: (b2b.EapType|null);
10430
10433
  }
10431
10434
 
10432
10435
  /** Represents a B2BSubscriptionManagement. */
@@ -10474,6 +10477,9 @@ export namespace b2b {
10474
10477
  /** B2BSubscriptionManagement elfDependentsEnabled. */
10475
10478
  public elfDependentsEnabled: boolean;
10476
10479
 
10480
+ /** B2BSubscriptionManagement eapType. */
10481
+ public eapType: b2b.EapType;
10482
+
10477
10483
  /**
10478
10484
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
10479
10485
  * @param [properties] Properties to set
@@ -10771,6 +10777,13 @@ export namespace b2b {
10771
10777
  EAP_SERVICE_TYPE_THERAPY = 2,
10772
10778
  EAP_SERVICE_TYPE_PSYCHIATRY_THERAPY = 3
10773
10779
  }
10780
+
10781
+ /** EapType enum. */
10782
+ enum EapType {
10783
+ EAP_TYPE_UNKNOWN = 0,
10784
+ EAP_TYPE_NONE = 1,
10785
+ EAP_TYPE_EAP_V2 = 2
10786
+ }
10774
10787
  }
10775
10788
 
10776
10789
  /** Namespace community. */
@@ -32766,205 +32779,205 @@ export class B2BPartnerConsentCreated implements IB2BPartnerConsentCreated {
32766
32779
  public toJSON(): { [k: string]: any };
32767
32780
  }
32768
32781
 
32769
- /** Properties of a B2BPartnerConsentRequested. */
32770
- export interface IB2BPartnerConsentRequested {
32782
+ /** Properties of a B2BMemberPartnerConsentRequested. */
32783
+ export interface IB2BMemberPartnerConsentRequested {
32771
32784
 
32772
- /** B2BPartnerConsentRequested partnerConsentId */
32785
+ /** B2BMemberPartnerConsentRequested partnerConsentId */
32773
32786
  partnerConsentId?: (string|null);
32774
32787
 
32775
- /** B2BPartnerConsentRequested hsUserId */
32788
+ /** B2BMemberPartnerConsentRequested hsUserId */
32776
32789
  hsUserId?: (string|null);
32777
32790
 
32778
- /** B2BPartnerConsentRequested timestamp */
32791
+ /** B2BMemberPartnerConsentRequested timestamp */
32779
32792
  timestamp?: (number|Long|null);
32780
32793
  }
32781
32794
 
32782
- /** Represents a B2BPartnerConsentRequested. */
32783
- export class B2BPartnerConsentRequested implements IB2BPartnerConsentRequested {
32795
+ /** Represents a B2BMemberPartnerConsentRequested. */
32796
+ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsentRequested {
32784
32797
 
32785
32798
  /**
32786
- * Constructs a new B2BPartnerConsentRequested.
32799
+ * Constructs a new B2BMemberPartnerConsentRequested.
32787
32800
  * @param [properties] Properties to set
32788
32801
  */
32789
- constructor(properties?: IB2BPartnerConsentRequested);
32802
+ constructor(properties?: IB2BMemberPartnerConsentRequested);
32790
32803
 
32791
- /** B2BPartnerConsentRequested partnerConsentId. */
32804
+ /** B2BMemberPartnerConsentRequested partnerConsentId. */
32792
32805
  public partnerConsentId: string;
32793
32806
 
32794
- /** B2BPartnerConsentRequested hsUserId. */
32807
+ /** B2BMemberPartnerConsentRequested hsUserId. */
32795
32808
  public hsUserId: string;
32796
32809
 
32797
- /** B2BPartnerConsentRequested timestamp. */
32810
+ /** B2BMemberPartnerConsentRequested timestamp. */
32798
32811
  public timestamp: (number|Long);
32799
32812
 
32800
32813
  /**
32801
- * Creates a new B2BPartnerConsentRequested instance using the specified properties.
32814
+ * Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
32802
32815
  * @param [properties] Properties to set
32803
- * @returns B2BPartnerConsentRequested instance
32816
+ * @returns B2BMemberPartnerConsentRequested instance
32804
32817
  */
32805
- public static create(properties?: IB2BPartnerConsentRequested): B2BPartnerConsentRequested;
32818
+ public static create(properties?: IB2BMemberPartnerConsentRequested): B2BMemberPartnerConsentRequested;
32806
32819
 
32807
32820
  /**
32808
- * Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
32809
- * @param message B2BPartnerConsentRequested message or plain object to encode
32821
+ * Encodes the specified B2BMemberPartnerConsentRequested message. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
32822
+ * @param message B2BMemberPartnerConsentRequested message or plain object to encode
32810
32823
  * @param [writer] Writer to encode to
32811
32824
  * @returns Writer
32812
32825
  */
32813
- public static encode(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32826
+ public static encode(message: IB2BMemberPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32814
32827
 
32815
32828
  /**
32816
- * Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
32817
- * @param message B2BPartnerConsentRequested message or plain object to encode
32829
+ * Encodes the specified B2BMemberPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
32830
+ * @param message B2BMemberPartnerConsentRequested message or plain object to encode
32818
32831
  * @param [writer] Writer to encode to
32819
32832
  * @returns Writer
32820
32833
  */
32821
- public static encodeDelimited(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32834
+ public static encodeDelimited(message: IB2BMemberPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32822
32835
 
32823
32836
  /**
32824
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
32837
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer.
32825
32838
  * @param reader Reader or buffer to decode from
32826
32839
  * @param [length] Message length if known beforehand
32827
- * @returns B2BPartnerConsentRequested
32840
+ * @returns B2BMemberPartnerConsentRequested
32828
32841
  * @throws {Error} If the payload is not a reader or valid buffer
32829
32842
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32830
32843
  */
32831
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRequested;
32844
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BMemberPartnerConsentRequested;
32832
32845
 
32833
32846
  /**
32834
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
32847
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer, length delimited.
32835
32848
  * @param reader Reader or buffer to decode from
32836
- * @returns B2BPartnerConsentRequested
32849
+ * @returns B2BMemberPartnerConsentRequested
32837
32850
  * @throws {Error} If the payload is not a reader or valid buffer
32838
32851
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32839
32852
  */
32840
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRequested;
32853
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BMemberPartnerConsentRequested;
32841
32854
 
32842
32855
  /**
32843
- * Verifies a B2BPartnerConsentRequested message.
32856
+ * Verifies a B2BMemberPartnerConsentRequested message.
32844
32857
  * @param message Plain object to verify
32845
32858
  * @returns `null` if valid, otherwise the reason why it is not
32846
32859
  */
32847
32860
  public static verify(message: { [k: string]: any }): (string|null);
32848
32861
 
32849
32862
  /**
32850
- * Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
32863
+ * Creates a B2BMemberPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
32851
32864
  * @param object Plain object
32852
- * @returns B2BPartnerConsentRequested
32865
+ * @returns B2BMemberPartnerConsentRequested
32853
32866
  */
32854
- public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRequested;
32867
+ public static fromObject(object: { [k: string]: any }): B2BMemberPartnerConsentRequested;
32855
32868
 
32856
32869
  /**
32857
- * Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
32858
- * @param message B2BPartnerConsentRequested
32870
+ * Creates a plain object from a B2BMemberPartnerConsentRequested message. Also converts values to other types if specified.
32871
+ * @param message B2BMemberPartnerConsentRequested
32859
32872
  * @param [options] Conversion options
32860
32873
  * @returns Plain object
32861
32874
  */
32862
- public static toObject(message: B2BPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32875
+ public static toObject(message: B2BMemberPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32863
32876
 
32864
32877
  /**
32865
- * Converts this B2BPartnerConsentRequested to JSON.
32878
+ * Converts this B2BMemberPartnerConsentRequested to JSON.
32866
32879
  * @returns JSON object
32867
32880
  */
32868
32881
  public toJSON(): { [k: string]: any };
32869
32882
  }
32870
32883
 
32871
- /** Properties of a B2BPartnerConsentRemovalRequested. */
32872
- export interface IB2BPartnerConsentRemovalRequested {
32884
+ /** Properties of a B2BMemberPartnerConsentRemovalRequested. */
32885
+ export interface IB2BMemberPartnerConsentRemovalRequested {
32873
32886
 
32874
- /** B2BPartnerConsentRemovalRequested partnerConsent */
32887
+ /** B2BMemberPartnerConsentRemovalRequested partnerConsent */
32875
32888
  partnerConsent?: (b2b.IPartnerConsent|null);
32876
32889
 
32877
- /** B2BPartnerConsentRemovalRequested hsUserId */
32890
+ /** B2BMemberPartnerConsentRemovalRequested hsUserId */
32878
32891
  hsUserId?: (string|null);
32879
32892
 
32880
- /** B2BPartnerConsentRemovalRequested timestamp */
32893
+ /** B2BMemberPartnerConsentRemovalRequested timestamp */
32881
32894
  timestamp?: (number|Long|null);
32882
32895
  }
32883
32896
 
32884
- /** Represents a B2BPartnerConsentRemovalRequested. */
32885
- export class B2BPartnerConsentRemovalRequested implements IB2BPartnerConsentRemovalRequested {
32897
+ /** Represents a B2BMemberPartnerConsentRemovalRequested. */
32898
+ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartnerConsentRemovalRequested {
32886
32899
 
32887
32900
  /**
32888
- * Constructs a new B2BPartnerConsentRemovalRequested.
32901
+ * Constructs a new B2BMemberPartnerConsentRemovalRequested.
32889
32902
  * @param [properties] Properties to set
32890
32903
  */
32891
- constructor(properties?: IB2BPartnerConsentRemovalRequested);
32904
+ constructor(properties?: IB2BMemberPartnerConsentRemovalRequested);
32892
32905
 
32893
- /** B2BPartnerConsentRemovalRequested partnerConsent. */
32906
+ /** B2BMemberPartnerConsentRemovalRequested partnerConsent. */
32894
32907
  public partnerConsent?: (b2b.IPartnerConsent|null);
32895
32908
 
32896
- /** B2BPartnerConsentRemovalRequested hsUserId. */
32909
+ /** B2BMemberPartnerConsentRemovalRequested hsUserId. */
32897
32910
  public hsUserId: string;
32898
32911
 
32899
- /** B2BPartnerConsentRemovalRequested timestamp. */
32912
+ /** B2BMemberPartnerConsentRemovalRequested timestamp. */
32900
32913
  public timestamp: (number|Long);
32901
32914
 
32902
32915
  /**
32903
- * Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
32916
+ * Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
32904
32917
  * @param [properties] Properties to set
32905
- * @returns B2BPartnerConsentRemovalRequested instance
32918
+ * @returns B2BMemberPartnerConsentRemovalRequested instance
32906
32919
  */
32907
- public static create(properties?: IB2BPartnerConsentRemovalRequested): B2BPartnerConsentRemovalRequested;
32920
+ public static create(properties?: IB2BMemberPartnerConsentRemovalRequested): B2BMemberPartnerConsentRemovalRequested;
32908
32921
 
32909
32922
  /**
32910
- * Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
32911
- * @param message B2BPartnerConsentRemovalRequested message or plain object to encode
32923
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
32924
+ * @param message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
32912
32925
  * @param [writer] Writer to encode to
32913
32926
  * @returns Writer
32914
32927
  */
32915
- public static encode(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32928
+ public static encode(message: IB2BMemberPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32916
32929
 
32917
32930
  /**
32918
- * Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
32919
- * @param message B2BPartnerConsentRemovalRequested message or plain object to encode
32931
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
32932
+ * @param message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
32920
32933
  * @param [writer] Writer to encode to
32921
32934
  * @returns Writer
32922
32935
  */
32923
- public static encodeDelimited(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32936
+ public static encodeDelimited(message: IB2BMemberPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32924
32937
 
32925
32938
  /**
32926
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
32939
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer.
32927
32940
  * @param reader Reader or buffer to decode from
32928
32941
  * @param [length] Message length if known beforehand
32929
- * @returns B2BPartnerConsentRemovalRequested
32942
+ * @returns B2BMemberPartnerConsentRemovalRequested
32930
32943
  * @throws {Error} If the payload is not a reader or valid buffer
32931
32944
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32932
32945
  */
32933
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRemovalRequested;
32946
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BMemberPartnerConsentRemovalRequested;
32934
32947
 
32935
32948
  /**
32936
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
32949
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
32937
32950
  * @param reader Reader or buffer to decode from
32938
- * @returns B2BPartnerConsentRemovalRequested
32951
+ * @returns B2BMemberPartnerConsentRemovalRequested
32939
32952
  * @throws {Error} If the payload is not a reader or valid buffer
32940
32953
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32941
32954
  */
32942
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRemovalRequested;
32955
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BMemberPartnerConsentRemovalRequested;
32943
32956
 
32944
32957
  /**
32945
- * Verifies a B2BPartnerConsentRemovalRequested message.
32958
+ * Verifies a B2BMemberPartnerConsentRemovalRequested message.
32946
32959
  * @param message Plain object to verify
32947
32960
  * @returns `null` if valid, otherwise the reason why it is not
32948
32961
  */
32949
32962
  public static verify(message: { [k: string]: any }): (string|null);
32950
32963
 
32951
32964
  /**
32952
- * Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
32965
+ * Creates a B2BMemberPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
32953
32966
  * @param object Plain object
32954
- * @returns B2BPartnerConsentRemovalRequested
32967
+ * @returns B2BMemberPartnerConsentRemovalRequested
32955
32968
  */
32956
- public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRemovalRequested;
32969
+ public static fromObject(object: { [k: string]: any }): B2BMemberPartnerConsentRemovalRequested;
32957
32970
 
32958
32971
  /**
32959
- * Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
32960
- * @param message B2BPartnerConsentRemovalRequested
32972
+ * Creates a plain object from a B2BMemberPartnerConsentRemovalRequested message. Also converts values to other types if specified.
32973
+ * @param message B2BMemberPartnerConsentRemovalRequested
32961
32974
  * @param [options] Conversion options
32962
32975
  * @returns Plain object
32963
32976
  */
32964
- public static toObject(message: B2BPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32977
+ public static toObject(message: B2BMemberPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32965
32978
 
32966
32979
  /**
32967
- * Converts this B2BPartnerConsentRemovalRequested to JSON.
32980
+ * Converts this B2BMemberPartnerConsentRemovalRequested to JSON.
32968
32981
  * @returns JSON object
32969
32982
  */
32970
32983
  public toJSON(): { [k: string]: any };
package/lib/index.js CHANGED
@@ -25244,6 +25244,7 @@ $root.b2b = (function() {
25244
25244
  * @property {Array.<b2b.SubscriptionOffering>|null} [offerings] B2BSubscriptionManagement offerings
25245
25245
  * @property {b2b.EnrollmentFlow|null} [enrollmentFlow] B2BSubscriptionManagement enrollmentFlow
25246
25246
  * @property {boolean|null} [elfDependentsEnabled] B2BSubscriptionManagement elfDependentsEnabled
25247
+ * @property {b2b.EapType|null} [eapType] B2BSubscriptionManagement eapType
25247
25248
  */
25248
25249
 
25249
25250
  /**
@@ -25358,6 +25359,14 @@ $root.b2b = (function() {
25358
25359
  */
25359
25360
  B2BSubscriptionManagement.prototype.elfDependentsEnabled = false;
25360
25361
 
25362
+ /**
25363
+ * B2BSubscriptionManagement eapType.
25364
+ * @member {b2b.EapType} eapType
25365
+ * @memberof b2b.B2BSubscriptionManagement
25366
+ * @instance
25367
+ */
25368
+ B2BSubscriptionManagement.prototype.eapType = 0;
25369
+
25361
25370
  /**
25362
25371
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
25363
25372
  * @function create
@@ -25410,6 +25419,8 @@ $root.b2b = (function() {
25410
25419
  writer.uint32(/* id 12, wireType 0 =*/96).int32(message.enrollmentFlow);
25411
25420
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25412
25421
  writer.uint32(/* id 13, wireType 0 =*/104).bool(message.elfDependentsEnabled);
25422
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25423
+ writer.uint32(/* id 14, wireType 0 =*/112).int32(message.eapType);
25413
25424
  return writer;
25414
25425
  };
25415
25426
 
@@ -25487,6 +25498,9 @@ $root.b2b = (function() {
25487
25498
  case 13:
25488
25499
  message.elfDependentsEnabled = reader.bool();
25489
25500
  break;
25501
+ case 14:
25502
+ message.eapType = reader.int32();
25503
+ break;
25490
25504
  default:
25491
25505
  reader.skipType(tag & 7);
25492
25506
  break;
@@ -25577,6 +25591,15 @@ $root.b2b = (function() {
25577
25591
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25578
25592
  if (typeof message.elfDependentsEnabled !== "boolean")
25579
25593
  return "elfDependentsEnabled: boolean expected";
25594
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25595
+ switch (message.eapType) {
25596
+ default:
25597
+ return "eapType: enum value expected";
25598
+ case 0:
25599
+ case 1:
25600
+ case 2:
25601
+ break;
25602
+ }
25580
25603
  return null;
25581
25604
  };
25582
25605
 
@@ -25687,6 +25710,20 @@ $root.b2b = (function() {
25687
25710
  }
25688
25711
  if (object.elfDependentsEnabled != null)
25689
25712
  message.elfDependentsEnabled = Boolean(object.elfDependentsEnabled);
25713
+ switch (object.eapType) {
25714
+ case "EAP_TYPE_UNKNOWN":
25715
+ case 0:
25716
+ message.eapType = 0;
25717
+ break;
25718
+ case "EAP_TYPE_NONE":
25719
+ case 1:
25720
+ message.eapType = 1;
25721
+ break;
25722
+ case "EAP_TYPE_EAP_V2":
25723
+ case 2:
25724
+ message.eapType = 2;
25725
+ break;
25726
+ }
25690
25727
  return message;
25691
25728
  };
25692
25729
 
@@ -25733,6 +25770,7 @@ $root.b2b = (function() {
25733
25770
  object.dependentSeats = options.longs === String ? "0" : 0;
25734
25771
  object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
25735
25772
  object.elfDependentsEnabled = false;
25773
+ object.eapType = options.enums === String ? "EAP_TYPE_UNKNOWN" : 0;
25736
25774
  }
25737
25775
  if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
25738
25776
  object.salesforceOpportunityId = message.salesforceOpportunityId;
@@ -25773,6 +25811,8 @@ $root.b2b = (function() {
25773
25811
  object.enrollmentFlow = options.enums === String ? $root.b2b.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
25774
25812
  if (message.elfDependentsEnabled != null && message.hasOwnProperty("elfDependentsEnabled"))
25775
25813
  object.elfDependentsEnabled = message.elfDependentsEnabled;
25814
+ if (message.eapType != null && message.hasOwnProperty("eapType"))
25815
+ object.eapType = options.enums === String ? $root.b2b.EapType[message.eapType] : message.eapType;
25776
25816
  return object;
25777
25817
  };
25778
25818
 
@@ -26341,6 +26381,22 @@ $root.b2b = (function() {
26341
26381
  return values;
26342
26382
  })();
26343
26383
 
26384
+ /**
26385
+ * EapType enum.
26386
+ * @name b2b.EapType
26387
+ * @enum {string}
26388
+ * @property {number} EAP_TYPE_UNKNOWN=0 EAP_TYPE_UNKNOWN value
26389
+ * @property {number} EAP_TYPE_NONE=1 EAP_TYPE_NONE value
26390
+ * @property {number} EAP_TYPE_EAP_V2=2 EAP_TYPE_EAP_V2 value
26391
+ */
26392
+ b2b.EapType = (function() {
26393
+ var valuesById = {}, values = Object.create(valuesById);
26394
+ values[valuesById[0] = "EAP_TYPE_UNKNOWN"] = 0;
26395
+ values[valuesById[1] = "EAP_TYPE_NONE"] = 1;
26396
+ values[valuesById[2] = "EAP_TYPE_EAP_V2"] = 2;
26397
+ return values;
26398
+ })();
26399
+
26344
26400
  return b2b;
26345
26401
  })();
26346
26402
 
@@ -91632,26 +91688,26 @@ $root.B2BPartnerConsentCreated = (function() {
91632
91688
  return B2BPartnerConsentCreated;
91633
91689
  })();
91634
91690
 
91635
- $root.B2BPartnerConsentRequested = (function() {
91691
+ $root.B2BMemberPartnerConsentRequested = (function() {
91636
91692
 
91637
91693
  /**
91638
- * Properties of a B2BPartnerConsentRequested.
91639
- * @name IB2BPartnerConsentRequested
91640
- * @interface IB2BPartnerConsentRequested
91641
- * @property {string|null} [partnerConsentId] B2BPartnerConsentRequested partnerConsentId
91642
- * @property {string|null} [hsUserId] B2BPartnerConsentRequested hsUserId
91643
- * @property {number|Long|null} [timestamp] B2BPartnerConsentRequested timestamp
91694
+ * Properties of a B2BMemberPartnerConsentRequested.
91695
+ * @name IB2BMemberPartnerConsentRequested
91696
+ * @interface IB2BMemberPartnerConsentRequested
91697
+ * @property {string|null} [partnerConsentId] B2BMemberPartnerConsentRequested partnerConsentId
91698
+ * @property {string|null} [hsUserId] B2BMemberPartnerConsentRequested hsUserId
91699
+ * @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRequested timestamp
91644
91700
  */
91645
91701
 
91646
91702
  /**
91647
- * Constructs a new B2BPartnerConsentRequested.
91648
- * @name B2BPartnerConsentRequested
91649
- * @classdesc Represents a B2BPartnerConsentRequested.
91650
- * @implements IB2BPartnerConsentRequested
91703
+ * Constructs a new B2BMemberPartnerConsentRequested.
91704
+ * @name B2BMemberPartnerConsentRequested
91705
+ * @classdesc Represents a B2BMemberPartnerConsentRequested.
91706
+ * @implements IB2BMemberPartnerConsentRequested
91651
91707
  * @constructor
91652
- * @param {IB2BPartnerConsentRequested=} [properties] Properties to set
91708
+ * @param {IB2BMemberPartnerConsentRequested=} [properties] Properties to set
91653
91709
  */
91654
- function B2BPartnerConsentRequested(properties) {
91710
+ function B2BMemberPartnerConsentRequested(properties) {
91655
91711
  if (properties)
91656
91712
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
91657
91713
  if (properties[keys[i]] != null)
@@ -91659,51 +91715,51 @@ $root.B2BPartnerConsentRequested = (function() {
91659
91715
  }
91660
91716
 
91661
91717
  /**
91662
- * B2BPartnerConsentRequested partnerConsentId.
91718
+ * B2BMemberPartnerConsentRequested partnerConsentId.
91663
91719
  * @member {string} partnerConsentId
91664
- * @memberof B2BPartnerConsentRequested
91720
+ * @memberof B2BMemberPartnerConsentRequested
91665
91721
  * @instance
91666
91722
  */
91667
- B2BPartnerConsentRequested.prototype.partnerConsentId = "";
91723
+ B2BMemberPartnerConsentRequested.prototype.partnerConsentId = "";
91668
91724
 
91669
91725
  /**
91670
- * B2BPartnerConsentRequested hsUserId.
91726
+ * B2BMemberPartnerConsentRequested hsUserId.
91671
91727
  * @member {string} hsUserId
91672
- * @memberof B2BPartnerConsentRequested
91728
+ * @memberof B2BMemberPartnerConsentRequested
91673
91729
  * @instance
91674
91730
  */
91675
- B2BPartnerConsentRequested.prototype.hsUserId = "";
91731
+ B2BMemberPartnerConsentRequested.prototype.hsUserId = "";
91676
91732
 
91677
91733
  /**
91678
- * B2BPartnerConsentRequested timestamp.
91734
+ * B2BMemberPartnerConsentRequested timestamp.
91679
91735
  * @member {number|Long} timestamp
91680
- * @memberof B2BPartnerConsentRequested
91736
+ * @memberof B2BMemberPartnerConsentRequested
91681
91737
  * @instance
91682
91738
  */
91683
- B2BPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91739
+ B2BMemberPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91684
91740
 
91685
91741
  /**
91686
- * Creates a new B2BPartnerConsentRequested instance using the specified properties.
91742
+ * Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
91687
91743
  * @function create
91688
- * @memberof B2BPartnerConsentRequested
91744
+ * @memberof B2BMemberPartnerConsentRequested
91689
91745
  * @static
91690
- * @param {IB2BPartnerConsentRequested=} [properties] Properties to set
91691
- * @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested instance
91746
+ * @param {IB2BMemberPartnerConsentRequested=} [properties] Properties to set
91747
+ * @returns {B2BMemberPartnerConsentRequested} B2BMemberPartnerConsentRequested instance
91692
91748
  */
91693
- B2BPartnerConsentRequested.create = function create(properties) {
91694
- return new B2BPartnerConsentRequested(properties);
91749
+ B2BMemberPartnerConsentRequested.create = function create(properties) {
91750
+ return new B2BMemberPartnerConsentRequested(properties);
91695
91751
  };
91696
91752
 
91697
91753
  /**
91698
- * Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
91754
+ * Encodes the specified B2BMemberPartnerConsentRequested message. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
91699
91755
  * @function encode
91700
- * @memberof B2BPartnerConsentRequested
91756
+ * @memberof B2BMemberPartnerConsentRequested
91701
91757
  * @static
91702
- * @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
91758
+ * @param {IB2BMemberPartnerConsentRequested} message B2BMemberPartnerConsentRequested message or plain object to encode
91703
91759
  * @param {$protobuf.Writer} [writer] Writer to encode to
91704
91760
  * @returns {$protobuf.Writer} Writer
91705
91761
  */
91706
- B2BPartnerConsentRequested.encode = function encode(message, writer) {
91762
+ B2BMemberPartnerConsentRequested.encode = function encode(message, writer) {
91707
91763
  if (!writer)
91708
91764
  writer = $Writer.create();
91709
91765
  if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
@@ -91716,33 +91772,33 @@ $root.B2BPartnerConsentRequested = (function() {
91716
91772
  };
91717
91773
 
91718
91774
  /**
91719
- * Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
91775
+ * Encodes the specified B2BMemberPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
91720
91776
  * @function encodeDelimited
91721
- * @memberof B2BPartnerConsentRequested
91777
+ * @memberof B2BMemberPartnerConsentRequested
91722
91778
  * @static
91723
- * @param {IB2BPartnerConsentRequested} message B2BPartnerConsentRequested message or plain object to encode
91779
+ * @param {IB2BMemberPartnerConsentRequested} message B2BMemberPartnerConsentRequested message or plain object to encode
91724
91780
  * @param {$protobuf.Writer} [writer] Writer to encode to
91725
91781
  * @returns {$protobuf.Writer} Writer
91726
91782
  */
91727
- B2BPartnerConsentRequested.encodeDelimited = function encodeDelimited(message, writer) {
91783
+ B2BMemberPartnerConsentRequested.encodeDelimited = function encodeDelimited(message, writer) {
91728
91784
  return this.encode(message, writer).ldelim();
91729
91785
  };
91730
91786
 
91731
91787
  /**
91732
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
91788
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer.
91733
91789
  * @function decode
91734
- * @memberof B2BPartnerConsentRequested
91790
+ * @memberof B2BMemberPartnerConsentRequested
91735
91791
  * @static
91736
91792
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91737
91793
  * @param {number} [length] Message length if known beforehand
91738
- * @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
91794
+ * @returns {B2BMemberPartnerConsentRequested} B2BMemberPartnerConsentRequested
91739
91795
  * @throws {Error} If the payload is not a reader or valid buffer
91740
91796
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
91741
91797
  */
91742
- B2BPartnerConsentRequested.decode = function decode(reader, length) {
91798
+ B2BMemberPartnerConsentRequested.decode = function decode(reader, length) {
91743
91799
  if (!(reader instanceof $Reader))
91744
91800
  reader = $Reader.create(reader);
91745
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BPartnerConsentRequested();
91801
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BMemberPartnerConsentRequested();
91746
91802
  while (reader.pos < end) {
91747
91803
  var tag = reader.uint32();
91748
91804
  switch (tag >>> 3) {
@@ -91764,30 +91820,30 @@ $root.B2BPartnerConsentRequested = (function() {
91764
91820
  };
91765
91821
 
91766
91822
  /**
91767
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
91823
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer, length delimited.
91768
91824
  * @function decodeDelimited
91769
- * @memberof B2BPartnerConsentRequested
91825
+ * @memberof B2BMemberPartnerConsentRequested
91770
91826
  * @static
91771
91827
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91772
- * @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
91828
+ * @returns {B2BMemberPartnerConsentRequested} B2BMemberPartnerConsentRequested
91773
91829
  * @throws {Error} If the payload is not a reader or valid buffer
91774
91830
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
91775
91831
  */
91776
- B2BPartnerConsentRequested.decodeDelimited = function decodeDelimited(reader) {
91832
+ B2BMemberPartnerConsentRequested.decodeDelimited = function decodeDelimited(reader) {
91777
91833
  if (!(reader instanceof $Reader))
91778
91834
  reader = new $Reader(reader);
91779
91835
  return this.decode(reader, reader.uint32());
91780
91836
  };
91781
91837
 
91782
91838
  /**
91783
- * Verifies a B2BPartnerConsentRequested message.
91839
+ * Verifies a B2BMemberPartnerConsentRequested message.
91784
91840
  * @function verify
91785
- * @memberof B2BPartnerConsentRequested
91841
+ * @memberof B2BMemberPartnerConsentRequested
91786
91842
  * @static
91787
91843
  * @param {Object.<string,*>} message Plain object to verify
91788
91844
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
91789
91845
  */
91790
- B2BPartnerConsentRequested.verify = function verify(message) {
91846
+ B2BMemberPartnerConsentRequested.verify = function verify(message) {
91791
91847
  if (typeof message !== "object" || message === null)
91792
91848
  return "object expected";
91793
91849
  if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
@@ -91803,17 +91859,17 @@ $root.B2BPartnerConsentRequested = (function() {
91803
91859
  };
91804
91860
 
91805
91861
  /**
91806
- * Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
91862
+ * Creates a B2BMemberPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
91807
91863
  * @function fromObject
91808
- * @memberof B2BPartnerConsentRequested
91864
+ * @memberof B2BMemberPartnerConsentRequested
91809
91865
  * @static
91810
91866
  * @param {Object.<string,*>} object Plain object
91811
- * @returns {B2BPartnerConsentRequested} B2BPartnerConsentRequested
91867
+ * @returns {B2BMemberPartnerConsentRequested} B2BMemberPartnerConsentRequested
91812
91868
  */
91813
- B2BPartnerConsentRequested.fromObject = function fromObject(object) {
91814
- if (object instanceof $root.B2BPartnerConsentRequested)
91869
+ B2BMemberPartnerConsentRequested.fromObject = function fromObject(object) {
91870
+ if (object instanceof $root.B2BMemberPartnerConsentRequested)
91815
91871
  return object;
91816
- var message = new $root.B2BPartnerConsentRequested();
91872
+ var message = new $root.B2BMemberPartnerConsentRequested();
91817
91873
  if (object.partnerConsentId != null)
91818
91874
  message.partnerConsentId = String(object.partnerConsentId);
91819
91875
  if (object.hsUserId != null)
@@ -91831,15 +91887,15 @@ $root.B2BPartnerConsentRequested = (function() {
91831
91887
  };
91832
91888
 
91833
91889
  /**
91834
- * Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
91890
+ * Creates a plain object from a B2BMemberPartnerConsentRequested message. Also converts values to other types if specified.
91835
91891
  * @function toObject
91836
- * @memberof B2BPartnerConsentRequested
91892
+ * @memberof B2BMemberPartnerConsentRequested
91837
91893
  * @static
91838
- * @param {B2BPartnerConsentRequested} message B2BPartnerConsentRequested
91894
+ * @param {B2BMemberPartnerConsentRequested} message B2BMemberPartnerConsentRequested
91839
91895
  * @param {$protobuf.IConversionOptions} [options] Conversion options
91840
91896
  * @returns {Object.<string,*>} Plain object
91841
91897
  */
91842
- B2BPartnerConsentRequested.toObject = function toObject(message, options) {
91898
+ B2BMemberPartnerConsentRequested.toObject = function toObject(message, options) {
91843
91899
  if (!options)
91844
91900
  options = {};
91845
91901
  var object = {};
@@ -91865,39 +91921,39 @@ $root.B2BPartnerConsentRequested = (function() {
91865
91921
  };
91866
91922
 
91867
91923
  /**
91868
- * Converts this B2BPartnerConsentRequested to JSON.
91924
+ * Converts this B2BMemberPartnerConsentRequested to JSON.
91869
91925
  * @function toJSON
91870
- * @memberof B2BPartnerConsentRequested
91926
+ * @memberof B2BMemberPartnerConsentRequested
91871
91927
  * @instance
91872
91928
  * @returns {Object.<string,*>} JSON object
91873
91929
  */
91874
- B2BPartnerConsentRequested.prototype.toJSON = function toJSON() {
91930
+ B2BMemberPartnerConsentRequested.prototype.toJSON = function toJSON() {
91875
91931
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
91876
91932
  };
91877
91933
 
91878
- return B2BPartnerConsentRequested;
91934
+ return B2BMemberPartnerConsentRequested;
91879
91935
  })();
91880
91936
 
91881
- $root.B2BPartnerConsentRemovalRequested = (function() {
91937
+ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
91882
91938
 
91883
91939
  /**
91884
- * Properties of a B2BPartnerConsentRemovalRequested.
91885
- * @name IB2BPartnerConsentRemovalRequested
91886
- * @interface IB2BPartnerConsentRemovalRequested
91887
- * @property {b2b.IPartnerConsent|null} [partnerConsent] B2BPartnerConsentRemovalRequested partnerConsent
91888
- * @property {string|null} [hsUserId] B2BPartnerConsentRemovalRequested hsUserId
91889
- * @property {number|Long|null} [timestamp] B2BPartnerConsentRemovalRequested timestamp
91940
+ * Properties of a B2BMemberPartnerConsentRemovalRequested.
91941
+ * @name IB2BMemberPartnerConsentRemovalRequested
91942
+ * @interface IB2BMemberPartnerConsentRemovalRequested
91943
+ * @property {b2b.IPartnerConsent|null} [partnerConsent] B2BMemberPartnerConsentRemovalRequested partnerConsent
91944
+ * @property {string|null} [hsUserId] B2BMemberPartnerConsentRemovalRequested hsUserId
91945
+ * @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRemovalRequested timestamp
91890
91946
  */
91891
91947
 
91892
91948
  /**
91893
- * Constructs a new B2BPartnerConsentRemovalRequested.
91894
- * @name B2BPartnerConsentRemovalRequested
91895
- * @classdesc Represents a B2BPartnerConsentRemovalRequested.
91896
- * @implements IB2BPartnerConsentRemovalRequested
91949
+ * Constructs a new B2BMemberPartnerConsentRemovalRequested.
91950
+ * @name B2BMemberPartnerConsentRemovalRequested
91951
+ * @classdesc Represents a B2BMemberPartnerConsentRemovalRequested.
91952
+ * @implements IB2BMemberPartnerConsentRemovalRequested
91897
91953
  * @constructor
91898
- * @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
91954
+ * @param {IB2BMemberPartnerConsentRemovalRequested=} [properties] Properties to set
91899
91955
  */
91900
- function B2BPartnerConsentRemovalRequested(properties) {
91956
+ function B2BMemberPartnerConsentRemovalRequested(properties) {
91901
91957
  if (properties)
91902
91958
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
91903
91959
  if (properties[keys[i]] != null)
@@ -91905,51 +91961,51 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
91905
91961
  }
91906
91962
 
91907
91963
  /**
91908
- * B2BPartnerConsentRemovalRequested partnerConsent.
91964
+ * B2BMemberPartnerConsentRemovalRequested partnerConsent.
91909
91965
  * @member {b2b.IPartnerConsent|null|undefined} partnerConsent
91910
- * @memberof B2BPartnerConsentRemovalRequested
91966
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91911
91967
  * @instance
91912
91968
  */
91913
- B2BPartnerConsentRemovalRequested.prototype.partnerConsent = null;
91969
+ B2BMemberPartnerConsentRemovalRequested.prototype.partnerConsent = null;
91914
91970
 
91915
91971
  /**
91916
- * B2BPartnerConsentRemovalRequested hsUserId.
91972
+ * B2BMemberPartnerConsentRemovalRequested hsUserId.
91917
91973
  * @member {string} hsUserId
91918
- * @memberof B2BPartnerConsentRemovalRequested
91974
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91919
91975
  * @instance
91920
91976
  */
91921
- B2BPartnerConsentRemovalRequested.prototype.hsUserId = "";
91977
+ B2BMemberPartnerConsentRemovalRequested.prototype.hsUserId = "";
91922
91978
 
91923
91979
  /**
91924
- * B2BPartnerConsentRemovalRequested timestamp.
91980
+ * B2BMemberPartnerConsentRemovalRequested timestamp.
91925
91981
  * @member {number|Long} timestamp
91926
- * @memberof B2BPartnerConsentRemovalRequested
91982
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91927
91983
  * @instance
91928
91984
  */
91929
- B2BPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91985
+ B2BMemberPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91930
91986
 
91931
91987
  /**
91932
- * Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
91988
+ * Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
91933
91989
  * @function create
91934
- * @memberof B2BPartnerConsentRemovalRequested
91990
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91935
91991
  * @static
91936
- * @param {IB2BPartnerConsentRemovalRequested=} [properties] Properties to set
91937
- * @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested instance
91992
+ * @param {IB2BMemberPartnerConsentRemovalRequested=} [properties] Properties to set
91993
+ * @returns {B2BMemberPartnerConsentRemovalRequested} B2BMemberPartnerConsentRemovalRequested instance
91938
91994
  */
91939
- B2BPartnerConsentRemovalRequested.create = function create(properties) {
91940
- return new B2BPartnerConsentRemovalRequested(properties);
91995
+ B2BMemberPartnerConsentRemovalRequested.create = function create(properties) {
91996
+ return new B2BMemberPartnerConsentRemovalRequested(properties);
91941
91997
  };
91942
91998
 
91943
91999
  /**
91944
- * Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
92000
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
91945
92001
  * @function encode
91946
- * @memberof B2BPartnerConsentRemovalRequested
92002
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91947
92003
  * @static
91948
- * @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
92004
+ * @param {IB2BMemberPartnerConsentRemovalRequested} message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
91949
92005
  * @param {$protobuf.Writer} [writer] Writer to encode to
91950
92006
  * @returns {$protobuf.Writer} Writer
91951
92007
  */
91952
- B2BPartnerConsentRemovalRequested.encode = function encode(message, writer) {
92008
+ B2BMemberPartnerConsentRemovalRequested.encode = function encode(message, writer) {
91953
92009
  if (!writer)
91954
92010
  writer = $Writer.create();
91955
92011
  if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
@@ -91962,33 +92018,33 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
91962
92018
  };
91963
92019
 
91964
92020
  /**
91965
- * Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
92021
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
91966
92022
  * @function encodeDelimited
91967
- * @memberof B2BPartnerConsentRemovalRequested
92023
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91968
92024
  * @static
91969
- * @param {IB2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested message or plain object to encode
92025
+ * @param {IB2BMemberPartnerConsentRemovalRequested} message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
91970
92026
  * @param {$protobuf.Writer} [writer] Writer to encode to
91971
92027
  * @returns {$protobuf.Writer} Writer
91972
92028
  */
91973
- B2BPartnerConsentRemovalRequested.encodeDelimited = function encodeDelimited(message, writer) {
92029
+ B2BMemberPartnerConsentRemovalRequested.encodeDelimited = function encodeDelimited(message, writer) {
91974
92030
  return this.encode(message, writer).ldelim();
91975
92031
  };
91976
92032
 
91977
92033
  /**
91978
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
92034
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer.
91979
92035
  * @function decode
91980
- * @memberof B2BPartnerConsentRemovalRequested
92036
+ * @memberof B2BMemberPartnerConsentRemovalRequested
91981
92037
  * @static
91982
92038
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91983
92039
  * @param {number} [length] Message length if known beforehand
91984
- * @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
92040
+ * @returns {B2BMemberPartnerConsentRemovalRequested} B2BMemberPartnerConsentRemovalRequested
91985
92041
  * @throws {Error} If the payload is not a reader or valid buffer
91986
92042
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
91987
92043
  */
91988
- B2BPartnerConsentRemovalRequested.decode = function decode(reader, length) {
92044
+ B2BMemberPartnerConsentRemovalRequested.decode = function decode(reader, length) {
91989
92045
  if (!(reader instanceof $Reader))
91990
92046
  reader = $Reader.create(reader);
91991
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BPartnerConsentRemovalRequested();
92047
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BMemberPartnerConsentRemovalRequested();
91992
92048
  while (reader.pos < end) {
91993
92049
  var tag = reader.uint32();
91994
92050
  switch (tag >>> 3) {
@@ -92010,30 +92066,30 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
92010
92066
  };
92011
92067
 
92012
92068
  /**
92013
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
92069
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
92014
92070
  * @function decodeDelimited
92015
- * @memberof B2BPartnerConsentRemovalRequested
92071
+ * @memberof B2BMemberPartnerConsentRemovalRequested
92016
92072
  * @static
92017
92073
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
92018
- * @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
92074
+ * @returns {B2BMemberPartnerConsentRemovalRequested} B2BMemberPartnerConsentRemovalRequested
92019
92075
  * @throws {Error} If the payload is not a reader or valid buffer
92020
92076
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
92021
92077
  */
92022
- B2BPartnerConsentRemovalRequested.decodeDelimited = function decodeDelimited(reader) {
92078
+ B2BMemberPartnerConsentRemovalRequested.decodeDelimited = function decodeDelimited(reader) {
92023
92079
  if (!(reader instanceof $Reader))
92024
92080
  reader = new $Reader(reader);
92025
92081
  return this.decode(reader, reader.uint32());
92026
92082
  };
92027
92083
 
92028
92084
  /**
92029
- * Verifies a B2BPartnerConsentRemovalRequested message.
92085
+ * Verifies a B2BMemberPartnerConsentRemovalRequested message.
92030
92086
  * @function verify
92031
- * @memberof B2BPartnerConsentRemovalRequested
92087
+ * @memberof B2BMemberPartnerConsentRemovalRequested
92032
92088
  * @static
92033
92089
  * @param {Object.<string,*>} message Plain object to verify
92034
92090
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
92035
92091
  */
92036
- B2BPartnerConsentRemovalRequested.verify = function verify(message) {
92092
+ B2BMemberPartnerConsentRemovalRequested.verify = function verify(message) {
92037
92093
  if (typeof message !== "object" || message === null)
92038
92094
  return "object expected";
92039
92095
  if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
@@ -92051,20 +92107,20 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
92051
92107
  };
92052
92108
 
92053
92109
  /**
92054
- * Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
92110
+ * Creates a B2BMemberPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
92055
92111
  * @function fromObject
92056
- * @memberof B2BPartnerConsentRemovalRequested
92112
+ * @memberof B2BMemberPartnerConsentRemovalRequested
92057
92113
  * @static
92058
92114
  * @param {Object.<string,*>} object Plain object
92059
- * @returns {B2BPartnerConsentRemovalRequested} B2BPartnerConsentRemovalRequested
92115
+ * @returns {B2BMemberPartnerConsentRemovalRequested} B2BMemberPartnerConsentRemovalRequested
92060
92116
  */
92061
- B2BPartnerConsentRemovalRequested.fromObject = function fromObject(object) {
92062
- if (object instanceof $root.B2BPartnerConsentRemovalRequested)
92117
+ B2BMemberPartnerConsentRemovalRequested.fromObject = function fromObject(object) {
92118
+ if (object instanceof $root.B2BMemberPartnerConsentRemovalRequested)
92063
92119
  return object;
92064
- var message = new $root.B2BPartnerConsentRemovalRequested();
92120
+ var message = new $root.B2BMemberPartnerConsentRemovalRequested();
92065
92121
  if (object.partnerConsent != null) {
92066
92122
  if (typeof object.partnerConsent !== "object")
92067
- throw TypeError(".B2BPartnerConsentRemovalRequested.partnerConsent: object expected");
92123
+ throw TypeError(".B2BMemberPartnerConsentRemovalRequested.partnerConsent: object expected");
92068
92124
  message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
92069
92125
  }
92070
92126
  if (object.hsUserId != null)
@@ -92082,15 +92138,15 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
92082
92138
  };
92083
92139
 
92084
92140
  /**
92085
- * Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
92141
+ * Creates a plain object from a B2BMemberPartnerConsentRemovalRequested message. Also converts values to other types if specified.
92086
92142
  * @function toObject
92087
- * @memberof B2BPartnerConsentRemovalRequested
92143
+ * @memberof B2BMemberPartnerConsentRemovalRequested
92088
92144
  * @static
92089
- * @param {B2BPartnerConsentRemovalRequested} message B2BPartnerConsentRemovalRequested
92145
+ * @param {B2BMemberPartnerConsentRemovalRequested} message B2BMemberPartnerConsentRemovalRequested
92090
92146
  * @param {$protobuf.IConversionOptions} [options] Conversion options
92091
92147
  * @returns {Object.<string,*>} Plain object
92092
92148
  */
92093
- B2BPartnerConsentRemovalRequested.toObject = function toObject(message, options) {
92149
+ B2BMemberPartnerConsentRemovalRequested.toObject = function toObject(message, options) {
92094
92150
  if (!options)
92095
92151
  options = {};
92096
92152
  var object = {};
@@ -92116,17 +92172,17 @@ $root.B2BPartnerConsentRemovalRequested = (function() {
92116
92172
  };
92117
92173
 
92118
92174
  /**
92119
- * Converts this B2BPartnerConsentRemovalRequested to JSON.
92175
+ * Converts this B2BMemberPartnerConsentRemovalRequested to JSON.
92120
92176
  * @function toJSON
92121
- * @memberof B2BPartnerConsentRemovalRequested
92177
+ * @memberof B2BMemberPartnerConsentRemovalRequested
92122
92178
  * @instance
92123
92179
  * @returns {Object.<string,*>} JSON object
92124
92180
  */
92125
- B2BPartnerConsentRemovalRequested.prototype.toJSON = function toJSON() {
92181
+ B2BMemberPartnerConsentRemovalRequested.prototype.toJSON = function toJSON() {
92126
92182
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
92127
92183
  };
92128
92184
 
92129
- return B2BPartnerConsentRemovalRequested;
92185
+ return B2BMemberPartnerConsentRemovalRequested;
92130
92186
  })();
92131
92187
 
92132
92188
  $root.HeadspaceContentShareCreated = (function() {
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.583.0"
19
+ "version": "1.585.0"
20
20
  }